/* ==========================================================================
   CAQ Compra Autos Querétaro — Landing corporativa · Mobile first
   Paleta (del volante/logo): rojo #DD1522 · azul marino #1B2A6B · negro tinta #070B18 · plata #AEB6C6 · ámbar #FFB81C
   Tipografías: Barlow Condensed (títulos) · Manrope (texto) · JetBrains Mono (etiquetas técnicas)
   Índice: 0 tokens · 1 base · 2 cargador · 3 encabezado · 4 hero · 5 cintas · 6 manifiesto · 7 estados (scroll horizontal)
           8 bento · 9 grúa (escena que se abre) · 10 proceso · 11 vehículos · 12 comparativa · 13 FAQ · 14 contacto
           15 pie y WhatsApp · 16 revelados · 17 escritorio · 18 efectos de scroll CSS · 19 movimiento reducido
   ========================================================================== */

/* ───────── 0. TOKENS ───────── */
:root {
  --ink: #070B18;
  --ink-2: #0C1230;
  --navy: #1B2A6B;
  --navy-2: #2A3C98;
  --red: #DD1522;
  --red-hi: #FF3340;
  --red-dk: #A60F19;
  --paper: #F3F4F8;
  --white: #fff;
  --steel: #AEB6C6;
  --muted: #566079;
  --line: rgba(10, 16, 40, .12);
  --amber: #FFB81C;
  --wa: #25D366;
  --on-dark: #E9ECF6;
  --on-dark-2: #A9B1C7;
  --f-display: 'Barlow Condensed', 'Arial Narrow', Impact, sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(20px, 5vw, 64px);
  --maxw: 1240px;
}

