/* =========================================================
   TLM Transportes · nueva web
   Night road: navy ground, brand blue as light, red for motion.
   ========================================================= */

:root {
  --ink-0: #050b1c;
  --ink-1: #0b1b3a;
  --ink-2: #102552;
  --blue: #0a3aa6;
  --blue-2: #1546c4;
  --blue-l: #7d9bff;
  --red: #ec1c24;
  --red-d: #c9131b;
  --paper: #f3f4f7;
  --paper-2: #e6e9ef;
  --line-l: #d3d9e4;
  --line-d: rgba(160, 182, 235, 0.16);
  --fg: #f4f6fb;
  --mute-d: #a7b3cc;
  --mute-l: #535f78;
  --mute-xl: #707a92;
  --red-ui: #d9161e;
  --red-l: #ff5a5f;

  --f: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 3.5rem);
  --maxw: 1400px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --slant: -14deg;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--fg);
  font-family: var(--f);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

:focus-visible {
  outline: 2px solid var(--blue-l);
  outline-offset: 3px;
  border-radius: 4px;
}

html { scrollbar-color: var(--blue) var(--ink-0); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink-0); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; border: 2px solid var(--ink-0); }

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--red);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- display type (echoes the logo's slant) ---------- */
.hero__title,
.hero__big,
.statement__title,
.crossing__title,
.crossing__word,
.svc__name,
.why__door-text,
.process__title,
.quote__title,
.coverage__count,
.footer__mega,
.ledger dd {
  font-family: var(--f);
  font-style: italic;
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.88;
}

.line { display: block; overflow: hidden; padding: 0.04em 0.12em 0.07em 0; margin-bottom: -0.07em; }
.line > span { display: inline-block; }
.mute { color: var(--mute-xl); }
.red { color: var(--red); }

.js [data-reveal-lines] .line > span,
.js .hero__title .line > span {
  transform: translateY(108%) skewY(4deg);
  transition: transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-reveal-lines].is-in .line > span,
.js .hero.is-ready .hero__title .line > span { transform: none; }

/* ---------- buttons: slanted like the logotype ---------- */
.btn {
  --bg: var(--ink-2);
  --bd: transparent;
  --fgc: #fff;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.7rem 1.5rem;
  color: var(--fgc);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.005em;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: 7px;
  transform: skewX(var(--slant));
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn:hover::before { transform: skewX(var(--slant)) translate(-2px, -2px); box-shadow: 4px 5px 0 -1px var(--red-d), 0 14px 28px -12px rgba(5, 11, 28, 0.6); }
.btn:active::before { transform: skewX(var(--slant)) translate(0, 0); box-shadow: none; }

.btn--red { --bg: var(--red-ui); }
.btn--red:hover::before { --bg: var(--red-ui); box-shadow: 4px 5px 0 -1px var(--blue), 0 14px 28px -12px rgba(5, 11, 28, 0.6); }
.btn--ghost { --bg: rgba(5, 11, 28, 0.35); --bd: rgba(244, 246, 251, 0.45); }
.btn--ghost:hover::before { --bd: #fff; }
.btn--light { --bg: var(--fg); --fgc: var(--ink-1); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.15rem; font-size: 0.92rem; }
.btn--lg { min-height: 56px; padding: 0.9rem 1.9rem; font-size: 1.04rem; }
.btn--block { width: 100%; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.4s var(--ease), transform 0.5s var(--ease), box-shadow 0.4s;
}
.nav.is-solid {
  background: rgba(5, 11, 28, 0.92);
  box-shadow: 0 1px 0 var(--line-d);
}
@supports (backdrop-filter: blur(8px)) {
  .nav.is-solid { background: rgba(5, 11, 28, 0.78); backdrop-filter: blur(14px) saturate(1.4); }
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner {
  height: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__logo img { height: 42px; width: auto; }
.nav__links { display: flex; gap: 0.25rem; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(244, 246, 251, 0.82);
  transition: color 0.25s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.3rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0) skewX(var(--slant));
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after,
.nav__links a.is-current::after { transform: scaleX(1) skewX(var(--slant)); }
.nav__links a.is-current { color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 1.25rem; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: rgba(244, 246, 251, 0.82);
}
.nav__phone:hover { color: #fff; }
.nav__phone svg { width: 16px; height: 16px; }
.nav__burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 8px; }
.nav__burger svg { width: 26px; height: 26px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink-0);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.6s var(--ease-io);
}
.menu[hidden] { display: flex; visibility: hidden; }
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  font-style: italic;
  font-weight: 900;
  font-stretch: 78%;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 12vw, 4.2rem);
  line-height: 1.05;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--line-d);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), color 0.2s;
}
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 0.05s; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 0.1s; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 0.15s; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 0.2s; color: var(--red); }
.menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 240vh; height: 240svh; background: var(--ink-0); }
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(60% 70% at 66% 52%, rgba(21, 70, 196, 0.22), transparent 70%),
    var(--ink-0);
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__fallback {
  display: none;
  position: absolute;
  right: 4%;
  top: 50%;
  width: min(62vw, 900px);
  transform: translateY(-50%) perspective(1200px) rotateX(38deg);
  opacity: 0.18;
}
.no-webgl .hero__fallback { display: block; }
.no-webgl .hero__canvas { display: none; }
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 11, 28, 0.82) 0%, rgba(5, 11, 28, 0.5) 28%, transparent 52%),
    linear-gradient(0deg, rgba(5, 11, 28, 0.85) 0%, transparent 26%),
    linear-gradient(180deg, rgba(5, 11, 28, 0.6) 0%, transparent 16%);
}
.hero__labels { position: absolute; inset: 0; pointer-events: none; }
.lbl {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 224, 250, 0.72);
  white-space: nowrap;
  transform: translate3d(-200px, -200px, 0);
  transition: color 0.3s, opacity 0.4s;
  will-change: transform;
}
.lbl::before { content: ""; width: 14px; height: 1px; background: currentColor; opacity: 0.6; }
.lbl.is-base { color: #fff; font-weight: 800; }
.lbl.is-base em { font-style: normal; color: var(--red-l); margin-left: 0.15rem; }
.lbl.is-active { color: #fff; }
.lbl.is-hidden { opacity: 0; }

.hero__copy {
  position: absolute;
  left: var(--gutter);
  bottom: clamp(3rem, 11vh, 8rem);
  width: min(44rem, 52vw);
  z-index: 2;
}
.hero__title { font-size: clamp(3.2rem, 8.6vw, 8.4rem); }
.hero__title .dot { font-style: inherit; color: var(--red); }
.hero__lead {
  margin-top: 1.6rem;
  max-width: 30rem;
  font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.2rem);
  line-height: 1.55;
  color: var(--mute-d);
}
.hero__ctas { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem 1.2rem; }
.js .hero__lead, .js .hero__ctas { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) 0.45s, transform 1s var(--ease) 0.45s; }
.js .hero.is-ready .hero__lead, .js .hero.is-ready .hero__ctas { opacity: 1; transform: none; }
.js .hero.is-ready .hero__ctas { transition-delay: 0.6s; }

