/* Embudo de la mentoría · mismo sistema que la landing amarilla del Método */
:root {
  --yellow: #ffd23f; --yellow-deep: #f5b800; --yellow-soft: #fff4c7;
  --ink: #15141a; --ink-2: #2a2930; --ink-3: #3a3942; --paper: #ffffff; --gray: #f2f3f5;
  --line: #e3e4e8; --muted: #5d5c66; --green: #0e9f62; --green-soft: #e3f6ec; --red: #d1432f;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.06; letter-spacing: -.02em; margin: 0; font-weight: 800; text-wrap: balance; }
.lead, .bio, .cta-note { text-wrap: pretty; }
p { margin: 0 0 14px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
[hidden] { display: none !important; }
.nb { white-space: nowrap; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Botones */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1.15; padding: 18px 28px; border-radius: 14px; border: 0; cursor: pointer;
  box-shadow: 0 6px 0 #000; transition: transform 120ms ease, box-shadow 120ms ease; text-align: center; }
.cta:hover { transform: translateY(2px); box-shadow: 0 4px 0 #000; }
.cta.yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 0 var(--yellow-deep); }
.cta.yellow:hover { box-shadow: 0 4px 0 var(--yellow-deep); }
.cta.yellow.bordered { border: 2px solid var(--ink); box-shadow: 0 6px 0 var(--ink); }
.cta.yellow.bordered:hover { box-shadow: 0 4px 0 var(--ink); }
.cta.wa { background: var(--green); box-shadow: 0 6px 0 #0a6e44; }
.cta.wa:hover { box-shadow: 0 4px 0 #0a6e44; }
.cta.block { display: flex; width: 100%; }
.cta[disabled] { opacity: .6; cursor: wait; }

.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; border-radius: 99px; padding: 5px 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); }
.note { font-size: 14px; color: var(--muted); }

/* Formularios */
.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.field input, .field textarea { font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: var(--gray); border: 1px solid var(--line); border-radius: 10px; padding: 13px 14px; width: 100%; }
.field textarea { min-height: 76px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--ink); border-color: transparent; }
.field small { font-weight: 400; color: var(--muted); }
.hp { position: absolute; left: -9999px; }
.err { color: var(--red); font-size: 14px; font-weight: 700; }

/* Qué se ve en cada momento de la campaña (lo decide embudo.js) */
html:not([data-modo="lista"]) .m-lista { display: none !important; }
html:not([data-modo="abierta"]) .m-abierta { display: none !important; }
html:not([data-modo="llena"]):not([data-modo="cerrada"]) .m-fin { display: none !important; }
html:not([data-modo="llena"]) .m-llena { display: none !important; }
html:not([data-modo="cerrada"]) .m-cerrada { display: none !important; }
html[data-modo="abierta"] .m-anotar { display: none !important; } /* lista de prioridad o próxima camada */
html[data-alumno="1"] .no-alumno, html:not([data-alumno="1"]) .si-alumno { display: none !important; }
html[data-envivo="1"] .no-envivo, html:not([data-envivo="1"]) .s-envivo { display: none !important; }
/* Domingo de 19:00 a 21:00: la lista de prioridad ya está entrando (v-si) y el texto de antes se oculta (v-no) */
html:not([data-ventana="1"]) .v-si, html[data-ventana="1"] .v-no { display: none !important; }

/* Cuenta regresiva */
.countdown { display: inline-flex; gap: 8px; font-variant-numeric: tabular-nums; }
.countdown span { display: grid; place-items: center; min-width: 58px; padding: 8px 6px; border-radius: 12px; background: var(--ink); color: var(--yellow); font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; }
.countdown small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 700; color: #c9c8d1; margin-top: 4px; text-transform: uppercase; letter-spacing: .04em; }

footer.site { text-align: center; font-size: 13px; color: var(--muted); padding: 28px 16px 40px; }
footer.site a { color: var(--ink-2); }