/* ───────── 1. BASE ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.nav-open { overflow: hidden; }
body {
  margin: 0; overflow-x: clip; font-family: var(--f-body); font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.site { overflow-x: clip; }
img, svg, canvas { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: min(100% - 2 * var(--pad), var(--maxw)); margin-inline: auto; }
.sec { position: relative; padding: clamp(76px, 12vw, 150px) 0; }
.sec__head { max-width: 980px; margin-bottom: clamp(32px, 6vw, 64px); }
.sec__head .h2 { margin-top: 18px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: #fff; color: var(--ink); border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }

.dark { color: var(--on-dark); }
.dark .lead { color: var(--on-dark-2); }

/* Logo (símbolo SVG reutilizado) */
.lg-wing { fill: var(--wing, #8A93AB); }
.lg-ring { fill: none; stroke: var(--mark, #070B18); stroke-width: 4; }
.lg-halo { fill: none; stroke: var(--mark, #070B18); stroke-width: 1; opacity: .45; }
.lg-spoke { fill: none; stroke: var(--mark, #070B18); stroke-width: 3; stroke-linecap: round; }
.lg-hub { fill: var(--red); }

/* Siluetas reutilizadas (auto) */
.cb, .cd, .cl { fill: none; }
.cw { fill: var(--glass, rgba(160, 190, 255, .07)); }

/* Tipografía de sección */
.h2 {
  font: 800 clamp(40px, 9.4vw, 96px)/.92 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; color: var(--ink);
}
.h2 em { font-style: normal; color: var(--red); }
.h2--light { color: #fff; }
.h2--light em { color: var(--red-hi); }
.lead { font-size: clamp(16px, 2.2vw, 20px); line-height: 1.65; color: var(--muted); max-width: 56ch; margin-top: 18px; }
.kicker {
  display: inline-flex; align-items: center; gap: .9em; font: 700 12px/1 var(--f-mono);
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.kicker span { color: var(--red); }
.kicker::after { content: ''; width: 44px; height: 1px; background: currentColor; opacity: .4; }
.kicker--light { color: var(--on-dark-2); }
.kicker--light span { color: var(--red-hi); }

/* Botones */
.btn {
  position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  padding: .95em 1.55em; border-radius: 999px; font: 700 15px/1.1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .35s var(--ease), translate .35s var(--ease), box-shadow .35s, background .3s, color .3s, border-color .3s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent 32%, rgba(255, 255, 255, .34) 50%, transparent 68%);
  transform: translateX(-130%); animation: shine 4.2s ease-in-out infinite;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 34px -12px rgba(221, 21, 34, .75); }
.btn--red:hover { background: var(--red-hi); box-shadow: 0 18px 44px -10px rgba(255, 51, 64, .8); }
.btn--ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .05); }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .6); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -14px rgba(7, 11, 24, .8); }
.btn--dark:hover { background: var(--navy); }
.btn--wa { background: var(--wa); color: #04210f; box-shadow: 0 14px 34px -12px rgba(37, 211, 102, .6); }
.btn--wa:hover { background: #3fe07e; }
.btn--sm { padding: .75em 1.2em; font-size: 13.5px; }
.btn--lg { padding: 1.1em 1.8em; font-size: 16px; }
.btn:active { transform: scale(.97); }

.link { display: inline-flex; gap: .5em; margin-top: 14px; font: 700 14px var(--f-body); color: var(--red); border-bottom: 1px solid currentColor; padding-bottom: 3px; transition: gap .3s var(--ease); }
.link:hover { gap: .9em; }

@keyframes shine { 0%, 55% { transform: translateX(-130%); } 100% { transform: translateX(130%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(221, 21, 34, .65); } 80%, 100% { box-shadow: 0 0 0 14px rgba(221, 21, 34, 0); } }
@keyframes blob { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(6%, 8%, 0) scale(1.15); } }

/* ───────── 2. CARGADOR ───────── */
.loader {
  --mark: #fff; --wing: #aeb6c6;
  position: fixed; inset: 0; z-index: 1000; display: grid; place-content: center; justify-items: center; gap: 18px; color: #fff;
  background: radial-gradient(circle at 50% 45%, #1a2560 0%, var(--ink) 64%);
  transition: transform .65s var(--ease);
  animation: loaderFallback .2s ease 2.3s forwards; /* respaldo: se oculta aunque falle el JS */
}
.loader[hidden], .no-js .loader { display: none; }
.loader.is-out { transform: translateY(-100%); }
@keyframes loaderFallback { to { opacity: 0; visibility: hidden; } }
.loader__core { position: relative; width: min(68vw, 290px); aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 6px; }
.gauge { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge circle { fill: none; transform-box: view-box; transform-origin: 100px 100px; }
.gauge__ticks { stroke: rgba(255, 255, 255, .35); stroke-width: 5; stroke-dasharray: .3 1.7; animation: spin 30s linear infinite; }
.gauge__track { stroke: rgba(255, 255, 255, .12); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 75 100; transform: rotate(135deg); }
.gauge__fill { stroke: var(--red-hi); stroke-width: 8; stroke-linecap: round; stroke-dasharray: 0 100; transform: rotate(135deg); filter: drop-shadow(0 0 6px rgba(255, 51, 64, .9)); animation: gaugeFill 1.5s cubic-bezier(.5, 0, .2, 1) forwards; }
.gauge__needle { transform-box: view-box; transform-origin: 100px 100px; transform: rotate(-135deg); animation: needle 1.5s cubic-bezier(.5, 0, .2, 1) forwards; }
.gauge__needle line { stroke: #fff; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 5px rgba(255, 255, 255, .7)); }
@keyframes gaugeFill { to { stroke-dasharray: 75 100; } }
@keyframes needle { to { transform: rotate(135deg); } }
.loader__mark { position: relative; width: 40%; aspect-ratio: 3 / 2; filter: drop-shadow(0 0 14px rgba(221, 21, 34, .55)); animation: pulseMark 1.5s ease-in-out infinite; }
@keyframes pulseMark { 50% { transform: scale(1.06); } }
.loader__pct { position: relative; font: 700 22px/1 var(--f-mono); letter-spacing: .04em; }
.loader__pct small { font-size: .6em; color: var(--red-hi); margin-left: 2px; }
.loader__txt { font: 500 11px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-2); }

/* ───────── 3. ENCABEZADO ───────── */
.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--amber)); transform-origin: 0 50%; transform: scaleX(0); }

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 14px var(--pad); transition: padding .4s, box-shadow .4s;
}
/* El fondo borroso vive en un pseudo-elemento: un backdrop-filter en el propio header rompería el menú móvil (position: fixed) */
.hdr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: transparent; transition: background .4s; pointer-events: none; }
.hdr.is-stuck { padding-block: 9px; box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr.is-stuck::before { background: rgba(7, 11, 24, .92); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.brand { --mark: #fff; --wing: #aeb6c6; display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.brand__mark { width: 54px; height: 36px; flex: none; }
.brand__txt { display: flex; flex-direction: column; gap: 3px; line-height: 1; }
.brand__txt b { font: 800 27px/.9 var(--f-display); letter-spacing: .06em; }
.brand__txt i { font: 500 9.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--steel); font-style: normal; }
.hdr__cta { display: none; }

.nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.nav a { color: #fff; font-weight: 600; font-size: 14px; position: relative; padding: 6px 0; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.js .nav {
  position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; flex-wrap: nowrap; gap: 4px; padding: 90px var(--pad) 40px;
  background: radial-gradient(circle at 80% 10%, rgba(42, 60, 152, .5), transparent 55%), rgba(7, 11, 24, .97);
  opacity: 0; visibility: hidden; transform: translateY(-14px); transition: opacity .4s, transform .5s var(--ease), visibility .4s;
}
.js .nav a { font: 800 clamp(38px, 11vw, 60px)/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
.burger { position: relative; width: 44px; height: 44px; display: grid; place-content: center; gap: 6px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); }
.burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .4s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.no-js .burger { display: none; }

/* ───────── 4. HERO ───────── */
.hero {
  position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  padding: 112px 0 100px; background: var(--ink); overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; animation: blob 14s ease-in-out infinite alternate; translate: 0 calc(var(--py, 0px) * .5); /* parallax con "translate": no lo pisa la animación blob, que usa transform */ }
.hero__glow--a { width: 70vw; height: 70vw; max-width: 760px; max-height: 760px; left: -18%; top: -14%; background: radial-gradient(circle, rgba(42, 60, 152, .8), transparent 65%); }
.hero__glow--b { width: 56vw; height: 56vw; max-width: 640px; max-height: 640px; right: -12%; bottom: -8%; background: radial-gradient(circle, rgba(221, 21, 34, .55), transparent 65%); animation-delay: -6s; }
.hero__spot { position: absolute; inset: 0; background: radial-gradient(520px circle at var(--gx, 72%) var(--gy, 32%), rgba(255, 51, 64, .16), transparent 62%); }
.hero__floor {
  position: absolute; left: -35%; right: -35%; bottom: -6%; height: 52%;
  background-image: linear-gradient(rgba(221, 21, 34, .55) 1px, transparent 1px), linear-gradient(90deg, rgba(110, 140, 255, .38) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(520px) rotateX(64deg); transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 88%); mask-image: linear-gradient(to top, #000 8%, transparent 88%);
  animation: floor 2.2s linear infinite;
}
@keyframes floor { to { background-position: 0 64px; } }
.hero__streaks { position: absolute; inset: 0; overflow: hidden; }
.streak { position: absolute; left: -40vw; top: var(--y); width: 34vw; height: 2px; opacity: .55; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .75), transparent); animation: streak var(--t) linear var(--d) infinite; }
@keyframes streak { to { transform: translateX(185vw); } }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, transparent 40%, rgba(7, 11, 24, .75) 100%), linear-gradient(180deg, rgba(7, 11, 24, .5), transparent 22%, transparent 78%, var(--ink)); pointer-events: none; }

/* minmax(0, …): sin esto, el contenido más ancho (la lista del escáner) ensancha la columna y el hero se corta a la derecha en móvil */
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hero__copy, .stage { min-width: 0; }
.hero__copy { transform: translate3d(0, calc(var(--py, 0px) * -.12), 0); opacity: calc(1 - var(--hp, 0)); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 16px; font: 600 11px/1.2 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); }
.eyebrow__dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--red-hi); animation: ping 1.8s infinite; }
/* 14vw (antes 15vw): «DESCOMPUESTO.» es la palabra rotatoria más ancha y a 360–390 px se cortaba por el overflow de .ln */
.hero__title { margin-top: 20px; font: 800 clamp(44px, min(14vw, 15.5vh), 150px)/.88 var(--f-display); text-transform: uppercase; letter-spacing: -.01em; color: #fff; }
.ln { display: block; overflow: hidden; padding: .14em 0 .1em; margin: -.14em 0 -.1em; }
.ln__in { display: inline-block; text-wrap: balance; }
.rot { display: inline-block; font-style: normal; color: var(--red-hi); transition: transform .36s var(--ease), opacity .36s; }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rot { color: transparent; background: linear-gradient(95deg, var(--red-hi) 10%, #ff7a55 60%, var(--amber)); -webkit-background-clip: text; background-clip: text; }
}
.rot.out { transform: translateY(-45%); opacity: 0; }
.rot.pre { transform: translateY(45%); opacity: 0; transition: none; }
.rot__dot { color: var(--red-hi); }
.hero__lead { margin-top: 24px; max-width: 36em; font-size: clamp(16px, 2.3vw, 21px); line-height: 1.6; color: var(--on-dark-2); }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; padding: 0; margin-top: 28px; font: 500 11.5px/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark-2); }
.hero__facts li::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 10px var(--red-hi); }

