/* =============================================================
   GANOX · Landing v2 (brief de Camilo, 30 oct 2026)
   Móvil primero (360 px). Regla de oro: AZUL = lo que avanzas · DORADO = lo que ganas.
   Un solo dorado protagonista por pantalla: el botón de pago.
   ============================================================= */

/* 1. Tokens ---------------------------------------------------- */
:root {
  --ground: #07060d;
  --surface: #111018;
  --raised: #1a1924;
  --high: #24232f;
  --line: #2a2936;
  --ink: #f4f1ff;
  --texto: #cfcbe0;
  --muted: #8d8a9e;
  --azul: #2f6bff;
  --azul-claro: #4d8dff;
  --oro: #ffb800;
  --on-oro: #140d00;
  --success: #3ddc84;
  --danger: #ff4b4b;

  --display: "Exo 2", system-ui, sans-serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --lado: 16px;                     /* margen lateral: 16 / 32 / auto */
  --maxw: 1120px;
  --gap: 24px;
  --entre: 64px;                    /* espacio entre secciones: 64 / 88 / 112 */
  --nav-h: 56px;
  --barra-h: 64px;
  --r-chip: 6px;
  --r-card: 10px;
  --corte: 18px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 768px) { :root { --lado: 32px; --entre: 88px; } }
@media (min-width: 1024px) { :root { --entre: 112px; --nav-h: 72px; } }

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); background: var(--ground); }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--ground); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 768px) { body { font-size: 17px; } }
@media (min-width: 1024px) { body { font-size: 18px; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
::selection { background: var(--azul); color: #fff; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

/* 3. Utilidades y tipografía ----------------------------------- */
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 10px 16px; background: var(--ink); color: var(--ground); border-radius: var(--r-card); font-weight: 600; }
.skip-link:focus { top: 16px; }
.contenedor { width: 100%; max-width: calc(var(--maxw) + var(--lado) * 2); margin: 0 auto; padding: 0 var(--lado); }
.angosto { max-width: calc(720px + var(--lado) * 2); }
.centro { text-align: center; margin-inline: auto; }
.azul { color: var(--azul); }
.azul-claro { color: var(--azul-claro); }
.oro { color: var(--oro); }

.h1 { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(34px, 7.5vw, 64px); line-height: 1; letter-spacing: -.01em; }
.h2 { font-family: var(--display); font-style: italic; font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 5vw, 44px); line-height: 1.05; letter-spacing: -.005em; }
.h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(18px, 2.2vw, 22px); line-height: 1.25; }
.texto { max-width: 640px; color: var(--texto); }
.kicker, .hud { font-family: var(--mono); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.kicker { color: var(--azul-claro); }
.nota { font-size: 14px; color: var(--muted); }
.micro { font-size: 14px; color: var(--muted); }
.micro b { color: var(--ink); font-weight: 600; }
.enlace { color: var(--azul-claro); font-weight: 600; }
.enlace:hover { text-decoration: underline; text-underline-offset: 4px; }
.u-link { color: var(--azul-claro); }
.u-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Datos que Camilo todavía tiene que entregar: visibles a propósito para no publicarlos vacíos */
.falta {
  display: inline-block; padding: 2px 8px; border: 1px dashed var(--danger); border-radius: var(--r-chip);
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--danger); background: rgb(255 75 75 / .06);
}
.pendiente { color: var(--danger); font-style: italic; }

/* 4. Componentes ----------------------------------------------- */
/* Logo: GANO en ink, X azul, estela a −30° */
.logo { display: inline-flex; flex-direction: column; gap: 6px; }
.logo-word { font-family: var(--display); font-style: italic; font-weight: 900; font-size: 30px; line-height: .85; letter-spacing: -.02em; }
.logo-word b { color: var(--azul); font-weight: 900; }
.logo-estela { display: flex; align-items: center; gap: 10px; }
.logo-estela::before { content: ""; flex: 1; height: 4px; background: var(--azul); transform: skewX(-30deg); }
.logo-estela i { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--azul); white-space: nowrap; }
.logo--sm .logo-word { font-size: 20px; }
.logo--sm .logo-estela::before { height: 3px; }
@media (min-width: 1024px) { .logo--sm .logo-word { font-size: 24px; } }

