/* =============================================================================
   BODEGUERO — landing 2.0 · "La cuadra"

   Light premium: blanco cálido y luz verde de toldo, navy para leer, verde
   sólo en acción y confirmación, ámbar sólo para atención. Sin modo oscuro.
   Un solo sistema de elevación (borde O sombra, nunca los dos), radios de
   12–16 px, superficies del navegador tematizadas (selección, scrollbar, foco,
   cifras tabulares). Titulares sin etiquetas encima: el titular pesa solo.

   Movimiento, una sola idea: lo que se mueve lo mueve el scroll (hero
   cinemático y tres historias). Ni reveals por sección ni hover-juguete.

   1. tokens y base   2. cabecera, botones, teléfono, flotantes   3. hero
   4. secciones       5. historias                                6. cierre, pie
   7. secundarias     8. reduced-motion
   ============================================================================= */

/* Respaldos con métricas medidas contra las fuentes reales (Chromium, 06/09/2026): Hanken 400 mide 1,024× Arial; Bricolage 800 mide 0,83× Arial Bold */
@font-face { font-family: 'Texto respaldo'; src: local('Arial'); ascent-override: 90.20%; descent-override: 22.48%; line-gap-override: 0%; size-adjust: 102.4%; }
@font-face { font-family: 'Bricolage respaldo'; src: local('Arial'); ascent-override: 92%; descent-override: 24%; line-gap-override: 0%; size-adjust: 83%; }

:root {
  --bg: #fcfbf8; --bg-2: #f4f5f1; --bg-green: #e9f5ec; --surface: #ffffff;
  --ink: #0f172a; --ink-2: #1e293b; --ink-3: #475569; --ink-4: #64748b;
  --line: #e2e8f0; --line-2: #cbd5e1;
  --green: #22c55e; --green-ink: #15803d; --green-deep: #166534; --green-soft: #dcfce7; --green-mist: rgba(34, 197, 94, .16);
  --amber: #f59e0b; --amber-ink: #92400e; --amber-soft: #fef3c7;
  --red: #dc2626; --red-ink: #b91c1c; --chat: #eef3ee;
  --r-sm: 8px; --r: 12px; --r-lg: 16px; --r-full: 999px;
  --shadow-1: 0 2px 4px rgba(15, 23, 42, .04), 0 12px 32px -16px rgba(15, 23, 42, .22);
  --shadow-2: 0 4px 8px rgba(15, 23, 42, .05), 0 28px 56px -28px rgba(15, 23, 42, .3);
  --shadow-phone: 0 44px 88px -40px rgba(15, 23, 42, .5), 0 16px 32px -22px rgba(15, 23, 42, .28);
  --font-display: 'Bricolage Grotesque', 'Bricolage respaldo', system-ui, sans-serif;
  --font-text: 'Hanken Grotesk', 'Texto respaldo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px; --gutter: 24px; --section: clamp(72px, 9vw, 132px);
  --phone-w: 300px; --phone-ratio: 360 / 727;
  scrollbar-color: var(--line-2) transparent;
  accent-color: var(--green-ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font-text); font-size: 17px; line-height: 1.55; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
::selection { background: var(--green-soft); color: var(--ink); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.028em; text-wrap: balance; }
h1 { font-size: clamp(50px, 9.4vw, 128px); font-variation-settings: 'opsz' 96; letter-spacing: -0.035em; line-height: .94; }
h2 { font-size: clamp(34px, 4.9vw, 62px); font-variation-settings: 'opsz' 72; line-height: 1; }
h3 { font-size: clamp(21px, 2.1vw, 26px); font-variation-settings: 'opsz' 24; font-weight: 700; line-height: 1.18; letter-spacing: -0.014em; }
h4 { font-size: 17px; line-height: 1.3; letter-spacing: -0.008em; }
/* El acento del titular: la misma familia en peso medio y tinta secundaria (en el h1, el verde de marca), no una cursiva de otra voz */
.acento { font-style: normal; font-weight: 600; color: var(--ink-3); }
h1 .acento { font-weight: 800; color: var(--green-ink); }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, canvas { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
b, strong { font-weight: 600; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: 'tnum' 1; }
:where(a, button, summary, [tabindex]):focus-visible { outline: 3px solid var(--green-ink); outline-offset: 3px; border-radius: var(--r-sm); }

.oculto-visual { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); z-index: 100; text-decoration: none; font-weight: 600; }
.saltar:focus { left: 16px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap > *, .split > *, .cuadra > *, .dos > *, .explorer > *, .cierre__grid > *, .vision > *, .audiencias > * { min-width: 0; }
.section { padding: var(--section) 0; position: relative; overflow-x: clip; }
.section--soft { background: var(--bg-2); }
.section--green { background: var(--bg-green); }
.section--tight { padding-top: calc(var(--section) * .55); }
.head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 64px); }
.head h2 { margin-bottom: 18px; }
.head .lead { margin-top: 0; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--ink-3); max-width: 60ch; }
.acceso__titulo { font-size: 22px; }
.nota { font-size: 14.5px; color: var(--ink-4); line-height: 1.5; }
.nota b { color: var(--ink-2); }
.ico { width: 22px; height: 22px; flex: none; }

/* ── 2. Cabecera, botones, teléfono, flotantes ────────────────────────────── */
/* Cabecera: una barra clara y ligera; transparente sobre el hero y con fondo e hilo al desplazarse */
.top { position: sticky; top: 0; z-index: 60; background: rgba(252, 251, 248, 0); box-shadow: 0 1px 0 rgba(226, 232, 240, 0); transition: background .25s ease, box-shadow .25s ease; }
.top__row { display: flex; align-items: center; gap: 22px; min-height: 66px; padding: 0 var(--gutter); }
.top[data-fija] { background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.marca { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.marca img { width: 30px; height: auto; }
.marca__texto { font-family: var(--font-display); font-weight: 800; letter-spacing: .05em; font-size: 15px; }
.top__nav { display: none; margin-left: auto; gap: 28px; }
.top__nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); white-space: nowrap; padding: 8px 0; border-bottom: 2px solid transparent; transition: border-color .15s ease; }
.top__nav a:hover { border-bottom-color: var(--green); }
.top__cta { display: flex; align-items: center; margin-left: auto; }
.top__nav + .top__cta { margin-left: 0; }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--surface); border-radius: var(--r-sm); cursor: pointer; display: grid; place-items: center; }
.menu-btn__barras, .menu-btn__barras::before, .menu-btn__barras::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: var(--r-full); position: relative; transition: transform .2s ease, opacity .2s ease; }
.menu-btn__barras::before, .menu-btn__barras::after { content: ''; position: absolute; left: 0; }
.menu-btn__barras::before { top: -6px; }
.menu-btn__barras::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__barras { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__barras::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__barras::after { transform: translateY(-6px) rotate(-45deg); }
.menu[hidden] { display: none; }
.menu { display: flex; flex-direction: column; padding: 8px var(--gutter) 16px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); }
.menu a { padding: 13px 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.menu a:last-child { border-bottom: 0; color: var(--green-deep); font-weight: 600; }
/* Badge oficial de Google Play sin ficha publicada: se ve, con su estado, y no lleva a ningún sitio */
.badge-pronto { display: inline-flex; align-items: center; gap: 10px; }
.badge-pronto img { height: 56px; width: auto; border-radius: 8px; }
.badge-pronto > span { font: 600 12px/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; padding: 6px 9px; border-radius: var(--r-full); background: var(--amber-soft); color: var(--amber-ink); }
.badge-pronto--sm img { height: 38px; }
.badge-pronto--sm > span { font-size: 11px; padding: 5px 7px; }
@media (max-width: 479px) { .marca__texto { display: none; } }
@media (min-width: 1000px) { .top__nav { display: flex; } .menu-btn, .menu { display: none !important; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r-full); font: 600 16px/1 var(--font-text); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; white-space: nowrap; transition: transform .18s cubic-bezier(.2, .8, .2, 1), background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--green); color: var(--ink); border-color: var(--green); }
.btn--primary:hover { background: #2fd069; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-2); }
.btn--line { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink-3); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--badge { padding: 0; min-height: 0; border: 0; background: none; }
.btn--badge img { height: 56px; width: auto; border-radius: 8px; }
.top__cta .btn--badge img { height: 38px; }

.tienda { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 12px 16px; border-radius: var(--r); background: var(--amber-soft); max-width: 460px; font-size: 14px; line-height: 1.4; color: var(--amber-ink); }
.tienda svg { width: 20px; height: 20px; margin-top: 1px; }
.tienda b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

.phone { --phone-r: calc(var(--phone-w) * .115); --phone-r-in: calc(var(--phone-w) * .088); position: relative; width: var(--phone-w); max-width: 100%; aspect-ratio: var(--phone-ratio); border-radius: var(--phone-r); background: var(--ink); padding: calc(var(--phone-w) * .03); box-shadow: var(--shadow-phone); flex: none; }
.phone::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .08), inset 0 0 0 4px rgba(15, 23, 42, .9); }
/* Sombra de contacto: el teléfono se apoya en algo, no flota en el vacío */
.phone::before { content: ''; position: absolute; left: 6%; right: 6%; bottom: -5%; height: 12%; border-radius: 50%; background: radial-gradient(50% 50% at 50% 50%, rgba(15, 23, 42, .38), rgba(15, 23, 42, 0) 72%); filter: blur(8px); z-index: -1; }
.phone img, .phone picture { width: 100%; height: 100%; object-fit: cover; border-radius: var(--phone-r-in); background: var(--bg-green); }
.phone--sm { --phone-w: 220px; }
.phone--lg { --phone-w: 340px; }

