/* ============================================================
   LA BANCA ROTA · Sistema de diseño web
   Paleta y tipografías oficiales de marca.
   ============================================================ */

@font-face {
  font-family: 'Supersonic';
  src: url('../fonts/Supersonic-Rocketship.woff2') format('woff2'),
       url('../fonts/Supersonic-Rocketship.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue';
  src: url('../fonts/BebasNeue-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
/* Editorial New: fuente COMERCIAL — NO se sube a producción.
   Para verla en LOCAL, instala la versión de prueba en tu Mac (doble clic al
   .otf → Instalar) y refresca. Si no está, H2 y las quotes caen a una serif
   del sistema (Georgia). */
@font-face {
  font-family: 'Editorial New';
  src: local('PP Editorial New'), local('PPEditorialNew-Regular'), local('Editorial New');
  font-display: swap;
}

:root {
  /* Marca */
  --verde-oscuro: #003513;
  --verde-noche:  #001f0b;
  --lime:         #D2FB54;
  --turquesa:     #2FB2AF;
  --azul-claro:   #A5C8DC;
  --azul-oscuro:  #190F6F;
  --azul-medio:   #126491;
  --offwhite:     #F5FAFE;
  --negro:        #0A0D0B;

  /* Superficies */
  --bg:        #05140A;
  --bg-2:      #08200F;
  --surface:   rgba(255,255,255,.045);
  --surface-2: rgba(255,255,255,.075);
  --line:      rgba(210,251,84,.16);
  --line-soft: rgba(245,250,254,.10);

  /* Texto */
  --tx:        #EAF3EC;
  --tx-soft:   rgba(234,243,236,.66);
  /* .58 y no .42: con .42 los avisos legales y las notas quedaban en 3.75:1,
     por debajo del mínimo AA (4.5:1) para texto pequeño. */
  --tx-mute:   rgba(234,243,236,.58);

  --radius:   18px;
  --radius-l: 28px;
  --maxw:     1240px;
  --ease:     cubic-bezier(.22,1,.36,1);
  /* Cuerpo: sans del sistema (igual que el newsletter). Sin descarga de fuente. */
  --sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--tx);
  font-size: 17px;
  line-height: 1.62;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Textura de grano — le quita el look "plantilla de banco" */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Sistema tipográfico (Combinación 3) ----------
   H1 → Bebas Neue (títulos gigantes) · H2 → Editorial New (editorial) ·
   H3 → Inter (minimalista). El nombre "La Banca Rota" del nav se queda en
   Supersonic (ver .nav-logo span). */
h1, h2, h3, .display { text-wrap: balance; }
h1, .display {
  font-family: 'Bebas Neue', Impact, 'Arial Narrow', sans-serif;
  font-weight: 400; line-height: .92; letter-spacing: .015em; text-transform: uppercase;
}
h2 {
  font-family: 'Editorial New', Georgia, 'Times New Roman', serif;
  font-weight: 400; line-height: 1.03; letter-spacing: 0; text-transform: none;
}
h3 {
  font-family: 'Inter', var(--sans);
  font-weight: 700; line-height: 1.12; letter-spacing: -.01em; text-transform: none;
}

/* ---------- Texto justificado ----------
   Con partición de palabras para evitar los "ríos" blancos típicos
   del texto justificado en columnas angostas. */
p,
.disclaimer > div,
.legal-doc li,
.step-body p,
.faq .ans p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Textos cortos de una línea: justificar no aporta y desalinea */
.meta, .day, .sec-tag, .price-note, .hint, .form-msg,
.foot-legal, .legend, .tick, .chip, .plan .who,
.quote, .foot-brand p, .foot-grid p {
  text-align: left;
  hyphens: manual;
}

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

/* ---------- Barra de progreso de scroll ---------- */
#progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--lime), var(--turquesa));
  z-index: 10000; transition: width .1s linear;
}

/* ============================================================
   NAV
   ============================================================ */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  transition: background .4s var(--ease), backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(5,20,10,.82);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  border-bottom-color: var(--line-soft);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; }
.nav-logo img { height: 38px; width: auto; }
.nav-logo span {
  font-family: 'Supersonic', sans-serif; font-size: 19px;
  letter-spacing: .04em; color: var(--offwhite); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  color: var(--tx-soft); padding: 9px 14px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:hover { color: var(--lime); background: rgba(210,251,84,.08); }
.nav-links a.active { color: var(--lime); }
.nav-cta {
  background: var(--lime) !important; color: var(--verde-oscuro) !important;
  padding: 11px 22px !important; font-weight: 700;
  box-shadow: 0 8px 26px rgba(210,251,84,.22);
  transition: transform .25s var(--ease), box-shadow .25s !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(210,251,84,.34); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 26px; height: 2px; background: var(--lime); margin: 6px 0; transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .28s var(--ease), box-shadow .28s, background .28s, color .28s;
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: var(--verde-oscuro); box-shadow: 0 10px 30px rgba(210,251,84,.22); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(210,251,84,.34); }
.btn-ghost { border-color: var(--line); color: var(--tx); background: rgba(255,255,255,.02); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); transform: translateY(-3px); }
.btn-arrow { transition: transform .28s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }

/* Capa de video (Higgsfield). Si no hay archivo, cae al fondo animado. */
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .38; filter: saturate(.85) contrast(1.05);
}
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(47,178,175,.20), transparent 58%),
    radial-gradient(90% 70% at 8% 92%, rgba(210,251,84,.14), transparent 62%),
    linear-gradient(180deg, rgba(5,20,10,.55) 0%, rgba(5,20,10,.80) 55%, var(--bg) 100%);
}

/* Video de fondo en secciones normales (frase, cabeceras de página).
   Mismo principio que .hero-media, pero el degradado funde arriba y abajo
   para que el clip no corte contra el fondo de la página. */
