/* ============================================================
   Gumercindo Jiménez — Sitio público
   Estilos compartidos entre páginas. Construido sobre los tokens
   del Design System (./tokens/*.css vía styles.css) — no duplica
   colores/tipografías, solo compone layout y componentes.
   ============================================================ */

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

/* ---------- Nav (pill flotante, ref. Optima) ---------- */
.site-nav { position: sticky; top: 12px; z-index: 100; }
.site-nav__row {
  height: 64px; display: flex; align-items: center; justify-content: space-between;
  background: color-mix(in srgb, var(--bone-50) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-hair); border-radius: var(--radius-pill);
  padding: 0 12px 0 22px; box-shadow: 0 8px 30px -14px rgba(0,0,0,.18);
}
.site-nav__links { display: flex; align-items: center; gap: 34px; }
.site-nav__links a:not(.btn) {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  color: var(--text-body); letter-spacing: .01em; text-decoration: none;
}
.site-nav__links a:not(.btn):hover { color: var(--text-brand); }

/* Pill de disponibilidad (patrón Primefolio, colores GJ) */
.nav-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-size: 12.5px; font-weight: 600;
  color: var(--green-700); background: color-mix(in srgb, var(--green-500) 12%, transparent);
  padding: 7px 14px; border-radius: var(--radius-pill); white-space: nowrap;
}
.nav-pill::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-500); flex-shrink: 0;
  animation: nav-pill-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-pill-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green-500) 45%, transparent); }
  55% { box-shadow: 0 0 0 5px transparent; }
}
@media (prefers-reduced-motion: reduce) { .nav-pill::before { animation: none; } }
@media (max-width: 1080px) { .nav-pill { display: none; } }
.site-logo img { height: 42px; display: block; }

/* ---------- Nav móvil (hamburguesa) ---------- */
.site-nav__toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px; justify-content: center; align-items: center;
}
.site-nav__toggle span { width: 22px; height: 2px; background: var(--text-strong); border-radius: 2px; }
.site-nav__mobile {
  display: none; flex-direction: column; gap: 4px; padding: 8px 24px 20px;
  background: color-mix(in srgb, var(--bone-50) 94%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-hair); border-radius: 22px;
  margin: 10px 16px 0; box-shadow: 0 12px 30px -14px rgba(0,0,0,.2);
}
.site-nav__mobile a, .site-nav__mobile button {
  font-family: var(--font-sans); font-size: 15px; font-weight: 500; color: var(--text-body);
  text-decoration: none; padding: 12px 4px; border-bottom: 1px solid var(--border-hair);
  text-align: left; background: none; border-left: none; border-right: none; border-top: none; width: 100%; cursor: pointer;
}
/* El CTA del menú móvil (quiz/auditoría) debe verse como botón, no como un link más */
.site-nav__mobile a.is-cta, .site-nav__mobile button.is-cta {
  margin-top: 8px; text-align: center; border: none; border-radius: var(--radius-md);
  background: var(--green-700); color: var(--bone-50); font-weight: 600;
}
.site-nav__mobile.is-open { display: flex; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-sans); font-weight: 600; font-size: 14px;
  letter-spacing: .01em; border-radius: var(--radius-md);
  padding: 13px 26px; border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--lg { padding: 16px 32px; font-size: 15px; }
.btn--solid { background: var(--green-700); color: var(--bone-50); }
.btn--solid:hover { background: var(--green-600); transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--green-700) 55%, transparent); }
.btn--accent { background: var(--gold-400); color: var(--green-950); }
.btn--accent:hover { filter: brightness(1.06); transform: translateY(-2px); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--gold-400) 60%, transparent); }
.btn--outline { background: transparent; color: var(--text-strong); border: 1px solid var(--border-hair); }
.btn--outline:hover { border-color: var(--green-600); color: var(--green-700); background: color-mix(in srgb, var(--green-500) 7%, transparent); }
.btn--full { width: 100%; }