.float { position: absolute; z-index: 2; display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-2); font-size: 13.5px; line-height: 1.3; color: var(--ink-3); min-width: 200px; max-width: 250px; will-change: transform; }
.float b { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; }
.float__ico { width: 36px; height: 36px; border-radius: var(--r); display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.float__ico--amber { background: var(--amber-soft); color: var(--amber-ink); }
.float__ico--ink { background: var(--bg-2); color: var(--ink-2); }
.float__ico svg { width: 20px; height: 20px; }
.float .num { color: var(--green-deep); font-weight: 600; }

/* ── 3. Hero inmersivo ────────────────────────────────────────────────────── */
/* El clip de la bodega ocupa todo el hero, a sangre. Titular, entradilla y CTA están nítidos desde el primer pintado sobre
   un velo lateral; con el scroll (`--hp`) la cámara entra por la puerta y, por pasos, llegan los cuatro papeles (.14–.40),
   el teléfono que sube y se posa en el mostrador (.34–.72) y sus tres microestados (.70 / .78 / .86). El teléfono se
   dimensiona por la altura del viewport (`--hero-phone`) y los microestados se anclan a su borde. En `static` (móvil,
   reduced-motion) el póster de la fachada sostiene la copia y el mostrador con el teléfono va debajo, sobre el último
   fotograma. */
.hero { position: relative; }
.hero__stage { position: relative; overflow: clip; min-height: 100vh; min-height: 100svh; display: grid; }
html[data-motion="scrub"] .hero { height: 240vh; height: 240svh; }
html[data-motion="scrub"] .hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; }
.hero__cine { position: absolute; inset: 0; z-index: 0; background: var(--bg-2); }
html[data-motion="static"] .hero__cine { bottom: auto; height: calc(100vh - 66px); height: calc(100svh - 66px); }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { position: absolute; inset: 0; background: var(--bg-2) url('/assets/hero/frames/poster-720.webp') 50% 28% / cover no-repeat; transition: opacity .6s ease; }
@media (min-width: 720px) { .hero__poster { background-image: url('/assets/hero/frames/poster-1440.webp'); } }
.hero__poster[data-detras] { opacity: 0; }
/* Velo: lateral para que el titular lea sobre la fachada y el interior, y de pie para el CTA */
.hero__wash { position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(180deg, rgba(252, 251, 248, 0) 0%, rgba(252, 251, 248, .1) 30%, rgba(252, 251, 248, .86) 58%, rgba(252, 251, 248, .95) 100%); }
@media (min-width: 900px) { .hero__wash { background:
  linear-gradient(90deg, rgba(252, 251, 248, .88) 0%, rgba(252, 251, 248, .6) 28%, rgba(252, 251, 248, .2) 52%, rgba(252, 251, 248, 0) 66%),
  linear-gradient(180deg, rgba(252, 251, 248, 0) 60%, rgba(252, 251, 248, .3) 100%); } }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-areas: "copy" "mostrador" "facts"; grid-template-rows: auto auto auto; padding: 90px var(--gutter) 0; }