.sec-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.sec-media video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .3; filter: saturate(.85) contrast(1.05);
}
.sec-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(110% 80% at 50% 45%, rgba(47,178,175,.16), transparent 66%),
    linear-gradient(180deg, var(--bg) 0%, rgba(5,20,10,.74) 24%, rgba(5,20,10,.74) 76%, var(--bg) 100%);
}
.vslot > .wrap { position: relative; z-index: 1; }

/* Fondo animado de respaldo — "mercado" abstracto en CSS puro */
.mesh { position: absolute; inset: -20%; z-index: -1; filter: blur(70px); opacity: .85; }
.mesh i {
  position: absolute; border-radius: 50%; display: block;
  animation: drift 26s ease-in-out infinite alternate;
}
.mesh i:nth-child(1) { width: 46vw; height: 46vw; left: 4%;  top: 6%;   background: rgba(0,53,19,.95); }
.mesh i:nth-child(2) { width: 34vw; height: 34vw; right: 6%; top: 12%;  background: rgba(47,178,175,.42); animation-delay: -6s; }
.mesh i:nth-child(3) { width: 28vw; height: 28vw; left: 26%; bottom: 2%; background: rgba(210,251,84,.26); animation-delay: -13s; }
.mesh i:nth-child(4) { width: 30vw; height: 30vw; right: 20%; bottom: 8%; background: rgba(25,15,111,.55); animation-delay: -19s; }
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(4vw,-3vw,0) scale(1.12); }
  100% { transform: translate3d(-3vw,4vw,0) scale(.94); }
}

/* Rejilla de "gráfico" sobre el hero */
.hero-grid {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .30;
  background-image:
    linear-gradient(rgba(210,251,84,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(210,251,84,.09) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 45%, #000 30%, transparent 80%);
}

.hero-inner { position: relative; z-index: 3; padding: 150px 0 120px; width: 100%; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--lime); padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: rgba(210,251,84,.06);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .35; transform: scale(.7);} }

.hero h1 { font-size: clamp(56px, 9.2vw, 138px); margin: 30px 0 0; }
/* La máscara existe para la animación de entrada, pero con line-height .94 la
   caja de línea es más baja que los glifos de Supersonic y le comía ~6px a los
   remates de arriba. Se le da aire y se compensa con margen negativo: la caja
   crece, el texto no se mueve ni un píxel. */
.hero h1 .line {
  display: block; overflow: hidden;
  padding: .2em 0; margin: -.2em 0;
}
/* 150% y no 105%: con la caja más alta, 105% dejaba asomar una franja del
   texto antes de que arrancara la animación. */
