/* ── Tokens de marca · Snipers VIP ─────────────────────────────────────── */
:root {
  --fondo: #00082D;
  --fondo-2: #001554;
  --texto: #FFFFFF;
  --texto-suave: #B9C3DA;
  --hueso: #E8E7E5;
  --celeste: #8DCCEB;
  --acento: #DBA926;
  --acento-claro: #FFE976;
  --acento-oscuro: #BA6B00;
  --degradado: linear-gradient(135deg, #FFE976 0%, #DBA926 48%, #BA6B00 100%);
  --sube: #4FD1A5;
  --baja: #FF6B7A;
  --linea: rgb(141 204 235 / 0.14);
  --panel: rgb(0 21 84 / 0.42);
  --vidrio: rgb(0 12 60 / 0.55);

  --fuente: "Red Hat Display", system-ui, sans-serif;
  --mono: "Red Hat Mono", ui-monospace, monospace;

  --radio: 22px;
  --margen: clamp(18px, 4vw, 56px);
  --ancho: 1220px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  background: var(--fondo);
  color: var(--texto);
  font: 400 clamp(16px, 1.05vw, 18px)/1.6 var(--fuente);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
/* Grano sutil */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grano 1s steps(4) infinite;
}
@keyframes grano { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: clamp(30px, 4.6vw, 64px); font-weight: 600; }
h2 { font-size: clamp(30px, 3.8vw, 54px); font-weight: 600; }
h3 { font-size: clamp(19px, 1.45vw, 23px); font-weight: 600; }
p { margin: 0 0 1em; color: var(--texto-suave); text-wrap: pretty; }
.oro {
  background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contenedor { width: min(var(--ancho), 100% - 2 * var(--margen)); margin-inline: auto; }

/* ── Botón ─────────────────────────────────────────────────────────────── */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 1.05em 1.9em; border-radius: 999px;
  background: var(--degradado); color: #1a1000;
  font: 700 clamp(14px, 1vw, 16px)/1 var(--fuente); letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  box-shadow: 0 10px 40px -10px rgb(219 169 38 / .55), inset 0 1px 0 rgb(255 255 255 / .45);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s;
}
.boton::after { content: "→"; font-size: 1.15em; transition: transform .35s var(--ease); }
.boton:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgb(219 169 38 / .75), inset 0 1px 0 rgb(255 255 255 / .5); filter: brightness(1.05); }
.boton:hover::after { transform: translateX(4px); }
.boton:focus-visible { outline: 2px solid var(--acento-claro); outline-offset: 4px; }
.boton--chico { padding: .8em 1.3em; font-size: 13px; }
.boton--chico::after { display: none; }
.micro { margin: .9em 0 0; font-size: 13px; color: var(--texto-suave); letter-spacing: .01em; }

