/* =========================================================
   GEIDER RAMOS — VENTAS
   Grafito profundo · marfil cálido · acentos coral
   ========================================================= */

:root {
  --bg: #121413;
  --bg-2: #171a19;
  --bg-3: #0c0e0d;
  --card: #1b1e1d;
  --card-2: #1d2120;
  --ivory: #ebe5d8;
  --ivory-2: #f4f0e6;
  --ivory-3: #e0d9c9;
  --ink: #131514;
  --ink-2: #3c3f3c;
  --text: #ece6d9;
  --muted: #a3a097;
  --muted-ink: #5d5f5a;
  --line: rgba(236, 230, 217, 0.13);
  --line-ink: rgba(19, 21, 20, 0.14);
  --coral: #ff5a36;
  --coral-hover: #ff7352;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --radius: 18px;
  --radius-sm: 10px;
  --gutter: clamp(16px, 4.2vw, 60px);
  --header-h: 82px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.center { text-align: center; }
.coral { color: var(--coral); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-family: var(--mono); font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
.section-ivory .eyebrow { color: var(--muted-ink); }
.eyebrow-coral, .section-ivory .eyebrow-coral { color: var(--coral); }

.display {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(3.1rem, 6.6vw, 6.1rem); line-height: .98;
}
.display em { display: inline-block; padding-right: .06em; }
.display-2 {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(2.6rem, 5.8vw, 5.4rem); line-height: 1.02;
}
.h2-lg { font-family: var(--serif); font-weight: 400; letter-spacing: -0.02em; font-size: clamp(2.4rem, 4.2vw, 3.9rem); line-height: 1.05; }
.h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: 1.08; }
.dot { color: var(--coral); font-style: normal; }

.tag-ia {
  display: inline-flex; align-items: center; font-family: var(--mono); font-size: .68em; font-weight: 500;
  letter-spacing: .08em; color: var(--coral); border: 1.5px solid var(--coral); border-radius: 5px;
  padding: .05em .5em; line-height: 1.35; vertical-align: .15em; white-space: nowrap;
}
.tag-ia-lg { font-size: .5em; vertical-align: .35em; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: 0 20px; border-radius: 8px; border: 1px solid transparent;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 58px; padding: 0 28px; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-coral { background: var(--coral); color: var(--ink); }
.btn-coral:hover { background: var(--coral-hover); }
.btn-ivory { background: var(--ivory); color: var(--ink); }
.btn-ivory:hover { background: #fff8ea; }
.btn-ghost { border-color: rgba(236, 230, 217, .35); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text); background: rgba(236, 230, 217, .05); }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid var(--line);
}
/* El desenfoque va en un pseudo-elemento: en la cabecera crearía un bloque
   contenedor que recortaría el menú móvil (position: fixed). */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(18, 20, 19, .95); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font-family: var(--serif); font-size: 1.75rem; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a { text-decoration: none; font-size: 1rem; color: var(--text); opacity: .86; transition: opacity .2s; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a[aria-current="true"] { opacity: 1; }
.main-nav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--coral);
}
.main-nav .tag-ia { font-size: .7rem; margin-left: 4px; }
.header-cta { min-height: 46px; }

