/* Método Vitalidad — estilos
   Guía de marca: Inter, verdes, pergamino. Idea central: el camino de estrellas
   del emblema ("cada punto es un paso") como hilo visual de la página. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-400.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-600.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 800; font-style: normal; font-display: swap; src: url("/assets/fonts/inter-800.woff") format("woff"); }

:root {
  --ink: #0f172a;
  --ink-soft: #334155;
  --bg: #f8fafc;
  --white: #ffffff;
  --action: #047857;       /* todo lo que se pulsa */
  --action-hover: #065f46;
  --vital: #059669;        /* solo decoración y títulos grandes */
  --deep: #065f46;         /* fondos oscuros */
  --mint-1: #ecfdf5;
  --mint-2: #d1fae5;
  --parch: #dcc48e;        /* detalles del emblema */
  --parch-ink: #4a2911;
  --line: #d9e2ec;
  --field-line: #7c8ba1;   /* ≥3:1 sobre el fondo y sobre blanco */
  --error: #b91c1c;
  --radius: 18px;
  --wrap: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Escala tipográfica: pocos tamaños, con saltos claros */
  --fs-small: .95rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.2rem;
  --fs-h3: clamp(1.4rem, 2.6vw, 1.75rem);
  --fs-statement: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h2: clamp(2.4rem, 5vw, 3.6rem);
  --fs-display: clamp(3.3rem, 10vw, 6rem);
  /* Curvas de movimiento */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --star: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--parch) var(--bg); accent-color: var(--action); caret-color: var(--action); }