.hero__copy { grid-area: copy; min-height: calc(100vh - 156px); min-height: calc(100svh - 156px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 20px; max-width: 640px; }
.hero h1 { font-size: clamp(46px, min(8.8vw, 13.5vh), 120px); margin-bottom: 14px; }
.hero__lead { font-size: clamp(18px, 1.9vw, 26px); font-weight: 600; font-family: var(--font-display); font-variation-settings: 'opsz' 28; color: var(--ink); letter-spacing: -0.018em; line-height: 1.25; margin-bottom: 20px; max-width: 12.5em; text-wrap: balance; }
.hero__acciones { margin-bottom: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__cta > [data-cta] { min-height: 56px; min-width: 145px; display: flex; align-items: center; }
.hero__cta > [data-cta]:empty { min-width: 219px; }
.hero__estado { font-size: 14px; line-height: 1.45; color: var(--ink-4); margin: 10px 0 0; max-width: 52ch; }
.hero__estado:empty { display: none; }
.hero__estado b { color: var(--ink-2); font-weight: 600; }
/* Los cuatro papeles: una fila de fichas con icono y nombre */
.facts { grid-area: facts; position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 14px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); background: var(--bg); }
.fact { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-full); background: var(--surface); box-shadow: var(--shadow-1); text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ink); transition: transform .2s ease; }
.fact:hover { transform: translateY(-2px); }
.fact b { font-weight: 600; }
.fact__ico { width: 34px; height: 34px; border-radius: var(--r-full); display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.fact__ico svg { width: 18px; height: 18px; }
/* El mostrador: en static, un bloque bajo la copia con el último fotograma detrás; en scrub, el teléfono se posa a la derecha */
.hero__mostrador { grid-area: mostrador; position: relative; z-index: 1; margin: 0 calc(var(--gutter) * -1); padding: 36px var(--gutter) 28px; background: var(--bg-2) url('/assets/hero/frames/poster-1440.webp') 50% 60% / cover no-repeat; }
.hero__mostrador::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(252, 251, 248, .55) 0%, rgba(252, 251, 248, .1) 45%, rgba(252, 251, 248, .6) 100%); }
.hero__device { position: relative; display: grid; place-items: end center; min-height: 420px; --hero-phone: 220px; }
.hero__device .phone { --phone-w: var(--hero-phone); transform-origin: 50% 100%; }
.hero__device .float { pointer-events: auto; max-width: 250px; min-width: 240px; }
.hero__device .float--1, .hero__device .float--3 { display: none; }
.hero__device .float--2 { top: auto; bottom: -3%; left: auto; right: calc(50% - var(--hero-phone) * .5); }
.hero__device .float--2 b { white-space: nowrap; }
@media (max-width: 379px) { .hero__device .float--2 { min-width: 0; max-width: 224px; bottom: -3%; font-size: 13px; } }
.facts .fact { width: 100%; }
@media (min-width: 900px) {
  .hero__grid { grid-template-areas: "copy mostrador" "facts mostrador"; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: end; padding: 100px var(--gutter) 44px; }
  .hero__copy { min-height: 0; display: block; padding-bottom: 14px; }
  .hero h1 { margin-bottom: 16px; }
  .hero__acciones { margin-bottom: 22px; }
  .facts { display: flex; flex-wrap: wrap; padding: 0; margin: 0; background: none; align-self: end; }
  .hero__mostrador { margin: 0; padding: 0; background: none; align-self: end; justify-self: end; width: 100%; }
  .hero__mostrador::before { display: none; }
  .hero__device { min-height: 0; place-items: end center; --hero-phone: min(320px, calc((100vh - 150px) * .495)); --hero-phone: min(320px, calc((100svh - 150px) * .495)); }
  .hero__device .phone { --phone-w: var(--hero-phone); }
  .facts .fact { width: auto; }
  .hero__device .float { width: 250px; max-width: 250px; min-width: 0; }
  .hero__device .float--1, .hero__device .float--3 { display: grid; }
  .hero__device .float--1 { top: 2%; bottom: auto; left: auto; right: min(calc(50% + var(--hero-phone) * .5 - 18px), calc(100% - 250px + 64px)); }
  .hero__device .float--2 { top: 44%; bottom: auto; right: auto; left: min(calc(50% + var(--hero-phone) * .5 - 18px), calc(100% - 250px)); }
  .hero__device .float--3 { bottom: 16%; left: auto; right: min(calc(50% + var(--hero-phone) * .5 - 18px), calc(100% - 250px + 64px)); }
  .hero__device .float--2 b { white-space: normal; }
}
@media (min-width: 1200px) { .hero__device { --hero-phone: min(340px, calc((100vh - 150px) * .495)); --hero-phone: min(340px, calc((100svh - 150px) * .495)); } .hero__device .float--1, .hero__device .float--3 { right: min(calc(50% + var(--hero-phone) * .5 - 18px), calc(100% - 250px + 128px)); } }
/* Coreografía del scroll (`--hp` 0 → 1 lo pone js/scene-scrub.js): titular, entradilla y CTA nunca se desenfocan; el
   titular deriva 3 vh; los papeles llegan uno a uno (.14/.20/.26/.32, ×5, opacidad y 18 px); el teléfono sube 92 vh y se
   endereza de .34 a .72 (×2.6) y su sombra de contacto nace con él; los microestados enfocan a .70/.78/.86 (×8). */
html[data-motion="scrub"] .hero h1 { transform: translateY(calc(var(--hp, 0) * -3vh)); }
html[data-motion="scrub"] .facts li { --k: clamp(0, (var(--hp, 0) - var(--d, .16)) * 5, 1); opacity: var(--k); transform: translateY(calc((1 - var(--k)) * 18px)); transition: none; }
html[data-motion="scrub"] .facts li:nth-child(1) { --d: .14; }
html[data-motion="scrub"] .facts li:nth-child(2) { --d: .2; }
html[data-motion="scrub"] .facts li:nth-child(3) { --d: .26; }
html[data-motion="scrub"] .facts li:nth-child(4) { --d: .32; }
/* El arranque de la app viaja con el teléfono y funde a la pantalla real de la bodega al posarse (.72 → .80) */
.hero__device .phone .hero__splash { position: absolute; top: calc(var(--phone-w) * .03); left: calc(var(--phone-w) * .03); width: calc(100% - var(--phone-w) * .06); height: calc(100% - var(--phone-w) * .06); border-radius: var(--phone-r-in); object-fit: cover; z-index: 1; pointer-events: none; }
html[data-motion="scrub"] .hero__splash { opacity: clamp(0, 1 - (var(--hp, 0) - .72) * 12.5, 1); }
html[data-motion="static"] .hero__splash { display: none; }
html[data-motion="scrub"] .hero__device .phone::before { opacity: var(--kp, 1); transform: scale(calc(.55 + var(--kp, 1) * .45)); }
html[data-motion="scrub"] .hero__device .phone { --kp: clamp(0, (var(--hp, 0) - .34) * 2.6, 1); transform: perspective(1400px) rotateY(calc((1 - var(--kp)) * -16deg)) rotateX(calc((1 - var(--kp)) * 6deg)) translateY(calc((1 - var(--kp)) * 92vh)); }
html[data-motion="scrub"] .hero__device .float { --k: 0; opacity: var(--k); filter: blur(calc((1 - var(--k)) * 8px)); transform: translate3d(0, calc(var(--py, 0) * 1px), 0) scale(calc(.96 + var(--k) * .04)); transition: none; }
html[data-motion="scrub"] .hero__device .float--1 { --k: clamp(0, (var(--hp, 0) - .7) * 8, 1); }
html[data-motion="scrub"] .hero__device .float--2 { --k: clamp(0, (var(--hp, 0) - .78) * 8, 1); }
html[data-motion="scrub"] .hero__device .float--3 { --k: clamp(0, (var(--hp, 0) - .86) * 8, 1); }
html[data-motion="static"] .hero__device .phone { transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }

/* ── 4. Secciones ─────────────────────────────────────────────────────────── */
/* La cuadra: tres protagonistas unidos por la calle */
.cuadra { position: relative; display: grid; gap: 22px; }
.cuadra::before { content: ''; position: absolute; left: 12%; right: 12%; top: 48px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 18px); display: none; }
.estacion { position: relative; display: grid; gap: 14px; padding: 8px 0 0; text-decoration: none; color: inherit; }
.estacion__ico { width: 96px; height: 96px; border-radius: var(--r-lg); display: grid; place-items: center; background: var(--surface); color: var(--green-deep); box-shadow: var(--shadow-1); transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.estacion:hover .estacion__ico { transform: translateY(-4px); }
.estacion__ico svg { width: 44px; height: 44px; }
.estacion h3 { font-size: clamp(26px, 3vw, 36px); font-variation-settings: 'opsz' 48; text-wrap: pretty; }
.estacion p { font-size: 15.5px; color: var(--ink-3); max-width: 34ch; }
.estacion__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: var(--green-deep); }
.ico-flecha { width: 16px; height: 16px; flex: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.estacion:hover .ico-flecha { transform: translateX(3px); }
@media (min-width: 900px) { .cuadra { grid-template-columns: repeat(3, 1fr); gap: 40px; } .cuadra::before { display: block; } }

/* Bloque rol: copy + lista + teléfono */
.split { display: grid; gap: 40px; align-items: center; }
.split__media { display: flex; justify-content: center; position: relative; }
.split__media .phone { --phone-w: 290px; }
.split__media .float--a { top: 12%; right: -2%; }
.split__media .float--b { bottom: 12%; left: -2%; }
/* Escena: un still generado (procedencia en su sidecar) detrás del teléfono real; el teléfono cuelga sobre el borde inferior del still y su sombra de contacto cae sobre la foto. Dos capas de paralaje en escritorio (js/role-experience.js). */
.escena { position: relative; align-items: flex-end; min-height: 540px; padding-top: 36px; isolation: isolate; }
/* Sección con escena a sangre: la foto generada es hija directa de la sección y la cubre entera (como el clip del hero)
   bajo un velo lateral; la figura conserva sus teléfonos y flotantes encima. En móvil la foto es una banda fija a todo el
   ancho, con los teléfonos encima, antes de la copia. */
.section--escena { isolation: isolate; overflow: clip; --banda: 520px; }
.section--escena > .escena__fondo { position: absolute; z-index: 0; top: 0; left: 0; width: 100%; height: var(--banda); max-width: none; object-fit: cover; object-position: var(--foco, 50% 50%); border-radius: 0; box-shadow: none; }
.section--escena .escena figcaption { display: inline-block; background: rgba(252, 251, 248, .9); color: var(--ink-2); border-radius: var(--r-md); padding: 8px 12px; margin-top: 20px; }
.section--escena > .wrap { position: relative; z-index: 2; }
@media (max-width: 899px) {
  .section--escena .escena { margin: calc(var(--section) * -1) calc(var(--gutter) * -1) 0; height: var(--banda); min-height: 0; padding: 36px var(--gutter) 0; order: -1; isolation: auto; }
  .section--escena .escena .phone { --phone-w: 230px; }
  .section--escena .escena.duo .phone { --phone-w: min(180px, 40vw); }
  .section--escena .escena.duo > div + div .phone { --phone-w: min(160px, 36vw); }
  .section--escena .escena.duo figcaption { margin: 20px 0 16px; }
}
@media (max-width: 639px) { .section--escena .escena .float { display: none; } }
@media (min-width: 900px) {
  .section--escena { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; }
  .section--escena.section--soft { background: var(--bg); }
  .section--escena > .escena__fondo { height: 100%; }
  .section--escena::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(252, 251, 248, 1) 0%, rgba(252, 251, 248, 0) 13%, rgba(252, 251, 248, 0) 82%, rgba(252, 251, 248, 1) 100%), linear-gradient(90deg, rgba(252, 251, 248, .94) 0%, rgba(252, 251, 248, .88) 40%, rgba(252, 251, 248, .5) 56%, rgba(252, 251, 248, .12) 70%, rgba(252, 251, 248, 0) 82%); }
  .section--escena .escena { min-height: 0; padding-top: 0; }
}
.escena__fondo { position: absolute; top: 0; left: 0; width: 100%; height: 82%; object-fit: cover; object-position: var(--foco, 50% 50%); border-radius: var(--r-lg); z-index: 0; box-shadow: var(--shadow-1); }
.escena .phone, .escena > div:not(.float) { position: relative; z-index: 1; }
.escena .float { z-index: 2; }
.escena .float--a { top: -4%; left: -2%; right: auto; }
.escena.duo { gap: 12px; justify-content: flex-start; padding-left: 16px; }
.escena.duo .phone { --phone-w: min(200px, 40vw); }
.escena.duo > div + div .phone { --phone-w: min(180px, 36vw); }
.escena.duo > div + div { margin-bottom: 28px; }
/* En el dúo la leyenda vive dentro de la figura: el panel termina 40 px por encima de los teléfonos y la leyenda queda debajo, fuera de la foto. */
.escena.duo .escena__fondo { height: calc(100% - 190px); }
.escena.duo figcaption { flex-basis: 100%; margin-top: 56px; position: relative; z-index: 1; }
@media (min-width: 900px) {
  .escena { min-height: 620px; }
  .escena.duo { min-height: 560px; width: calc(100% + 64px); margin-inline: -32px; padding-left: 28px; }
  .escena__fondo, .escena [data-py] { transform: translate3d(0, calc(var(--py, 0) * 1px), 0); will-change: transform; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr .9fr; gap: 56px; }
  .split--rev { grid-template-columns: .9fr 1.1fr; }
  .split--rev .split__media { order: -1; }
  .split__media .phone { --phone-w: 320px; }
}
.rasgos { display: grid; margin: 28px 0 8px; }
.rasgos li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.rasgos__ico { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.rasgos__ico svg { width: 22px; height: 22px; }
.rasgos b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.rasgos span { font-size: 15px; color: var(--ink-3); }
.acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }

/* Explorador de módulos: teléfono a la izquierda, módulos a la derecha */
.explorer { display: grid; gap: 32px; align-items: start; }
.explorer__stage { display: flex; justify-content: center; position: sticky; top: 90px; }
.explorer__stage .phone { --phone-w: 300px; }
.explorer__stage img { position: absolute; inset: calc(var(--phone-w) * .03); max-width: none; width: calc(100% - var(--phone-w) * .06); height: calc(100% - var(--phone-w) * .06); opacity: 0; transition: opacity .35s ease; }
.explorer__stage img[data-on] { opacity: 1; }
.explorer__tabs { display: grid; gap: 4px; }
.explorer__tab { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: center; text-align: left; padding: 12px 14px; border-radius: var(--r); border: 0; background: transparent; cursor: pointer; font: inherit; color: var(--ink-3); transition: background .15s ease, color .15s ease; }
.explorer__tab:hover { background: var(--surface); }
.explorer__tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink); }
.explorer__tab b { display: block; color: var(--ink); font-weight: 600; font-size: 15.5px; }
.explorer__tab span { font-size: 13.5px; line-height: 1.35; }
.explorer__ico { width: 40px; height: 40px; border-radius: var(--r); display: grid; place-items: center; background: var(--bg-2); color: var(--ink-2); }
.explorer__tab[aria-selected="true"] .explorer__ico { background: var(--green-soft); color: var(--green-deep); }
.explorer__ico svg { width: 20px; height: 20px; }
@media (min-width: 900px) { .explorer { grid-template-columns: 360px 1fr; gap: 56px; } }
@media (min-width: 1100px) { .explorer__tabs { grid-template-columns: 1fr 1fr; } }
.callouts { display: grid; gap: 12px; margin-top: 36px; }
.callout { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); text-decoration: none; color: inherit; }
a.callout:hover b { color: var(--green-deep); }
.callout__ico { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--green-soft); color: var(--green-deep); }
.callout__ico svg { width: 22px; height: 22px; }
.callout b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }
.callout span { font-size: 14px; color: var(--ink-3); line-height: 1.4; }
@media (min-width: 720px) { .callouts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .callouts { grid-template-columns: repeat(4, 1fr); } }

.trio { display: grid; gap: 28px; margin-top: 36px; }
.trio figure { display: grid; gap: 14px; justify-items: center; text-align: center; }
.trio .phone { --phone-w: 230px; }
.trio figcaption { font-size: 14.5px; color: var(--ink-3); max-width: 30ch; line-height: 1.45; }
.trio figcaption b { color: var(--ink); display: block; margin-bottom: 2px; }
@media (min-width: 720px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.sub { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.sub h3 { font-size: clamp(26px, 3vw, 36px); font-variation-settings: 'opsz' 48; margin-bottom: 12px; }
.sub .lead { font-size: 17px; }
.duo { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: flex-end; }
.duo .phone { --phone-w: min(230px, 44vw); }
.duo .phone + .phone, .duo > div + div .phone { --phone-w: min(200px, 38vw); }

/* Ciclo del pedido B2B */
.flow { display: grid; margin: 28px 0 8px; }
.flow li { position: relative; display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; }
.flow li::before { content: ''; width: 12px; height: 12px; margin: 6px 0 0 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.flow li::after { content: ''; position: absolute; left: 13px; top: 30px; bottom: -6px; width: 2px; background: var(--line); }
.flow li:last-child::after { display: none; }
.flow b { display: block; color: var(--ink); font-weight: 600; }
.flow span { font-size: 14.5px; color: var(--ink-3); }
.flow__tag { display: inline-block; margin-left: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--amber-ink); background: var(--amber-soft); padding: 2px 8px; border-radius: var(--r-full); vertical-align: middle; }

/* Cámara IA: el fotograma manda */
.vision { display: grid; gap: 28px; align-items: start; }
.vision__frame { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); background: var(--bg-2); }
.vision__frame img { width: 100%; }
.vision__frame figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(15, 23, 42, .8); padding: 5px 11px; border-radius: var(--r-full); }
.detectados { display: grid; gap: 8px; }
.detectados li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); font-size: 15px; }
.detectados li b { color: var(--ink); }
.detectados li svg { width: 28px; height: 28px; padding: 5px; border-radius: var(--r-sm); background: var(--green-soft); color: var(--green-deep); }
.detectados__meta { font-size: 13.5px; color: var(--ink-4); }
.detectados li[data-none] { background: var(--amber-soft); }
.detectados li[data-none] svg { background: rgba(255, 255, 255, .6); color: var(--amber-ink); }
.vision__phone { display: flex; justify-content: center; }
.vision__phone .phone { --phone-w: 220px; --phone-ratio: 360 / 687; }
.dictado { display: grid; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.dictado__frase { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); line-height: 1.3; }
.dictado__frase svg { width: 24px; height: 24px; color: var(--green-ink); margin-top: 2px; }
.dictado__lista { display: grid; gap: 6px; }
.dictado__lista li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: var(--r); background: var(--bg-2); font-size: 14.5px; }
.dictado__lista b { color: var(--ink); font-weight: 600; }
.dictado__ok { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--green-deep); }
.dictado__ok svg { width: 16px; height: 16px; }
@media (min-width: 900px) { .vision { grid-template-columns: 1.25fr .75fr; gap: 40px; } }

