/* ==========================================================================
   BecaPrime 4 — hoja de estilos dedicada (landing de campaña + asistente app)
   Orden: tokens · base · botones · nav · hero · ticker · secciones (reel en
          móvil) · promesa · por qué · cómo · carreras · incluido · ahorro ·
          respaldo · faq · cierre · pie · barra fija/fab · asistente · hojas ·
          animaciones · tablet/escritorio
   ========================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --ff: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ffd: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;

  --ink: #0A0E27;
  --ink-2: #2B3352;
  --ink-3: #6B7391;
  --line: #E4E8F2;
  --line-2: #EEF1F8;
  --bg: #FFFFFF;
  --bg-2: #F5F7FC;

  --navy: #070B1F;
  --navy-2: #0F1A3D;
  --blue: #2563EB;
  --violet: #7C3AED;
  --green: #16A34A;
  --green-2: #22C55E;
  --green-3: #4ADE80;
  --lime: #BEF264;
  --green-bg: #DCFCE7;
  --green-ink: #14532D;
  --amber: #D97706;
  --amber-2: #F59E0B;
  --amber-bg: #FEF3C7;
  --rojo: #DC2626;
  --rojo-bg: #FEE2E2;
  --azul-bg: #DBEAFE;
  --violeta-bg: #EDE9FE;

  --grad: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  --grad-green: linear-gradient(135deg, #22C55E 0%, #15803D 100%);
  --grad-text: linear-gradient(90deg, #BEF264 0%, #4ADE80 45%, #22C55E 100%);

  --r: 20px;
  --r-l: 26px;
  --sh: 0 1px 2px rgba(10, 14, 39, .05), 0 6px 18px rgba(10, 14, 39, .07);
  --sh-l: 0 18px 50px rgba(7, 11, 31, .28);
  --gut: 18px;
  --tap: 50px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sat: env(safe-area-inset-top, 0px);
  --sab: env(safe-area-inset-bottom, 0px);
  --nav-h: 64px;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--ff); color: var(--ink); background: var(--bg);
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
body.wiz-open { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--ffd); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
s { color: var(--ink-3); font-weight: 500; }
.hidden { display: none !important; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gut); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 8px; }

/* ── Botones ────────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden;
  min-height: var(--tap); padding: 13px 22px; border: 0; border-radius: 999px;
  font-weight: 800; font-size: 16px; cursor: pointer; text-decoration: none; user-select: none;
  transition: transform .12s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary, .btn--hero { background: var(--grad-green); color: #fff; box-shadow: 0 10px 26px rgba(22, 163, 74, .38); }
.btn--hero { width: 100%; min-height: 60px; font-size: 18px; box-shadow: 0 14px 34px rgba(34, 197, 94, .45); }
/* El brillo animado solo en los CTA principales: menos repintado en gama baja */
.btn--hero::after {
  content: ""; position: absolute; top: -40%; left: -60%; width: 40%; height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
.btn--primary:disabled { filter: grayscale(.5) opacity(.55); box-shadow: none; cursor: not-allowed; }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn--block { width: 100%; }
.btn__arrow { transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: calc(var(--sat) + 10px) var(--gut) 10px; transition: background .3s, box-shadow .3s;
}
.nav.is-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line-2), 0 6px 20px rgba(10, 14, 39, .06); }
.nav__logo { height: 38px; width: auto; background: rgba(255, 255, 255, .96); padding: 5px 9px; border-radius: 12px; }
.nav.is-solid .nav__logo { background: transparent; padding: 0; }
.nav__r { display: flex; align-items: center; gap: 8px; }
.nav__wa { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #16A34A; text-decoration: none; }
.nav.is-solid .nav__wa { background: var(--green-bg); }
.nav__cta {
  display: none; border: 0; border-radius: 999px; padding: 10px 14px; background: var(--grad-green); color: #fff; font-weight: 800; font-size: 13.5px;
  cursor: pointer; opacity: 0; transform: translateY(-6px); pointer-events: none; transition: opacity .25s, transform .25s;
}
.nav.is-solid .nav__cta { opacity: 1; transform: none; pointer-events: auto; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: min(100vh, 860px); min-height: min(100svh, 860px); overflow: hidden; background: var(--navy); color: #fff;
  display: flex; flex-direction: column; justify-content: flex-start;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: kenburns 22s ease-in-out infinite alternate; }
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 31, .55) 0%, rgba(7, 11, 31, .25) 30%, rgba(7, 11, 31, .55) 55%, rgba(7, 11, 31, .96) 78%, #070B1F 100%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .28; pointer-events: none; will-change: transform; }
.hero__glow--a { width: 260px; height: 260px; right: -110px; bottom: 40px; background: #22C55E; animation: drift 12s ease-in-out infinite alternate; }
.hero__glow--b { width: 240px; height: 240px; left: -120px; bottom: 300px; background: #7C3AED; animation: drift 15s ease-in-out infinite alternate-reverse; }
.hero__floats { position: absolute; inset: 0; pointer-events: none; }
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  background: rgba(10, 14, 39, .55); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  animation: floaty 6s ease-in-out infinite; opacity: 0; animation-fill-mode: both;
}
/* Los chips viven en la franja de foto (entre la barra y el titular), nunca sobre el texto */
.float--a { top: calc(var(--sat) + 78px); left: 14px; animation-delay: .3s; }
.float--b { top: calc(var(--sat) + 122px); right: 14px; animation-delay: 1.1s; }
.float--c { top: calc(var(--sat) + 166px); left: 28px; animation-delay: 1.9s; }
.hero__body { position: relative; z-index: 2; padding-top: calc(var(--sat) + 222px); padding-bottom: 54px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 800;
  background: rgba(20, 40, 30, .6); border: 1px solid rgba(190, 242, 100, .45); color: #E9FFC2;
  animation: rise .6s var(--ease) both;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(190, 242, 100, .7); animation: ping 1.8s infinite; }
.hero__h1 { margin-top: 16px; font-size: clamp(32px, 9.4vw, 44px); line-height: 1.04; }
.hero__l1, .hero__l2 { display: block; animation: rise .7s var(--ease) both; }
.hero__l1 { animation-delay: .1s; }
.hero__l2 {
  margin-top: 4px; animation-delay: .25s;
  background: var(--grad-text); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: rise .7s var(--ease) .25s both, shimmer 5s linear 1s infinite;
}
.hero__p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .84); max-width: 34ch; animation: rise .7s var(--ease) .4s both; }
.hero__cta { margin-top: 22px; display: grid; gap: 10px; animation: rise .7s var(--ease) .5s both; }
.hero__note { margin-top: 12px; font-size: 12.5px; color: rgba(255, 255, 255, .7); font-weight: 600; animation: rise .7s var(--ease) .6s both; }
.hero__stats { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; animation: rise .7s var(--ease) .7s both; }
.hero__stats div { padding: 11px 6px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); text-align: center; }
.hero__stats b { display: block; font-family: var(--ffd); font-size: 22px; letter-spacing: -.02em; color: #fff; }
.hero__stats span { display: block; font-size: 11px; color: rgba(255, 255, 255, .7); font-weight: 700; line-height: 1.2; margin-top: 2px; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 14px; width: 22px; height: 34px; margin-left: -11px; border: 2px solid rgba(255, 255, 255, .35); border-radius: 12px; }
.hero__scroll i { position: absolute; left: 50%; top: 6px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollcue 1.8s ease-in-out infinite; }

/* ── Ticker ─────────────────────────────────────────────────────────────── */
.ticker { overflow: hidden; background: var(--navy); color: rgba(255, 255, 255, .85); border-top: 1px solid rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ticker__track { display: flex; gap: 0; width: max-content; animation: ticker 55s linear infinite; }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__track span { padding: 11px 18px; font-size: 13px; font-weight: 800; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; }
.ticker__track span::after { content: "•"; margin-left: 18px; color: var(--green-3); }

/* ── Secciones ──────────────────────────────────────────────────────────── */
.sec, .final { padding: 58px 0; scroll-margin-top: var(--nav-h); }
.sec h2 { font-size: clamp(26px, 7.2vw, 36px); margin-top: 10px; max-width: 22ch; }
.sec h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad-green); }
.eyebrow--light { color: var(--lime); }
.lead { margin-top: 12px; font-size: 16px; color: var(--ink-2); max-width: 46ch; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Filas horizontales deslizables en móvil (se convierten en cuadrícula en escritorio) */
.hrow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 12px; margin: 0 -4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hrow::-webkit-scrollbar { display: none; }
.hrow > * { flex: 0 0 82%; scroll-snap-align: center; }
.hrow__hint { margin-top: 2px; text-align: center; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.hrow__hint--light { color: rgba(255, 255, 255, .6); }

/* ── Promesa ────────────────────────────────────────────────────────────── */
.promise { background: var(--bg); }
.ptiles { margin-top: 22px; }
.ptile { position: relative; overflow: hidden; border-radius: var(--r-l); padding: 18px 20px; color: #fff; box-shadow: var(--sh); }
.ptile::before { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.ptile small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }
.ptile b { display: block; font-family: var(--ffd); font-size: clamp(30px, 9vw, 40px); letter-spacing: -.03em; line-height: 1.05; margin-top: 6px; }
.ptile span { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; opacity: .9; }
.ptile--dark { background: linear-gradient(135deg, #0F1A3D 0%, #070B1F 100%); }
.ptile--dark b { color: var(--lime); }
.ptile--green { background: var(--grad-green); }
.ptile--amber { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }

/* ── Por qué ────────────────────────────────────────────────────────────── */
.why { background: var(--bg-2); }
.wcards { margin-top: 22px; }
.wcard { background: #fff; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh); }
.wcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.wcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.wcard:hover .wcard__img img { transform: scale(1.05); }
.wcard__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(7, 11, 31, .55) 100%); }
.wcard__img i { position: absolute; z-index: 2; left: 14px; bottom: -22px; width: 56px; height: 56px; border-radius: 18px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 28px; box-shadow: var(--sh-l); }
.wcard__body { padding: 32px 18px 18px; }
.wcard__body h3 { font-size: 18px; }
.wcard__body p { margin-top: 6px; font-size: 14px; color: var(--ink-2); }
.why .btn--block { margin-top: 12px; }

/* ── Cómo ───────────────────────────────────────────────────────────────── */
.how__grid { margin-top: 22px; display: grid; gap: 18px; }
.hsteps { position: relative; display: grid; gap: 16px; }
.hsteps::before { content: ""; position: absolute; left: 21px; top: 24px; bottom: 24px; width: 3px; border-radius: 3px; background: var(--line); }
.hsteps li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.hsteps__n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--ffd); font-weight: 800; font-size: 16px; box-shadow: 0 8px 20px rgba(37, 99, 235, .35); }
.hsteps b { display: block; font-size: 16px; font-weight: 800; }
.hsteps p { margin-top: 3px; font-size: 13.5px; color: var(--ink-2); }
.how__img { position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh); aspect-ratio: 16 / 9; }
.how__img img { width: 100%; height: 100%; object-fit: cover; }
.how__img span { position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-size: 12.5px; font-weight: 800; box-shadow: var(--sh); }

/* ── Carreras ───────────────────────────────────────────────────────────── */
.programs { background: var(--bg); padding-bottom: 40px; }
.ltabs { margin-top: 18px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.ltabs::-webkit-scrollbar { display: none; }
.ltab { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 800; cursor: pointer; color: var(--ink-2); }
.ltab.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 18px var(--gut) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel::-webkit-scrollbar { display: none; }
.ccard {
  flex: 0 0 76%; max-width: 300px; scroll-snap-align: center; border-radius: var(--r-l); background: #fff; border: 1.5px solid var(--line);
  box-shadow: var(--sh); overflow: hidden; text-align: left; padding: 0; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s;
  animation: rise .5s var(--ease) both;
}
.ccard:active { transform: scale(.98); }
.ccard__top { display: block; position: relative; height: 118px; background: var(--tile, #EEF2F7); overflow: visible; }
.ccard__body { display: block; }
.ccard__top img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-l) var(--r-l) 0 0; }
.ccard__top::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-l) var(--r-l) 0 0; background: linear-gradient(180deg, rgba(7, 11, 31, .05) 0%, transparent 40%, rgba(7, 11, 31, .35) 100%); }
/* el ícono grande y reconocible sale de la foto para que se lea "esto es una carrera" */
.ccard__top i { position: absolute; z-index: 2; left: 12px; bottom: -22px; width: 54px; height: 54px; border-radius: 16px; background: var(--tile, #fff); border: 3px solid #fff; display: grid; place-items: center; font-style: normal; font-size: 27px; box-shadow: var(--sh-l); }
.ccard__tag { position: absolute; z-index: 2; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(10, 14, 39, .8); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.ccard__body { padding: 30px 14px 14px; }
.ccard__name { display: block; font-family: var(--ffd); font-size: 16.5px; font-weight: 800; line-height: 1.2; min-height: 2.4em; }
.ccard__sub { display: block; margin-top: 4px; font-size: 12.5px; color: var(--ink-3); }
.ccard__price { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ccard__price b { font-family: var(--ffd); font-size: 18px; color: var(--ink); }
.ccard__price b small { display: block; font-family: var(--ff); font-size: 11px; color: var(--ink-3); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ccard__zero { padding: 6px 10px; border-radius: 999px; background: var(--green-bg); color: var(--green-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.ccard__go { margin-top: 12px; display: block; width: 100%; padding: 12px; border-radius: 999px; border: 0; background: var(--grad-green); color: #fff; font-weight: 800; font-size: 14.5px; box-shadow: 0 8px 18px rgba(22, 163, 74, .3); }
.programs__hint { margin-top: 10px; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

/* ── Historias de éxito ─────────────────────────────────────────────────── */
.hist { background: var(--bg); }
.hist__row { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 20px var(--gut) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hist__row::-webkit-scrollbar { display: none; }
.hcard { flex: 0 0 82%; max-width: 340px; scroll-snap-align: center; background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: var(--r-l); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.hcard__stars { display: flex; gap: 2px; font-size: 15px; color: #CBD5E1; }
.hcard__stars i { font-style: normal; }
.hcard__stars i.is-on { color: #F59E0B; }
.hcard blockquote { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); flex: 1; }
.hcard blockquote::before { content: "“"; font-family: var(--ffd); font-size: 30px; line-height: 0; color: var(--green); margin-right: 4px; vertical-align: -10px; }
.hcard__who { display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: center; }
.hcard__av { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--ffd); font-weight: 800; }
.hcard__who strong { display: block; font-size: 14px; }
.hcard__who span:last-child { display: block; font-size: 12px; color: var(--ink-3); font-weight: 600; }

/* ── Comunidad ──────────────────────────────────────────────────────────── */
.comm { background: var(--bg-2); }
.comm__hero { margin-top: 20px; border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: var(--sh); }
.comm__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.comm__hero > div { padding: 14px 16px 16px; }
.comm__hero b { display: block; font-family: var(--ffd); font-size: 18px; margin-top: 6px; }
.comm__hero > div > span:last-child { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-2); }
.comm__tag { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.comm__tag--ya { background: var(--green-bg); color: var(--green-ink); }
.comm__tag--soon { background: var(--violeta-bg); color: #5B21B6; }
.ccomms { margin-top: 12px; }
.ccomm { position: relative; background: #fff; border-radius: var(--r-l); padding: 16px; box-shadow: var(--sh); overflow: hidden; }
.ccomm.is-soon { border: 1.5px dashed #C4B5FD; }
.ccomm__img { width: calc(100% + 32px); margin: -16px -16px 12px; aspect-ratio: 16 / 7; object-fit: cover; }
.ccomm i { display: block; font-style: normal; font-size: 28px; margin-top: 10px; }
.ccomm b { display: block; font-family: var(--ffd); font-size: 16px; margin-top: 6px; }
.ccomm p { margin-top: 5px; font-size: 13.5px; color: var(--ink-2); }
.comm__note { margin-top: 12px; text-align: center; font-size: 14px; color: var(--ink-2); }
.comm__note a { color: var(--green); font-weight: 800; }

/* ── Incluido (oscuro) ──────────────────────────────────────────────────── */
.perks { background: radial-gradient(900px 500px at 80% -10%, rgba(124, 58, 237, .35), transparent 60%), radial-gradient(700px 400px at -10% 100%, rgba(34, 197, 94, .25), transparent 60%), var(--navy); color: #fff; }
.perks h2 { color: #fff; }
.perks h2 em { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; }
.perks__hero { margin-top: 20px; border-radius: var(--r-l); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.perks__hero img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.perks__hero div { padding: 12px 16px 14px; }
.perks__hero b { display: block; font-family: var(--ffd); font-size: 16px; }
.perks__hero span { display: block; margin-top: 3px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.pgrid { margin-top: 12px; }
.pgrid.hrow > * { flex: 0 0 31%; }
.perk { padding: 14px 8px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); text-align: center; }
.perk i { display: block; font-style: normal; font-size: 26px; }
.perk b { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.25; }
.perk span { display: block; margin-top: 3px; font-size: 11px; color: rgba(255, 255, 255, .65); line-height: 1.25; }

/* ── Ahorro ─────────────────────────────────────────────────────────────── */
.save { background: var(--bg-2); }
.savecard { margin-top: 22px; background: #fff; border-radius: var(--r-l); padding: 18px; box-shadow: var(--sh); }
.savecard__prog { display: flex; align-items: center; gap: 10px; }
.savecard__prog i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-size: 22px; background: var(--tile, var(--bg-2)); overflow: hidden; }
.savecard__prog i img { width: 100%; height: 100%; object-fit: cover; }
.savecard__prog b { display: block; font-size: 15px; }
.savecard__prog span { display: block; font-size: 12px; color: var(--ink-3); }
.savecard__rows { margin-top: 14px; display: grid; gap: 10px; }
.srow2 { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; align-items: center; }
.srow2 span { font-size: 13.5px; font-weight: 700; }
.srow2 small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.srow2 s { font-size: 13px; }
.srow2 b { font-family: var(--ffd); font-size: 15px; color: var(--green); }
.srow2 .sbar { grid-column: 1 / -1; height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.srow2 .sbar i { display: block; height: 100%; width: 0; border-radius: 8px; background: linear-gradient(90deg, #CBD5E1, #94A3B8); transition: width 1.2s var(--ease); }
.srow2 .sbar i.is-you { background: var(--grad-green); }
.savecard__total { margin-top: 16px; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-radius: 16px; background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; }
.savecard__total span { font-size: 13.5px; font-weight: 800; }
.savecard__total b { font-family: var(--ffd); font-size: 24px; letter-spacing: -.02em; }
.savecard__cta { margin-top: 12px; }
.save__note { margin-top: 12px; text-align: center; font-size: 12px; color: var(--ink-3); }

/* Letra pequeña: cobros administrativos (discreta, plegada) */
.fine { font-size: 11px; color: var(--ink-3); line-height: 1.45; }
.fine summary { cursor: pointer; list-style: none; opacity: .8; }
.fine summary::-webkit-details-marker { display: none; }
.fine summary:hover { opacity: 1; text-decoration: underline; }
.fine ul, .fine__list { margin-top: 6px; display: grid; gap: 3px; }
.fine li, .fine__list li { display: flex; justify-content: space-between; gap: 10px; }
.fine li b, .fine__list li b { font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.fine p { margin-top: 6px; }
.fine--land { margin-top: 10px; text-align: center; }
.fine--land ul { max-width: 360px; margin-left: auto; margin-right: auto; text-align: left; }
.fine--pago { margin-top: 8px; padding: 0 6px; }
.fine__list { font-size: 13px; }

/* ── Respaldo ───────────────────────────────────────────────────────────── */
.trust__img { position: relative; margin-top: 20px; border-radius: var(--r-l); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--sh); }
.trust__img img { width: 100%; height: 100%; object-fit: cover; }
.trust__img span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 9px 12px; border-radius: 14px; background: rgba(255, 255, 255, .94); font-size: 12.5px; font-weight: 800; }
.tcards { margin-top: 12px; }
.tcard { padding: 14px 16px; border-radius: 18px; background: var(--bg-2); border: 1.5px solid var(--line-2); }
.tcard__code { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.tcard b { display: block; margin-top: 8px; font-size: 15px; }
.tcard span:last-child { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }
.trust__note { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq { margin-top: 18px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r-l); padding: 4px 16px; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 0; }
.faq summary { padding: 13px 0; font-weight: 800; font-size: 14.5px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink-2); font-weight: 900; transition: transform .2s; }
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); background: var(--green-bg); color: var(--green-ink); }
.faq p { padding: 0 0 13px; font-size: 14px; color: var(--ink-2); }
.faq__more { margin-top: 14px; text-align: center; font-size: 14px; color: var(--ink-2); }
.faq__more a { color: var(--green); font-weight: 800; }

/* ── Cierre ─────────────────────────────────────────────────────────────── */
.final { position: relative; overflow: hidden; padding: 72px 0 84px; color: #fff; text-align: center; background: var(--navy); }
.final__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.final__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 11, 31, .82) 0%, rgba(7, 11, 31, .6) 50%, rgba(7, 11, 31, .9) 100%); }
.final__body { position: relative; z-index: 2; }
.final h2 { margin-top: 14px; font-size: clamp(28px, 8vw, 40px); color: #fff; }
.final h2 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final p { margin-top: 12px; font-size: 15.5px; color: rgba(255, 255, 255, .82); }
.final .btn--hero { margin-top: 22px; }
.final__trust { margin-top: 14px; font-size: 12px; color: rgba(255, 255, 255, .65); }
.foot { background: #04071A; color: rgba(255, 255, 255, .6); padding: 22px 0 calc(96px + var(--sab)); font-size: 12px; line-height: 1.6; }
.foot p + p { margin-top: 6px; }
.foot strong { color: rgba(255, 255, 255, .85); }
.foot button { border: 0; background: none; padding: 0; color: rgba(255, 255, 255, .8); text-decoration: underline; cursor: pointer; font-size: 12px; }

/* ── Barra fija + FAB ───────────────────────────────────────────────────── */
.sticky {
  position: fixed; z-index: 45; left: 12px; right: 12px; bottom: calc(12px + var(--sab));
  display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center;
  padding: 10px 10px 10px 16px; border-radius: 22px; background: #fff;
  box-shadow: 0 14px 40px rgba(7, 11, 31, .22), 0 0 0 1px var(--line-2);
  transform: translateY(130%); transition: transform .35s var(--ease);
}
.sticky.is-on { transform: none; }
.sticky b { display: block; font-family: var(--ffd); font-size: 14.5px; }
.sticky small { display: block; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.sticky .btn { min-height: 46px; padding: 10px 16px; font-size: 14.5px; }
.fab {
  position: fixed; z-index: 44; right: 14px; bottom: calc(88px + var(--sab)); width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37, 211, 102, .45);
  transform: scale(0); transition: transform .3s var(--ease);
}
.fab.is-on { transform: none; }
body.wiz-open .sticky, body.wiz-open .fab { display: none; }

/* Aviso social (datos reales: personas viendo / inscripciones recientes) */
.social {
  position: fixed; z-index: 46; left: 12px; right: 84px; bottom: calc(88px + var(--sab));
  display: grid; grid-template-columns: 34px 1fr 30px; gap: 10px; align-items: center;
  padding: 10px 8px 10px 12px; border-radius: 18px; background: #fff; color: var(--ink);
  box-shadow: 0 12px 32px rgba(7, 11, 31, .2), 0 0 0 1px var(--line-2);
  font-size: 13px; font-weight: 700; line-height: 1.3; animation: up .35s var(--ease);
}
.social[hidden] { display: none; }
.social i { width: 34px; height: 34px; border-radius: 12px; background: var(--green-bg); display: grid; place-items: center; font-style: normal; font-size: 17px; }
.social button { width: 30px; height: 30px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--ink-3); cursor: pointer; font-size: 13px; }
body.wiz-open .social { display: none; }

/* ══════════════ ASISTENTE (app) ══════════════ */
.app { position: fixed; inset: 0; z-index: 100; height: 100dvh; display: flex; background: var(--bg); overflow: hidden; animation: appin .32s var(--ease); }
.app[hidden] { display: none; }
.app__aside { display: none; }
.app__main { flex: 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; }
.bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; padding: calc(var(--sat) + 8px) 10px 8px; background: #fff; border-bottom: 1px solid var(--line-2); flex: none; min-height: 62px; }
.bar__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; cursor: pointer; color: var(--ink-2); }
.bar__btn:active { background: var(--line); }
.bar__mid { min-width: 0; }
.prog { height: 7px; border-radius: 7px; background: var(--line); overflow: hidden; }
.prog__fill { height: 100%; width: 0; border-radius: 7px; background: var(--grad-green); transition: width .45s var(--ease); }
.bar__label { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-top: 5px; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.bar__label strong { color: var(--ink); font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* overflow: clip evita que un focus()/scrollIntoView desplace el escenario hacia la pantalla vecina */
.stage { flex: 1; position: relative; overflow: hidden; overflow: clip; min-height: 0; }
.screen {
  position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  padding: 18px var(--gut) 32px; opacity: 0; visibility: hidden; transform: translateX(48px);
  transition: transform .3s var(--ease), opacity .24s ease, visibility 0s linear .3s;
}
.screen.is-out { transform: translateX(-48px); }
.screen.is-on { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; z-index: 1; }
.q { margin-bottom: 16px; }
.q h2 { font-size: 24px; }
.q p { margin-top: 6px; font-size: 14.5px; color: var(--ink-2); }
.q--tight { margin-top: 14px; }
.reassure { margin-top: 16px; text-align: center; font-size: 12.5px; color: var(--ink-3); font-weight: 600; }

/* tarjetas de opción */
.opts { display: grid; gap: 10px; }
.opt {
  position: relative; display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 10px 12px 10px 10px; box-shadow: var(--sh); cursor: pointer;
  animation: rise .35s var(--ease) both; transition: transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}
.opt:active { transform: scale(.985); }
.opt.is-on { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-bg), var(--sh); }
.opt--big { grid-template-columns: 72px 1fr auto; padding: 12px; }
.opt__tile { position: relative; width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; background: var(--tile, #EEF2F7); overflow: hidden; }
.opt__tile img { width: 100%; height: 100%; object-fit: cover; }
.opt__tile em { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 8px; background: #fff; display: grid; place-items: center; font-style: normal; font-size: 13px; box-shadow: var(--sh); }
.opt--big .opt__tile { width: 72px; height: 72px; }
.opt__body { min-width: 0; }
.opt__name { display: block; font-family: var(--ffd); font-weight: 800; font-size: 15.5px; line-height: 1.2; }
.opt--big .opt__name { font-size: 17px; }
.opt__sub { display: block; margin-top: 3px; font-size: 12.5px; color: var(--ink-3); line-height: 1.3; }
.opt__price { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.opt__price b { color: var(--green); font-weight: 800; }
.opt__chev { color: var(--ink-3); font-size: 22px; line-height: 1; text-align: center; }
/* botón visible en cada tarjeta: que se note que se toca */
.opt__go { display: inline-grid; place-items: center; min-width: 58px; padding: 8px 10px; border-radius: 999px; background: var(--green-bg); color: var(--green-ink); font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.opt.is-on .opt__go { background: var(--green); color: #fff; }
.opt--big .opt__go { background: var(--grad-green); color: #fff; }
.opt__tag { position: absolute; top: -9px; right: 12px; padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }

/* programa elegido */
.pick { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; background: var(--bg-2); border-radius: 18px; padding: 10px 12px; }
.pick__tile { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 23px; background: var(--tile, #fff); overflow: hidden; }
.pick__tile img { width: 100%; height: 100%; object-fit: cover; }
.pick small { display: block; font-size: 11px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; }
.pick strong { display: block; font-family: var(--ffd); font-size: 14.5px; line-height: 1.2; }
.pick button { border: 0; background: #fff; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; color: var(--blue); cursor: pointer; box-shadow: var(--sh); }

/* dinero */
.money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.money__c { position: relative; overflow: hidden; border-radius: 20px; padding: 14px 14px 12px; }
.money__c::before { content: ""; position: absolute; right: -30px; top: -30px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.money__c small { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
.money__c b { display: block; font-family: var(--ffd); font-size: 27px; letter-spacing: -.03em; margin-top: 4px; line-height: 1.05; }
.money__c span { display: block; margin-top: 5px; font-size: 12px; line-height: 1.3; opacity: .9; }
.money__c--hoy { background: linear-gradient(135deg, #0F1A3D, #070B1F); color: #fff; }
.money__c--mes { background: var(--grad-green); color: #fff; }
.money__c--mes.is-plan { background: var(--grad); }
.money__c--mes s { color: inherit; opacity: .75; }

/* planes: carrusel horizontal en móvil, 3 columnas en escritorio */
.plans { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px 0 8px; margin: 0 calc(-1 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding: 0 var(--gut); }
.plans::-webkit-scrollbar { display: none; }
.plan { flex: 0 0 84%; scroll-snap-align: center; position: relative; text-align: left; background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; cursor: pointer; box-shadow: var(--sh); transition: border-color .15s ease, box-shadow .15s ease, transform .12s ease; }
.plan:active { transform: scale(.99); }
.plan.is-on { border-color: var(--plan, var(--green)); box-shadow: 0 0 0 3px var(--plan-bg, var(--green-bg)), var(--sh); }
.plan--verde { --plan: var(--green); --plan-bg: var(--green-bg); }
.plan--azul { --plan: var(--blue); --plan-bg: var(--azul-bg); }
.plan--violeta { --plan: var(--violet); --plan-bg: var(--violeta-bg); }
.plan__flag { position: absolute; top: -10px; left: 14px; padding: 3px 10px; border-radius: 999px; background: var(--plan, var(--green)); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.plan__top { display: grid; grid-template-columns: 24px 1fr auto; gap: 10px; align-items: center; }
.plan__radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; transition: all .15s; }
.plan.is-on .plan__radio { border-color: var(--plan); background: var(--plan); }
.plan.is-on .plan__radio::after { content: "✓"; color: #fff; font-size: 12px; font-weight: 900; }
.plan__name { display: block; font-family: var(--ffd); font-weight: 800; font-size: 16px; }
.plan__lema { display: block; font-size: 12.5px; color: var(--ink-3); }
.plan__price { text-align: right; }
.plan__price b { display: block; font-family: var(--ffd); font-size: 18px; letter-spacing: -.02em; color: var(--plan, var(--green)); }
.plan__price small { display: block; font-size: 11px; color: var(--ink-3); font-weight: 700; }
.plan__desc { display: block; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.plan__feats { margin-top: 10px; display: grid; gap: 6px; }
.plan__feats li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; font-size: 13px; color: var(--ink-2); align-items: start; }
.plan__feats li i { font-style: normal; color: var(--plan, var(--green)); font-weight: 900; }
.plan__feats li.is-base { color: var(--ink-3); }
.plan__more { display: block; margin-top: 8px; font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.plans__dots { display: flex; justify-content: center; gap: 6px; margin-top: 2px; }
.plans__dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background .2s, width .2s; }
.plans__dots i.is-on { width: 20px; border-radius: 7px; background: var(--ink); }

/* grupos y chips */
.grp { margin-top: 14px; }
.grp__t { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.grp__t small { font-weight: 600; color: var(--ink-3); }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.chips--col { grid-template-columns: 1fr; }
.chips--4 { grid-template-columns: repeat(4, 1fr); }
.chip { position: relative; min-height: var(--tap); padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; cursor: pointer; transition: border-color .15s, background .15s, transform .12s; }
.chip:active { transform: scale(.98); }
.chip b { display: block; font-size: 14px; font-weight: 800; line-height: 1.2; }
.chip small { display: block; font-size: 12px; color: var(--ink-3); margin-top: 2px; line-height: 1.25; }
.chip.is-on { border-color: var(--green); background: var(--green-bg); }
.chip.is-on b { color: var(--green-ink); }
.chip.is-on::after { content: "✓"; position: absolute; top: 7px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--green); color: #fff; font-size: 11px; font-weight: 900; display: grid; place-items: center; }
.chip--mes { text-align: center; padding: 10px 4px; }
.chip--mes b { font-size: 14.5px; }
.chip--mes.is-on::after { top: 4px; right: 4px; width: 14px; height: 14px; font-size: 9px; }
.mnote { margin-top: 9px; padding: 9px 12px; border-radius: 12px; background: var(--bg-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.mnote strong { color: var(--ink); }

/* malla del mes (plegada por defecto) */
.malla { margin-top: 16px; background: var(--bg-2); border-radius: var(--r); padding: 0; }
.malla__h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; cursor: pointer; list-style: none; }
.malla__h::-webkit-details-marker { display: none; }
.malla__h strong { font-family: var(--ffd); font-size: 14.5px; flex: 1; }
.malla__h span { font-size: 12px; color: var(--ink-3); font-weight: 700; white-space: nowrap; }
.malla__chev { width: 26px; height: 26px; border-radius: 50%; background: #fff; flex: none; position: relative; box-shadow: var(--sh); }
.malla__chev::after { content: ""; position: absolute; left: 9px; top: 7px; width: 7px; height: 7px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); transition: transform .2s; }
.malla[open] .malla__chev::after { transform: rotate(-135deg); top: 11px; }
.malla__list { display: grid; gap: 7px; padding: 0 14px; }
.malla__list li { display: grid; grid-template-columns: 30px 1fr; gap: 9px; align-items: center; background: #fff; border-radius: 12px; padding: 8px 10px; font-size: 13.5px; font-weight: 700; animation: rise .3s var(--ease) both; }
.malla__list li i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-style: normal; font-size: 15px; background: var(--bg-2); }
.malla__list li small { display: block; font-weight: 500; font-size: 11.5px; color: var(--ink-3); }
.malla__list--chips { grid-template-columns: 1fr 1fr; }
.malla__list--chips li { grid-template-columns: 1fr; font-size: 12.5px; padding: 8px 10px; }
.malla__more { margin: 10px 14px 14px; width: calc(100% - 28px); min-height: 42px; border: 1.5px dashed #CBD5E1; border-radius: 12px; background: transparent; font-size: 13.5px; font-weight: 800; color: var(--blue); cursor: pointer; }
.malla__note { margin: 8px 14px 14px; font-size: 12px; color: var(--ink-3); }
.inst { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); line-height: 1.4; }
.inst strong { color: var(--ink-2); }

/* campos */
.recap { background: var(--green-bg); color: var(--green-ink); border-radius: 14px; padding: 11px 13px; font-size: 13.5px; margin-bottom: 14px; line-height: 1.45; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.field label span { font-weight: 600; color: var(--ink-3); }
.field input { width: 100%; height: 54px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; -webkit-appearance: none; transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px var(--green-bg); }
.field.is-err input { border-color: var(--rojo); box-shadow: 0 0 0 3px var(--rojo-bg); }
.field .err { display: block; margin-top: 5px; font-size: 12.5px; color: var(--rojo); font-weight: 700; }
.field__hint { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
.docs { display: flex; flex-wrap: wrap; gap: 7px; }
.doc { min-height: 38px; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 800; cursor: pointer; }
.doc.is-on { border-color: var(--green); background: var(--green-bg); color: var(--green-ink); }
.welcome { background: var(--green-bg); color: var(--green-ink); border-radius: 14px; padding: 11px 13px; font-size: 13.5px; margin-bottom: 14px; }

/* resumen y pago */
.sum { background: #fff; border: 1.5px solid var(--line); border-radius: var(--r); padding: 14px; box-shadow: var(--sh); }
.sum__prog { display: grid; grid-template-columns: 46px 1fr; gap: 10px; align-items: center; }
.sum__prog i { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-style: normal; font-size: 23px; background: var(--tile, var(--bg-2)); overflow: hidden; }
.sum__prog i img { width: 100%; height: 100%; object-fit: cover; }
.sum__prog strong { display: block; font-family: var(--ffd); font-size: 15.5px; line-height: 1.2; }
.sum__prog span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.sum__start { margin-top: 12px; background: var(--bg-2); border-radius: 12px; padding: 10px 12px; font-size: 13px; color: var(--ink-2); }
.sum__start strong { color: var(--ink); }
.sum__start ul { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 5px; }
.sum__start li { background: #fff; border-radius: 8px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; }
.sum__rows { margin-top: 12px; border-top: 1px dashed var(--line); }
.srow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.srow strong { display: block; font-size: 13.5px; }
.srow small { display: block; font-size: 11.5px; color: var(--ink-3); }
.srow__val { text-align: right; white-space: nowrap; }
.srow__val s { display: block; font-size: 11.5px; }
.srow__val b { font-family: var(--ffd); font-size: 15px; }
.srow__val .free { font-family: var(--ffd); font-size: 15px; font-weight: 800; color: var(--green); }
.sum__save { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #FEF3C7, #FDE68A); color: #92400E; border-radius: 12px; padding: 10px 12px; font-size: 13px; font-weight: 800; }
.sum__save b { font-family: var(--ffd); font-size: 16px; }
.sum__edit { margin-top: 10px; width: 100%; min-height: 40px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 13px; font-weight: 800; color: var(--ink-2); cursor: pointer; }
.payopts { display: grid; gap: 8px; }
.payopts button { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; }
.payopts button i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); }
.payopts button.is-on { border-color: var(--green); background: var(--green-bg); }
.payopts button.is-on i { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 3px #fff; }
.payopts strong { display: block; font-size: 14px; }
.payopts small { display: block; font-size: 11.8px; color: var(--ink-3); line-height: 1.3; }
.payopts b { font-family: var(--ffd); font-size: 14.5px; white-space: nowrap; }
.payopts b small { display: inline; font-family: var(--ff); color: var(--ink-3); font-size: 11px; }
.note { margin-top: 8px; font-size: 12px; color: var(--ink-3); }
.total { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #0F1A3D, #070B1F); color: #fff; border-radius: 18px; padding: 14px 16px; }
.total strong { display: block; font-size: 14px; }
.total small { display: block; font-size: 11.5px; opacity: .7; }
.total b { font-family: var(--ffd); font-size: 27px; letter-spacing: -.03em; color: var(--lime); }
.terms { display: grid; grid-template-columns: 24px 1fr; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--ink-2); line-height: 1.45; cursor: pointer; padding: 10px; border-radius: 12px; border: 1.5px solid transparent; }
.terms input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--green); }
.terms button { border: 0; background: none; padding: 0; font: inherit; font-weight: 800; color: var(--blue); text-decoration: underline; cursor: pointer; }
.terms.is-shake { animation: shake .5s; border-color: var(--rojo); background: var(--rojo-bg); }
.safe { margin-top: 12px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; font-size: 11.5px; color: var(--ink-3); font-weight: 700; }
.help { margin-top: 12px; text-align: center; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.help a { display: inline-block; margin: 4px 4px 0; padding: 7px 14px; border-radius: 999px; background: var(--green-bg); color: var(--green-ink); font-weight: 800; text-decoration: none; }
.help a.is-call { background: var(--azul-bg); color: #1E40AF; }

/* dock */
.dock { flex: none; display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px var(--gut) calc(10px + var(--sab)); background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -8px 24px rgba(10, 14, 39, .06); }
body.on-tipo .dock, body.on-programa .dock, body.on-nivel .dock { display: none; }
.dock__info small { display: block; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-3); }
.dock__info strong { display: block; font-family: var(--ffd); font-size: 18px; letter-spacing: -.02em; line-height: 1.1; white-space: nowrap; }
.dock__info em { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--green); }
.dock__cta { min-height: 52px; font-size: 16px; padding: 12px 16px; }

/* ── Hojas inferiores ───────────────────────────────────────────────────── */
.sheet { border: 0; padding: 0; margin: 0; width: 100%; max-width: 100%; max-height: 90dvh; position: fixed; left: 0; right: 0; bottom: 0; top: auto; background: #fff; color: var(--ink); border-radius: 26px 26px 0 0; box-shadow: var(--sh-l); overflow: hidden; flex-direction: column; }
.sheet[open] { display: flex; animation: up .3s var(--ease); }
.sheet::backdrop { background: rgba(7, 11, 31, .6); }
.sheet__grab { width: 40px; height: 5px; border-radius: 5px; background: var(--line); margin: 10px auto 0; flex: none; }
.sheet__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 18px 12px; flex: none; }
.sheet__head h3 { font-size: 19px; }
.sheet__x { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-size: 17px; cursor: pointer; color: var(--ink-2); flex: none; }
.sheet__body { overflow-y: auto; padding: 0 18px 18px; flex: 1; min-height: 0; -webkit-overflow-scrolling: touch; }
.sheet__body--text h4 { font-size: 14px; margin: 14px 0 4px; }
.sheet__body--text p { font-size: 13.5px; color: var(--ink-2); }
.sheet__foot { flex: none; padding: 12px 18px calc(12px + var(--sab)); border-top: 1px solid var(--line-2); background: #fff; }
.why0 { background: var(--green-bg); color: var(--green-ink); border-radius: 16px; padding: 12px 14px; }
.why0 strong { display: block; font-size: 15px; margin-bottom: 4px; }
.why0 p { font-size: 13.5px; }
.steps { margin-top: 14px; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.steps__n { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.steps strong { display: block; font-size: 14.5px; }
.steps p { margin-top: 3px; font-size: 13px; color: var(--ink-2); }
.legal { margin-top: 16px; display: grid; gap: 8px; }
.legal div { background: var(--bg-2); border-radius: 12px; padding: 10px 12px; }
.legal strong { display: block; font-size: 13.5px; }
.legal span { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; margin-top: 2px; }
.year { display: grid; gap: 6px; }
.year div { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--bg-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.35; }
.year b { font-size: 12.5px; color: var(--ink); }
.year .is-now { background: var(--green-bg); color: var(--green-ink); }
.year .is-now b { color: var(--green-ink); }
.year .is-prac { background: var(--amber-bg); }
.year .is-prac strong { color: var(--amber); }
.prac { margin-top: 12px; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; background: var(--amber-bg); color: var(--amber); border-radius: 14px; padding: 12px; font-size: 13px; }
.prac i { font-style: normal; font-size: 22px; }

/* ── Toast · ocupado · reanudar ─────────────────────────────────────────── */
.toast { position: fixed; z-index: 160; top: calc(var(--sat) + 12px); left: 50%; transform: translate(-50%, -20px); display: flex; align-items: center; gap: 12px; max-width: min(92vw, 420px); padding: 12px 14px 12px 16px; background: var(--navy-2); color: #fff; border-radius: 14px; font-size: 14px; font-weight: 700; box-shadow: var(--sh-l); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast button { border: 0; background: rgba(255, 255, 255, .15); color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; flex: none; }
.busy { position: fixed; inset: 0; z-index: 170; display: none; place-items: center; background: rgba(255, 255, 255, .93); text-align: center; padding: 24px; }
.busy.is-on { display: grid; }
.busy strong { display: block; margin-top: 16px; font-size: 17px; }
.busy span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--ink-3); }
.busy__spin { width: 46px; height: 46px; margin: 0 auto; border-radius: 50%; border: 4px solid var(--green-bg); border-top-color: var(--green); animation: spin .8s linear infinite; }
.resume { position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(12px + var(--sab)); background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: var(--sh-l); animation: up .3s var(--ease); }
.resume strong { display: block; font-size: 15px; }
.resume p { margin-top: 4px; font-size: 13px; color: var(--ink-2); }
.resume div { display: flex; gap: 8px; margin-top: 10px; }
.resume button { flex: 1; min-height: 42px; border: 0; border-radius: 999px; font-weight: 800; cursor: pointer; }
.resume .is-yes { background: var(--grad-green); color: #fff; }
.resume .is-no { background: var(--bg-2); color: var(--ink-2); }

/* ── Animaciones ────────────────────────────────────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes up { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
@keyframes appin { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(190, 242, 100, .7); } 70% { box-shadow: 0 0 0 9px rgba(190, 242, 100, 0); } 100% { box-shadow: 0 0 0 0 rgba(190, 242, 100, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shake { 0%, 100% { transform: none; } 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(30px, -40px); } }
@keyframes floaty { 0% { opacity: 0; transform: translateY(10px); } 12% { opacity: 1; transform: translateY(0); } 50% { transform: translateY(-9px); } 88% { opacity: 1; transform: translateY(0); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes shimmer { 0% { background-position: 0% 50%; } 100% { background-position: 200% 50%; } }
@keyframes shine { 0% { left: -60%; } 40%, 100% { left: 130%; } }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scrollcue { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .float { opacity: 1; }
  html { scroll-snap-type: none !important; }
}

/* ── Móvil: cada sección es un "reel" (encaja al deslizar) ──────────────── */
@media (max-width: 719px) {
  html { scroll-snap-type: y mandatory; scroll-padding-top: 0; }
  body.wiz-open, html:has(body.wiz-open) { scroll-snap-type: none; }
  .hero, main.land > .sec, .final { scroll-snap-align: start; scroll-snap-stop: always; }
  .sec { min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: center; padding: 76px 0 48px; }
  .sec h2 { font-size: clamp(24px, 6.8vw, 32px); }
  .programs { padding-bottom: 40px; }
  .faqs { justify-content: flex-start; }
  .final { min-height: min(100svh, 820px); display: flex; flex-direction: column; justify-content: center; }
}

/* ── Tablet / escritorio ────────────────────────────────────────────────── */
@media (min-width: 720px) {
  .nav__cta { display: inline-block; }
  .hero { min-height: min(92vh, 900px); justify-content: center; }
  .hero__body { padding-top: 120px; padding-bottom: 80px; max-width: 1080px; }
  .hero__h1 { font-size: clamp(44px, 6vw, 68px); max-width: 16ch; }
  .hero__p { font-size: 18px; max-width: 48ch; }
  .hero__cta { grid-template-columns: auto auto; justify-content: start; }
  .btn--hero { width: auto; padding: 16px 34px; }
  .hero__stats { max-width: 520px; }
  .float--a { top: 26%; left: auto; right: 20%; } .float--b { top: 40%; right: 6%; } .float--c { top: 54%; left: auto; right: 24%; }
  .sec { padding: 84px 0; }
  .hrow { display: grid; overflow: visible; padding: 0; margin: 0; gap: 14px; }
  .hrow > * { flex: none; }
  .hrow__hint { display: none; }
  .ptiles { grid-template-columns: repeat(3, 1fr); }
  .wcards { grid-template-columns: repeat(2, 1fr); }
  .how__grid { grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
  .hsteps { gap: 22px; }
  .how__img { aspect-ratio: 4 / 3; }
  .carousel { padding-left: max(var(--gut), calc((100% - 1080px) / 2 + var(--gut))); }
  .ccard { flex-basis: 280px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .perk { padding: 20px 14px; }
  .perk b { font-size: 14px; }
  .perks__hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .perks__hero img { height: 100%; aspect-ratio: auto; }
  .savecard { max-width: 560px; }
  .trust__img { max-width: 640px; }
  .tcards { grid-template-columns: repeat(3, 1fr); }
  .faq { max-width: 760px; }
  .final { padding: 120px 0; }
  .final .btn--hero { width: auto; }
  .sticky { left: 50%; right: auto; width: 520px; transform: translate(-50%, 130%); }
  .sticky.is-on { transform: translate(-50%, 0); }
  .social { left: 20px; right: auto; width: 340px; bottom: 24px; }
  .hist__row { padding-left: max(var(--gut), calc((100% - 1080px) / 2 + var(--gut))); }
  .hcard { flex-basis: 320px; }
  .ccomms { grid-template-columns: repeat(2, 1fr); }
  .comm__hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .comm__hero img { height: 100%; aspect-ratio: auto; }
  .sheet { left: 50%; right: auto; width: 480px; transform: translateX(-50%); bottom: 24px; border-radius: 26px; max-height: 84dvh; }
  .resume { left: 50%; right: auto; width: 400px; transform: translateX(-50%); }
}

@media (min-width: 900px) {
  .wcards { grid-template-columns: repeat(4, 1fr); }
  .wcard__body h3 { font-size: 17px; }
  .carousel { flex-wrap: wrap; overflow: visible; padding: 18px var(--gut) 8px; max-width: 1080px; margin: 0 auto; padding-left: var(--gut); }
  .ccard { flex: 0 0 calc(25% - 11px); max-width: none; }
  .programs__hint { display: none; }
  .ccomms { grid-template-columns: repeat(3, 1fr); }

  /* el asistente en escritorio: dos columnas (resumen + pasos), sin "teléfono" */
  .app {
    inset: auto; top: 50%; left: 50%; width: min(1180px, 96vw); height: min(860px, 94vh); transform: translate(-50%, -50%);
    border-radius: 30px; box-shadow: 0 0 0 100vmax rgba(7, 11, 31, .72), var(--sh-l); animation: appin-desk .32s var(--ease);
  }
  @keyframes appin-desk { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
  .app__aside {
    display: flex; flex-direction: column; width: 340px; flex: none; padding: 30px 28px; color: #fff; overflow-y: auto;
    background: radial-gradient(600px 300px at 90% -10%, rgba(124, 58, 237, .45), transparent 60%), radial-gradient(500px 300px at -10% 110%, rgba(34, 197, 94, .35), transparent 60%), var(--navy);
  }
  .aside__logo { height: 44px; width: auto; background: rgba(255, 255, 255, .95); padding: 6px 10px; border-radius: 12px; align-self: flex-start; }
  .aside__kicker { margin-top: 26px; display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
  .aside__title { margin-top: 10px; font-family: var(--ffd); font-size: 26px; line-height: 1.12; letter-spacing: -.02em; }
  .aside__title em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .aside__prog { margin-top: 20px; display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
  .aside__prog i { width: 56px; height: 56px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-style: normal; font-size: 26px; background: var(--tile, #fff); }
  .aside__prog i img { width: 100%; height: 100%; object-fit: cover; }
  .aside__prog small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .aside__prog strong { display: block; font-family: var(--ffd); font-size: 15px; line-height: 1.2; }
  .aside__money { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .aside__money div { padding: 12px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); }
  .aside__money small { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
  .aside__money b { display: block; font-family: var(--ffd); font-size: 22px; margin-top: 3px; }
  .aside__money b.is-zero { color: var(--lime); }
  .aside__money span { display: block; font-size: 11.5px; color: rgba(255, 255, 255, .7); margin-top: 2px; }
  .aside__list { margin-top: 18px; display: grid; gap: 9px; }
  .aside__list li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
  .aside__list li i { font-style: normal; }
  .aside__trust { margin-top: auto; padding-top: 22px; font-size: 11.5px; color: rgba(255, 255, 255, .55); line-height: 1.5; }
  .aside__wa { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; background: rgba(37, 211, 102, .18); border: 1px solid rgba(37, 211, 102, .4); color: #C7F9DA; font-weight: 800; font-size: 13px; text-decoration: none; align-self: flex-start; }

  .bar { padding: 14px 18px 10px; }
  .screen { padding: 26px 32px 40px; }
  .q h2 { font-size: 28px; }
  .opts { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plans { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 12px 0 4px; }
  .plan { flex: none; }
  /* en tarjetas estrechas el precio baja a su propia línea para que el nombre no se parta */
  .plan__top { grid-template-columns: 24px 1fr; }
  .plan__price { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
  .plan__price b { font-size: 22px; }
  .plans__dots { display: none; }
  .chips--col { grid-template-columns: 1fr 1fr; }
  .money__c b { font-size: 30px; }
  .dock { padding: 14px 32px; }
}