.hero__copy--b { opacity: 0; visibility: hidden; }
.hero__big { font-size: clamp(3rem, 7.4vw, 7.2rem); }
.hero__small { margin-top: 1.4rem; max-width: 26rem; color: var(--mute-d); font-size: 1.08rem; }

.ticker {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(3rem, 11vh, 8rem);
  z-index: 3;
  width: 300px;
  padding: 1.1rem 1.2rem 1.15rem;
  background: rgba(8, 18, 44, 0.86);
  border: 1px solid var(--line-d);
  border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
  font-variant-numeric: tabular-nums;
}
.ticker__head { display: flex; justify-content: space-between; align-items: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute-d); }
.ticker__live { display: inline-flex; align-items: center; gap: 0.5rem; }
.ticker__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.ticker__route { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.85rem; }
.ticker__route > div { display: flex; flex-direction: column; min-width: 0; }
.ticker__route > div:last-child { text-align: right; }
.ticker__route b { font-style: italic; font-weight: 900; font-stretch: 78%; font-size: 2.1rem; line-height: 1; letter-spacing: -0.01em; }
.ticker__route span { font-size: 0.8rem; color: var(--mute-d); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker__arrow { width: 22px; height: 22px; color: var(--red); flex: none; }
.ticker__bar { margin-top: 0.9rem; height: 3px; background: rgba(160, 182, 235, 0.16); border-radius: 3px; overflow: hidden; }
.ticker__bar i { display: block; height: 100%; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.ticker__meta { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0.75rem; margin-top: 0.9rem; }
.ticker__meta dt { font-size: 0.72rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--mute-d); }
.ticker__meta dd { font-weight: 700; font-size: 0.92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ticker__meta dd.is-done { color: var(--blue-l); }
.js .ticker { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease) 0.9s, transform 1s var(--ease) 0.9s; }
.js .hero.is-ready .ticker { opacity: 1; transform: none; }

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border: 1.5px solid rgba(244, 246, 251, 0.4);
  border-radius: 14px;
  z-index: 3;
}
.hero__cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   STATEMENT
   ========================================================= */
