/* ==========================================================================
   AVG21 · Avidel Villarreal · Diagnóstico de Madurez Estratégica de Campaña
   Identidad oficial: Fondo blanco, tipografía y acentos en azul AVG21
   (#305cd8). Sin dorado. Firma visual: logo AVG21 y la escalera.
   ========================================================================== */

:root {
  /* Fondos (Fondo blanco limpio y superficies azul #305cd8 muy sutiles) */
  --ink-0: #f3f6fd;
  --ink-1: #ffffff;
  --ink-2: #f6f8fe;
  --ink-3: #eaf0fc;

  /* Texto en azul #305cd8 y matices armónicos de lectura */
  --text:   #305cd8;
  --text-2: #3b58a8;
  --text-3: #6379b8;

  /* Acento institucional (#305cd8, cero dorado) */
  --brand:    #305cd8;
  --brand-2:  #2449b5;
  --brand-3:  #4c74e3;
  --on-brand: #ffffff;

  --line: rgba(48, 92, 216, 0.15);
  --line-strong: rgba(48, 92, 216, 0.30);
  --fill: #f6f8fe;
  --fill-hover: #ecf1fc;
  --error: #c83228;

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Inter", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --spring: linear(0, 0.18 5%, 0.55 12%, 0.86 20%, 1.04 29%, 1.05 35%, 1.01 46%, 0.998 60%, 1);

  --radius: 18px;
  --radius-lg: 28px;
  --pad: clamp(20px, 5vw, 40px);
}

@supports not (transition-timing-function: linear(0, 1)) {
  :root { --spring: cubic-bezier(0.34, 1.4, 0.64, 1); }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font);
  font-optical-sizing: auto;
  font-size: 1.0625rem;
  line-height: 1.5;
  letter-spacing: -0.011em;
  color: var(--text);
  background-color: var(--ink-1);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(110% 55% at 50% -10%, rgba(48, 92, 216, 0.06), transparent 60%);
}

[hidden] { display: none !important; }

button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; background: none; border: 0; -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
em { font-style: italic; }

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

/* ---------- Barra superior (material translúcido blanco) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: 1080px;
  margin: 0 auto;
  height: 60px;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.wordmark__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.wordmark__mark {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--brand);
}
.wordmark__name {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 500;
}
.nav__book {
  color: var(--text-3);
  font-size: 0.85rem;
  font-style: italic;
}

/* ---------- Estructura ---------- */
#app { flex: 1; width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.screen { padding: clamp(36px, 7vh, 76px) 0 64px; }

.site-foot {
  border-top: 1px solid var(--line);
  padding: 22px var(--pad);
  text-align: center;
  color: var(--text-3);
  font-size: 0.8rem;
}

/* ---------- Identidad / Logos en portada y reporte ---------- */
.intro__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.intro__logo {
  height: 78px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.intro__brand .eyebrow {
  margin-bottom: 0;
}

.result__brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 12px;
}
.result__logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  flex-shrink: 0;
}
.result__brand .eyebrow {
  margin-bottom: 0;
}

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 18px;
}
.display {
  font-size: clamp(2.15rem, 5.2vw, 3.7rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.036em;
  color: var(--brand);
  text-wrap: balance;
}
.display--lg { font-size: clamp(2.2rem, 5.4vw, 3.5rem); }
.display--md { font-size: clamp(1.85rem, 4.4vw, 2.75rem); letter-spacing: -0.033em; line-height: 1.08; }
.lead {
  margin-top: 20px;
  font-size: clamp(1.08rem, 1.9vw, 1.25rem);
  line-height: 1.48;
  color: var(--text-2);
  max-width: 48ch;
  letter-spacing: -0.014em;
  text-wrap: pretty;
}
.lead--sm { font-size: 1.0625rem; max-width: 56ch; }
.meta { font-size: 0.85rem; color: var(--text-3); line-height: 1.45; }
.meta--center { text-align: center; margin-top: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1.03rem;
  text-decoration: none;
  transition: transform 120ms ease-out, background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--brand);
  color: var(--on-brand);
  box-shadow: 0 8px 22px -6px rgba(48, 92, 216, 0.35);
}
.btn--primary:hover {
  background: var(--brand-2);
}
.btn--ghost {
  border: 1.5px solid var(--line-strong);
  color: var(--brand);
  background: #ffffff;
}
.btn--ghost:hover {
  background: var(--fill-hover);
  border-color: var(--brand);
}
.btn--block { width: 100%; }

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 8px 4px;
  transition: color 160ms ease, opacity 160ms ease;
}
.link-btn:hover { color: var(--brand); }
.link-btn:disabled { opacity: 0; pointer-events: none; }

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: min(620px, 70dvh);
}
.intro__reflection {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 3px solid var(--brand);
  background: var(--fill);
  border-radius: 0 14px 14px 0;
  max-width: 52ch;
  color: var(--brand);
  font-weight: 500;
}
.intro__reflection-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 6px;
}
.intro__reflection p {
  font-size: 0.98rem;
  color: var(--brand);
  line-height: 1.45;
}
.intro__actions { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.intro__btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.intro__visual { display: flex; flex-direction: column; gap: 24px; }

.intro__principles {
  padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--fill);
}
.intro__principles-title,
.principles__title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 12px;
}
.intro__principles-list,
.principles__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.42;
}
.intro__principles-list strong,
.principles__list strong { color: var(--brand); font-weight: 650; }