/* Métodos de pago y «un pago seguro» */
/* Los métodos, como los nombra la pantalla Cobrar: una fila de fichas, no una rejilla de tarjetas */
.metodos { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 8px; }
.metodos li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: var(--r-full); border: 1px solid var(--line-2); font-size: 14px; color: var(--ink-3); }
.metodos li svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); flex: none; }
.metodos b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.seguro { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); margin-top: 16px; }
.seguro h3 { font-size: 22px; }
.seguro ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.seguro li { display: grid; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.seguro li svg { width: 36px; height: 36px; padding: 8px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); }
.seguro li b { color: var(--ink); font-weight: 600; }
.claim { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 20px 22px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); margin-top: 16px; }
.claim__ico { width: 44px; height: 44px; border-radius: var(--r); display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-ink); }
.claim__ico svg { width: 22px; height: 22px; }
.claim[data-estado="produccion"] .claim__ico, .claim[data-estado="sandbox"] .claim__ico { background: var(--green-soft); color: var(--green-deep); }
.claim b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; }
.claim p { font-size: 14.5px; color: var(--ink-3); line-height: 1.45; }
.claim__estado { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-ink); }
.claim[data-estado="produccion"] .claim__estado, .claim[data-estado="sandbox"] .claim__estado { color: var(--green-deep); }
.parte { display: grid; margin-top: 24px; }
.parte li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.parte li svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 2px; }

/* Mapa de integraciones */
.mapa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
@media (max-width: 479px) { .mapa { grid-template-columns: minmax(0, 1fr); } }
.mapa li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-1); font-size: 14px; color: var(--ink-3); }
.mapa li svg { width: 40px; height: 40px; padding: 9px; border-radius: var(--r); background: var(--bg-2); color: var(--ink-2); }
.mapa b { display: block; color: var(--ink); font-weight: 600; }
.mapa li[data-hub] { grid-column: 1 / -1; background: var(--ink); color: rgba(255, 255, 255, .78); box-shadow: none; }
.mapa li[data-hub] b { color: #fff; }
.mapa li[data-hub] svg { background: var(--green); color: var(--ink); }
@media (min-width: 720px) { .mapa { grid-template-columns: repeat(4, 1fr); } .mapa li[data-hub] { grid-column: span 4; } }

/* Beneficios por audiencia */
/* Beneficios por audiencia: cada lista junto a su pantalla real, sin contenedor, como las estaciones de la cuadra */
.audiencias { display: grid; gap: 36px; margin-top: 8px; }
.audiencia { display: grid; gap: 14px; align-content: start; }
.audiencia .phone { --phone-w: 190px; margin-bottom: 6px; }
.audiencia h3 { font-size: 22px; }
.audiencia ul { display: grid; gap: 9px; }
.audiencia li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: var(--ink-3); }
.audiencia li svg { width: 18px; height: 18px; color: var(--green-ink); margin-top: 3px; }
@media (min-width: 900px) { .audiencias { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.dos { display: grid; gap: 40px; }
@media (min-width: 900px) { .dos { grid-template-columns: 1fr 1fr; gap: 64px; } }
.compromisos { display: grid; }
.compromisos li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--ink-2); }
.compromisos li svg { width: 22px; height: 22px; color: var(--green-ink); margin-top: 2px; }
.compromisos a { color: var(--green-deep); }

/* ── 5. Historias ─────────────────────────────────────────────────────────── */
.story { position: relative; }
.story__intro { padding-bottom: 8px; position: relative; z-index: 1; }
.story__track { position: relative; z-index: 1; }
/* La escena cinemática detrás de la historia: un clip recorrido con el mismo scroll, bajo un lavado claro */
.story__scene { position: absolute; inset: 0; z-index: 0; overflow: clip; pointer-events: none; }
.story__scene-media { position: sticky; top: 0; height: 100vh; height: 100svh; width: 100%; }
/* En scrub la escena llena la pantalla a sangre, como el hero: el medio pegajoso ocupa el viewport y sus capas (lienzo,
   póster, velo) lo cubren entero; un velo lateral deja leer la copia a la izquierda y la foto a su color a la derecha */