.statement {
  position: relative;
  z-index: 2;
  background: var(--paper);
  color: var(--ink-1);
  padding-block: clamp(5.5rem, 12vw, 10rem) clamp(3rem, 6vw, 5rem);
}
.statement__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.statement__title { font-size: clamp(2.9rem, 6.4vw, 6.2rem); }
.statement__body { display: grid; gap: 1.1rem; max-width: 32rem; color: var(--mute-l); font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.15rem); padding-bottom: 0.6rem; }
.statement__body p:first-child { color: var(--ink-1); font-weight: 600; }

.ledger {
  position: relative;
  margin-top: clamp(3.5rem, 8vw, 6.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ledger::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--ink-1);
  transform-origin: left;
  transition: transform 1.4s var(--ease);
}
.js .ledger::before { transform: scaleX(0); }
.js .ledger.is-in::before { transform: scaleX(1); }
.ledger__row { display: flex; flex-direction: column-reverse; justify-content: space-between; gap: 1.5rem; padding: 1.2rem clamp(0.8rem, 2vw, 1.6rem) 0.4rem; border-left: 1px solid var(--line-l); }
.ledger__row:first-child { border-left: 0; padding-left: 0; }
.ledger dt { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-l); }
.ledger dd { font-size: clamp(3.4rem, 8vw, 7.6rem); font-variant-numeric: tabular-nums; color: var(--ink-1); display: flex; align-items: flex-start; }
.ledger .suf { color: var(--red); font-size: 0.55em; margin-left: 0.04em; }

/* =========================================================
   CROSSING
   ========================================================= */