/* Botones: dorado = pagar · azul = avanzar · borde = el resto. Mínimo 48 × 48 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: var(--r-card);
  font-weight: 600; text-align: center; line-height: 1.2;
  transition: transform .2s var(--ease-out), background-color .2s, color .2s, border-color .2s, filter .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn b { font-weight: 600; }
.btn--oro { background: var(--oro); color: var(--on-oro); }
.btn--oro:hover { filter: brightness(1.08); }
.btn--azul { background: var(--azul); color: #fff; }
.btn--azul:hover { background: var(--azul-claro); }
.btn--borde, .btn--ghost { border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.btn--borde:hover, .btn--ghost:hover { background: var(--high); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn--full { width: 100%; }
.btn--principal { width: 100%; min-height: 56px; font-size: 17px; }
@media (min-width: 768px) { .btn--principal { width: auto; min-width: 280px; } .btn--principal.btn--full { width: 100%; } }

/* Tarjetas: surface, borde de 1 px, sin sombras. Las grandes con esquinas cortadas */
.tarjeta { position: relative; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
.tarjeta--corte {
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - var(--corte)) 0, 100% var(--corte), 100% 100%, var(--corte) 100%, 0 calc(100% - var(--corte)));
}

/* Retícula HUD de 48 px casi invisible + brillo azul */
.hud-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 12% 0%, rgb(47 107 255 / .22), transparent 70%),
    linear-gradient(rgb(244 241 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgb(244 241 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px;
}

/* 5. Barra superior -------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--lado); padding-top: env(safe-area-inset-top);
  background: rgb(7 6 13 / .88); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .nav { padding-inline: max(var(--lado), calc((100% - var(--maxw)) / 2)); } }
.nav-acciones { display: flex; align-items: center; gap: 8px; }
.nav-entrar { display: inline-flex; align-items: center; min-height: 48px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--texto); }
.nav-entrar:hover { color: var(--ink); }
/* En PC, cuando el botón del hero sale de pantalla, Unirme pasa a dorado */
@media (min-width: 1024px) {
  .nav.is-pagar [data-nav-cta] { background: var(--oro); color: var(--on-oro); border-color: var(--oro); }
}

/* 6. Hero ------------------------------------------------------ */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: calc(var(--nav-h) + 24px) 0 var(--entre); }
.hero-grid { display: grid; gap: 40px; }
.hero-copy { display: grid; gap: 16px; align-content: start; }
.hero-copy .h1 { max-width: 15ch; }
.hero-sub { max-width: 640px; color: var(--texto); }
.hero-cta { display: grid; gap: 10px; margin-top: 4px; }
.prueba { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--texto); }
.prueba b { color: var(--ink); font-weight: 600; }
.avatares { display: flex; flex-shrink: 0; }
.avatares li { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ground); background: var(--raised); display: grid; place-items: center; overflow: hidden; }
.avatares li + li { margin-left: -10px; }
.avatares span { font-family: var(--mono); font-size: 10px; font-weight: 600; color: var(--azul-claro); }
.avatares img { width: 100%; height: 100%; object-fit: cover; }

.hero-media { position: relative; display: grid; place-items: center; }
.emblema-giro {
  position: absolute; z-index: -1; width: min(120%, 560px); opacity: .14; pointer-events: none;
  animation: giro 60s linear infinite;
}
@keyframes giro { to { transform: rotate(360deg); } }

/* Video 4:5, con portada liviana: el reproductor solo carga al tocar */
.video {
  position: relative; width: 100%; max-width: 440px; aspect-ratio: 4 / 5; max-height: 70dvh;
  background: radial-gradient(80% 60% at 50% 30%, rgb(47 107 255 / .18), transparent 70%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
}
.video-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; }
.video-icono { width: 72px; height: 72px; border-radius: 50%; background: var(--azul); display: grid; place-items: center; transition: transform .2s var(--ease-out); }
.video-icono::before { content: ""; margin-left: 5px; border-left: 20px solid #fff; border-block: 12px solid transparent; }
.video-play:hover .video-icono { transform: scale(1.06); }
.video-txt { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--texto); }
.video-falta { position: absolute; left: 12px; right: 12px; bottom: 12px; text-align: center; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; background: #000; }
.video.tiene-video .video-falta { display: none; }

@media (min-width: 1024px) {
  .hero { min-height: min(100dvh, 860px); display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); }
  .hero-grid { grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: center; }
  .hero-copy { gap: 20px; }
}