/* ── Topo ──────────────────────────────────────────────────────────────── */
.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 16px var(--margen);
  transition: background .4s, backdrop-filter .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.topo.rolo { background: rgb(0 8 45 / .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 11px; border-color: var(--linea); }
.marca { margin-right: auto; display: block; }
.marca-logo { height: 26px; width: auto; }
.menu { display: flex; gap: 26px; font-size: 14px; font-weight: 500; }
.menu a { text-decoration: none; color: var(--texto-suave); transition: color .25s; }
.menu a:hover { color: var(--texto); }
@media (max-width: 860px) { .menu { display: none; } .marca-logo { height: 20px; } }

/* ── Cinta ─────────────────────────────────────────────────────────────── */
.cinta {
  position: relative; z-index: 3; overflow: hidden;
  border-block: 1px solid var(--linea); background: rgb(0 21 84 / .35);
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.cinta-pista { display: flex; width: max-content; animation: cinta 32s linear infinite; }
.cinta-pista span {
  display: flex; align-items: center; gap: 46px; padding-right: 46px; white-space: nowrap;
  font-size: clamp(15px, 1.4vw, 21px); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--hueso);
}
.cinta-pista span::after { content: ""; width: 8px; height: 8px; background: var(--acento); transform: rotate(45deg); }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Revelado */
.revelar { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform 1s var(--ease); }
.revelar.visto { opacity: 1; transform: none; }

/* Dispositivos dibujados en CSS */
.disp { position: relative; z-index: 1; margin-top: auto; outline: none; }
.pantalla {
  position: relative; overflow: hidden; margin: 0;
  background: linear-gradient(180deg, #020c38, #00082D);
  border: 1px solid rgb(141 204 235 / .2);
  font: 500 12px/1.4 var(--mono); color: var(--hueso);
}
.disp--laptop { padding-bottom: 14px; }
.disp--laptop .pantalla { border-radius: 12px 12px 4px 4px; border: 8px solid #0d1a4d; aspect-ratio: 16 / 9.4; }
.disp--laptop::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 14px;
  background: linear-gradient(#1b2a66, #0a1440); border-radius: 0 0 14px 14px;
}
.disp--tel { width: min(230px, 70%); margin-inline: auto; }
.disp--tel .pantalla { border-radius: 30px; border: 9px solid #0d1a4d; min-height: 380px; padding: 26px 16px 18px; }
.disp--tel .pantalla::before { content: ""; position: absolute; top: 8px; left: 50%; width: 60px; height: 6px; border-radius: 6px; background: #0d1a4d; transform: translateX(-50%); }
.disp--tablet .pantalla { border-radius: 20px; border: 10px solid #0d1a4d; padding: 16px; }
.disp--panel .pantalla { border-radius: 16px; padding: 18px; }

/* 1 · Escáner */
.mock-escaner .pantalla { display: grid; grid-template-columns: 38% 1fr; }
.esc-lista { border-right: 1px solid var(--linea); padding: 10px 0; font-size: 11px; }
.esc-cab, .esc-fila { display: grid; grid-template-columns: 1.3fr 1.5fr .6fr; gap: 4px; padding: 7px 10px; }
.esc-cab { color: var(--texto-suave); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.esc-fila { border-left: 2px solid transparent; transition: background .3s, border-color .3s; }
.esc-fila.activo { background: rgb(219 169 38 / .1); border-color: var(--acento); color: var(--acento-claro); }
.esc-grafica { width: 100%; height: 100%; }
.velas line { stroke-width: 1; }
.velas .s line, .velas .s rect { stroke: var(--sube); fill: var(--sube); }
.velas .b line, .velas .b rect { stroke: var(--baja); fill: var(--baja); }
.velas g { opacity: .55; }
.patron { fill: none; stroke: var(--acento); stroke-width: 2.2; stroke-linejoin: round; stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 6px rgb(219 169 38 / .6)); }
.patron-area { fill: rgb(219 169 38 / .1); opacity: 0; transition: opacity .6s .9s; }
.patron-pts circle { fill: var(--acento-claro); opacity: 0; transition: opacity .3s; }
.patron-pts text { fill: var(--hueso); font: 600 12px var(--fuente); opacity: 0; transition: opacity .3s; }
.mock-escaner.dibuja .patron { animation: trazo 1.6s var(--ease) forwards; }
.mock-escaner.dibuja .patron-area, .mock-escaner.dibuja .patron-pts circle, .mock-escaner.dibuja .patron-pts text { opacity: 1; transition-delay: 1.2s; }
.mock-escaner.dibuja .pt-d { animation: pulso 1.6s 1.6s infinite; transform-origin: 360px 170px; }
@keyframes trazo { to { stroke-dashoffset: 0; } }
@keyframes pulso { 50% { r: 8; opacity: .6; } }
.patron--fijo { stroke-dashoffset: 0; }

/* 2 · Calculadora */
.mock-calc .pantalla { display: flex; flex-direction: column; gap: 10px; }
.calc-tit { font: 600 13px var(--fuente); color: var(--celeste); margin-bottom: 4px; }
.calc-campo { padding: 9px 12px; border-radius: 10px; background: rgb(141 204 235 / .07); border: 1px solid var(--linea); }
.calc-campo small, .calc-res small { display: block; font-size: 10px; color: var(--texto-suave); font-family: var(--fuente); }
.calc-campo b, .calc-res b { font-size: 15px; font-weight: 500; min-height: 1.4em; display: block; }
.calc-res { margin-top: auto; display: grid; gap: 8px; padding: 12px; border-radius: 12px; background: rgb(219 169 38 / .1); border: 1px solid rgb(219 169 38 / .35); }
.calc-res b.oro { font-size: 22px; font-weight: 700; font-family: var(--fuente); }
[data-escribe].cursor::after { content: "▍"; color: var(--acento); animation: parpadeo .8s steps(2) infinite; -webkit-text-fill-color: var(--acento); }
@keyframes parpadeo { 50% { opacity: 0; } }

/* 3 · Calendario */
.cal-cab { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid var(--linea); font-family: var(--fuente); font-weight: 600; }
.cal-leyenda { font-size: 10px; color: var(--texto-suave); display: flex; align-items: center; gap: 5px; font-weight: 500; }
.cal-fila { display: grid; grid-template-columns: 44px 38px 1fr 14px; align-items: center; gap: 8px; padding: 8px 8px; border-radius: 8px; font-size: 11.5px; transition: background .3s, box-shadow .3s; }
.cal-fila time { color: var(--texto-suave); }
.cal-fila b { color: var(--celeste); font-weight: 500; }
.imp { display: inline-block; width: 9px; height: 9px; border-radius: 50%; }
.imp--1 { background: #5d6b94; } .imp--2 { background: #f0a43a; } .imp--3 { background: var(--baja); }
.mock-cal:hover .cal-fila.alto, .mock-cal:focus .cal-fila.alto, .mock-cal.brilla .cal-fila.alto {
  background: rgb(255 107 122 / .12); box-shadow: inset 2px 0 0 var(--baja);
}
.mock-cal .cal-fila.alto.luz { background: rgb(255 107 122 / .18); box-shadow: inset 2px 0 0 var(--baja); }

/* 4 · Journal */
.jr-cab, .jr-fila { display: grid; grid-template-columns: 1fr 1fr 1.5fr .8fr; gap: 6px; padding: 8px 6px; font-size: 11.5px; }
.jr-cab { color: var(--texto-suave); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; border-bottom: 1px solid var(--linea); }
.jr-fila { border-bottom: 1px solid rgb(141 204 235 / .06); opacity: 0; transform: translateX(-12px); transition: opacity .5s calc(var(--i) * .18s), transform .5s calc(var(--i) * .18s) var(--ease); }
.jr-fila b { text-align: right; font-weight: 600; }
.mas { color: var(--sube); } .menos { color: var(--baja); }
.jr-fila .err { color: #ffb3bb; }
.jr-alerta { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 10px; background: rgb(219 169 38 / .12); border: 1px solid rgb(219 169 38 / .4); font-family: var(--fuente); opacity: 0; transform: scale(.96); transition: opacity .5s 1.1s, transform .5s 1.1s var(--ease); }
.jr-alerta span { font-size: 11px; color: var(--texto-suave); }
.jr-alerta b { color: var(--acento-claro); font-size: 14px; }
.mock-journal.en .jr-fila { opacity: 1; transform: none; }
.mock-journal.en .jr-alerta { opacity: 1; transform: none; }

/* 5 · Plan */
.checklist { list-style: none; display: grid; gap: 10px; font-family: var(--fuente); font-size: 14px; }
.checklist li { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgb(141 204 235 / .05); border: 1px solid var(--linea); transition: border-color .4s calc(var(--i) * .35s + .2s); }
.checklist small { display: block; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--celeste); }
.chk { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid rgb(141 204 235 / .45); position: relative; transition: background .35s calc(var(--i) * .35s + .2s), border-color .35s calc(var(--i) * .35s + .2s); }
.chk::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #1a1000; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) scale(0); transition: transform .3s calc(var(--i) * .35s + .35s) var(--ease); }
.mock-plan.en .chk { background: var(--acento); border-color: var(--acento); }
.mock-plan.en .chk::after { transform: rotate(45deg) scale(1); }
.mock-plan.en li { border-color: rgb(219 169 38 / .3); }

/* 6 · Academia */
.mock-academia .pantalla { padding: 16px 18px; font-family: var(--fuente); }
.ac-prog { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--texto-suave); }
.ac-prog b { font-size: 20px; color: var(--texto); }
.ac-barra { height: 7px; border-radius: 7px; background: rgb(141 204 235 / .12); margin: 8px 0 12px; overflow: hidden; }
.ac-barra i { display: block; height: 100%; width: 0; background: var(--degradado); border-radius: 7px; transition: width 1.6s var(--ease); }
.ac-lecciones { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12px; }
.ac-lecciones li { display: flex; gap: 9px; align-items: center; color: var(--texto-suave); }
.ac-lecciones li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid rgb(141 204 235 / .4); flex: none; }
.ac-lecciones .hecha { color: var(--hueso); }
.ac-lecciones .hecha::before { background: var(--sube); border-color: var(--sube); }
.ac-lecciones .actual { color: var(--acento-claro); }
.ac-lecciones .actual::before { border-color: var(--acento); box-shadow: 0 0 0 3px rgb(219 169 38 / .2); }

/* ── Bloque 3 · Prueba ─────────────────────────────────────────────────── */
.prueba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.prueba-txt h2 { max-width: 13ch; }
.apoyo { font-size: clamp(17px, 1.3vw, 20px); margin-bottom: 30px; }
.garantias { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; font-size: 14px; color: var(--texto-suave); }
.garantias li { display: flex; gap: 10px; }
.garantias li::before { content: "✓"; color: var(--acento); font-weight: 700; }
.ruta { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; position: relative; }
.ruta::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; width: 2px; background: var(--linea); }
.ruta::after { content: ""; position: absolute; left: 27px; top: 30px; width: 2px; height: var(--avance, 0%); max-height: calc(100% - 60px); background: var(--degradado); transition: height .8s var(--ease); }
.paso {
  position: relative; z-index: 1; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px;
  padding: 18px 20px 18px 0; border-radius: 18px; cursor: pointer; outline: none;
  transition: background .4s, border-color .4s;
  border: 1px solid transparent;
}
.paso::before {
  content: ""; grid-row: 1 / 4; width: 18px; height: 18px; margin: 4px auto 0; border-radius: 50%;
  background: var(--fondo); border: 2px solid rgb(141 204 235 / .4); transition: all .4s var(--ease);
}
.paso-num { font: 500 12px var(--mono); color: var(--texto-suave); letter-spacing: .08em; text-transform: uppercase; }
.paso strong { font-size: clamp(18px, 1.4vw, 21px); margin: 2px 0 4px; }
.paso > span:last-child { color: var(--texto-suave); font-size: 15px; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s; }
.paso.activo { background: rgb(0 21 84 / .55); border-color: rgb(219 169 38 / .3); }
.paso.activo::before { background: var(--acento); border-color: var(--acento); box-shadow: 0 0 0 6px rgb(219 169 38 / .18); }
.paso.activo .paso-num { color: var(--acento); }
.paso.activo > span:last-child { max-height: 80px; opacity: 1; }
.paso.hecho::before { background: var(--acento-oscuro); border-color: var(--acento-oscuro); }
@media (max-width: 860px) {
  .prueba { grid-template-columns: 1fr; }
  .prueba-txt { display: flex; flex-direction: column; }
  .prueba-txt h2 { max-width: none; }
}

/* ── Bloque 4 · Para ti ────────────────────────────────────────────────── */
.dolores { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 1.5vw, 22px); }
.dolor {
  position: relative; padding: 28px 28px 26px 84px; border-radius: var(--radio);
  background: linear-gradient(160deg, rgb(0 21 84 / .55), rgb(0 8 45 / .4));
  border: 1px solid var(--linea); transition: border-color .4s, transform .5s var(--ease);
}
.dolor:hover { border-color: rgb(219 169 38 / .35); transform: translateY(-3px); }
.dolor h3 { margin-bottom: .4em; }
.dolor p { margin: 0; font-size: 15.5px; }
.dolor-ico {
  position: absolute; left: 26px; top: 28px; width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font: 600 13px var(--mono); color: var(--acento);
  background: rgb(219 169 38 / .1); border: 1px solid rgb(219 169 38 / .3);
}
.dolores .dolor:nth-child(2) { transition-delay: .08s; }
.dolores .dolor:nth-child(4) { transition-delay: .08s; }
.dolores .dolor:nth-child(6) { transition-delay: .08s; }
.cierre-cta { text-align: center; margin-top: clamp(44px, 5vw, 64px); }
@media (max-width: 760px) {
  .dolores { grid-template-columns: 1fr; }
  .dolor { padding: 24px 22px 22px 76px; }
  .dolor-ico { left: 20px; top: 24px; }
}

/* ── Pie ───────────────────────────────────────────────────────────────── */
.pie { border-top: 1px solid var(--linea); padding: 50px 0 60px; background: #000622; }
.pie-int { display: grid; gap: 18px; justify-items: center; text-align: center; }
.pie-logo { height: 26px; width: auto; opacity: .9; }
.pie-datos { display: flex; gap: 22px; font-size: 13px; color: var(--texto-suave); }
.aviso { max-width: 760px; font-size: 12px; line-height: 1.6; opacity: .75; margin: 0; }


/* ── Bloque 1 · Hero con onda de partículas ────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; padding: 120px var(--margen) 110px;
  background:
    radial-gradient(45% 35% at 50% 80%, rgb(40 100 255 / .55), transparent 70%),
    radial-gradient(70% 55% at 50% 30%, rgb(0 33 140 / .85), transparent 75%),
    var(--fondo);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(110% 85% at 50% 50%, transparent 40%, rgb(0 3 20 / .95) 100%), linear-gradient(transparent 75%, var(--fondo));
}
.hero-fondo { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block; }
.hero-anillos { position: absolute; left: 50%; top: 78%; z-index: -2; width: 0; height: 0; }
.hero-anillos i {
  position: absolute; left: 50%; top: 50%; border-radius: 50%; translate: -50% -50%;
  border: 1px solid rgb(110 165 255 / .3);
  box-shadow: 0 0 60px rgb(60 120 255 / .15) inset, 0 0 30px rgb(60 120 255 / .08);
  animation: anillo 8s ease-in-out infinite;
}
.hero-anillos i:nth-child(1) { width: 26vmax; height: 26vmax; }
.hero-anillos i:nth-child(2) { width: 40vmax; height: 40vmax; animation-delay: -2s; border-color: rgb(110 165 255 / .2); }
.hero-anillos i:nth-child(3) { width: 56vmax; height: 56vmax; animation-delay: -4s; border-color: rgb(110 165 255 / .13); }
.hero-anillos i:nth-child(4) { width: 74vmax; height: 74vmax; animation-delay: -6s; border-color: rgb(219 169 38 / .14); }
@keyframes anillo { 50% { scale: 1.04; opacity: .6; } }
.hero-contenido {
  position: relative; width: min(960px, 100%); text-align: center;
  display: flex; flex-direction: column; align-items: center;
  animation: entra 1.2s var(--ease) both;
}
@keyframes entra { from { opacity: 0; transform: translateY(30px); filter: blur(8px); } }
.hero-logo { width: clamp(180px, 22vw, 290px); height: auto; margin-bottom: 28px; filter: drop-shadow(0 0 30px rgb(90 150 255 / .35)); }
.tagline {
  display: inline-block; font-size: clamp(11px, .85vw, 13px); font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
  color: var(--celeste); margin-bottom: 18px;
}
.titulo { text-shadow: 0 4px 40px rgb(0 8 45 / .9); }
.linea-deco { display: block; width: 120px; height: 2px; margin: 8px auto 30px; background: linear-gradient(90deg, transparent, var(--acento), transparent); }
.hero-dica {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--texto-suave);
}
.hero-dica span { width: 1px; height: 38px; background: linear-gradient(var(--acento), transparent); animation: dica 2s infinite var(--ease); transform-origin: top; }
@keyframes dica { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ── Fondos de sección con luz ─────────────────────────────────────────── */
.seccion { position: relative; padding: clamp(90px, 12vw, 160px) 0; isolation: isolate; overflow: hidden; }
.fondo-luz {
  background:
    radial-gradient(45% 55% at 88% 45%, rgb(219 169 38 / .14), transparent 70%),
    radial-gradient(55% 65% at 8% 25%, rgb(34 84 255 / .28), transparent 70%),
    radial-gradient(80% 60% at 50% 110%, rgb(0 33 120 / .8), transparent 70%),
    var(--fondo);
}
.fondo-haz {
  background:
    radial-gradient(60% 40% at 50% 0%, rgb(34 84 255 / .3), transparent 70%),
    radial-gradient(40% 50% at 100% 80%, rgb(0 33 120 / .9), transparent 70%),
    var(--fondo);
}
.fondo-luz::before, .fondo-haz::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgb(141 204 235 / .35) 1px, transparent 1.5px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 40%, #000, transparent 75%);
  opacity: .35;
}
.fondo-haz::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  width: 140%; height: 220px; left: -20%; top: 30%; rotate: -12deg;
  background: linear-gradient(90deg, transparent, rgb(60 120 255 / .22) 45%, rgb(141 204 235 / .28) 50%, rgb(60 120 255 / .22) 55%, transparent);
  filter: blur(50px);
  animation: haz 12s ease-in-out infinite alternate;
}
@keyframes haz { to { translate: 0 120px; rotate: -6deg; } }
.cabecera { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.rotulo {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--acento);
}
.rotulo::before { content: ""; width: 26px; height: 1px; background: var(--acento); }

/* ── Bloque 2 · Recorrido por el scroll ────────────────────────────────── */
.recorrido {
  position: relative; height: calc(var(--pasos) * 80vh + 100vh);
  background:
    radial-gradient(50% 60% at 75% 50%, rgb(34 84 255 / .3), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(0 33 120 / .8), transparent 70%),
    var(--fondo);
}
.recorrido-palco { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.recorrido-palco::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgb(141 204 235 / .07) 1px, transparent 1px), linear-gradient(90deg, rgb(141 204 235 / .07) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(55% 60% at 70% 50%, #000, transparent 75%);
  mask-image: radial-gradient(55% 60% at 70% 50%, #000, transparent 75%);
}
.recorrido-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: 60px; }
.recorrido-txt h2 { font-size: clamp(26px, 2.7vw, 40px); margin-bottom: 26px; }
.indice { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 2px; }
.indice button {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 44px 1fr; align-items: start;
  padding: 9px 14px; border-radius: 14px; border: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.indice button:focus-visible { outline: 2px solid var(--acento); }
.indice-num { font: 500 12px/1.9 var(--mono); color: rgb(185 195 218 / .6); transition: color .3s; }
.indice-txt strong { display: block; font-size: 16px; font-weight: 600; color: rgb(255 255 255 / .55); transition: color .3s, font-size .3s; }
.indice-txt em { display: block; font-style: normal; font-size: 14.5px; color: var(--texto-suave); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s; }
.indice li.activo button { background: rgb(0 21 84 / .6); border-color: rgb(219 169 38 / .35); }
.indice li.activo .indice-num { color: var(--acento); }
.indice li.activo strong { color: var(--texto); font-size: 19px; }
.indice li.activo em { max-height: 50px; opacity: 1; margin-top: 3px; }
.indice li.visto-ya strong { color: rgb(255 255 255 / .75); }

.escenario { position: relative; height: min(66vh, 600px); display: grid; place-items: center; }
.escenario-luz {
  position: absolute; inset: 8% 4%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(60 120 255 / .35), transparent 70%);
  filter: blur(30px); animation: respira 6s ease-in-out infinite;
}
@keyframes respira { 50% { opacity: .65; scale: 1.06; } }
.item {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transform: translateY(60px) scale(.94); filter: blur(10px);
  transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease);
  pointer-events: none;
}
.item.antes { transform: translateY(-60px) scale(.94); }
.item.activo { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.item > .disp { width: 100%; margin: 0; }
.item > .disp--laptop { width: min(100%, 640px); }
.item > .disp--tablet { width: min(100%, 560px); }
.item > .disp--panel { width: min(100%, 540px); }
.item > .disp--tel { width: min(62%, 270px); }
.item .disp { filter: drop-shadow(0 40px 60px rgb(0 0 0 / .55)); }
.item > * { scale: var(--ajuste, 1); transform-origin: center; }
.escenario { overflow: visible; }
.item .pantalla { font-size: 13px; }
.disp--panel .pantalla { background: linear-gradient(180deg, rgb(2 12 56 / .92), rgb(0 8 45 / .92)); box-shadow: 0 0 0 1px rgb(141 204 235 / .12), 0 30px 80px -20px rgb(34 84 255 / .4); }
.recorrido-barra { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgb(141 204 235 / .1); z-index: 2; }
.recorrido-barra i { display: block; height: 100%; width: calc(var(--avance, 0) * 100%); background: var(--degradado); }

/* 7 · Escena completa (caja con proporción fija: nada se monta sobre el texto) */
.escena { position: relative; width: min(100%, 640px); aspect-ratio: 16 / 11; }
.escena .disp { position: absolute; margin: 0; padding: 0; transition: transform 1.1s var(--ease), opacity .8s; }
.escena .disp--laptop { padding-bottom: 3%; }
.escena .disp--laptop::after { height: 3.5%; min-height: 6px; }
.esc-laptop { width: 66%; left: 17%; top: 10%; }
.esc-tablet { width: 34%; right: 0; bottom: 8%; }
.esc-tel { width: 17%; left: 0; bottom: 2%; }
.esc-laptop .pantalla { border-width: 6px; }
.esc-tablet .pantalla { aspect-ratio: 4 / 3; padding: 9%; display: flex; flex-direction: column; justify-content: space-between; border-width: 6px; border-radius: 14px; }
.esc-tel .pantalla { aspect-ratio: 9 / 18; min-height: 0; padding: 22% 10% 12%; display: flex; flex-direction: column; gap: 7%; border-width: 5px; border-radius: 16px; }
.esc-tel .pantalla::before { width: 34%; height: 3px; top: 6px; }
.pantalla--mini svg { width: 100%; height: 100%; display: block; }
.mini-fila { display: block; height: 11%; border-radius: 4px; background: rgb(141 204 235 / .15); }
.mini-fila.alto { background: rgb(255 107 122 / .4); width: 80%; }
.mini-campo { display: block; height: 9%; border-radius: 4px; background: rgb(141 204 235 / .14); }
.mini-campo.oro { background: var(--degradado); margin-top: auto; height: 11%; }
.flota {
  position: absolute; z-index: 2; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
  background: rgb(0 12 60 / .82); border: 1px solid rgb(219 169 38 / .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: translateY(14px); transition: opacity .7s, transform .9s var(--ease);
}
.flota--1 { left: 4%; top: 0; transition-delay: .4s; }
.flota--2 { right: 2%; top: 4%; transition-delay: .6s; }
.flota--3 { left: 42%; bottom: 0; transition-delay: .8s; }
.escena .esc-laptop { transform: translateY(30px) scale(.94); opacity: 0; }
.escena .esc-tablet { transform: translate(30px, 20px); opacity: 0; }
.escena .esc-tel { transform: translate(-30px, 20px); opacity: 0; }
.item.en .escena .disp { transform: none; opacity: 1; }
.item.en .flota { opacity: 1; transform: none; animation: flotar 5s 1.6s ease-in-out infinite; }
.item.en .flota--2 { animation-delay: 2s; }
.item.en .flota--3 { animation-delay: 2.4s; }
@keyframes flotar { 50% { translate: 0 -7px; } }

@media (max-width: 860px) {
  .recorrido { height: calc(var(--pasos) * 70vh + 100vh); }
  .recorrido-grid { grid-template-columns: 1fr; gap: 14px; padding-top: 64px; align-content: center; }
  .recorrido-txt { display: contents; }
  .recorrido-txt .rotulo { order: 1; margin-bottom: 0; }
  .recorrido-txt h2 { order: 2; font-size: 22px; margin-bottom: 0; }
  .indice { margin-bottom: 0; order: 3; }
  .escenario { order: 4; }
  .indice li:not(.activo) { display: none; }
  .indice li.activo button { background: none; border-color: transparent; padding: 4px 0; }
  .indice li.activo strong { font-size: 18px; }
  .recorrido-txt .boton { order: 5; justify-self: stretch; margin-top: 16px; position: relative; z-index: 3; }
  .escenario { height: 42svh; }
  .recorrido-grid { gap: 10px; }
  .item > .disp--tel { width: min(62%, 230px); }
  .item .disp--tel .pantalla { min-height: 0; }
  .item .pantalla { font-size: 11px; }
}
@media (max-width: 560px) {
  .mock-escaner .pantalla { grid-template-columns: 1fr; aspect-ratio: auto; }
  .esc-lista { border-right: 0; border-bottom: 1px solid var(--linea); padding: 4px 0; }
  .esc-lista .esc-fila:nth-child(n+5) { display: none; }
  .esc-grafica { height: 150px; }
  .flota { font-size: 11px; padding: 5px 10px; }
  .item.activo .calc-campo { padding: 6px 10px; }
}

/* ── Movimiento reducido ───────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .revelar { opacity: 1; transform: none; }
  .patron { stroke-dashoffset: 0; }
  .jr-fila, .jr-alerta, .flota, .escena .disp { opacity: 1; transform: none; }
}

/* ── Oferta y confianza ────────────────────────────────────────────────── */
.micro--tarjeta { margin-top: .45em; max-width: 52ch; margin-inline: auto; }
.confianza-mini { margin-top: .5em; color: var(--acento); font-weight: 600; letter-spacing: .04em; }
.confianza .cabecera { margin-bottom: clamp(30px, 4vw, 44px); }
.confianza-datos { list-style: none; padding: 0; margin: 0 0 clamp(36px, 4vw, 52px); display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.confianza-datos li { background: var(--panel); border: 1px solid var(--linea); border-radius: var(--radio); padding: 22px 24px; }
.confianza-datos b { display: block; font-size: clamp(28px, 3vw, 40px); font-weight: 800; line-height: 1.15; background: var(--degradado); -webkit-background-clip: text; background-clip: text; color: transparent; }
.confianza-datos span { font-size: 14px; color: var(--texto-suave); }