.crossing { position: relative; height: 300vh; height: 300svh; background: var(--ink-0); }
.crossing__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.crossing__sky {
  position: absolute;
  inset: 0 0 36% 0;
  background: var(--paper);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.crossing__word {
  font-size: clamp(7rem, 31vw, 34rem);
  line-height: 0.74;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: clamp(1.5px, 0.18vw, 3px) var(--ink-1);
  opacity: 0.9;
  padding-left: 4vw;
  will-change: transform;
}
.crossing__road {
  position: absolute;
  left: 0;
  right: 0;
  top: 64%;
  height: clamp(18px, 2.4vw, 30px);
  transform: translateY(-50%);
  background: #1a2133;
  overflow: hidden;
  z-index: 2;
}
.crossing__road i {
  position: absolute;
  left: 0;
  top: 50%;
  width: 300%;
  height: 3px;
  margin-top: -1.5px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.75) 0 46px, transparent 46px 92px);
  will-change: transform;
}
.crossing__truck {
  position: absolute;
  left: 0;
  top: 64%;
  width: clamp(560px, 60vw, 1120px);
  transform: translate3d(-110%, -96%, 0);
  z-index: 3;
  will-change: transform;
}
.truck-svg { width: 100%; height: auto; overflow: visible; }
.crossing__beam {
  position: absolute;
  right: 100%;
  bottom: 14%;
  width: 70%;
  height: 34%;
  background:
    linear-gradient(90deg, transparent, rgba(236, 28, 36, 0.55)) 0 20% / 100% 3px no-repeat,
    linear-gradient(90deg, transparent, rgba(236, 28, 36, 0.35)) 30% 55% / 70% 2px no-repeat,
    linear-gradient(90deg, transparent, rgba(10, 58, 166, 0.45)) 15% 85% / 85% 3px no-repeat;
  opacity: var(--trail, 0);
}
.crossing__ground {
  position: absolute;
  inset: 64% 0 0 0;
  display: flex;
  align-items: center;
  padding-top: clamp(1rem, 3vw, 2.5rem);
}
.crossing__title { font-size: clamp(2.4rem, 5.6vw, 5.6rem); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { position: relative; background: var(--ink-0); padding-block: clamp(2rem, 4vw, 3rem) clamp(5rem, 10vw, 9rem); }
.services__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.svc { border-top: 1px solid var(--line-d); }
.svc:last-child { border-bottom: 1px solid var(--line-d); }
.svc__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  text-align: left;
}
.svc__name {
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  color: rgba(244, 246, 251, 0.44);
  transition: color 0.5s var(--ease), text-shadow 0.5s var(--ease), transform 0.6s var(--ease);
}
.svc__icon { width: clamp(28px, 3vw, 40px); height: clamp(28px, 3vw, 40px); color: rgba(244, 246, 251, 0.34); transition: transform 0.5s var(--ease), color 0.4s; flex: none; }
.svc__head:hover .svc__name { color: rgba(244, 246, 251, 0.7); }
.svc.is-active .svc__name { color: var(--fg); text-shadow: 0.05em 0.05em 0 var(--red); transform: translateX(0.12em); }
.svc.is-active .svc__icon { color: var(--red); transform: rotate(45deg); }
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.svc__body > * { min-height: 0; }
.svc__body { overflow: hidden; }
.svc.is-active .svc__body { grid-template-rows: 1fr; }
.svc__body-in { min-height: 0; }
.svc__body p { max-width: 34rem; color: var(--mute-d); font-size: 1.06rem; }
.svc__img { display: none; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.6rem; }
.tags li { font-size: 0.8rem; font-weight: 600; padding: 0.35rem 0.75rem; border: 1px solid var(--line-d); border-radius: 999px; color: #d6deef; }

.services__frame {
  position: sticky;
  top: calc(var(--nav-h) + 4vh);
  aspect-ratio: 4 / 5;
  max-height: 76vh;
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--ink-1);
}
.services__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  clip-path: inset(0 0 0 100%);
  transition: opacity 0.7s var(--ease), transform 1.4s var(--ease), clip-path 0.9s var(--ease-io);
}
.services__frame img.is-on { opacity: 1; transform: scale(1); clip-path: inset(0 0 0 0); }
.services__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 11, 28, 0.7), transparent 34%); pointer-events: none; }
.services__frame figcaption {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  z-index: 2;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.services__frame figcaption span { color: var(--red); }

.services__foot { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: clamp(3rem, 6vw, 5rem); }
.services__foot p { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem); font-weight: 600; max-width: 36rem; }

/* =========================================================
   WHY: doors
   ========================================================= */
.why { position: relative; height: 260vh; height: 260svh; background: var(--ink-1); }
.why__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.why__inside {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 2vh) var(--gutter) 4vh;
}
.why__photo { position: relative; height: min(74vh, 720px); border-radius: 14px; overflow: hidden; }
.why__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.why__photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); border-radius: inherit; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.6rem, 3.5vw, 3rem) clamp(1.5rem, 3vw, 2.8rem); }
.why__item { border-top: 2px solid var(--red); padding-top: 1.1rem; }
.why__item h3 { font-style: italic; font-weight: 900; font-stretch: 82%; text-transform: uppercase; font-size: clamp(1.45rem, 2.2vw, 2.1rem); line-height: 1; letter-spacing: -0.005em; }
.why__item p { margin-top: 0.75rem; color: var(--mute-d); max-width: 26rem; }