/* 7. Secciones ------------------------------------------------- */
.seccion { padding-top: var(--entre); }
.seccion .h2 { margin-bottom: 16px; }
.seccion .h2.centro { max-width: 22ch; margin-bottom: 32px; }

/* El problema: la pausa emocional, sin tarjetas ni íconos */
.problema { padding-bottom: 24px; }
.problema .contenedor { display: grid; gap: 20px; text-align: center; justify-items: center; }
.problema .h2 { margin: 0; }
@media (min-width: 1024px) { .problema { padding-block: calc(var(--entre) + 24px) 48px; } }

/* Cómo funciona: mapa vertical en celular, 3 tarjetas en PC */
.pasos { position: relative; display: grid; gap: 28px; max-width: 640px; margin: 0 auto; }
.pasos::before { content: ""; position: absolute; left: 31px; top: 32px; bottom: 32px; width: 2px; background: linear-gradient(var(--azul), var(--azul) 70%, var(--oro)); }
.paso { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; }
.paso img { width: 64px; height: 64px; background: var(--ground); }
.paso .hud { margin: 6px 0 6px; }
.paso p:last-child { color: var(--texto); }
.paso--owner img { filter: drop-shadow(0 0 14px rgb(255 184 0 / .35)); }
.pasos + .nota { margin-top: 28px; max-width: 46ch; }
@media (min-width: 1024px) {
  .pasos { max-width: none; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
  .pasos::before { left: 16%; right: 16%; top: 44px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--azul), var(--azul) 70%, var(--oro)); }
  .paso { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 0 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }
  .paso img { width: 88px; height: 88px; margin-top: 0; background: transparent; }
  .paso::before { content: ""; position: absolute; inset: 0 0 auto; height: 44px; background: var(--ground); }
  .paso img, .paso div { position: relative; }
  .paso { padding-top: 0; }
}

