:root {
  color-scheme: light;
  --paper: #faf8f4;
  --paper-alt: #f4f4ef;
  --card: #fffefa;
  --ink: #2f3430;
  --leaf: #405a4c;
  --leaf-dark: #2f483b;
  --sage: #e8eee7;
  --sage-soft: #f0f3ef;
  --muted: #657067;
  --line: #dce1d9;
  --clay: #a57664;
  --shadow: 0 20px 58px rgba(52, 65, 54, .055);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Source Sans 3', sans-serif; font-size: 17px; color: var(--ink); background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }
a { color: var(--leaf-dark); text-underline-offset: 3px; }
a:hover { color: #1b3429; }
:focus-visible { outline: 3px solid #a4ad9a; outline-offset: 3px; }
.page-shell { max-width: 1024px; padding: 24px 36px 20px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; width: 132px; min-height: 88px; align-items: center; }
.brand img { display: block; width: 130px; height: auto; }
.site-meta { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; text-align: right; }
.site-meta span { font-size: 12px; font-weight: 700; letter-spacing: .095em; color: var(--leaf); }
.site-meta a { font-size: 14px; color: var(--muted); text-decoration: none; }
main { flex: 1; }
.orientador { max-width: 760px; margin: 54px auto 64px; }
.eyebrow { margin: 0 0 17px; color: var(--leaf); font-size: 12px; letter-spacing: .14em; font-weight: 700; }
h1, h2, h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 500; margin: 0; line-height: 1.04; letter-spacing: -.023em; }
h1 { font-size: clamp(48px, 7vw, 79px); max-width: 750px; }
h2 { font-size: clamp(42px, 6vw, 62px); }
h3 { font-size: 34px; }
.lead { font-size: 21px; color: var(--ink); max-width: 670px; line-height: 1.5; margin: 24px 0 0; }
.supporting { font-size: 16px; line-height: 1.65; color: var(--muted); max-width: 660px; margin: 16px 0 0; }
.intro-note { margin-top: 28px; padding: 20px 22px; background: var(--sage-soft); border-radius: 12px; border: 1px solid var(--line); color: var(--muted); font-size: 15px; line-height: 1.55; }
.primary-button, .secondary-button, .text-button { min-height: 48px; border-radius: 7px; font-size: 16px; font-weight: 600; }
.primary-button { background: var(--leaf); border: 1px solid var(--leaf); color: white; padding: 11px 24px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; transition: background .15s ease; }
.primary-button:hover { background: var(--leaf-dark); color: white; }
.secondary-button { background: transparent; border: 1px solid #9eada0; color: var(--leaf-dark); padding: 10px 21px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; text-decoration: none; }
.secondary-button:hover { background: var(--sage-soft); }
.text-button { border: 0; color: var(--muted); padding: 9px 10px; background: none; text-decoration: underline; text-underline-offset: 4px; }
.text-button:hover { color: var(--leaf-dark); }
.action-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.wizard-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 26px; }
.progress-label { color: var(--muted); font-size: 13px; font-weight: 600; }
.progress-line { height: 3px; background: var(--line); border-radius: 2px; margin-top: 8px; width: 150px; }
.progress-line div { background: var(--leaf); height: 3px; border-radius: 2px; transition: width .25s ease; }
.question-copy { color: var(--muted); margin: 18px 0 28px; font-size: 17px; line-height: 1.55; }
.option-group { display: grid; gap: 11px; }
.choice { display: flex; align-items: center; gap: 16px; text-align: left; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; width: 100%; min-height: 68px; line-height: 1.45; box-shadow: 0 2px 10px rgba(35, 50, 37, .017); transition: border-color .17s ease, background .17s ease, transform .17s ease; }
.choice:hover { background: var(--sage-soft); border-color: #9cafa0; transform: translateY(-1px); }
.choice .choice-index { width: 27px; height: 27px; flex: 0 0 27px; color: var(--leaf); border: 1px solid #cbd4cb; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 13px; font-weight: 600; }
.choice .chevron { margin-left: auto; color: #89968c; font-size: 22px; }
.wizard-bottom { margin-top: 21px; }
.result-type { text-transform: uppercase; color: var(--leaf); font-size: 12px; letter-spacing: .13em; font-weight: 700; margin: 0 0 14px; }
.result-panel { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 32px; margin-top: 26px; box-shadow: var(--shadow); }
.result-panel p { margin: 0 0 15px; line-height: 1.64; }
.result-panel p:last-child { margin-bottom: 0; }
.result-panel .section-label { margin: 8px 0 13px; color: var(--leaf-dark); font-size: 16px; font-weight: 700; }
.quote-box { border-left: 3px solid var(--clay); padding: 7px 0 8px 20px; margin: 18px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; font-style: italic; font-weight: 500; line-height: 1.2; }
.resource-card { background: var(--sage-soft); border: 1px solid var(--line); border-radius: 12px; padding: 25px 28px; margin-top: 22px; }
.resource-card .resource-kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .105em; font-weight: 700; color: var(--leaf); }
.resource-card h3 { font-size: clamp(30px, 4vw, 39px); }
.resource-card p { color: var(--muted); line-height: 1.54; margin: 10px 0 22px; }
.resource-card .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.resource-card .tiny { margin: 12px 0 0; font-size: 13px; color: var(--muted); }
.service-panel { margin-top: 22px; padding: 24px 27px; border: 1px solid var(--line); border-radius: 12px; background: transparent; }
.service-panel strong { font-size: 17px; color: var(--leaf-dark); }
.service-panel p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 9px 0 20px; }
.service-panel .secondary-button { margin-right: 8px; }
.small-disclaimer { font-size: 14px; line-height: 1.6; margin-top: 22px; color: var(--muted); }
.emergency { font-size: 14px; line-height: 1.55; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer { border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; padding: 18px 0 8px; color: var(--muted); font-size: 13px; }
.site-footer p { margin: 0; }
.site-footer strong { color: var(--leaf-dark); }
.no-js { background: #fff4eb; padding: 16px; margin: 20px auto; max-width: 760px; }
.skip-link { position: absolute; top: -100px; left: 12px; background: white; padding: 10px; z-index: 20; }
.skip-link:focus { top: 10px; }
@media (max-width: 680px) {
  .page-shell { padding: 12px 20px 24px; }
  .brand { width: 102px; min-height: 74px; }
  .brand img { width: 99px; }
  .site-meta span { font-size: 10px; max-width: 180px; }
  .site-meta a { font-size: 12px; }
  .orientador { margin: 36px auto 48px; }
  h1 { font-size: clamp(48px, 11vw, 68px); }
  h2 { font-size: clamp(42px, 9vw, 56px); }
  .lead { font-size: 19px; }
  .choice { padding: 16px; }
  .result-panel, .resource-card, .service-panel { padding: 22px 20px; }
  .action-row, .resource-card .actions { align-items: stretch; flex-direction: column; }
  .action-row .primary-button, .action-row .secondary-button, .resource-card .actions .primary-button { width: 100%; }
  .site-footer { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Versión 3: acciones equivalentes para recurso y servicio */
.next-steps { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 23px; align-items: stretch; }
.next-steps-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.next-step-card { margin-top: 0; padding: 27px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; min-width: 0; }
.next-step-card.resource-card, .next-step-card.service-panel { margin-top: 0; background: var(--card); }
.next-step-kicker { margin: 0 0 13px !important; color: var(--leaf); font-size: 12px !important; font-weight: 700; letter-spacing: .11em; line-height: 1.4; }
.next-step-card h3 { font-family: 'Cormorant Garamond',Georgia,serif; font-size: clamp(29px, 3.7vw, 37px); font-weight: 500; color: var(--ink); line-height: 1.1; letter-spacing: -.02em; }
.next-step-card p:not(.next-step-kicker):not(.next-step-note) { color: var(--muted); font-size: 16px; line-height: 1.58; margin: 14px 0 20px; }
.next-step-actions { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 9px; }
.next-step-actions .primary-button { width: 100%; padding: 11px 14px; text-align: center; }
.text-link { min-height: 37px; display: inline-flex; align-items: center; justify-content: center; color: var(--leaf-dark); font-size: 15px; font-weight: 600; }
.next-step-note { margin: 12px 0 0 !important; font-size: 13px !important; line-height: 1.5; color: var(--muted); }
@media (max-width: 680px) {
  .next-steps-grid { grid-template-columns: 1fr; }
  .next-step-card { padding: 22px 20px; }
}