.why__door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50.5%;
  display: flex;
  align-items: center;
  z-index: 2;
  will-change: transform;
}
.why__door--a { z-index: 3; left: 0; background: var(--blue); justify-content: flex-end; padding-right: clamp(1rem, 2.4vw, 2.5rem); }
.why__door--a::after { content: ""; position: absolute; top: 0; bottom: 0; right: -10px; width: 10px; background: var(--red); }
.why__door--b { right: 0; background: var(--ink-0); justify-content: flex-start; padding-left: clamp(1.4rem, 2.8vw, 3rem); }
.why__door-text { font-size: clamp(2.6rem, 6.6vw, 7.4rem); max-width: 7.5em; }
.why__door--a .why__door-text { max-width: 5.6em; }
.why__door--a .why__door-text { text-align: right; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--paper); color: var(--ink-1); padding-block: clamp(5.5rem, 11vw, 9.5rem); }
.process__title { font-size: clamp(2.8rem, 7vw, 6.6rem); }
.process__track { position: relative; margin-top: clamp(3rem, 7vw, 5.5rem); }
.process__road { position: relative; height: 56px; }
.process__road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--line-l) 0 18px, transparent 18px 30px);
}
.process__truck-top { display: none; }
.process__fill { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.process__truck { position: absolute; z-index: 2; bottom: 2px; left: 0; width: 96px; max-width: none; height: auto; transform: translateX(-10%); will-change: transform; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.6rem); margin-top: 1.8rem; }
.step { opacity: 0.55; transition: opacity 0.6s var(--ease); }
.step.is-on { opacity: 1; }
.step__n { display: block; font-style: italic; font-weight: 900; font-stretch: 78%; font-size: clamp(2.6rem, 4.6vw, 4rem); line-height: 1; color: var(--ink-1); transition: color 0.5s; font-variant-numeric: tabular-nums; }
.step.is-current .step__n { color: var(--red); }
.step h3 { margin-top: 0.9rem; font-size: 1.22rem; font-weight: 800; line-height: 1.2; }
.step p { margin-top: 0.6rem; color: var(--mute-l); font-size: 1rem; max-width: 22rem; }

/* =========================================================
   COVERAGE + QUOTE
   ========================================================= */
.quote { position: relative; background: var(--ink-0); padding-bottom: clamp(5rem, 10vw, 8rem); overflow: hidden; }
.coverage { position: relative; height: clamp(460px, 82vh, 860px); }
.coverage__map { position: absolute; inset: clamp(2rem, 6vh, 4rem) 0 0 0; }
.coverage__map canvas { width: 100%; height: 100%; }
.coverage::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(0deg, var(--ink-0), transparent); pointer-events: none; }
.coverage__copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(1.5rem, 4vw, 3rem); pointer-events: none; }
.coverage__count { font-size: clamp(5rem, 15vw, 13rem); font-variant-numeric: tabular-nums; line-height: 0.8; }
.coverage__count .of { color: #8ea6ee; font-size: max(0.42em, 1.6rem); margin-left: 0.04em; }
.coverage__label { margin-top: 0.8rem; color: var(--mute-d); font-weight: 600; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); }

.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; margin-top: clamp(3rem, 7vw, 6rem); }
.quote__title { font-size: clamp(2.6rem, 5.8vw, 5.6rem); }
.quote__lead { margin-top: 1.4rem; max-width: 30rem; color: var(--mute-d); font-size: 1.1rem; }
.quote__contact { margin-top: 2.2rem; display: grid; gap: 0.25rem; max-width: 26rem; }
.quote__contact a, .quote__base { display: flex; align-items: center; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid var(--line-d); font-weight: 700; font-size: 1.12rem; font-variant-numeric: tabular-nums; transition: color 0.25s; }
.quote__contact li:last-child > * { border-bottom: 1px solid var(--line-d); }
.quote__contact a:hover { color: var(--blue-l); }
.quote__contact svg { width: 22px; height: 22px; color: var(--red); flex: none; }
.quote__contact small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute-d); line-height: 1.3; }