.source { font-size: 0.8125rem; color: var(--text-3); max-width: 44ch; line-height: 1.45; }

/* ---------- La escalera (firma en azul #305cd8 AVG21) ---------- */
.stairs {
  --h-1: 38%;
  --h-2: 66%;
  --h-3: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 250px;
  padding-bottom: 42px;
}
.stairs--result { height: 220px; margin: 14px 0 32px; max-width: 560px; }

.step {
  position: relative;
  flex: 1;
  height: var(--h);
  min-width: 0;
}
.step:nth-child(1) { --h: var(--h-1); }
.step:nth-child(2) { --h: var(--h-2); }
.step:nth-child(3) { --h: var(--h-3); }

.step__block {
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--line-strong);
  border-radius: 14px 14px 4px 4px;
  background: linear-gradient(to bottom, #eef3fe, #f9fbff);
  transition: border-color 300ms ease, background-color 300ms ease;
}
.step__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -36px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-3);
  transition: color 300ms ease;
}
.step__dot {
  position: absolute;
  left: 50%;
  top: -30px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 7px rgba(48, 92, 216, 0.16);
  opacity: 0;
  transform: translateY(8px) scale(0.3);
  transition: opacity 180ms ease, transform 700ms var(--spring);
}
.step.is-here .step__dot { opacity: 1; transform: none; }
.step.is-here .step__block {
  border-color: var(--brand);
  background: linear-gradient(to bottom, rgba(48, 92, 216, 0.20), rgba(48, 92, 216, 0.05));
}
.step.is-here .step__label { color: var(--brand); font-weight: 700; }

/* entrada única de la escalera */
.stairs.is-entering .step { animation: rise 700ms var(--ease-out) both; }
.stairs.is-entering .step:nth-child(2) { animation-delay: 90ms; }
.stairs.is-entering .step:nth-child(3) { animation-delay: 180ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Paso Previo: Contexto ---------- */
.context-card { max-width: 760px; margin: 0 auto; }
.context-form { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.context-group { border: 0; padding: 0; margin: 0; }
.context-group__legend,
.context-label {
  display: block;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--brand);
  margin-bottom: 14px;
}
.optional { color: var(--text-3); font-weight: 400; font-size: 0.88rem; margin-left: 6px; }

.pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.pill-grid--stages {
  grid-template-columns: repeat(3, 1fr);
}
.pill-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--fill);
  transition: transform 120ms ease-out, background-color 180ms ease, border-color 180ms ease;
}
.pill-btn:hover { background: var(--fill-hover); border-color: var(--line-strong); }
.pill-btn:active { transform: scale(0.985); }
.pill-btn[aria-checked="true"] {
  border-color: var(--brand);
  background: rgba(48, 92, 216, 0.08);
}
.pill-btn__title {
  font-weight: 650;
  font-size: 0.98rem;
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.pill-btn[aria-checked="true"] .pill-btn__title { color: var(--brand); }
.pill-btn__desc {
  font-size: 0.83rem;
  color: var(--text-2);
  line-height: 1.38;
}

.race-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.chip {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--fill);
  font-size: 0.875rem;
  color: var(--text-2);
  transition: transform 120ms ease-out, border-color 160ms ease, background-color 160ms ease, color 160ms ease;
}
.chip:hover { border-color: var(--line-strong); color: var(--brand); }
.chip:active { transform: scale(0.97); }
.chip.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: var(--on-brand);
  font-weight: 600;
}