.menu-toggle {
  display: none; width: 52px; height: 52px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent; cursor: pointer; place-items: center;
}
.menu-icon, .menu-icon::before { display: block; width: 20px; height: 1.6px; background: var(--text); position: relative; transition: transform .3s var(--ease); }
.menu-icon { background: transparent; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; width: 20px; height: 1.6px; background: var(--text); transition: transform .3s var(--ease); }
.menu-icon::before { top: -4px; }
.menu-icon::after { top: 4px; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; background: var(--bg); z-index: 49;
  padding: 28px var(--gutter) 40px; overflow-y: auto;
  animation: menuIn .35s var(--ease);
}
.mobile-menu ul { margin-bottom: 32px; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu li a {
  display: flex; align-items: baseline; gap: 16px; padding: 20px 0; text-decoration: none;
  font-family: var(--serif); font-size: 2rem; line-height: 1.1;
}
.mobile-menu li .mono { font-size: .8rem; color: var(--muted); }
.mobile-menu .tag-ia { font-size: .8rem; align-self: center; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Secciones ---------- */
section { padding-block: clamp(80px, 9vw, 140px); }
.section-dark { background: var(--bg); }
.section-dark-2 { background: var(--bg-2); }
.section-ivory { background: var(--ivory); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(48px, 5vw, 72px) clamp(64px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero .lead { margin-top: 44px; max-width: 34em; font-size: clamp(1.0625rem, 1.4vw, 1.3rem); line-height: 1.6; color: rgba(236, 230, 217, .86); font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero-media { margin: 0; position: relative; }

.placeholder {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  display: grid; place-items: center; padding: 28px; text-align: center; min-height: 220px;
  font-family: var(--mono); font-size: .875rem; line-height: 1.6; color: rgba(236, 230, 217, .45);
}
.placeholder span { max-width: 34ch; }
.placeholder-tall { aspect-ratio: 4 / 5; min-height: 0; padding-bottom: 120px; }
.video-chip {
  position: absolute; left: 18px; right: 18px; bottom: 18px;
  display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left;
  background: rgba(14, 16, 15, .92); border: 0; border-radius: 12px; cursor: pointer;
  transition: background .25s var(--ease);
}
.video-chip:hover { background: #0b0c0c; }
.play { width: 44px; height: 44px; border-radius: 50%; background: var(--ivory); color: var(--ink); display: grid; place-items: center; flex: none; transition: transform .3s var(--ease); }
.video-chip:hover .play { transform: scale(1.06); }
.video-text strong { display: block; font-weight: 600; }
.video-text .mono { font-size: .8rem; color: var(--muted); }

/* ---------- Diferencia ---------- */
.diff { padding-block: clamp(56px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.diff-grid { display: grid; grid-template-columns: 1fr 1.45fr; gap: 64px; align-items: start; }
.diff-sub { margin-top: 18px; max-width: 26em; }
.bars li { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.25fr) 7.5em; align-items: center; gap: 24px; padding: 8px 0; }
.bar-label { font-weight: 500; font-size: 1.0625rem; }
.bar-label .tag-ia { font-size: .7rem; margin-inline: 2px; }
.bar { height: 14px; background: rgba(236, 230, 217, .1); border-radius: 99px; overflow: hidden; }
.bar > span { display: block; height: 100%; width: 0; background: var(--ivory); border-radius: 99px; transition: width 1.2s var(--ease) .15s; }
.is-coral .bar > span { background: var(--coral); }
.bars.is-visible .bar > span { width: var(--w); }
.bar-value { text-align: right; font-size: .9rem; color: var(--text); }
.bars .bars-note { display: block; font-size: .875rem; padding-top: 14px; }

/* ---------- Diagnóstico ---------- */
.diag-sub { margin-top: 28px; max-width: 30em; color: var(--ink-2); font-size: 1.0625rem; }
.diag-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 64px); margin-top: 56px; align-items: start; }
.q { border: 0; padding: 0; margin: 0 0 36px; min-width: 0; }
.q legend { font-weight: 600; font-size: 1.3rem; padding: 0; margin-bottom: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.q-num { font-size: .9rem; color: var(--muted-ink); }
.q-hint { font-weight: 400; font-size: .875rem; color: var(--muted-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip > span {
  display: flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 10px 20px;
  border: 1px solid rgba(19, 21, 20, .22); border-radius: 10px; background: rgba(255, 255, 255, .18);
  font-weight: 600; font-size: 1.0rem; line-height: 1.25;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.chip:hover > span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--coral); outline-offset: 2px; }
.chip-2l small { font-weight: 400; font-size: .875rem; opacity: .8; margin-top: 2px; }
.link-reset { background: none; border: 0; padding: 4px 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; color: var(--muted-ink); font-size: .9rem; }
.link-reset:hover { color: var(--ink); }

.result-card {
  background: var(--ink); color: var(--text); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px);
  position: sticky; top: calc(var(--header-h) + 24px);
}
.result-empty-title { font-family: var(--serif); font-size: 2.1rem; line-height: 1.1; margin-bottom: 12px; }
.progress { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.progress li {
  font-family: var(--mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted);
  transition: all .25s var(--ease);
}
.progress li.done { border-color: var(--ivory); color: var(--ivory); }
.result-full { animation: fadeUp .45s var(--ease); }
.result-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.result-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1.08; }
.result-price { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.3rem); white-space: nowrap; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: .82rem; }
.result-desc { margin-top: 16px; font-size: 1.0625rem; color: rgba(236, 230, 217, .88); }
.result-why { margin-top: 10px; font-size: .9375rem; }
.result-full .btn { margin-top: 24px; }
.result-alt { margin-top: 16px; font-size: .9rem; color: var(--muted); }
.result-alt button { background: none; border: 0; padding: 0; color: var(--text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: inherit; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Productos ---------- */
#guias .display-2 { max-width: 15em; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.product {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px; transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.product:hover { transform: translateY(-4px); border-color: rgba(236, 230, 217, .25); }
.product-featured { border-color: var(--coral); }
.product-featured:hover { border-color: var(--coral); }
.cover {
  aspect-ratio: 1.27; border-radius: 12px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between;
}
.cover-green { background: #1e2723; }
.cover-brown { background: #2b241f; }
.cover-ivory { background: var(--ivory); color: var(--ink); }
.cover-dark { background: var(--card-2); }
.cover-tag { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.cover-ivory .cover-tag { color: var(--muted-ink); }
.cover-tag.coral { color: var(--coral); }
.cover-title { font-family: var(--serif); font-size: clamp(1.7rem, 2.3vw, 2.3rem); line-height: 1.02; }
.product-body { padding: 20px 6px 0; flex: 1; }
.product-name { font-size: 1.25rem; font-weight: 600; }
.product-desc { margin-top: 8px; color: var(--muted); font-size: 1rem; line-height: 1.5; }
.product-call { margin-top: 18px; display: flex; align-items: center; gap: 10px; font-size: .82rem; letter-spacing: .02em; }
.bullet { width: 8px; height: 8px; border-radius: 50%; background: var(--ivory); flex: none; }
.bullet.coral { background: var(--coral); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 6px 6px; }
.product-price { font-family: var(--serif); font-size: 2.2rem; line-height: 1; }
.fine { margin-top: 28px; font-size: .9375rem; }

/* ---------- Mentoría ---------- */
.mentoria-sub { margin-top: 28px; max-width: 29em; color: var(--ink-2); font-size: 1.125rem; }
.mentoria-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; margin-top: 44px; align-items: stretch; }
.session-card { background: var(--ivory-2); border: 1px solid var(--line-ink); border-radius: 22px; padding: clamp(22px, 2.4vw, 32px); }
.session-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  background: var(--ink); color: var(--text); border-radius: 12px; padding: 18px 20px; font-weight: 600; font-size: 1.0625rem;
}
.session-bar .mono { font-size: 1.05rem; }
.live-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 12px; vertical-align: .1em; animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.session-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted-ink); margin: 10px 0 36px; }
.combo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.combo > div { border-radius: 14px; padding: 22px 20px; }
.combo h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 6px; line-height: 1.3; }
.combo p:not(.eyebrow) { font-size: .975rem; line-height: 1.5; }
.combo .eyebrow { font-size: .75rem; margin-bottom: 10px; }
.combo-a { background: var(--ivory); border: 1px solid var(--line-ink); }
.combo-a p:not(.eyebrow) { color: var(--ink-2); }
.combo-b { background: var(--ink); color: var(--text); }
.combo-b p:not(.eyebrow) { color: rgba(236, 230, 217, .78); }

.levels { border: 0; padding: 0; margin: 0; min-width: 0; }
.levels legend { padding: 0; margin-bottom: 12px; font-size: .78rem; }
.level {
  position: relative; display: grid; grid-template-columns: 9.5em 1fr auto; align-items: center; gap: 16px;
  padding: 18px 16px; border-radius: 12px; border-bottom: 1px solid var(--line-ink); cursor: pointer;
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.level:hover { background: rgba(19, 21, 20, .04); }
.level input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.level:has(input:checked) { background: var(--ivory-3); box-shadow: inset 0 0 0 1.5px var(--ink); }
.level:has(input:focus-visible) { outline: 2px solid var(--coral); outline-offset: 2px; }
.level-name { font-weight: 700; font-size: 1.0625rem; }
.level-desc { color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.level-price { font-family: var(--serif); font-size: 1.9rem; line-height: 1; }

.level-card {
  background: var(--ink); color: var(--text); border-radius: 22px; padding: clamp(24px, 2.6vw, 34px);
  display: flex; flex-direction: column;
}
.level-card-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 3.2vw, 2.9rem); line-height: 1.1; }
.level-card-desc { margin-top: 18px; font-size: 1.125rem; }
.level-card-list { margin-top: 22px; color: var(--muted); font-size: 1rem; }
.level-card-list li { padding: 3px 0 3px 18px; position: relative; }
.level-card-list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.level-card-foot { margin-top: auto; padding-top: 40px; }
.level-card-price { font-family: var(--serif); font-size: clamp(3.6rem, 5.5vw, 5rem); line-height: 1; }
.level-card-foot .muted.small { margin-top: 8px; }
.level-card-foot .btn { margin: 24px 0 12px; }
.level-card-foot .lc-whatsapp { margin: 0 0 4px; }
.btn svg { flex: none; }
.lc-whatsapp, .co-wa { gap: 10px; }
.level-card-foot .lc-nota { margin-top: 10px; }
.co-state .co-correo, .co-state .co-nota { font-size: .9rem; color: var(--muted); }
.price-swap { animation: fadeUp .35s var(--ease); }

/* ---------- Cómo funciona ---------- */
#como-funciona { border-bottom: 1px solid var(--line); }
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.path { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 32px); }
.path-coral { border-color: var(--coral); }
.path h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 18px; }
.path ol { counter-reset: paso; }
.path li { counter-increment: paso; display: flex; gap: 22px; align-items: baseline; padding: 8px 0; font-size: 1.0625rem; }
.path li::before { content: counter(paso); font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--muted); min-width: 16px; }
.path-coral li::before { color: var(--coral); }

/* ---------- Sobre mí ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 4vw, 56px); align-items: end; }
.about-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.about-photos .placeholder { min-height: 250px; font-size: .8rem; }
.ph-portrait { grid-row: span 2; }
.about-copy .h2-lg { margin-bottom: 26px; }
.about-story { font-size: 1.3rem; line-height: 1.5; }
.placeholder-text { color: rgba(236, 230, 217, .9); }
.about-copy hr { border: 0; border-top: 1px solid var(--line); margin: 30px 0; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; font-weight: 600; font-size: 1.125rem; position: relative;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 1.3rem; color: var(--muted); transition: transform .3s var(--ease);
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--coral); }
.faq-list details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 1.0625rem; }

/* ---------- Cierre / pie ---------- */
.closing { background: var(--bg-3); padding-block: clamp(72px, 7vw, 100px) 56px; }
.closing-inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.closing .display-2 em { display: block; }
.closing-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--bg-3); }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 28px 36px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.footer-inner ul { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.footer-inner li + li::before { content: "·"; margin-right: 8px; }
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 520px) { .footer-inner li:last-child { flex-basis: 100%; } .footer-inner li:last-child::before { content: none; } }