/* Botón con disco-flecha (patrón Optima, colores GJ): pill + círculo con ↗
   que al hover sale por arriba-derecha y reentra desde abajo-izquierda. */
.btn--arrow { padding: 8px 8px 8px 28px; gap: 16px; border-radius: var(--radius-pill); }
.btn--arrow.btn--lg { padding: 8px 8px 8px 30px; }
.btn__disc {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--gold-400); color: var(--green-950);
  transition: transform .3s var(--ease-out, ease);
}
.btn--accent .btn__disc { background: var(--green-800); color: var(--gold-400); }
.btn__disc svg { position: absolute; transition: transform .35s cubic-bezier(.5, 0, .2, 1); }
.btn__disc svg:nth-child(2) { transform: translate(-160%, 160%); }
.btn--arrow:hover .btn__disc svg:nth-child(1) { transform: translate(160%, -160%); }
.btn--arrow:hover .btn__disc svg:nth-child(2) { transform: translate(0, 0); }
.btn--arrow:hover .btn__disc { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn__disc, .btn__disc svg { transition: none; }
  .btn--solid:hover, .btn--accent:hover { transform: none; }
}

/* ---------- Eyebrow / tags ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-accent);
}
.eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--metal); }
.eyebrow--on-dark { color: var(--gold-400); }
.eyebrow--on-dark::before { background: var(--gold-400); opacity: .6; }
.eyebrow--center { justify-content: center; }
.eyebrow--center::before { display: none; }
.tag {
  display: inline-block; font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--green-700);
  background: var(--green-100, color-mix(in srgb, var(--green-500) 14%, transparent));
  padding: 5px 12px; border-radius: 999px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--surface-raised, var(--bone-50)); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 32px;
}
.card--accent-rule { border-top: 3px solid var(--gold-400); }
.card--interactive { transition: transform .18s ease, box-shadow .18s ease; }
.card--interactive:hover { transform: translateY(-4px); box-shadow: var(--shadow-xl); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--dark { background: var(--surface-inverse); position: relative; overflow: hidden; }
.section--deep { background: var(--surface-inverse-deep); position: relative; overflow: hidden; }
.section--tint { background: var(--surface-tint, color-mix(in srgb, var(--green-500) 16%, var(--bone-50))); }
/* Dos secciones claras seguidas (plain -> tint) generan una zona muerta poco visible:
   separador sutil para que la transición se lea, no una caja en blanco. */
.section--tint { border-top: 1px solid var(--border-hair); border-bottom: 1px solid var(--border-hair); }

/* Profundidad sutil en secciones oscuras — evita el plano parejo, sin assets nuevos */
.section--dark::before, .section--deep::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 15% 0%, color-mix(in srgb, var(--green-500) 22%, transparent), transparent 60%),
              radial-gradient(ellipse 60% 50% at 100% 100%, color-mix(in srgb, var(--gold-400, var(--clay-500)) 12%, transparent), transparent 60%);
}
.section--dark > *, .section--deep > * { position: relative; z-index: 1; }

/* ---------- Scroll reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out, ease), transform .6s var(--ease-out, ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { padding: 88px 0 96px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.04; letter-spacing: -0.03em; margin: 22px 0 0; color: var(--text-strong); }
.hero h1 em { font-style: italic; color: var(--text-brand); }

/* Acento serif itálico dentro de titulares sans (flip tipográfico ref. Optima):
   la palabra em vuelve a Cormorant, elegante y con más cuerpo que la grotesca. */