/* Qué incluye: 1 + 2×2 en celular, bento en PC */
.bento { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bento .tarjeta { display: grid; gap: 8px; align-content: start; padding: 18px; }
.bento .tarjeta img { width: 28px; height: auto; margin-bottom: 4px; }
.bento .tarjeta p { color: var(--texto); font-size: 15px; }
.bento-invitado { grid-column: 1 / -1; padding: 24px !important; background: radial-gradient(70% 80% at 100% 0%, rgb(47 107 255 / .18), transparent 70%), var(--surface) !important; border: 1px solid rgb(47 107 255 / .5); }
.bento-invitado img { width: 36px !important; }
.bento-invitado .h3 { font-size: clamp(20px, 2.6vw, 28px); max-width: 26ch; }
.invitados { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
@media (min-width: 768px) { .bento { gap: var(--gap); } .bento .tarjeta { padding: 24px; } }
@media (min-width: 1024px) {
  .bento { grid-template-columns: 6fr 3fr 3fr; }
  .bento-invitado { grid-column: 1; grid-row: span 2; align-content: end !important; min-height: 380px; padding: 32px !important; }
}

/* Quién es Camilo */
.camilo { display: grid; gap: 28px; }
.camilo-foto { aspect-ratio: 4 / 5; width: 100%; max-width: 440px; display: grid; place-items: center; padding: 16px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.camilo-foto img { width: 100%; height: 100%; object-fit: cover; }
.camilo-texto { display: grid; gap: 14px; align-content: center; }
.camilo-texto .h2 { margin-bottom: 4px; }
@media (min-width: 1024px) { .camilo { grid-template-columns: 5fr 6fr; gap: calc(var(--gap) * 2); align-items: center; } .camilo-foto { max-width: none; } }

/* Precio: una sola tarjeta angosta, también en PC */
.precio-cabeza { display: grid; gap: 8px; justify-items: center; text-align: center; margin-bottom: 28px; }
.precio-cabeza .h2 { margin: 0; }
.precio-tarjeta { display: grid; gap: 16px; width: 100%; max-width: 440px; margin: 0 auto; padding: 28px 24px; border: 1px solid rgb(47 107 255 / .55); }
.precio-linea { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.precio-num { font-family: var(--mono); font-weight: 600; font-size: clamp(44px, 9vw, 56px); line-height: 1; letter-spacing: -.02em; }
.precio-per { color: var(--muted); }
.precio-despues { width: 100%; font-size: 14px; color: var(--muted); }
.precio-despues s { text-decoration-thickness: 1px; }
.precio-tarjeta .nota { margin-top: -8px; }
.cupos { display: grid; gap: 8px; }
.cupos .hud { font-size: 12px; color: var(--texto); }
.cupos .hud b { color: var(--ink); }
.cupos-barra { height: 8px; border-radius: 99px; background: var(--raised); overflow: hidden; }
.cupos-barra span { display: block; height: 100%; width: 0; background: var(--azul); border-radius: inherit; transition: width .8s var(--ease-out); }
.checks { display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 6px; width: 13px; height: 7px; border-left: 2px solid var(--azul-claro); border-bottom: 2px solid var(--azul-claro); transform: rotate(-45deg); }
.precio-pie { display: grid; gap: 6px; text-align: center; font-size: 13px; color: var(--muted); }
.medios { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 6px; }
.medios li:not(.falta) { padding: 4px 10px; border: 1px solid var(--line); border-radius: var(--r-chip); font-family: var(--mono); font-size: 11px; color: var(--texto); }
.cita { max-width: 440px; margin: 20px auto 0; text-align: center; font-style: italic; color: var(--texto); }
.siguiente { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; max-width: 520px; margin: 20px auto 0; text-align: center; font-size: 14px; color: var(--muted); }
.siguiente img { width: 17px; height: auto; }
.siguiente b { color: var(--ink); }

/* Preguntas frecuentes */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 20px; color: var(--azul-claro); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { color: var(--texto); padding-bottom: 18px; max-width: 640px; }

/* Cierre: la única sección con fondo distinto */
.cierre { position: relative; isolation: isolate; overflow: hidden; margin-top: var(--entre); padding: var(--entre) 0; border-block: 1px solid var(--line); }
.cierre .hud-grid { background:
    radial-gradient(60% 70% at 50% 0%, rgb(47 107 255 / .28), transparent 70%),
    linear-gradient(rgb(244 241 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgb(244 241 255 / .035) 1px, transparent 1px) 0 0 / 48px 48px; }
.cierre-inner { display: grid; gap: 16px; justify-items: center; text-align: center; }
.cierre .h2 { max-width: 18ch; }

/* 8. Footer ---------------------------------------------------- */
.footer { padding: 48px 0 calc(32px + var(--barra-h) + env(safe-area-inset-bottom)); }
@media (min-width: 1024px) { .footer { padding-bottom: 40px; } }
.footer-fila { display: grid; gap: 24px; justify-items: center; text-align: center; }
.footer .logo-word { font-size: 34px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; color: var(--texto); font-size: 15px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--ink); }
.footer-links--sm { font-size: 13px; gap: 0 16px; color: var(--muted); }
.footer-legal { display: grid; gap: 10px; justify-items: center; text-align: center; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-datos { font-style: normal; line-height: 1.7; }
.footer-datos a:hover { color: var(--ink); }
@media (min-width: 1024px) {
  .footer-fila { grid-template-columns: auto 1fr; justify-items: stretch; text-align: left; align-items: center; }
  .footer-links { justify-content: flex-end; }
}

/* 9. Barra inferior (celular) y WhatsApp flotante (PC) ---------- */
.barra {
  position: fixed; z-index: 90; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px;
  min-height: calc(var(--barra-h) + env(safe-area-inset-bottom)); padding: 8px var(--lado) calc(8px + env(safe-area-inset-bottom));
  background: rgb(17 16 24 / .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease-out);
}
.barra.is-visible { transform: none; }
.barra-wa { display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; color: #25d366; border: 1px solid var(--line); }
.barra-txt { flex: 1; display: grid; line-height: 1.25; font-size: 13px; color: var(--muted); min-width: 0; }
.barra-txt b { font-family: var(--mono); font-size: 15px; color: var(--ink); }
.barra .btn { padding-inline: 22px; }
.wa-flotante { display: none; }
@media (min-width: 1024px) {
  .barra { display: none; }
  .wa-flotante {
    position: fixed; z-index: 90; right: 24px; bottom: 24px; display: grid; place-items: center;
    width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  }
  .wa-flotante:hover { filter: brightness(1.08); }
}

/* 10. Diálogo antes de pagar ----------------------------------- */
.dialogo { margin: auto; width: min(100% - 32px, 440px); padding: 0; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: var(--ink); }
.dialogo::backdrop { background: rgb(7 6 13 / .75); backdrop-filter: blur(4px); }
.dialogo-form { position: relative; display: grid; gap: 16px; padding: 24px; }
.dialogo-cerrar { position: absolute; top: 4px; right: 4px; width: 48px; height: 48px; font-size: 26px; color: var(--muted); }
.dialogo-cerrar:hover { color: var(--ink); }

/* 11. Formularios ---------------------------------------------- */
.consentimiento { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--texto); cursor: pointer; }
.consentimiento input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); cursor: pointer; }
.consentimiento a { color: var(--azul-claro); }
.consentimiento--sm { font-size: 13px; }
.lead-form { position: relative; display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); align-self: start; }
.lead-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; }
.lead-form .opt { font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-card); border: 1px solid var(--line);
  background: var(--raised); color: var(--ink); font: inherit; font-size: 16px; font-weight: 400;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--azul); outline: none; }
