:root {
  --navy: #0B1B33;
  --navy-2: #13294B;
  --cream: #F7F4EE;
  --paper: #FFFFFF;
  --amber: #F5B841;
  --amber-d: #E3A42A;
  --ink: #18202B;
  --muted: #55606E;
  --line: #E3DED3;
  --wa: #25D366;
  --error: #B3261E;
  --radius: 16px;
  --font-d: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-b: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.6 var(--font-b); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-d); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); max-width: 22ch; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--amber); color: var(--navy); padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 16px; }

/* nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 5; }
.nav__in { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 1.05rem var(--font-d); }
.brand__mark { width: 26px; height: 30px; background: var(--amber); clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent; font: 600 1rem var(--font-b); text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, border-color .2s; }
.btn--primary { background: var(--amber); color: var(--navy); }
.btn--primary:hover { background: var(--amber-d); transform: translateY(-1px); }
.btn--ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.wa { width: 22px; height: 22px; fill: currentColor; }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background:
  radial-gradient(900px 500px at 85% 10%, rgba(245,184,65,.18), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(37,211,102,.10), transparent 60%),
  linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%);
  padding: 104px 0 64px; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 80%); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 18px; font: 600 .8rem var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); }
.eyebrow--dark { color: #8A5A00; }
.hero h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.3rem); max-width: 19ch; }
.hero h1 em { font-style: normal; color: var(--amber); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #D5DCE6; max-width: 52ch; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; color: #E7ECF2; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--wa) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B1B33' stroke-width='3.2' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }

/* form card */
.card { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 28px 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); scroll-margin-top: 24px; }
.card__title { font-size: 1.45rem; margin-bottom: .3em; }
.card__sub { color: var(--muted); margin-bottom: 20px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { font-weight: 400; color: var(--muted); font-size: .9rem; }
.field input[type=text], .field input[type=tel] { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #B9B3A6; border-radius: 12px; }
.field input:focus { border-color: var(--navy); outline: 3px solid rgba(245,184,65,.6); outline-offset: 0; }
.field input[aria-invalid=true] { border-color: var(--error); }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.field--check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--navy); }
.field--check label { font-weight: 400; font-size: .93rem; margin: 0; }
.field--check .err { grid-column: 1 / -1; }
.err { color: var(--error); font-size: .88rem; margin: 6px 0 0; min-height: 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 12px 0 0; font-size: .95rem; }
.status.is-error { color: var(--error); font-weight: 600; }
.fine { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }

/* sections */
.section { padding: 80px 0; }
.section--alt { background: #EFEAE0; }
.grid3 { display: grid; gap: 18px; margin-top: 32px; }
.feat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.feat__n { display: inline-block; font: 700 .85rem var(--font-d); color: #8A5A00; background: #FCEFD2; border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.feat p { color: var(--muted); margin: 0; }
.split { display: grid; gap: 24px; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.list li { background: var(--paper); border-left: 4px solid var(--amber); border-radius: 10px; padding: 16px 18px; color: var(--muted); }
.list strong { color: var(--ink); }
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--amber); font: 700 1.1rem var(--font-d); }
.steps h3 { margin-bottom: .2em; }
.steps p { color: var(--muted); margin: 0; }
details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-top: 12px; }
summary { cursor: pointer; padding: 18px 20px; font-weight: 600; list-style: none; position: relative; padding-right: 48px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 600 1.4rem var(--font-d); color: #8A5A00; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

.muted { color: var(--muted); }
.lead strong, .ticks strong { color: #fff; }
.assure { margin: 12px 0 0; text-align: center; font-size: .88rem; font-weight: 600; color: #2D3A4A; }
.btn--dark { background: var(--navy); color: #fff; }
.btn--dark:hover { background: var(--navy-2); transform: translateY(-1px); }

.pains { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.pains li { position: relative; padding: 16px 18px 16px 50px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; color: #2D3A4A; }
.pains li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #C4BCAD;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath stroke='%238A5A00' stroke-width='3' stroke-linecap='round' d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center/10px no-repeat; }
.bridge { margin-top: 28px; padding: 28px; border-radius: var(--radius); background: #FCEFD2; border: 1px solid #F0D79F; display: grid; gap: 18px; justify-items: start; }
.bridge p { margin: 0; font-size: 1.08rem; color: var(--ink); max-width: 62ch; }

.ast { color: var(--amber); text-decoration: none; font-size: .55em; vertical-align: super; margin-left: 2px; }
.disclaim { margin: 22px 0 0; font-size: .82rem; line-height: 1.5; color: #AAB6C6; max-width: 60ch; }
.disclaim--light { color: #B9C4D3; margin-bottom: 24px; }

.system { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.system h2 { max-width: 26ch; }
.hl { color: var(--amber); }
.phases { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.phase { position: relative; padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.phase__d { display: inline-block; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; background: var(--amber); color: var(--navy); font: 700 .82rem var(--font-d); }
.phase p { color: #D5DCE6; margin: 0; }

/* ---- estructura v5 */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--lg { min-height: 56px; padding: 14px 32px; font-size: 1.05rem; box-shadow: 0 12px 30px -12px rgba(245,184,65,.7); }
.hero--center { text-align: center; padding-bottom: 72px; }
.hero__in { position: relative; z-index: 1; display: grid; justify-items: center; }
.hero--center h1 { margin-inline: auto; max-width: 22ch; }
.hero--center .lead { margin-inline: auto; }
.video { width: min(820px, 100%); aspect-ratio: 16 / 9; margin: 12px 0 32px; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); border: 1px solid rgba(255,255,255,.12); }
.video[hidden] { display: none; }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }
.hero--center .video[hidden] + .btn { margin-top: 12px; }

.carriers { background: var(--paper); border-bottom: 1px solid var(--line); padding: 28px 0; text-align: center; }
.carriers[hidden] { display: none; }
.carriers__t { font: 600 .8rem var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.carriers__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; }
.carriers__list li { font: 700 1.05rem var(--font-d); color: #3A4656; letter-spacing: -.01em; }

.reg { scroll-margin-top: 0; }
.reg__grid { display: grid; gap: 32px; align-items: center; }
.reg h2 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.mark { background: linear-gradient(transparent 60%, #FCDFA0 60%); padding: 0 .1em; }
.session { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .95rem; margin: 4px 0 20px; }
.session[hidden] { display: none; }
.session strong { color: var(--amber); }
.session__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,.25); }
.ticks--dark li { color: #2D3A4A; }
.ticks--dark strong { color: var(--ink); }
.reg .card { border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(11,27,51,.35); }

.testis { background: #EFEAE0; }
.testis[hidden] { display: none; }
.testis__list { display: grid; gap: 20px; margin-top: 8px; }
.testi { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 12px; justify-items: start; }
.testi__h { font: 700 1.3rem/1.3 var(--font-d); margin: 0; }
.testi__h::before { content: "“"; color: var(--amber-d); margin-right: 2px; }
.testi__h::after { content: "”"; color: var(--amber-d); }
.testi__q { color: var(--muted); margin: 0; }
.testi__n { font-weight: 600; color: #8A5A00; margin: 0; }

.system__grid { display: grid; gap: 28px; margin-top: 28px; }
.system__k { font: 700 .85rem var(--font-b); letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin-bottom: 12px; }
.learn { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.learn li { position: relative; padding-left: 34px; color: #E7ECF2; font-size: 1.05rem; }
.learn li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 6px; background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%230B1B33' stroke-width='3.2' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/14px no-repeat; }
.learn strong { color: #fff; }
.system .phases { margin: 0; }
.note { margin: 28px 0 20px; font-size: .9rem; color: #B9C4D3; }

.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: 52px; border-radius: 999px; background: var(--amber); color: var(--navy); font-weight: 700; text-decoration: none; box-shadow: 0 10px 30px -8px rgba(7,20,42,.55); transition: transform .25s, opacity .25s; }
.mcta[hidden] { display: none; }
.mcta.is-off { transform: translateY(140%); opacity: 0; pointer-events: none; }

.cta { background: var(--navy); color: #fff; padding: 72px 0; text-align: center; }
.cta p { color: #D5DCE6; font-size: 1.1rem; }
.cta__in { display: grid; justify-items: center; gap: 8px; }
.cta h2 { max-width: 24ch; }

.foot { background: #07142A; color: #A8B3C2; padding: 32px 0; font-size: .9rem; }
.foot .fine { color: #8794A6; }

/* overlay */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(7,20,42,.82); backdrop-filter: blur(4px); }
.overlay[hidden] { display: none; }
.overlay__box { background: #fff; border-radius: 20px; padding: 32px 24px; width: min(380px, 100%); text-align: center; }
.overlay__t { font: 700 1.2rem var(--font-d); margin: 16px 0 4px; }
.overlay__g { color: var(--muted); }
.spinner { width: 44px; height: 44px; margin: 0 auto; border-radius: 50%; border: 4px solid #EFEAE0; border-top-color: var(--wa); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (min-width: 760px) {
  .grid3 { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1.2fr; align-items: start; gap: 48px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .pains { grid-template-columns: repeat(2, 1fr); }
  .phases { grid-template-columns: repeat(3, 1fr); }
  .testis__list { grid-template-columns: repeat(3, 1fr); }
  .bridge { grid-template-columns: 1fr auto; align-items: center; }
  .mcta { display: none !important; }
  .card { padding: 34px 32px; }
}
@media (min-width: 980px) {
  .hero { padding: 132px 0 96px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 64px; }
  .reg__grid { grid-template-columns: 1fr .9fr; gap: 64px; }
  .system__grid { grid-template-columns: .9fr 1.1fr; align-items: start; gap: 48px; }
  .system .phases { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