h1 em, h2 em, h3 em { font-family: var(--font-accent); font-weight: 500; font-size: 1.12em; letter-spacing: 0; }
.hero p.lede { font-family: var(--font-serif); font-size: 19px; line-height: 1.6; color: var(--text-body); margin: 26px 0 0; max-width: 46ch; }
.hero__ctaRow { display: flex; align-items: center; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero__ctaNote { font-family: var(--font-sans); font-size: 14.5px; color: var(--text-muted); }
.hero__ctaNote s { color: var(--text-faint); }
.hero__ctaNote strong { color: var(--clay-700); font-weight: 700; background: var(--clay-100); padding: 3px 10px; border-radius: var(--radius-pill); }

.portrait {
  position: relative; aspect-ratio: 4/5; width: 100%;
  background: linear-gradient(155deg, var(--green-800), var(--green-950));
  border-radius: var(--radius-md); overflow: hidden; display: flex;
  align-items: center; justify-content: center; box-shadow: var(--shadow-lg);
}
.portrait--square { aspect-ratio: 1/1; }
.portrait img.mark { height: 84px; opacity: .26; }
.portrait__label {
  position: absolute; bottom: 14px; left: 16px; font-family: var(--font-sans);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); opacity: .8;
}
.hero__portraitWrap { position: relative; }
.hero__statCard { position: absolute; bottom: -26px; left: -26px; width: 210px; }

/* ---------- Stat ---------- */
.stat__value { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--text-strong); line-height: 1; }
.stat--dark .stat__value { color: var(--bone-50); }
.stat__label { font-family: var(--font-sans); font-size: 12px; color: var(--text-muted); margin-top: 6px; max-width: 16ch; }
.stat--dark .stat__label { color: var(--text-on-dark-muted); }
.stats-row { display: flex; gap: 48px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- About (dark band) ---------- */
.about__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about h2 { font-size: 40px; font-weight: 500; line-height: 1.12; color: var(--bone-50); margin: 20px 0 0; }
.about h2 em { font-style: italic; color: var(--gold-400); }
.about p.lede { font-family: var(--font-serif); font-size: 17px; line-height: 1.65; color: var(--text-on-dark-muted); margin: 24px 0 0; max-width: 54ch; }
.about__closer { font-family: var(--font-display); font-style: italic; font-size: 19px; line-height: 1.5; color: var(--gold-400); margin: 24px 0 0; max-width: 50ch; }
.milestones {
  list-style: none; margin: 56px 0 0; padding: 32px 0 0;
  border-top: 1px solid var(--border-on-dark);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px;
}
.milestone { display: flex; flex-direction: column; gap: 8px; }
.milestone__year {
  font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--gold-400); line-height: 1;
}
.milestone__text { font-family: var(--font-sans); font-size: 13px; line-height: 1.5; color: var(--text-on-dark-muted); }

/* ---------- Services ---------- */
.services__head { max-width: 640px; margin-bottom: 48px; }
.services__head h2 { font-size: 38px; font-weight: 700; line-height: 1.1; margin: 18px 0 0; color: var(--text-strong); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.service-card { display: flex; flex-direction: column; }
.service-card__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.service-card__n { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--green-200); }
.service-card h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.15; color: var(--text-strong); margin: 0 0 12px; }
.service-card p.body { font-family: var(--font-serif); font-size: 15.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 18px; }
.service-card p.includes { font-family: var(--font-sans); font-size: 12.5px; color: var(--text-body); margin: 0 0 22px; }
.service-card p.includes strong { color: var(--text-accent); }
.service-card__cta { margin-top: auto; }

/* ---------- Testimonials ---------- */
.testimonials__head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.testimonials__head h2 { font-size: 38px; font-weight: 700; line-height: 1.1; margin: 18px 0 0; color: var(--green-900); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.testimonial blockquote { font-family: var(--font-serif); font-size: 16px; line-height: 1.6; color: var(--text-body); margin: 0 0 16px; font-style: italic; }
.testimonial cite { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-muted); font-style: normal; }

/* ---------- FAQ / accordion ---------- */
.faq__head { text-align: center; margin-bottom: 40px; }
.faq__head h2 { font-size: 38px; font-weight: 700; margin: 18px 0 0; color: var(--text-strong); }
.accordion-item { border-bottom: 1px solid var(--border-hair); }
.accordion-item__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 4px; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--text-strong);
}
.accordion-item__icon { transition: transform .2s ease; color: var(--text-accent); flex-shrink: 0; }
.accordion-item.is-open .accordion-item__icon { transform: rotate(45deg); }
.accordion-item__a {
  font-family: var(--font-serif); font-size: 15.5px; line-height: 1.6; color: var(--text-muted);
  max-height: 0; overflow: hidden; transition: max-height .25s ease, padding .25s ease; padding: 0 4px;
}
.accordion-item.is-open .accordion-item__a { max-height: 240px; padding: 0 4px 22px; }