/* ---------- Barra fija móvil ---------- */
.sticky-bar { display: none; }

/* ---------- Modal ---------- */
.modal {
  border: 0; padding: 0; background: transparent; color: var(--text); max-width: min(520px, calc(100vw - 32px)); width: 100%;
}
.modal::backdrop { background: rgba(8, 9, 9, .72); backdrop-filter: blur(4px); }
.modal[open] { animation: fadeUp .3s var(--ease); }
.modal-inner { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px 28px; }
.modal-title { font-family: var(--serif); font-weight: 400; font-size: 2rem; line-height: 1.1; padding-right: 24px; }
.modal-body { margin-top: 14px; color: rgba(236, 230, 217, .82); }
.modal-body p + p { margin-top: 10px; }
.modal-body strong { color: var(--text); }
.modal-actions { margin-top: 24px; display: flex; justify-content: flex-end; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.modal-x:hover { border-color: var(--text); }

/* ---------- Panel de compra ---------- */
.modal-checkout { max-width: min(880px, calc(100vw - 24px)); }
.co { padding: 34px 32px 30px; }
.co-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; margin-top: 4px; }
.co-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.co-amount { font-family: var(--serif); font-size: 3.2rem; line-height: 1; }
.co-terms { font-size: .8rem; color: var(--muted); letter-spacing: .04em; }
.co-label { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 20px 0 8px; }
.co-list li { position: relative; padding: 3px 0 3px 18px; }
.co-list li::before { content: ""; position: absolute; left: 0; top: .8em; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.co-text { color: rgba(236, 230, 217, .78); font-size: .95rem; line-height: 1.55; }
.co-pay { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 22px; align-self: start; }
.co-pay > .co-label:first-child { margin-top: 0; }
.co-proc {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 64px; margin-bottom: 10px; padding: 12px 16px;
  background: var(--ivory); color: var(--ink); border: 1px solid transparent; border-radius: 12px; cursor: pointer; text-align: left;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.co-proc:hover { background: #fff8ea; }
.co-proc:active { transform: translateY(1px); }
.co-proc + .co-proc { background: transparent; color: var(--text); border-color: rgba(236, 230, 217, .35); }
.co-proc + .co-proc:hover { border-color: var(--text); background: rgba(236, 230, 217, .05); }
.co-proc-icon { display: grid; place-items: center; flex: none; }
.co-proc-text { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.co-proc-text strong { font-weight: 600; font-size: 1.02rem; }
.co-proc-text small { font-family: var(--mono); font-size: .74rem; opacity: .7; margin-top: 3px; }
.co-proc-arrow { font-size: 1.1rem; transition: transform .25s var(--ease); }
.co-proc:hover .co-proc-arrow { transform: translateX(3px); }
.co-secure { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.co-secure svg { flex: none; margin-top: 2px; color: var(--text); }
.co-legal { margin-top: 10px; font-size: .8rem; color: var(--muted); }
.co-legal a { color: var(--text); }
.co-state { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 6px 0; animation: fadeUp .35s var(--ease); }
.co-state-title { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; }
.co-state .btn { margin-top: 6px; }
.co-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.co-badge { display: inline-block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.co-badge-error { color: var(--coral); border-color: var(--coral); }
.co-spinner { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--coral); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Páginas de recorrido (confirmación, cancelación, solicitud) ---------- */
.flow { padding-block: clamp(56px, 7vw, 104px) clamp(80px, 9vw, 130px); min-height: calc(100vh - var(--header-h)); }
.flow-narrow { max-width: 860px; }
.flow .display-2 { font-size: clamp(2.5rem, 5vw, 4.4rem); }
.flow-lead { margin-top: 22px; font-size: 1.15rem; color: rgba(236, 230, 217, .86); max-width: 36em; }
.flow-card { margin-top: 36px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); }
.flow-card + .flow-card { margin-top: 16px; }
.flow-card h2 { font-family: var(--serif); font-weight: 400; font-size: 1.8rem; line-height: 1.15; margin-bottom: 12px; }
.flow-card h3 { font-weight: 600; font-size: 1.1rem; margin-bottom: 6px; }
.flow-card p + p { margin-top: 10px; }
.flow-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.status { display: flex; align-items: center; gap: 12px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); flex: none; }
.status[data-tone="ok"] .status-dot { background: #7fc69a; }
.status[data-tone="wait"] .status-dot { background: var(--ivory); animation: pulse 1.6s ease-in-out infinite; }
.status[data-tone="bad"] .status-dot { background: var(--coral); }
.steps { counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 4px 12px; }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--serif); font-size: 1.9rem; line-height: 1; color: var(--coral); }
.steps strong { font-weight: 600; }
.steps span { color: var(--muted); font-size: .95rem; }
.preview-banner {
  position: sticky; top: var(--header-h); z-index: 30; background: var(--coral); color: var(--ink);
  font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-align: center; padding: 8px 16px;
}
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Formulario de solicitud */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field .hint { font-size: .82rem; color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid rgba(236, 230, 217, .22);
  border-radius: 10px; padding: 12px 14px; min-height: 48px; transition: border-color .2s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: var(--bg); color: var(--text); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(236, 230, 217, .45); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 3px rgba(255, 90, 54, .18); }
.field [aria-invalid="true"] { border-color: var(--coral); }
.field-error { color: var(--coral); font-size: .84rem; }
.field-error:empty { display: none; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips-dark .chip > span { background: transparent; border-color: rgba(236, 230, 217, .25); color: var(--text); }
.chips-dark .chip:hover > span { border-color: var(--text); }
.chips-dark .chip input:checked + span { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.chip-price { font-family: var(--serif); font-weight: 400; font-size: 1.15rem; margin-top: 2px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: rgba(236, 230, 217, .82); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--coral); flex: none; }
.check a { color: var(--text); }
.form-status { margin-top: 18px; }
.form-status:empty { display: none; }
.notice { border-radius: 14px; padding: 16px 18px; border: 1px solid var(--line); background: var(--bg); font-size: .95rem; animation: fadeUp .35s var(--ease); }
.notice strong { display: block; margin-bottom: 4px; }
.notice-bad { border-color: var(--coral); }
.notice-ok { border-color: #7fc69a; }

/* ---------- Animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: .9375rem; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cover { aspect-ratio: 1.8; }
}

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 640px; }
  .placeholder-tall { aspect-ratio: 4 / 3; }
  .diff-grid, .diag-grid, .mentoria-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .diff-grid { gap: 36px; }
  .result-card { position: static; }
  .faq-grid { gap: 24px; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; }
  body { font-size: 1rem; padding-bottom: 96px; }
  .brand { font-size: 1.55rem; }
  .menu-toggle { width: 48px; height: 48px; }
  .hide-sm { display: none; }
  .eyebrow { font-size: .75rem; letter-spacing: .12em; }
  .hero .lead { margin-top: 26px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .placeholder-tall { aspect-ratio: 4 / 5; }

  .bars li { grid-template-columns: 1fr auto; gap: 8px 12px; padding: 10px 0; }
  .bar { grid-column: 1 / -1; grid-row: 2; height: 12px; }
  .bar-value { grid-row: 1; grid-column: 2; }
  .bar-label { font-size: 1rem; }

  .chip { flex: 1 1 calc(50% - 5px); }
  .chip > span { height: 100%; padding: 12px 14px; font-size: .95rem; }
  .q legend { font-size: 1.15rem; }

  .products { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .product { display: grid; grid-template-columns: 35% 1fr; grid-template-rows: 1fr auto; gap: 0 16px; padding: 12px; }
  .product:hover { transform: none; }
  .cover { grid-row: span 2; aspect-ratio: auto; min-height: 170px; padding: 14px; }
  .cover-tag { font-size: .62rem; flex-direction: column; }
  .cover-save { color: var(--muted-ink); }
  .cover-title { font-size: 1.45rem; }
  .product-body { padding: 4px 0 0; }
  .product-name { font-size: 1.05rem; line-height: 1.3; }
  .product-desc { display: none; }
  .product-call { margin-top: 6px; font-family: var(--sans); font-size: .84rem; letter-spacing: 0; line-height: 1.4; }
  .product-call .bullet { display: none; }
  .product-foot { padding: 12px 0 4px; flex-wrap: wrap; }
  .product-price { font-size: 1.9rem; }
  .product-foot .btn { min-height: 46px; padding: 0 18px; }

  .combo { grid-template-columns: 1fr; }
  .session-bar { padding: 14px 14px; font-size: .9rem; gap: 8px; }
  .session-bar > span { white-space: nowrap; }
  .session-bar .mono { font-size: .88rem; }
  .live-dot { margin-right: 8px; }
  .level { grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line-ink); margin-bottom: 10px; }
  .level-name { grid-column: 1; }
  .level-desc { grid-column: 1; grid-row: 2; font-size: .95rem; }
  .level-price { grid-column: 2; grid-row: 1 / span 2; }
  .paths { grid-template-columns: 1fr; gap: 16px; }
  .about-photos .placeholder { min-height: 170px; }
  .closing-actions { width: 100%; flex-direction: column; }
  .closing-actions .btn { width: 100%; }

  .sticky-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 40;
    left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
    background: var(--ivory); padding: 8px; border-radius: 16px; box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
    transform: translateY(calc(100% + 40px)); transition: transform .45s var(--ease);
  }
  .sticky-bar.is-shown { transform: none; }
  .sticky-bar a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    min-height: 56px; border-radius: 10px; text-decoration: none; line-height: 1.2;
  }
  .sticky-bar strong { font-size: 1.05rem; font-weight: 600; }
  .sticky-bar .mono { font-size: .75rem; }
  .sb-a { color: var(--ink); border: 1px solid rgba(19, 21, 20, .2); }
  .sb-a .mono { color: var(--muted-ink); }
  .sb-b { background: var(--ink); color: var(--text); }
  .sb-b .mono { color: var(--muted); }
  .sb-b .tag-ia { font-size: .7rem; }
}

@media (max-width: 380px) {
  .chip { flex-basis: 100%; }
  .product { grid-template-columns: 1fr; }
  .cover { grid-row: auto; min-height: 120px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive del panel de compra y del recorrido */
@media (max-width: 760px) {
  .modal-checkout { max-width: 100%; width: 100%; margin: auto 0 0; max-height: 92vh; }
  .modal-checkout .modal-inner { border-radius: 22px 22px 0 0; padding: 26px 18px calc(22px + env(safe-area-inset-bottom)); max-height: 92vh; overflow-y: auto; }
  .co-grid { grid-template-columns: 1fr; gap: 4px; margin-top: 16px; }
  .co-price { margin-top: 12px; }
  .co-pay { order: -1; padding: 16px; }
  .co-amount { font-size: 2.6rem; }
  .form-grid, .grid-2 { grid-template-columns: 1fr; }
  .flow-actions .btn { width: 100%; }
}

/* Campo trampa antispam del formulario de mentoría: fuera de pantalla, sin efecto visual. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Catálogo final: curso + guía (2 tarjetas) y temas de la mentoría ---------- */
.products-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1120px; }
.products-2 .cover { aspect-ratio: 2.1; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.topics li { font-size: .9rem; line-height: 1.3; padding: 8px 12px; border: 1px solid var(--line-ink); border-radius: 999px; background: var(--ivory); color: var(--ink-2); }
.lc-consulta { color: var(--text); text-underline-offset: 3px; }
.lc-consulta:hover { color: var(--ivory); }
@media (max-width: 720px) {
  .products-2 { grid-template-columns: 1fr; }
  .products-2 .cover { aspect-ratio: auto; }
  .topics li { font-size: .85rem; }
}

/* Borradores legales: listas legibles dentro de las tarjetas. */
.legal .co-list li { margin-bottom: 8px; color: rgba(236, 230, 217, .82); }
.legal .flow-card h2 { font-size: 1.4rem; }

/* Portada con contenido real o bloques ocultos (js/portada.js). */
.placeholder.con-foto { padding: 0; overflow: hidden; }
.foto-real { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-grid.hero-sin-media { grid-template-columns: 1fr; max-width: 980px; }
.about-grid.about-sin-fotos { grid-template-columns: 1fr; max-width: 760px; }
