/* JVM Performance — mobile first. Base: teléfonos compactos.
Ampliaciones: 360px, 601px, 801px, 1024px y 1200px. */
:root {
  color-scheme: dark;
  --bg: #0a0c10;
  --bg-2: #10141c;
  --bg-3: #161b24;
  --text: #f5f7fa;
  --muted: #b5bdca;
  --subtle: #8793a4;
  --line: #2b313b;
  --orange: #ff7a18;
  --orange-2: #ff5c00;
  --blue: #1da1ff;
  --blue-2: #0f7bff;
  --font: 'Barlow', Arial, sans-serif;
  --display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --mono: 'Consolas', monospace;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --max: 1440px;
  --radius: 2px;
  --shadow: 0 8px 24px #0003;
  --transition: 180ms ease;
  --header-h: 76px;
  --space-9: 56px;
  --gutter: 18px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}
body {
  margin: 0;
  padding-bottom: 58px;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--font);
}
::selection {
  background: var(--orange);
  color: var(--bg);
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  outline-offset: 6px;
}
button {
  -webkit-tap-highlight-color: transparent;
  font: inherit;
  outline-offset: 6px;
}
img {
  display: block;
  max-width: 100%;
}
iframe {
  outline-offset: 6px;
}
:focus-visible {
  outline: 2px solid var(--blue);
}
main:focus {
  outline: none;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: var(--gutter);
  padding: 12px 20px;
  z-index: 2000;
  color: var(--bg);
  background: var(--text);
  transform: translateY(-150%);
}
.skip-link:focus {
  transform: translateY(0);
}
.container {
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  margin-inline: auto;
}
.svg-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}
a:hover .arrow {
  transform: translateX(4px);
}
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow);
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}
.brand-logo {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
}
.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-fallback {
  position: absolute;
  inset: 0;
  place-items: center;
  color: var(--orange);
  font: 700 2rem var(--display);
}
.brand-name {
  margin: 0;
  font: 700 1.35rem/1.1 var(--display);
  letter-spacing: .055em;
  font-size: 1.1rem;
}
.brand-tag {
  margin: 6px 0 0;
  color: var(--subtle);
  line-height: 1.35;
  font-size: .75rem;
  margin-top: 4px;
  max-width: 142px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.6vw, 26px);
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: flex;
  align-items: center;
  min-height: 48px;
  position: relative;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--transition);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-list a:hover {
  color: var(--text);
}
.nav-list a.active {
  color: var(--text);
}
.nav-list a:hover::after {
  transform: scaleX(1);
}
.nav-list a.active::after {
  transform: scaleX(1);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
}
.btn-primary:hover {
  background: #ff9447;
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: #68717e;
}
.btn-secondary:hover {
  border-color: var(--text);
  background: #ffffff09;
}
.btn-header {
  min-height: 44px;
  padding: 11px 15px;
  gap: 14px;
  font-size: .875rem;
  display: none;
}
.menu-toggle {
  position: relative;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: none;
  cursor: pointer;
  display: block;
}
.menu-toggle span {
  content: '';
  position: absolute;
  left: 12px;
  top: 22px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle::before {
  content: '';
  position: absolute;
  left: 12px;
  top: 22px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
  transform: translateY(-7px);
}
.menu-toggle::after {
  content: '';
  position: absolute;
  left: 12px;
  top: 22px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
  transform: translateY(7px);
}
.menu-toggle.is-open span {
  opacity: 0;
}
.menu-toggle.is-open::before {
  transform: rotate(45deg);
}
.menu-toggle.is-open::after {
  transform: rotate(-45deg);
}
.mobile-menu {
  display: block;
  visibility: hidden;
  position: fixed;
  inset: var(--header-h) 0 auto;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: var(--bg-2);
  padding: 22px var(--gutter) 32px;
  border-bottom: 2px solid var(--orange);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
.hero {
  position: relative;
  isolation: isolate;
  display: block;
  padding-top: 28px;
}
.hero-bg {
  display: block;
  position: relative;
  overflow: hidden;
  width: calc(100% + 2 * var(--gutter));
  height: 230px;
  margin: 20px calc(-1 * var(--gutter));
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}
.hero::before {
  content: none;
}
.hero-grid {
  flex: 1;
  display: flex;
  align-items: center;
  padding-bottom: 30px;
}
.hero-copy {
  width: 100%;
  max-width: none;
}
.hero-kicker {
  display: flex;
  align-items: center;
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  margin-bottom: 18px;
  gap: 10px;
  letter-spacing: .04em;
}
.hero-kicker::before {
  content: '';
  width: 25px;
  height: 3px;
  background: var(--orange);
  box-shadow: 9px 5px 0 -1px var(--blue);
}
.hero h1 {
  margin: 0;
  font: 600 3rem/.96 var(--display);
  letter-spacing: -.015em;
  text-transform: uppercase;
}
.hero h1 > span {
  display: block;
}
.hero h1 .accent {
  color: var(--orange);
}
.hero-copy p {
  margin: 0;
  max-width: 510px;
  color: #c2c9d6;
  font-size: 1rem;
  line-height: 1.6;
}
.hero-copy p strong {
  font-weight: 500;
  color: var(--text);
}
.hero-actions {
  display: flex;
  margin-top: 24px;
  gap: 12px;
  flex-direction: column;
}
.hero-actions .btn {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  gap: 12px;
  font-size: .875rem;
}
.hero-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 400 .75rem/1.5 var(--mono);
  color: var(--subtle);
  border-top: 1px solid var(--line);
  min-height: 68px;
  gap: 12px;
  font-size: .75rem;
}
.hero-rail > span:first-child {
  color: var(--text);
  letter-spacing: .1em;
  display: none;
}
.hero-rail > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  font-family: var(--font);
}
.hero-rail i {
  width: 4px;
  height: 4px;
  background: var(--blue);
  display: none;
}
.hero-rail a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-family: var(--font);
  gap: 12px;
  font-size: .8125rem;
}
.hero-rail a .arrow {
  transform: rotate(90deg);
  color: var(--orange);
}
.section {
  padding-block: var(--space-9);
  border-top: 1px solid var(--line);
}
.section-head {
  display: grid;
  align-items: end;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 30px;
}
.eyebrow {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: .75rem;
  letter-spacing: .1em;
  gap: 12px;
}
.section-number {
  color: var(--orange);
  font: 400 .75rem var(--mono);
}
.section-title {
  margin: 0;
  font: 500 clamp(2.35rem, 3.5vw, 3.5rem)/1.05 var(--display);
  letter-spacing: -.01em;
  text-wrap: pretty;
  max-width: 26ch;
  font-size: 2.4rem;
  line-height: 1.08;
}
.section-title .accent {
  color: var(--orange);
}
.section-subtitle {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
  font-size: 1rem;
  line-height: 1.6;
}
.about-wrap {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
.about-main {
  border-left: 2px solid var(--blue);
  align-self: start;
  padding-left: 18px;
}
.about-main p {
  margin: 0 0 20px;
  color: var(--muted);
}
.about-main p:last-child {
  margin-bottom: 0;
}
.about-main strong {
  font-weight: 500;
  color: var(--text);
}
.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 20px;
}
.stat-box {
  grid-template-columns: 24px 1fr;
  column-gap: 12px;
  align-content: start;
  display: block;
}
.stat-icon {
  color: var(--blue);
  margin-bottom: 10px;
}
.stat-icon .svg-icon {
  width: 22px;
  height: 22px;
}
.stat-box strong {
  font: 500 1.375rem/1.1 var(--display);
  display: block;
  font-size: 1.35rem;
}
.stat-box span {
  grid-column: 2;
  color: var(--muted);
  line-height: 1.55;
  margin-top: 8px;
  display: block;
  font-size: .875rem;
}
#servicios {
  background: var(--bg-2);
}
#servicios .section-head {
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 30px;
}
.services {
  border-top: 1px solid #68717e;
}
.service-card {
  display: grid;
  align-items: center;
  min-height: 118px;
  border-bottom: 1px solid var(--line);
  transition: background var(--transition);
  grid-template-columns: 24px 1fr 24px;
  gap: 10px 14px;
  padding: 24px 0;
}
.service-card:hover {
  background: #ffffff03;
}
.service-index {
  font: 400 .75rem var(--mono);
  color: var(--subtle);
  align-self: start;
  grid-column: 1;
  grid-row: 1;
  margin-top: 5px;
}
.service-card .icon {
  color: var(--orange);
  align-self: start;
  margin-top: 3px;
  grid-column: 3;
  grid-row: 1;
}
.service-card h3 {
  margin: 0;
  font: 500 1.65rem/1.14 var(--display);
  grid-column: 2;
  grid-row: 1;
  font-size: 1.55rem;
  max-width: none;
}
.service-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  padding: 0;
  grid-column: 2 / -1;
  grid-row: 2;
  font-size: .9375rem;
}
.service-tag {
  font-size: .75rem;
  color: var(--blue);
  line-height: 1.5;
  padding-left: 0;
  border: 0;
  grid-column: 2 / -1;
  grid-row: 3;
  margin-top: 2px;
}
#trabajos {
  background: var(--bg-2);
}
/* Photo-only portfolio: compact pairs on phones, three columns on larger screens. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.gallery-photo {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  background: var(--bg-3);
  aspect-ratio: 3 / 4;
}
.gallery-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 801px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}
#contacto .section-title {
  font-size: 3rem;
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.contact-list {
  padding: 0;
  margin: 0;
  list-style: none;
}
.contact-list li {
  display: flex;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.contact-list li:first-child {
  padding-top: 0;
}
.bullet {
  color: var(--orange);
  margin-top: 4px;
}
.contact-list strong {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  color: var(--subtle);
  margin-bottom: 3px;
}
.contact-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
  text-underline-offset: 5px;
}
.contact-list li span {
  display: inline-block;
  font-size: 1rem;
  color: var(--text);
}
.contact-list a:hover {
  color: var(--orange);
  text-decoration: underline;
}
.contact-list li:first-child a {
  font: 500 clamp(2rem, 3vw, 3rem)/1.2 var(--display);
  letter-spacing: .01em;
  font-size: 2.5rem;
}
.contact-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-direction: column;
}
.map-box {
  border-bottom: 3px solid var(--blue);
  background: var(--bg-3);
  min-height: 300px;
}
.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(.9);
  min-height: 300px;
}
.map-frame:focus {
  filter: none;
}
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 48px 28px;
  background: #07090c;
  padding-top: 36px;
}
.footer-inner {
  display: grid;
  padding-bottom: 36px;
  grid-template-columns: 1fr;
  gap: 24px;
}
.footer-brand > p {
  max-width: 49ch;
  margin: 20px 0 0;
  color: var(--subtle);
  font-size: .875rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 36px;
  align-content: center;
}
.footer-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: .875rem;
}
.footer-nav a:hover {
  color: var(--orange);
}
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
  padding-right: 40px;
  font-size: .75rem;
}
.floating-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: fixed;
  z-index: 950;
  inset: auto 0 0;
  min-height: 58px;
  padding: 14px 24px max(14px, env(safe-area-inset-bottom));
  background: var(--bg-2);
  border: 0;
  border-top: 1px solid var(--orange);
  color: var(--text);
  font-size: .9375rem;
  font-weight: 500;
  transition: border-color var(--transition), background var(--transition);
}
.floating-wa .svg-icon {
  width: 21px;
  height: 21px;
  color: var(--orange);
}
.floating-wa:hover {
  background: var(--bg-3);
  border-color: var(--orange);
}
.reveal {
  transition: opacity 320ms ease, transform 320ms ease;
}
.reveal.pending {
  opacity: 0;
  transform: translateY(12px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.desktop-nav {
  display: none;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  transform: none;
}
.mobile-menu > a:not(.btn) {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font: 500 1.65rem/1.25 var(--display);
}
.mobile-menu > a:hover {
  color: var(--orange);
}
.mobile-menu .mobile-cta {
  margin-top: 24px;
}
.mobile-menu .mobile-cta:hover {
  color: var(--bg);
}
.contact-cta .btn {
  padding-inline: 16px;
  gap: 14px;
  font-size: .875rem;
  flex: 1;
}
.floating-wa span {
  display: inline;
}
/* Wider phones: pair the main actions without shrinking their touch targets. */
@media (min-width: 360px) {
  :root {
    --gutter: 24px;
  }
  .brand-logo {
    width: 56px;
    height: 56px;
  }
  .brand-name {
    font-size: 1.2rem;
  }
  .brand-tag {
    max-width: 158px;
  }
  .hero-kicker {
    letter-spacing: .11em;
  }
  .hero h1 {
    font-size: clamp(3.05rem, 12vw, 4.4rem);
  }
  .hero-actions {
    flex-direction: row;
  }
}
/* Tablets: give prose, images and controls room before introducing columns. */
@media (min-width: 601px) {
  .hero-bg { height: 300px; }
  .hero h1 { font-size: 4rem; }
  .hero-copy p { max-width: 62ch; }
  :root {
    --gutter: clamp(24px, 4.8vw, 80px);
    --header-h: 82px;
    --space-9: 64px;
  }
  body {
    padding-bottom: 0;
  }
  .contact-cta {
    flex-direction: row;
  }
  .header-inner, .header-actions {
    gap: var(--space-5);
  }
  .brand {
    gap: var(--space-3);
  }
  .brand-logo {
    width: 62px;
    height: 62px;
  }
  .brand-name {
    font-size: 1.35rem;
  }
  .brand-tag {
    max-width: 205px;
    margin-top: 6px;
  }
  .btn-header {
    display: inline-flex;
  }











  .hero-rail {
    gap: var(--space-5);
    min-height: 66px;
  }
  .hero-rail > span:nth-child(2) {
    flex-direction: row;
    font-family: var(--mono);
    align-items: center;
    gap: 22px;
  }
  .hero-rail i {
    display: block;
  }
  .hero-rail a {
    gap: 20px;
    font-size: .875rem;
  }
  .section-head, #servicios .section-head {
    gap: 20px;
    margin-bottom: 36px;
  }
  .eyebrow {
    gap: 16px;
    letter-spacing: .12em;
  }
  .section-title {
    font-size: 2.8rem;
    line-height: 1.05;
  }
  .section-subtitle {
    line-height: 1.7;
  }
  .about-main {
    padding-left: 24px;
  }
  .about-stats {
    gap: 28px 36px;
  }
  .stat-box {
    display: grid;
  }
  .stat-icon {
    margin-bottom: 0;
  }
  .stat-box strong {
    font-size: 1.375rem;
  }
  .service-card {
    padding: 25px 0;
    grid-template-columns: 24px 24px minmax(160px,.9fr) minmax(210px,1.1fr);
    gap: 18px;
  }
  .service-index {
    grid-area: auto;
    margin-top: 6px;
  }
  .service-card .icon {
    grid-area: auto;
  }
  .service-card h3 {
    grid-area: auto;
    font-size: 1.65rem;
    max-width: 23ch;
  }
  .service-card p {
    font-size: 1rem;
    grid-column: 4;
    grid-row: span 2;
  }
  .service-tag {
    grid-row: auto;
    grid-column: 3;
    margin-top: -9px;
  }
  #contacto .section-title {
    font-size: clamp(2.75rem, 4.25vw, 4.5rem);
  }
  .contact-list li {
    gap: 20px;
  }
  .contact-list li:first-child a {
    font-size: clamp(2rem, 3vw, 3rem);
  }
  .contact-cta .btn {
    padding: 13px 22px;
    gap: var(--space-5);
    font-size: .9375rem;
    flex: 0 1 auto;
  }
  .map-box, .map-frame {
    min-height: 330px;
  }
  .site-footer {
    padding-top: 48px;
  }
  .footer-inner {
    grid-template-columns: 1.1fr .9fr;
    gap: 36px;
  }
  .footer-bottom {
    padding-right: 140px;
  }
  .floating-wa {
    inset: auto 24px 24px auto;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #525e6d;
    border-left: 3px solid var(--orange);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: .875rem;
  }
  .floating-wa span {
    display: inline;
  }
}
/* Landscape tablets and laptops: open up the editorial compositions. */
@media (min-width: 801px) {
  :root {
    --space-9: 76px;
  }
  .section-head {
    grid-template-columns: 1.12fr .88fr;
    gap: 20px 10%;
    margin-bottom: var(--space-7);
  }
  .section-title {
    max-width: none;
    font-size: clamp(2.35rem, 3.5vw, 3.5rem);
  }
  .section-subtitle {
    max-width: 51ch;
  }
  .about-wrap {
    grid-template-columns: 1.12fr .88fr;
    gap: 10%;
  }
  .about-stats {
    gap: 28px;
  }
  #servicios .section-head {
    gap: 20px 10%;
    margin-bottom: var(--space-7);
    grid-template-columns: 1.2fr .8fr;
  }
  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    gap: 6%;
  }
  .map-box, .map-frame {
    min-height: 430px;
  }
  .footer-inner {
    gap: 12%;
  }
}
/* Keep the welding process beside the copy on wide screens. */
@media (min-width: 1024px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 60px;
    min-height: 650px;
  }
  .hero-bg {
    position: absolute;
    inset: 0 0 66px 48%;
    width: auto;
    height: auto;
    margin: 0;
    z-index: -2;
  }
  .hero-bg img {
    object-position: center 43%;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0 0 66px;
    background: linear-gradient(90deg, var(--bg) 43%, #0a0c10c7 50%, transparent 68%);
    z-index: -1;
  }
  .hero-grid {
    padding-bottom: 50px;
  }
  .hero-copy {
    max-width: 650px;
    width: 55%;
  }
  .hero-kicker {
    gap: var(--space-3);
    margin-bottom: 24px;
    letter-spacing: .14em;
  }
  .hero h1 {
    margin-bottom: 26px;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    line-height: .94;
  }
  .hero-copy p {
    line-height: 1.65;
  }
  .hero-actions {
    margin-top: var(--space-6);
    gap: var(--space-3);
    flex-wrap: wrap;
  }
  .hero-actions .btn {
    flex: 0 1 auto;
    min-width: 154px;
    padding: 13px 18px;
    gap: 18px;
    font-size: .9375rem;
  }
}

/* Wide screens: full navigation and a fifth column in the service index. */
@media (min-width: 1200px) {
  :root {
    --space-9: 96px;
    --header-h: 96px;
  }
  .brand-logo {
    width: 72px;
    height: 72px;
  }
  .menu-toggle, .mobile-menu {
    display: none;
  }
  .desktop-nav {
    display: block;
  }
  .hero {
    min-height: 690px;
  }
  .hero-bg img {
    object-position: center 43%;
  }
  .hero-copy {
    width: 48%;
  }
  .hero h1 {
    font-size: clamp(4rem, 6.3vw, 6.75rem);
  }
  .hero-rail > span:first-child {
    display: inline;
  }
  .service-card {
    grid-template-columns: 30px 28px minmax(200px,.9fr) minmax(240px,1.15fr) minmax(120px,.45fr);
    gap: var(--space-5);
  }
  .service-card p {
    grid-area: auto;
    padding-right: var(--space-5);
  }
  .service-tag {
    grid-column: auto;
    margin-top: 0;
    border-left: 1px solid var(--line);
    padding-left: 20px;
  }
  .contact-wrap {
    gap: 8%;
  }
  .contact-cta {
    flex-wrap: nowrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal.pending {
    opacity: 1;
    transform: none;
  }
}