/* ---------- Audit CTA band ---------- */
.audit-band { text-align: center; }
.audit-band h2 { font-size: 50px; font-weight: 600; line-height: 1.06; color: var(--bone-50); margin: 20px auto 0; max-width: 18ch; }
.audit-band h2 em { font-style: italic; color: var(--gold-400); }
.audit-band p.lede { font-family: var(--font-serif); font-size: 18px; color: var(--text-on-dark-muted); margin: 20px auto 32px; max-width: 44ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); padding: 56px 0 40px; }
.site-footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 32px; }
.site-footer__tag { font-family: var(--font-serif); font-style: italic; font-size: 15px; color: var(--text-on-dark-muted); margin: 20px 0 0; max-width: 34ch; }
.site-footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.site-footer__col-title { font-family: var(--font-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 16px; }
.site-footer__col a { display: block; font-family: var(--font-serif); font-size: 15px; color: var(--text-on-dark); text-decoration: none; margin-bottom: 11px; }
.site-footer__bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--border-on-dark);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: var(--font-sans); font-size: 12px; color: var(--text-on-dark-muted);
}

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: color-mix(in srgb, var(--ink-900) 62%, transparent);
  backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal {
  width: 100%; max-width: 460px; background: var(--surface-raised, var(--bone-50));
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); padding: 40px; position: relative;
  max-height: calc(100vh - 48px); overflow-y: auto;
}
.modal--wide { max-width: 560px; }
.modal__close {
  position: absolute; top: 18px; right: 18px; background: transparent; border: none;
  cursor: pointer; font-size: 20px; color: var(--text-faint); line-height: 1;
}
.modal h3 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--text-strong); margin: 14px 0 6px; }
.modal p.lede { font-family: var(--font-serif); font-size: 15px; color: var(--text-muted); margin: 0 0 24px; }
.diag-modal-badge {
  display: flex; align-items: center; width: fit-content;
  background: var(--clay-100); color: var(--clay-700);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  padding: 8px 14px; border-radius: var(--radius-pill); margin: -4px 0 22px;
}
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-body); }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 15px; padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border-hair);
  background: var(--surface-page); color: var(--text-strong);
}
.field input:focus, .field textarea:focus { outline: none; box-shadow: var(--shadow-focus); border-color: var(--green-500); }
.modal-success { text-align: center; padding: 20px 0; }
.modal-success img { height: 54px; margin-bottom: 18px; }
.modal-success h3 { margin: 0 0 8px; }
.modal-success p { font-family: var(--font-serif); font-size: 16px; color: var(--text-muted); margin: 0; }
.modal-success .btn { margin-top: 24px; }
.modal-success p.modal-success__note { font-family: var(--font-sans); font-size: 12.5px; color: var(--text-faint); margin-top: 10px; }

/* ---------- Modal: pasos del formulario de precalificación ---------- */
.steps-progress { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.steps-progress__label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; color: var(--text-muted); }
.steps-progress__dots { display: flex; gap: 6px; }
.steps-progress__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-hair); }
.steps-progress__dot.is-active { background: var(--green-600); }
.form-step { display: none; border: none; padding: 0; margin: 0; }
.form-step.is-active { display: block; }
.field--choice { margin-bottom: 28px; }
.field--choice:last-child { margin-bottom: 0; }
.field--choice label { font-family: var(--font-sans); font-size: 14px; font-weight: 600; color: var(--text-strong); display: block; margin-bottom: 12px; }
.choice-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 11px; padding: 12px 14px;
  border: 1px solid var(--border-hair); border-radius: var(--radius-md);
  font-family: var(--font-sans); font-size: 14px; line-height: 1.35; color: var(--text-body);
  cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.choice:hover {
  border-color: var(--green-500); background: color-mix(in srgb, var(--green-500) 4%, transparent);
}
.choice:has(input:checked) {
  border-color: var(--green-600); background: color-mix(in srgb, var(--green-500) 10%, transparent);
  color: var(--text-strong); font-weight: 600; box-shadow: 0 0 0 1px var(--green-600);
}
.choice input[type="radio"], .choice input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 0; flex-shrink: 0;
  width: 18px; height: 18px; border: 1.5px solid var(--border-hair);
  background: var(--surface-page); cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.choice input[type="radio"] { border-radius: 50%; }
