:root {
  --ink: #102620;
  --ink-soft: #40564f;
  --cream: #f6f2e8;
  --paper: #fffdf7;
  --green: #176b52;
  --green-deep: #0f4d3c;
  --mint: #d9f2e7;
  --lime: #c9f16a;
  --yellow: #f3ca52;
  --red: #df655f;
  --line: rgba(16, 38, 32, .16);
  --shadow: 0 24px 70px rgba(20, 52, 42, .14);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; }
.skip-link:focus { top: 12px; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--green); color: white; font-size: 1.35rem; }
.header-note { color: var(--ink-soft); font-size: .82rem; font-weight: 700; }

.hero {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: 82px 0 94px;
}
.eyebrow, .section-kicker {
  margin: 0 0 18px;
  color: var(--green);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow { display: flex; align-items: center; gap: 9px; }
.eyebrow span { width: 9px; height: 9px; border-radius: 50%; background: #e94f48; box-shadow: 0 0 0 6px rgba(233, 79, 72, .12); }
h1, h2 { margin: 0; font-family: var(--serif); letter-spacing: -.045em; line-height: .98; }
h1 { max-width: 730px; font-size: clamp(3.4rem, 5.7vw, 5.75rem); }
h1 em { color: var(--green); font-style: normal; }
h2 { font-size: clamp(2.55rem, 4.6vw, 4.65rem); }
h3 { margin: 0; letter-spacing: -.025em; line-height: 1.2; }
.hero-lead { max-width: 650px; margin: 28px 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.24rem); line-height: 1.65; }
.hero-lead strong { color: var(--ink); }

.button {
  display: inline-flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 2px solid var(--ink);
  border-radius: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
  box-shadow: 5px 5px 0 var(--ink);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.button:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.button:focus-visible, summary:focus-visible, a:focus-visible { outline: 4px solid var(--yellow); outline-offset: 4px; }
.button-primary { background: var(--lime); color: var(--ink); }
.button svg { width: 25px; height: 25px; fill: currentColor; flex: none; }
.button-note { margin: 11px 0 0; color: var(--ink-soft); font-size: .78rem; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.trust-list span { color: var(--green); }

.hero-visual { position: relative; min-height: 540px; display: grid; place-items: center; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; inset: 6% 2% 4% 8%; z-index: -3; border-radius: 49% 51% 48% 52% / 55% 47% 53% 45%; background: var(--green); transform: rotate(-4deg); }
.hero-visual::after { content: ""; position: absolute; inset: 11% 10% 0 2%; z-index: -2; border: 2px solid rgba(255,255,255,.38); border-radius: 58% 42% 55% 45% / 46% 51% 49% 54%; transform: rotate(8deg); }
.glow { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .7; z-index: -1; }
.glow-one { width: 130px; height: 130px; top: 2%; right: -1%; background: var(--yellow); }
.glow-two { width: 84px; height: 84px; bottom: 3%; left: 2%; background: #ef8078; }
.result-card { width: min(430px, 88%); padding: 23px; border: 1px solid rgba(16,38,32,.13); border-radius: 28px; background: rgba(255,253,247,.97); box-shadow: 0 30px 70px rgba(2,25,18,.34); transform: rotate(1.5deg); }
.result-topline { display: flex; align-items: center; justify-content: space-between; font-weight: 800; }
.example-pill { padding: 5px 9px; border: 1px solid var(--line); border-radius: 99px; color: var(--ink-soft); font-size: .62rem; letter-spacing: .1em; }
.organ-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin: 20px 0; padding: 5px; background: #eee9dd; border-radius: 13px; color: var(--ink-soft); font-size: .65rem; font-weight: 800; text-align: center; }
.organ-tabs span { padding: 8px 3px; }
.organ-tabs .active { border-radius: 9px; background: var(--paper); color: var(--ink); box-shadow: 0 2px 10px rgba(16,38,32,.1); }
.organ-result { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; }
.kidney { width: 140px; height: 140px; filter: drop-shadow(0 12px 10px rgba(107,35,34,.18)); }
.result-number { margin: 0; font-family: var(--serif); font-size: 4.5rem; font-weight: 800; line-height: .8; }
.result-unit { margin: 12px 0 9px; color: var(--ink-soft); font-size: .69rem; line-height: 1.35; }
.status-pill { display: inline-block; padding: 5px 13px; border-radius: 99px; background: #5ee0a2; font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.result-message { display: grid; gap: 3px; margin: 17px 0 0; padding: 13px 14px; border-left: 4px solid var(--green); border-radius: 0 10px 10px 0; background: var(--mint); font-size: .73rem; }
.result-message span { color: var(--ink-soft); }
.privacy-line { margin: 16px 0 0; color: var(--ink-soft); font-size: .65rem; text-align: center; }
.privacy-line span { color: #35b978; }
.floating-note { position: absolute; margin: 0; padding: 10px 14px; border: 1px solid rgba(16,38,32,.12); border-radius: 999px; background: var(--paper); box-shadow: 0 12px 28px rgba(0,0,0,.14); font-size: .69rem; font-weight: 800; }
.note-one { top: 14%; left: -4%; transform: rotate(-5deg); }
.note-two { right: -4%; bottom: 12%; transform: rotate(4deg); }

.section-pad { padding: 110px max(20px, calc((100vw - 1180px) / 2)); }
.problem { background: var(--paper); text-align: center; }
.problem h2 { max-width: 820px; margin: 0 auto; }
.section-intro { max-width: 740px; margin: 27px auto 52px; color: var(--ink-soft); font-size: 1.08rem; }
.organ-grid, .card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.organ-grid article, .card-grid article { position: relative; min-height: 330px; padding: 30px; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--cream); }
.organ-grid article:nth-child(2), .card-grid article:nth-child(2) { background: #e3eee7; }
.organ-grid article:nth-child(3), .card-grid article:nth-child(3) { background: #f3e5df; }
.organ-number { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.organ-icon { height: 100px; margin: 20px 0 5px; font-family: var(--serif); font-size: 6rem; line-height: 1; }
.pancreas-icon { color: #eaa95b; transform: rotate(-10deg); }
.kidney-icon { color: #bc5b53; }
.heart-icon { color: #e15562; }
.organ-grid h3, .card-grid h3 { font-family: var(--serif); font-size: 2rem; }
.organ-grid p:last-child, .card-grid p:last-child { margin: 13px 0 0; color: var(--ink-soft); font-size: .88rem; }

.how { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 8vw, 120px); align-items: start; background: var(--green-deep); color: #fff; }
.how .section-kicker { color: var(--lime); }
.steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.25); }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 14px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.steps > li > span { color: var(--lime); font-family: var(--serif); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: 7px 0 0; color: rgba(255,255,255,.76); font-size: .9rem; }

.science { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 120px); background: var(--yellow); }
.science-copy { padding-top: 30px; font-size: .95rem; }
.science-copy > p:first-child { font-size: 1.08rem; font-weight: 700; }
.science-copy ul { padding-left: 21px; }
.science-copy li { margin: 9px 0; }
.science-note { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(16,38,32,.25); font-size: .77rem; }

.final-cta { background: var(--paper); text-align: center; }
.final-cta h2 { max-width: 850px; margin: 0 auto; }
.final-cta > p:not(.section-kicker):not(.group-privacy) { max-width: 650px; margin: 24px auto 30px; color: var(--ink-soft); }
.group-privacy { max-width: 680px; margin: 20px auto 0; color: var(--ink-soft); font-size: .7rem; }

.faq { max-width: 900px; margin: 0 auto; }
.faq h2 { margin-bottom: 36px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 24px 45px 24px 0; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 20px; right: 3px; color: var(--green); font-family: var(--serif); font-size: 1.8rem; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -5px 0 25px; padding-right: 50px; color: var(--ink-soft); font-size: .9rem; }

footer { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 34px max(20px, calc((100vw - 1180px) / 2)); border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .7rem; }
footer p { margin: 0; }
.sticky-cta { display: none; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 62px; }
  .hero-copy { text-align: center; }
  .eyebrow, .trust-list { justify-content: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 500px; }
  .organ-grid, .card-grid { grid-template-columns: 1fr; }
  .organ-grid article, .card-grid article { min-height: 260px; }
  .how, .science { grid-template-columns: 1fr; }
  .science-copy { padding-top: 0; }
  footer { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 82px; }
  .site-header { width: calc(100% - 28px); min-height: 68px; }
  .header-note { display: none; }
  .hero { width: calc(100% - 28px); min-height: 0; gap: 30px; padding: 48px 0 62px; }
  h1 { font-size: clamp(3rem, 15vw, 4.15rem); }
  h2 { font-size: clamp(2.45rem, 12vw, 3.45rem); }
  .hero-lead { margin: 23px 0; font-size: 1rem; }
  .button { width: 100%; min-height: 62px; padding: 12px 14px; font-size: .88rem; }
  .button-note { font-size: .7rem; }
  .trust-list { display: grid; grid-template-columns: 1fr; text-align: left; width: fit-content; margin: 27px auto 0; }
  .hero-visual { min-height: 420px; }
  .result-card { width: 94%; padding: 18px; border-radius: 22px; transform: rotate(.7deg); }
  .organ-result { grid-template-columns: 112px 1fr; gap: 10px; }
  .kidney { width: 112px; height: 112px; }
  .result-number { font-size: 3.8rem; }
  .floating-note { font-size: .58rem; }
  .note-one { left: -2%; top: 9%; }
  .note-two { right: -2%; bottom: 7%; }
  .section-pad { padding: 78px 20px; }
  .section-intro { margin-bottom: 34px; }
  .organ-grid article, .card-grid article { min-height: 0; padding: 24px; }
  .organ-icon { height: 80px; font-size: 5rem; }
  .steps li { grid-template-columns: 47px 1fr; }
  .faq details p { padding-right: 12px; }
  .sticky-cta { display: block; position: fixed; z-index: 30; right: 0; bottom: 0; left: 0; padding: 10px 12px max(10px, env(safe-area-inset-bottom)); background: rgba(246,242,232,.94); border-top: 1px solid var(--line); backdrop-filter: blur(12px); }
  .sticky-cta .button { min-height: 55px; box-shadow: 3px 3px 0 var(--ink); font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ───────────── Landing del menú (raíz) ───────────── */
.card-icon { height: 100px; margin: 20px 0 5px; font-family: var(--serif); font-size: 5.4rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.icon-rule { color: var(--green); }
.icon-days { color: #c9822f; }
.icon-hand { color: #bc5b53; }
.plate-result { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 16px; }
.plate { width: 140px; height: 140px; filter: drop-shadow(0 12px 10px rgba(16,38,32,.18)); }
.plate-legend { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; font-size: .74rem; font-weight: 800; line-height: 1.25; }
.plate-legend li { display: flex; align-items: center; gap: 9px; }
.plate-legend i { width: 13px; height: 13px; flex: none; border-radius: 50%; }
.plate-legend small { display: block; color: var(--ink-soft); font-size: .62rem; font-weight: 700; }
.meal-lines { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); font-size: .72rem; }
.meal-lines li { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); color: var(--ink-soft); }
.meal-lines strong { color: var(--ink); }
.starch-tag { flex: none; padding: 3px 8px; border-radius: 99px; background: var(--yellow); color: var(--ink); font-size: .58rem; font-weight: 800; letter-spacing: .08em; }
.safety-list { margin: 0; padding: 0; list-style: none; }
.safety-list li { margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid rgba(16,38,32,.18); }
.safety-list li:last-child { margin-bottom: 0; }
.safety-list strong { display: block; margin-bottom: 3px; font-size: 1.02rem; }

/* ───────────── Página de entrega del menú ───────────── */
body.page-doc { font-size: 18px; }
.doc-hero { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 46px; text-align: center; }
.doc-hero h1 { margin: 0 auto; font-size: clamp(3.1rem, 7vw, 5.2rem); }
.doc-hero .eyebrow { justify-content: center; }
.doc-hero .eyebrow span { background: var(--green); box-shadow: 0 0 0 6px rgba(23,107,82,.14); }
.doc-hero .hero-lead { margin: 24px auto 30px; }
.doc-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.button-secondary { background: var(--paper); color: var(--ink); }
.button svg.stroke { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.doc-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 30px 0 0; padding: 0; list-style: none; }
.doc-nav a { display: inline-block; padding: 9px 15px; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); font-size: .82rem; font-weight: 800; text-decoration: none; }
.doc-nav a:hover { border-color: var(--green); color: var(--green); }
.doc-section { width: min(900px, calc(100% - 40px)); margin: 0 auto; padding: 60px 0; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.doc-section h2 { margin-bottom: 26px; font-size: clamp(2.3rem, 5vw, 3.5rem); }
.doc-section > p { color: var(--ink-soft); }
.doc-intro { padding: 24px 26px; border-left: 5px solid var(--green); border-radius: 0 20px 20px 0; background: var(--paper); }
.doc-intro p { margin: 0 0 12px; }
.doc-intro p:last-child { margin: 0; }
.doc-intro p:first-child { font-family: var(--serif); font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.rule-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: regla; }
.rule-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); counter-increment: regla; }
.rule-list li::before { content: counter(regla); color: var(--green); font-family: var(--serif); font-size: 2rem; font-weight: 800; line-height: 1; }
.rule-list li:first-child { border: 2px solid var(--ink); background: var(--lime); box-shadow: 5px 5px 0 var(--ink); }
.rule-list li:first-child::before { color: var(--ink); }
.alert-box { margin: 0 0 14px; padding: 22px 24px; border: 2px solid; border-radius: 20px; }
.alert-box.red { border-color: var(--red); background: #fbe8e4; }
.alert-box.amber { border-color: #d9a12b; background: #fbf0d4; }
.alert-box h3 { margin-bottom: 8px; font-size: 1.2rem; }
.alert-box p { margin: 0 0 8px; }
.alert-box p:last-child { margin: 0; }
mark.almidon { padding: 1px 7px; border-radius: 6px; background: var(--yellow); color: var(--ink); font-size: .76em; font-weight: 800; letter-spacing: .06em; }
.week { margin: 0 0 14px; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: var(--paper); }
.week summary { position: relative; padding: 20px 60px 20px 24px; cursor: pointer; font-family: var(--serif); font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; list-style: none; }
.week summary::-webkit-details-marker { display: none; }
.week summary span { display: block; margin-top: 4px; color: var(--ink-soft); font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: 0; }
.week summary::after { content: "+"; position: absolute; top: 50%; right: 24px; color: var(--green); font-size: 2.1rem; transform: translateY(-50%); }
.week[open] summary::after { content: "−"; }
.day-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 0 18px 18px; }
.day-card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.day-card h3 { font-family: var(--serif); font-size: 1.8rem; }
.day-card dl { margin: 0; }
.day-card dt { margin-top: 14px; color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.day-card dd { margin: 3px 0 0; font-size: .98rem; line-height: 1.5; }
.portion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.portion-grid article { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.portion-grid strong { display: block; margin-bottom: 4px; font-family: var(--serif); font-size: 1.7rem; letter-spacing: -.02em; }
.portion-grid p { margin: 0; color: var(--ink-soft); }
.doc-note { margin: 18px 0 0; padding: 18px 20px; border-radius: 16px; background: var(--mint); }
.next-step { padding: 44px 34px; border-radius: 28px; background: var(--green-deep); color: #fff; text-align: center; }
.next-step .section-kicker { color: var(--lime); }
.next-step h2 { color: #fff; }
.next-step p { max-width: 640px; margin: 0 auto 14px; color: rgba(255,255,255,.82); }
.next-step a { color: var(--lime); font-weight: 800; }
.legal { color: var(--ink-soft); font-size: .8rem; }

@media (max-width: 900px) {
  .day-list { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body.page-doc { padding-bottom: 0; font-size: 17px; }
  .plate-result { grid-template-columns: 112px 1fr; gap: 10px; }
  .note-low { bottom: -22px; }
  .plate { width: 112px; height: 112px; }
  .card-icon { height: 80px; font-size: 4.4rem; }
  .doc-hero, .doc-section { width: calc(100% - 32px); }
  .doc-hero { padding: 46px 0 36px; }
  .doc-hero h1 { font-size: clamp(2.9rem, 14vw, 3.8rem); }
  .doc-section { padding: 46px 0; }
  .doc-section h2 { font-size: clamp(2.2rem, 11vw, 2.9rem); }
  .doc-intro { padding: 20px; }
  .rule-list li { grid-template-columns: 32px 1fr; padding: 16px; }
  .week summary { padding: 18px 54px 18px 18px; font-size: 1.4rem; }
  .week summary::after { right: 18px; }
  .day-list { padding: 0 10px 10px; gap: 10px; }
  .day-card { padding: 18px; }
  .portion-grid { grid-template-columns: 1fr; }
  .next-step { padding: 34px 20px; border-radius: 22px; }
}

/* ───────────── Quiz de la raíz ───────────── */
body.page-quiz { padding-bottom: 0; }
.quiz { width: min(720px, calc(100% - 40px)); margin: 0 auto; padding: 40px 0 70px; }
.quiz [hidden] { display: none !important; }
.quiz-tarjeta { margin: 0 0 18px; padding: clamp(24px, 5vw, 42px); border: 2px solid var(--ink); border-radius: 26px; background: var(--paper); box-shadow: 6px 6px 0 var(--ink); }
.quiz-intro { text-align: center; }
.quiz-intro .eyebrow { justify-content: center; }
.quiz-intro h1 { margin: 0 auto; font-size: clamp(2.5rem, 6vw, 3.9rem); line-height: 1.02; }
.quiz-intro .hero-lead { margin: 22px auto 28px; }
.quiz-intro .trust-list { justify-content: center; }
.quiz-cta { width: 100%; font-family: var(--sans); font-size: 1.05rem; cursor: pointer; }
.quiz-saltar { margin: 26px 0 0; font-size: .82rem; }
.quiz-saltar a { color: var(--ink-soft); font-weight: 700; }

.quiz-progreso { display: grid; gap: 8px; margin-bottom: 26px; color: var(--ink-soft); font-size: .8rem; font-weight: 800; }
.quiz-pista { height: 10px; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 99px; background: var(--cream); }
.quiz-pista i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .35s ease; }
.quiz-titulo { font-size: clamp(1.75rem, 4.2vw, 2.4rem); line-height: 1.1; letter-spacing: -.03em; outline: none; }
.quiz-ayuda { margin: 12px 0 0; color: var(--ink-soft); font-size: .95rem; }
.quiz-opciones { display: grid; gap: 12px; margin-top: 24px; }
.quiz-dos { grid-template-columns: 1fr 1fr; }
.quiz-escala { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.quiz-opcion { min-height: 62px; padding: 14px 18px; border: 2px solid var(--ink); border-radius: 16px; background: var(--cream); box-shadow: 3px 3px 0 var(--ink); color: var(--ink); font: 700 1.02rem/1.35 var(--sans); text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.quiz-escala .quiz-opcion, .quiz-dos .quiz-opcion { text-align: center; }
.quiz-escala .quiz-opcion { padding: 10px 4px; font-size: 1.2rem; font-weight: 800; }
.quiz-opcion:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink); background: #fff; }
.quiz-opcion:active { transform: translate(1px, 1px); box-shadow: 1px 1px 0 var(--ink); }
.quiz-opcion:focus-visible, .quiz-atras:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
.quiz-opcion.elegida { background: var(--lime); }
.quiz-atras { margin-top: 22px; padding: 8px 4px; border: 0; background: none; color: var(--ink-soft); font: 700 .9rem var(--sans); cursor: pointer; }
.quiz-atras:hover { color: var(--ink); text-decoration: underline; }

.quiz-cargando { text-align: center; }
.quiz-giro { width: 64px; height: 64px; margin: 0 auto 22px; border: 5px solid var(--cream); border-top-color: var(--green); border-right-color: var(--lime); border-radius: 50%; animation: quiz-giro 1s linear infinite; }
@keyframes quiz-giro { to { transform: rotate(360deg); } }
.quiz-cargando ul { display: grid; gap: 10px; width: fit-content; margin: 24px auto 0; padding: 0; list-style: none; text-align: left; font-weight: 700; }
.quiz-cargando li { color: var(--ink-soft); opacity: .45; transition: opacity .3s ease; }
.quiz-cargando li::before { content: "○ "; }
.quiz-cargando li.lista { color: var(--green-deep); opacity: 1; }
.quiz-cargando li.lista::before { content: "✓ "; }

.res-puntaje { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; }
.res-circulo { display: grid; place-content: center; width: 112px; height: 112px; border: 5px solid var(--red); border-radius: 50%; background: var(--cream); text-align: center; }
.res-circulo strong { font-family: var(--serif); font-size: 2.9rem; line-height: 1; }
.res-circulo span { color: var(--ink-soft); font-size: .72rem; font-weight: 800; }
.res-nivel { display: inline-block; padding: 5px 12px; border-radius: 99px; color: #fff; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.res-puntaje p { margin: 8px 0 0; color: var(--ink-soft); font-size: .95rem; }
.res-categorias { display: grid; gap: 16px; margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; }
.cat-linea { display: flex; justify-content: space-between; gap: 10px; font-size: .95rem; }
.cat-linea span { font-weight: 800; }
.cat-pista { height: 12px; margin: 6px 0 4px; overflow: hidden; border-radius: 99px; background: var(--cream); }
.cat-pista i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.res-categorias small { color: var(--ink-soft); font-size: .78rem; font-weight: 700; }
.res-categorias .es-error .cat-pista i { background: var(--red); }
.res-categorias .es-error small { color: #b4433e; }
.res-error h2 { margin: 0 0 16px; font-size: clamp(2.2rem, 6vw, 3.2rem); outline: none; }
.res-error h3 { margin: 22px 0 6px; font-size: 1.1rem; }
.res-error p { margin: 0; }
.res-cambio { margin-top: 22px; padding: 18px 20px; border: 2px solid var(--ink); border-radius: 18px; background: var(--lime); }
.res-cambio h3 { margin-top: 0; }
.res-compromiso { margin-top: 18px !important; color: var(--ink-soft); font-size: .92rem; font-weight: 700; }
.res-final { text-align: center; }
.res-final h2 { margin: 0 0 14px; font-size: clamp(2rem, 5.5vw, 2.9rem); }
.res-final > p:not(.section-kicker):not(.button-note):not(.group-privacy) { margin: 0 0 14px; color: var(--ink-soft); }
.res-final .res-menu { color: var(--ink) !important; font-weight: 800; }
.res-final .res-familiar { color: var(--green-deep) !important; font-weight: 700; }
.res-final .quiz-cta { margin-top: 10px; }
.quiz-resultado .alert-box { margin-bottom: 18px; }
.quiz-aviso { margin-top: 8px; border-top: 0; color: var(--ink-soft); text-align: center; }

@media (max-width: 600px) {
  .quiz { width: calc(100% - 28px); padding: 24px 0 48px; }
  .quiz-tarjeta { border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); }
  .quiz-intro .trust-list { display: flex; width: auto; margin-top: 22px; text-align: center; }
  .quiz-opcion { font-size: .98rem; }
  .res-puntaje { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-giro { animation: none; }
}

/* Imágenes del quiz (compartido/ilustraciones.js) */
.quiz-opcion.con-imagen { display: grid; grid-template-columns: 60px 1fr; align-items: center; gap: 14px; padding: 10px 16px 10px 10px; }
.op-img { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 12px; background: var(--paper); }
.op-img svg { width: 54px; height: 54px; }
.quiz-dos .quiz-opcion.con-imagen { grid-template-columns: 1fr; justify-items: center; gap: 6px; padding: 12px 8px; }
.quiz-dos .op-img { width: 84px; height: 84px; }
.quiz-dos .op-img svg { width: 78px; height: 78px; }
.quiz-opcion.elegida .op-img { background: #f4fbe2; }
.quiz-dato .dato-figura { margin: 6px 0 18px; padding: 14px 10px 6px; border-radius: 18px; background: var(--cream); }
.quiz-dato .dato-figura svg { display: block; width: 100%; height: auto; }
.dato-cuerpo { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.dato-organo svg { width: 96px; height: 96px; }
.quiz-dato .quiz-titulo { font-size: clamp(1.5rem, 3.6vw, 2rem); }
.quiz-dato p:not(.section-kicker) { margin: 10px 0 0; color: var(--ink-soft); }
.quiz-dato .quiz-cta { margin-top: 22px; }

@media (max-width: 600px) {
  .dato-cuerpo { grid-template-columns: 72px 1fr; gap: 12px; }
  .dato-organo svg { width: 72px; height: 72px; }
}

/* Look 3D (img/quiz/, mismo estilo que los videos de TikTok) y patrones Spartan/Liven */
.intro-imagen { display: block; width: 100%; height: auto; margin: 22px 0 0; border-radius: 20px; background: #cfe6f2; }
.quiz-intro .hero-lead { margin: 20px auto 6px; }
.intro-pregunta { margin: 0; font-size: clamp(1.5rem, 4vw, 2rem); }
.intro-opciones { text-align: left; }
.quiz-dato .dato-figura.con-foto { padding: 0; overflow: hidden; background: #cfe6f2; }
.dato-figura.con-foto img { display: block; width: 100%; height: auto; }
.dato-pie { margin: 0 !important; padding: 10px 12px; background: var(--cream); color: var(--ink) !important; font-size: .85rem; font-weight: 800; text-align: center; }
.dato-cuerpo.sin-organo { grid-template-columns: 1fr; }
.quiz-cargando li { display: flex; gap: 8px; min-width: 240px; }
.quiz-cargando .pct { margin-left: auto; padding-left: 20px; font-variant-numeric: tabular-nums; font-weight: 800; }
.res-imagen img { display: block; width: 100%; height: auto; margin: 6px 0 18px; border-radius: 18px; background: #cfe6f2; }
.res-perfil { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 24px; }
.res-perfil div { padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--cream); }
.res-perfil dt { color: var(--ink-soft); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.res-perfil dd { margin: 4px 0 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 800; line-height: 1.15; }