.context-actions { margin-top: 6px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

/* ---------- Cuestionario ---------- */
.quiz { max-width: 760px; margin: 0 auto; }
.quiz__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; min-height: 40px; }
.quiz__meta-right { display: flex; align-items: center; gap: 12px; }
.quiz__badge {
  font-size: 0.75rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: 999px;
  border: 1px solid rgba(48, 92, 216, 0.28);
  background: rgba(48, 92, 216, 0.08);
  color: var(--brand);
}
.quiz__badge--verify {
  border-color: rgba(48, 92, 216, 0.36);
  background: rgba(48, 92, 216, 0.14);
  color: var(--brand-2);
}
.quiz__count { font-size: 0.9rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.quiz__count span:first-child { color: var(--brand); font-weight: 700; }

.quiz__area-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.quiz__area-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brand);
}
.quiz__process-tag {
  font-size: 0.8rem;
  color: var(--text-3);
}

.progress { display: flex; gap: 5px; margin-bottom: clamp(28px, 6vh, 48px); }
.progress__seg { flex: 1; height: 4px; border-radius: 4px; background: var(--line); position: relative; overflow: hidden; }
.progress__seg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 420ms var(--ease-out);
}
.progress__seg.is-done::after { transform: scaleX(1); }

.question {
  font-size: clamp(1.45rem, 3.6vw, 2.15rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.028em;
  color: var(--brand);
  text-wrap: balance;
  margin-bottom: 12px;
  outline: none;
}
.question__context {
  font-size: 0.95rem;
  color: var(--text-2);
  margin-bottom: 24px;
  line-height: 1.45;
  max-width: 64ch;
}

.options { display: flex; flex-direction: column; gap: 12px; }
.option {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  text-align: left;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--fill);
  color: var(--text-2);
  font-size: 1.03rem;
  line-height: 1.45;
  letter-spacing: -0.012em;
  transition: transform 120ms ease-out, background-color 180ms ease, border-color 180ms ease;
}
.option:hover { background: var(--fill-hover); border-color: var(--line-strong); color: var(--brand); }
.option:active { transform: scale(0.985); }
.option__ring {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #ffffff;
  display: grid;
  place-items: center;
  transition: border-color 180ms ease, background-color 180ms ease;
}
.option__ring::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--on-brand);
  transform: scale(0);
  transition: transform 360ms var(--spring);
}
.option[aria-checked="true"] {
  border-color: var(--brand);
  background: rgba(48, 92, 216, 0.08);
  color: var(--brand);
  font-weight: 500;
}
.option[aria-checked="true"] .option__ring {
  border-color: var(--brand);
  background: var(--brand);
}
.option[aria-checked="true"] .option__ring::after { transform: scale(1); }

/* Opciones auxiliares ("Lo lleva otra área" / "No aplica en esta etapa") */
.options__aux-divider {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
  font-size: 0.78rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.options__aux-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.option--aux {
  padding: 13px 16px;
  font-size: 0.88rem;
  color: var(--text-2);
  background: #ffffff;
}
.option--aux .option__ring {
  width: 18px;
  height: 18px;
}

/* ---------- Resultado ---------- */
.result { max-width: 820px; margin: 0 auto; }
.result__hero { padding-bottom: 8px; }
.result__context-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.context-pill {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--fill);
  color: var(--text-2);
}
.context-pill strong { color: var(--brand); font-weight: 700; }

.stage-tag {
  font-size: 0.9rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-variant-numeric: tabular-nums;
}
.identity {
  margin-top: 18px;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.42;
  letter-spacing: -0.018em;
  color: var(--text-2);
  max-width: 58ch;
  text-wrap: pretty;
}

.disclaimer-box {
  margin-top: 22px;
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--fill);
  font-size: 0.86rem;
  color: var(--text-2);
  line-height: 1.45;
}
.disclaimer-box strong { color: var(--brand); }

.block {
  padding: clamp(32px, 5vw, 52px) 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(24px, 4vw, 42px);
}
.block__title {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.028em;
  color: var(--brand);
  margin-bottom: 12px;
}
.prose { font-size: 1.05rem; line-height: 1.55; color: var(--text-2); max-width: 66ch; text-wrap: pretty; }
.prose--sub,
.block__sub { margin-bottom: 22px; font-size: 0.96rem; color: var(--text-2); line-height: 1.5; }
.block--split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 52px); }

/* Dictamen Constructivo Grid */
.dictamen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.dictamen-card {
  padding: 20px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--fill);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dictamen-card--accent,
.dictamen-card--highlight {
  border-color: var(--brand);
  background: var(--ink-3);
}
.dictamen-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
}
.dictamen-card__text {
  font-size: 0.95rem;
  color: var(--text-2);
  line-height: 1.48;
}