.choice input[type="checkbox"] { border-radius: 5px; }
.choice input[type="radio"]:checked {
  border-color: var(--green-600);
  background: radial-gradient(circle, var(--green-600) 0 42%, transparent 44% 100%);
}
.choice input[type="checkbox"]:checked {
  border-color: var(--green-600); background-color: var(--green-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.2l3.2 3.2L13 4.8'/%3E%3C/svg%3E");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
}
.form-nav { display: flex; gap: 12px; margin-top: 28px; }
.form-nav .btn { flex: 1; }

@media (max-width: 640px) {
  .modal-overlay { padding: 12px; }
  .modal { padding: 26px 20px; max-height: calc(100vh - 24px); }
  .modal--wide { max-width: 100%; }
  .choice-list { grid-template-columns: 1fr; }
  .field--choice { margin-bottom: 22px; }
}

/* ---------- Precio / oferta ---------- */
.price-block { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; }
.price-block .old { font-family: var(--font-sans); font-size: 20px; color: var(--text-faint); text-decoration: line-through; }
.price-block .new { font-family: var(--font-display); font-size: 40px; font-weight: 600; color: var(--text-accent); }
.guarantee-badge {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-sans);
  font-size: 13px; font-weight: 600; color: var(--green-700);
  background: color-mix(in srgb, var(--green-500) 10%, transparent);
  padding: 10px 16px; border-radius: 999px; margin-top: 18px;
}

/* ---------- Bonus ---------- */
.bonus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bonus-card { text-align: center; }
.bonus-card__media {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: 18px; background: var(--surface-tint, color-mix(in srgb, var(--green-500) 10%, var(--bone-50)));
}
.bonus-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bonus-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(155deg, var(--green-700), var(--green-950));
  display: flex; align-items: center; justify-content: center;
}
.bonus-icon img { height: 30px; opacity: .85; }
.bonus-card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--text-strong); margin: 0 0 8px; }
.bonus-card p.body { font-family: var(--font-serif); font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0 0 10px; }
.bonus-card .value { font-family: var(--font-sans); font-size: 13px; font-weight: 600; color: var(--text-accent); }
.value-stack {
  text-align: center; margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--border-hair);
  font-family: var(--font-sans); font-size: 16px; color: var(--text-body);
}
.value-stack strong { color: var(--text-accent); font-size: 20px; }

/* ---------- Cita del libro ---------- */
.quote-block { max-width: 640px; margin: 0 auto; text-align: center; }
.quote-block blockquote {
  font-family: var(--font-display); font-style: italic; font-size: 28px; line-height: 1.4;
  color: var(--text-strong); margin: 0 0 18px;
}
.quote-block cite { font-family: var(--font-sans); font-size: 13px; color: var(--text-muted); font-style: normal; }