.form {
  background: var(--paper);
  color: var(--ink-1);
  border-radius: 16px;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9);
  display: grid;
  gap: 1.1rem;
}
.form__title { font-style: italic; font-weight: 900; font-stretch: 80%; text-transform: uppercase; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: 0.82rem; font-weight: 700; color: var(--ink-1); padding: 0; }
.field .opt { font-weight: 500; color: var(--mute-l); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink-1);
  background: #fff;
  border: 1.5px solid var(--line-l);
  border-radius: 10px;
  padding: 0.8rem 0.9rem;
  min-height: 50px;
  transition: border-color 0.2s, box-shadow 0.2s;
  caret-color: var(--red);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #646e84; }
.field input:hover, .field textarea:hover { border-color: #b4bccc; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10, 58, 166, 0.14); }
.field.is-invalid input { border-color: var(--red); box-shadow: 0 0 0 4px rgba(236, 28, 36, 0.1); }
.field__err { font-size: 0.82rem; font-weight: 600; color: #b5121a; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.2rem; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chips span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.5rem 0.95rem;
  border: 1.5px solid var(--line-l);
  background: #fff;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.chips label:hover span { border-color: #9aa5ba; }
.chips input:checked + span { background: var(--ink-1); border-color: var(--ink-1); color: #fff; }
.chips input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.field--chips.is-invalid .chips span { border-color: rgba(236, 28, 36, 0.6); }
.form__note { font-size: 0.82rem; color: var(--mute-l); text-align: center; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink-0); border-top: 1px solid var(--line-d); padding-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer__brand img { height: 64px; width: auto; }
.footer__brand p { margin-top: 1.2rem; max-width: 22rem; color: var(--mute-d); }
.footer__col { display: grid; align-content: start; gap: 0.55rem; font-size: 0.98rem; }
.footer__col h4 { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-d); margin-bottom: 0.4rem; }
.footer__col a { color: rgba(244, 246, 251, 0.88); width: fit-content; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer__col span { color: var(--mute-d); }
.footer__mega { margin-top: clamp(3rem, 7vw, 5rem); white-space: nowrap; font-size: clamp(3rem, 9.4vw, 11rem); color: var(--ink-2); padding-left: var(--gutter); line-height: 0.82; user-select: none; }
.footer__mega span { display: inline-block; will-change: transform; }
.footer__legal { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem calc(1.4rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-d); font-size: 0.85rem; color: var(--mute-d); }
.footer__legal a { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--fg); }
.footer__legal a svg { width: 16px; height: 16px; transform: rotate(-90deg) rotate(45deg); }

/* floating WhatsApp */
.wa-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--red-ui);
  border-radius: 50%;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.55);
  transform: translateY(140%);
  transition: transform 0.6s var(--ease), background-color 0.2s;
}
.wa-float svg { width: 27px; height: 27px; }
.wa-float.is-on { transform: none; }
.wa-float:hover { background: var(--red-d); }
.wa-float:focus-visible { outline-offset: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .ticker { width: 270px; }
  .why__inside { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); }
  .why__list { grid-template-columns: 1fr; gap: 1.4rem; }
  .why__item p { font-size: 0.95rem; }
}