.hero h1 .line > span { display: block; transform: translateY(150%); animation: riseIn 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .12s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes riseIn { to { transform: translateY(0); } }
.hl { color: var(--lime); }
.hl-t { color: var(--turquesa); }

.hero p.lead {
  font-size: clamp(18px, 2.1vw, 23px); color: var(--tx-soft);
  max-width: 620px; margin: 30px 0 0; line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-note { margin-top: 26px; font-size: 14px; color: var(--tx-mute); max-width: 560px; }

/* Ticker */
.ticker {
  position: relative; z-index: 3;
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  background: rgba(0,31,11,.55); backdrop-filter: blur(10px);
  overflow: hidden; padding: 14px 0;
}
.ticker-track { display: flex; gap: 46px; width: max-content; animation: slide 42s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.tick { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
.tick b { color: var(--offwhite); }
.tick .up { color: var(--lime); }
.tick .dn { color: #FF7A6B; }
.tick .sep { color: var(--tx-mute); }

/* ============================================================
   SECCIONES
   ============================================================ */
section { position: relative; padding: clamp(80px, 11vw, 148px) 0; }
.sec-head { max-width: 780px; margin-bottom: 58px; }
.sec-tag {
  font-size: 12.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--turquesa); display: block; margin-bottom: 20px;
}
.sec-head h2 { font-size: clamp(38px, 5.6vw, 76px); }
.sec-head p { color: var(--tx-soft); font-size: 19px; margin-top: 22px; max-width: 640px; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(34px); transition: opacity .85s var(--ease), transform .85s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .08s; }
.rv[data-d="2"] { transition-delay: .16s; }
.rv[data-d="3"] { transition-delay: .24s; }
.rv[data-d="4"] { transition-delay: .32s; }
.rv[data-d="5"] { transition-delay: .40s; }

/* ---------- Cards genéricas con tilt 3D ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-l); padding: 34px 30px; overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background .4s;
  transform-style: preserve-3d;
}
.card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .45s;
  background: radial-gradient(420px circle at var(--mx,50%) var(--my,50%), rgba(210,251,84,.11), transparent 62%);
  pointer-events: none;
}
.card:hover { border-color: var(--line); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card h3 { font-size: 27px; margin-bottom: 12px; letter-spacing: .01em; }
.card p { color: var(--tx-soft); font-size: 16.5px; }
.card .num {
  font-family: 'Bebas Neue', Impact, sans-serif; font-size: 46px; color: var(--lime);
  opacity: .28; line-height: 1; margin-bottom: 16px; display: block;
}
.card .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(210,251,84,.10); border: 1px solid var(--line); margin-bottom: 20px;
}
.card .ico svg { width: 25px; height: 25px; stroke: var(--lime); fill: none; stroke-width: 1.9; }

/* ---------- Pilares ---------- */
.pillar { border-left: 2px solid var(--line); padding: 4px 0 4px 26px; transition: border-color .4s; }
.pillar:hover { border-left-color: var(--lime); }
.pillar .k { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 15px; color: var(--turquesa); letter-spacing: .1em; }
.pillar h3 { font-size: 24px; margin: 10px 0 8px; }
.pillar p { color: var(--tx-soft); font-size: 16px; }

/* ---------- Ruta / timeline de sesiones ---------- */
.route { position: relative; padding-left: 0; }
.route::before {
  content: ''; position: absolute; left: 27px; top: 18px; bottom: 18px; width: 2px;
  background: linear-gradient(180deg, var(--lime), var(--turquesa), rgba(47,178,175,.1));
}
.step {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 26px;
  align-items: start; padding: 20px 0;
}
.step-dot {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-2); border: 2px solid var(--line); z-index: 2;
  font-family: 'Bebas Neue', Impact, sans-serif; font-size: 19px; color: var(--lime);
  transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.step:hover .step-dot { transform: scale(1.08); border-color: var(--lime); background: rgba(210,251,84,.12); }
.step-body {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 26px 28px; transition: border-color .4s, transform .4s var(--ease);
}
.step:hover .step-body { border-color: var(--line); transform: translateX(6px); }
.step-body .day { font-size: 12.5px; font-weight: 700; letter-spacing: .18em; color: var(--turquesa); text-transform: uppercase; }
.step-body h3 { font-size: 28px; margin: 10px 0 10px; }
.step-body p { color: var(--tx-soft); font-size: 16.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding: 6px 13px;
  border-radius: 999px; background: rgba(47,178,175,.10); border: 1px solid rgba(47,178,175,.24);
  color: var(--azul-claro);
}

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat .v { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(44px, 6vw, 78px); color: var(--lime); line-height: 1; }
.stat .l { font-size: 14.5px; color: var(--tx-soft); margin-top: 12px; letter-spacing: .04em; }

/* ---------- Bloque destacado ---------- */
.feature {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center;
}
.feature-media {
  position: relative; border-radius: var(--radius-l); overflow: hidden;
  border: 1px solid var(--line-soft); aspect-ratio: 4/5; background: var(--bg-2);
}
.feature-media img, .feature-media video { width: 100%; height: 100%; object-fit: cover; }
.feature-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,20,10,.72));
}

/* ---------- Quote ---------- */
.quote {
  font-family: 'Editorial New', Georgia, serif; font-size: clamp(32px, 4.8vw, 64px);
  line-height: 1.06; text-transform: none; max-width: 1000px; font-style: italic;
}
.quote .hl { color: var(--lime); }

/* ============================================================
   PRECIOS
   ============================================================ */
/* ---------- Planes ----------
   Las cuatro tarjetas comparten las MISMAS filas: título, para-quién, precio,
   nota, lista de ventajas y botón. Así cada bloque queda alineado de columna a
   columna aunque el texto de cada plan mida distinto.

   Sin esto la caja de fuera sí medía igual (el grid las estira), pero por
   dentro no cuadraba nada: la nota de "Método" ocupa cuatro líneas y la de
   "Curioso" una, así que sus precios, sus listas y sus botones arrancaban a
   alturas distintas y las tarjetas parecían descuadradas.

   `row-gap: 0` porque el hueco entre filas ya lo ponen los márgenes de cada
   pieza; con el gap del grid encima, cada tarjeta crecía 90px de más. */
.plans {
  display: grid;
  /* `minmax(0, 1fr)` y no `1fr`: `1fr` equivale a `minmax(auto, 1fr)`, asi que
     una tarjeta con texto que no puede encogerse mas (una palabra larga, una
     linea sin puntos de corte) ensancha SU columna y estrecha las otras tres.
     Con minimo 0 las cuatro quedan siempre del mismo ancho. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 18px;
  align-items: stretch;
  grid-template-rows: auto auto auto auto 1fr auto;
}
.plan {
  /* Se engancha a las filas del contenedor (`subgrid`) para que las seis
     piezas queden a la misma altura en las cuatro tarjetas. */
  display: grid;
  grid-row: span 6;
  grid-template-rows: subgrid;
  row-gap: 0;
  position: relative;
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-l); padding: 34px 24px 30px;
  transition: transform .45s var(--ease), border-color .4s, background .4s;
}

/* Navegadores sin `subgrid`: se vuelve a la columna flexible y se reservan
   alturas mínimas para las dos piezas que más varían. No queda tan fino como
   el subgrid, pero las tarjetas siguen cuadrando. */
@supports not (grid-template-rows: subgrid) {
  .plans { grid-template-rows: none; }
  .plan { display: flex; flex-direction: column; }
  .plan .who { min-height: 2.6em; }
  .plan .price-note { min-height: 5.4em; }
  .plan ul { flex: 1; }
}
.plan:hover { transform: translateY(-6px); border-color: var(--line); }
.plan.featured {
  background: linear-gradient(170deg, rgba(210,251,84,.09), rgba(255,255,255,.03));
  border-color: var(--lime);
}
.plan-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--lime); color: var(--verde-oscuro);
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 999px;
}
.plan h3 { font-size: 27px; }
.plan .who { color: var(--turquesa); font-size: 14px; font-weight: 700; margin-top: 8px; }
/* Con 4 planes: en pantallas medianas van de 2 en 2 antes de apilarse. */
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan .price { margin: 26px 0 6px; display: flex; align-items: baseline; gap: 8px; }
.plan .price b { font-family: 'Bebas Neue', Impact, sans-serif; font-size: 56px; color: var(--offwhite); font-weight: 400; }
/* Precios que son una palabra larga en vez de una cifra ("Conversemos"). Con
   las cuatro columnas del mismo ancho, a 56px se salían del recuadro. */
.plan .price.texto b { font-size: 34px; line-height: 1.1; }
.plan .price small { font-size: 15px; color: var(--tx-mute); }
.plan .price-note { font-size: 13.5px; color: var(--tx-mute); }
.plan ul { list-style: none; margin: 26px 0 30px; display: grid; gap: 13px; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 11px; font-size: 16px; color: var(--tx-soft); align-items: start; }
.plan li svg { width: 18px; height: 18px; stroke: var(--lime); fill: none; stroke-width: 2.4; margin-top: 4px; }
.plan li.off { color: var(--tx-mute); }
.plan li.off svg { stroke: var(--tx-mute); }
.plan .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   HERRAMIENTAS / CALCULADORAS
   ============================================================ */