html[data-motion="scrub"] .story__scene-media > * { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; }
html[data-motion="scrub"] .story__scene-media canvas, html[data-motion="scrub"] .story__scene-media video { background: var(--bg-2); }
html[data-motion="scrub"] .story__scene-wash { background: linear-gradient(180deg, rgba(252, 251, 248, 1) 0%, rgba(252, 251, 248, 0) 13%, rgba(252, 251, 248, 0) 82%, rgba(252, 251, 248, 1) 100%), linear-gradient(90deg, rgba(252, 251, 248, .92) 0%, rgba(252, 251, 248, .84) 38%, rgba(252, 251, 248, .42) 55%, rgba(252, 251, 248, .08) 68%, rgba(252, 251, 248, 0) 80%); }
html[data-motion="scrub"] [data-scene="bucle"] .story__scene-wash { background: linear-gradient(180deg, rgba(252, 251, 248, 1) 0%, rgba(252, 251, 248, 0) 13%, rgba(252, 251, 248, 0) 82%, rgba(252, 251, 248, 1) 100%), linear-gradient(90deg, rgba(252, 251, 248, .92) 0%, rgba(252, 251, 248, .84) 38%, rgba(252, 251, 248, .6) 55%, rgba(252, 251, 248, .5) 100%); }
.story__scene-media video, .story__scene-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story__scene-poster { position: absolute; inset: 0; background-size: cover; background-position: center; transition: opacity .6s ease; }
.story__scene-poster[data-detras] { opacity: 0; }
.story__scene-wash { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(252, 251, 248, 0) 60%, rgba(252, 251, 248, .3) 100%); }
.story__scene[data-scene-ready="poster"] .story__scene-wash, .story__scene:not([data-scene-ready]) .story__scene-wash { display: none; }
/* En `static` (móvil, reduced-motion) no hay secuencia: cada historia abre con su fotograma central como still a lo ancho, bajo el mismo lavado, que se funde en el fondo antes del segundo fotograma apilado. */
html[data-motion="static"] .story__scene-poster { background-size: 100% auto; background-position: 50% 0; }
html[data-motion="static"] [data-scene="venta"] .story__scene-poster { background-image: url('/assets/scenes/venta/poster-720.webp'); }
html[data-motion="static"] [data-scene="bucle"] .story__scene-poster { background-image: url('/assets/scenes/bucle/poster-720.webp'); }
html[data-motion="static"] [data-scene="whatsapp"] .story__scene-poster { background-image: url('/assets/scenes/whatsapp/poster-720.webp'); }
html[data-motion="static"] .story__scene[data-scene-ready="poster"] .story__scene-wash { display: block; background: linear-gradient(180deg, rgba(252, 251, 248, .62) 0, rgba(252, 251, 248, .8) 34vw, var(--bg) 58vw); }
.story__stage { position: relative; }
/* El diagrama del bucle lleva un halo cálido detrás para no competir con la escena (la cesta de fruta) */
/* La copia de la historia de WhatsApp comparte columna con el marco: va sobre una placa clara */
html[data-motion="scrub"] .story__stage--chat .frame__copy { background: rgba(252, 251, 248, .94); border-radius: var(--r-lg); padding: 18px 20px 14px; box-shadow: var(--shadow-1); }
html[data-motion="scrub"] .story__track { height: calc(100vh * (var(--steps) + 1)); height: calc(100svh * (var(--steps) + 1)); }
html[data-motion="scrub"] .story__stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; grid-template-areas: "index index" "copy media" "shared media"; column-gap: 48px; align-items: center; padding: 84px var(--gutter) 40px; }
html[data-motion="scrub"] .story__stage--chat { grid-template-areas: "index index" "shared copy" "shared media"; grid-template-rows: auto auto 1fr; row-gap: 18px; }
html[data-motion="scrub"] .story__stage--chat .frame__copy { align-self: end; padding-bottom: 8px; }
html[data-motion="scrub"] .story__stage--chat .frame__media { align-self: start; }
html[data-motion="scrub"] .story__stage--chat .chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 14px; max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); overflow: hidden; }
@media (max-height: 799px) { html[data-motion="scrub"] .story__stage--chat .chat { max-height: none; gap: 5px; padding: 10px; } html[data-motion="scrub"] .story__stage--chat .burbuja { font-size: 12px; padding: 5px 9px; } html[data-motion="scrub"] .story__stage--chat .burbuja ul { margin: 2px 0; } html[data-motion="scrub"] .story__stage--chat .chat__head { font-size: 12.5px; } }
/* Por debajo de 700 px de alto no caben las siete burbujas: el chat recupera su alto máximo y recorta las más antiguas por
   arriba, pero la cabecera del chat se pinta aparte, pegada al borde superior del panel, y nunca se pierde */
@media (max-height: 699px) { html[data-motion="scrub"] .story__stage--chat .chat { max-height: calc(100vh - 190px); max-height: calc(100svh - 190px); position: relative; padding-top: 58px; } html[data-motion="scrub"] .story__stage--chat .chat__head { position: absolute; top: 0; left: 0; right: 0; margin: 0; padding: 10px 10px 8px; background: var(--chat); border-radius: var(--r-lg) var(--r-lg) 0 0; } }
html[data-motion="scrub"] .story__stage--chat .burbuja { font-size: 13.5px; padding: 8px 12px; }
html[data-motion="scrub"] .story__stage--chat .burbuja ul { margin: 4px 0; }
html[data-motion="scrub"] .story__stage--chat .chat__head { flex: none; }
html[data-motion="scrub"] .story__index { grid-area: index; align-self: start; }
html[data-motion="scrub"] .story__intro .head { max-width: 640px; }
html[data-motion="scrub"] .frame__media .phone { --phone-w: min(300px, calc((100vh - 190px) * .495)); --phone-w: min(300px, calc((100svh - 190px) * .495)); }
html[data-motion="scrub"] .ciclo { width: min(100%, calc(100vh - 210px)); width: min(100%, calc(100svh - 210px)); }
html[data-motion="scrub"] .story__stage--chat .frame__media .phone { --phone-w: min(300px, calc((100vh - 348px) * .495)); --phone-w: min(300px, calc((100svh - 348px) * .495)); }
@media (max-height: 799px) { html[data-motion="scrub"] .story__stage { padding: 76px var(--gutter) 28px; } }
html[data-motion="scrub"] .story__shared { grid-area: shared; align-self: center; }
html[data-motion="scrub"] .story__stage--loop { grid-template-areas: "index index" "copy media" "copy media"; }
html[data-motion="scrub"] .story__stage--loop .story__shared { grid-area: media; justify-self: center; width: 100%; }
html[data-motion="scrub"] .story__stage--chat .story__shared { align-self: center; padding-top: 8px; }
html[data-motion="scrub"] .frame { display: contents; }
html[data-motion="scrub"] .frame__copy { grid-area: copy; align-self: center; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .35s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .35s; pointer-events: none; }
html[data-motion="scrub"] .frame__media { grid-area: media; align-self: center; justify-self: center; position: relative; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; pointer-events: none; }
html[data-motion="scrub"] .frame[data-state="active"] .frame__copy { opacity: 1; visibility: visible; transform: none; transition: opacity .35s cubic-bezier(.2, .8, .2, 1), transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s; pointer-events: auto; }
html[data-motion="scrub"] .frame[data-state="active"] .frame__media { opacity: 1; visibility: visible; transition: opacity .4s ease, visibility 0s; pointer-events: auto; }
html[data-motion="scrub"] .story__index { display: flex; }
.story__index { display: none; gap: 14px; flex-wrap: wrap; font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: var(--ink-4); }
/* En `static` el índice se pega bajo la cabecera y sigue el fotograma que está en pantalla */
html[data-motion="static"] .story__index { display: flex; flex-wrap: nowrap; position: sticky; top: 66px; z-index: 5; gap: 14px; height: 44px; align-items: center; padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1) 8px; overflow-x: auto; scrollbar-width: none; white-space: nowrap; background: var(--bg); }
html[data-motion="static"] .story__index::-webkit-scrollbar { display: none; }
html[data-motion="static"] .story__index li { flex: none; }
html[data-motion="static"] .section--green .story__index { background: var(--bg-green); }
html[data-motion="static"] .story__index li::before { width: 22px; }
.story__index li { display: flex; align-items: center; gap: 8px; transition: color .2s ease; }
.story__index li::before { content: ''; width: 34px; height: 3px; border-radius: var(--r-full); background: var(--line-2); transform: scaleX(.6); transform-origin: left center; transition: background .2s ease, transform .2s cubic-bezier(.2, .8, .2, 1); }
.story__index li[data-state="past"]::before { background: var(--green); }
.story__index li[data-state="active"] { color: var(--ink); }
.story__index li[data-state="active"]::before { background: var(--green); transform: scaleX(1); }
.frame__copy h3 { font-size: clamp(30px, 3.6vw, 46px); font-variation-settings: 'opsz' 60; margin-bottom: 12px; }
.frame__copy h4 { font-size: 22px; font-variation-settings: 'opsz' 24; margin-bottom: 8px; }
.frame__copy p { font-size: 17px; color: var(--ink-3); max-width: 44ch; }
.frame__copy .nota { margin-top: 12px; }
.frame__media { position: relative; }
.frame__media .phone { --phone-w: 300px; margin: 0 auto; }
.frame__media .float--a { top: 14%; right: -4%; }
.frame__media .float--b { bottom: 16%; left: -6%; }
html[data-motion="static"] .story__stage { display: grid; gap: 40px; padding: 8px var(--gutter) 0; }
html[data-motion="static"] .frame { display: grid; gap: 22px; align-items: center; padding-top: 28px; border-top: 1px solid var(--line); }
html[data-motion="static"] .frame__media { justify-self: center; position: relative; width: 100%; max-width: 360px; display: flex; justify-content: center; }
html[data-motion="static"] .frame__media .phone { --phone-w: 240px; }
html[data-motion="static"] .frame__media .float { position: absolute; max-width: min(250px, calc(100% - 8px)); }
html[data-motion="static"] .frame__media .float--a { right: 0; }
html[data-motion="static"] .frame__media .float--b { left: 0; }
html[data-motion="static"] .story__shared { order: -1; }
html[data-motion="static"] .story__stage--chat .story__shared { order: 0; }
@media (min-width: 640px) { html[data-motion="static"] .frame { grid-template-columns: 1fr 300px; } html[data-motion="static"] .frame:nth-child(even) .frame__media { order: -1; } }

