/* Revolución Latina · estética oscura con dorado y rojo */
:root {
  --bg: #0c090a;
  --panel: #171212;
  --line: #866239;
  --gold: #efcb86;
  --gold-hi: #f8d99e;
  --gold-lo: #b88740;
  --red: #de2636;
  --red-dk: #810510;
  --text: #fff8f4;
  --muted: #d1c8c5;
  --err: #ff8a8a;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  background:
    repeating-linear-gradient(120deg, #ffffff03 0 1px, transparent 1px 5px),
    radial-gradient(ellipse at 50% 0, #300d14, transparent 32rem),
    var(--bg);
  color: var(--text);
  font: 400 16px/1.55 'DM Sans', Arial, sans-serif;
  text-align: center;
}
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: 'Manrope', Arial, sans-serif; }
img { max-width: 100%; }
a { color: var(--gold); }
[hidden] { display: none !important; }

.wrap { width: min(calc(100% - 32px), 650px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; padding: 8px 12px; background: var(--gold); color: #201207; border-radius: 8px; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.kicker {
  color: var(--gold);
  font: 800 .74rem/1.45 'Manrope', sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.note { color: var(--muted); font-size: .8rem; }

/* Cuenta regresiva */
.band { padding: 23px 12px 5px; }
.timer { display: flex; justify-content: center; gap: 7px; margin-top: 9px; }
.timer span {
  min-width: 58px; display: grid; padding: 5px 4px;
  border: 1px solid #f6daa3; border-radius: 7px;
  background: linear-gradient(var(--gold-hi), #c99750);
  color: #241307; line-height: 1.2;
}
.timer b { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.timer small { font-size: .62rem; font-weight: 800; text-transform: uppercase; }

/* Botón principal */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  width: min(100%, 415px); min-height: 57px; padding: 12px 18px;
  border: 2px solid #e5b675; border-radius: 12px;
  background: linear-gradient(var(--red), #a00616 65%, var(--red-dk));
  box-shadow: 0 0 0 3px #9a6736, 0 7px 24px #a6132140;
  color: #fff; font: 800 1rem/1.25 'DM Sans', Arial, sans-serif;
  text-decoration: none; cursor: pointer;
}
.btn::before { content: ''; position: absolute; inset: 3px; border: 1px solid #ffd4929c; border-radius: 7px; pointer-events: none; }
.btn:hover { background: #b21426; color: #fff; }
.btn:focus-visible { outline: 3px solid #fff; outline-offset: 6px; }
.btn:disabled { opacity: .7; cursor: wait; }
.btn--block { width: 100%; }
.btn--sm { min-height: 46px; font-size: .92rem; }
.wa { width: 20px; height: 20px; fill: currentColor; flex: none; }

/* 1. Hero */
.hero { padding-bottom: 24px; }
.band:not([hidden]) + main .hero .stage { padding-top: 4px; }
.stage { position: relative; max-width: 620px; min-height: 235px; margin: 0 auto; padding-top: 16px; isolation: isolate; }
.flag {
  position: absolute; z-index: -1; inset: 22% 0 6%;
  transform: rotate(-11deg) scale(1.04); opacity: .52; overflow: hidden;
  background: repeating-linear-gradient(#751a2b 0 7.69%, #b0a7a4 7.69% 15.38%);
  -webkit-mask-image: radial-gradient(ellipse, #000 34%, transparent 77%);
  mask-image: radial-gradient(ellipse, #000 34%, transparent 77%);
}
.flag span {
  display: block; width: 44%; height: 54%; padding: 9px 0; overflow: hidden;
  background: #151c33; color: #c0b6ba;
  font: 700 clamp(.65rem, 3vw, 1.1rem)/1.3 Arial, sans-serif; white-space: nowrap;
}
.portrait {
  display: block; position: relative;
  width: min(82%, 390px); height: clamp(260px, 76vw, 440px); margin: 0 auto;
  object-fit: contain; object-position: center bottom;
  -webkit-mask-image: linear-gradient(#000 78%, transparent 100%);
  mask-image: linear-gradient(#000 78%, transparent 100%);
}
.brand { position: relative; margin-top: clamp(-100px, -23vw, -70px); }
.logo { display: block; width: min(70%, 280px); height: 92px; object-fit: contain; margin: 0 auto; }
.edition { display: inline-block; padding: 4px 13px; border: 1px solid #98703d; border-radius: 999px; color: var(--gold); font-size: .8rem; letter-spacing: .09em; }
.audience { margin-top: 16px; }
h1 { max-width: 620px; margin: 9px auto 10px; font-size: clamp(1.45rem, 4.6vw, 2.5rem); font-weight: 500; line-height: 1.25; letter-spacing: -.035em; }
h1 strong { color: var(--gold); font-weight: 800; }
h1 > span { display: block; margin-top: 6px; font-size: .72em; color: var(--text); }
.ast { color: var(--gold); text-decoration: none; font-weight: 800; }
.lead { max-width: 54ch; margin: 0 auto 18px; color: var(--muted); }
.session { display: inline-flex; align-items: center; gap: 8px; margin: 0 auto 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .9rem; }
.session strong { color: var(--gold); }
.session__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px #3ddc8433; }
.video { position: relative; aspect-ratio: 16 / 9; margin: 0 auto 22px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #000; }
.video iframe, .video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.help { margin-top: 12px; }
.community { display: flex; justify-content: center; align-items: center; gap: 15px; margin: 20px auto 0; }
.community p { max-width: 30ch; text-align: left; font-size: .82rem; color: var(--muted); }
.avatars { display: flex; padding-left: 6px; flex: none; }
.avatars span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border: 1px solid var(--bg); border-radius: 50%; background: #395368; color: #fff; font-size: .67rem; font-weight: 800; }
.avatars span:nth-child(2) { background: #694578; }
.avatars span:nth-child(3) { background: #75521f; }
.avatars span:nth-child(4) { background: #a51d31; }

/* Cintas */
.ribbons { position: relative; height: 108px; display: grid; align-items: center; overflow: hidden; }
.ribbon {
  grid-area: 1 / 1; padding: 8px 2px;
  border-block: 1px solid #b88b52; background: #181212; color: var(--gold);
  transform: rotate(5deg) scale(1.08);
  font: 800 clamp(.56rem, 2.25vw, .82rem)/1.35 'Manrope', sans-serif; letter-spacing: .055em; text-transform: uppercase;
}
.ribbon--red { z-index: 1; background: linear-gradient(90deg, #820614, #cb1829, #820614); color: #fff5e8; transform: translateY(15px) rotate(-5deg) scale(1.08); }

/* Secciones */
.section { padding: 40px 0 56px; }
h2 { margin-top: 6px; font-size: clamp(1.65rem, 5vw, 2.55rem); line-height: 1.15; font-weight: 500; letter-spacing: -.02em; }
h2 strong { color: var(--gold); font-weight: 800; }

/* 2. Registro */
.reg { padding-top: 22px; }
.ticks { display: grid; gap: 8px; max-width: 460px; margin: 18px auto 22px; padding: 0; list-style: none; text-align: left; }
.ticks li { position: relative; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: '✓'; position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(var(--gold-hi), var(--gold-lo)); color: #201207; font-size: .72rem; font-weight: 800; }
.card { max-width: 460px; margin: 0 auto; padding: 24px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); box-shadow: 0 20px 50px -20px #000; text-align: left; }
.card__title { color: var(--gold); font-size: 1.3rem; text-align: center; }
.card__sub { margin: 4px 0 18px; color: var(--muted); font-size: .92rem; text-align: center; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; font-weight: 700; font-size: .92rem; }
.hint { color: var(--muted); font-weight: 400; font-size: .82rem; }
.field input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #5a4430; border-radius: 10px; background: #0f0b0c; color: var(--text);
  font: inherit; font-size: 1rem;
}
.field input::placeholder { color: #8d827e; }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px #efcb8633; }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { min-height: 0; margin-top: 4px; color: var(--err); font-size: .82rem; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin-top: 10px; font-size: .9rem; text-align: center; }
.status:empty { display: none; }
.status.is-error { color: var(--err); }
.assure { margin-top: 12px; color: var(--gold); font-size: .82rem; font-weight: 700; text-align: center; }
.fine { margin-top: 10px; color: #a99f9b; font-size: .74rem; line-height: 1.45; }
.card .fine { text-align: center; }

/* Aseguradoras */
.carriers { padding: 8px 0 24px; }
.carriers__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.carriers__list li { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font-size: .88rem; }

/* 3. Qué vas a aprender */
.lessons { padding-top: 24px; border-top: 1px solid #2a1d1d; }
.topics { display: grid; gap: 10px; margin: 22px auto 18px; padding: 0; list-style: none; }
.topics li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 13px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-align: left; }
.topics h3 { color: var(--gold); font-size: 1.02rem; line-height: 1.3; }
.topics p { margin-top: 3px; color: var(--muted); font-size: .9rem; }
.num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(var(--gold-hi), var(--gold-lo)); color: #201207; font-size: .88rem; font-weight: 800; }
.lessons .note { margin-bottom: 22px; }

/* Testimonios */
.testis__list { display: grid; gap: 14px; margin-top: 18px; }
.testi { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); text-align: left; }
.testi__h { color: var(--gold); font: 800 1.05rem/1.3 'Manrope', sans-serif; }
.testi__q { margin: 8px 0 0; color: var(--muted); }
.testi__n { margin: 10px 0 14px; font-weight: 700; }

/* 4. Mentora */
.mentor { padding: 42px 0 36px; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 23%, #300d14, transparent 70%); }
.mentor__portrait { width: min(100%, 420px); margin: 18px auto; padding: 10px 12px 0; border: 1px solid var(--line); border-bottom-color: transparent; border-radius: 16px 16px 0 0; background: linear-gradient(#100c0d, transparent); }
.mentor__portrait img {
  display: block; width: 100%; height: clamp(230px, 75vw, 365px); object-fit: contain; object-position: center bottom;
  -webkit-mask-image: linear-gradient(#000 85%, transparent); mask-image: linear-gradient(#000 85%, transparent);
}
.mentor__copy { max-width: 54ch; margin-inline: auto; text-align: left; }
.mentor__copy p + p { margin-top: 12px; }
.mentor__copy strong { color: var(--gold); }
.mentor__intro { margin-bottom: 16px; text-align: center; }
.mentor__intro strong { display: block; font: 800 clamp(1.55rem, 6vw, 2.35rem)/1.15 'Manrope', Arial, sans-serif; }

/* 5. Cierre */
.cta { padding: 48px 0 56px; border-top: 1px solid #2a1d1d; }
.cta p { margin: 10px auto 22px; color: var(--muted); }

/* Pie */
.foot { padding: 28px 0 100px; border-top: 1px solid #2a1d1d; color: var(--muted); font-size: .82rem; }

/* CTA fijo en móvil */
.mcta {
  position: fixed; left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 40;
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 14px;
  border: 2px solid #e5b675; border-radius: 12px;
  background: linear-gradient(var(--red), #a00616 65%, var(--red-dk));
  box-shadow: 0 0 0 3px #9a6736, 0 10px 30px -8px #000;
  color: #fff; font-weight: 800; text-decoration: none;
  transition: transform .25s, opacity .25s;
}
.mcta.is-off { transform: translateY(160%); opacity: 0; pointer-events: none; }

/* Aviso de redirección */
.overlay { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; background: #0c090ae6; }
.overlay__box { width: min(100%, 380px); padding: 28px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.overlay__t { font: 800 1.2rem/1.3 'Manrope', sans-serif; }
.overlay__g { margin: 6px 0 18px; color: var(--gold); }
.spinner { width: 36px; height: 36px; margin: 0 auto 14px; border: 3px solid #5a4430; border-top-color: var(--gold); border-radius: 50%; animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 760px) {
  .topics li { padding: 16px 20px; gap: 16px; }
  .card { padding: 28px; }
  .mcta { display: none !important; }
  .foot { padding-bottom: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spinner { animation: none; }
  .mcta { transition: none; }
}