.tool {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-l); padding: 36px; scroll-margin-top: 110px;
}
.tool-head { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.tool-head h3 { font-size: 32px; }
.tool > p.sub { color: var(--tx-soft); margin-bottom: 30px; font-size: 16.5px; }
.tool-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }

.field { margin-bottom: 22px; }
.field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 700; color: var(--tx-soft); margin-bottom: 10px; gap: 12px; }
.field label b { color: var(--lime); font-size: 17px; font-family: var(--sans); }
.field input[type=range] {
  width: 100%; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--lime) var(--pct,50%), rgba(255,255,255,.14) var(--pct,50%));
  outline: none; cursor: pointer;
}
.field input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime); border: 3px solid var(--bg); cursor: grab;
  box-shadow: 0 3px 12px rgba(210,251,84,.45);
}
.field input[type=range]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--lime);
  border: 3px solid var(--bg); cursor: grab;
}
.field input[type=number], .field input[type=text], .field input[type=email], .field input[type=password], .field input[type=tel], .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line-soft);
  color: var(--tx); font-family: var(--sans); font-size: 16px; outline: none;
  transition: border-color .3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lime); }
.field select option { background: var(--bg-2); color: var(--tx); }
.field .hint { font-size: 13px; color: var(--tx-mute); margin-top: 7px; }

.result {
  background: linear-gradient(165deg, rgba(210,251,84,.10), rgba(47,178,175,.05));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.result .rl { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--turquesa); }
.result .rv-big { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(40px, 5.4vw, 62px); color: var(--lime); line-height: 1; margin: 12px 0; }
.result .rows { display: grid; gap: 11px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.result .row { display: flex; justify-content: space-between; gap: 16px; font-size: 15.5px; }
.result .row span { color: var(--tx-soft); }
.result .row b { color: var(--offwhite); font-weight: 700; }
.result .row.pos b { color: var(--lime); }
.result .row.neg b { color: #FF7A6B; }

.chart-box { margin-top: 26px; }
.chart-box svg { width: 100%; height: auto; display: block; overflow: visible; }

/* Interés compuesto: la columna de sliders era más corta que la de resultado +
   gráfico y dejaba un hueco abajo. Le damos más aire a los sliders para igualar
   alturas y centramos verticalmente para repartir cualquier sobrante. */
#interes-compuesto .tool-body { align-items: center; }
#interes-compuesto .tool-body > div:first-child .field { margin-bottom: 34px; }
#interes-compuesto .tool-body > div:first-child .field:last-child { margin-bottom: 0; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; font-size: 13.5px; color: var(--tx-soft); }
.legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; margin-right: 7px; vertical-align: -1px; }

.bars { display: grid; gap: 14px; margin-top: 6px; }
.bar-row .bt { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 7px; }
.bar-row .bt b { color: var(--offwhite); }
.bar-track { height: 12px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; transition: width .7s var(--ease); }

/* ============================================================
   AVISOS / DISCLAIMER
   ============================================================ */
.disclaimer {
  display: flex; gap: 14px; align-items: flex-start;
  background: rgba(255,180,60,.055); border: 1px solid rgba(255,180,60,.26);
  border-radius: 14px; padding: 17px 20px; font-size: 14.5px; color: rgba(255,222,175,.90);
  line-height: 1.55;
}
.disclaimer svg { width: 21px; height: 21px; stroke: #FFC46B; fill: none; stroke-width: 2; flex-shrink: 0; margin-top: 2px; }
.disclaimer b { color: #FFD79A; }
.disclaimer.mini { font-size: 13.5px; padding: 13px 16px; }

.legal-bar {
  position: relative; z-index: 5;
  background: var(--verde-noche); border-top: 1px solid var(--line-soft);
  padding: 16px 0; font-size: 13.5px; color: var(--tx-mute); text-align: center;
}
.legal-bar b { color: var(--lime); }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  position: relative; overflow: hidden;
  border-radius: 34px; padding: clamp(52px, 7vw, 86px);
  background: linear-gradient(150deg, var(--verde-oscuro), #002a10 55%, var(--azul-oscuro));
  border: 1px solid var(--line);
}
.cta-final::before {
  content: ''; position: absolute; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(210,251,84,.20), transparent 68%);
  top: -300px; right: -180px;
}
.cta-final::after {
  content: ''; position: absolute; width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,178,175,.20), transparent 68%);
  bottom: -260px; left: -140px;
}
.cta-final > * { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(36px, 5.4vw, 72px); max-width: 900px; }
.cta-final p { color: var(--tx-soft); font-size: 19px; margin: 24px 0 36px; max-width: 620px; }

/* ============================================================
   FORMULARIOS
   ============================================================ */
.form-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-l); padding: 38px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-msg {
  display: none; margin-top: 18px; padding: 15px 18px; border-radius: 12px;
  background: rgba(210,251,84,.10); border: 1px solid var(--line);
  color: var(--lime); font-size: 15px; font-weight: 700;
}
.form-msg.show { display: block; animation: riseSoft .5s var(--ease); }
@keyframes riseSoft { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none;} }

/* ============================================================
   BLOG / ARTÍCULOS
   ============================================================ */
.post-card {
  display: flex; flex-direction: column; overflow: hidden; padding: 0;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  transition: transform .45s var(--ease), border-color .4s;
}
.post-card:hover { transform: translateY(-6px); border-color: var(--line); }
.post-thumb {
  aspect-ratio: 16/10; position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--verde-oscuro), var(--azul-oscuro));
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.07); }
.post-thumb .kicker {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(5,20,10,.72); backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--lime);
  font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.post-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.post-body .meta { font-size: 13px; color: var(--tx-mute); letter-spacing: .06em; text-transform: uppercase; font-weight: 700; }
