:root {
  --ink: #1F2A18; /* sexto color: verde bosque profundo, para textos */
  /* Paleta de Mabel: #556B2F · #8A9A5B · #E6C85C · #F7F3E9 · #D8CBB8 · #1F2A18 (textos) */
  --paper: #F7F3E9;
  --paper-2: #D8CBB8;
  --olive: #556B2F;
  --olive-dark: #3B4A20;
  --sage: #8A9A5B;
  --gold: #E6C85C;
  --coral: #556B2F; /* acentos de texto (antes coral), en oliva para buena lectura */
  --error: #9A3B2A;
  --line: rgba(23, 32, 25, .16);
  --white: #fffdf8;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }



.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(244, 240, 231, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; font-family: var(--display); line-height: 1.05; }
.brand small { font-family: var(--sans); color: #667067; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.brand-mark { display: grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%; color: var(--white); background: var(--olive); font-size: 13px; font-family: var(--sans); font-weight: 800; }
.header-cta { padding-bottom: 3px; border-bottom: 1px solid; text-decoration: none; font-size: 13px; font-weight: 700; }

.hero {
  min-height: 760px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .75fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
  padding: 70px clamp(20px, 7vw, 110px) 90px;
  overflow: hidden;
  background: radial-gradient(circle at 12% 18%, rgba(175, 186, 168, .48), transparent 28%), var(--paper);
}
.eyebrow { margin: 0 0 20px; color: var(--coral); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 800px; margin-bottom: 24px; font: 500 clamp(52px, 6.4vw, 92px)/.98 var(--display); letter-spacing: -.045em; }
h2 { font: 500 clamp(38px, 4.3vw, 66px)/1.02 var(--display); letter-spacing: -.035em; }
.hero-lead { max-width: 650px; margin: 0 0 32px; font-size: clamp(17px, 1.5vw, 21px); color: #3d493f; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 14px 22px; border: 1px solid transparent; border-radius: 4px; cursor: pointer; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--olive); }
.button-primary:hover { background: var(--olive-dark); }
.button-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.button-ghost:disabled { opacity: .35; cursor: default; transform: none; }
.text-link { font-weight: 750; text-decoration: none; }
.text-link span { color: var(--coral); }
.microcopy { margin: 18px 0 0; color: #737970; font-size: 12px; }

.hero-media { justify-self: center; width: min(100%, 420px); }
.video-shell { position: relative; padding: 12px; background: var(--white); box-shadow: 0 30px 70px rgba(34, 50, 41, .17); transform: rotate(1.8deg); }
.video-shell::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; z-index: -1; border: 1px solid var(--gold); }
.video-shell video { display: block; width: 100%; aspect-ratio: 9/16; max-height: 590px; object-fit: cover; background: var(--olive-dark); }
.video-caption { position: absolute; left: -25px; right: 40px; bottom: 42px; padding: 15px 18px; background: var(--white); font: 600 19px/1.2 var(--display); box-shadow: 0 12px 30px rgba(0,0,0,.12); }
.media-note { max-width: 310px; margin: 26px auto 0; color: #677068; font-size: 12px; text-align: center; }

.section-pad { padding: 110px clamp(20px, 7vw, 110px); }
.recognition { background: var(--olive-dark); color: var(--white); }
.section-heading { max-width: 900px; }
.section-heading h2 { margin-bottom: 55px; }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.22); }
.signal-card { padding: 32px 34px 20px 0; border-right: 1px solid rgba(255,255,255,.22); }
.signal-card + .signal-card { padding-left: 34px; }
.signal-card:last-child { border-right: 0; }
.signal-card > span { color: var(--coral); font-size: 12px; font-weight: 800; }
.signal-card h3 { margin: 60px 0 15px; font: 500 30px/1.08 var(--display); }
.signal-card p { color: #cdd4cc; }

.process { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; background: var(--white); }
.process-intro p:last-child { max-width: 540px; color: #59635b; font-size: 18px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: process; }
.steps li { counter-increment: process; display: grid; grid-template-columns: 42px 160px 1fr; gap: 22px; padding: 30px 0; border-top: 1px solid var(--line); }
.steps li::before { content: "0" counter(process); color: var(--coral); font-size: 12px; font-weight: 800; }
.steps strong { font: 500 25px/1 var(--display); }
.steps span { color: #616961; }

.diagnostic { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(50px, 8vw, 130px); align-items: start; background: var(--paper-2); }
.diagnostic-copy { position: sticky; top: 130px; }
.diagnostic-copy > p:not(.eyebrow) { color: #5b655d; font-size: 17px; }
.privacy-note { display: grid; gap: 4px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }
.privacy-note span { color: #6c746d; }
.form-card { padding: clamp(24px, 4vw, 52px); background: var(--white); box-shadow: 0 25px 60px rgba(34,50,41,.1); }
.form-topline { display: flex; justify-content: space-between; color: #687168; font-size: 12px; font-weight: 800; }
.progress { height: 4px; margin: 14px 0 44px; background: #e7e5df; }
.progress span { display: block; width: 25%; height: 100%; background: var(--gold); transition: width .3s ease; }
.form-step { display: none; margin: 0; padding: 0; border: 0; }
.form-step.active { display: grid; gap: 12px; }
.form-step legend { width: 100%; margin-bottom: 26px; font: 500 clamp(27px, 3vw, 40px)/1.08 var(--display); }
.form-step label { display: flex; gap: 13px; align-items: center; padding: 17px; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; transition: border .2s ease, background .2s ease; }
.form-step label:hover { background: #f7f5ef; border-color: var(--olive); }
.form-step input { width: 18px; height: 18px; accent-color: var(--olive); }
.form-actions { display: flex; justify-content: space-between; margin-top: 38px; }
.form-message { min-height: 24px; margin: 12px 0 0; color: var(--error); font-size: 12px; font-weight: 700; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 150px); align-items: center; background: var(--sage); }
.about-quote { font: 500 clamp(36px, 5vw, 70px)/1.04 var(--display); letter-spacing: -.035em; }
.about-copy p:not(.eyebrow) { font-size: 18px; }
.about-copy a { display: inline-block; margin-top: 18px; font-weight: 800; text-underline-offset: 5px; }

footer { display: flex; justify-content: space-between; gap: 30px; padding: 38px clamp(20px, 7vw, 110px); color: #d8ddd8; background: #111713; font-size: 12px; }
footer div { display: grid; }
footer p { margin: 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-media { width: min(88%, 380px); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-card, .signal-card + .signal-card { padding: 28px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.22); }
  .signal-card h3 { margin-top: 24px; }
  .process, .diagnostic, .about { grid-template-columns: 1fr; gap: 55px; }
  .diagnostic-copy { position: static; }
}

@media (max-width: 560px) {
  .header-cta { display: none; }
  h1 { font-size: 48px; }
  .section-pad { padding-top: 80px; padding-bottom: 80px; }
  .steps li { grid-template-columns: 32px 1fr; }
  .steps li span { grid-column: 2; }
  .video-caption { left: -10px; right: 20px; }
  .form-card { padding: 24px 18px; }
  footer { flex-direction: column; }
}

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

/* ---- Producción ---- */
.form-step label.option { align-items: flex-start; line-height: 1.35; }
.form-step label.option input { margin-top: 2px; flex: none; }
.form-step label.option.selected { border-color: var(--olive); background: #EEF0E4; }
.form-step .field { display: grid; gap: 8px; padding: 0; border: 0; cursor: default; }
.form-step .field:hover { background: none; }
.form-step .field span { font-size: 13px; font-weight: 800; color: #4a554c; }
.form-step .field input { width: 100%; height: auto; padding: 15px 16px; border: 1px solid var(--line); border-radius: 4px; background: var(--white); font-size: 17px; }
.form-step .field input:focus { outline: 2px solid var(--olive); outline-offset: 1px; }
.form-step .consent { align-items: flex-start; gap: 12px; padding: 14px 0 0; border: 0; font-size: 13px; color: #5d665e; cursor: pointer; }
.form-step .consent:hover { background: none; }
.form-step .consent input { margin-top: 2px; flex: none; }
.form-step .consent a { color: var(--olive); }
.result { display: grid; gap: 16px; padding: 10px 0; }
.result-tag { color: var(--coral); font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.result strong { font: 500 clamp(28px, 3vw, 38px)/1.1 var(--display); }
.result p { margin: 0; color: #59635b; font-size: 17px; }
.result small { color: #7a8179; font-size: 12px; }
.button-wa { background: #1f7a4d; }
.button-wa:hover { background: #17623d; }
.about-copy .button { margin-top: 18px; text-decoration: none; }
.privacy { padding-top: 40px; padding-bottom: 40px; background: var(--paper); font-size: 13px; color: #5d665e; }
.privacy summary { cursor: pointer; font-weight: 800; color: var(--ink); }
.privacy p { max-width: 860px; }
footer a { color: inherit; }
@media (max-width: 560px) {
  .form-step legend { font-size: 25px; }
  .form-actions .button { flex: 1; }
  .form-actions { gap: 10px; }
}
.form-card { scroll-margin-top: 90px; }

.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-weight: 800; font-size: 15px; box-shadow: 0 12px 30px rgba(0,0,0,.25); cursor: pointer; white-space: nowrap; }
.video-play span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 12px; padding-left: 2px; }
.video-play:hover { background: #fff; }
.video-shell { position: relative; }

/* ---- Modo pantalla completa ---- */
body.quiz-open { overflow: hidden; }
.quiz-overlay { position: fixed; inset: 0; z-index: 100; overflow-y: auto; -webkit-overflow-scrolling: touch; background: var(--paper); }
.quiz-bar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.quiz-brand { display: inline-flex; align-items: center; gap: 10px; font: 500 17px/1 var(--display); }
.quiz-brand .brand-mark { width: 34px; height: 34px; font-size: 12px; }
.quiz-close { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 16px; cursor: pointer; }
.quiz-body { max-width: 640px; margin: 0 auto; padding: 20px 16px 40px; }
.quiz-body .form-card { box-shadow: none; opacity: 1; transform: none; }
@media (min-width: 700px) {
  .quiz-overlay { background: rgba(23, 33, 27, .55); }
  .quiz-bar { max-width: 640px; margin: 4vh auto 0; border-radius: 6px 6px 0 0; }
  .quiz-body { background: var(--paper); border-radius: 0 0 6px 6px; margin-bottom: 4vh; }
}
@media (hover: none) { .form-step label.option:hover { background: var(--white); } .form-step label.option.selected:hover { background: #EEF0E4; } }

/* ---- Número Dorado y metodología ---- */
.dorado { background: var(--white); }
.dorado-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; max-width: 1100px; margin: 40px auto 0; }
.dorado-preguntas p { display: flex; align-items: center; gap: 18px; margin: 0 0 22px; font: 500 clamp(24px, 2.6vw, 32px)/1.2 var(--display); }
.dorado-preguntas span { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink); font: 800 20px/1 system-ui, sans-serif; }
.dorado-card { padding: 40px; border-radius: 8px; background: var(--ink); color: #f4f0e7; box-shadow: 0 30px 60px rgba(23,32,27,.18); }
.dorado-card small { color: var(--paper-2); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dorado-card strong { display: block; margin: 6px 0 16px; font: 500 clamp(40px, 5vw, 60px)/1 var(--display); color: var(--gold); }
.dorado-card p { margin: 0; opacity: .85; font-size: 17px; line-height: 1.55; }
.arbol-grid { display: grid; grid-template-columns: 300px 1fr; gap: 48px; align-items: center; max-width: 1100px; margin: 40px auto 0; }
.arbol-svg { width: 100%; max-width: 300px; margin: 0 auto; }
.arbol-cuentas { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cuenta { padding: 24px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.cuenta span { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); }
.cuenta h3 { margin: 8px 0 8px; font: 500 28px/1.1 var(--display); }
.cuenta p { margin: 0; color: #59635b; font-size: 15px; line-height: 1.5; }
.about-copy p + p { margin-top: 12px; }
@media (max-width: 760px) {
  .dorado-grid, .arbol-grid, .arbol-cuentas { grid-template-columns: 1fr; }
  .arbol-svg { max-width: 200px; }
}
.arbol .section-heading h2, .dorado .section-heading h2 { margin-bottom: 18px; }

/* Fotos de Mabel */
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; max-width: 460px; aspect-ratio: 4/5; object-fit: cover; object-position: center 20%; border-radius: 4px; box-shadow: 0 25px 60px rgba(34,50,41,.15); }
.about-photo .about-quote { margin-top: 28px; font-size: clamp(26px, 3vw, 40px); max-width: 460px; }
.mabel-note { display: flex; align-items: center; gap: 16px; margin: 24px 0 8px; }
.mabel-note img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: center 25%; flex: none; border: 3px solid var(--white); box-shadow: 0 6px 18px rgba(34,50,41,.15); }
.mabel-note span { font-size: 15px; line-height: 1.4; }
@media (max-width: 900px) { .about-photo img { max-width: 100%; } }

.consent-privacy { margin-top: 12px; padding: 14px 16px; background: rgba(34,50,41,.06); border-radius: 4px; font-size: 14px; line-height: 1.5; max-height: 240px; overflow-y: auto; }
.consent-privacy p { margin: 0 0 8px; }
.consent-privacy p:last-child { margin-bottom: 0; }

.about .eyebrow { color: var(--ink); }
.recognition .eyebrow, .recognition .signal-card > span { color: var(--gold); }
.dorado-card { background: var(--olive-dark); color: var(--paper); }
