/* ¡Llegó! · landing. Estilo limpio, mucho aire y letra grande (público mayor).
   Llego Sans = Atkinson Hyperlegible (con el cero sin tachar). Pensada primero para celular
   barato: sin librerías, animaciones solo con transform/opacity y apagadas con reduced-motion.
   Azul de marca = el del proyecto Cavenago (matiz 213, ni verdoso ni morado). */

@font-face { font-family: "Llego Sans"; src: url("fonts/llego-sans-regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Llego Sans"; src: url("fonts/llego-sans-bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --fondo: #F5F5F7;
  --blanco: #FFFFFF;
  --texto: #1D1D1F;
  --texto-2: #4E4E53;      /* texto secundario: el #AAAAAA no da contraste para leer */
  --detalle: #AAAAAA;      /* solo bordes, separadores, adornos */
  --linea: #E3E3E8;
  --azul: #0B51A8;         /* principal: 7,6:1 sobre blanco */
  --azul-osc: #083D80;     /* oscuro: hover, fondos */
  --azul-brillo: #1F66C2;  /* brillo de los degradados */
  --azul-cla: #4489DF;     /* claro: solo texto grande o adornos sobre oscuro, y el foco */
  --hielo: #BFD9F2;        /* texto sobre azul oscuro (7,2:1 sobre #083D80) */
  --azul-suave: #EAF2FB;   /* tinte de fondo */
  --degradado: linear-gradient(135deg, #1F66C2 0%, #0B51A8 45%, #083D80 100%);
  --verde: #1E7B34;
  --verde-suave: #E6F4EA;
  --rojo: #C62828;
  --rojo-suave: #FDECEA;
  --ambar: #B25E00;
  --radio: 24px;
  --sombra: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 30px rgba(8, 61, 128, .07);
  --sombra-azul: 0 14px 34px rgba(11, 81, 168, .28);
  --max: 1120px;
  --suave-salida: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--fondo); color: var(--texto);
  font-family: "Llego Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 20px; line-height: 1.5; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--texto); }
h1 { font-size: clamp(40px, 7.4vw, 72px); }
h2 { font-size: clamp(32px, 5vw, 52px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.contenedor { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.angosto { max-width: 820px; }
.etiqueta { font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--azul); margin-bottom: .6em; }
.suave { color: var(--texto-2); }
.chico { font-size: 16px; }
.azul { color: var(--azul); }
.oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.centrado { text-align: center; }
.centrado > p.suave { max-width: 640px; margin-left: auto; margin-right: auto; }
.saltar { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--azul); color: #fff; padding: 10px 16px; border-radius: 12px; }
.saltar:focus { top: 12px; }

/* ---- el nombre de la marca, resaltado cada vez que aparece ---- */
.marca-txt {
  font-weight: 700; color: var(--azul); white-space: nowrap; letter-spacing: -.01em;
  background: linear-gradient(transparent 62%, rgba(191, 217, 242, .95) 62%, rgba(191, 217, 242, .95) 94%, transparent 94%);
  padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
h1 .marca-txt, h2 .marca-txt { background: linear-gradient(transparent 70%, rgba(191, 217, 242, .95) 70%, rgba(191, 217, 242, .95) 92%, transparent 92%); }
.oscuro .marca-txt, .final-caja .marca-txt, .barra-fundador .marca-txt, .subtitulo .marca-txt {
  color: #fff; background: linear-gradient(transparent 64%, rgba(68, 137, 223, .6) 64%, rgba(68, 137, 223, .6) 94%, transparent 94%);
}
.boton .marca-txt, .elegir .marca-txt, .demo-pestanas .marca-txt { color: inherit; background: none; padding: 0; }
.marca .marca-txt { background: none; padding: 0; }

/* ---- botones ---- */
.boton {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 60px; padding: 14px 28px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 20px/1.2 "Llego Sans", system-ui, sans-serif; text-decoration: none; text-align: center;
  background: var(--azul); color: #fff; box-shadow: 0 6px 16px rgba(11, 81, 168, .22);
  transition: transform .18s var(--suave-salida), background-color .15s ease, box-shadow .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.boton:hover { background: var(--azul-osc); transform: translateY(-2px); box-shadow: var(--sombra-azul); }
.boton:active { transform: translateY(0) scale(.97); box-shadow: 0 3px 8px rgba(11, 81, 168, .25); }
.boton:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--azul-cla); outline-offset: 3px; }
.boton.secundario { background: transparent; color: var(--azul); box-shadow: inset 0 0 0 2px var(--azul); }
.boton.secundario:hover { background: var(--azul-suave); }
.boton.blanco { background: #fff; color: var(--azul-osc); box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.boton.blanco:hover { background: var(--azul-suave); }
.boton.ancho { width: 100%; }
.boton.chico { min-height: 50px; padding: 10px 16px; font-size: 17px; }
.boton[disabled] { opacity: .6; cursor: wait; }
/* brillo que cruza el botón principal cada tanto */
.boton.brilla::after {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-20deg); animation: brillo 5s ease-in-out 1.5s infinite;
}
.boton.blanco.brilla::after { background: linear-gradient(100deg, transparent, rgba(11, 81, 168, .12), transparent); }
@keyframes brillo { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---- barra superior: precio fundador con su fecha real ---- */
.barra-fundador { display: block; background: var(--azul-osc); color: #fff; text-decoration: none; font-size: 16px; line-height: 1.3; }
.barra-fundador .contenedor { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2px 14px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.barra-fundador strong { color: #fff; }
.barra-fundador .barra-reloj { color: var(--hielo); font-variant-numeric: tabular-nums; }
.barra-fundador .barra-reloj b { color: #fff; }
.barra-fundador .barra-ir { text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.barra-fundador:hover { background: #062F66; }
.barra-fundador[hidden] { display: none; }
@media (max-width: 560px) { .barra-fundador { font-size: 15px; } .barra-fundador .barra-ir { display: none; } }

/* ---- cabecera ---- */
.cabecera { position: sticky; top: 0; z-index: 20; background: #F5F5F7; border-bottom: 1px solid var(--linea); }
@supports (backdrop-filter: blur(8px)) { @media (min-width: 761px) { .cabecera { background: rgba(245, 245, 247, .82); backdrop-filter: saturate(180%) blur(12px); } } }
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; min-height: 66px; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 24px; text-decoration: none; color: var(--azul); white-space: nowrap; }
.marca svg, .marca img { width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto; }
.cabecera nav { display: flex; gap: 24px; align-items: center; }
.cabecera nav a { text-decoration: none; font-weight: 700; font-size: 17px; color: var(--texto); }
.cabecera nav a:not(.boton):hover { color: var(--azul); }
.cabecera nav a.boton { color: #fff; min-height: 46px; padding: 10px 20px; font-size: 17px; }
@media (max-width: 760px) { .cabecera nav a:not(.boton) { display: none; } }
@media (max-width: 400px) {
  .cabecera .contenedor { padding: 0 14px; gap: 8px; }
  .marca { font-size: 21px; gap: 8px; } .marca img { width: 36px; height: 36px; }
  .cabecera nav a.boton { padding: 8px 14px; font-size: 15px; min-height: 44px; }
}

/* ---- héroe ---- */
.hero { position: relative; padding: 56px 0 64px; overflow: hidden; overflow: clip; } /* clip: que scrollIntoView no la desplace por dentro */
.hero-fondo { position: absolute; inset: -20% -10% auto; height: 140%; z-index: -1; pointer-events: none;
  background: radial-gradient(42% 46% at 78% 40%, rgba(68, 137, 223, .22), transparent 70%), radial-gradient(30% 30% at 10% 10%, rgba(191, 217, 242, .55), transparent 70%); }
.hero .contenedor { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero p.sub { font-size: 23px; color: var(--texto-2); max-width: 32ch; }
.hero p.sub strong { color: var(--texto); }
.hero .acciones { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 16px; }
.hero .nota { font-size: 17px; color: var(--texto-2); }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.globo { position: absolute; z-index: 3; background: #fff; color: var(--texto); border-radius: 22px; padding: 12px 16px; font-weight: 700; font-size: 17px; box-shadow: 0 12px 30px rgba(8, 61, 128, .16); max-width: 180px; line-height: 1.3; }
.globo::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--verde); margin-right: 8px; vertical-align: 1px; }
.globo-1 { top: 50%; left: -16%; }
.globo-2 { top: 30%; right: -16%; }
.globo { animation: entrar-globo .7s var(--suave-salida) both .6s; }
.globo-2 { animation-delay: 1.4s; }
@keyframes entrar-globo { from { opacity: 0; transform: translateY(12px) scale(.94); } }

/* el celular del héroe: el aviso cae y ¡Llegó! lo dice */
.hcel { position: relative; z-index: 2; width: 270px; height: 470px; border-radius: 44px; padding: 10px; background: #1D1D1F;
  box-shadow: 0 40px 70px rgba(8, 61, 128, .28), inset 0 0 0 2px #3a3a3c; will-change: transform; }
.hcel-pantalla { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: linear-gradient(180deg, #F5F5F7, #EAF2FB); }
.hcel-pantalla::before { content: ""; position: absolute; top: 9px; left: 50%; width: 76px; height: 22px; margin-left: -38px; border-radius: 20px; background: #1D1D1F; z-index: 6; }
.hcel-estado { display: flex; justify-content: space-between; padding: 10px 22px 0; font-size: 12px; font-weight: 700; height: 34px; }
.hcel-barra { display: flex; align-items: center; gap: 8px; padding: 8px 16px; font-size: 17px; }
.hcel-barra svg { width: 28px; height: 28px; }
.hcel-cuerpo { padding: 0 14px; }
.hcel-cuerpo .vista-chico { margin: 4px 0 2px; }
.hgrande { font-size: 40px; font-weight: 700; line-height: 1; margin: 0 0 12px; font-variant-numeric: tabular-nums; color: var(--texto); }
.hlista { list-style: none; margin: 0; padding: 0; }
.hlista li { display: flex; justify-content: space-between; gap: 6px; background: #fff; border-radius: 14px; padding: 8px 10px; margin-bottom: 6px; font-size: 14px; line-height: 1.2; }
.hlista li small { display: block; font-size: 12px; color: var(--texto-2); }
.hlista li.nuevo { animation: entrar-fila .5s var(--suave-salida) both; box-shadow: inset 0 0 0 2px var(--verde); }
.hnoti { position: absolute; z-index: 5; left: 8px; right: 8px; top: 38px; display: flex; gap: 8px; align-items: flex-start;
  background: rgba(255, 255, 255, .98); border-radius: 18px; padding: 10px; box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
  font-size: 12.5px; line-height: 1.25; transform: translateY(-150%); opacity: 0; transition: transform .5s cubic-bezier(.2, .9, .3, 1.25), opacity .3s; }
.hnoti.ver { transform: translateY(0); opacity: 1; }
.hnoti strong { display: block; font-size: 13px; }
.hnoti-icono { flex: 0 0 30px; height: 30px; border-radius: 9px; background: #5E5E66; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 12px; }
.hnoti-icono.plin { background: #2E8E8E; }
.hhabla { position: absolute; left: 8px; right: 8px; bottom: 10px; z-index: 4; display: flex; gap: 8px; align-items: center; background: var(--azul-osc); color: #fff; border-radius: 20px; padding: 9px 12px; font-size: 14.5px; line-height: 1.25; font-weight: 700; min-height: 60px; }
.hhabla svg { flex: 0 0 38px; width: 38px; height: 38px; overflow: visible; }
.hhabla span { transition: opacity .25s; }
.hhabla.cambiando span { opacity: 0; }
/* anillos de sonido alrededor del celular cuando habla */
.anillos { position: absolute; z-index: 1; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; pointer-events: none; }
.anillos i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(11, 81, 168, .35); opacity: 0; }
.hablando-ya .anillos i { animation: anillo 1.8s ease-out infinite; }
.hablando-ya .anillos i:nth-child(2) { animation-delay: .6s; }
.hablando-ya .anillos i:nth-child(3) { animation-delay: 1.2s; }
@keyframes anillo { 0% { transform: scale(.75); opacity: .7; } 100% { transform: scale(1.45); opacity: 0; } }

@media (max-width: 900px) {
  .hero { padding: 28px 0 36px; }
  .hero .contenedor { grid-template-columns: 1fr; gap: 18px; }
  .hero-visual { min-height: 0; padding: 8px 0 0; }
  .hcel { width: 236px; height: 360px; border-radius: 38px; }
  .hcel-pantalla { border-radius: 29px; }
  .hgrande { font-size: 34px; }
  .anillos { width: 250px; height: 250px; margin: -125px 0 0 -125px; }
  .globo { font-size: 15px; padding: 9px 14px; max-width: 150px; }
  .globo-1 { left: 0; top: 18%; }
  .globo-2 { right: 0; top: auto; bottom: 22%; }
  .hero h1 { font-size: clamp(38px, 10.5vw, 52px); }
  .hero p.sub { font-size: 21px; }
}
@media (max-width: 520px) { .globo { display: none; } }
@media (max-width: 420px) { .hero .acciones .boton { width: 100%; } }

/* ondas de la moneda: «habla» */
.onda { transform-box: fill-box; transform-origin: left center; }
.hablando .onda-1 { animation: onda 0.9s ease-in-out infinite; }
.hablando .onda-2 { animation: onda 0.9s ease-in-out .15s infinite; }
@keyframes onda { 0%, 100% { opacity: .35; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.06); } }

/* ---- barra de confianza ---- */
.confianza-barra { background: var(--blanco); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); }
.confianza-barra ul { list-style: none; margin: 0 auto; padding: 18px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.confianza-barra li { display: flex; gap: 10px; align-items: center; font-weight: 700; font-size: 17px; line-height: 1.25; }
.confianza-barra li svg { flex: 0 0 28px; color: var(--azul); }
@media (max-width: 900px) { .confianza-barra ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 380px) { .confianza-barra li { font-size: 15px; } }

/* ---- franjas ---- */
.franja { padding: 88px 0; }
.franja.blanca { background: var(--blanco); }
@media (max-width: 760px) { .franja { padding: 60px 0; } }

.rejilla { display: grid; gap: 18px; margin-top: 36px; }
.rejilla.tres { grid-template-columns: repeat(3, 1fr); }
.rejilla.dos { grid-template-columns: repeat(2, 1fr); }
.precio-chico { font-weight: 700; color: var(--azul); margin-top: 10px; }
.rejilla.cuatro { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .rejilla.cuatro { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .rejilla.tres, .rejilla.dos { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rejilla.cuatro { grid-template-columns: 1fr; } }

.tarjeta { background: var(--blanco); border: 1px solid var(--linea); border-radius: var(--radio); padding: 26px; box-shadow: var(--sombra); }
.franja.blanca .tarjeta { background: var(--fondo); box-shadow: none; }
.tarjeta h3 { margin-bottom: .35em; }
.icono { width: 56px; height: 56px; border-radius: 18px; background: var(--azul-suave); color: var(--azul); display: grid; place-items: center; margin-bottom: 14px; transition: transform .3s var(--suave-salida); }
.icono.rojo { background: var(--rojo-suave); color: var(--rojo); }
.tarjeta:hover .icono { transform: rotate(-6deg) scale(1.06); }
.pilar { text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: transform .2s var(--suave-salida), border-color .15s ease, box-shadow .2s ease; }
.pilar:hover { transform: translateY(-4px); border-color: var(--azul); box-shadow: var(--sombra-azul); }
.pilar .mini-enlace { margin-top: auto; color: var(--azul); font-weight: 700; font-size: 17px; }
.pilar .mini-enlace::after { content: ""; }
.pilar:hover .mini-enlace { text-decoration: underline; text-underline-offset: 3px; }

/* la cuenta honesta: una captura falsa contra un año de la app */
.balanza { max-width: 720px; margin: 40px auto 0; background: var(--blanco); border-radius: var(--radio); padding: 24px; box-shadow: var(--sombra); }
.balanza-fila { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; align-items: center; margin-bottom: 16px; }
.balanza-fila:last-of-type { margin-bottom: 8px; }
.balanza-fila span { font-weight: 700; font-size: 18px; }
.balanza-fila b { font-size: 28px; font-variant-numeric: tabular-nums; }
.balanza-barra { grid-column: 1 / -1; height: 16px; border-radius: 99px; background: var(--fondo); overflow: hidden; }
.balanza-barra i { display: block; height: 100%; width: var(--w); border-radius: 99px; transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--suave-salida) .2s; }
.balanza-barra.roja i { background: var(--rojo); }
.balanza-barra.azul i { background: var(--degradado); }
.balanza.visible .balanza-barra i, .balanza.lista .balanza-barra i { transform: scaleX(1); }
.balanza .roja-txt { color: var(--rojo); }
.balanza .azul-txt { color: var(--azul); }
.agitar { text-align: center; font-size: clamp(22px, 3vw, 28px); margin: 18px auto 0; max-width: 30ch; }
.agitar strong { color: var(--rojo); }

/* ---- demo ---- */
.demo-franja { background: linear-gradient(180deg, var(--fondo) 0%, var(--azul-suave) 100%); }
.demo-pestanas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 28px 0 32px; }
.demo-pestanas button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 56px; padding: 10px 20px; border-radius: 999px;
  border: 2px solid var(--linea); background: var(--blanco); color: var(--texto); cursor: pointer;
  font: 700 18px "Llego Sans", system-ui, sans-serif; -webkit-tap-highlight-color: transparent;
  transition: transform .15s var(--suave-salida), border-color .15s, background-color .15s;
}
.demo-pestanas button:hover { border-color: var(--azul); }
.demo-pestanas button:active { transform: scale(.97); }
.demo-pestanas button svg { color: var(--azul); }
.demo-pestanas button[aria-selected="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.demo-pestanas button[aria-selected="true"] svg { color: #fff; }
@media (max-width: 560px) {
  .demo-pestanas { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .demo-pestanas button { justify-content: center; font-size: 16px; padding: 8px 10px; min-height: 58px; border-radius: 18px; text-align: left; line-height: 1.15; }
}

.demo { display: grid; grid-template-columns: auto minmax(0, 460px); gap: 48px; justify-content: center; align-items: start; }
@media (max-width: 860px) { .demo { grid-template-columns: 1fr; gap: 24px; justify-items: center; } .demo-controles { width: 100%; max-width: 520px; } }
.demo-controles h3 { font-size: 26px; }
.demo-controles [role="tabpanel"][hidden] { display: none; }
.demo-cta { margin-top: 44px; }

/* el celular */
.cel { position: relative; width: 320px; height: 640px; border-radius: 52px; padding: 12px; background: #1D1D1F; box-shadow: 0 40px 80px rgba(8, 61, 128, .25), inset 0 0 0 2px #3a3a3c; }
@media (max-width: 560px) { .cel { width: 300px; height: 560px; border-radius: 48px; } .cel-pantalla { border-radius: 37px; } }
@media (max-width: 340px) { .cel { width: 280px; height: 530px; } }
.cel-pantalla { position: relative; height: 100%; border-radius: 40px; overflow: hidden; background: var(--fondo); display: flex; flex-direction: column; }
.cel-pantalla::before { content: ""; position: absolute; top: 10px; left: 50%; width: 92px; height: 26px; margin-left: -46px; border-radius: 20px; background: #1D1D1F; z-index: 6; }
.cel-estado { display: flex; justify-content: space-between; padding: 12px 26px 4px; font-size: 13px; font-weight: 700; height: 40px; }
.cel-iconos { letter-spacing: .02em; }
.cel-app { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.cel-barra { display: flex; align-items: center; gap: 8px; padding: 6px 18px 10px; font-weight: 700; font-size: 19px; }
.cel-logo { width: 30px; height: 30px; }
.vista { flex: 1; overflow-y: auto; padding: 0 16px 92px; scrollbar-width: none; }
.vista::-webkit-scrollbar { display: none; }
.vista[hidden] { display: none; }
.vista-chico { font-size: 14px; color: var(--texto-2); margin: 0 0 6px; }
.vista-titulo { font-weight: 700; font-size: 22px; margin: 2px 0 10px; }
.grande { font-size: 46px; font-weight: 700; line-height: 1; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.meta { background: var(--blanco); border-radius: 18px; padding: 12px; margin-bottom: 12px; }
.meta-barra { height: 12px; border-radius: 99px; background: var(--azul-suave); overflow: hidden; margin-bottom: 8px; }
.meta-barra span { display: block; height: 100%; border-radius: 99px; background: var(--degradado); transition: width .6s ease; }
.meta.cumplida .meta-barra span { background: var(--verde); }
.meta.cumplida #meta-texto { color: var(--verde); font-weight: 700; }
.lista-pagos { list-style: none; margin: 0; padding: 0; }
.lista-pagos li { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--blanco); border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; font-size: 16px; line-height: 1.25; }
.lista-pagos li small { display: block; font-size: 13px; color: var(--texto-2); }
.lista-pagos li b { white-space: nowrap; }
.lista-pagos li.nuevo { animation: entrar-fila .5s ease both; box-shadow: inset 0 0 0 2px var(--verde); }
.lista-pagos.chica li { font-size: 15px; }
.lista-pagos li.coincide { box-shadow: inset 0 0 0 3px var(--verde); background: var(--verde-suave); }
@keyframes entrar-fila { from { opacity: 0; transform: translateY(-12px); } }

/* notificación que baja */
.noti {
  position: absolute; z-index: 5; left: 10px; right: 10px; top: 44px; display: flex; gap: 10px; align-items: flex-start;
  background: rgba(255, 255, 255, .97); border-radius: 20px; padding: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  font-size: 14px; line-height: 1.3; transform: translateY(-140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.2), opacity .3s;
}
.noti.ver { transform: translateY(0); opacity: 1; }
.noti-icono { flex: 0 0 34px; height: 34px; border-radius: 10px; background: #5E5E66; color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.noti-icono.plin { background: #2E8E8E; }
.noti-texto { flex: 1; }
.noti-texto strong { display: block; }
.noti small { color: var(--texto-2); }

/* subtítulo: lo que «dice» ¡Llegó! */
.subtitulo { position: absolute; left: 10px; right: 10px; bottom: 12px; z-index: 4; display: flex; gap: 10px; align-items: center; background: #1D1D1F; color: #fff; border-radius: 22px; padding: 10px 14px; font-size: 16px; line-height: 1.25; font-weight: 700; min-height: 64px; }
.sub-moneda { flex: 0 0 40px; width: 40px; height: 40px; }
.subtitulo.hablando { background: var(--azul-osc); }

/* ¿Llegó de verdad? */
.codigo { display: flex; gap: 10px; margin: 6px 0 12px; }
.codigo span { width: 54px; height: 62px; border-radius: 14px; background: var(--blanco); border: 2px solid var(--linea); display: grid; place-items: center; font-size: 32px; font-weight: 700; }
.codigo span.lleno { border-color: var(--azul); animation: latido .3s ease; }
@keyframes latido { 50% { transform: scale(1.08); } }
.veredicto { border-radius: 18px; padding: 14px; margin-bottom: 12px; font-weight: 700; font-size: 20px; line-height: 1.2; animation: entrar-fila .4s ease both; }
.veredicto.si { background: var(--verde); color: #fff; }
.veredicto.no { background: var(--rojo); color: #fff; }
.veredicto small { display: block; font-weight: 400; font-size: 15px; margin-top: 4px; opacity: .95; }
.capturas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 18px 0 12px; }
.captura { margin: 0; }
.captura-cel { background: linear-gradient(180deg, #4B2A7B, #6B3FA8); color: #fff; border-radius: 22px; padding: 18px 12px; text-align: center; margin-bottom: 10px; min-height: 196px; display: flex; flex-direction: column; justify-content: center; }
.captura-cel p { margin: 0 0 4px; font-size: 16px; }
.cap-ok { font-weight: 700; font-size: 15px !important; opacity: .9; }
.cap-monto { font-size: 38px !important; font-weight: 700; line-height: 1.1; }
.cap-chico { font-size: 13px !important; opacity: .85; }

/* cuenta por voz */
.lista-cuenta { list-style: none; margin: 0 0 10px; padding: 0; }
.lista-cuenta li { display: flex; justify-content: space-between; gap: 8px; background: var(--blanco); border-radius: 14px; padding: 9px 12px; margin-bottom: 6px; font-size: 16px; line-height: 1.25; animation: entrar-fila .35s ease both; }
.lista-cuenta li small { display: block; color: var(--texto-2); font-size: 13px; }
.lista-cuenta li b { white-space: nowrap; }
.lista-cuenta li.vacia { background: transparent; color: var(--texto-2); justify-content: center; animation: none; }
.lista-cuenta li.falta b { color: var(--ambar); }
.total-fila { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--detalle); padding-top: 10px; font-weight: 700; }
.total-fila b { font-size: 34px; font-variant-numeric: tabular-nums; color: var(--azul); }
.aprende { background: #FFF4E0; border-radius: 16px; padding: 12px; margin-top: 10px; font-size: 15px; }
.aprende label { display: block; margin-bottom: 8px; }
.aprende div { display: flex; gap: 6px; align-items: center; font-weight: 700; }
.aprende input { flex: 1; min-width: 0; height: 44px; border-radius: 12px; border: 2px solid var(--detalle); padding: 6px 10px; font: 700 20px "Llego Sans", system-ui; }
.aprende button { height: 44px; border-radius: 12px; border: 0; background: var(--azul); color: #fff; font: 700 16px "Llego Sans", system-ui; padding: 0 12px; cursor: pointer; }
.nota-venta { margin-top: 14px; background: #fff; border-radius: 6px; padding: 14px 14px 18px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; line-height: 1.45; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); transform-origin: top; animation: imprimir 1s steps(10, end) both; position: relative; }
.nota-venta::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px 0, #fff 6px, transparent 6.5px) 0 0 / 12px 8px repeat-x; }
.nota-venta h4 { margin: 0 0 2px; font-size: 15px; text-align: center; }
.nota-venta .nv-centro { text-align: center; color: #555; }
.nota-venta .nv-fila { display: flex; justify-content: space-between; gap: 8px; }
.nota-venta .nv-total { font-weight: 700; font-size: 16px; border-top: 1px dashed #999; margin-top: 6px; padding-top: 6px; }
.nota-venta hr { border: 0; border-top: 1px dashed #999; margin: 6px 0; }
@keyframes imprimir { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 -10px 0); } }
.frases { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }
.frases button { min-height: 50px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--azul); background: var(--blanco); color: var(--azul-osc); font: 700 17px "Llego Sans", system-ui; cursor: pointer; transition: transform .12s ease, background-color .12s; }
.frases button:hover { background: var(--azul-suave); }
.frases button:active { transform: scale(.97); }
.fila-botones { display: flex; gap: 10px; flex-wrap: wrap; }
.fila-botones .boton.ancho { flex: 1 1 220px; width: auto; }
.mic-zona { display: flex; gap: 16px; align-items: center; margin: 12px 0 8px; }
.mic-zona[hidden] { display: none; }
.mic { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 132px; min-height: 132px; border-radius: 32px; border: 0; background: var(--degradado); color: #fff; cursor: pointer; font: 700 14px/1.2 "Llego Sans", system-ui; padding: 18px 10px; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.mic.escuchando { background: var(--rojo); box-shadow: 0 0 0 0 rgba(198, 40, 40, .5); animation: pulso 1.2s ease-out infinite; }
@keyframes pulso { 100% { box-shadow: 0 0 0 22px rgba(198, 40, 40, 0); } }
.mic-zona p { margin: 0; }

/* fiados */
.lista-fiados { list-style: none; margin: 0; padding: 0; }
.lista-fiados li { background: var(--blanco); border-radius: 16px; padding: 10px 12px; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; line-height: 1.25; transition: box-shadow .2s; }
.lista-fiados li small { display: block; color: var(--texto-2); font-size: 13px; }
.lista-fiados li b { white-space: nowrap; color: var(--rojo); }
.lista-fiados li b.cero { color: var(--verde); }
.lista-fiados li.marcado { box-shadow: inset 0 0 0 3px var(--azul); }
.elegir { background: var(--azul); color: #fff; border-radius: 18px; padding: 12px; margin-top: 8px; animation: entrar-fila .35s ease both; }
.elegir[hidden] { display: none; }
.elegir p { margin: 0 0 8px; font-weight: 700; font-size: 19px; }
.elegir div { display: grid; gap: 8px; }
.elegir button { min-height: 48px; border-radius: 14px; border: 0; background: #fff; color: var(--azul-osc); font: 700 17px "Llego Sans", system-ui; cursor: pointer; }

.modo-voz { border: 0; padding: 0; margin: 20px 0; }
.modo-voz legend { font-weight: 700; margin-bottom: 8px; }
.modo-voz label { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; }
.modo-voz input { width: 24px; height: 24px; accent-color: var(--azul); }

.confeti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 8; border-radius: 52px; }

/* ---- beneficios ---- */
.beneficio { background: var(--blanco); border-radius: var(--radio); padding: 28px; position: relative; transition: transform .2s var(--suave-salida), box-shadow .2s; }
.beneficio:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.beneficio > svg { color: var(--azul); margin-bottom: 12px; }
.beneficio.pronto { background: transparent; border: 2px dashed var(--detalle); }
.beneficio.pronto:hover { transform: none; box-shadow: none; }
.beneficio.pronto > svg { color: var(--texto-2); }
.insignia-pronto { position: absolute; top: 24px; right: 24px; background: var(--texto); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; }

/* ---- pasos ---- */
.pasos { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: paso; }
.pasos li { background: var(--fondo); border-radius: var(--radio); padding: 28px; position: relative; }
.franja:not(.blanca) .pasos li { background: var(--blanco); }
.paso-num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--degradado); color: #fff; font-weight: 700; font-size: 26px; margin-bottom: 14px; box-shadow: 0 8px 18px rgba(11, 81, 168, .25); }
.pasos li.visible .paso-num, .pasos.visible .paso-num { animation: saltito .6s var(--suave-salida) both .25s; }
@keyframes saltito { 0% { transform: scale(.4); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
@media (max-width: 900px) { .pasos { grid-template-columns: 1fr; } }

/* ---- seguridad ---- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; gap: 20px; } }
.lista-check { list-style: none; padding: 0; margin: 0 0 1em; }
.lista-check li { position: relative; padding-left: 42px; margin: 14px 0; }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 3px; width: 28px; height: 28px; border-radius: 50%; background: var(--verde) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.lista-no li::before { background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.lista-no li.alerta { font-weight: 700; background: var(--rojo-suave); border-radius: 16px; padding: 14px 16px 14px 54px; }
.lista-no li.alerta::before { left: 14px; top: 16px; background: var(--rojo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v8M12 18v.5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/18px no-repeat; }

/* ---- ejemplos (escenas rotuladas, no testimonios) ---- */
.aviso-ejemplo { display: inline-block; background: #FFF4E0; color: #6B3A00; border-radius: 14px; padding: 10px 16px; font-size: 17px; max-width: 640px; }
.rotulo { position: absolute; top: -14px; left: 22px; background: #6B3A00; color: #fff; border-radius: 999px; padding: 3px 12px; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.escenas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px 20px; margin-top: 40px; }
@media (max-width: 860px) { .escenas { grid-template-columns: 1fr; } }
.escena { position: relative; margin: 0; background: var(--fondo); border-radius: var(--radio); padding: 26px 24px 22px; border: 2px dashed #C9C9CF; display: flex; flex-direction: column; }
.escena-dibujo { height: 120px; margin: 4px 0 14px; border-radius: 18px; background: linear-gradient(180deg, var(--azul-suave), #fff); display: grid; place-items: center; overflow: hidden; }
.escena-dibujo svg { width: 100%; height: 100%; max-width: 300px; }
.escena h3 { font-size: 23px; }
.escena .que-pasa { color: var(--texto-2); margin-bottom: 14px; }
.escucha { display: flex; align-items: center; gap: 12px; background: var(--azul-osc); color: #fff; border-radius: 20px; padding: 12px 12px 12px 16px; }
.escucha p { margin: 0; flex: 1; font-weight: 700; font-size: 19px; line-height: 1.3; }
.escucha small { display: block; font-weight: 400; color: var(--hielo); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.escuchar { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 56px; min-height: 56px; padding: 0 14px; border-radius: 16px; border: 0; cursor: pointer; background: #fff; color: var(--azul-osc); font: 700 16px "Llego Sans", system-ui; transition: transform .12s ease; }
.escuchar:hover { background: var(--hielo); }
.escuchar:active { transform: scale(.95); }
@media (max-width: 480px) { .escucha { flex-direction: column; align-items: stretch; padding: 14px; } .escuchar { width: 100%; } }
.escena-gana { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; font-weight: 700; font-size: 18px; line-height: 1.35; }
.escena-gana svg { flex: 0 0 24px; color: var(--verde); margin-top: 2px; }
/* ondas de la escena: se mueven al escuchar */
.esc-onda { transform-box: fill-box; transform-origin: left center; opacity: .5; }
.escena.sonando .esc-onda { animation: onda .8s ease-in-out infinite; }
.escena.sonando .esc-onda + .esc-onda { animation-delay: .15s; }

/* ---- Familia y Equipo: dos celulares y el aviso que viaja ---- */
.enlace { margin: 40px auto 0; max-width: 760px; }
.enlace-escena { position: relative; display: flex; justify-content: space-between; align-items: flex-end; padding-top: 96px; }
.enlace-arco { position: absolute; top: 14px; height: 128px; left: 100px; width: calc(100% - 200px); overflow: visible; pointer-events: none; z-index: 1; }
.enlace-arco path { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.arco-base { stroke: var(--hielo); stroke-width: 4; }
.arco-flujo { stroke: var(--azul); stroke-width: 4; stroke-dasharray: 2 14; opacity: 0; transition: opacity .3s; }
.enlace.viajando .arco-flujo { opacity: 1; animation: flujo .6s linear infinite; }
@keyframes flujo { to { stroke-dashoffset: -16; } }
.mcel { position: relative; z-index: 2; width: 200px; height: 330px; border-radius: 34px; padding: 8px; background: #1D1D1F; box-shadow: 0 26px 50px rgba(8, 61, 128, .22), inset 0 0 0 2px #3a3a3c; }
.mcel-pantalla { position: relative; height: 100%; border-radius: 27px; overflow: hidden; background: linear-gradient(180deg, #F5F5F7, #EAF2FB); padding: 34px 12px 12px; }
.mcel-pantalla::before { content: ""; position: absolute; top: 8px; left: 50%; width: 56px; height: 16px; margin-left: -28px; border-radius: 12px; background: #1D1D1F; }
.mcel-quien { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; margin: 0 0 8px; }
.mcel-quien svg { width: 22px; height: 22px; flex: 0 0 22px; }
.mcel-chip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 999px; padding: 4px 10px; font-size: 12.5px; font-weight: 700; color: var(--texto-2); }
.mcel-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--verde); }
.mnoti { position: absolute; left: 8px; right: 8px; top: 30px; z-index: 3; background: #fff; border-radius: 14px; padding: 8px 9px; font-size: 12px; line-height: 1.25; box-shadow: 0 8px 20px rgba(0, 0, 0, .16); display: flex; gap: 7px; transform: translateY(-140%); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.25), opacity .3s; }
.mnoti b { display: block; font-size: 12.5px; }
.mnoti-icono { flex: 0 0 24px; height: 24px; border-radius: 7px; background: #5E5E66; color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.enlace.p-yape .mnoti { transform: none; opacity: 1; }
.mcel-envia { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; gap: 6px; align-items: center; justify-content: center; background: #fff; border-radius: 14px; padding: 8px; font-size: 12.5px; font-weight: 700; color: var(--azul-osc); opacity: .55; transition: opacity .3s, box-shadow .3s; }
.mcel-envia svg { width: 16px; height: 16px; }
.enlace.p-envia .mcel-envia { opacity: 1; box-shadow: inset 0 0 0 2px var(--azul); }
.mhabla { position: absolute; left: 8px; right: 8px; bottom: 12px; z-index: 3; display: flex; gap: 6px; align-items: center; background: var(--azul-osc); color: #fff; border-radius: 16px; padding: 9px 9px; font-size: 13.5px; font-weight: 700; line-height: 1.2; transform: translateY(16px) scale(.92); opacity: 0; transition: transform .45s cubic-bezier(.2, .9, .3, 1.3), opacity .3s; }
.mhabla svg { flex: 0 0 30px; width: 30px; height: 30px; overflow: visible; }
.enlace.p-dice .mhabla { transform: none; opacity: 1; }
.mcel-der .anillos { width: 220px; height: 220px; margin: -110px 0 0 -110px; top: 70%; }
.enlace.p-dice .mcel-der { animation: zumbido .5s ease 1; }
@keyframes zumbido { 25% { transform: rotate(-1.5deg); } 75% { transform: rotate(1.5deg); } }
.enlace.p-dice .anillos i { animation: anillo 1.6s ease-out infinite; }
.enlace.p-dice .anillos i:nth-child(2) { animation-delay: .5s; }
.enlace.p-dice .anillos i:nth-child(3) { animation-delay: 1s; }
.mespera { position: absolute; left: 10px; right: 10px; bottom: 12px; text-align: center; font-size: 12.5px; color: var(--texto-2); font-weight: 700; transition: opacity .3s; }
.enlace.p-dice .mespera { opacity: 0; }
.aviso-viaja { position: absolute; z-index: 4; left: 0; top: 0; display: flex; align-items: center; gap: 6px; white-space: nowrap; background: #fff; color: var(--azul-osc); border-radius: 999px; padding: 7px 12px 7px 8px; font-size: 14px; font-weight: 700; box-shadow: 0 10px 24px rgba(8, 61, 128, .25), inset 0 0 0 2px var(--azul); opacity: 0; transform: translate(-50%, -50%) scale(.6); will-change: transform, opacity; pointer-events: none; }
.aviso-viaja .av-icono { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--azul); color: #fff; position: relative; }
.aviso-viaja .av-icono svg { width: 16px; height: 16px; }
.aviso-viaja .av-candado { position: absolute; right: -4px; bottom: -4px; width: 16px !important; height: 16px !important; padding: 2px; border-radius: 50%; background: var(--azul-osc); color: #fff; }
.enlace-rotulos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; margin-top: 16px; }
.enlace-lema-movil { display: none; }
.enlace-rotulos > span { font-weight: 700; font-size: 18px; line-height: 1.25; }
.enlace-rotulos > span small { display: block; font-weight: 400; color: var(--texto-2); font-size: 16px; margin-top: 2px; }
.enlace-rotulos > span:first-child { text-align: left; max-width: 200px; }
.enlace-rotulos > span:last-child { text-align: right; max-width: 200px; justify-self: end; }
.enlace-lema { position: absolute; z-index: 2; left: 50%; top: 150px; transform: translateX(-50%); background: var(--azul); color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 18px; white-space: nowrap; box-shadow: var(--sombra-azul); }
@media (max-width: 640px) {
  .enlace-escena { padding-top: 84px; }
  .mcel { width: 142px; height: 236px; border-radius: 26px; padding: 6px; }
  .mcel-pantalla { border-radius: 21px; padding: 26px 7px 8px; }
  .mcel-pantalla::before { width: 40px; height: 12px; margin-left: -20px; top: 6px; }
  .mcel-quien { font-size: 12px; gap: 4px; } .mcel-quien svg { width: 18px; height: 18px; flex-basis: 18px; }
  .mcel-chip { font-size: 11px; padding: 3px 7px; }
  .mnoti { left: 5px; right: 5px; top: 24px; font-size: 10.5px; padding: 6px; gap: 5px; }
  .mnoti b { font-size: 11px; } .mnoti-icono { flex-basis: 20px; height: 20px; font-size: 9px; }
  .mcel-envia { font-size: 11px; left: 6px; right: 6px; bottom: 8px; padding: 6px 4px; }
  .mhabla { left: 5px; right: 5px; bottom: 8px; font-size: 12px; padding: 7px 6px; border-radius: 13px; }
  .mhabla svg { width: 24px; height: 24px; flex-basis: 24px; }
  .mespera { font-size: 11px; left: 6px; right: 6px; bottom: 10px; }
  .enlace-arco { left: 71px; width: calc(100% - 142px); top: 8px; height: 112px; }
  .aviso-viaja { font-size: 12.5px; padding: 5px 10px 5px 5px; gap: 5px; }
  .aviso-viaja .av-icono { width: 24px; height: 24px; }
  .enlace-lema { display: none; }
  .enlace-lema-movil { display: block; grid-column: 1 / -1; order: -1; justify-self: center; background: var(--azul); color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 17px; box-shadow: var(--sombra-azul); }
  .enlace-rotulos > span { font-size: 16px; }
  .enlace-rotulos > span small { font-size: 15px; }
  .mcel-der .anillos { width: 150px; height: 150px; margin: -75px 0 0 -75px; }
}
@media (max-width: 350px) { .mcel { width: 124px; } .enlace-arco { left: 62px; width: calc(100% - 124px); } }

/* ---- precios ---- */
.fundador { max-width: 720px; margin: 24px auto 0; background: var(--azul-suave); border: 2px solid var(--azul); border-radius: 22px; padding: 18px 18px 20px; text-align: center; }
.fundador strong { display: block; color: var(--azul-osc); font-size: 21px; line-height: 1.25; }
.fundador > span { display: block; color: var(--texto-2); font-size: 17px; margin-top: 4px; }
.fundador[hidden] { display: none; }
.reloj { display: flex; justify-content: center; gap: 8px; margin-top: 14px; font-variant-numeric: tabular-nums; }
.reloj > div { min-width: 70px; background: var(--azul-osc); color: #fff; border-radius: 16px; padding: 8px 6px 6px; }
.reloj b { display: block; font-size: 32px; line-height: 1; }
.reloj small { display: block; font-size: 14px; color: var(--hielo); margin-top: 4px; }
.reloj b.tic { animation: tic .35s ease; }
@keyframes tic { 0% { transform: translateY(-4px); opacity: .4; } }
@media (max-width: 380px) { .reloj > div { min-width: 62px; } .reloj b { font-size: 28px; } }
.planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; margin-top: 28px; }
@media (max-width: 900px) { .planes { grid-template-columns: 1fr; } }
.plan { position: relative; background: var(--blanco); border: 2px solid var(--linea); border-radius: 28px; padding: 26px; display: flex; flex-direction: column; cursor: pointer; text-align: left; font: inherit; color: inherit; transition: border-color .15s, transform .2s var(--suave-salida), box-shadow .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: var(--sombra); }
.plan:active { transform: scale(.985); }
.plan[aria-pressed="true"] { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(11, 81, 168, .18), var(--sombra); }
.plan[aria-pressed="true"]::after { content: ""; position: absolute; top: 18px; right: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--azul) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px no-repeat; animation: saltito .4s var(--suave-salida) both; }
.plan.destacado { background: linear-gradient(180deg, var(--azul-suave), #fff 60%); }
.plan .insignia { align-self: flex-start; background: var(--azul); color: #fff; font-weight: 700; font-size: 14px; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.plan .insignia.gris { background: var(--fondo); color: var(--texto); }
.plan .precio { font-size: 50px; font-weight: 700; line-height: 1; margin: 8px 0 2px; }
.plan .tachado { text-decoration: line-through; color: var(--texto-2); font-size: 20px; margin-left: 8px; font-weight: 400; }
.plan .por-dia { color: var(--texto-2); margin-bottom: 14px; }
.plan ul { padding: 0; margin: auto 0 0; list-style: none; }
.plan li { padding-left: 30px; position: relative; margin: 8px 0; font-size: 17px; }
.plan li::before { content: "✓"; position: absolute; left: 4px; color: var(--verde); font-weight: 700; }
@media (max-width: 900px) { .plan.destacado { order: -1; } .plan .insignia[style*="hidden"] { display: none; } }
/* la oferta para ti (aparece solo después de la ventana de salida, con su reloj de 15 min) */
.plan-oferta { max-width: 720px; margin: 22px auto 0; }
.plan-oferta[hidden] { display: none; }
.plan-oferta .plan { width: 100%; border-color: var(--azul); background: linear-gradient(135deg, #fff, var(--azul-suave)); }
.plan-oferta .insignia { background: var(--verde); }
.oferta-vence { margin-top: 12px; display: inline-flex; align-self: flex-start; gap: 6px; background: var(--azul-osc); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pila { max-width: 720px; margin: 28px auto 0; text-align: center; }
.pila-titulo { font-weight: 700; margin-bottom: 8px; }
.pila ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pila li { background: var(--blanco); border-radius: 999px; padding: 6px 14px; font-size: 16px; border: 1px solid var(--linea); }

.compra { max-width: 560px; margin: 36px auto 0; }
.compra label { display: block; font-weight: 700; margin: 14px 0 6px; }
.compra input, .compra select, .compra textarea { width: 100%; min-height: 60px; border-radius: 16px; border: 2px solid var(--detalle); padding: 12px 16px; font: 400 21px "Llego Sans", system-ui; background: var(--blanco); color: var(--texto); transition: border-color .15s, box-shadow .15s; }
.compra input:focus { border-color: var(--azul); box-shadow: 0 0 0 4px rgba(11, 81, 168, .14); }
.compra .ayuda { font-size: 15px; color: var(--texto-2); margin-top: 4px; }
.compra .error { color: var(--rojo); font-weight: 700; min-height: 1.4em; margin: 10px 0; }
.compra .elegido { margin: 0 0 4px; font-size: 17px; color: var(--texto-2); }
.compra .elegido b { color: var(--texto); }
.nota-oferta { display: block; text-align: center; background: var(--azul-osc); color: #fff; border-radius: 14px; padding: 10px 14px; margin: 0 0 12px; font-weight: 700; font-size: 18px; font-variant-numeric: tabular-nums; }
.nota-oferta[hidden] { display: none; }
.garantia { display: flex; gap: 12px; align-items: flex-start; background: var(--verde-suave); color: #14401F; border-radius: 18px; padding: 16px; margin-top: 16px; font-size: 17px; }
.garantia svg { color: var(--verde); }

/* ---- ventana «Espera»: oferta al intentar salir (una vez por visitante) ---- */
.oferta-capa { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(6, 30, 64, .62); animation: capa .25s ease both; overflow-y: auto; }
.oferta-capa[hidden] { display: none; }
@keyframes capa { from { opacity: 0; } }
.oferta { position: relative; width: 100%; max-width: 460px; background: #fff; border-radius: 28px; padding: 30px 24px 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); text-align: center; animation: subir-oferta .4s var(--suave-salida) both; outline: none; }
@keyframes subir-oferta { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.oferta h2 { font-size: clamp(28px, 7vw, 36px); margin-bottom: .35em; }
.oferta .etiqueta { margin-bottom: .3em; }
.oferta-cerrar { position: absolute; top: 10px; right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--fondo); color: var(--texto); font-size: 30px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.oferta-cerrar:hover { background: var(--linea); }
.oferta-precio { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 6px 0 10px; }
.oferta-nuevo { font-size: 64px; font-weight: 700; line-height: 1; color: var(--azul); }
.oferta-antes { text-align: left; font-size: 16px; color: var(--texto-2); line-height: 1.35; }
.oferta-antes s { color: var(--texto); font-weight: 700; }
.oferta-antes span { display: block; }
.oferta p { font-size: 18px; }
.oferta-reloj { display: inline-flex; gap: 8px; align-items: center; background: var(--azul-suave); color: var(--azul-osc); border-radius: 999px; padding: 8px 16px; font-weight: 700; font-variant-numeric: tabular-nums; margin: 0 0 16px; }
.oferta-reloj b { font-size: 22px; }
.oferta .boton { margin-top: 10px; }
.oferta .boton.secundario { font-size: 18px; min-height: 56px; }
.oferta-letra { font-size: 14px !important; color: var(--texto-2); margin: 14px 0 0; }
html.sin-scroll, html.sin-scroll body { overflow: hidden; }

/* ---- preguntas ---- */
details { background: var(--fondo); border-radius: 20px; padding: 0 22px; margin: 12px 0; transition: background-color .2s; }
details[open] { background: var(--azul-suave); }
summary { cursor: pointer; font-weight: 700; font-size: 21px; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 30px; line-height: .8; color: var(--azul); transition: transform .25s var(--suave-salida); }
details[open] summary::after { content: "+"; transform: rotate(45deg); }
details > div { padding-bottom: 20px; color: var(--texto-2); }
details[open] > div { animation: entrar-fila .35s ease both; }

/* ---- llamado final ---- */
.final { padding-top: 40px; }
.final-caja { position: relative; overflow: hidden; background: var(--degradado); color: #fff; border-radius: 40px; padding: 56px 32px; text-align: center; }
.final-caja::before { content: ""; position: absolute; width: 520px; height: 520px; right: -180px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(68, 137, 223, .45), transparent 70%); pointer-events: none; }
.final-caja > * { position: relative; }
.final-caja h2 { color: #fff; max-width: 18ch; margin: 0 auto .4em; }
.final-caja .sub { font-size: 22px; color: #fff; }
.final-caja a:not(.boton) { color: #fff; }
.final-caja .chico { margin-top: 18px; color: var(--hielo); }
.final-caja .chico strong, .final-caja .chico span { color: #fff; }
.moneda-final { width: 110px; height: 110px; margin: 0 auto 10px; display: block; overflow: visible; }
.huella-caja { background: rgba(255, 255, 255, .1); color: #fff; max-width: 620px; margin: 22px auto 0; text-align: left; }
.huella-caja summary { font-size: 17px; padding: 14px 0; }
.huella-caja summary::after { color: #fff; }
.huella-caja > div { color: #fff; }
.huella { font-family: ui-monospace, Menlo, monospace; font-size: 13px; word-break: break-all; background: rgba(0, 0, 0, .18); border-radius: 12px; padding: 10px 12px; }
.legal .huella-caja { background: var(--azul-osc); }
@media (max-width: 560px) { .final-caja { padding: 40px 18px; border-radius: 28px; } .final-caja .boton { width: 100%; } }

/* ---- pie ---- */
.pie { background: var(--blanco); border-top: 1px solid var(--linea); color: var(--texto-2); padding: 48px 0 120px; font-size: 16px; }
.pie a { color: var(--azul); }
.pie .columnas { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .pie .columnas { grid-template-columns: 1fr; } }
.libro { display: inline-flex; align-items: center; gap: 10px; border: 2px solid var(--azul); border-radius: 14px; padding: 10px 14px; text-decoration: none; font-weight: 700; }

/* ---- botón fijo inferior en celular ---- */
.cta-fija { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; display: none; transition: transform .3s var(--suave-salida); }
@media (max-width: 760px) { .cta-fija { display: block; } }
.cta-fija .boton { width: 100%; box-shadow: 0 10px 30px rgba(8, 61, 128, .38); }
.cta-fija.fuera { transform: translateY(140%); }

/* ---- páginas legales, instalar, gracias ---- */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 26px; margin-top: 1.6em; }
.aviso-config { background: var(--rojo-suave); border: 2px dashed var(--rojo); border-radius: 14px; padding: 12px 16px; font-size: 16px; }
.aviso-config[hidden] { display: none; }

/* ---- entrada del héroe: sin esperar a JS ni al scroll (no retrasa lo primero que se ve) */
.entra { animation: entrar .7s var(--suave-salida) both; animation-delay: var(--d, 0s); }
.hero-visual { animation: entrar-visual .9s var(--suave-salida) both .25s; }
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } }
@keyframes entrar-visual { from { opacity: 0; transform: translateY(30px) scale(.97); } }

/* ---- aparición al hacer scroll (solo si hay JS y se permite movimiento) ---- */
.js .aparece { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--suave-salida), transform .7s var(--suave-salida); }
.js .aparece.desde-izq { transform: translateX(-30px); }
.js .aparece.desde-der { transform: translateX(30px); }
.js .aparece.crece { transform: scale(.94); }
.js .aparece.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; animation-delay: 0s !important; }
  .js .aparece { opacity: 1; transform: none; }
  .nota-venta { animation: none; }
  .boton.brilla::after { display: none; }
  .anillos { display: none; }
  .balanza-barra i { transform: none; }
}