/* El bucle: tres teléfonos reales en triángulo, caminos que fluyen cuando están activos, una caja que viaja por el camino
   del paso y un aviso por paso; todo dentro de un escenario de 640 × 560 que escala con su columna (unidades de contenedor) */
.ciclo { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.ciclo__lineas { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ciclo__lineas path { fill: none; stroke: var(--line-2); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 4 8; transition: stroke .3s ease, opacity .3s ease; }
.ciclo__lineas path[data-state="past"] { stroke: var(--green); stroke-dasharray: none; opacity: .55; }
.ciclo__lineas path[data-state="active"] { stroke: var(--green); stroke-dasharray: 12 10; animation: ciclo-fluir 1.1s linear infinite; }
.ciclo__lineas .ciclo__retorno, .ciclo__lineas .ciclo__retorno[data-state="active"], .ciclo__lineas .ciclo__retorno[data-state="past"] { stroke: var(--amber); }
@keyframes ciclo-fluir { to { stroke-dashoffset: -22; } }
.ciclo__token { filter: drop-shadow(0 6px 10px rgba(15, 23, 42, .28)); }
.ciclo__token rect { fill: var(--amber); stroke: #fff; stroke-width: 3; }
.ciclo__token path { fill: none; stroke: #fff; stroke-width: 2; }
.ciclo__nodo { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); margin: 0; display: grid; justify-items: center; gap: 8px; transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .45s ease, filter .45s ease; }
.ciclo__nodo .phone { --phone-w: 27cqw; }
.ciclo__nodo figcaption { font-size: 13.5px; font-weight: 600; color: var(--ink); text-align: center; line-height: 1.25; }
.ciclo__nodo figcaption span { display: block; font-size: 11.5px; font-weight: 500; color: var(--ink-3); }
.ciclo__nodo .phone { transition: opacity .45s ease, filter .45s ease; }
.ciclo__nodo[data-state="active"] { transform: translate(-50%, -53%) scale(1.1); z-index: 2; }
.ciclo__nodo[data-state="future"] .phone { opacity: .6; filter: saturate(.6) blur(.6px); }
.ciclo__badge { position: absolute; left: 94%; top: 44%; white-space: nowrap; transform: translate(-50%, 0) scale(.9); padding: 5px 9px; border-radius: var(--r-full); background: var(--amber-soft); color: var(--amber-ink); font: 600 11.5px/1 var(--font-text); letter-spacing: .04em; text-transform: uppercase; box-shadow: var(--shadow-1); opacity: 0; transition: opacity .35s ease, transform .35s ease; z-index: 3; }
.ciclo__badge[data-on] { opacity: 1; transform: translate(-50%, 0) scale(1); }
.ciclo__aviso { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%) translateY(8px); padding: 9px 13px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-2); font-size: 13px; line-height: 1.3; color: var(--ink-3); white-space: nowrap; opacity: 0; filter: blur(6px); transition: opacity .45s cubic-bezier(.2, .8, .2, 1), transform .45s cubic-bezier(.2, .8, .2, 1), filter .45s cubic-bezier(.2, .8, .2, 1); z-index: 3; pointer-events: none; }
.ciclo__aviso b { display: block; color: var(--ink); font-weight: 600; font-size: 13.5px; }
.ciclo__aviso[data-on] { opacity: 1; filter: none; transform: translate(-50%, -50%); }
html[data-motion="static"] .ciclo__lineas path { stroke: var(--green); stroke-dasharray: none; opacity: .7; animation: none; }
html[data-motion="static"] .ciclo__lineas .ciclo__retorno { stroke: var(--amber); }
html[data-motion="static"] .ciclo__token, html[data-motion="static"] .ciclo__aviso, html[data-motion="static"] .ciclo__badge { display: none; }
html[data-motion="static"] .ciclo__nodo { opacity: 1; filter: none; }
@media (prefers-reduced-motion: reduce) { .ciclo__lineas path[data-state="active"] { animation: none; } }
/* Pantallas bajas: el proveedor baja y su elevación activa se acorta para quedar dentro del marco */
@media (min-width: 900px) and (max-height: 820px) { .ciclo__nodo[data-node="supplier"] { --y: 29% !important; } .ciclo__nodo[data-node="supplier"][data-state="active"] { transform: translate(-50%, -51%) scale(1.06); } }

.chat { display: grid; gap: 10px; padding: 18px; border-radius: var(--r-lg); background: var(--chat); max-width: 460px; }
.chat__head { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-3); padding-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.chat__head b { color: var(--ink); }
.chat__head svg { width: 26px; height: 26px; color: var(--green-ink); }
.burbuja { max-width: 88%; padding: 10px 14px; border-radius: var(--r-lg); font-size: 14.5px; line-height: 1.4; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); transition: opacity .35s ease, transform .35s ease; }
.burbuja--cliente { align-self: flex-end; justify-self: end; background: var(--green-soft); color: var(--ink); border-bottom-right-radius: 4px; }
.burbuja--bot { align-self: flex-start; background: var(--surface); color: var(--ink-2); border-bottom-left-radius: 4px; }
.burbuja b { color: var(--ink); }
.burbuja__quien { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 2px; }
.burbuja ul { display: grid; gap: 2px; margin: 6px 0; font-size: 14px; }
.burbuja ul li { display: flex; justify-content: space-between; gap: 12px; }
html[data-motion="scrub"] .burbuja[data-state="future"] { opacity: 0; visibility: hidden; transform: translateY(10px); position: absolute; pointer-events: none; }
.pedido { display: grid; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); width: min(100%, 340px); margin: 0 auto; }
.pedido__cab { display: flex; justify-content: space-between; align-items: center; font-size: 13.5px; color: var(--ink-4); }
.pedido__cab b { color: var(--ink); font-size: 15px; }
.pedido__estado { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: var(--r-full); background: var(--amber-soft); color: var(--amber-ink); }
.pedido__estado--ok { background: var(--green-soft); color: var(--green-deep); }
.pedido ul { display: grid; gap: 6px; font-size: 14.5px; }
.pedido ul li { display: flex; justify-content: space-between; gap: 12px; }
.pedido__total { display: flex; justify-content: space-between; padding-top: 10px; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.pedido__nota { font-size: 13.5px; color: var(--ink-4); }
.aviso { position: absolute; left: 50%; top: 10%; transform: translateX(-50%); width: min(92%, 300px); display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: rgba(255, 255, 255, .97); box-shadow: var(--shadow-2); font-size: 13.5px; color: var(--ink-3); z-index: 3; }
.aviso b { display: block; color: var(--ink); font-size: 13.5px; }
.aviso svg { width: 30px; height: 30px; padding: 6px; border-radius: var(--r); background: var(--green-soft); color: var(--green-deep); }

/* ── 6. Cierre, formulario, preguntas, pie, barra fija ────────────────────── */
.cierre { position: relative; overflow: clip; }
.cierre::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 197, 94, .16) 0%, rgba(34, 197, 94, .04) 34%, rgba(34, 197, 94, 0) 55%), linear-gradient(180deg, var(--bg-green) 0%, var(--bg) 100%); }
@media (min-width: 900px) { .cierre.section--escena::before { z-index: 1; background: linear-gradient(180deg, rgba(252, 251, 248, 1) 0%, rgba(252, 251, 248, 0) 13%, rgba(252, 251, 248, 0) 82%, rgba(252, 251, 248, 1) 100%), linear-gradient(90deg, rgba(252, 251, 248, .94) 0%, rgba(252, 251, 248, .88) 40%, rgba(252, 251, 248, .5) 56%, rgba(252, 251, 248, .12) 70%, rgba(252, 251, 248, 0) 82%); } }
.cierre__grid { display: grid; gap: 40px; align-items: center; }
.cierre__phone { display: flex; justify-content: center; }
.cierre__phone .phone { --phone-w: 280px; }
.cierre h2 { margin-bottom: 16px; }
.cierre__cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 28px 0 16px; }
.qr { display: inline-grid; gap: 6px; justify-items: center; font-size: 13.5px; color: var(--ink-4); }
.qr[hidden] { display: none; }
@media (min-width: 900px) { .cierre__grid { grid-template-columns: 1.15fr .85fr; } }
.acceso { display: grid; gap: 16px; margin-top: 28px; padding: 26px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.acceso__rejilla { display: grid; gap: 14px; }
@media (min-width: 640px) { .acceso__rejilla { grid-template-columns: 1fr 1fr; } .campo--ancho { grid-column: 1 / -1; } }
.campo { display: grid; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.campo small { font-weight: 400; color: var(--ink-4); }
.campo input, .campo textarea { font: inherit; font-size: 16px; padding: 11px 13px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); caret-color: var(--green-ink); }
.campo input::placeholder, .campo textarea::placeholder { color: var(--ink-4); }
.campo input:focus, .campo textarea:focus { outline: none; border-color: var(--green-ink); box-shadow: 0 0 0 3px var(--green-mist); }
.campo [aria-invalid="true"] { border-color: var(--red); }
.campo--trampa { position: absolute; left: -9999px; }
.consentimiento { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14px; color: var(--ink-3); align-items: start; }
.consentimiento input { width: 18px; height: 18px; margin: 2px 0 0; }
.consentimiento a { color: var(--green-deep); }
.acceso__acciones { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.acceso__estado { font-size: 14px; color: var(--ink-3); }
.acceso__estado[data-tono="ok"] { color: var(--green-deep); font-weight: 600; }
.acceso__estado[data-tono="mal"] { color: var(--red-ink); }
.acceso--enviado .acceso__rejilla, .acceso--enviado .consentimiento, .acceso--enviado button { display: none; }
.acceso__sin { margin-top: 20px; }
.pliegos { display: grid; border-top: 1px solid var(--line); }
.pliegos details { border-bottom: 1px solid var(--line); }
.pliegos summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--ink); }
.pliegos summary::-webkit-details-marker { display: none; }
.pliegos summary::after { content: ''; flex: none; width: 28px; height: 28px; background: linear-gradient(var(--green-ink), var(--green-ink)) center / 14px 2px no-repeat, linear-gradient(var(--green-ink), var(--green-ink)) center / 2px 14px no-repeat; transition: transform .2s ease; }
.pliegos details[open] summary::after { transform: rotate(45deg); }
.pliegos p { padding: 0 44px 18px 0; font-size: 15.5px; color: var(--ink-3); }
.pie { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 56px 0 28px; }
.pie ::selection { background: var(--green); color: var(--ink); }
.pie__grid { display: grid; gap: 32px; }
.pie .marca { color: #fff; }
.pie__eslogan { margin-top: 12px; font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 18px; }
.pie__nota { font-size: 13.5px; margin-top: 10px; max-width: 30ch; }
.pie__grupo { display: grid; gap: 8px; align-content: start; }
.pie__grupo h2 { font-family: var(--font-text); font-size: 13.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 6px; }
.pie__grupo a { text-decoration: none; font-size: 14.5px; color: rgba(255, 255, 255, .82); }
.pie__grupo a:hover { color: #fff; text-decoration: underline; }
.pie__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
@media (min-width: 720px) { .pie__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.fija { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(252, 251, 248, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s ease; display: flex; gap: 10px; }
.fija[data-visible] { transform: none; }
.fija .btn { flex: 1; }
.fija[hidden] { display: none; }
@media (min-width: 1000px) { .fija { display: none !important; } }

/* ── 7. Páginas secundarias (legales, 404, auth) ─────────────────────────── */
.envoltura { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.cabecera { position: sticky; top: 0; z-index: 50; background: rgba(252, 251, 248, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cabecera__fila { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.cabecera__nav { display: flex; gap: 18px; }
.cabecera__nav a { font-size: 14px; color: var(--ink-3); text-decoration: none; }
.documento { padding: 48px 0 80px; }
.documento h1 { font-size: clamp(34px, 4.9vw, 62px); margin-bottom: 8px; }
.documento h2 { font-size: 22px; margin: 40px 0 12px; }
.documento h3 { font-size: 22px; margin: 24px 0 8px; }
.documento p, .documento li { margin-bottom: 12px; color: var(--ink-2); }
.documento ul, .documento ol { padding-left: 22px; list-style: disc; }
.documento ol { list-style: decimal; }
.documento a { color: var(--green-deep); }
.documento__fecha { color: var(--ink-4); font-size: 14px; margin-bottom: 28px; }
.tabla-envoltura { overflow-x: auto; margin: 16px 0; }
.documento table { border-collapse: collapse; width: 100%; font-size: 14.5px; }
.documento th, .documento td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.documento th { color: var(--ink-3); font-weight: 600; }
.aviso-legal { padding: 14px 18px; border-radius: var(--r); background: var(--amber-soft); color: var(--amber-ink); font-size: 14.5px; margin-bottom: 24px; }
.pie--simple { padding: 28px 0; }
.centro { text-align: center; padding: 96px 0; }
.centro h1 { margin-bottom: 12px; }
.centro p { color: var(--ink-3); margin-bottom: 24px; }
.boton { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--r-full); border: 1.5px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.boton--primario { background: var(--green); border-color: var(--green); }
.caja { padding: 28px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); margin: 24px 0; }
.tenue { color: var(--ink-4); font-size: 14px; }

/* ── 8. Movimiento ────────────────────────────────────────────────────────── */
/* Entradas por scroll: lo que entra en pantalla se asienta una vez (js/reveal.js marca [data-reveal] y [data-in]) */
html[data-reveal-listo] [data-reveal] { opacity: 0; transform: scale(.98); filter: blur(6px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1), filter .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--retraso, 0ms); will-change: opacity, transform, filter; }
html[data-reveal-listo] [data-reveal][data-in] { opacity: 1; transform: none; filter: none; transition-delay: var(--retraso, 0ms); }

/* Una sola entrada autorizada: el hero, al cargar, en cascada corta. */
html[data-js] .hero__copy > * { animation: entrada .7s cubic-bezier(.2, .8, .2, 1) both; }
html[data-js] .hero__copy > :nth-child(2) { animation-delay: .06s; }
html[data-js] .hero__copy > :nth-child(3) { animation-delay: .12s; }
html[data-js] .hero__copy > :nth-child(4) { animation-delay: .18s; }
html[data-js] .hero__copy > :nth-child(n+5) { animation-delay: .24s; }
@keyframes entrada { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html[data-js] .hero__copy > * { animation: none; }
  .btn, .estacion__ico, .float, .burbuja, .frame__copy, .frame__media, .explorer__stage img { transition: none !important; }
  .hero__device .float { transform: none; }
}
@media print { .top, .fija, .menu-btn { display: none; } }