.post-body h3 { font-size: 25px; margin: 12px 0 12px; }
.post-body p { color: var(--tx-soft); font-size: 16px; flex: 1; }
.post-body .more { color: var(--lime); font-weight: 700; font-size: 15px; margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { border-bottom: 1px solid var(--line-soft); }
.faq button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 26px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-family: var(--sans); font-size: 19.5px; font-weight: 700; color: var(--tx);
  transition: color .3s;
}
.faq button:hover { color: var(--lime); }
.faq .pm { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq .pm::before, .faq .pm::after {
  content: ''; position: absolute; background: var(--lime); border-radius: 2px;
  left: 50%; top: 50%; transition: transform .35s var(--ease);
}
.faq .pm::before { width: 15px; height: 2px; transform: translate(-50%,-50%); }
.faq .pm::after  { width: 2px; height: 15px; transform: translate(-50%,-50%); }
.faq.open .pm::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.faq .ans { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq .ans p { color: var(--tx-soft); font-size: 16.5px; padding-bottom: 26px; max-width: 820px; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site {
  background: var(--verde-noche); border-top: 1px solid var(--line-soft);
  padding: 70px 0 0; position: relative; z-index: 5;
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h4 {
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--turquesa); margin-bottom: 18px; font-family: var(--sans);
}
.foot-grid a, .foot-grid p { display: block; color: var(--tx-soft); font-size: 15.5px; margin-bottom: 11px; transition: color .25s; }
.foot-grid a:hover { color: var(--lime); }
.foot-brand img { height: 46px; margin-bottom: 18px; }
.foot-brand p { max-width: 320px; font-size: 15.5px; }
.socials-label {
  font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--turquesa); margin-top: 22px;
}
.socials { display: flex; gap: 12px; margin-top: 12px; }
.socials a {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(210,251,84,.08);
  margin: 0; transition: border-color .3s, background .3s, transform .3s;
}
.socials a:hover { border-color: var(--lime); background: rgba(210,251,84,.18); transform: translateY(-3px); }
.socials svg { width: 22px; height: 22px; fill: var(--lime); }
.foot-legal {
  margin-top: 56px; padding: 26px 0; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13.5px; color: var(--tx-mute);
}
.foot-legal a { color: var(--tx-mute); }
.foot-legal a:hover { color: var(--lime); }

/* ============================================================
   PÁGINA INTERIOR — cabecera
   ============================================================ */
.page-head { padding: 170px 0 70px; position: relative; overflow: hidden; }
.page-head::before {
  content: ''; position: absolute; width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,178,175,.16), transparent 68%);
  top: -380px; right: -180px; pointer-events: none;
}
.page-head h1 { font-size: clamp(46px, 7.6vw, 104px); }
.page-head p { color: var(--tx-soft); font-size: 20px; max-width: 660px; margin-top: 24px; }

/* Contenido legal */
.legal-doc { max-width: 820px; }
.legal-doc h2 { font-size: 30px; margin: 46px 0 16px; color: var(--lime); }
.legal-doc h3 { font-size: 21px; margin: 30px 0 12px; color: var(--offwhite); font-family: var(--sans); font-weight: 700; text-transform: none; }
.legal-doc p { color: var(--tx-soft); margin-bottom: 15px; }
.legal-doc ul { margin: 0 0 18px 20px; color: var(--tx-soft); }
.legal-doc li { margin-bottom: 9px; }
.legal-doc strong { color: var(--offwhite); }

/* Marcador de slots de video (tecla V) */
.vslot { position: relative; }
body.show-slots .vslot { outline: 2px dashed rgba(210,251,84,.75); outline-offset: -6px; }
body.show-slots .vslot::after {
  content: attr(data-slot); position: absolute; top: 10px; left: 10px; z-index: 60;
  background: var(--lime); color: var(--verde-oscuro);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 6px; pointer-events: none;
}
#slot-hint {
  position: fixed; bottom: 18px; right: 18px; z-index: 9999;
  background: rgba(5,20,10,.86); border: 1px solid var(--line); color: var(--tx-mute);
  font-size: 12px; padding: 8px 13px; border-radius: 999px; backdrop-filter: blur(8px);
}
#slot-hint b { color: var(--lime); }