/* Perfil por las 5 áreas */
.pillars { display: flex; flex-direction: column; gap: 18px; }
.pillar {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--fill);
}
.pillar__row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 6px; flex-wrap: wrap; }
.pillar__name { font-weight: 700; font-size: 1.02rem; color: var(--brand); }
.pillar__state {
  font-size: 0.82rem;
  font-weight: 650;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(48, 92, 216, 0.26);
  color: var(--brand);
  background: rgba(48, 92, 216, 0.08);
}
.pillar__processes {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-bottom: 10px;
}
.pillar__track { height: 6px; border-radius: 4px; background: var(--line); overflow: hidden; margin-bottom: 10px; }
.pillar__fill {
  height: 100%;
  width: 100%;
  border-radius: 4px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease-out);
}
.pillar__note {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.42;
}

/* Oportunidades de mejora (Módulo 6) */
.opportunities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.opp-card {
  padding: 18px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--fill);
}
.opp-card.is-detected {
  border-color: var(--brand);
  background: var(--ink-3);
}
.opp-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.opp-card__title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--brand);
}
.opp-card__badge {
  font-size: 0.72rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  color: var(--text-3);
  border: 1px solid var(--line);
}
.opp-card.is-detected .opp-card__badge {
  color: var(--on-brand);
  border-color: var(--brand);
  background: var(--brand);
}
.opp-card__desc {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.42;
}

.self-eval-box {
  padding: 22px 24px;
  border-radius: var(--radius);
  border-left: 3px solid var(--brand);
  background: var(--fill);
}
.self-eval-box__label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin-bottom: 8px;
}
.self-eval-box__quote {
  font-size: 1.12rem;
  font-weight: 650;
  color: var(--brand);
  line-height: 1.38;
  margin-bottom: 8px;
}
.self-eval-box__note {
  font-size: 0.88rem;
  color: var(--text-2);
}

.list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.list li { position: relative; padding-left: 20px; color: var(--text-2); line-height: 1.45; font-size: 0.96rem; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.66em; width: 8px; height: 2px; background: var(--brand); }
.list--warn li::before { background: var(--text-3); }

.advice {
  margin-top: clamp(28px, 5vw, 48px);
  padding: clamp(28px, 5vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--fill);
  border: 1.5px solid var(--line-strong);
}
.advice__label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.advice__quote {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--brand);
  text-wrap: balance;
}
.advice__body {
  margin-top: 18px;
  font-size: 0.98rem;
  color: var(--text-2);
  max-width: 62ch;
  text-wrap: pretty;
  line-height: 1.5;
}

.route { list-style: none; counter-reset: step; display: flex; flex-direction: column; }
.route li { counter-increment: step; display: grid; grid-template-columns: 40px 1fr; gap: 6px 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.route li:first-child { border-top: 0; padding-top: 4px; }
.route li::before {
  content: counter(step);
  font-weight: 750;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  font-size: 1.25rem;
  line-height: 1.3;
}
.route__title { font-weight: 700; font-size: 1.06rem; letter-spacing: -0.015em; color: var(--brand); }
.route__text { grid-column: 2; color: var(--text-2); font-size: 0.95rem; line-height: 1.48; }

/* Consulta Voluntaria WhatsApp (Módulo 8.3) */
.cta {
  margin-top: clamp(32px, 6vw, 56px);
  padding: clamp(28px, 5vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--fill);
  border: 1.5px solid var(--line-strong);
}
.cta__title {
  font-size: clamp(1.5rem, 3.6vw, 2.15rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.12;
  color: var(--brand);
}
.cta__text { margin-top: 12px; max-width: 60ch; color: var(--text-2); font-size: 1rem; line-height: 1.5; }
.cta__actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

.result__foot { display: flex; justify-content: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }

/* ---------- Cambio de pantalla ---------- */
.screen.is-in { animation: screen-in 480ms var(--ease-out) both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .intro { grid-template-columns: 1fr; min-height: 0; }
  .intro__visual { order: -1; }
  .stairs { height: 200px; }
  .nav__book { display: none; }
  .dictamen-grid { grid-template-columns: 1fr; }
  .pill-grid--stages { grid-template-columns: 1fr; }
  .opportunities-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .block--split { grid-template-columns: 1fr; }
  .options__aux-row { grid-template-columns: 1fr; }
  .option { padding: 16px; font-size: 1rem; }
  .cta__actions .btn { width: 100%; }
  .btn--block, .intro__actions .btn { width: 100%; }
  .intro__actions { align-items: stretch; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}

/* ---------- Impresión ---------- */
@media print {
  body { background: #fff; color: #305cd8; }
  .nav, .site-foot, .result__foot, .cta, #screenIntro, #screenContext, #screenQuiz { display: none !important; }
  .screen { padding: 0; }
  .pillar__fill { transform: scaleX(1) !important; }
}