.lead-form [aria-invalid="true"] { border-color: var(--danger); }
.lead-form .consentimiento { display: flex; font-weight: 400; }
.lead-form .consentimiento input { width: 20px; height: 20px; min-height: 0; padding: 0; }
.tel { display: grid; grid-template-columns: 112px 1fr; gap: 8px; }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { font-size: 14px; min-height: 1em; }
.form-msg.ok { color: var(--success); }
.form-msg.err { color: var(--danger); }
.form-msg:empty { display: none; }
.form-legal { font-size: 12px; color: var(--muted); }

/* 12. Páginas del embudo (tutorial, espera, papás, bienvenida) -- */
.embudo { position: relative; isolation: isolate; overflow: hidden; min-height: 100dvh; padding: 32px 0 64px; }
.embudo .contenedor { max-width: calc(480px + var(--lado) * 2); display: grid; gap: 20px; }
.embudo .logo { justify-self: start; margin-bottom: 8px; }
.embudo .h1 { font-size: clamp(30px, 7vw, 44px); }
.embudo .texto { font-size: 17px; }
.embudo--ancho .contenedor { max-width: calc(720px + var(--lado) * 2); }
.embudo-pie { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); }
.embudo-pie a { display: inline-flex; min-height: 44px; align-items: center; }
.embudo-pie a:hover { color: var(--ink); }
.embudo .video { max-width: none; aspect-ratio: 16 / 9; max-height: none; }
.lista-puntos { display: grid; gap: 14px; }
.lista-puntos li { display: grid; gap: 4px; padding-left: 18px; border-left: 2px solid var(--azul); color: var(--texto); }
.lista-puntos b { color: var(--ink); }
.cuenta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cuenta div { display: grid; justify-items: center; padding: 12px 4px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); }
.cuenta b { font-family: var(--mono); font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cuenta span { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.listo { display: grid; gap: 10px; padding: 24px; border: 1px solid var(--success); border-radius: var(--r-card); background: rgb(61 220 132 / .06); }

/* 13. Aplicar a Owner ------------------------------------------ */
.owner-page { max-width: calc(var(--maxw) + var(--lado) * 2); margin: 0 auto; padding: 40px var(--lado) 96px; display: grid; gap: 40px; }
.owner-copy { display: grid; gap: 18px; align-content: start; }
.owner-copy > p { color: var(--texto); max-width: 46ch; }
.sec-title { font-family: var(--display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(36px, 7vw, 64px); line-height: 1; }
.owner-emblema { width: 140px; filter: drop-shadow(0 0 18px rgb(255 184 0 / .35)) drop-shadow(0 0 6px rgb(47 107 255 / .4)); }
.dots { display: grid; gap: 8px; font-size: 15px; color: var(--texto); }
.dots li::before { content: "◆ "; color: var(--azul-claro); font-size: 10px; }
.precio-owner { font-family: var(--mono); font-weight: 600; }
.precio-owner span { color: var(--muted); font-weight: 500; }
@media (min-width: 1024px) { .owner-page { grid-template-columns: 1fr 1.1fr; padding-top: 72px; } }

/* 14. Páginas legales ------------------------------------------ */
.legal { max-width: calc(760px + var(--lado) * 2); margin: 0 auto; padding: 48px var(--lado) 96px; display: grid; gap: 18px; }
.legal .sec-title { font-size: clamp(32px, 7vw, 56px); margin: 12px 0 8px; }
.legal h2 { font-size: 20px; margin-top: 16px; }
.legal p { color: var(--texto); }
.legal ul, .legal ol { display: grid; gap: 8px; padding-left: 22px; color: var(--texto); }
.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li::marker { color: var(--azul-claro); }
.legal h3 { font-size: 16px; margin-top: 4px; }
.legal-tabla { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--texto); }
.legal-tabla th, .legal-tabla td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-tabla th { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.legal-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); }
.legal-caja { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); display: grid; gap: 6px; }
.legal-caja p { margin: 0; }
.legal .lead-form { margin-top: 8px; }
.legal ~ .footer { padding-bottom: 32px; }
.legal ~ .footer .footer-top { max-width: calc(var(--maxw) + var(--lado) * 2); margin: 0 auto; padding: 0 var(--lado); }
.legal ~ .footer .footer-legal { display: block; margin-inline: auto; max-width: calc(var(--maxw) + var(--lado) * 2); }