/* Escáner */
.stage { position: relative; width: min(100%, 540px); justify-self: center; perspective: 1200px; }
.stage__rings { position: absolute; inset: -9%; display: grid; place-items: center; pointer-events: none; }
.ring { position: absolute; width: 100%; height: 100%; }
.ring--a { animation: spin 46s linear infinite; }
.ring--b { width: 86%; height: 86%; animation: spin 30s linear infinite reverse; }
.stage__float { position: relative; animation: float 7s ease-in-out infinite; }
.panel {
  position: relative; padding: 14px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .2);
  background: linear-gradient(165deg, rgba(255, 255, 255, .13), rgba(255, 255, 255, .03)), rgba(10, 16, 40, .72);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .22);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s ease-out;
}
.panel__bar { display: flex; align-items: center; gap: 10px; padding: 2px 6px 12px; font: 700 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.led { width: 8px; height: 8px; border-radius: 50%; background: #2be28a; animation: pingG 1.8s infinite; }
@keyframes pingG { 0% { box-shadow: 0 0 0 0 rgba(43, 226, 138, .7); } 80%, 100% { box-shadow: 0 0 0 10px rgba(43, 226, 138, 0); } }
.panel__id { margin-left: auto; color: var(--steel); }
.panel__view {
  position: relative; aspect-ratio: 400 / 170; overflow: hidden; border-radius: 16px;
  background:
    radial-gradient(circle at 50% 62%, rgba(42, 60, 152, .5), rgba(7, 11, 24, .92) 72%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .045) 0 1px, transparent 1px 22px);
}
.car { position: absolute; left: 4%; top: 12%; width: 92%; height: auto; overflow: visible; }
.car use, .car path, .car circle { fill: none; stroke: var(--steel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.car .cw { fill: rgba(160, 190, 255, .08); }
.car .tire { fill: #0b1022; }
.car .ground { stroke: rgba(255, 255, 255, .2); stroke-dasharray: 3 5; }
.spin { animation: spin 1.3s linear infinite; }
.car--hot { animation: hotReveal 5s linear infinite; }
.car--hot use, .car--hot path, .car--hot circle { stroke: var(--red-hi); filter: drop-shadow(0 0 4px rgba(255, 51, 64, .85)); }
.car--hot .cw { fill: rgba(255, 51, 64, .1); }
.car--hot .tire { fill: none; }
@keyframes hotReveal {
  0% { clip-path: inset(0 100% 0 0); opacity: 1; }
  58% { clip-path: inset(0 0 0 0); opacity: 1; }
  82% { clip-path: inset(0 0 0 0); opacity: 0; }
  100% { clip-path: inset(0 100% 0 0); opacity: 0; }
}
.scanline { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--red-hi), transparent); box-shadow: 0 0 22px 6px rgba(255, 51, 64, .55); animation: scan 5s linear infinite; }
@keyframes scan { 0% { left: 0; opacity: 0; } 6% { opacity: 1; } 58% { left: 100%; opacity: 1; } 64%, 100% { left: 100%; opacity: 0; } }
.corner { position: absolute; width: 16px; height: 16px; border: 0 solid var(--red-hi); opacity: .9; }
.corner--tl { top: 8px; left: 8px; border-width: 2px 0 0 2px; }
.corner--tr { top: 8px; right: 8px; border-width: 2px 2px 0 0; }
.corner--bl { bottom: 8px; left: 8px; border-width: 0 0 2px 2px; }
.corner--br { bottom: 8px; right: 8px; border-width: 0 2px 2px 0; }
.panel__list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.panel__list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .09); font: 600 13px/1.1 var(--f-body); color: #fff; }
.panel__list b { padding: 4px 7px; border-radius: 6px; font: 800 9.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--red); opacity: .28; animation: okRow 8s infinite; animation-delay: calc(var(--i) * 2s); }
@keyframes okRow {
  0% { opacity: .28; transform: scale(1); }
  4% { opacity: 1; transform: scale(1.14); }
  10% { opacity: 1; transform: scale(1); }
  22% { opacity: 1; }
  28%, 100% { opacity: .28; }
}
.fchip {
  position: absolute; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font: 700 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff;
  background: rgba(7, 11, 24, .86); border: 1px solid rgba(255, 255, 255, .22); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .7);
  translate: calc(var(--tx, 0) * 18px) calc(var(--ty, 0) * 18px); transition: translate .3s ease-out; animation: bob 5s ease-in-out infinite;
}
.fchip--a { top: -16px; right: 4%; }
.fchip--b { top: -16px; left: 5%; animation-delay: -1.6s; } /* arriba a la izquierda: ya no tapa la lista del escáner */
.fchip--c { bottom: -16px; right: 8%; animation-delay: -3.2s; background: var(--red); border-color: transparent; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.scrollcue { display: none; position: absolute; left: 50%; bottom: 26px; translate: -50% 0; flex-direction: column; align-items: center; gap: 10px; font: 500 10px/1 var(--f-mono); letter-spacing: .3em; text-transform: uppercase; color: var(--on-dark-2); }
.scrollcue span { width: 1px; height: 44px; background: linear-gradient(var(--red-hi), transparent); transform-origin: top; animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ───────── 5. CINTAS ───────── */
.bands { position: relative; z-index: 3; height: 148px; overflow: hidden; background: linear-gradient(180deg, var(--ink) 0 50%, var(--paper) 50% 100%); }
.band { position: absolute; left: -5%; width: 110%; display: flex; overflow: hidden; white-space: nowrap; }
.band--red { top: 20px; padding: 13px 0; color: #fff; background: var(--red); transform: rotate(-1.6deg); box-shadow: 0 22px 40px -20px rgba(221, 21, 34, .7); }
.band--ink { top: 66px; padding: 12px 0; color: var(--ink); background: #fff; transform: rotate(1.4deg); box-shadow: 0 18px 40px -20px rgba(7, 11, 24, .5); }
.band__track { display: flex; flex: none; gap: 28px; padding-right: 28px; animation: marquee 34s linear infinite; }
.band__track--rev { animation-direction: reverse; animation-duration: 40s; }
.band__track span { font: 800 clamp(22px, 4.4vw, 36px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .05em; }
.band__track i { flex: none; align-self: center; width: 9px; height: 9px; background: currentColor; opacity: .55; transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ───────── 6. MANIFIESTO ───────── */
.manifest { background: var(--paper); overflow: hidden; }
.manifest__wheel { position: absolute; right: -34%; top: 50%; width: min(120vw, 940px); height: auto; fill: none; stroke: rgba(10, 16, 40, .1); stroke-width: 1.1; transform: translateY(-50%) rotate(var(--rot, 0deg)); pointer-events: none; }
.manifest .wrap { position: relative; }
.manifest__text { margin-top: 22px; max-width: 17em; font: 800 clamp(32px, 7.2vw, 88px)/1.02 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; color: var(--ink); }
.manifest__text em { font-style: normal; color: var(--red); }
.js .manifest__text .w { color: rgba(10, 16, 40, .16); transition: color .4s; }
.js .manifest__text .w.on { color: var(--ink); }
.js .manifest__text em .w { color: rgba(221, 21, 34, .2); }
.js .manifest__text em .w.on { color: var(--red); }
.manifest__sub { margin-top: 28px; }
.manifest__cta { margin-top: 30px; }

/* ───────── 7. ESTADOS (scroll horizontal) ───────── */
.estados { position: relative; padding: clamp(76px, 12vw, 130px) 0 clamp(54px, 8vw, 96px); background: linear-gradient(180deg, var(--ink) 0%, #0a1130 100%); overflow: hidden; }
.estados::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); }
.hs__pin { position: relative; }
.hs__head { display: flex; flex-direction: column; gap: 20px; }
.hs__title .h2 { margin-top: 16px; }
.hs__meta { display: flex; align-items: center; gap: 18px; font: 700 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.hs__count { display: none; }
.hs__count b { color: #fff; font-size: 22px; letter-spacing: .04em; }
.hs__hint { display: inline-flex; align-items: center; gap: 10px; }
.hs__hint i { width: 36px; height: 1px; background: var(--red-hi); position: relative; animation: nudge 1.6s ease-in-out infinite; }
.hs__hint i::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border: solid var(--red-hi); border-width: 1px 1px 0 0; transform: rotate(45deg); }
@keyframes nudge { 50% { transform: translateX(8px); } }
.hs__track { position: relative; display: flex; gap: 16px; margin-top: 30px; padding: 8px var(--pad) 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs__track::-webkit-scrollbar { display: none; }
.hs__foot { display: none; }
.hs__bar { height: 3px; background: rgba(255, 255, 255, .14); border-radius: 3px; overflow: hidden; }
.hs__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--amber)); transform-origin: 0 50%; transform: scaleX(var(--hs-p, 0)); }

.st-card {
  position: relative; isolation: isolate; flex: 0 0 min(82vw, 340px); min-height: 430px; display: flex; flex-direction: column; gap: 14px; padding: 26px; scroll-snap-align: center; overflow: hidden;
  border-radius: 28px; border: 1px solid rgba(255, 255, 255, .14);
  background: linear-gradient(165deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .02));
  transform: perspective(1200px) rotateY(calc(var(--o, 0) * -9deg));
}
.st-card::before { content: ''; position: absolute; z-index: -1; right: -30%; bottom: -45%; width: 95%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(221, 21, 34, .38), transparent 66%); transition: transform .8s var(--ease); }
.st-card::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .13), transparent 62%); }
.st-card:hover::before { transform: scale(1.25) translate(-6%, -6%); }
.st-card:hover::after { opacity: 1; }
.st-card__n { font: 700 12px/1 var(--f-mono); letter-spacing: .2em; color: var(--steel); }
/* Numeral fantasma en contorno: llena el hueco de la tarjeta y queda detrás del texto (z-index -1 dentro de .st-card, que aísla) */
.hs__track { counter-reset: st; }
.st-card { counter-increment: st; }
.st-card__n::after {
  content: counter(st, decimal-leading-zero); position: absolute; z-index: -1; right: 18px; bottom: 60px; pointer-events: none;
  font: 800 112px/.8 var(--f-display); letter-spacing: .02em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .14);
  transition: transform .8s var(--ease), -webkit-text-stroke-color .4s;
}
.st-card:hover .st-card__n::after { transform: translateY(-8px); -webkit-text-stroke-color: rgba(255, 51, 64, .55); }
.ico { width: 60px; height: 60px; padding: 13px; border-radius: 18px; color: var(--red-hi); background: rgba(221, 21, 34, .12); border: 1px solid rgba(221, 21, 34, .4); animation: icoGlow 3s ease-in-out infinite; }
@keyframes icoGlow { 50% { box-shadow: 0 0 26px rgba(255, 51, 64, .35); } }
.ico .gear { transform-box: view-box; transform-origin: 12px 12px; animation: spin 8s linear infinite; }
/* Humo: tres columnas que suben y se desvanecen (antes eran guiones que se leían como marcas rotas) */
.ico--smoke path { animation: smokeRise 2.6s ease-in-out infinite; }
.ico--smoke path:nth-child(2) { animation-delay: -.9s; }
.ico--smoke path:nth-child(3) { animation-delay: -1.7s; }
@keyframes smokeRise { 0% { transform: translateY(3px); opacity: .25; } 50% { opacity: 1; } 100% { transform: translateY(-3px); opacity: .25; } }
.ico--burst { animation: icoGlow 3s ease-in-out infinite, burst 2.4s ease-in-out infinite; }
@keyframes burst { 50% { transform: scale(1.08) rotate(4deg); } }
.ico--therm .mercury { stroke: var(--amber); animation: mercury 2.6s ease-in-out infinite; }
@keyframes mercury { 0%, 100% { stroke-dasharray: 3 8; } 50% { stroke-dasharray: 7 4; } }
.st-card h3 { font: 800 clamp(32px, 6vw, 42px)/.95 var(--f-display); text-transform: uppercase; color: #fff; }
.st-card p { color: var(--on-dark-2); line-height: 1.6; font-size: 15.5px; }
.st-card__cta { margin-top: auto; align-self: flex-start; display: inline-flex; gap: .6em; padding-bottom: 4px; font: 700 14px/1.2 var(--f-body); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .35); transition: gap .3s var(--ease), border-color .3s; }
.st-card__cta:hover { gap: 1em; border-color: var(--red-hi); }
.stamp { position: absolute; top: 24px; right: 22px; padding: 4px 10px; border: 2px solid var(--red-hi); border-radius: 6px; font: 800 14px/1.1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--red-hi); transform: rotate(8deg); }
.js .stamp { opacity: 0; }
.js .st-card.is-in .stamp { animation: stampIn .55s cubic-bezier(.2, 1.4, .4, 1) .25s both; }
@keyframes stampIn { from { opacity: 0; transform: rotate(8deg) scale(2.4); } to { opacity: 1; transform: rotate(8deg) scale(1); } }

