/* =========================================================
   Francés con Caro · Black Friday 2026
   Paleta: azul noche, azul lavanda, rojo francés y blanco
   Layout: hero a dos columnas con foto que se funde en el fondo · mobile-first
   ========================================================= */

@font-face { font-family: "DM Serif Display"; src: url("../fonts/DMSerif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Serif Display"; src: url("../fonts/DMSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/Manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Allura"; src: url("../fonts/Allura.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --night: #0b1020;
  --night-2: #10172a;
  --night-3: #161f38;
  --line: rgba(169, 184, 240, .16);
  --line-2: rgba(169, 184, 240, .32);
  --lav: #aab9f2;
  --lav-2: #cdd7fb;
  --blue-fr: #3550b8;
  --red: #a3242a;
  --red-2: #c7363a;
  --red-dark: #6e1418;
  --white: #f6f4f0;
  --muted: #a9b0c4;
  --lav-grad: linear-gradient(100deg, #8ea0e6 0%, #cdd7fb 45%, #aab9f2 100%);
  --red-grad: linear-gradient(100deg, #6e1418 0%, #a3242a 45%, #c7363a 100%);
  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --radius: 18px;
  --wrap: 1200px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--white);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lav-2); }
h1, h2, h3 { margin: 0; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); color: var(--night); padding: 10px 16px; border-radius: 8px; z-index: 100; font-weight: 800; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lav); outline-offset: 3px; }

/* Cuadrícula sutil de fondo */
.grid-bg {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
}

.lav-text {
  background: var(--lav-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
em.lav-text, .lav-text em { font-style: italic; }
.red-text {
  background: linear-gradient(100deg, #c7363a 0%, #ef5a5e 50%, #d9444a 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; font-style: italic;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--lav);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--red-2); }

/* Marca Black Friday con barra tricolor */
.bf-mark { display: inline-grid; gap: 2px; }
.bf-mark .bf {
  display: flex; gap: 14px; align-items: stretch;
  font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 8vw, 46px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase;
}
.bf-mark .bf small { display: block; margin-top: 8px; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .42em; color: var(--lav); line-height: 1; }
.hero h1 .h1-date { display: block; }
.hero h1 .h1-date em { font-weight: 400; }
.bf-mark .bar { width: 3px; border-radius: 2px; background: linear-gradient(180deg, var(--blue-fr) 0 33%, var(--white) 33% 66%, var(--red-2) 66%); }
.bf-mark .script {
  font-family: var(--script); font-size: clamp(36px, 9vw, 52px); line-height: 1; margin: 4px 0 0 10px;
  background: linear-gradient(95deg, #6f86e0, #aab9f2 55%, #d9555a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  transform: rotate(-4deg); transform-origin: left center;
  padding-right: 8px;
}

/* ---------- Botones ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; min-height: 64px; padding: 10px 12px 10px 28px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px; cursor: pointer;
  background: var(--red-grad);
  color: var(--white); font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; text-align: left;
  box-shadow: 0 18px 40px -16px rgba(199,54,58,.7);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 22px 48px -16px rgba(199,54,58,.85); }
.btn .arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--white); color: var(--red);
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: rotate(45deg); }
.btn .arrow svg { width: 18px; height: 18px; }
@media (min-width: 640px) { .btn { width: auto; } }

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 1px solid var(--line-2); color: var(--lav-2); text-decoration: none; font-weight: 600;
}
.btn-ghost:hover { background: rgba(169,184,240,.08); }

/* ---------- Barra superior ---------- */
.topbar { position: absolute; inset: 0 0 auto; z-index: 5; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 21px; color: var(--white); text-decoration: none; }
.brand span { color: var(--lav); }
.topbar-tag { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lav-2); border: 1px solid var(--line-2); padding: 7px 12px; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 76px 0 60px;
  background:
    radial-gradient(55% 40% at 80% 12%, rgba(53,80,184,.30), transparent 70%),
    radial-gradient(45% 35% at 0% 95%, rgba(163,36,42,.16), transparent 70%),
    var(--night);
}
.hero::before { /* cuadrícula que se desvanece */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(80% 60% at 60% 20%, #000 20%, transparent 80%);
          mask-image: radial-gradient(80% 60% at 60% 20%, #000 20%, transparent 80%);
  opacity: .55;
}
.hero-grid { display: grid; gap: 28px; grid-template-areas: "copy" "form" "photo" "info"; }
.hero-copy { grid-area: copy; display: grid; gap: 20px; position: relative; z-index: 1; }
.hero h1 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 10vw, 72px); letter-spacing: -.01em; line-height: 1.04;
}
.hero h1 em { font-weight: 400; }
.hero-sub { font-size: 18px; color: #dfe3ee; max-width: 34em; }
.hero-sub strong { color: var(--white); font-weight: 700; }

.hero-photo { grid-area: photo; position: relative; margin: -8px -20px -80px; }
.hero-photo img {
  width: min(88%, 420px); margin-inline: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
          mask-image: linear-gradient(to bottom, #000 55%, transparent 96%);
}
.hero-photo .glow { position: absolute; inset: 10% 10% 30%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, rgba(53,80,184,.45), transparent); filter: blur(10px); }
.hero-photo .badge {
  position: absolute; left: 20px; bottom: 34%;
  width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center; text-align: center;
  background: var(--red-grad); border: 1px solid rgba(255,255,255,.25);
  font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; line-height: 1.3; color: var(--white);
  box-shadow: 0 14px 30px -10px rgba(199,54,58,.7);
  transform: rotate(-8deg);
}
.hero-photo .badge b { display: block; font-family: var(--script); font-size: 34px; letter-spacing: 0; text-transform: none; font-weight: 400; line-height: .9; }

.hero-info { grid-area: info; display: grid; gap: 18px; position: relative; z-index: 1; }
.event {
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(22,31,56,.85), rgba(16,23,42,.85));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 20px;
}
.event-date { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.event-date .day { font-family: var(--serif); font-size: 56px; font-weight: 400; line-height: .85; }
.event-date .meta { line-height: 1.35; }
.event-date .meta strong { display: block; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--lav); font-weight: 700; }
.event-date .meta span { font-size: 15px; color: var(--muted); }
.times { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.times li { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.times li b { font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.times li span { color: var(--muted); }
.localtime { margin-top: 12px; font-size: 13px; color: var(--lav-2); }
.localtime:empty { display: none; }

/* Cuenta regresiva */
.countdown { text-align: center; }
.countdown-label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.cd { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cd div { border-radius: 14px; padding: 12px 4px 10px; background: var(--night-2); border: 1px solid var(--line-2); }
.cd b { display: block; font-family: var(--serif); font-size: clamp(30px, 8vw, 42px); font-weight: 400; line-height: 1; font-variant-numeric: tabular-nums; }
.cd small { display: block; margin-top: 6px; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--lav); }
.countdown-live { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--lav-2); }

/* ---------- Registro / Hotmart Send ---------- */
.register { grid-area: form; scroll-margin-top: 20px; position: relative; z-index: 1; }
.register-card {
  position: relative; border-radius: 22px; padding: 26px 20px 22px;
  background: linear-gradient(180deg, #141c33, #0e1426);
  border: 1px solid var(--line-2);
  box-shadow: 0 30px 80px -30px rgba(53,80,184,.55);
}
.register-card::before { /* filete tricolor superior */
  content: ""; position: absolute; top: -1px; left: 28px; right: 28px; height: 3px; border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--blue-fr) 0 33%, var(--white) 33% 66%, var(--red-2) 66%);
}
.register-card h2 { font-family: var(--serif); font-weight: 400; font-size: 32px; }
.register-card > p { color: var(--muted); margin: 8px 0 18px; font-size: 15px; }

/* Marcador de posición (se elimina al pegar el código oficial) */
.hs-placeholder {
  border: 2px dashed var(--lav); border-radius: 14px; padding: 22px 18px; text-align: center;
  background: repeating-linear-gradient(135deg, rgba(169,184,240,.06) 0 12px, transparent 12px 24px);
}
.hs-placeholder strong { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lav-2); }
.hs-placeholder code { display: inline-block; margin: 8px 0; padding: 4px 8px; border-radius: 6px; background: var(--night); color: var(--white); font-size: 13px; }
.hs-placeholder p { font-size: 14px; color: var(--muted); }

/* Armonización visual del formulario de Hotmart Send.
   Solo aspecto: no modifica campos, acciones ni validaciones. */
#HOTMART_SEND_FORM { color: var(--white); font-family: var(--sans); }
#HOTMART_SEND_FORM label { color: #dfe3ee; font-size: 14px; font-weight: 600; }
#HOTMART_SEND_FORM input[type="text"],
#HOTMART_SEND_FORM input[type="email"],
#HOTMART_SEND_FORM input[type="tel"],
#HOTMART_SEND_FORM select {
  width: 100%; min-height: 54px; padding: 14px 16px; margin: 6px 0 12px;
  border-radius: 12px; border: 1px solid var(--line-2);
  background: #0a0e1c; color: var(--white); font: 500 16px var(--sans);
}
#HOTMART_SEND_FORM input::placeholder { color: #7d859c; }
#HOTMART_SEND_FORM input:focus, #HOTMART_SEND_FORM select:focus { outline: none; border-color: var(--lav); box-shadow: 0 0 0 3px rgba(169,184,240,.22); }
#HOTMART_SEND_FORM button,
#HOTMART_SEND_FORM input[type="submit"] {
  width: 100%; min-height: 60px; padding: 16px 24px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; cursor: pointer;
  background: var(--red-grad); color: var(--white); font: 600 16px var(--sans); letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 18px 40px -16px rgba(199,54,58,.7);
}
#HOTMART_SEND_FORM a { color: var(--lav-2); }

.consent { margin-top: 14px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.consent a { color: var(--lav-2); }
.safe { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: #7d859c; }
.safe svg { width: 14px; height: 14px; }

/* ---------- Franja ---------- */
.ribbon-wrap { padding: 28px 0; background: var(--night); overflow: hidden; }
.ribbon {
  position: relative; overflow: hidden;
  background: var(--red-grad); color: var(--white);
  transform: rotate(-2deg); margin: 0 -10px; padding: 14px 0;
  border-block: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 14px 40px -12px rgba(163,36,42,.6);
}
.ribbon-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.ribbon-track span {
  display: inline-flex; align-items: center; gap: 24px; padding-right: 24px;
  font-weight: 600; font-size: 15px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.ribbon-track i { font-style: normal; font-size: 12px; color: var(--lav-2); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.section { padding: 84px 0; position: relative; }
.section-head { display: grid; gap: 16px; margin-bottom: 44px; max-width: 780px; }
.section-head h2, .about h2, .final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 8vw, 58px); letter-spacing: -.01em; }

/* Beneficios */
.benefits-section { background: linear-gradient(180deg, var(--night), var(--night-2)); }
.benefits { display: grid; gap: 16px; }
.benefit {
  position: relative; padding: 28px 24px 26px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--night-3), var(--night-2));
  border: 1px solid var(--line);
  transition: transform .3s ease, border-color .3s ease;
}
.benefit:hover { transform: translateY(-4px); border-color: var(--line-2); }
.benefit .icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(169,184,240,.1); border: 1px solid var(--line-2); margin-bottom: 20px; color: var(--lav-2); }
.benefit .icon svg { width: 24px; height: 24px; }
.benefit h3 { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--white); margin-bottom: 10px; line-height: 1.35; }
.benefit p { color: #c9cfdd; }

/* Presentación */
.about { background: var(--night-2); overflow: hidden; }
.about-grid { display: grid; gap: 44px; align-items: center; }
.about-photo { position: relative; width: min(100%, 460px); margin-inline: auto; }
.about-photo .frame {
  position: relative; overflow: hidden; border-radius: 240px 240px 22px 22px;
  background:
    radial-gradient(70% 55% at 50% 35%, rgba(53,80,184,.55), transparent 75%),
    linear-gradient(180deg, #1a2444, #0e1426);
  border: 1px solid var(--line-2);
  aspect-ratio: 4 / 5; max-width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
}
.about-photo .frame img { width: 100%; height: 92%; object-fit: cover; object-position: 50% 0; }
.about-photo .script-tag {
  position: absolute; right: -6px; bottom: 26px; z-index: 2;
  font-family: var(--script); font-size: 44px; line-height: 1; color: var(--white);
  background: var(--red-grad); padding: 6px 22px 10px; border-radius: 999px;
  transform: rotate(-6deg); box-shadow: 0 14px 30px -10px rgba(163,36,42,.7);
}
.about-copy { display: grid; gap: 18px; }
.about-copy p { color: #dfe3ee; font-size: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--lav-2); background: rgba(169,184,240,.06); }
.signature { font-family: var(--script); font-size: 42px; line-height: 1; color: var(--lav-2); }

/* CTA final */
.final { overflow: hidden; padding-bottom: 0; }
.final-card {
  position: relative; display: grid; gap: 24px; align-items: end; overflow: hidden;
  border-radius: 28px 28px 0 0; padding: 40px 22px 0;
  background:
    radial-gradient(60% 70% at 85% 100%, rgba(53,80,184,.45), transparent 70%),
    radial-gradient(40% 40% at 0% 0%, rgba(163,36,42,.18), transparent 70%),
    linear-gradient(180deg, #141c33, #0b1020);
  border: 1px solid var(--line-2); border-bottom: 0;
}
.final-copy { display: grid; gap: 18px; padding-bottom: 8px; position: relative; z-index: 1; }
.final-copy p { color: #dfe3ee; font-size: 18px; }
.final-date { font-size: 14px; color: var(--muted); }
.final-date b { color: var(--white); }
.final-photo { width: min(100%, 380px); margin-inline: auto; }
.final-photo img { -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent); mask-image: linear-gradient(to bottom, #000 82%, transparent); }

/* Footer */
.footer { padding: 32px 0 110px; border-top: 1px solid var(--line); font-size: 13px; color: #7d859c; text-align: center; }
.footer a { color: var(--muted); }
.footer .brand { display: inline-block; margin-bottom: 8px; }

/* CTA fija en móvil */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  padding: 0 max(12px, env(safe-area-inset-left, 0px)) calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(140%); transition: transform .35s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { width: 100%; min-height: 58px; font-size: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.6); }
.sticky-cta .btn .arrow { width: 38px; height: 38px; }

/* Animación de entrada: siempre visible, solo un leve desplazamiento */
.reveal { transform: translateY(14px); transition: transform .8s ease; }
.reveal.in { transform: none; }

/* ---------- Tablet y escritorio ---------- */
@media (min-width: 720px) {
  .benefits { grid-template-columns: repeat(3, 1fr); }
  .register-card { padding: 30px 28px 24px; }
  .event { padding: 22px 24px; }
}
@media (min-width: 980px) {
  body { font-size: 18px; }
  .hero { padding: 110px 0 90px; }
  .hero-grid {
    grid-template-columns: 1.08fr .92fr; column-gap: 40px; row-gap: 26px;
    grid-template-areas:
      "copy photo"
      "form photo"
      "info photo";
    align-items: start;
  }
  .hero-photo { margin: -40px -60px 0 -80px; position: sticky; top: 0; align-self: start; }
  .hero-photo img {
    width: 100%; max-width: 640px;
    -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%), linear-gradient(to right, transparent 0%, #000 22%);
    -webkit-mask-composite: source-in;
            mask-image: linear-gradient(to bottom, #000 70%, transparent 98%), linear-gradient(to right, transparent 0%, #000 22%);
            mask-composite: intersect;
  }
  .hero-photo .badge { left: 8%; bottom: 30%; width: 112px; height: 112px; }
  .hero-photo .badge b { font-size: 40px; }
  .hero-info { max-width: 620px; }
  .register { max-width: 620px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 80px; }
  .final-card { grid-template-columns: 1.15fr .85fr; padding: 56px 56px 0; }
  .final-copy { padding-bottom: 56px; }
  .final-copy .btn { width: auto; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}

/* ---------- Páginas internas (gracias / privacidad / 404) ---------- */
.page {
  min-height: 100vh; padding: 100px 0 60px;
  background: radial-gradient(60% 45% at 50% 0%, rgba(53,80,184,.30), transparent 70%), var(--night);
}
.page .wrap { max-width: 760px; }
.thanks { text-align: center; display: grid; gap: 22px; justify-items: center; }
.check {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-grad); color: var(--white); box-shadow: 0 0 0 10px rgba(163,36,42,.15);
}
.check svg { width: 40px; height: 40px; }
.thanks h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 10vw, 64px); }
.thanks .lead { font-size: 19px; color: #dfe3ee; max-width: 30em; }
.thanks .event { width: 100%; text-align: left; }
.steps { width: 100%; text-align: left; display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--night-2); font-size: 16px; color: #dfe3ee; }
.steps li::before { content: counter(s); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(169,184,240,.12); color: var(--lav-2); font-weight: 700; }
.wa-box[hidden] { display: none; }
.wa-box { width: 100%; padding: 22px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--night-2); display: grid; gap: 12px; justify-items: center; }
.small-note { font-size: 13px; color: #7d859c; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 8vw, 52px); margin-bottom: 24px; }
.legal h2 { font-size: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--lav); margin: 32px 0 10px; }
.legal p, .legal li { color: #dfe3ee; }
.legal p + p { margin-top: 12px; }
.legal mark { background: rgba(169,184,240,.2); color: var(--white); padding: 0 4px; border-radius: 4px; }

/* ---------- Gracias: foco en WhatsApp ---------- */
.progress { width: 100%; max-width: 460px; display: grid; gap: 8px; }
.progress-bar { height: 12px; border-radius: 999px; background: var(--night-3); border: 1px solid var(--line-2); overflow: hidden; }
.progress-bar span { display: block; height: 100%; width: 90%; border-radius: inherit; background: var(--red-grad); animation: fill 1.2s ease-out both; }
@keyframes fill { from { width: 20%; } to { width: 90%; } }
.progress-labels { display: flex; justify-content: space-between; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.progress-labels .done { color: var(--lav); }
.progress-labels .todo { color: var(--red-2); }
.thanks .lead strong { color: var(--white); }
.btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 520px; min-height: 66px; padding: 16px 26px;
  border-radius: 999px; text-decoration: none;
  background: linear-gradient(100deg, #1fae55, #25d366); color: #05210f;
  font: 800 17px var(--sans); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 18px 44px -14px rgba(37,211,102,.6), inset 0 1px 0 rgba(255,255,255,.35);
  animation: wa-pulse 2.2s ease-in-out infinite;
  transition: transform .2s ease;
}
.btn-wa:hover { transform: translateY(-2px); }
.btn-wa svg { width: 28px; height: 28px; flex: none; }
@keyframes wa-pulse { 0%,100% { box-shadow: 0 18px 44px -14px rgba(37,211,102,.6), 0 0 0 0 rgba(37,211,102,.45); } 50% { box-shadow: 0 18px 44px -14px rgba(37,211,102,.6), 0 0 0 12px rgba(37,211,102,0); } }
.wa-cta { width: 100%; display: grid; justify-items: center; gap: 10px; }
.wa-missing-note { display: none; font-size: 13px; color: var(--lav-2); border: 1px dashed var(--lav); border-radius: 10px; padding: 8px 12px; }
.wa-missing .wa-missing-note { display: block; }
.wa-missing-note code { background: var(--night); padding: 2px 6px; border-radius: 4px; }
.vip-box { width: 100%; text-align: left; display: grid; gap: 12px; padding: 20px 20px; border-radius: 18px; background: var(--night-2); border: 1px solid var(--line-2); font-size: 15px; line-height: 1.55; color: #dfe3ee; }
.vip-box strong { color: var(--white); }
.vip-box .warn { padding: 14px 16px; border-left: 3px solid var(--red-2); background: rgba(163,36,42,.14); border-radius: 0 10px 10px 0; color: var(--white); font-weight: 600; }
.vip-box .final-push { font-family: var(--serif); font-size: 18px; color: var(--white); }
.thanks h1 .red-text { font-style: italic; }
@media (prefers-reduced-motion: reduce) { .btn-wa, .progress-bar span { animation: none; } }

#HOTMART_SEND_FORM form { position: relative; display: grid; gap: 10px; }
#HOTMART_SEND_FORM form input[type="email"], #HOTMART_SEND_FORM form input[type="text"]:not([name^="b_"]) { margin: 0; }
#HOTMART_SEND_FORM form > div[aria-hidden="true"] { overflow: hidden; width: 1px; height: 1px; }
#HOTMART_SEND_FORM button { margin-top: 6px; transition: transform .2s ease, filter .2s ease; }
#HOTMART_SEND_FORM button:hover { transform: translateY(-2px); filter: brightness(1.08); }

.safe a { color: var(--muted); }
/* Móvil: hero compacto para que el formulario quede a la vista */
@media (max-width: 979px) {
  .hero { padding-top: 70px; }
  .hero-grid { gap: 22px; }
  .hero-copy { gap: 12px; }
  .bf-mark .bf { font-size: 26px; gap: 10px; }
  .bf-mark .bf small { font-size: 10px; margin-top: 6px; }
  .bf-mark .script { font-size: 30px; margin-top: 2px; }
  .hero h1 { font-size: clamp(32px, 9vw, 48px); }
  .hero-sub { font-size: 15.5px; line-height: 1.55; }
  .register-card { padding: 22px 18px 18px; }
  .register-card h2 { font-size: 26px; }
  .register-card > p { margin: 4px 0 14px; font-size: 14px; }
  .hero-photo { margin: -10px -20px -70px; }
}