/* PQR */
.pqr-radicado { padding: 20px; border: 1px solid var(--success); border-radius: var(--r-card); background: rgb(61 220 132 / .06); display: grid; gap: 6px; }
.pqr-radicado b { font-family: var(--mono); font-size: 20px; color: var(--ink); letter-spacing: .04em; }
.pqr-respuesta { padding: 12px 14px; border-radius: var(--r-chip); background: var(--raised); white-space: pre-line; }

/* 15. Aviso de cookies ----------------------------------------- */
.cookies { position: fixed; z-index: 95; left: 16px; right: 16px; bottom: 16px; max-width: 520px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-card); background: rgb(17 16 24 / .97); backdrop-filter: blur(10px); display: grid; gap: 14px; font-size: 14px; }
.cookies-txt { color: var(--texto); }
.cookies-txt b { color: var(--ink); }
.cookies-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookies-btns .btn { min-height: 44px; padding: 8px 16px; font-size: 14px; flex: 1 1 auto; }
.cookies-pref { display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cookies-op { display: flex; gap: 10px; align-items: flex-start; color: var(--texto); cursor: pointer; }
.cookies-op input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--azul); }
.cookies-op b { color: var(--ink); }

/* 16. Movimiento reducido -------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .emblema-giro { animation: none; }
  .barra, .cupos-barra span, .btn { transition: none; }
}
.nw { white-space: nowrap; }
.precio-pie b { color: var(--ink); font-weight: 600; }
/* Datos legales del pie: plegados en un desplegable */
.footer-datos summary { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; cursor: pointer; list-style: none; color: var(--muted); }
.footer-datos summary::-webkit-details-marker { display: none; }
.footer-datos summary::after { content: "+"; font-family: var(--mono); color: var(--azul-claro); }
.footer-datos[open] summary::after { content: "−"; }
.footer-datos summary:hover { color: var(--ink); }
.footer-datos address { font-style: normal; padding-bottom: 8px; }
/* Si Netlify muestra su etiqueta "Powered by Netlify" abajo, el WhatsApp sube para no quedar tapado */
@media (min-width: 1024px) { .con-badge-netlify .wa-flotante { bottom: 96px; } }
/* "Otro país": el campo del indicativo ocupa toda la fila debajo del selector */
.tel input[name="pais_otro"] { grid-column: 1 / -1; }
/* En celular la etiqueta de Netlify ocupa la esquina de abajo: la barra de pago sube para no quedar tapada */
@media (max-width: 1023px) {
  .con-badge-netlify .barra { bottom: 72px; border: 1px solid var(--line); border-radius: var(--r-card); left: 8px; right: 8px; padding-bottom: 8px; min-height: var(--barra-h); }
  .con-badge-netlify .footer { padding-bottom: calc(32px + var(--barra-h) + 72px); }
}