/* ---------- Caja de TCEA estimada (deuda) ---------- */
.tcea-box {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 8px;
  padding: 12px 14px; border: 1px solid rgba(255,122,107,.28);
  background: rgba(255,122,107,.07); border-radius: 12px;
  font-size: 13.5px; line-height: 1.55; color: var(--tx-soft);
}
.tcea-box svg { width: 18px; height: 18px; flex: none; margin-top: 1px; stroke: #FF7A6B; fill: none; stroke-width: 1.9; }

/* ---------- Tarjetas de herramienta estilo editorial (visual arriba) ---------- */
a.post-card, a.post-card:hover { text-decoration: none; }
.tool-thumb { display: flex; align-items: center; justify-content: center; }
.tool-thumb::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 16px 16px; opacity: .5;
}
.tool-thumb .big-ico { position: relative; z-index: 1; }
.tool-thumb .big-ico svg { width: 72px; height: 72px; stroke: var(--lime); fill: none; stroke-width: 1.5; filter: drop-shadow(0 8px 22px rgba(210,251,84,.28)); }
.tool-thumb.green { background: radial-gradient(120% 100% at 30% 0%, rgba(210,251,84,.12), transparent 60%), linear-gradient(150deg, var(--verde-oscuro), var(--verde-noche)); }
.tool-thumb.teal  { background: radial-gradient(120% 100% at 30% 0%, rgba(47,178,175,.18), transparent 60%), linear-gradient(150deg, #06302c, var(--verde-noche)); }
.tool-thumb.teal .big-ico svg { stroke: var(--turquesa); filter: drop-shadow(0 8px 22px rgba(47,178,175,.32)); }
.tool-thumb.red   { background: radial-gradient(120% 100% at 30% 0%, rgba(255,122,107,.15), transparent 60%), linear-gradient(150deg, #2a1210, #160a09); }
.tool-thumb.red .big-ico svg { stroke: #FF7A6B; filter: drop-shadow(0 8px 22px rgba(255,122,107,.3)); }
.post-card .more { color: var(--lime); font-weight: 700; font-size: 15px; margin-top: 18px; display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Enlace de volver + tarjetas del hub de herramientas ---------- */
.back-link {
  display: inline-block; color: var(--tx-mute); font-size: 14px; font-weight: 700;
  letter-spacing: .04em; text-decoration: none; margin-bottom: 16px;
}
.back-link:hover { color: var(--lime); }
.tool-card, .course-card { text-decoration: none; }
.tool-card h3 { font-size: 28px; }
.tool-card .more, .course-card .more {
  color: var(--lime); font-weight: 700; margin-top: 18px;
  display: inline-flex; gap: 8px; align-items: center;
}
.course-card { background: rgba(255,255,255,.03); }

/* ---------- Cuestionario de perfil de riesgo ---------- */
.quiz { display: grid; gap: 16px; margin-top: 8px; }
.quiz .q {
  background: rgba(0,0,0,.22); border: 1px solid var(--line-soft);
  border-radius: 16px; padding: 20px 22px;
}
.quiz .q-cat { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--turquesa); }
.quiz .q-text { font-size: 16.5px; font-weight: 700; color: var(--tx); margin: 7px 0 14px; line-height: 1.5; }
.quiz .q-num { color: var(--tx-mute); }
.quiz .opts { display: grid; gap: 9px; }
.quiz .opt {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left;
  padding: 14px 16px; border: 1px solid var(--line-soft); border-radius: 12px; cursor: pointer;
  background: transparent; font-family: var(--sans);
  transition: border-color .2s, background .2s, transform .08s;
}
.quiz .opt:hover { border-color: var(--line); background: rgba(255,255,255,.02); }
.quiz .opt:active { transform: scale(.995); }
.quiz .opt.sel { border-color: var(--lime); background: rgba(210,251,84,.08); }
.quiz .opt span { font-size: 15.5px; color: var(--tx-soft); line-height: 1.45; }
.quiz .opt.sel span { color: var(--tx); }

/* Wizard: una pregunta a la vez */
.pr-progress-wrap { margin-bottom: 6px; }
.pr-step { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--turquesa); margin-bottom: 10px; }
.pr-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,.09); overflow: hidden; }
.pr-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--lime), var(--turquesa)); transition: width .35s var(--ease); }
.quiz .pr-nav { margin-top: 16px; }
.pr-prev { background: transparent; border: 0; cursor: pointer; color: var(--tx-mute); font-family: var(--sans); font-size: 14.5px; font-weight: 700; padding: 6px 2px; }
.pr-prev:hover { color: var(--lime); }
.pr-done { text-align: center; padding: 14px 0 4px; }
.pr-done p { color: var(--tx-soft); font-size: 16.5px; }
.pr-restart { margin-top: 14px; background: transparent; border: 1px solid var(--line); color: var(--tx); border-radius: 999px; padding: 10px 20px; cursor: pointer; font-family: var(--sans); font-weight: 700; font-size: 14px; transition: border-color .3s, color .3s; }
.pr-restart:hover { border-color: var(--lime); color: var(--lime); }

.pr-result {
  margin-top: 26px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px;
  background: linear-gradient(165deg, rgba(210,251,84,.10), rgba(47,178,175,.05));
  scroll-margin-top: 110px;
}
.pr-result .rl { font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--turquesa); }
.pr-progress { color: var(--tx-soft); font-size: 17px; margin-top: 10px; }
.pr-progress b { color: var(--lime); }
.pr-profile { font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(30px, 4.2vw, 50px); color: var(--lime); line-height: 1; margin: 8px 0 4px; }
.pr-points { color: var(--tx-mute); font-size: 15px; }
.alloc-title { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tx-soft); margin: 22px 0 12px; }
.alloc-bar { display: flex; height: 30px; border-radius: 999px; overflow: hidden; border: 1px solid var(--line-soft); }
.alloc-bar > i { display: block; height: 100%; transition: width .5s var(--ease); }
.alloc-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-size: 15px; }
.alloc-legend span { display: inline-flex; align-items: center; gap: 8px; color: var(--tx-soft); }
.alloc-legend i { width: 13px; height: 13px; border-radius: 4px; flex: none; }
.alloc-legend b { color: var(--offwhite); }
.pr-note { font-size: 13.5px; color: var(--tx-mute); margin-top: 20px; line-height: 1.55; border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* ---------- Gráfico de velas con eventos (ruido vs tendencia) ---------- */
.chart-events {
  width: 100%; margin-top: 8px; border: 1px solid var(--line-soft);
  border-radius: var(--radius-l); background: rgba(0,0,0,.22); padding: 10px; overflow: hidden;
}
.chart-events svg { width: 100%; height: auto; display: block; }
@keyframes candleIn { from { opacity: 0; } to { opacity: 1; } }
.chart-events .cndl { opacity: 0; animation: candleIn .45s var(--ease) forwards; }
.chart-events-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 16px; font-size: 14.5px; color: var(--tx-soft); }
.chart-events-legend i { width: 13px; height: 13px; border-radius: 4px; display: inline-block; margin-right: 8px; vertical-align: middle; }

/* ---------- Chips de empresas que suben sobre el heatmap ---------- */
.mkt-rise { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.mkt-rise .chip {
  position: absolute; display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px; border-radius: 999px;
  background: rgba(5,20,10,.62); border: 1px solid var(--line); backdrop-filter: blur(4px);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  color: var(--offwhite); white-space: nowrap; will-change: transform, opacity;
}
.mkt-rise .chip svg { width: 24px; height: 12px; flex: none; }
.mkt-rise .chip .up { color: var(--lime); }
.mkt-rise .chip .dn { color: #FF7A6B; }

/* ---------- Termómetro Miedo & Codicia (gauge) ---------- */
.gauge-wrap { display: flex; justify-content: center; }
.gauge { width: 100%; max-width: 380px; }
.gauge svg { width: 100%; height: auto; display: block; overflow: visible; }

/* ---------- Slots de YouTube (espacio reservado en el blog) ---------- */
.yt-slot {
  aspect-ratio: 16 / 9; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  border-style: dashed; border-color: var(--line);
  background: rgba(210,251,84,.03); text-align: center;
}
.yt-play {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--lime); box-shadow: 0 8px 24px rgba(210,251,84,.28);
}
.yt-play svg { width: 26px; height: 26px; fill: var(--verde-oscuro); stroke: none; margin-left: 2px; }
.yt-soon {
  font-family: var(--sans); font-size: 14px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--tx-mute);
}