::selection { background: var(--mint-2); color: var(--deep); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-body); line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); text-underline-offset: 3px; }
a:hover { color: var(--action-hover); }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
p, li { text-wrap: pretty; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--action); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus, .skip-link:hover { top: 12px; color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(80px, 11vw, 160px); scroll-margin-top: 72px; }
.section--mint { background: var(--mint-1); }
.section--deep { background: var(--deep); color: #fff; }

/* Estrella del emblema, reutilizable */
.star { display: inline-block; width: 14px; height: 14px; background: var(--parch-ink); clip-path: var(--star); flex: none; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; font: 600 var(--fs-body)/1 var(--font); color: #fff; background: var(--action); border: 2px solid var(--action); border-radius: 999px; text-decoration: none; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
.btn:hover { background: var(--action-hover); border-color: var(--action-hover); color: #fff; }
.btn--ghost { background: transparent; color: var(--action); }
.btn--ghost:hover { background: var(--mint-2); border-color: var(--action); color: var(--action-hover); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: var(--fs-small); }
.btn--block { width: 100%; }

/* ---------- Cabecera ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 14px; transition: background-color .25s, box-shadow .25s, padding .25s; }
.site-header.is-scrolled, .site-header.is-open { background: var(--white); padding-block: 8px; box-shadow: 0 1px 0 var(--line); } /* taste-skill-ignore: barra fija */
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-lead); letter-spacing: -0.02em; color: var(--deep); text-decoration: none; white-space: nowrap; }
.brand img { height: 44px; width: auto; }
.brand:hover { color: var(--deep); }
.nav { display: none; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: var(--fs-small); padding: 8px 2px; white-space: nowrap; }
.nav a:hover { color: var(--action); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.header-cta { min-height: 44px; padding: 0 16px; }
.nav .nav-cta { margin-top: 12px; padding: 0 28px; color: #fff; font-size: var(--fs-body); }
.nav .nav-cta:hover { color: #fff; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; font: 600 var(--fs-small)/1 var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; }
.site-header.is-open .nav { display: flex; flex-direction: column; gap: 4px; position: absolute; left: 0; right: 0; top: 100%; padding: 12px 20px 24px; background: var(--white); box-shadow: 0 16px 32px rgba(15, 23, 42, .10); animation: menu-in .2s var(--ease-out); } /* taste-skill-ignore: menú flotante */
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }
.site-header.is-open .nav a { padding: 12px 0; font-size: var(--fs-lead); }
.site-header.is-open .nav .nav-cta { padding: 0 28px; }
/* En pantallas estrechas el emblema basta; el nombre ya está en el hero */
@media (max-width: 479px) {
  .brand__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Inicio ---------- */
.hero { padding-top: clamp(116px, 13vw, 150px); padding-bottom: clamp(72px, 9vw, 120px); overflow: clip; }
.hero-grid { display: grid; gap: 64px; align-items: center; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; font-size: var(--fs-small); font-weight: 600; color: var(--deep); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof .star { width: 14px; height: 14px; }
.hero-title { margin: 0; }
.hero-title__main { display: block; font-size: var(--fs-display); line-height: .95; letter-spacing: -0.04em; color: var(--deep); }
.hero-title__main > span { display: block; }
.hero-title__sub { display: block; margin-top: 24px; max-width: 30ch; font-size: var(--fs-h3); line-height: 1.16; letter-spacing: -0.02em; color: var(--ink); }
.hero-habit { margin: 24px 0 32px; max-width: 40ch; font-size: var(--fs-lead); color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { position: relative; justify-self: center; width: min(100% - 16px, 540px); margin: 0 16px 24px 0; }
.hero-visual__frame { position: absolute; inset: 18px -16px -18px 16px; border-radius: 32px; background: var(--parch); }
.hero-visual picture img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 32px; }
.seal { position: absolute; z-index: 2; left: -14px; bottom: -30px; display: grid; place-items: center; width: 128px; height: 128px; border-radius: 50%; background: var(--white); border: 5px solid var(--parch); }
.seal img { height: 86px; width: auto; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero-visual picture { display: block; position: relative; overflow: hidden; border-radius: 32px; }
.hero-visual picture img { animation: settle 1.6s var(--ease-out) both; }
.hero-copy > *, .hero-visual { animation: rise .6s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .32s; }
.hero-visual { animation-delay: .2s; }

/* ---------- Entradas al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
@media print {
  .reveal, .js .step__node, .js .steps::before { opacity: 1 !important; transform: none !important; }
}

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; gap: 40px; }
.about-name { font-size: var(--fs-h2); line-height: .95; letter-spacing: -0.04em; color: var(--deep); }
.about-name > span { display: block; }
.about-role { margin: 24px 0 4px; font-weight: 600; font-size: var(--fs-lead); }
.about-degree { margin: 0 0 24px; max-width: 34ch; color: var(--ink-soft); }
.about-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 24px; }
.about-facts li { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--deep); }
.about-text { align-self: center; }
.about-text p { max-width: 58ch; font-size: var(--fs-lead); line-height: 1.7; color: var(--ink); }
.about-text p:first-child { font-size: var(--fs-h3); line-height: 1.45; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.about-text p:last-child { margin-bottom: 0; }

/* ---------- La ciencia detrás ---------- */
.work-quote { margin: 0 0 16px; max-width: 30ch; font-size: var(--fs-statement); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: #fff; }
.work-text { max-width: 60ch; margin: 0 0 clamp(48px, 7vw, 88px); font-size: var(--fs-lead); color: #d1fae5; }

/* ---------- Lo que debes saber ---------- */
.know-grid { display: grid; gap: 40px; }
.know-title { font-size: var(--fs-h2); letter-spacing: -0.04em; line-height: 1; color: var(--deep); }
.know-text { max-width: 64ch; }
.know-text p { font-size: var(--fs-lead); line-height: 1.75; margin-bottom: 1.3em; }
.know-text strong { font-weight: 800; color: var(--deep); }
sup { font-size: .65em; line-height: 0; }
sup a { display: inline-block; padding: 4px 6px; margin: -4px -2px; font-weight: 600; }
.know-caveat { padding: 22px 26px; background: var(--mint-1); border-radius: var(--radius); }
.know-goal { display: flex; gap: clamp(16px, 3vw, 28px); align-items: flex-start; margin: clamp(48px, 7vw, 88px) 0 0; font-size: var(--fs-statement); font-weight: 800; letter-spacing: -0.02em; line-height: 1.18; color: var(--deep); }
.know-goal .star { width: 24px; height: 24px; margin-top: .2em; }
.know-goal span:last-child { max-width: 32ch; }
.sources { margin-top: clamp(56px, 7vw, 88px); font-size: var(--fs-small); line-height: 1.55; color: var(--ink-soft); }
.sources h3 { margin-bottom: 12px; font-size: var(--fs-body); letter-spacing: 0; color: var(--ink); }
.sources ol { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; max-width: 64ch; }
/* Al saltar desde la nota al pie, la fuente queda bajo la cabecera fija, no detrás */
.sources li { scroll-margin-top: 96px; }
.sources a { word-break: break-word; }

/* ---------- Cómo trabajamos ---------- */
.work-title { font-size: var(--fs-h2); letter-spacing: -0.04em; margin-bottom: 24px; }
.steps { position: relative; display: grid; gap: 48px; }
.steps::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; background: rgba(220, 196, 142, .55); }
.step { position: relative; padding-left: 64px; }
.step__node { position: absolute; left: 0; top: 0; width: 32px; height: 32px; background: var(--parch); clip-path: var(--star); }
.step h3 { margin-bottom: 18px; font-size: var(--fs-h3); color: var(--parch); }
.step li { position: relative; padding-left: 26px; margin-bottom: 12px; font-size: var(--fs-lead); color: #ecfdf5; }
.step li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; background: var(--parch); clip-path: var(--star); }
/* La última estrella del camino es más grande y lleva al contacto */
.js .steps::before { transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease-out); }
.js .step__node { opacity: 0; transform: scale(.6); transition: opacity .4s var(--ease-out), transform .5s var(--ease-out); }
.js .steps.is-lit::before { transform: none; }
.js .steps.is-lit .step__node { opacity: 1; transform: none; }
.js .steps.is-lit .step:nth-child(2) .step__node { transition-delay: .3s; }
.js .steps.is-lit .step:nth-child(3) .step__node { transition-delay: .6s; }
.js .steps.is-lit .step:nth-child(4) .step__node { transition-delay: .9s; }
.step--first .step__node { left: -6px; top: -6px; width: 44px; height: 44px; }
.step--first p { margin: 0 0 24px; max-width: 30ch; font-size: var(--fs-lead); color: #ecfdf5; }
.btn--light { color: var(--deep); background: var(--parch); border-color: var(--parch); }
.btn--light:hover { color: var(--deep); background: #e8d6ad; border-color: #e8d6ad; }

/* ---------- Contacto ---------- */
.contact-head { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.contact-head img { height: 72px; width: auto; }
.contact-title { font-size: var(--fs-h2); letter-spacing: -0.04em; color: var(--deep); }
.contact-grid { display: grid; gap: 16px 24px; align-items: start; }
.next-cta { margin-top: 28px; }
.channel { padding: 28px; background: var(--white); border-radius: var(--radius); }
.channel h3 { margin-bottom: 8px; font-size: var(--fs-lead); color: var(--deep); }
.channel p { margin: 0; color: var(--ink); }
.channel a { font-weight: 600; word-break: break-word; }
/* "Qué pasa después": un tramo corto del camino de estrellas */
.next-list { position: relative; display: grid; gap: 18px; margin: 16px 0 0; padding: 0; list-style: none; counter-reset: paso; }
.next-list::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 2px; background: var(--parch); }
.next-list li { position: relative; padding-left: 36px; color: var(--ink); text-wrap: pretty; }
.next-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; background: var(--parch-ink); clip-path: var(--star); }
.form-card { padding: clamp(28px, 4vw, 44px); background: var(--white); border-radius: var(--radius); }
.form-title { margin-bottom: 8px; font-size: var(--fs-h3); letter-spacing: -0.02em; color: var(--deep); }
.form-note { margin: 0 0 28px; color: var(--ink-soft); }
.optional { font-weight: 400; color: var(--ink-soft); }
.field-hint { margin: -4px 0 10px; font-size: var(--fs-small); color: var(--ink-soft); }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; margin-bottom: 8px; padding: 0; font-weight: 600; font-size: var(--fs-body); }
.field input[type="text"], .field textarea { width: 100%; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--field-line); border-radius: 12px; }
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #64748b; opacity: 1; }
.field input[type="text"]:focus, .field textarea:focus { outline: 3px solid rgba(4, 120, 87, .35); outline-offset: 0; border-color: var(--action); background: var(--white); }
.field-row { display: grid; gap: 0 16px; }
fieldset.field { border: 0; margin-inline: 0; padding: 0; min-width: 0; }
.choices { display: flex; gap: 12px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; justify-content: center; min-width: 88px; min-height: 48px; padding: 0 20px; font-weight: 600; background: var(--bg); border: 1.5px solid var(--field-line); border-radius: 999px; }
.choice input:checked + span { color: #fff; background: var(--action); border-color: var(--action); }
.choice input:focus-visible + span { outline: 3px solid var(--action); outline-offset: 3px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin: 4px 0 20px; font-size: var(--fs-small); line-height: 1.5; color: var(--ink-soft); }
.consent input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--action); }
.field-error { margin: 6px 0 0; font-weight: 600; font-size: var(--fs-small); color: var(--error); }
.field-error:empty { display: none; }
.consent-error { margin: -12px 0 20px; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.form-status { margin: 16px 0 0; color: var(--ink); }
.form-status:empty { display: none; }
.form-status a { font-weight: 600; }
.field-invalid { border-color: var(--error) !important; }

/* ---------- Pie ---------- */
.site-footer { padding: clamp(56px, 8vw, 96px) 0 32px; background: var(--white); }
.footer-grid { display: grid; gap: 32px; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: var(--fs-lead); letter-spacing: -0.02em; color: var(--deep); margin-bottom: 12px; }
.footer-brand img { height: 52px; width: auto; }
.footer-about { max-width: 38ch; color: var(--ink-soft); }
.footer-col h3 { margin-bottom: 12px; font-size: var(--fs-body); letter-spacing: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: var(--ink-soft); text-decoration: none; }
.footer-col a:hover { color: var(--action); text-decoration: underline; }
.footer-col p { margin: 0 0 8px; color: var(--ink-soft); }
.footer-col .footer-cta { margin-top: 12px; color: #fff; text-decoration: none; }
.footer-col .footer-cta:hover { color: #fff; text-decoration: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; font-size: var(--fs-small); color: var(--ink-soft); }
.footer-base a { color: var(--ink-soft); }

/* ---------- Política de privacidad ---------- */
.legal { padding-top: clamp(116px, 14vw, 150px); }
.legal-wrap { max-width: 760px; }
.legal h1 { font-size: var(--fs-h2); letter-spacing: -0.035em; color: var(--deep); margin-bottom: 28px; }
.legal h2 { margin: 40px 0 12px; font-size: var(--fs-h3); letter-spacing: -0.02em; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { margin: 0 0 1em; padding-left: 1.3em; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal-date { margin-top: 40px; color: var(--ink-soft); font-size: var(--fs-small); }

/* ---------- Pantallas medianas y grandes ---------- */
@media (min-width: 720px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  /* El camino pasa a horizontal */
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .steps::before { left: 16px; right: calc((100% - 120px) / 4 - 16px); top: 15px; bottom: auto; width: auto; height: 2px; }
  .js .steps::before { transform: scaleX(0); transform-origin: left; }
  .step { padding-left: 0; padding-top: 64px; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); }
  .nav .nav-cta { display: none; }
  .header-cta { min-height: 42px; padding: 0 20px; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 72px; }
  .seal { left: -48px; bottom: -36px; width: 148px; height: 148px; }
  .seal img { height: 100px; }
  .about-grid { grid-template-columns: .9fr 1.1fr; gap: 88px; }
  .know-grid { grid-template-columns: 360px 1fr; gap: 80px; }
  .know-aside { position: sticky; top: 104px; align-self: start; }
  .contact-grid { grid-template-columns: .8fr 1.2fr; grid-template-areas: "steps form" "mail form"; gap: 24px 32px; }
  .next-steps { grid-area: steps; }
  .form-card { grid-area: form; }
  .mail-card { grid-area: mail; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .hero-visual, .hero-visual picture img, .site-header.is-open .nav { animation: none; }
  .reveal, .js .step__node { transform: none; }
  .js .steps::before { transform: none; }
  * { transition-duration: .01ms !important; }
}

/* ==========================================================
   Páginas de acompañamiento: onboarding, gracias, offboarding
   Mismo sistema que la portada: tokens, camino de estrellas.
   ========================================================== */
.page-hero { padding-top: clamp(120px, 14vw, 168px); padding-bottom: clamp(48px, 7vw, 88px); }
.page-title { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.04; letter-spacing: -0.035em; color: var(--deep); text-wrap: balance; }
.page-lead { margin: 24px 0 0; max-width: 60ch; font-size: var(--fs-lead); color: var(--ink-soft); }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.section-title { margin-bottom: 16px; font-size: var(--fs-h3); letter-spacing: -0.02em; color: var(--deep); }
.section-text { max-width: 62ch; font-size: var(--fs-lead); color: var(--ink); }
.section-text strong { color: var(--deep); }
.section--deep .section-title { color: #fff; }
.section--deep .section-text { color: #d1fae5; }
.page-section { padding-block: clamp(64px, 9vw, 120px); scroll-margin-top: 72px; }

/* Vídeo con el marco de pergamino de la portada */
.video-wrap { position: relative; max-width: 880px; margin: 0 16px 16px 0; }
.video-wrap::before { content: ""; position: absolute; inset: 16px -16px -16px 16px; border-radius: 24px; background: var(--parch); }
.video-wrap video { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 24px; background: var(--deep); object-fit: cover; }
.video-wrap video::cue { font: 600 1.05rem/1.35 var(--font); color: #fff; background: rgba(15, 23, 42, .78); }
.video-caption { margin: 28px 0 0; font-size: var(--fs-small); color: var(--ink-soft); }

/* Un hito del camino: estrella grande + contenido */
.milestone { position: relative; padding: clamp(28px, 4vw, 44px); padding-left: clamp(76px, 9vw, 104px); background: var(--white); border-radius: var(--radius); }
.milestone::before { content: ""; position: absolute; left: clamp(24px, 3vw, 40px); top: clamp(30px, 4vw, 46px); width: 36px; height: 36px; background: var(--parch-ink); clip-path: var(--star); }
.milestone h2 { margin-bottom: 12px; font-size: var(--fs-h3); letter-spacing: -0.02em; color: var(--deep); }
.milestone p { max-width: 60ch; color: var(--ink); }
.milestone .btn { margin-top: 12px; padding-block: 14px; line-height: 1.25; text-align: center; }
/* En columna (móvil y tableta) los bloques no quedan pegados */
.two-col > * + * { margin-top: 48px; }

/* Camino corto de estrellas (lista con línea que une los puntos) */
.star-path { position: relative; display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.star-path::before { content: ""; position: absolute; left: 10px; top: 14px; bottom: 14px; width: 2px; background: var(--parch); }
.star-path > li { position: relative; padding-left: 48px; }
.star-path > li::before { content: ""; position: absolute; left: 0; top: .15em; width: 22px; height: 22px; background: var(--parch-ink); clip-path: var(--star); }
.star-path h3 { margin-bottom: 6px; font-size: var(--fs-lead); letter-spacing: -0.01em; color: var(--deep); }
.star-path p { margin: 0; max-width: 60ch; color: var(--ink); }
.section--deep .star-path::before { background: rgba(220, 196, 142, .55); }
.section--deep .star-path > li::before { background: var(--parch); }
.section--deep .star-path h3 { color: var(--parch); }
.section--deep .star-path p { color: #ecfdf5; }

/* Lista con viñetas de estrella */
.star-list { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.star-list li { position: relative; padding-left: 30px; max-width: 64ch; }
.star-list li::before { content: ""; position: absolute; left: 0; top: .4em; width: 14px; height: 14px; background: var(--parch-ink); clip-path: var(--star); }

/* Cierre de cada página */
.page-final { text-align: center; }
.page-final .section-title { font-size: var(--fs-h3); }
.page-final .section-text { margin: 0 auto; }
.page-final .page-actions { justify-content: center; }
.page-note { max-width: 68ch; margin: 32px auto 0; font-size: var(--fs-small); color: var(--ink-soft); }
.page-note a { word-break: break-word; }
.page-footer { padding: 32px 0; background: var(--white); font-size: var(--fs-small); color: var(--ink-soft); }
.page-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.page-footer .footer-brand { margin: 0; font-size: var(--fs-body); }
.page-footer .footer-brand img { height: 40px; }
.page-footer a { color: var(--ink-soft); }

/* Offboarding: título, vídeo y texto seguidos en una sola columna */
.closing-wrap { width: min(100% - 40px, 820px); }
.page-callout { margin: 20px 0 0; max-width: 26ch; font-size: var(--fs-statement); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; color: var(--ink); text-wrap: balance; }
.closing-page .page-lead { margin-top: 12px; }
.closing-media { margin-top: 32px; }
.closing-media img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 30%; border-radius: 24px; }
.closing-text { margin-top: 48px; }
.closing-text p { margin: 0 0 .9em; font-size: var(--fs-lead); line-height: 1.65; color: var(--ink); }
.closing-text .closing-lead { font-size: var(--fs-h3); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.closing-text .closing-statement { display: flex; gap: 14px; align-items: flex-start; margin: 20px 0 0; font-size: var(--fs-statement); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; color: var(--deep); }
.closing-statement .star { width: 22px; height: 22px; margin-top: .25em; }
.closing-card { margin: 40px 0; padding: clamp(28px, 5vw, 44px); background: var(--deep); border-radius: var(--radius); }
.closing-card p { color: #ecfdf5; }
.closing-card strong { color: var(--parch); }
.closing-card .star-list { margin: 4px 0 0; }
.closing-card .star-list li { font-size: var(--fs-lead); color: #ecfdf5; }
.closing-card .star-list li::before, .closing-card .closing-statement .star { background: var(--parch); }
.closing-text .closing-card .closing-statement { margin-top: 28px; color: var(--parch); }
.closing-text .closing-signoff { display: flex; align-items: center; gap: 18px; margin: 32px 0 0; font-size: var(--fs-h3); font-weight: 800; line-height: 1.25; letter-spacing: -0.02em; color: var(--deep); }
.closing-signoff img { width: auto; height: 72px; flex: none; }

/* Cuestionario de onboarding */
.priv { padding: clamp(24px, 4vw, 36px); background: var(--white); border-radius: var(--radius); }
.priv p { margin-bottom: 12px; max-width: 72ch; color: var(--ink-soft); }
.priv p:last-child { margin-bottom: 0; }
.priv strong { color: var(--ink); }
.q-form { max-width: 760px; }
.q-intro { margin: 0 0 8px; max-width: 64ch; color: var(--ink); }
.q-sec { display: flex; align-items: center; gap: 12px; margin: clamp(48px, 6vw, 64px) 0 4px; font-size: var(--fs-h3); letter-spacing: -0.02em; color: var(--deep); }
.q-sec::before { content: ""; width: 22px; height: 22px; flex: none; background: var(--parch-ink); clip-path: var(--star); }
.q-form .field { margin: 24px 0 0; }
.q-form .field label { font-weight: 600; }
.q-form input[type="text"], .q-form input[type="tel"], .q-form input[type="email"], .q-form input[type="date"], .q-form textarea { width: 100%; padding: 14px 16px; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--field-line); border-radius: 12px; }
.q-form textarea { min-height: 130px; resize: vertical; }
.q-form input:focus, .q-form textarea:focus { outline: 3px solid rgba(4, 120, 87, .35); outline-offset: 0; border-color: var(--action); }
.q-form input[aria-invalid="true"], .q-form textarea[aria-invalid="true"] { border-color: var(--error); }
.hint { display: block; margin-top: 4px; font-weight: 400; font-size: var(--fs-small); color: var(--ink-soft); }
.req { font-weight: 400; color: var(--ink-soft); }
.q-form .consent { margin: 16px 0 0; color: var(--ink); }
.q-form .consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.q-submit { margin-top: 40px; }
.q-submit[disabled] { opacity: .6; cursor: wait; }
#msg { margin: 16px 0 0; font-weight: 600; }
#msg:empty { display: none; }
#msg.err { color: var(--error); }

.page-hero-grid { display: grid; gap: 48px; align-items: center; }
.page-hero-grid .video-wrap { margin-bottom: 16px; }
@media (min-width: 720px) {
  .milestone--big .btn { min-height: 60px; padding-inline: 36px; font-size: var(--fs-lead); }
}
@media (min-width: 1000px) {
  .page-hero-grid { grid-template-columns: .95fr 1.05fr; gap: 64px; }
  .two-col > * + * { margin-top: 0; }
  .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .star-path--row { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .star-path--row::before { left: 11px; right: calc((100% - 80px) / 3 - 11px); top: 10px; bottom: auto; width: auto; height: 2px; }
  .star-path--row > li { padding-left: 0; padding-top: 48px; }
}