/* ───────── 8. BENTO ───────── */
.porque { background: var(--paper); }
.bento { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.tile { min-width: 0; }
.tile__in {
  position: relative; overflow: hidden; height: 100%; min-height: 270px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; padding: 22px;
  border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px -40px rgba(10, 16, 40, .5);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .35s ease-out, box-shadow .35s;
}
.tile__in::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(221, 21, 34, .12), transparent 62%); }
.tile__in:hover::after { opacity: 1; }
.tile--dark .tile__in { background: var(--ink); color: #fff; border-color: transparent; }
.tile--red .tile__in { background: linear-gradient(150deg, var(--red), var(--red-dk)); color: #fff; border-color: transparent; }
.tile h3 { font: 800 clamp(28px, 4.6vw, 38px)/.96 var(--f-display); text-transform: uppercase; }
.tile p { margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.tile--dark p { color: var(--on-dark-2); }
.tile--red p { color: rgba(255, 255, 255, .85); }
.tile__art { flex: 1; display: grid; place-items: center; min-height: 130px; }

.photo { position: relative; aspect-ratio: 710 / 334; overflow: hidden; border-radius: 20px; background: linear-gradient(160deg, #e6e9f2, #cfd5e4); border: 1px solid var(--line); }
.photo__stage { position: absolute; top: 0; right: 0; height: 100%; min-width: 100%; aspect-ratio: 710 / 334; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__scan { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: linear-gradient(180deg, transparent, var(--red), transparent); box-shadow: 0 0 20px 5px rgba(221, 21, 34, .4); animation: scan 6s linear infinite; }
.hot { position: absolute; left: var(--x); top: var(--y); }
.hot i { position: absolute; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--red); border: 2px solid #fff; animation: ping 2s infinite; }
.hot b { position: absolute; left: 16px; top: -12px; padding: 5px 9px; border-radius: 8px; white-space: nowrap; font: 700 10.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: rgba(7, 11, 24, .88); }
.hot--l b { left: auto; right: 16px; }

.coin-wrap { perspective: 700px; }
.coin { position: relative; width: 108px; height: 108px; transform-style: preserve-3d; animation: coinSpin 5s linear infinite; }
.coin i { position: absolute; inset: 0; border-radius: 50%; background: #d49410; }
.coin i:nth-child(1) { transform: translateZ(-4px); }
.coin i:nth-child(2) { transform: translateZ(-2px); }
.coin i:nth-child(3) { transform: translateZ(0); }
.coin i:nth-child(4) { transform: translateZ(2px); }
.coin i:nth-child(5) { transform: translateZ(4px); }
.coin__f, .coin__b { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; border: 5px solid #f6c653; font: 800 62px/1 var(--f-display); color: #7a4d00; background: radial-gradient(circle at 35% 30%, #ffe08a, var(--amber) 60%, #c98400); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.coin__f { transform: translateZ(5px); }
.coin__b { transform: rotateY(180deg) translateZ(5px); }
@keyframes coinSpin { to { transform: rotateY(360deg); } }

.road-mini { position: relative; overflow: hidden; display: block; min-height: 150px; }
.mini-truck { position: absolute; left: 0; bottom: 12px; width: 200px; height: auto; animation: miniDrive 7s linear infinite; }
.mini-truck .spin { animation-duration: .7s; }
.road-mini__line { position: absolute; left: 0; right: 0; bottom: 4px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .85) 0 20px, transparent 20px 40px); animation: lineMove .8s linear infinite; }
@keyframes miniDrive { from { transform: translateX(-230px); } to { transform: translateX(560px); } }
@keyframes lineMove { to { background-position: -40px 0; } }

.tile--photo .tile__in { color: #fff; background: linear-gradient(160deg, #1a2560, var(--ink)); border-color: transparent; justify-content: flex-end; }
.tile__bgimg { position: absolute; inset: 0; }
.tile__bgimg img { width: 100%; height: 100%; object-fit: cover; }
.tile__bgimg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 24, .15), rgba(7, 11, 24, .92) 85%); }
.tile--photo .tile__txt { position: relative; }
.tile--photo p { color: var(--on-dark-2); }

.bars { display: grid; gap: 16px; padding: 12px 0 6px; flex: 1; align-content: center; }
.bar { position: relative; display: grid; gap: 7px; }
.bar__l { font: 700 10.5px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bar__f { display: block; height: 16px; border-radius: 9px; background: #cfd4e4; }
.bar--hi .bar__f { background: linear-gradient(90deg, var(--red), var(--red-hi)); box-shadow: 0 0 22px rgba(221, 21, 34, .45); }
.bar__f--a { width: 52%; }
.bar__f--b { width: 52%; animation: barGrow 5s var(--ease) infinite; }
.bar__tag { position: absolute; right: 0; top: -2px; padding: 4px 8px; border-radius: 6px; font: 800 9.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: #fff; background: var(--ink); }
@keyframes barGrow { 0%, 8% { width: 52%; } 38%, 86% { width: 94%; } 100% { width: 52%; } }

.clock { width: min(58%, 170px); margin: 6px auto 4px; overflow: visible; }
.clock__ring { fill: none; stroke: rgba(255, 255, 255, .14); stroke-width: 6; }
.clock__arc { fill: none; stroke: var(--red-hi); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 62.5 100; filter: drop-shadow(0 0 5px rgba(255, 51, 64, .6)); }
.clock__ticks { fill: none; stroke: rgba(255, 255, 255, .4); stroke-width: 5; stroke-dasharray: .1 .9; }
.clock__hand { stroke: #fff; stroke-width: 2.4; stroke-linecap: round; transform-box: view-box; transform-origin: 50px 50px; animation: spin 14s linear infinite; }
.clock__pin { fill: var(--red-hi); }

/* ───────── 9. GRÚA (la escena se abre con el scroll) ───────── */
.grua { position: relative; background: var(--paper); }
.grua__pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.grua__media { position: relative; width: 100%; height: 100%; overflow: hidden; background: #04060f; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.grua__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 6, 15, .92) 0%, rgba(4, 6, 15, .74) 38%, rgba(4, 6, 15, .28) 62%, transparent 80%); }
/* Escritorio: velo lateral (solo en la parte alta) para que el texto no se mezcle con las ventanas encendidas de los edificios */
@media (min-aspect-ratio: 1/1) {
  .grua__shade::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4, 6, 15, .7), rgba(4, 6, 15, .38) 40%, transparent 68%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 76%); mask-image: linear-gradient(180deg, #000 55%, transparent 76%); }
}
.grua__over { position: absolute; left: 0; right: 0; top: 0; padding-top: clamp(84px, 13vh, 150px); }
.grua__over > * { max-width: 640px; }
/* La sección no es .dark: el .lead heredaba el gris oscuro y se perdía sobre la ciudad */
.grua__over .h2 { max-width: 820px; margin-top: 16px; font-size: clamp(40px, min(8.4vw, 13vh), 92px); text-wrap: balance; }
.grua__over .lead { color: var(--on-dark); text-shadow: 0 2px 18px rgba(4, 6, 15, .85); }
.grua__over .btn { margin-top: 26px; }
.sk--far { animation: skyMove 120s linear infinite; }
.sk--near { animation: skyMove 60s linear infinite; }
@keyframes skyMove { to { transform: translateX(-1200px); } }
.stars circle { animation: twinkle 3s ease-in-out infinite; }
.stars circle:nth-child(odd) { animation-delay: -1.2s; }
.stars circle:nth-child(3n) { animation-delay: -2.1s; }
@keyframes twinkle { 50% { opacity: .2; } }
.lane { stroke: #cfd5e8; stroke-width: 4; stroke-dasharray: 40 30; opacity: .7; animation: lane .7s linear infinite; }
@keyframes lane { to { stroke-dashoffset: 70; } }
.truck { animation: drive 18s linear infinite; }
@keyframes drive { from { transform: translateX(-580px); } to { transform: translateX(1300px); } }
.truck .spin { animation-duration: .55s; }
.bedcar { --glass: rgba(20, 28, 60, .85); fill: #d9dde8; stroke: #8e97b3; stroke-width: 2.4; stroke-linejoin: round; }
.puff { fill: rgba(200, 205, 220, .55); transform-box: fill-box; transform-origin: center; animation: puff 2.4s ease-out infinite; }
.puff--2 { animation-delay: .8s; }
.puff--3 { animation-delay: 1.6s; }
@keyframes puff { 0% { transform: translate(0, 0) scale(.6); opacity: .75; } 100% { transform: translate(-34px, -64px) scale(2.8); opacity: 0; } }
.beacon { animation: beacon .9s steps(1) infinite; }
.beacon-glow { animation: beaconGlow .9s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes beacon { 0% { opacity: 1; } 50% { opacity: .15; } }
@keyframes beaconGlow { 0%, 100% { opacity: .9; transform: scale(1); } 50% { opacity: .15; transform: scale(.6); } }

/* Modo "se abre": solo si hay JS (clase grua-on) */
.grua-on .grua { --p: 0; height: 200vh; }
.grua-on .grua__pin { position: sticky; top: 0; }
.grua-on .grua__media { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: calc(76% + 24% * var(--p)); height: calc(64% + 36% * var(--p)); border-radius: calc(44px * (1 - var(--p))); box-shadow: 0 40px 110px -30px rgba(7, 11, 24, calc(.55 * (1 - var(--p)))); }
.grua-on .grua__over { opacity: calc((var(--p) - .4) * 2.6); }
.grua-on .grua__shade { opacity: var(--p); }
/* Pantallas verticales (móvil/tablet): con "slice" la escena mostraba solo una franja y el camión salía cortado.
   Se ancla abajo con 60 % de alto: se ve el camión completo y el cielo de arriba se funde con el fondo (#04060f). */
@media (max-aspect-ratio: 1/1) {
  .scene { inset: auto 0 0 0; height: 50%; }
  /* Con 50 % de alto la ventana visible abarca ≈ 555 unidades (x 322–877): el camión (440) cabe entero.
     Entra desde la izquierda, se queda en cuadro mientras la ciudad corre detrás y sale por la derecha:
     antes cruzaba toda la escena y en el ~35 % del ciclo no había camión a la vista. */
  .truck { animation: driveP 16s linear infinite; }
}
@keyframes driveP {
  0% { transform: translateX(-560px); animation-timing-function: cubic-bezier(.2, .7, .3, 1); }
  26% { transform: translateX(380px); }
  80% { transform: translateX(404px); animation-timing-function: cubic-bezier(.6, 0, .9, .5); }
  100% { transform: translateX(1000px); }
}

/* ───────── 10. PROCESO ───────── */
.proceso { background: var(--paper); }
.route { --rp: 1; position: relative; list-style: none; padding: 0; }
.js .route { --rp: 0; }
.route__road { position: absolute; left: 19px; top: 10px; bottom: 10px; width: 12px; list-style: none; border-radius: 8px; background: #151b3a; }
.route__road::before { content: ''; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; translate: -50% 0; background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, .55) 0 10px, transparent 10px 22px); }
.route__fill { position: absolute; inset: 0; border-radius: 8px; background: linear-gradient(180deg, var(--red), var(--red-hi)); box-shadow: 0 0 28px rgba(221, 21, 34, .6); transform-origin: top; transform: scaleY(var(--rp)); }
.route__car { position: absolute; left: 50%; top: calc(var(--rp) * 100%); width: 26px; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
.route__car svg { display: block; width: 100%; height: auto; }
.step { position: relative; list-style: none; padding: 0 0 34px 66px; }
.step__node { position: absolute; left: 10px; top: 4px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); border: 3px solid var(--red); box-shadow: 0 0 0 8px rgba(221, 21, 34, .16); transition: border-color .5s, box-shadow .5s; }
.step__node::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--red); transition: background .5s; }
.js:not(.reveal-all) .step:not(.is-on) .step__node { border-color: #151b3a; box-shadow: none; }
.js:not(.reveal-all) .step:not(.is-on) .step__node::after { background: #151b3a; }
.step__card { padding: 22px 22px 24px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 56px -34px rgba(10, 16, 40, .45); }
.step__n { font: 700 12px/1 var(--f-mono); letter-spacing: .2em; color: var(--red); }
.step h3 { margin: 10px 0 8px; font: 800 clamp(28px, 5vw, 38px)/.98 var(--f-display); text-transform: uppercase; }
.step p { color: var(--muted); line-height: 1.65; }
.proceso__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; }
.proceso__note { font: 500 12px/1.4 var(--f-mono); letter-spacing: .06em; color: var(--muted); }

/* ───────── 11. VEHÍCULOS ───────── */
.datos { background: radial-gradient(ellipse at 85% 0%, rgba(42, 60, 152, .55), transparent 55%), var(--ink-2); overflow: hidden; }
.tabs__list { display: inline-flex; gap: 4px; padding: 6px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.no-js .tabs__list { display: none; }
.tab { padding: .75em 1.35em; border-radius: 999px; font: 700 14px/1 var(--f-body); color: var(--on-dark-2); transition: background .35s, color .35s; }
.tab:hover { color: #fff; }
.tab[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: 0 8px 22px -8px rgba(221, 21, 34, .8); }
.tabpanel { display: grid; gap: 26px; align-items: center; margin-top: 30px; }
.tabpanel[hidden] { display: none; }
.bp {
  position: relative; padding: 20px 18px 14px; border-radius: 24px; border: 1px solid rgba(255, 255, 255, .12);
  background-color: rgba(255, 255, 255, .025);
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 24px 24px;
}
.bp svg { display: block; width: 100%; height: auto; overflow: visible; }
.bp svg use, .bp svg path, .bp svg circle, .bp svg rect { fill: none; stroke: var(--steel); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bp svg .cw { fill: rgba(160, 190, 255, .07); }
.bp svg .tire { fill: #0b1022; stroke: #fff; }
.bp svg .ground { stroke: rgba(255, 255, 255, .25); stroke-dasharray: 3 5; }
.bp .spin { animation-duration: 5s; }
.bp figcaption { margin-top: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); }
.tabpanel.is-active .bp svg { animation: wipe 1.6s var(--ease) both; }
@keyframes wipe { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% -10% -10% -10%); } }
.tabpanel__txt h3 { font: 800 clamp(30px, 5vw, 46px)/.96 var(--f-display); text-transform: uppercase; color: #fff; }
.tabpanel__txt p { margin: 14px 0 22px; max-width: 46ch; line-height: 1.7; color: var(--on-dark-2); }
.datos__who { margin-top: 36px; padding: 16px 20px; display: inline-block; border-radius: 16px; border: 1px dashed rgba(255, 255, 255, .28); font-size: 15px; color: var(--on-dark); }
.datos__who b { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: clamp(40px, 7vw, 80px); }
.stat { padding: 22px; border-radius: 24px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); }
.stat__n { display: flex; align-items: baseline; gap: 6px; font: 800 clamp(54px, 9vw, 96px)/.9 var(--f-display); color: #fff; }
.stat__n small { font-size: .4em; color: var(--red-hi); }
.stat p { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }

/* ───────── 12. COMPARATIVA ───────── */
.vs { background: #fff; }
.vs__grid { display: grid; gap: 14px; }
.vs__card { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: clamp(24px, 4vw, 40px); border-radius: 30px; }
.vs__card h3 { font: 800 clamp(30px, 5vw, 44px)/.95 var(--f-display); text-transform: uppercase; }
.vs__card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.vs__card li { position: relative; padding-left: 36px; line-height: 1.5; }
.vs__card li::before { position: absolute; left: 0; top: -1px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font: 700 13px/1 var(--f-body); transition: transform .5s var(--ease), opacity .5s; }
.vs__card--them { background: var(--paper); border: 1px dashed rgba(10, 16, 40, .25); color: var(--muted); }
.vs__card--them li::before { content: '✕'; color: #6b7390; background: rgba(10, 16, 40, .08); }
.vs__card--us { background: radial-gradient(circle at 100% 0%, rgba(221, 21, 34, .45), transparent 55%), var(--ink); color: #fff; box-shadow: 0 40px 80px -40px rgba(7, 11, 24, .7); }
.vs__card--us li::before { content: '✓'; color: #fff; background: var(--red); }
.vs__card .btn { align-self: flex-start; }
.vs__card--us .btn { margin-top: 28px; }
/* Cierre de la tarjeta "Por tu cuenta": ocupa el hueco que dejaba al igualar la altura con la tarjeta de CAQ */
.vs__end { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 30px; font: 600 11.5px/1.5 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #6b7390; }
.vs__end::before { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; }
.vs__card--us h3 { padding-right: 64px; }
.vs__badge { position: absolute; top: 22px; right: 22px; padding: 6px 12px; border-radius: 999px; font: 800 12px/1 var(--f-mono); letter-spacing: .18em; background: var(--red); }
.js .vs__card li::before { opacity: 0; transform: scale(.3); }
.js .vs__card.is-in li::before { opacity: 1; transform: none; }
.js .vs__card.is-in li:nth-child(1)::before { transition-delay: .35s; }
.js .vs__card.is-in li:nth-child(2)::before { transition-delay: .45s; }
.js .vs__card.is-in li:nth-child(3)::before { transition-delay: .55s; }
.js .vs__card.is-in li:nth-child(4)::before { transition-delay: .65s; }
.js .vs__card.is-in li:nth-child(5)::before { transition-delay: .75s; }

/* ───────── 13. FAQ ───────── */
.faq { background: var(--paper); }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; cursor: pointer; list-style: none; font: 700 clamp(17px, 4.3vw, 21px)/1.3 var(--f-body); transition: color .3s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; font: 500 24px/1 var(--f-body); color: var(--red); background: rgba(221, 21, 34, .08); transition: transform .4s var(--ease), background .3s; }
.faq__list summary:hover { color: var(--red); }
.faq__list details[open] summary::after { transform: rotate(45deg); background: rgba(221, 21, 34, .16); }
.faq__list details p { max-width: 62ch; padding: 0 0 24px; color: var(--muted); line-height: 1.75; animation: faqIn .45s var(--ease); }
.faq__list details p a { color: var(--red); font-weight: 700; border-bottom: 1px solid currentColor; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ───────── 14. CONTACTO ───────── */
.contact { position: relative; isolation: isolate; overflow: hidden; overflow: clip; /* clip no crea contenedor de scroll: permite el sticky de la columna izquierda */ background: var(--ink); }
.contact__bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--ink), #0b1233); }
.contact__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .26; }
.contact__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(7, 11, 24, .55) 40%, var(--ink) 100%); }
.contact__glow { position: absolute; z-index: 1; right: -10%; top: 20%; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(221, 21, 34, .4), transparent 65%); filter: blur(30px); animation: blob 12s ease-in-out infinite alternate; }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.contact__copy .h2 { margin-top: 18px; }
.contact__list { list-style: none; padding: 0; margin-top: 30px; display: grid; gap: 16px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.ci { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; color: var(--red-hi); background: rgba(221, 21, 34, .12); border: 1px solid rgba(221, 21, 34, .35); }
.ci svg { width: 22px; height: 22px; }
.contact__list small { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 5px; }
.contact__list a, .contact__list span { font-weight: 700; font-size: 17px; color: #fff; }
.contact__list a:hover { color: var(--red-hi); }
.form { display: grid; gap: 18px; padding: clamp(20px, 4vw, 34px); border-radius: 30px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .15); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.form__title { font: 800 clamp(28px, 5vw, 40px)/1 var(--f-display); text-transform: uppercase; color: #fff; }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; gap: 14px; grid-template-columns: 1fr 108px; }
.field label, .field legend { padding: 0; font: 600 11px/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-2); }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field input[type="number"], .field textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font-size: 16px; transition: border-color .3s, box-shadow .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field ::placeholder { color: rgba(233, 236, 246, .45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-hi); box-shadow: 0 0 0 4px rgba(221, 21, 34, .25); background: rgba(255, 255, 255, .1); }
.field input:user-invalid { border-color: var(--amber); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 9px 15px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); font-size: 14px; font-weight: 600; color: var(--on-dark); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.chip:hover span { border-color: rgba(255, 255, 255, .5); }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.04); }
.chip input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.form__submit { width: 100%; }
.form__note { font-size: 12.5px; line-height: 1.5; color: var(--on-dark-2); text-align: center; }
.form__note.is-error { color: var(--amber); font-weight: 700; }
.field input[aria-invalid="true"] { border-color: var(--amber); }
.no-wa .form__submit, .no-wa .fab, .no-wa [data-wa] { display: none; }

/* ───────── 15. PIE y WHATSAPP ───────── */
.foot { position: relative; overflow: hidden; padding: clamp(60px, 9vw, 110px) 0 26px; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .08); }
.foot__giant {
  position: absolute; left: 50%; bottom: -.2em; transform: translateX(-50%); font: 800 clamp(200px, 46vw, 680px)/.8 var(--f-display); letter-spacing: .02em; user-select: none; pointer-events: none;
  color: rgba(255, 255, 255, .02); -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
  /* se desvanece hacia arriba para que el contorno no compita con los enlaces ni las etiquetas de servicios */
  -webkit-mask-image: linear-gradient(to top, #000 20%, transparent 72%); mask-image: linear-gradient(to top, #000 20%, transparent 72%);
}
.foot__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 34px; }
.foot__brand p { margin-top: 16px; max-width: 34ch; color: var(--on-dark-2); line-height: 1.65; }
.foot h2 { margin-bottom: 14px; font: 700 11px/1 var(--f-mono); letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-2); }
.foot__nav, .foot__contact, .foot__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.foot__nav a, .foot__contact a, .foot__contact span { color: #fff; font-weight: 500; }
.foot__nav a:hover, .foot__contact a:hover, .foot__top:hover { color: var(--red-hi); }
.foot__top { margin-top: 6px; font: 600 13px var(--f-mono); letter-spacing: .08em; color: var(--on-dark-2); }
.foot__services { position: relative; margin-top: 44px; }
.foot__services ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.foot__services a { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 13px; line-height: 1.3; color: var(--on-dark); transition: border-color .3s, background .3s, color .3s; }
.foot__services a:hover { color: #fff; border-color: var(--red-hi); background: rgba(221, 21, 34, .16); }
.foot__legal { position: relative; margin-top: 30px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font: 500 12px/1.5 var(--f-mono); letter-spacing: .04em; color: var(--on-dark-2); }

.fab {
  position: fixed; z-index: 90; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%;
  color: #fff; background: var(--wa); box-shadow: 0 16px 36px -8px rgba(37, 211, 102, .65), 0 0 0 1px rgba(255, 255, 255, .2) inset; transition: transform .35s var(--ease);
}
.fab svg { width: 32px; height: 32px; }
.fab::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: fabPing 2.4s ease-out infinite; }
@keyframes fabPing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab__tip { position: absolute; right: 74px; top: 50%; translate: 0 -50%; padding: 10px 14px; border-radius: 12px; white-space: nowrap; font: 700 13px/1 var(--f-body); color: var(--ink); background: #fff; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transform: translateX(10px); transition: opacity .3s, transform .4s var(--ease); animation: tip 14s ease-in-out 6s infinite; }
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; transform: none; animation: none; }
@keyframes tip { 0%, 4% { opacity: 0; transform: translateX(10px); } 7%, 22% { opacity: 1; transform: none; } 26%, 100% { opacity: 0; transform: translateX(10px); } }

/* ───────── 16. REVELADOS (solo con JS; respaldo reveal-all) ───────── */
.js [data-hero] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js .ln__in { transform: translateY(112%); transition: transform 1s var(--ease) var(--d, 0s); }
.is-ready [data-hero], .reveal-all [data-hero] { opacity: 1; transform: none; }
.is-ready .ln__in, .reveal-all .ln__in { transform: none; }

.js [data-reveal] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal="left"] { transform: translate3d(-44px, 0, 0); }
.js [data-reveal="right"] { transform: translate3d(44px, 0, 0); }
.js [data-reveal="zoom"] { transform: scale(.95) translate3d(0, 24px, 0); }
.js [data-reveal].is-in, .reveal-all [data-reveal] { opacity: 1; transform: none; }
.bento .tile:nth-child(2) { --d: .08s; }
.bento .tile:nth-child(3) { --d: .16s; }
.bento .tile:nth-child(4) { --d: .08s; }
.bento .tile:nth-child(5) { --d: .16s; }
.bento .tile:nth-child(6) { --d: .24s; }
.reveal-all .stamp { opacity: 1 !important; }
.reveal-all .manifest__text .w { color: var(--ink) !important; }
.reveal-all .manifest__text em .w { color: var(--red) !important; }
.reveal-all .loader { display: none; }
.reveal-all .vs__card li::before { opacity: 1 !important; transform: none !important; }
.reveal-all .grua { height: auto !important; }
.reveal-all .grua__pin { position: relative !important; }
.reveal-all .grua__media { position: relative !important; left: auto !important; top: auto !important; translate: none !important; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
.reveal-all .grua__over, .reveal-all .grua__shade { opacity: 1 !important; }
.reveal-all .route { --rp: 1; }
.reveal-all .st-card { transform: none; }
.reveal-all .hs__pin { position: relative !important; height: auto !important; }
.reveal-all .hs__track { transform: none !important; width: auto !important; overflow-x: auto !important; }
.reveal-all .estados { height: auto !important; }

/* ───────── 17. TABLET / ESCRITORIO ───────── */
@media (max-width: 519px) {
  /* Móvil: la lista del escáner apila texto y sello; la chip flotante de la izquierda se oculta para no tapar nada */
  .panel__list li { flex-direction: column; align-items: flex-start; gap: 7px; padding: 10px 12px; }
  .fchip--b { display: none; }
  .eyebrow { letter-spacing: .06em; font-size: 10.5px; }
}
@media (min-width: 520px) {
  .hdr__cta { display: inline-flex; }
  .burger { order: 3; }
}
@media (min-width: 700px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--a { grid-column: 1 / -1; }
  .tile--a .tile__in { min-height: 0; }
  .vs__grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .panel__list b { font-size: 10px; }
}
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 28px; }
  .scrollcue { display: flex; }
  .hs__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
  .tabpanel { grid-template-columns: 1.15fr .85fr; gap: 48px; }
  .faq__wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
  .faq__head { position: sticky; top: 110px; margin-bottom: 0; }
  .foot__grid { grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
  .field-row { grid-template-columns: 1fr 130px; }
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(260px, auto); }
  .tile--a { grid-column: span 7; grid-row: span 2; }
  .tile--b { grid-column: span 5; }
  .tile--c { grid-column: span 5; }
  .tile--d, .tile--e, .tile--f { grid-column: span 4; }
  .tile--a .tile__in { min-height: 0; }
  .tile--a .photo { flex: 1; aspect-ratio: auto; min-height: 280px; }

  /* Ruta en dos columnas */
  .route__road { left: 50%; translate: -50% 0; }
  .step { width: 50%; padding: 0 58px 54px 0; }
  .step:nth-child(odd) { margin-left: 50%; padding: 0 0 54px 58px; }
  .step:nth-child(even) .step__node { left: auto; right: -15px; }
  .step:nth-child(odd) .step__node { left: -15px; }
  .step:nth-child(even) .step__card { text-align: right; }

  /* Scroll horizontal fijado (clase hs-on la pone el JS) */
  .hs-on .estados { padding: 0; overflow: visible; }
  /* La cuadrícula técnica vive en el panel fijado (antes solo cubría el inicio de la sección alta y se perdía al avanzar) */
  .hs-on .estados::before { display: none; }
  .hs-on .hs__pin::before { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 0%, #000, transparent 70%); }
  .hs-on .hs__title .h2 { font-size: clamp(36px, 7.4vh, 84px); }
  .hs-on .st-card { min-height: clamp(340px, 52vh, 440px); }
  .hs-on .hs__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 34px; overflow: hidden; padding: 70px 0 30px; }
  .hs-on .hs__track { width: max-content; margin-top: 0; padding: 18px var(--pad); overflow: visible; scroll-snap-type: none; gap: 22px; will-change: transform; }
  .hs-on .st-card { flex: 0 0 372px; scroll-snap-align: none; }
  .hs-on .hs__count { display: inline; }
  .hs-on .hs__hint { display: none; }
  .hs-on .hs__foot { display: block; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .hs-on .hs__title .lead { display: none; }
}
@media (min-width: 1024px) {
  .js .nav { position: static; flex-direction: row; justify-content: flex-end; gap: 6px 26px; padding: 0; background: none; opacity: 1; visibility: visible; transform: none; z-index: auto; }
  .js .nav a { font: 600 14px/1.2 var(--f-body); text-transform: none; letter-spacing: 0; }
  .burger { display: none; }
  .hdr { gap: 26px; }
  .nav { margin-left: auto; }
  .contact__grid { grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
}
/* Con pantalla alta, el texto de contacto acompaña al formulario mientras se llena (en pantallas bajas se queda quieto para no cortarse) */
@media (min-width: 1024px) and (min-height: 860px) {
  .contact__copy { position: sticky; top: 110px; }
}

/* ───────── 18. EFECTOS DE SCROLL CON CSS (solo si el navegador los soporta) ───────── */
@supports (animation-timeline: scroll()) {
  .progress span { animation: growBar linear both; animation-timeline: scroll(root block); }
  @keyframes growBar { to { transform: scaleX(1); } }
}
@supports (animation-timeline: view()) {
  .tile--a .photo img { animation: photoDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  @keyframes photoDrift { from { transform: scale(1.12) translateY(3%); } to { transform: scale(1.02) translateY(-2%); } }
}

/* ───────── 19. MOVIMIENTO REDUCIDO ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { animation: loaderFallback .2s ease .6s forwards !important; }
  .js [data-hero], .js [data-reveal], .js .ln__in { opacity: 1 !important; transform: none !important; }
  .js .stamp { opacity: 1 !important; }
  .js .manifest__text .w { color: var(--ink) !important; }
  .js .manifest__text em .w { color: var(--red) !important; }
  .js .vs__card li::before { opacity: 1 !important; transform: none !important; }
  .hero__streaks, .scanline, .photo__scan { display: none; }
  .car--hot { clip-path: none; opacity: .0; }
  .truck { transform: translateX(380px); }
  .bar__f--b { width: 88%; }
  .grua-on .grua { height: auto; }
  .grua-on .grua__pin { position: relative; }
  .grua-on .grua__media { width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
  .grua-on .grua__over { opacity: 1; }
}