/* ---------- Cuenta: registro e ingreso ---------- */
.auth-wrap { max-width: 560px; margin: 0 auto; }

.auth-tabs {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 22px;
  background: rgba(0,0,0,.28); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 6px;
}
.auth-tab {
  border: 0; background: transparent; cursor: pointer; padding: 12px 10px;
  border-radius: 999px; color: var(--tx-soft); font-family: var(--sans);
  font-size: 15px; font-weight: 700; transition: background .3s, color .3s;
}
.auth-tab:hover { color: var(--tx); }
.auth-tab.activo { background: var(--lime); color: var(--verde-oscuro); }

.social-grid { display: grid; gap: 10px; }
.btn-social {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 13px 18px; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.045); border: 1px solid var(--line-soft);
  color: var(--tx); font-family: var(--sans); font-size: 15.5px; font-weight: 700;
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.btn-social:hover { border-color: var(--line); background: var(--surface-2); transform: translateY(-2px); }
.btn-social svg { width: 20px; height: 20px; flex: none; }

.auth-sep {
  display: flex; align-items: center; gap: 14px; margin: 24px 0 20px;
  color: var(--tx-mute); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700;
}
.auth-sep::before, .auth-sep::after {
  content: ''; flex: 1; height: 1px; background: var(--line-soft);
}

.input-clave { position: relative; }
.input-clave input { padding-right: 68px !important; }
.ver-clave {
  position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; cursor: pointer; padding: 8px 10px;
  color: var(--tx-mute); font-family: var(--sans); font-size: 13.5px; font-weight: 700;
}
.ver-clave:hover { color: var(--lime); }

.olvide { display: inline-block; margin-top: 9px; font-size: 13.5px; color: var(--turquesa); }

.check { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 22px; cursor: pointer; }
.check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--lime); flex: none; }
.check span { font-size: 14px; color: var(--tx-mute); line-height: 1.55; }
.check a { color: var(--turquesa); text-decoration: underline; }

.auth-pie {
  margin-top: 22px; font-size: 13px; color: var(--tx-mute); line-height: 1.6;
  border-top: 1px solid var(--line-soft); padding-top: 18px;
}

/* El formulario cambia de modo sin recargar: cada modo esconde lo que no le toca. */
body[data-modo="ingreso"] .solo-registro { display: none; }
body[data-modo="registro"] .solo-ingreso { display: none; }

/* ---------- La elección (pastillas + lluvia Matrix) ---------- */
.eleccion { position: relative; overflow: hidden; }
.eleccion > .wrap { position: relative; z-index: 1; }

/* La lluvia se dibuja en canvas (js/lbr.js). Va detrás de todo y muy tenue:
   compite con el texto, no al revés. */
.matrix-rain {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; display: block;
  opacity: .3; pointer-events: none;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
}

/* Un solo bloque partido por la mitad, no dos tarjetas sueltas: la decisión es
   una, los caminos son dos. Las cápsulas van pegadas al centro, enfrentadas. */
.pastillas {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  max-width: 880px; margin: 52px auto 0;
  border: 1px solid var(--line-soft); border-radius: var(--radius-l);
  background: rgba(5,20,10,.74); backdrop-filter: blur(6px); overflow: hidden;
}

.pastilla {
  position: relative; padding: 36px 30px 32px;
  display: flex; flex-direction: column; gap: 14px;
}
.pastilla h3 { font-family: 'Inter', var(--sans); font-weight: 700; font-size: 28px; letter-spacing: .01em; }
.pastilla p { color: var(--tx-soft); font-size: 17px; line-height: 1.6; flex: 1; }

/* La azul es el camino muerto: desaturada, sin enlace, sin hover. */
.pastilla.azul {
  align-items: flex-end; text-align: right; opacity: .62;
  border-right: 1px solid var(--line-soft);
}
.pastilla.azul h3 { color: var(--azul-claro); }
.pastilla-nota {
  font-size: 13.5px; color: var(--tx-mute); letter-spacing: .1em;
  text-transform: uppercase; font-weight: 700;
}

.pastilla.roja { align-items: flex-start; text-align: left; background: rgba(210,251,84,.04); }
.pastilla.roja h3 { color: var(--lime); }

/* Las cápsulas: mitad opaca, mitad brillante, con reflejo. */
.capsula {
  display: block; width: 78px; height: 30px; border-radius: 999px;
  position: relative; overflow: hidden;
}
.capsula::after {
  content: ''; position: absolute; left: 12%; right: 42%; top: 18%; height: 26%;
  border-radius: 999px; background: rgba(255,255,255,.55); filter: blur(2px);
}
/* Espejada respecto a la roja: el bloque está partido al medio y las dos
   cápsulas se miran de frente. */