/* ---------- Cursos: bloques narrativos ---------- */
.course-block { padding: 76px 0; border-bottom: 1px solid var(--border-hair); }
.course-block:last-child { border-bottom: none; }
.course-block__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.course-block__grid--reverse { grid-template-columns: 1.15fr .85fr; }
.course-block__grid--reverse .course-block__media { order: 2; }
.course-block h2 { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--text-strong); margin: 16px 0 14px; }
.course-block p.lede { font-family: var(--font-serif); font-size: 16.5px; line-height: 1.6; color: var(--text-muted); margin: 0 0 26px; max-width: 56ch; }
.who-list { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.who-list li {
  font-family: var(--font-serif); font-size: 15px; line-height: 1.5; color: var(--text-body);
  padding-left: 24px; position: relative;
}
.who-list li::before { content: '→'; position: absolute; left: 0; color: var(--text-accent); }
/* Regla a nivel de sección: cualquier .who-list dentro de un fondo oscuro
   hereda colores legibles automáticamente, sin depender de que cada uso
   nuevo recuerde agregar una clase extra (así se rompió antes en /libro). */
.section--dark .who-list li, .section--deep .who-list li, .coming-soon-box .who-list li { color: var(--text-on-dark); }
.section--dark .who-list li::before, .section--deep .who-list li::before, .coming-soon-box .who-list li::before { color: var(--gold-400); }

/* ---------- Coming soon (cursos) ---------- */
.coming-soon-box { background: var(--surface-inverse); border-radius: var(--radius-lg); padding: 40px; }
.coming-soon-box .eyebrow { color: var(--gold-400); }
.coming-soon-box .eyebrow::before { background: var(--gold-400); opacity: .6; }
.coming-soon-box h2 { color: var(--bone-50); }
.coming-soon-box p.lede { color: var(--text-on-dark-muted); }
.capture-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.capture-row input, .capture-row textarea {
  flex: 1; min-width: 220px; font-family: var(--font-sans); font-size: 14.5px; padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border-on-dark); background: color-mix(in srgb, var(--bone-50) 8%, transparent);
  color: var(--bone-50);
}
.capture-row input::placeholder, .capture-row textarea::placeholder { color: var(--text-on-dark-muted); }
.capture-row input:focus, .capture-row textarea:focus { outline: none; box-shadow: var(--shadow-focus); }
.capture-block { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border-on-dark); }
.capture-block__label { font-family: var(--font-sans); font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 10px; display: block; }
.capture-ok { font-family: var(--font-sans); font-size: 14px; color: var(--gold-400); }

/* ---------- Antes / Después ---------- */
.transform-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.transform-card h3 {
  font-family: var(--font-sans); font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin: 0 0 20px;
}
.transform-card--before h3 { color: var(--text-faint); }
.transform-card--after h3 { color: var(--text-accent); }
.transform-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.transform-card li {
  font-family: var(--font-serif); font-size: 15px; line-height: 1.5; color: var(--text-body);
  padding-left: 26px; position: relative;
}
.transform-card--before li::before { content: '×'; position: absolute; left: 0; color: var(--text-faint); font-weight: 700; }
.transform-card--after li::before { content: '✓'; position: absolute; left: 0; color: var(--green-600); font-weight: 700; }

/* ---------- Fila de confianza (medios de pago) ---------- */
.trust-row { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; opacity: .7; }
.trust-row img { height: 22px; }

/* ---------- Captura inline (bonus por email) ---------- */
.inline-capture { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.inline-capture input {
  flex: 1; min-width: 220px; font-family: var(--font-sans); font-size: 15px; padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--border-hair); background: var(--surface-page); color: var(--text-strong);
}
.inline-capture input:focus { outline: none; box-shadow: var(--shadow-focus); border-color: var(--green-500); }

@media (max-width: 860px) {
  .hero__grid, .about__grid { grid-template-columns: 1fr; }
  .services__grid, .testimonials__grid, .bonus-grid { grid-template-columns: 1fr; }
  .transform-grid, .course-block__grid, .course-block__grid--reverse { grid-template-columns: 1fr; }
  .course-block__grid--reverse .course-block__media { order: 0; }
  .hero h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.12; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 56px 0; }
  /* En mobile todo el contenido de .site-nav__links se oculta (nav-links,
     pill de disponibilidad, y el botón "Solicitar auditoría" — queda
     redundante ahí, ya está en el hero y en el menú hamburguesa). */
  .site-nav__links > * { display: none; }
  .site-nav__toggle { display: flex; }
}

@media (min-width: 861px) {
  .site-nav__mobile { display: none !important; }
}