@media (max-width: 860px) {
  :root { --nav-h: 64px; }
  .nav__logo img { height: 36px; }
  .nav__phone { display: none; }

  .hero__copy { width: auto; right: var(--gutter); bottom: max(2.4rem, env(safe-area-inset-bottom)); }
  .hero__title { font-size: clamp(3rem, 15vw, 5.6rem); }
  .hero__lead { font-size: 1rem; margin-top: 1rem; max-width: 34rem; }
  .hero__ctas { margin-top: 1.4rem; }
  .hero__shade {
    background:
      linear-gradient(0deg, rgba(5, 11, 28, 0.96) 0%, rgba(5, 11, 28, 0.82) 38%, transparent 62%),
      linear-gradient(180deg, rgba(5, 11, 28, 0.7) 0%, transparent 22%);
  }
  .hero__big { font-size: clamp(2.8rem, 13vw, 5rem); }
  .hero__cue { display: none; }
  .ticker {
    top: calc(var(--nav-h) + 0.6rem);
    bottom: auto;
    left: var(--gutter);
    right: var(--gutter);
    width: auto;
    padding: 0.7rem 0.9rem 0.8rem;
    border-radius: 12px;
  }
  .ticker__route { margin-top: 0.45rem; }
  .ticker__route b { font-size: 1.5rem; }
  .ticker__meta { display: flex; justify-content: space-between; margin-top: 0.5rem; }
  .ticker__meta div:last-child { text-align: right; }
  .ticker__bar { margin-top: 0.55rem; }
  .lbl { font-size: 0.62rem; }

  .statement__grid { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr 1fr; }
  .ledger__row { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line-l); padding-bottom: 0.8rem; }
  .ledger__row:nth-child(even) { border-left: 1px solid var(--line-l); padding-left: 1rem; }

  .crossing { height: 240vh; height: 240svh; }
  .crossing__sky { inset: 0 0 50% 0; }
  .crossing__road { top: 50%; }
  .crossing__truck { top: 50%; width: 150vw; }
  .crossing__ground { inset: 50% 0 0 0; }
  .crossing__sky { align-items: flex-start; padding-top: calc(var(--nav-h) + 4vh); }
  .crossing__word { font-size: min(46vw, 26svh); line-height: 0.8; }

  .services__grid { grid-template-columns: 1fr; }
  .services__frame { display: none; }
  .svc__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; margin-bottom: 1rem; }

  .why { height: auto; }
  .why__stage { position: relative; height: auto; }
  .why__inside { position: relative; grid-template-columns: 1fr; padding-block: 4rem; gap: 2.5rem; }
  .why__photo { height: 62vh; max-height: 520px; }
  .why__list { grid-template-columns: 1fr 1fr; gap: 1.6rem 1.2rem; }
  .why__door { width: 100%; height: 50.5%; }
  .why__door--a { top: 0; bottom: auto; align-items: flex-end; justify-content: flex-start; padding: 0 var(--gutter) 1.4rem; }
  .why__door--a::after { top: auto; bottom: -8px; left: 0; right: 0; width: auto; height: 8px; }
  .why__door--b { top: auto; bottom: 0; align-items: flex-start; padding: 1.8rem var(--gutter) 0; }
  .why__door-text { font-size: clamp(2.8rem, 14vw, 5rem); }
  .why__door--a .why__door-text { text-align: left; }

  .process__track { display: grid; grid-template-columns: 44px 1fr; gap: 0 1rem; }
  .process__road { height: auto; }
  .process__road::before { left: 50%; right: auto; top: 0; bottom: 0; width: 4px; height: auto; margin-left: -2px; background: repeating-linear-gradient(180deg, var(--line-l) 0 18px, transparent 18px 30px); }
  .process__fill { left: 50%; width: 4px; height: 100%; margin-left: -2px; top: 0; bottom: auto; transform-origin: top; transform: scaleY(0); }
  .process__truck { display: none; }
  .process__truck-top { display: block; position: absolute; z-index: 2; left: 50%; top: 0; width: 30px; max-width: none; height: auto; will-change: transform; }
  .steps { grid-template-columns: 1fr; margin-top: 0; gap: 2.4rem; }

  .coverage { height: clamp(380px, 70vh, 560px); }
  .quote__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .hero__ctas { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
  .hero__ctas .btn { width: 100%; }
  .btn--lg { min-height: 52px; font-size: 1rem; }
  .why__list { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .ledger dd { font-size: clamp(3rem, 17vw, 4.6rem); }
  .ledger dt { font-size: 0.72rem; }
}

@media (max-height: 640px) and (max-width: 860px) {
  .hero__lead { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .hero { height: 100vh; height: 100svh; }
  .crossing { height: auto; }
  .crossing__stage { position: relative; height: 100svh; }
  .crossing__truck { transform: translate3d(calc(50vw - 50%), -96%, 0); }
  .why { height: auto; }
  .why__stage { position: relative; height: auto; min-height: 100svh; }
  .why__inside { position: relative; }
  .why__door { display: none; }
  .why__photo img { transform: none; }
}