.capsula.azul {
  background: linear-gradient(100deg, #3E6EA8 0 50%, #7FA9D4 50% 100%);
  box-shadow: 0 0 26px rgba(62,110,168,.45);
  transform: scaleX(-1);
}
.capsula.roja {
  background: linear-gradient(100deg, #C7302E 0 50%, #F0605A 50% 100%);
  box-shadow: 0 0 30px rgba(199,48,46,.5);
}

.eleccion-cierre {
  margin-top: 40px; text-align: center;
  font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(26px, 3.4vw, 42px);
  color: var(--offwhite);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  /* En 2 columnas el subgrid de 6 filas ya no aplica (son 2 bandas): se
     desactiva y cada tarjeta usa flex con alturas mínimas, como el fallback. */
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; }
  .plans .plan { display: flex; flex-direction: column; grid-row: auto; }
  .plans .plan .who { min-height: 2.6em; }
  .plans .plan .price-note { min-height: 5.4em; }
  .plans .plan ul { flex: 1; }
  .feature { grid-template-columns: 1fr; gap: 34px; }
  .feature-media { aspect-ratio: 16/11; }
  .tool-body { grid-template-columns: 1fr; gap: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
}
@media (max-width: 780px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .plans { grid-template-columns: minmax(0, 1fr); }
  .burger { display: block; }
  .nav-links {
    position: fixed; inset: 0 0 auto; top: 0; padding: 96px 24px 34px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(3,15,7,.97); backdrop-filter: blur(20px);
    transform: translateY(-102%); transition: transform .5s var(--ease);
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 19px; padding: 15px 10px; }
  .nav-cta { text-align: center; justify-content: center; margin-top: 12px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px 1fr; gap: 16px; }
  .step-dot { width: 40px; height: 40px; font-size: 14px; }
  .route::before { left: 19px; }
  .tool { padding: 26px 20px; }
  .form-card { padding: 26px 22px; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  /* Apiladas ya no se miran de frente: el espejo se deshace y todo vuelve a la
     izquierda. Va con .pastilla.azul y no solo .pastilla porque si no gana la
     regla de escritorio por especificidad. */
  .pastillas { grid-template-columns: 1fr; max-width: none; }
  .pastilla, .pastilla.azul { align-items: flex-start; text-align: left; }
  .pastilla { padding: 28px 24px 26px; }
  .pastilla.azul { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .capsula.azul { transform: none; }   /* apiladas no se miran de frente */
  .pastilla .btn { width: 100%; justify-content: center; }
}

/* Bajo ~520px el h2 de "La elección" mide más que el ancho disponible y los
   <br> forzados le impiden reacomodarse. Sin ellos el texto fluye solo. */
@media (max-width: 520px) {
  .eleccion .sec-head h2 br { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Precio de lanzamiento (precio anterior tachado) ---------- */
.price-antes {
  text-decoration: line-through; text-decoration-color: rgba(255,122,107,.9);
  color: var(--tx-soft); font-weight: 600;
  font-family: var(--sans); font-size: 26px; margin-right: 11px;
}

/* ---------- Plan "Próximamente" (marca de agua + botón deshabilitado) ---------- */
.plan.proximo::before {
  content: 'PRÓXIMAMENTE';
  position: absolute; top: 46%; left: 50%;
  transform: translate(-50%, -50%) rotate(-14deg);
  font-family: 'Bebas Neue', Impact, sans-serif; font-size: clamp(28px, 3.6vw, 42px);
  letter-spacing: .1em; color: rgba(210, 251, 84, .07);
  white-space: nowrap; pointer-events: none; z-index: 0;
}
/* El badge debe seguir ABSOLUTO (no lo tocamos); solo el resto del contenido
   sube por encima de la marca de agua. */
.plan.proximo > *:not(.plan-badge) { position: relative; z-index: 2; }
.plan.proximo .plan-badge { z-index: 3; }
.plan.proximo ul, .plan.proximo .price, .plan.proximo .who { opacity: .68; }
.plan-badge.proximo-badge { background: var(--turquesa); color: #00201f; }
.btn-soon {
  background: rgba(255, 255, 255, .05); color: var(--tx-mute);
  border-color: var(--line-soft); cursor: not-allowed;
  width: 100%; justify-content: center; margin-top: auto;
}
.btn-soon:hover { transform: none; border-color: var(--line-soft); color: var(--tx-mute); }

/* ---------- Sello de descuento sobre el precio (estilo sticker) ---------- */
.plan .price { position: relative; }
.price-seal {
  position: absolute; top: -26px; right: -2px;
  width: 90px; height: 90px; transform: rotate(-9deg);
  display: grid; place-items: center; pointer-events: none; z-index: 4;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.4));
}
.price-seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.price-seal em {
  position: relative; z-index: 1; font-style: normal; text-align: center;
  color: #fff; line-height: .82;
}
.price-seal em span {
  display: block; font-family: var(--sans); font-weight: 700;
  font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase;
}
.price-seal em b {
  display: block; font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 34px; letter-spacing: .02em; margin-top: 2px;
}

/* ---------- Lead gate: registro previo para usar las herramientas ---------- */
.lead-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: grid; place-items: center; padding: 24px;
  background: rgba(3, 12, 6, .84); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); animation: leadIn .3s var(--ease);
}
.lead-gate.closing { opacity: 0; transition: opacity .35s; }
@keyframes leadIn { from { opacity: 0; } to { opacity: 1; } }
.lead-card {
  position: relative;
  width: 100%; max-width: 480px; background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: 34px 32px; box-shadow: 0 30px 80px rgba(0,0,0,.55);
  animation: leadCard .45s var(--ease); max-height: calc(100vh - 48px); overflow-y: auto;
}
.lead-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid var(--line-soft);
  color: var(--tx-soft); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s, color .2s, border-color .2s;
}
.lead-close:hover { background: rgba(255,122,107,.12); color: #FF7A6B; border-color: rgba(255,122,107,.35); }
@keyframes leadCard { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-badge {
  display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--verde-oscuro); background: var(--lime);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.lead-card h2 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.06; }
.lead-sub { color: var(--tx-soft); font-size: 15px; margin: 14px 0 22px; text-align: left; }
.lead-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form .field { margin-bottom: 14px; }
.lead-err { color: #FF7A6B; font-size: 14px; font-weight: 700; min-height: 20px; margin: 2px 0 8px; }
.lead-legal { font-size: 12px; color: var(--tx-mute); margin-top: 14px; text-align: center; }
@media (max-width: 480px) { .lead-row { grid-template-columns: 1fr; } .lead-card { padding: 26px 20px; } }
