/* =========================================================
   MARLENE TORRES × CRP® — Sistema visual del sitio
   Concepto: "La luz que aparece cuando observas".
   Dos atmósferas (Luz / Profundidad) unidas por la
   Línea Dorada de Observación, que recorre todo el sitio.
   Paleta y tipografías: Manual de Identidad Gráfica.
   ========================================================= */

/* Fuentes autoalojadas (OFL) */
@font-face{font-family:"Playfair Display";src:url("../fonts/playfair-display-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Playfair Display";src:url("../fonts/playfair-display-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap;}
@font-face{font-family:"Playfair Display";src:url("../fonts/playfair-display-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:"Playfair Display";src:url("../fonts/playfair-display-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Great Vibes";src:url("../fonts/great-vibes-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-500-normal.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Montserrat";src:url("../fonts/montserrat-latin-800-normal.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap;}

:root {
  /* Paleta oficial */
  --ivory: #FFF9F0;      /* Marfil luminoso */
  --pearl: #EDE8DE;      /* Gris perla */
  --sand: #F7EFE2;       /* Marfil cálido (derivado para capas) */
  --deep: #0B3A63;       /* Azul CRP profundo */
  --blue: #125CA5;       /* Azul institucional */
  --night: #071E35;      /* Azul noche */
  --gold: #E4A11B;       /* Dorado vibracional */
  --orange: #F28A1C;     /* Naranja energía — solo microacento */
  --aqua: #38C6D9;       /* Aqua expansión — solo microacento */

  /* Derivados funcionales (contraste AA sobre marfil) */
  --ink: #0B3A63;
  --ink-soft: #3B5673;
  --gold-ink: #8A5D06;   /* dorado legible para texto pequeño sobre marfil */
  --line: rgba(11, 58, 99, .14);
  --on-deep: #F6EFE3;
  --on-deep-soft: #BFCBDA;
  --line-deep: rgba(246, 239, 227, .16);

  /* Tipografía */
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --f-sans: "Montserrat", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --f-script: "Great Vibes", "Brush Script MT", "Segoe Script", cursive;

  /* Escala */
  --t-xs: .78rem;
  --t-sm: .9rem;
  --t-md: 1.0625rem;
  --t-lg: clamp(1.15rem, 1.05rem + .45vw, 1.4rem);
  --t-xl: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem);
  --t-2xl: clamp(1.875rem, 1.35rem + 2.3vw, 3.25rem);
  --t-3xl: clamp(2.35rem, 1.45rem + 4vw, 5rem);

  /* Ritmo */
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  --section: clamp(72px, 9vw, 150px);
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;

  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--t-md);
  line-height: 1.72;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
p { margin: 0 0 1em; }
figure, blockquote { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; text-wrap: balance; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}
.depth :focus-visible { outline-color: var(--gold); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--night); color: var(--on-deep);
  padding: 10px 18px; border-radius: var(--radius-pill);
  font-weight: 600; font-size: var(--t-sm); text-decoration: none;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Tipografía ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-sans); font-weight: 600; font-size: var(--t-xs);
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .8; }
.depth .eyebrow { color: var(--gold); }

.display {
  font-family: var(--f-serif); font-weight: 700; text-transform: uppercase;
  font-size: var(--t-3xl); line-height: .98; letter-spacing: -.012em; font-variant-numeric: lining-nums;
}
.display--md { font-size: var(--t-2xl); line-height: 1.02; }
.display--sm { font-size: var(--t-xl); line-height: 1.1; }
.statement {
  font-family: var(--f-serif); font-weight: 400;
  font-size: var(--t-2xl); line-height: 1.12; letter-spacing: -.01em;
}
.statement em { font-style: italic; }
.impact {
  font-family: var(--f-sans); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.08;
}
.subline {
  font-family: var(--f-sans); font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; font-size: var(--t-lg); line-height: 1.3;
}
.lead { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-soft); max-width: 36em; }
.depth .lead { color: var(--on-deep-soft); }
.small { font-size: var(--t-sm); }
.muted { color: var(--ink-soft); }
.depth .muted { color: var(--on-deep-soft); }
.measure { max-width: 38em; }

.script {
  font-family: var(--f-script); font-weight: 400; text-transform: none;
  color: var(--gold); letter-spacing: 0; line-height: .9;
  display: inline-block;
}
/* Palabra emocional con trazo dorado (firma del carrusel) */
.scriptword { position: relative; display: inline-block; padding-bottom: .18em; }
.scriptword .script { font-size: 1em; }
.scriptword svg { position: absolute; left: 4%; bottom: .14em; width: 96%; height: .32em; overflow: visible; }
.scriptword path { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; }

/* ---------- Línea dorada de observación ---------- */
.gl { display: block; height: 1px; background: var(--gold); width: 100%; transform-origin: left center; }
.gl--short { width: 96px; }
.gl--mid { width: min(360px, 70%); }
.gl--v { width: 1px; height: 100%; transform-origin: center top; }

/* Hilo narrativo fijo (desktop) */
.thread {
  position: fixed; left: max(18px, calc((100vw - var(--maxw)) / 2 - 64px)); top: 0; bottom: 0;
  width: 26px; z-index: 40; pointer-events: none; display: none;
}
.thread__track { position: absolute; left: 12px; top: calc(var(--header-h) + 40px); bottom: 64px; width: 1px; background: var(--line); }
.thread__fill { position: absolute; inset: 0 0 auto 0; height: 100%; background: var(--gold); transform-origin: top; transform: scaleY(var(--progress, 0)); }
.thread__dot {
  position: absolute; left: -4px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--ivory); border: 1px solid var(--gold);
  top: calc(var(--progress, 0) * 100% - 4px);
}
.thread__label {
  position: absolute; left: 20px; top: calc(var(--header-h) + 56px);
  writing-mode: vertical-rl;
  font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-ink); white-space: nowrap;
  transition: opacity .5s var(--ease);
}
.thread.on-deep .thread__track { background: var(--line-deep); }
.thread.on-deep .thread__label { color: var(--gold); }
.thread.on-deep .thread__dot { background: var(--night); }
@media (min-width: 1360px) { .thread { display: block; } }

/* ---------- Botones ---------- */
.btn {
  --b-bg: var(--deep); --b-fg: var(--ivory); --b-bd: var(--deep);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px;
  border-radius: var(--radius-pill); border: 1px solid var(--b-bd);
  background: var(--b-bg); color: var(--b-fg);
  font-family: var(--f-sans); font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.btn:hover { --b-bg: var(--night); --b-bd: var(--night); }
.btn__arrow { width: 22px; height: 10px; flex: none; transition: transform .5s var(--ease); }
.btn:hover .btn__arrow, .textlink:hover .btn__arrow { transform: translateX(4px); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--deep); --b-bd: var(--gold); }
.btn--ghost:hover { --b-bg: var(--gold); --b-fg: var(--night); --b-bd: var(--gold); }
.btn--gold { --b-bg: var(--gold); --b-fg: var(--night); --b-bd: var(--gold); }
.btn--gold:hover { --b-bg: #F0B33A; --b-bd: #F0B33A; --b-fg: var(--night); }
.depth .btn { --b-bg: var(--ivory); --b-fg: var(--night); --b-bd: var(--ivory); }
.depth .btn:hover { --b-bg: var(--gold); --b-bd: var(--gold); }
.depth .btn--ghost { --b-bg: transparent; --b-fg: var(--on-deep); --b-bd: var(--gold); }
.depth .btn--ghost:hover { --b-bg: var(--gold); --b-fg: var(--night); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }

.textlink {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: .95rem; color: var(--deep); text-decoration: none;
  padding-block: 6px; border-bottom: 1px solid var(--gold);
  transition: gap .4s var(--ease);
}
.textlink:hover { gap: 16px; }
.depth .textlink { color: var(--on-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 60;
  background: rgba(255, 249, 240, .82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 249, 240, .92); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); transition: height .45s var(--ease);
}
.site-header.is-scrolled .site-header__inner { height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--deep); flex: none; }
.brand img { width: auto; height: 46px; transition: height .45s var(--ease); }
.site-header.is-scrolled .brand img { height: 36px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--f-serif); font-weight: 600; font-size: 1.08rem; letter-spacing: .08em; text-transform: uppercase; }
.brand__crp { font-size: .7rem; font-weight: 600; letter-spacing: .26em; color: var(--gold-ink); text-transform: uppercase; margin-top: 3px; }

.nav { display: none; }
.nav ul { list-style: none; display: flex; align-items: center; gap: clamp(12px, 1.3vw, 24px); }
.nav a {
  position: relative; text-decoration: none; font-size: .82rem; font-weight: 500; letter-spacing: .02em;
  color: var(--ink); padding-block: 8px; white-space: nowrap;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--deep); font-weight: 600; }
.nav .btn { min-height: 40px; padding: 8px 20px; font-size: .82rem; }
@media (min-width: 1240px) { .nav { display: block; } .menu-toggle { display: none !important; } }

.menu-toggle {
  display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; cursor: pointer;
  min-height: 44px; padding: 8px 4px; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--deep);
}
.menu-toggle__bars { position: relative; width: 26px; height: 10px; }
.menu-toggle__bars::before, .menu-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease);
}
.menu-toggle__bars::before { top: 0; }
.menu-toggle__bars::after { top: 8px; right: 8px; background: var(--gold); }

/* Menú móvil a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 100; background: var(--night); color: var(--on-deep);
  display: flex; flex-direction: column; overflow-y: auto;
  padding: calc(env(safe-area-inset-top, 0px) + 18px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 32px);
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 60px; }
.menu__top .brand { color: var(--on-deep); }
.menu__top .brand__crp { color: var(--gold); }
.menu__close { background: none; border: 1px solid var(--line-deep); color: var(--on-deep); border-radius: var(--radius-pill); min-height: 44px; padding: 8px 18px; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
.menu nav { margin-top: clamp(24px, 6vh, 64px); flex: 1; }
.menu ul { list-style: none; display: grid; gap: 2px; border-left: 1px solid var(--gold); padding-left: 22px; }
.menu li a {
  display: block; text-decoration: none; font-family: var(--f-serif); font-size: clamp(1.7rem, 6.4vw, 2.6rem); line-height: 1.25; padding-block: 4px;
  color: var(--on-deep); transform: translateX(-8px); opacity: 0; transition: transform .6s var(--ease), opacity .6s var(--ease), color .3s;
}
.menu.is-open li a { transform: none; opacity: 1; }
.menu li:nth-child(2) a { transition-delay: .03s } .menu li:nth-child(3) a { transition-delay: .06s }
.menu li:nth-child(4) a { transition-delay: .09s } .menu li:nth-child(5) a { transition-delay: .12s }
.menu li:nth-child(6) a { transition-delay: .15s } .menu li:nth-child(7) a { transition-delay: .18s }
.menu li:nth-child(8) a { transition-delay: .21s } .menu li:nth-child(9) a { transition-delay: .24s }
.menu li a[aria-current="page"], .menu li a:hover { color: var(--gold); }
.menu__foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--t-sm); color: var(--on-deep-soft); }
.menu__foot a { color: var(--on-deep); }
body.menu-open { overflow: hidden; }

/* ---------- Atmósferas ---------- */
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.light { background: var(--ivory); color: var(--ink); }
.light--sand { background: var(--sand); }
.depth {
  background: radial-gradient(120% 90% at 85% 0%, #0F4677 0%, var(--deep) 38%, var(--night) 100%);
  color: var(--on-deep);
  isolation: isolate;
}
.depth h1, .depth h2, .depth h3 { color: var(--on-deep); }

/* Luz que entra: brillo cálido para el modo luz */
.glow::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 46% at 82% 18%, rgba(228, 161, 27, .13), transparent 70%),
    radial-gradient(30% 40% at 8% 90%, rgba(228, 161, 27, .08), transparent 70%);
}
.glow > * { position: relative; z-index: 1; }

/* Ondas (canvas) en modo profundidad */
.waves { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .9; pointer-events: none; }

/* Horizonte: transición entre la luz y la profundidad */
.horizon { position: relative; height: clamp(110px, 16vw, 220px); background: linear-gradient(180deg, var(--ivory) 0%, #E9E1D3 34%, #5E7792 64%, var(--deep) 100%); overflow: hidden; }
.horizon--up { background: linear-gradient(0deg, var(--ivory) 0%, #E9E1D3 34%, #5E7792 64%, var(--night) 100%); }
.horizon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 52%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, #F6D27E 50%, var(--gold) 80%, transparent);
  box-shadow: 0 0 18px 2px rgba(228, 161, 27, .35);
}
.horizon--up::after { top: 48%; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(56px, 8vw, 120px); overflow: hidden; }
.hero__grid { display: grid; gap: 36px; align-items: end; }
.hero__copy { position: relative; z-index: 2; min-width: 0; }
.hero__copy .display { color: var(--deep); }
.hero__copy .display span { display: block; }
.hero__second { margin-top: 18px; color: var(--deep); }
.hero__second .scriptword { font-size: clamp(2.7rem, 2rem + 4.2vw, 6.6rem); margin-top: -.05em; }
.hero__support { margin-top: 26px; }
.hero__actions { margin-top: 34px; }
.hero__micro { margin-top: 30px; display: flex; gap: 14px; align-items: center; font-size: var(--t-sm); color: var(--ink-soft); }
.hero__micro .gl { width: 40px; flex: none; }

/* Ventana / arco con la fotografía real */
.window {
  position: relative; border-radius: 999px 999px 18px 18px; overflow: hidden;
  background: linear-gradient(180deg, #FFFDF8, var(--sand));
  aspect-ratio: 532 / 760; max-width: 100%;
  box-shadow: 0 0 0 1px rgba(228, 161, 27, .35), 0 40px 80px -40px rgba(11, 58, 99, .35);
}
.window img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; }
.window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(200deg, rgba(255, 238, 200, .35), transparent 40%);
  mix-blend-mode: soft-light;
}
.window-frame { position: relative; }
.window-frame::before {
  content: ""; position: absolute; inset: -14px; border-radius: 999px 999px 26px 26px;
  border: 1px solid rgba(228, 161, 27, .55); pointer-events: none;
}
.hero__visual { position: relative; z-index: 1; width: min(100%, 420px); justify-self: center; }
.hero__visual figcaption {
  margin-top: 26px; display: flex; gap: 12px; align-items: center; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink);
}
.hero__visual figcaption .gl { width: 30px; }
.hero__index {
  position: absolute; right: -6px; top: 18%; z-index: 2;
  writing-mode: vertical-rl; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600;
}

@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
  .hero__visual { justify-self: end; margin-top: 10px; }
  .hero__copy { margin-right: -12%; }
}

/* ---------- Reconocimiento (¿Te pasa?) ---------- */
.recognize__head { display: grid; gap: 18px; max-width: 980px; }
.recognize__head .display { color: var(--deep); }
.recognize__head .statement { color: var(--blue); }
.recognize__grid { display: grid; gap: 40px; margin-top: clamp(48px, 7vw, 96px); align-items: start; }
.situations { list-style: none; border-top: 1px solid var(--line); }
.situations li { border-bottom: 1px solid var(--line); }
.situation {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: baseline;
  padding: 20px 4px; font-family: var(--f-serif); font-size: clamp(1.12rem, 1rem + .6vw, 1.5rem); line-height: 1.35; color: var(--ink);
  transition: color .3s, padding .5s var(--ease);
}
.situation__mark { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--gold); position: relative; top: 1px; transition: background-color .4s; }
.situation:hover { color: var(--blue); }
.situation[aria-pressed="true"] { color: var(--deep); padding-left: 12px; }
.situation[aria-pressed="true"] .situation__mark { background: var(--gold); }
.situation__inline { display: none; }
.distinction {
  position: relative; background: var(--deep); color: var(--on-deep); border-radius: 4px;
  padding: clamp(28px, 4vw, 48px); overflow: hidden; min-height: 320px; display: flex; flex-direction: column;
}
.distinction::before {
  content: ""; position: absolute; width: 380px; height: 380px; right: -150px; top: -150px; border-radius: 50%;
  border: 1px solid rgba(228, 161, 27, .35); box-shadow: 0 0 0 40px rgba(228, 161, 27, .05), 0 0 0 90px rgba(228, 161, 27, .03);
}
.distinction__label { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.distinction__text { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.15; margin: 18px 0 0; }
.distinction__body { margin-top: 18px; color: var(--on-deep-soft); }
.distinction__foot { margin-top: auto; padding-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: var(--t-sm); }
.distinction__foot strong { color: var(--gold); font-weight: 600; }
.distinction__foot a { color: var(--on-deep); }
.distinction.is-changing .distinction__text, .distinction.is-changing .distinction__body { opacity: 0; transform: translateY(10px); }
.distinction__text, .distinction__body { transition: opacity .45s var(--ease), transform .55s var(--ease); }
@media (min-width: 960px) {
  .recognize__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); }
  .distinction { position: sticky; top: 110px; }
}

/* ---------- Puente CRP® ---------- */
.bridge { display: grid; gap: 28px; align-items: center; }
.bridge__seal { width: 112px; }
.bridge__text { font-family: var(--f-serif); font-size: var(--t-xl); line-height: 1.3; color: var(--deep); max-width: 30em; }
.bridge__text strong { font-weight: 600; }
@media (min-width: 820px) { .bridge { grid-template-columns: auto 1fr auto; gap: 48px; } }

/* ---------- FAF ---------- */
.faf { display: grid; gap: clamp(40px, 6vw, 80px); }
.faf__words { list-style: none; position: relative; display: grid; gap: clamp(26px, 4vw, 44px); padding-left: 40px; }
.faf__words::before { content: ""; position: absolute; left: 6px; top: 18px; bottom: 18px; width: 1px; background: linear-gradient(var(--gold), rgba(228, 161, 27, .25)); }
.faf__word { position: relative; display: grid; gap: 8px; }
.faf__word::before { content: ""; position: absolute; left: -40px; top: .62em; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--night); }
.faf__word h3 { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: .01em; }
.faf__word h3 .initial { color: var(--gold); }
.faf__word p { margin: 0; color: var(--on-deep-soft); max-width: 30em; font-size: var(--t-lg); line-height: 1.5; }
.faf__aside { display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.faf__ring { width: min(100%, 380px); aspect-ratio: 1; }
.faf__ring circle { fill: none; }
.faf__note { font-family: var(--f-serif); font-size: var(--t-xl); line-height: 1.3; }
.faf__note strong { color: var(--gold); font-weight: 400; font-style: italic; }
@media (min-width: 960px) { .faf { grid-template-columns: 1.25fr .75fr; } }

/* ---------- Franja de las 6 estrategias ---------- */
.strip { list-style: none; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: clamp(40px, 5vw, 72px); }
.strip li { border-bottom: 1px solid var(--line); }
.strip a {
  display: grid; grid-template-columns: 44px 56px 1fr; gap: 16px; align-items: center; padding: 22px 6px; text-decoration: none; color: var(--ink); position: relative;
  transition: background-color .5s var(--ease);
}
.strip a::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.strip a:hover::after, .strip a:focus-visible::after { transform: scaleX(1); }
.strip a:hover { background: rgba(228, 161, 27, .06); }
.strip__num { font-family: var(--f-serif); font-size: 1rem; color: var(--gold-ink); font-variant-numeric: tabular-nums; }
.strip__glyph { width: 52px; height: 52px; }
.strip__glyph * { fill: none; stroke: var(--gold); stroke-width: 1.4; stroke-linecap: round; }
.strip__name { font-family: var(--f-serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.55rem); line-height: 1.2; font-weight: 600; }
.strip__phrase { display: block; font-family: var(--f-sans); font-size: var(--t-sm); color: var(--ink-soft); font-weight: 400; margin-top: 4px; }
@media (min-width: 760px) {
  .strip { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .strip li { border-bottom: 0; border-left: 1px solid var(--line); }
  .strip li:nth-child(3n+1) { border-left: 0; }
  .strip li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .strip a { grid-template-columns: 1fr; align-content: start; gap: 18px; padding: 34px clamp(18px, 2vw, 32px) 40px; height: 100%; }
  .strip__glyph { width: 64px; height: 64px; }
}
@media (min-width: 1200px) {
  .strip { grid-template-columns: repeat(6, 1fr); }
  .strip li:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .strip li:first-child { border-left: 0; }
  .strip li:nth-child(n+4) { border-top: 0; }
  .strip { border-block: 1px solid var(--line); }
}

/* ---------- Bloque Marlene ---------- */
.voice { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.voice__photo { position: relative; max-width: 520px; width: 100%; }
.voice__photo img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.voice__photo::after { content: ""; position: absolute; left: -18px; top: 30px; bottom: -18px; width: 1px; background: var(--gold); }
.voice__photo figcaption { margin-top: 16px; font-size: var(--t-sm); color: var(--ink-soft); }
.voice__copy .display { color: var(--deep); }
.voice__quote { margin: 32px 0 0; padding-left: 22px; border-left: 1px solid var(--gold); font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); line-height: 1.5; color: var(--deep); }
.voice__quote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
@media (min-width: 900px) { .voice { grid-template-columns: .9fr 1.1fr; } .voice--rev { grid-template-columns: 1.1fr .9fr; } .voice--rev .voice__photo { order: 2; justify-self: end; } }

/* ---------- Práctica de 60 segundos ---------- */
.practice { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
.practice__stage {
  position: relative; border: 1px solid var(--line-deep); border-radius: 4px; padding: clamp(26px, 4vw, 52px);
  min-height: 420px; display: flex; flex-direction: column; background: rgba(7, 30, 53, .35);
}
.practice__progress { list-style: none; display: flex; gap: 8px; margin-bottom: 30px; }
.practice__progress li { flex: 1; height: 2px; background: var(--line-deep); position: relative; overflow: hidden; }
.practice__progress li span { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.practice__progress li.done span { transform: scaleX(1); }
.practice__step { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.practice__q { font-family: var(--f-serif); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.8rem); line-height: 1.15; margin: 14px 0 0; min-height: 2.4em; }
.practice__hint { color: var(--on-deep-soft); margin-top: 16px; max-width: 30em; }
.practice__ring { width: 84px; height: 84px; margin-top: auto; align-self: flex-start; }
.practice__ring circle { fill: none; stroke-width: 2; }
.practice__ring .bg { stroke: var(--line-deep); }
.practice__ring .fg { stroke: var(--gold); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }
.practice__ring text { fill: var(--on-deep); font-family: var(--f-sans); font-size: 15px; font-weight: 600; }
.practice__controls { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: 26px; }
.practice__body { display: flex; flex-direction: column; flex: 1; }
.practice__body.is-swapping { opacity: 0; transform: translateY(8px); }
.practice__body { transition: opacity .45s var(--ease), transform .55s var(--ease); }
.practice__private { font-size: var(--t-xs); color: var(--on-deep-soft); margin-top: 18px; }
@media (min-width: 960px) { .practice { grid-template-columns: .8fr 1.2fr; } }

/* ---------- eBook ---------- */
.ebook { display: grid; gap: clamp(40px, 6vw, 88px); align-items: center; }
.book { position: relative; width: min(100%, 340px); justify-self: center; perspective: 1200px; }
.book__cover {
  position: relative; aspect-ratio: 2 / 3; border-radius: 2px 8px 8px 2px; overflow: hidden;
  background: radial-gradient(120% 80% at 80% 0%, #145091 0%, var(--deep) 45%, var(--night) 100%);
  color: var(--on-deep); padding: 30px 28px; display: flex; flex-direction: column;
  box-shadow: inset 6px 0 10px -4px rgba(0, 0, 0, .45), 0 30px 60px -24px rgba(7, 30, 53, .55), 0 0 0 1px rgba(228, 161, 27, .3);
  transform: rotateY(-8deg); transition: transform .9s var(--ease);
}
.book:hover .book__cover { transform: rotateY(0deg); }
.book__cover::before { content: ""; position: absolute; left: 0; right: 0; top: 58%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 14px rgba(228, 161, 27, .5); }
.book__kicker { font-size: .62rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.book__title { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: 2rem; line-height: 1; margin-top: 18px; }
.book__title .script { display: block; font-size: 2.7rem; margin-top: 6px; text-transform: none; }
.book__sub { font-size: .72rem; line-height: 1.5; margin-top: auto; color: var(--on-deep-soft); }
.book__author { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; margin-top: 12px; }
.book__note { margin-top: 18px; text-align: center; }
.ebook .display { color: var(--deep); }
@media (min-width: 900px) { .ebook { grid-template-columns: .8fr 1.2fr; } }

/* ---------- Formularios ---------- */
.form { display: grid; gap: 18px; max-width: 560px; margin-top: 30px; }
.form--wide { max-width: none; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: var(--t-sm); font-weight: 600; color: var(--deep); }
.field .opt { font-weight: 400; color: var(--ink-soft); }
.input, .textarea, .select {
  width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid rgba(11, 58, 99, .28); border-radius: 6px;
  background: #FFFDF9; color: var(--ink); font: inherit; font-size: 1rem;
  transition: border-color .3s, box-shadow .3s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(228, 161, 27, .25); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #B3261E; }
.field__error { font-size: var(--t-sm); color: #A2231B; min-height: 0; }
.form__row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__micro { font-size: var(--t-sm); color: var(--ink-soft); display: flex; gap: 10px; align-items: center; }
.form__micro .gl { width: 28px; }
.form__status { font-size: var(--t-sm); padding: 14px 16px; border-radius: 6px; border: 1px solid var(--line); background: var(--sand); }
.form__status.is-error { border-color: rgba(162, 35, 27, .4); background: #FBEDEA; color: #7A1A14; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Opciones tipo chip (radio) */
.choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: var(--radius-pill);
  border: 1px solid rgba(11, 58, 99, .25); background: #FFFDF9; font-weight: 500; font-size: .95rem; cursor: pointer;
  transition: border-color .3s, background-color .3s, color .3s;
}
.choice span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold); transition: background-color .3s; }
.choice input:checked + span { border-color: var(--deep); background: var(--deep); color: var(--ivory); }
.choice input:checked + span::before { background: var(--gold); border-color: var(--gold); }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Formulario progresivo */
.quote { display: grid; gap: clamp(32px, 5vw, 72px); }
.quote__steps { list-style: none; display: grid; gap: 0; counter-reset: s; border-left: 1px solid var(--line); }
.quote__steps li { position: relative; padding: 8px 0 18px 26px; color: var(--ink-soft); font-size: var(--t-sm); }
.quote__steps li::before { content: ""; position: absolute; left: -5px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); }
.quote__steps li.is-current { color: var(--deep); font-weight: 600; }
.quote__steps li.is-current::before, .quote__steps li.is-done::before { background: var(--gold); }
.quote__steps li strong { display: block; font-family: var(--f-serif); font-size: 1.15rem; font-weight: 600; color: inherit; }
.quote__panel { border-top: 1px solid var(--gold); padding-top: 30px; min-width: 0; }
.quote__panel h2 { font-family: var(--f-serif); font-weight: 600; font-size: var(--t-xl); color: var(--deep); margin-bottom: 20px; }
.quote__nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.quote__done { text-align: left; }
.quote__done .statement { color: var(--deep); }
@media (max-width: 959px) {
  .quote__steps { grid-template-columns: repeat(4, 1fr); border-left: 0; border-top: 1px solid var(--line); }
  .quote__steps li { padding: 16px 6px 0 0; font-size: .74rem; }
  .quote__steps li::before { left: 0; top: -5px; }
  .quote__steps li strong { font-size: .86rem; line-height: 1.25; }
  .quote__steps .desc { display: none; }
}
@media (min-width: 960px) { .quote { grid-template-columns: 280px 1fr; } }

/* ---------- Páginas internas: hero ---------- */
.page-hero { position: relative; padding-top: clamp(40px, 7vw, 110px); padding-bottom: clamp(56px, 8vw, 120px); overflow: hidden; }
.page-hero .display { max-width: 15em; }
.page-hero__second { margin-top: 22px; max-width: 34em; }
.page-hero.light .display { color: var(--deep); }
.page-hero__grid { display: grid; gap: 40px; align-items: end; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.3fr .7fr; } }
.breadcrumbs { font-size: var(--t-xs); letter-spacing: .08em; margin-bottom: 30px; color: var(--ink-soft); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold-ink); }
.breadcrumbs a { color: inherit; }
.depth .breadcrumbs { color: var(--on-deep-soft); }
.depth .breadcrumbs li + li::before { color: var(--gold); }

/* ---------- Cadena de observación (piensas → resultado) ---------- */
.chain { list-style: none; display: grid; gap: 0; margin-top: clamp(40px, 5vw, 72px); position: relative; }
.chain li { position: relative; padding: 18px 0 18px 46px; }
.chain li::before { content: ""; position: absolute; left: 10px; top: 0; bottom: 0; width: 1px; background: var(--gold); }
.chain li:first-child::before { top: 50%; } .chain li:last-child::before { bottom: 50%; }
.chain li::after { content: ""; position: absolute; left: 4px; top: calc(50% - 6px); width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--ivory); }
.chain li:last-child::after { background: var(--gold); }
.chain__q { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.1; color: var(--deep); }
.chain__d { font-size: var(--t-sm); color: var(--ink-soft); margin-top: 4px; display: block; }
@media (min-width: 1000px) {
  .chain { grid-template-columns: repeat(5, 1fr); }
  .chain li { padding: 46px 18px 0 0; }
  .chain li::before { left: 0; right: 0; top: 10px; bottom: auto; width: auto; height: 1px; }
  .chain li:first-child::before { top: 10px; left: 6px; } .chain li:last-child::before { bottom: auto; right: auto; width: 6px; }
  .chain li::after { left: 0; top: 4px; }
}

/* ---------- Glosario ---------- */
.glossary { margin: clamp(36px, 5vw, 64px) 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.glossary > div { display: grid; gap: 6px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--f-serif); font-size: var(--t-xl); color: var(--deep); line-height: 1.15; }
.glossary dd { margin: 0; font-size: var(--t-lg); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }
@media (min-width: 820px) { .glossary > div { grid-template-columns: 280px 1fr; align-items: baseline; } }

/* ---------- Es / No es ---------- */
.isnot { display: grid; gap: clamp(36px, 5vw, 80px); margin-top: clamp(40px, 5vw, 64px); }
.isnot h3 { font-family: var(--f-sans); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: var(--t-sm); color: var(--gold); margin-bottom: 18px; }
.isnot ul { list-style: none; }
.isnot li { font-family: var(--f-serif); font-size: clamp(1.3rem, 1.05rem + 1vw, 1.9rem); line-height: 1.25; padding: 14px 0; border-bottom: 1px solid var(--line-deep); }
.isnot__no li { color: var(--on-deep-soft); text-decoration: line-through; text-decoration-color: rgba(228, 161, 27, .65); text-decoration-thickness: 1px; }
.isnot__yes li { color: var(--on-deep); }
@media (min-width: 860px) { .isnot { grid-template-columns: 1fr 1fr; } }

/* ---------- Pilares (texto, no tarjetas) ---------- */
.pillars { display: grid; gap: 34px 48px; margin-top: clamp(36px, 5vw, 64px); }
.pillar h3 { font-family: var(--f-serif); font-size: var(--t-xl); font-weight: 600; color: var(--deep); line-height: 1.15; }
.pillar p { margin-top: 10px; color: var(--ink-soft); }
.pillar .gl { width: 44px; margin-bottom: 18px; }
.depth .pillar h3 { color: var(--on-deep); } .depth .pillar p { color: var(--on-deep-soft); }
@media (min-width: 720px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .pillars--4 { grid-template-columns: repeat(4, 1fr); } .pillars--3 { grid-template-columns: repeat(3, 1fr); } .pillars--5 { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Timeline ---------- */
.timeline { list-style: none; display: grid; gap: 0; margin-top: clamp(40px, 5vw, 72px); position: relative; }
.timeline li { position: relative; padding: 0 0 36px 40px; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -8px; width: 1px; background: var(--gold); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 6px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--gold); background: var(--ivory); }
.timeline__when { font-family: var(--f-serif); font-size: var(--t-2xl); line-height: 1; color: var(--deep); }
.timeline__what { margin-top: 12px; color: var(--ink-soft); max-width: 26em; }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .timeline li { padding: 44px 32px 0 0; }
  .timeline li::before { left: 0; right: 0; top: 6px; bottom: auto; width: auto; height: 1px; }
  .timeline li:last-child::before { display: block; right: 60%; }
  .timeline li::after { top: 0; }
}

/* ---------- Placeholders de validación ---------- */
.ph {
  display: flex; align-items: center; justify-content: center; text-align: center;
  border: 1px dashed var(--gold-ink); border-radius: 4px; padding: 24px;
  background: repeating-linear-gradient(135deg, rgba(228, 161, 27, .06) 0 12px, transparent 12px 24px), var(--sand);
  color: var(--gold-ink); font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; line-height: 1.6;
  min-height: 160px;
}
.ph--photo { aspect-ratio: 4 / 5; min-height: 0; }
.ph--wide { aspect-ratio: 16 / 9; min-height: 0; }
.tag-validate {
  display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-ink); background: rgba(228, 161, 27, .12); border: 1px dashed var(--gold-ink); border-radius: 4px; padding: 2px 8px; vertical-align: middle;
}
.depth .tag-validate { color: var(--gold); border-color: var(--gold); background: rgba(228, 161, 27, .08); }
.depth .ph { background: repeating-linear-gradient(135deg, rgba(228, 161, 27, .08) 0 12px, transparent 12px 24px), rgba(7, 30, 53, .4); color: var(--gold); border-color: var(--gold); }

/* ---------- Estrategias (página) ---------- */
.subnav { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 66px); z-index: 30; background: rgba(255, 249, 240, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
.subnav ul::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px; border-radius: var(--radius-pill); text-decoration: none; font-size: .82rem; font-weight: 500; white-space: nowrap; color: var(--ink); }
.subnav a span { color: var(--gold-ink); font-family: var(--f-serif); }
.subnav a.is-active { background: var(--deep); color: var(--ivory); }
.subnav a.is-active span { color: var(--gold); }

.strategy { display: grid; gap: clamp(32px, 5vw, 72px); padding-block: clamp(72px, 9vw, 140px); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.strategy:last-of-type { border-bottom: 0; }
.strategy__head { display: grid; gap: 18px; align-content: start; }
.strategy__num { font-family: var(--f-serif); font-size: clamp(4rem, 3rem + 5vw, 8rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--gold); font-variant-numeric: lining-nums; }
.strategy__name { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: var(--t-2xl); line-height: 1.02; color: var(--deep); }
.strategy__phrase { font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); color: var(--blue); }
.strategy__glyph { width: 120px; height: 120px; margin-top: 12px; }
.strategy__glyph * { fill: none; stroke: var(--gold); stroke-width: 1.2; stroke-linecap: round; }
.strategy__meta { list-style: none; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: var(--t-sm); margin-top: 8px; }
.strategy__meta dt { color: var(--gold-ink); font-weight: 600; }
.strategy__meta dd { margin: 0; color: var(--ink-soft); }
.steps4 { list-style: none; display: grid; gap: 0; }
.steps4 > li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line); }
.steps4 > li:first-child { border-top: 0; padding-top: 0; }
.steps4__k { font-family: var(--f-serif); font-size: 1.3rem; color: var(--gold-ink); line-height: 1.3; }
.steps4__label { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.steps4__quote { font-family: var(--f-serif); font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2.1rem); line-height: 1.2; color: var(--deep); margin: 8px 0 0; }
.steps4__text { margin: 8px 0 0; font-size: var(--t-lg); line-height: 1.55; color: var(--ink); }
.steps4__practice { margin-top: 10px; background: var(--deep); color: var(--on-deep); border-radius: 4px; padding: 22px 24px; }
.steps4__practice p { margin: 0; }
.steps4__practice .q { font-family: var(--f-serif); font-size: var(--t-lg); line-height: 1.4; margin-top: 8px; }
@media (min-width: 960px) { .strategy { grid-template-columns: .8fr 1.2fr; } .strategy__head { position: sticky; top: 150px; align-self: start; } }

/* ---------- Camino de formación ---------- */
.path { list-style: none; display: grid; gap: 0; margin-top: clamp(40px, 5vw, 72px); }
.path li { display: grid; grid-template-columns: 60px 1fr; gap: 18px; position: relative; padding-bottom: 38px; }
.path li::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; background: var(--gold); }
.path li:last-child::before { display: none; }
.path__n { width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--f-serif); color: var(--gold-ink); background: var(--ivory); font-variant-numeric: lining-nums tabular-nums; }
.path h3 { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: var(--t-xl); color: var(--deep); line-height: 1.1; padding-top: 6px; }
.path p { margin: 8px 0 0; color: var(--ink-soft); font-size: var(--t-lg); max-width: 30em; line-height: 1.5; }
.path li:last-child .path__n { background: var(--gold); color: var(--night); }
@media (min-width: 1100px) {
  .path { grid-template-columns: repeat(5, 1fr); gap: 0 24px; }
  .path li { grid-template-columns: 1fr; padding-bottom: 0; }
  .path li::before { left: 46px; right: -24px; top: 22px; bottom: auto; width: auto; height: 1px; }
  .path li:nth-child(2) { margin-top: 40px; } .path li:nth-child(3) { margin-top: 80px; } .path li:nth-child(4) { margin-top: 120px; } .path li:nth-child(5) { margin-top: 160px; }
  .path li::before { transform: rotate(var(--tilt, 0deg)); transform-origin: left center; }
}

/* ---------- Revista (recursos) ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.filter { min-height: 42px; padding: 8px 18px; border-radius: var(--radius-pill); border: 1px solid rgba(11, 58, 99, .22); background: transparent; cursor: pointer; font-size: .85rem; font-weight: 500; color: var(--ink); transition: background-color .3s, color .3s, border-color .3s; }
.filter[aria-pressed="true"] { background: var(--deep); color: var(--ivory); border-color: var(--deep); }
.filter:hover { border-color: var(--gold); }
.mag { display: grid; gap: clamp(40px, 5vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.story { display: grid; gap: 18px; text-decoration: none; color: inherit; align-content: start; }
.story__art { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--deep); }
.story__art svg { width: 100%; height: 100%; }
.story__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.story__meta span + span { color: var(--ink-soft); }
.story__title { font-family: var(--f-serif); font-size: var(--t-xl); line-height: 1.15; color: var(--deep); transition: color .3s; }
.story:hover .story__title { color: var(--blue); }
.story__excerpt { color: var(--ink-soft); margin: 0; }
.story--feature .story__title { font-size: var(--t-2xl); }
@media (min-width: 900px) {
  .mag { grid-template-columns: repeat(12, 1fr); }
  .story--feature { grid-column: 1 / -1; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
  .story--feature .story__art { aspect-ratio: 16 / 11; }
  .story:not(.story--feature) { grid-column: span 6; }
}
.empty-cat { margin-top: 36px; padding: 28px; border: 1px dashed var(--line); border-radius: 4px; color: var(--ink-soft); }
.upcoming { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.upcoming li { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-family: var(--f-serif); font-size: var(--t-lg); color: var(--deep); }
.upcoming li span { font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); align-self: center; }

/* ---------- Artículo ---------- */
.article-hero { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(32px, 4vw, 56px); }
.article-hero h1 { font-family: var(--f-serif); font-weight: 700; font-size: var(--t-2xl); line-height: 1.08; color: var(--deep); max-width: 20em; }
.article-hero .story__meta { margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 14px; margin-top: 28px; font-size: var(--t-sm); color: var(--ink-soft); }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: 50% 10%; background: var(--sand); }
.prose { font-size: 1.12rem; line-height: 1.8; max-width: 38em; }
.prose h2 { font-family: var(--f-serif); font-size: var(--t-xl); color: var(--deep); margin: 2.2em 0 .6em; line-height: 1.2; }
.prose h2 .mv { display: block; font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin-bottom: 10px; }
.prose blockquote { margin: 1.8em 0; padding: 4px 0 4px 26px; border-left: 1px solid var(--gold); font-family: var(--f-serif); font-size: var(--t-xl); line-height: 1.3; color: var(--deep); }
.prose .practice-box { margin: 1.8em 0; background: var(--deep); color: var(--on-deep); padding: 26px 28px; border-radius: 4px; }
.prose .practice-box p:last-child { margin-bottom: 0; }
.prose .practice-box strong { color: var(--gold); font-weight: 600; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.article-art { aspect-ratio: 21 / 9; border-radius: 4px; overflow: hidden; background: var(--deep); }
.article-art svg { width: 100%; height: 100%; }
.article-note { font-size: var(--t-sm); color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 48px; max-width: 38em; }

/* ---------- Formatos / temas (conferencias) ---------- */
.formats { display: grid; gap: 0; margin-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line-deep); }
.formats > div { display: grid; gap: 6px 32px; padding: 24px 0; border-bottom: 1px solid var(--line-deep); }
.formats h3 { font-family: var(--f-serif); font-size: var(--t-xl); font-weight: 600; line-height: 1.15; }
.formats p { margin: 0; color: var(--on-deep-soft); max-width: 36em; }
.formats .mode { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
@media (min-width: 820px) { .formats > div { grid-template-columns: 260px 1fr auto; align-items: baseline; } }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 36px; }
.topics li { font-family: var(--f-serif); font-size: clamp(1.5rem, 1.1rem + 1.7vw, 2.8rem); line-height: 1.3; color: var(--deep); }
.topics li:not(:last-child)::after { content: "·"; color: var(--gold); margin: 0 .45em; }
.gallery { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: repeat(2, 1fr); }
.gallery .ph { min-height: 0; aspect-ratio: 4 / 3; }
.gallery .ph:first-child { grid-column: span 2; aspect-ratio: 16 / 8; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); } .gallery .ph:first-child { grid-row: span 2; aspect-ratio: auto; }
  .gallery--3 { grid-template-columns: 1.6fr 1fr 1fr; } .gallery--3 .ph:first-child { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3; } }

/* ---------- Testimonios ---------- */
.testimonials { display: grid; gap: 22px; margin-top: 40px; }
.testimonial { border-top: 1px solid var(--gold); padding-top: 22px; }
.testimonial .ph { min-height: 140px; }
@media (min-width: 900px) { .testimonials { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ---------- Acompañar (Escuchar / Distinguir / Practicar) ---------- */
.trio { list-style: none; display: grid; gap: 0; margin-top: clamp(40px, 5vw, 64px); }
.trio li { padding: 28px 0; border-top: 1px solid var(--line-deep); display: grid; gap: 4px; }
.trio h3 { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.6rem); line-height: 1; letter-spacing: .01em; }
.trio p { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); color: var(--gold); }
@media (min-width: 900px) { .trio { grid-template-columns: repeat(3, 1fr); gap: 0 40px; } .trio li { border-top: 0; border-left: 1px solid var(--line-deep); padding: 8px 0 8px 28px; } }

/* ---------- Bio ---------- */
.bio { display: grid; gap: clamp(36px, 5vw, 80px); }
.bio__roles { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.bio__roles li { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--f-serif); font-size: var(--t-lg); color: var(--deep); }
.bio__text p { font-size: var(--t-lg); line-height: 1.65; }
@media (min-width: 960px) { .bio { grid-template-columns: .9fr 1.1fr; } }

/* ---------- Cita grande ---------- */
.bigquote { margin: 0; }
.bigquote p { font-family: var(--f-serif); font-size: var(--t-2xl); line-height: 1.12; margin: 0; }
.bigquote footer { margin-top: 26px; display: flex; gap: 14px; align-items: center; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); }
.bigquote footer .gl { width: 40px; }
.light .bigquote p { color: var(--deep); }
.light .bigquote footer { color: var(--gold-ink); }

/* ---------- Banda de decisión ---------- */
.decide { text-align: left; display: grid; gap: 30px; align-items: end; }
.decide__text { font-family: var(--f-serif); font-size: var(--t-2xl); line-height: 1.1; color: var(--deep); }
.decide__text .script { font-size: 1.5em; vertical-align: -.12em; }
@media (min-width: 900px) { .decide { grid-template-columns: 1fr auto; } }

/* ---------- Footer editorial ---------- */
.site-footer { background: var(--pearl); color: var(--ink); padding-top: clamp(72px, 9vw, 130px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 36px); position: relative; overflow: hidden; }
.site-footer__phrase { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1; color: var(--deep); max-width: 14em; }
.site-footer__line { margin: clamp(36px, 5vw, 64px) 0; }
.site-footer__grid { display: grid; gap: 40px; }
.site-footer h2 { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin-bottom: 16px; font-family: var(--f-sans); }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: var(--ink); }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.site-footer address { font-style: normal; display: grid; gap: 8px; }
.lockup { display: flex; align-items: center; gap: 26px; }
.lockup img { height: 84px; width: auto; }
.lockup__div { width: 1px; align-self: stretch; background: var(--gold); }
.site-footer__base { margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid rgba(11, 58, 99, .18); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font-size: var(--t-sm); color: var(--ink-soft); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa {
  position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); z-index: 70;
  display: inline-flex; align-items: center; gap: 0; height: 52px; padding: 0 15px; border-radius: var(--radius-pill);
  background: var(--deep); color: var(--ivory); text-decoration: none; box-shadow: 0 12px 30px -12px rgba(7, 30, 53, .55), 0 0 0 1px rgba(228, 161, 27, .5);
  transition: gap .5s var(--ease), padding .5s var(--ease), background-color .3s;
}
.wa svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
.wa__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .88rem; transition: max-width .5s var(--ease); }
.wa:hover, .wa:focus-visible { gap: 10px; padding-right: 20px; background: var(--night); }
.wa:hover .wa__label, .wa:focus-visible .wa__label { max-width: 140px; }

/* ---------- Utilidades de composición ---------- */
.stack > * + * { margin-top: var(--stack, 24px); }
.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; align-items: center; } .split--top { align-items: start; } .split--60 { grid-template-columns: 1.2fr .8fr; } }
.center-x { margin-inline: auto; }
.mt-s { margin-top: 18px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: clamp(40px, 5vw, 72px); }
.photo { border-radius: 4px; overflow: hidden; }
.photo img { width: 100%; object-fit: cover; }
.photo--tall img { aspect-ratio: 3 / 4; object-position: 50% 12%; }
.photo-note { font-size: var(--t-sm); color: var(--ink-soft); margin-top: 12px; }
.note-validate { font-size: var(--t-sm); color: var(--ink-soft); margin-top: 18px; }
.seal { width: 92px; }

/* ---------- Movimiento (scroll-driven, siempre visible si no hay soporte) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
    .draw { animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .draw-v { animation: drawv linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
  }
  .hero .load { animation: load .8s var(--ease) both; }
  .hero .load:nth-child(2) { animation-delay: .12s; }
  .hero .load:nth-child(3) { animation-delay: .24s; }
  .hero .load:nth-child(4) { animation-delay: .36s; }
  .hero .load:nth-child(5) { animation-delay: .48s; }
  .hero .scriptword path { stroke-dasharray: 420; stroke-dashoffset: 420; animation: stroke 1.4s .7s var(--ease) forwards; }
  .window img { animation: unveil 1.2s .15s var(--ease) both; }
}
@keyframes reveal { from { transform: translateY(26px); } to { transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drawv { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes load { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes stroke { to { stroke-dashoffset: 0; } }
@keyframes unveil { from { clip-path: inset(100% 0 0 0); transform: scale(1.04); } to { clip-path: inset(0 0 0 0); transform: none; } }

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

/* ---------- Impresión ---------- */
@media print {
  .site-header, .wa, .thread, .menu, .waves { display: none !important; }
  .depth { background: #fff !important; color: #000 !important; }
}

/* ===== Subnav interna de la pestaña CRP consolidada ===== */
.crp-subnav{position:sticky;top:0;z-index:30;background:rgba(255,249,240,.96);
  backdrop-filter:blur(8px);border-bottom:1px solid rgba(11,58,99,.12)}
.crp-subnav__inner{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;
  padding:10px 20px}
.crp-subnav a{font-family:'Montserrat',sans-serif;font-size:.78rem;font-weight:600;
  letter-spacing:.4px;text-transform:uppercase;color:#0b3a63;text-decoration:none;
  padding:8px 14px;border-radius:30px;transition:.2s;white-space:nowrap}
.crp-subnav a:hover{background:#0b3a63;color:#fff}
.crp-anchor{scroll-margin-top:120px}
@media(max-width:640px){
  .crp-subnav__inner{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start}
}

/* ===== Test de autoobservación ===== */
.crp-q .choices{display:flex;flex-wrap:wrap;gap:8px}
.crp-result{margin-top:28px;padding:26px;border-radius:6px;background:#fff;box-shadow:0 10px 30px rgba(7,30,53,.10)}

/* ===== Fotos en galerías ===== */
.gshot{border-radius:4px;overflow:hidden;background:#dfe7ee}
.gshot img{display:block;width:100%;height:100%;object-fit:cover;aspect-ratio:4/5}
.gshot--wide img{aspect-ratio:16/9}

/* =========================================================
   MAPA CRP® — experiencia de autoobservación
   ========================================================= */
.mapa__intro { display: grid; gap: 40px; align-items: center; }
.mapa__hello { font-family: var(--f-script); color: var(--gold); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; margin: -6px 0 6px; min-height: 0; }
.mapa__hello:empty { display: none; }
.mapa__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 26px; font-size: var(--t-sm); color: var(--ink-soft); }
.mapa__facts li:not(:last-child)::after { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--gold); vertical-align: middle; margin: 0 12px; }
.mapa__facts--dark { color: var(--deep); font-weight: 600; margin-top: 16px; }
.mapa__preview { width: min(100%, 480px); justify-self: center; }
.mapa__preview svg { width: 100%; height: auto; }
@media (min-width: 960px) { .mapa__intro { grid-template-columns: 1.15fr .85fr; } }

.mapa__scaledemo { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); margin: 28px 0 12px; border-top: 1px solid var(--gold); }
.mapa__scaledemo li { position: relative; padding-top: 16px; font-size: var(--t-xs); font-weight: 600; letter-spacing: .04em; color: var(--deep); text-align: center; }
.mapa__scaledemo li::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); }
.mapa__scaledemo li:last-child::before { background: var(--gold); }

.mapa__q { min-height: min(760px, calc(100svh - 70px)); display: flex; align-items: center; }
.mapa__q .wrap { width: 100%; }
.mapa__progress { display: flex; align-items: center; gap: 18px; margin-bottom: clamp(28px, 5vh, 56px); }
.mapa__count { font-family: var(--f-serif); font-size: 1.05rem; color: var(--gold-ink); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.mapa__bar { flex: 1; height: 1px; background: var(--line); position: relative; overflow: hidden; }
.mapa__bar span { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .6s var(--ease); }
.mapa__qtext { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.9rem); line-height: 1.18; color: var(--deep); max-width: 22em; min-height: 2.4em; }
.mapa__qtext:focus { outline: none; }
.scale { display: grid; gap: 10px; margin-top: clamp(28px, 4vh, 44px); }
.scale__opt {
  display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; text-align: left; width: 100%;
  min-height: 56px; padding: 10px 18px; border-radius: var(--radius-pill); border: 1px solid rgba(11, 58, 99, .2); background: #FFFDF9;
  font-size: 1rem; font-weight: 500; color: var(--ink); cursor: pointer;
  transition: border-color .3s, background-color .35s var(--ease), color .3s, transform .35s var(--ease);
}
.scale__key { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--gold-ink); transition: background-color .3s, color .3s; }
.scale__opt:hover { border-color: var(--gold); transform: translateX(4px); }
.scale__opt[aria-checked="true"] { background: var(--deep); border-color: var(--deep); color: var(--ivory); }
.scale__opt[aria-checked="true"] .scale__key { background: var(--gold); color: var(--night); border-color: var(--gold); }
@media (min-width: 760px) {
  .scale { grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--gold); }
  .scale__opt { grid-template-columns: 1fr; justify-items: center; text-align: center; border: 0; border-radius: 0; background: transparent; padding: 26px 6px 10px; position: relative; min-height: 120px; align-content: start; }
  .scale__opt .scale__key { position: absolute; top: -16px; width: 32px; height: 32px; background: var(--ivory); }
  .scale__opt span:last-child { margin-top: 26px; }
  .scale__opt:hover { transform: none; background: rgba(228, 161, 27, .08); }
  .scale__opt[aria-checked="true"] { background: rgba(11, 58, 99, .06); color: var(--deep); font-weight: 700; }
}
.mapa__back { margin-top: 30px; background: none; border: 0; padding: 10px 0; cursor: pointer; font-size: var(--t-sm); font-weight: 600; color: var(--ink-soft); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .3em; min-height: 44px; }
.mapa__q.is-in .mapa__qtext, .mapa__q.is-in .scale { animation: load .55s var(--ease) both; }
.mapa__q.is-in .scale { animation-delay: .08s; }
.mapa__pause { min-height: min(640px, calc(100svh - 70px)); display: flex; align-items: center; }
.mapa__pause .wrap { width: 100%; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: var(--t-sm); line-height: 1.55; color: var(--ink); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--deep); }
.check .opt { color: var(--ink-soft); }

/* Resultado */
.mapa__map { display: grid; gap: 30px; margin-top: clamp(28px, 4vw, 56px); align-items: center; }
.mapa__radar { max-width: 560px; width: 100%; justify-self: center; }
.radar { width: 100%; height: auto; overflow: visible; }
.radar__label { fill: var(--on-deep); font-family: var(--f-sans); font-size: 16px; font-weight: 600; }
.radar__label.is-low { fill: var(--orange); }
.radar__label.is-high { fill: var(--gold); }
.radar__val { font-weight: 400; fill: var(--on-deep-soft); }
.radar__shape { transform-origin: 210px 210px; }
@media (prefers-reduced-motion: no-preference) { [data-current="result"] .radar__shape { animation: grow 1.1s var(--ease) both; } }
@keyframes grow { from { transform: scale(.2); opacity: 0; } to { transform: none; opacity: 1; } }
.mapa__label { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin: 0 0 10px; }
.depth .mapa__label { color: var(--gold); }
.mapa__num { font-family: var(--f-serif); font-weight: 700; font-size: clamp(4rem, 3rem + 4vw, 6.5rem); line-height: .9; margin: 0; font-variant-numeric: lining-nums; }
.mapa__of { font-size: .32em; font-weight: 400; color: var(--on-deep-soft); margin-left: 10px; }
.mapa__band { font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); color: var(--gold); margin: 14px 0 6px; }
.bars { list-style: none; display: grid; gap: 10px; margin-top: 26px; }
.bars li { display: grid; grid-template-columns: 110px 1fr 34px; gap: 12px; align-items: center; font-size: var(--t-sm); }
.bars__name { color: var(--on-deep); }
.bars__track { height: 4px; background: var(--line-deep); position: relative; overflow: hidden; border-radius: 2px; }
.bars__fill { position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--gold); border-radius: 2px; }
.bars li.is-low .bars__fill { background: var(--orange); }
.bars li.is-low .bars__name { color: var(--orange); font-weight: 600; }
.bars li.is-high .bars__name { color: var(--gold); font-weight: 600; }
.bars__val { text-align: right; font-variant-numeric: tabular-nums; color: var(--on-deep-soft); }
@media (min-width: 960px) { .mapa__map { grid-template-columns: 1.1fr .9fr; } }

.mapa__trio { display: grid; gap: 0; border-top: 1px solid var(--line); }
.mapa__card { padding: 28px 0; border-bottom: 1px solid var(--line); }
.mapa__card h3 { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); line-height: 1; color: var(--deep); margin-bottom: 14px; }
.mapa__card h3.mapa__tension { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-transform: none; line-height: 1.2; }
.mapa__card p:last-child { margin: 0; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.55; }
.mapa__card--low h3 { color: var(--deep); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .18em; }
@media (min-width: 960px) { .mapa__trio { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); } .mapa__card { border-bottom: 0; padding: 32px 32px 36px 0; } .mapa__card + .mapa__card { border-left: 1px solid var(--line); padding-left: 32px; } }
.mapa__practice { margin-top: 0; padding: clamp(24px, 3vw, 36px); }
.mapa__question { font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: var(--t-lg); margin: 16px 0 0; }
.mapa__cardpreview img { width: min(100%, 280px); border-radius: 4px; box-shadow: 0 20px 40px -24px rgba(7, 30, 53, .5); }
@media (max-width: 600px) { .radar__label { font-size: 21px; } .radar { margin-inline: -8px; } }
.mapa__result .eyebrow { flex-wrap: wrap; }
body:has(.mapa[data-current="question"]) .wa, body:has(.mapa[data-current="pause"]) .wa { display: none; }

/* =========================================================
   ¿CÓMO ESTÁS VIBRANDO? — espectro de 17 niveles
   ========================================================= */
.crp-subnav a[aria-current="page"] { background: #0b3a63; color: #fff; }
.vib__intro { display: grid; gap: 44px; align-items: start; }
@media (min-width: 960px) { .vib__intro { grid-template-columns: 1.2fr .8fr; } }
.vib__h1 { margin: 0; }
.vib__h1 .display { color: var(--deep); }
.vib__h1 .scriptword { font-size: clamp(3rem, 2.2rem + 3.6vw, 5.6rem); margin-left: .1em; }
.vib__steps { list-style: none; display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.vib__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.vib__steps b { font-family: var(--f-serif); color: var(--gold-ink); font-size: 1.2rem; font-weight: 400; font-variant-numeric: lining-nums; }
.vib__preview { width: min(100%, 420px); justify-self: center; }

.spec { list-style: none; display: grid; gap: 2px; }
.spec__zone { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin: 10px 0; }
.depth .spec__zone { color: var(--gold); }
.spec__row { display: grid; grid-template-columns: 48px minmax(0, 150px) 1fr 34px; gap: 12px; align-items: center; padding: 5px 10px; border-radius: 3px; font-size: var(--t-sm); }
.spec--static .spec__row { grid-template-columns: 48px 1fr; }
.spec__val { font-variant-numeric: tabular-nums lining-nums; text-align: right; color: var(--ink-soft); }
.spec__name { font-family: var(--f-serif); font-size: 1.08rem; color: var(--deep); display: flex; align-items: center; gap: 8px; }
.spec--static .spec--expande { background: linear-gradient(90deg, rgba(228,161,27,.16), transparent 80%); }
.spec--static .spec--umbral { background: linear-gradient(90deg, rgba(228,161,27,.38), transparent 80%); border-block: 1px solid var(--gold); }
.spec--static .spec--contrae { background: linear-gradient(90deg, rgba(11,58,99,.07), transparent 80%); }
.spec__track { height: 6px; border-radius: 3px; background: var(--line-deep); position: relative; overflow: hidden; }
.spec__fill { position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 3px; background: var(--gold); }
.spec--contrae .spec__fill { background: #8FA3B8; }
.spec__pct { text-align: right; font-variant-numeric: tabular-nums; color: var(--on-deep-soft); }
.depth .spec__val { color: var(--on-deep-soft); }
.depth .spec__name { color: var(--on-deep); }
.depth .spec--umbral { border-block: 1px solid rgba(228,161,27,.55); }
.spec__row.is-nudo .spec__name { color: var(--orange); font-weight: 700; }
.spec__row.is-nudo .spec__fill { background: var(--orange); }
.spec__row.is-llave .spec__name { color: var(--gold); font-weight: 700; }
.spec__row.is-top { background: rgba(246, 239, 227, .07); }
.spec__tag { font-family: var(--f-sans); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; padding: 2px 7px; border-radius: 999px; }
.spec__tag--n { background: var(--orange); color: var(--night); }
.spec__tag--l { background: var(--gold); color: var(--night); }

.vib__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.vib__chip { min-height: 48px; padding: 10px 22px; border-radius: var(--radius-pill); border: 1px solid rgba(11,58,99,.25); background: #FFFDF9; font: inherit; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.vib__chip:hover { border-color: var(--gold); }
.vib__chip[aria-checked="true"] { background: var(--deep); color: var(--ivory); border-color: var(--deep); }

.vib__list { list-style: none; display: grid; gap: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.vib__item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vib__text { font-family: var(--f-serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.35; color: var(--deep); margin: 0 0 14px; }
.vib__opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 640px) { .vib__opts { grid-template-columns: repeat(4, 1fr); } }
.vib__opt { min-height: 46px; padding: 8px 10px; border-radius: 6px; border: 1px solid rgba(11,58,99,.2); background: #FFFDF9; font: inherit; font-size: .88rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.vib__opt:hover { border-color: var(--gold); }
.vib__opt[aria-checked="true"] { background: var(--deep); color: var(--ivory); border-color: var(--deep); }
.vib__item.is-done .vib__text { color: var(--ink-soft); }

.vib__res { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1000px) { .vib__res { grid-template-columns: .85fr 1.15fr; } }
.vib__topval { font-family: var(--f-sans); font-weight: 400; font-size: .4em; color: var(--gold); vertical-align: .5em; }
.vib__ce { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: var(--t-sm); color: var(--on-deep-soft); }
.vib__ce b { font-family: var(--f-serif); font-size: 2rem; color: var(--on-deep); font-weight: 700; margin-right: 6px; vertical-align: -.1em; font-variant-numeric: lining-nums; }
.vib__ladder { min-width: 0; }

.vib__pair { display: grid; gap: 48px; }
@media (min-width: 900px) { .vib__pair { grid-template-columns: 1fr 1fr; gap: 64px; } }
.vib__cards { list-style: none; margin-top: 18px; border-top: 1px solid var(--gold); }
.vib__cards li { padding: 22px 0; border-bottom: 1px solid var(--line); }
.vib__cards p { margin: 0 0 8px; color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.5; }
.vib__lvl { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.6rem) !important; line-height: 1.05 !important; color: var(--deep) !important; }
.vib__lvl span { font-family: var(--f-sans); font-weight: 400; font-size: .45em; color: var(--gold-ink); vertical-align: .4em; }
.vib__cards--n .vib__lvl { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.vib__dist { font-family: var(--f-serif); font-style: italic; color: var(--blue) !important; }
.vib__plan { list-style: none; border-left: 1px solid var(--gold); padding-left: 24px; display: grid; gap: 18px; }
.vib__plan li { position: relative; }
.vib__plan li::before { content: ""; position: absolute; left: -30px; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--sand); border: 1px solid var(--gold); }
.vib__plan li:last-child::before { background: var(--gold); }
.vib__day { display: block; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.vib__plan b { font-family: var(--f-serif); font-size: 1.25rem; color: var(--deep); font-weight: 600; }
.vib__plan p { margin: 4px 0 0; color: var(--ink-soft); }
body:has(.vib[data-current="page"]) .wa { display: none; }
@media (max-width: 600px) { .spec__row { grid-template-columns: 38px minmax(0, 1fr) 70px 28px; gap: 8px; padding-inline: 4px; } .spec__name { font-size: .98rem; flex-wrap: wrap; gap: 4px; } }
.vib__res .eyebrow { flex-wrap: wrap; }
@media (max-width: 640px) { .crp-subnav--tests .crp-subnav__inner { flex-wrap: wrap; justify-content: center; overflow: visible; gap: 4px; } .crp-subnav--tests a { padding: 7px 11px; font-size: .7rem; } }

/* =========================================================
   MAPA DE SALUD EMOCIONAL DEL SER — experiencia tipo app
   Sereno, editorial; sin verde/rojo: la disponibilidad se expresa en intensidad de dorado y en texto.
   ========================================================= */
.ser__narrow { max-width: calc(760px + var(--gutter) * 2); }
.ser__h1 { color: var(--deep); margin-top: 6px; }
.ser__h2 { color: var(--deep); }
.ser__intro-text { margin-top: 28px; display: grid; gap: 6px; max-width: 34em; }
.ser__intro-text .lead { margin: 0; }
.ser__micro { margin-top: 22px; font-size: var(--t-sm); font-weight: 600; letter-spacing: .04em; color: var(--gold-ink); }
.ser__whisper { font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); color: var(--blue); margin-top: 28px; max-width: 30em; }
.ser__resume { margin-top: 32px; padding: 22px 24px; border-left: 2px solid var(--gold); background: rgba(228,161,27,.08); }
.ser__resume-title { font-family: var(--f-serif); font-size: 1.4rem; color: var(--deep); margin: 0 0 4px; }
.ser__consent { margin-top: 26px; font-size: 1rem; font-weight: 600; }
.ser__consent input { width: 22px; height: 22px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.ser__qwrap { min-height: min(760px, calc(100svh - 70px)); display: flex; align-items: flex-start; padding-top: clamp(36px, 6vh, 72px); }
.ser__qwrap .wrap { width: 100%; }
.ser__shellhead { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.ser__count { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.ser__bar { height: 2px; background: var(--line); margin: 14px 0 clamp(26px, 5vh, 52px); overflow: hidden; border-radius: 2px; }
.ser__bar span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .35s var(--ease); }
.ser__qtext { margin: 0; font-family: var(--f-serif); font-size: clamp(1.55rem, 1.2rem + 1.6vw, 2.5rem); line-height: 1.22; color: var(--deep); min-height: 3.6em; }
.ser__qtext:focus { outline: none; }
.ser__opts { display: grid; gap: 8px; margin-top: clamp(20px, 3vh, 34px); }
.ser__opt { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 10px 18px; text-align: left; border-radius: 10px; border: 1px solid rgba(11,58,99,.16); background: #FFFDF9; font: inherit; font-size: 1.02rem; color: var(--ink); cursor: pointer; transition: border-color .2s, background-color .25s, color .25s; }
.ser__opt:hover { border-color: var(--gold); }
.ser__radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold-ink); flex: none; position: relative; transition: border-color .2s; }
.ser__opt[aria-checked="true"] { background: var(--deep); color: var(--ivory); border-color: var(--deep); }
.ser__opt[aria-checked="true"] .ser__radio { border-color: var(--gold); }
.ser__opt[aria-checked="true"] .ser__radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--gold); }
.ser__qwrap.is-in .ser__qtext, .ser__qwrap.is-in .ser__opts { animation: serIn .3s var(--ease) both; }
.ser__qwrap.is-in .ser__opts { animation-delay: .05s; }
@keyframes serIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ser__pause { min-height: min(620px, calc(100svh - 70px)); display: flex; align-items: center; }
.ser__pause .wrap { width: 100%; }
.ser__pausetext .statement { margin: 0 0 6px; color: var(--on-deep); }
.ser__pausetext:focus { outline: none; }
.ser__processing { min-height: min(560px, calc(100svh - 70px)); display: flex; align-items: center; }
.ser__dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); margin-bottom: 26px; }
@media (prefers-reduced-motion: no-preference) { .ser__dot { animation: serBreath 1.6s ease-in-out infinite; } }
@keyframes serBreath { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.8); opacity: 1; } }

.ser__overview { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1000px) { .ser__overview { grid-template-columns: 1fr 1fr; } }
.ser__legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0; font-size: var(--t-xs); color: var(--on-deep-soft); }
.ser__legend li { display: flex; align-items: center; gap: 8px; }
.ser__pill { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold-ink); background: transparent; }
.depth .ser__pill { color: var(--on-deep); }
.ser__pill--1 { background: rgba(228,161,27,.14); }
.ser__pill--2 { background: rgba(228,161,27,.38); color: var(--night); }
.ser__pill--3 { background: var(--gold); color: var(--night); }
.depth .ser__pill--2, .depth .ser__pill--3 { color: var(--night); }
.ser__cards { list-style: none; display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .ser__cards { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
@media (min-width: 1150px) { .ser__cards { grid-template-columns: repeat(3, 1fr); } }
.ser__card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.ser__cardhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ser__card h3 { font-family: var(--f-serif); font-size: 1.35rem; color: var(--deep); line-height: 1.15; }
.ser__score { font-family: var(--f-serif); font-size: 2rem; font-weight: 700; color: var(--deep); font-variant-numeric: lining-nums tabular-nums; }
.ser__meter { height: 4px; background: var(--line); border-radius: 2px; margin: 10px 0 12px; overflow: hidden; }
.ser__meter span { display: block; height: 100%; width: var(--v); background: var(--gold); border-radius: 2px; }
.ser__cardmeta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.ser__flag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--deep); border-bottom: 2px solid var(--orange); }
.ser__flag--res { border-bottom-color: var(--gold); }
.ser__card p { margin: 0 0 8px; color: var(--ink-soft); }
.ser__concept { font-family: var(--f-serif); font-style: italic; color: var(--blue) !important; font-size: .98rem; }
.ser__card.is-obs h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: .2em; }
.ser__pair { display: grid; gap: 48px; }
@media (min-width: 900px) { .ser__pair { grid-template-columns: 1fr 1fr; gap: 72px; } }
.ser__label { font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin: 0 0 12px; }
.depth .ser__label { color: var(--gold); }
.ser__dimname { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.8rem, 1.3rem + 2vw, 3rem); line-height: 1.02; color: var(--deep); margin: 0 0 14px; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 3px; text-underline-offset: .16em; }
.ser__dimname--res { text-decoration-color: var(--gold); }
.ser__invite { font-family: var(--f-serif); font-style: italic; font-size: var(--t-lg); color: var(--blue); border-left: 1px solid var(--gold); padding-left: 18px; }
.ser__tension { color: var(--deep); margin: 0 0 14px; }
.ser__resp .lead { color: var(--on-deep); }
.ser__quote { font-family: var(--f-serif); font-style: italic; color: var(--gold); font-size: var(--t-lg); margin-top: 18px; }
.ser__care { border-block: 1px solid var(--line); background: var(--sand); }
.ser__caretitle { font-family: var(--f-serif); font-size: var(--t-xl); color: var(--deep); margin-bottom: 10px; }
.ser__questions { padding-left: 1.3em; display: grid; gap: 14px; }
.ser__questions li { font-family: var(--f-serif); font-size: var(--t-lg); color: var(--deep); line-height: 1.4; padding-left: 6px; }
.ser__questions li::marker { color: var(--gold-ink); font-family: var(--f-sans); font-size: .9rem; }
.ser__practice { margin-top: 0; padding: clamp(24px, 3vw, 36px); }
.ser__practicetitle { font-family: var(--f-serif); font-size: 1.6rem; color: var(--on-deep); margin: 4px 0 2px; }
.ser__steps { list-style: none; counter-reset: s; display: grid; gap: 14px; margin-top: 18px; }
.ser__steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 4px 10px; }
.ser__steps li::before { content: counter(s); grid-row: span 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-size: .82rem; font-weight: 600; }
.ser__steps b { color: var(--on-deep); font-family: var(--f-serif); font-size: 1.1rem; }
.ser__steps span { color: var(--on-deep-soft); font-size: .95rem; }
body:has(.ser[data-current="question"]) .wa, body:has(.ser[data-current="pause"]) .wa, body:has(.ser[data-current="processing"]) .wa { display: none; }
.crp-subnav--tests { position: static; }
.ser__dimname { overflow-wrap: anywhere; hyphens: auto; } @media (max-width: 600px) { .ser__dimname { font-size: 1.55rem; } .ser__card h3 { font-size: 1.2rem; } }
.ser__dimname { font-size: clamp(1.55rem, 1rem + 1.6vw, 2.3rem); overflow-wrap: break-word; }

/* ===== Sección Test (v13): pestañas claras + índice de tests ===== */
.crp-subnav--tests { position: static; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.crp-subnav--tests .crp-subnav__inner { padding-block: 14px; gap: 8px; align-items: center; }
.tests-tabs__label { font-size: var(--t-xs); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin-right: 8px; }
.crp-subnav--tests a { border: 1px solid rgba(11,58,99,.25); font-size: .8rem; padding: 9px 16px; text-transform: none; letter-spacing: .01em; }
.crp-subnav--tests a[aria-current="page"] { background: var(--deep); border-color: var(--deep); color: var(--ivory); box-shadow: inset 0 -3px 0 var(--gold); }
@media (max-width: 640px) {
  .crp-subnav--tests .crp-subnav__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-block: 12px; overflow: visible; }
  .tests-tabs__label { display: none; }
  .crp-subnav--tests a { white-space: normal; text-align: center; justify-content: center; display: flex; align-items: center; min-height: 44px; padding: 8px 10px; font-size: .78rem; line-height: 1.25; }
  .crp-subnav--tests a:last-child { grid-column: 1 / -1; }
}
.tests-hub .breadcrumbs { margin-bottom: 18px; }
.tests-hub__lead { max-width: 46em; }
.tests-hub__list { list-style: none; display: grid; gap: 16px; margin: 36px 0 0; padding: 0; }
.tests-hub__card { position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 26px 24px 24px; background: #fff; border: 1px solid rgba(11,58,99,.16); border-top: 3px solid var(--gold); border-radius: 4px; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.tests-hub__card:hover, .tests-hub__card:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7,30,53,.12); border-color: rgba(11,58,99,.3); border-top-color: var(--gold); }
.tests-hub__num { font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--gold); }
.tests-hub__meta { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.tests-hub__card h2 { font-family: var(--f-serif); font-size: 1.4rem; line-height: 1.2; color: var(--deep); margin: 0; }
.tests-hub__card p { margin: 0 0 14px; color: var(--ink-soft); }
.tests-hub__card .btn { margin-top: auto; align-self: flex-start; min-height: 46px; padding: 10px 22px; }
.tests-hub__quick { margin: 28px 0 0; color: var(--ink-soft); }
.tests-hub__quick a { color: var(--deep); font-weight: 600; }
@media (min-width: 700px) { .tests-hub__list { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1150px) { .tests-hub__list { grid-template-columns: repeat(4, 1fr); } }
.brujula-hero .page-hero__grid { align-items: center; }
.brujula-hero figure img { max-height: 540px; width: 100%; object-fit: cover; object-position: 50% 15%; }
.brujula-hero .btn-row { align-items: center; gap: 16px; }

/* ===== Biblioteca del Ser (v14) ===== */
.field__hint { font-size: var(--t-xs); color: var(--ink-soft); }
.bform { margin-top: 18px; max-width: none; }
.bform__tel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px; }
.bform__tel select.input { padding-right: 8px; font-size: .92rem; }
.bform__intent { border: 0; padding: 0; margin: 0; }
.bform__intent .choices { gap: 8px; margin-top: 4px; }
.bform__intent .choice span { min-height: 40px; padding: 8px 14px; font-size: .84rem; }
.bform__alt { margin: 0; color: var(--ink-soft); }
.bform__alt .textlink, .bgate .textlink { font-size: inherit; }
@media (max-width: 420px) { .bform__tel { grid-template-columns: 1fr; } }

/* Ventana de registro antes del resultado */
html.has-bgate { overflow: hidden; }
.bgate { position: fixed; inset: 0; z-index: 200; background: rgba(7, 30, 53, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: clamp(12px, 4vh, 48px) 12px; animation: bgateIn .35s var(--ease) both; }
@keyframes bgateIn { from { opacity: 0; } to { opacity: 1; } }
.bgate__panel { width: min(640px, 100%); background: var(--ivory); color: var(--ink); border-radius: 8px; border-top: 4px solid var(--gold);
  padding: clamp(22px, 4vw, 40px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); margin: auto 0; }
.bgate__panel h2 { color: var(--deep); margin-top: 6px; }
.bgate__lead { margin: 12px 0 0; color: var(--ink-soft); line-height: 1.6; }
.bgate__later { margin: 14px 0 0; text-align: center; }
.bgate-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 150; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between;
  max-width: 760px; margin: 0 auto; padding: 14px 16px 14px 22px; background: var(--night); color: var(--on-deep); border-radius: 10px; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); }
.bgate-bar p { margin: 0; font-size: var(--t-sm); }
.bnotice { position: fixed; left: 12px; right: 12px; top: 84px; z-index: 210; max-width: 620px; margin: 0 auto; display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 14px 14px 18px; background: var(--ivory); color: var(--ink); border: 1px solid rgba(11,58,99,.2); border-left: 4px solid var(--gold); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(7,30,53,.45); }
.bnotice p { margin: 0; font-size: var(--t-sm); line-height: 1.5; }
.bnotice__x { flex: none; background: none; border: 0; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--deep); min-width: 32px; min-height: 32px; }
body:has(.bgate) .wa, body:has(.bgate-bar) .wa { display: none; }

/* Página biblioteca.html */
.bib[data-state="loading"] { min-height: 70vh; }
.bib-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .bib-hero__grid { grid-template-columns: 1.25fr .9fr; gap: 64px; } }
.bib-hero h1 .script { text-transform: none; }
.bib-inside { background: #fff; border: 1px solid rgba(11,58,99,.14); border-top: 3px solid var(--gold); border-radius: 6px; padding: 26px 24px; }
.bib-inside__h { font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); font-family: var(--f-sans, inherit); margin: 0 0 8px; }
.bib-inside__list { list-style: none; margin: 0; padding: 0; }
.bib-inside__list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.bib-inside__list li:last-child { border-bottom: 0; }
.bib-inside__list b { display: block; color: var(--deep); font-family: var(--f-serif); font-size: 1.08rem; line-height: 1.25; }
.bib-inside__list span:not([aria-hidden]) { display: block; font-size: var(--t-sm); color: var(--ink-soft); margin-top: 2px; }
.bib-lock, .bib-open, .bib-soon { width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; display: inline-block; position: relative; }
.bib-lock { background: var(--deep); }
.bib-lock::after { content: ""; position: absolute; left: 7px; top: 10px; width: 10px; height: 8px; border-radius: 2px; background: var(--gold); box-shadow: 0 -5px 0 -2px transparent; }
.bib-lock::before { content: ""; position: absolute; left: 8px; top: 5px; width: 6px; height: 7px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 5px 5px 0 0; }
.bib-open { border: 2px solid var(--gold); }
.bib-soon { border: 2px dashed rgba(11,58,99,.35); }
.bib-reg__grid { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .bib-reg__grid { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.bib-reg__points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.bib-reg__points li { position: relative; padding-left: 26px; color: var(--on-deep-soft); line-height: 1.55; }
.bib-reg__points li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1px; background: var(--gold); }
.bib-reg__card { background: var(--ivory); color: var(--ink); border-radius: 8px; padding: clamp(20px, 3.4vw, 36px); box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); }
.bib-reg__card .bform { margin-top: 0; }
.bib-reg__card .textlink { color: var(--deep); }
.bib-reg__card .btn { --b-bg: var(--deep); --b-fg: var(--ivory); --b-bd: var(--deep); }
.bib-reg__card .btn--gold { --b-bg: var(--gold); --b-fg: var(--night); --b-bd: var(--gold); }
.bib-reg__card .lead { color: var(--ink-soft); }
.bib-reg__card .eyebrow { color: var(--gold-ink); }
.bib-reg__card :focus-visible { outline-color: var(--deep); }
.bib-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bib-jump a { padding: 8px 16px; border: 1px solid rgba(11,58,99,.25); border-radius: var(--radius-pill); text-decoration: none; color: var(--deep); font-size: .82rem; font-weight: 600; }
.bib-jump a:hover { background: var(--deep); color: var(--ivory); }
.bib-demo { margin-top: 14px; padding: 10px 14px; border: 1px dashed var(--gold); border-radius: 6px; display: inline-block; }
.bib-sec .display { margin-bottom: 0; }
.bib-book { display: grid; gap: 28px; align-items: center; margin-top: 28px; background: #fff; border: 1px solid rgba(11,58,99,.14); border-radius: 6px; padding: clamp(20px, 3vw, 32px); }
@media (min-width: 720px) { .bib-book { grid-template-columns: 180px 1fr; } }
.bib-book__cover { transform: none; width: 180px; padding: 18px 16px; }
.bib-book__cover .book__title { font-size: 1.15rem; margin-top: 12px; }
.bib-book__cover .book__title .script { font-size: 1.6rem; }
.bib-book__cover .book__author { margin-top: auto; font-size: .55rem; }
.bib-book__title { font-family: var(--f-serif); color: var(--deep); font-size: 1.5rem; margin: 4px 0 10px; }
.bib-book .btn-row { align-items: center; gap: 14px; }
.bib-card__meta { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); margin: 0; }
.bib-pill { display: inline-block; padding: 6px 14px; border-radius: var(--radius-pill); background: var(--sand); border: 1px solid var(--gold); color: var(--gold-ink); font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.bib-tests { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .bib-tests { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.bib-test { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid rgba(11,58,99,.16); border-top: 3px solid rgba(11,58,99,.2); border-radius: 4px; padding: 22px 22px 20px; }
.bib-test.is-done { border-top-color: var(--gold); }
.bib-test h3 { font-family: var(--f-serif); color: var(--deep); font-size: 1.3rem; margin: 0; }
.bib-test p { margin: 0; color: var(--ink-soft); }
.bib-test__done { color: var(--deep) !important; font-weight: 600; font-size: var(--t-sm); margin-top: 8px !important; }
.bib-test__done::before { content: "✓ "; color: var(--gold-ink); }
.bib-test__todo { font-size: var(--t-sm); margin-top: 8px !important; }
.bib-test .btn-row { margin-top: 12px; align-items: center; gap: 14px; }
.bib-test__older { margin-top: 10px; font-size: var(--t-sm); }
.bib-test__older summary { cursor: pointer; color: var(--deep); }
.bib-articles { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--gold); }
.bib-articles a { display: block; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--deep); font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.3; }
.bib-articles a:hover { color: var(--gold-ink); }
.bib-articles span { display: block; font-family: inherit; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); margin-bottom: 4px; font-family: var(--f-sans, Montserrat, sans-serif); font-weight: 600; }
.bib-soonbox { border: 1px dashed rgba(11,58,99,.3); border-radius: 6px; padding: 22px 24px; }
.bib-soonlist { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 12px; padding: 0; }
.bib-soonlist li { padding: 7px 14px; border-radius: var(--radius-pill); background: var(--ivory); border: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-soft); }
.bib-data { display: grid; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--gold); }
.bib-data div { display: grid; grid-template-columns: minmax(120px, .5fr) 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.bib-data dt { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.bib-data dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.bib-danger { color: #8A1C15 !important; }
.bib-sent { padding: 8px 0; }
.bib-welcome { position: fixed; inset: 0; z-index: 220; display: grid; place-items: center; text-align: center; padding: 24px;
  background: radial-gradient(120% 90% at 50% 0%, #0F4677 0%, var(--deep) 45%, var(--night) 100%); color: var(--on-deep); opacity: 0; transition: opacity .4s var(--ease); }
.bib-welcome.is-in { opacity: 1; }
.bib-welcome .eyebrow { color: var(--gold); justify-content: center; }
.bib-welcome__h { font-family: var(--f-serif); font-weight: 700; font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); line-height: 1.1; margin: 14px 0 0; }
.bib-welcome__s { font-size: 1.1rem; color: var(--on-deep-soft); margin: 12px 0 0; }
.bib-note { margin: 12px 0 0; font-size: var(--t-sm); color: var(--ink-soft); }
.depth .bib-note { color: var(--on-deep-soft); }
.bib-reg__points--light li { color: var(--ink-soft); }
.ebook .btn-row { align-items: center; gap: 18px; }
button.textlink { background: none; border: 0; border-bottom: 1px solid var(--gold); border-radius: 0; padding: 0 0 3px; font: inherit; font-weight: 600; color: var(--deep); cursor: pointer; }
.bib-hero h1 .script { font-size: 1.25em; line-height: .8; }

/* ===== Ecosistema de conferencias y talleres (v15) ===== */
.prog-grid { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 700px) { .prog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1100px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } .prog-grid--2 { grid-template-columns: repeat(2, 1fr); } }
.prog-card a { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 24px 24px 22px; background: #fff; border: 1px solid rgba(11,58,99,.16); border-top: 3px solid var(--gold); border-radius: 4px; color: inherit; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.prog-card a:hover, .prog-card a:focus-visible { transform: translateY(-3px); box-shadow: 0 16px 36px -18px rgba(7,30,53,.35); }
.prog-card__type { align-self: flex-start; font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--sand); color: var(--gold-ink); border: 1px solid rgba(228,161,27,.5); }
.prog-card__type--conferencias { background: var(--deep); color: var(--ivory); border-color: var(--deep); }
.prog-card__type--formacion { background: transparent; color: var(--deep); border-color: var(--deep); }
.prog-card__title { font-family: var(--f-serif); font-weight: 700; font-size: 1.45rem; line-height: 1.15; color: var(--deep); margin: 6px 0 0; }
.prog-card__sub { margin: 0; font-family: var(--f-serif); font-style: italic; color: var(--gold-ink); font-size: 1.05rem; }
.prog-card__text { margin: 4px 0 0; color: var(--ink-soft); line-height: 1.55; }
.prog-card__meta { margin: 8px 0 14px; display: grid; gap: 6px; font-size: var(--t-sm); }
.prog-card__meta div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; }
.prog-card__meta dt { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; padding-top: 2px; }
.prog-card__meta dd { margin: 0; color: var(--ink); }
.prog-card .textlink { margin-top: auto; align-self: flex-start; }
.prog-grid--deep .prog-card a { box-shadow: 0 20px 50px -30px rgba(0,0,0,.6); }
.talleres-otros__h { font-family: var(--f-serif); font-size: var(--t-xl); margin: 56px 0 0; color: var(--on-deep); }
.conf-cat { padding-top: clamp(48px, 6vw, 90px); }

/* Página de programa */
.prog-hero__title { margin-bottom: 0; }
.prog-hero__sub { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 1rem + 1.4vw, 2rem); color: var(--gold-ink); margin: 10px 0 0; }
.prog-hero__lead { max-width: 44em; }
.prog-facts { display: grid; gap: 0; margin: 30px 0 0; border-top: 1px solid var(--gold); max-width: 900px; }
.prog-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .prog-facts { grid-template-columns: repeat(4, 1fr); } .prog-facts div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px 14px 0; } .prog-facts div + div { padding-left: 18px; border-left: 1px solid var(--line); } }
.prog-facts dt { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.prog-facts dd { margin: 0; color: var(--deep); font-weight: 600; }
.prog-mods { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-deep); }
.prog-mod { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line-deep); }
@media (min-width: 900px) { .prog-mod { grid-template-columns: 120px 1fr; gap: 32px; } }
.prog-mod__n { font-family: var(--f-serif); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); color: var(--gold); line-height: 1; }
.prog-mods--blocks .prog-mod__n { font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; padding-top: 8px; }
.prog-mod__t { font-family: var(--f-serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.15; margin: 0; color: var(--on-deep); }
.prog-mod__k { margin: 6px 0 0; color: var(--gold); font-size: var(--t-sm); letter-spacing: .04em; }
.prog-mod__purpose { margin: 14px 0 0; color: var(--on-deep); max-width: 46em; line-height: 1.6; }
.prog-mod__purpose b { color: var(--gold); font-weight: 600; }
.prog-mod__list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; max-width: 48em; }
.prog-mod__list li { position: relative; padding-left: 22px; color: var(--on-deep-soft); line-height: 1.6; }
.prog-mod__list li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 1px; background: var(--gold); }
.prog-mod__groups { display: grid; gap: 22px; margin-top: 14px; }
@media (min-width: 900px) { .prog-mod__groups { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.prog-mod__groups h4 { margin: 0; font-size: var(--t-sm); letter-spacing: .06em; color: var(--on-deep); font-weight: 600; }
.prog-mod__groups .prog-mod__list { margin-top: 10px; }
.prog-formula { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 900px) { .prog-formula { grid-template-columns: repeat(4, 1fr); gap: 0; } .prog-formula li + li { border-left: 0; } .prog-formula li:not(:last-child)::after { content: "+"; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--night); display: grid; place-items: center; font-weight: 700; z-index: 1; } }
.prog-formula li { position: relative; padding: 22px 24px; border: 1px solid rgba(11,58,99,.2); background: #fff; font-family: var(--f-serif); font-size: 1.3rem; color: var(--deep); line-height: 1.2; }
.prog-formula li span { display: block; font-family: var(--f-sans); font-size: var(--t-xs); letter-spacing: .16em; color: var(--gold-ink); font-weight: 600; margin-bottom: 8px; }
.prog-mira { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .prog-mira { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.prog-mira li { display: grid; grid-template-columns: auto 1fr; gap: 16px; padding: 24px; background: #fff; border: 1px solid rgba(11,58,99,.16); border-radius: 4px; }
.prog-mira__l { font-family: var(--f-serif); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--gold); min-width: 1.4em; }
.prog-mira h3 { font-family: var(--f-serif); font-size: 1.25rem; color: var(--deep); margin: 4px 0 8px; }
.prog-mira p { margin: 0; color: var(--ink-soft); line-height: 1.6; }
.prog-levels { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; counter-reset: lv; }
.prog-levels li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; padding: 14px 18px; background: #fff; border: 1px solid rgba(11,58,99,.14); border-radius: 4px; font-family: var(--f-serif); font-size: 1.2rem; color: var(--deep); }
.prog-levels li:nth-child(2) { margin-left: 4%; } .prog-levels li:nth-child(3) { margin-left: 8%; } .prog-levels li:nth-child(4) { margin-left: 12%; } .prog-levels li:nth-child(5) { margin-left: 16%; background: var(--deep); color: var(--ivory); }
.prog-levels span { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--f-sans); font-size: .9rem; color: var(--gold-ink); }
.prog-levels li:nth-child(5) span { background: var(--gold); color: var(--night); }
@media (max-width: 600px) { .prog-levels li { margin-left: 0 !important; } }
.prog-quote__q { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); color: var(--deep); line-height: 1.35; }
.prog-path { display: grid; gap: 24px; margin-top: 28px; }
@media (min-width: 800px) { .prog-path { grid-template-columns: 1fr 1fr; gap: 40px; } }
.prog-path__h { font-size: var(--t-xs); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin: 0 0 10px; }
.prog-path ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--gold); }
.prog-path a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--deep); }
.prog-path a b { display: block; font-family: var(--f-serif); font-size: 1.2rem; }
.prog-path a span { display: block; color: var(--ink-soft); font-size: var(--t-sm); margin-top: 4px; }
.prog-path a:hover b { color: var(--gold-ink); }

/* Hub del ecosistema */
.eco-hero .script { text-transform: none; }
.eco-map { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
@media (min-width: 1000px) { .eco-map { grid-template-columns: repeat(4, 1fr); gap: 0 28px; } .eco-map::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: linear-gradient(90deg, var(--gold), rgba(228,161,27,.3)); } }
.eco-stage { position: relative; padding: 0 0 34px 64px; }
@media (max-width: 999px) { .eco-stage::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 1px; background: var(--gold); opacity: .6; } .eco-stage:last-child::before { display: none; } }
@media (min-width: 1000px) { .eco-stage { padding: 66px 0 0; } }
.eco-stage__n { position: absolute; left: 0; top: 0; width: 45px; height: 45px; border-radius: 50%; border: 1px solid var(--gold); background: var(--night); color: var(--gold); display: grid; place-items: center; font-family: var(--f-serif); font-size: 1.2rem; z-index: 1; }
.eco-stage:last-child .eco-stage__n { background: var(--gold); color: var(--night); }
.eco-stage__k { margin: 0; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.eco-stage h3 { font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: var(--t-xl); margin: 6px 0 0; color: var(--on-deep); }
.eco-stage__d { margin: 8px 0 0; color: var(--on-deep-soft); line-height: 1.55; }
.eco-stage__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.eco-stage__list a { color: var(--on-deep); text-decoration: none; border-bottom: 1px solid rgba(228,161,27,.5); padding-bottom: 2px; font-size: var(--t-sm); line-height: 1.5; }
.eco-stage__list a:hover { color: var(--gold); }
.eco-routes { margin-top: 16px; min-height: 0; }
.eco-route { margin: 0; padding: 14px 18px; background: var(--sand); border-left: 3px solid var(--gold); border-radius: 4px; line-height: 1.7; }
.eco-route__k { font-size: var(--t-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; margin-right: 6px; }
.eco-route a { color: var(--deep); font-weight: 600; }
.eco-threads { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .eco-threads { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1200px) { .eco-threads { grid-template-columns: repeat(4, 1fr); } }
.eco-thread { padding: 22px 22px 18px; background: var(--ivory); border: 1px solid var(--line); border-radius: 4px; }
.eco-thread h3 { font-family: var(--f-serif); color: var(--deep); font-size: 1.3rem; margin: 0; }
.eco-thread p { margin: 8px 0 12px; color: var(--ink-soft); line-height: 1.55; }
.eco-thread ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.eco-thread a { color: var(--deep); font-size: var(--t-sm); text-decoration: none; border-bottom: 1px solid rgba(228,161,27,.6); }
.bib-book + .bib-book { margin-top: 18px; }
.bib-guide__cover { background: radial-gradient(120% 80% at 80% 0%, #145091 0%, var(--deep) 45%, var(--night) 100%); }
.bib-guide__n { display: block; font-size: 2.2rem; color: var(--gold); line-height: .9; }
.author-box { margin: 2.4em 0 0; padding: 22px 24px; border-top: 1px solid var(--gold); background: var(--sand); border-radius: 0 0 4px 4px; }
.author-box__name { font-family: var(--f-serif); font-weight: 700; color: var(--deep); font-size: 1.2rem; margin: 0 0 8px; }
.author-box ul { margin: 0; padding-left: 1.1em; font-size: .98rem; color: var(--ink-soft); }
.bib-guide__cover::before { top: 74%; }


/* ===== v16 · Optimización visual ===== */
/* Modo revisión: el material interno solo se ve con ?revision=1 */
.tag-validate { display: none !important; }
p:has(> .tag-validate:first-child) { display: none; }
.needs-content { display: none; }
html.is-review .tag-validate { display: inline-block !important; }
html.is-review p:has(> .tag-validate:first-child) { display: block; }
html.is-review .needs-content { display: block; }
.review-bar { position: fixed; left: 12px; bottom: 12px; z-index: 300; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 999px; background: #8A5D06; color: #fff; font-size: .78rem; font-weight: 600; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }
.review-bar a { color: #fff; }

/* Ritmo: menos recorrido vacío en celular, pie más discreto */
.horizon { height: clamp(56px, 14vw, 200px); }
@media (max-width: 700px) { :root { --section: 60px; } }
.site-footer__phrase { font-size: clamp(1.45rem, 1rem + 1.7vw, 2.5rem); max-width: 22em; }

/* Inicio · tres puertas */
.doors { padding-top: clamp(56px, 7vw, 110px); }
.doors__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 800px) { .doors__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.door { position: relative; display: grid; grid-template-rows: auto auto auto 1fr auto; height: 100%; text-decoration: none; color: inherit; background: #fff; border: 1px solid rgba(11,58,99,.14); border-radius: 6px; overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.door:hover, .door:focus-visible { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(7,30,53,.45); }
.door img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 18%; display: block; }
.door__n { margin: 20px 24px 0; font-family: var(--f-serif); color: var(--gold); font-size: 1.1rem; }
.door__t { margin: 4px 24px 0; font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.05; color: var(--deep); }
.door__d { margin: 10px 24px 0; color: var(--ink-soft); line-height: 1.55; }
.door__go { margin: 18px 24px 22px; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--deep); border-bottom: 1px solid var(--gold); justify-self: start; padding-bottom: 4px; }
@media (max-width: 799px) { .door { grid-template-columns: 112px 1fr; grid-template-rows: auto auto 1fr auto; } .door img { grid-row: 1 / -1; height: 100%; aspect-ratio: auto; } .door__n { margin: 16px 16px 0; } .door__t { margin: 2px 16px 0; font-size: 1.3rem; } .door__d { margin: 6px 16px 0; font-size: .95rem; } .door__go { margin: 10px 16px 14px; font-size: .86rem; } }

/* Preguntas frecuentes en acordeón */
.faq { margin-top: 28px; border-top: 1px solid var(--gold); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; align-items: center; padding: 20px 0; font-family: var(--f-serif); font-size: 1.3rem; color: var(--deep); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; font-family: var(--f-sans); color: var(--gold-ink); transition: transform .25s; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0 0 22px; color: var(--ink-soft); line-height: 1.7; max-width: 40em; }

/* Módulos de programa en acordeón */
.prog-mod { display: block; padding: 0; }
.prog-mod details > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 64px 1fr 36px; gap: 18px; align-items: start; padding: 28px 0; }
@media (min-width: 900px) { .prog-mod details > summary { grid-template-columns: 120px 1fr 40px; gap: 32px; } }
.prog-mod details > summary::-webkit-details-marker { display: none; }
.prog-mod__head { display: grid; gap: 6px; }
.prog-mod__head .prog-mod__purpose { display: block; margin-top: 8px; }
.prog-mod__toggle { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--gold); position: relative; margin-top: 4px; }
.prog-mod__toggle::before, .prog-mod__toggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--gold); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.prog-mod__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.prog-mod details[open] .prog-mod__toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.prog-mod details > summary:hover .prog-mod__t { color: var(--gold); }
.prog-mod details > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.prog-mod__body { padding: 0 0 30px calc(64px + 18px); }
@media (min-width: 900px) { .prog-mod__body { padding-left: calc(120px + 32px); padding-right: 72px; } }
@media (max-width: 600px) { .prog-mod__body { padding-left: 0; } }
.prog-mod__body > .prog-mod__list:first-child, .prog-mod__body > .prog-mod__groups:first-child { margin-top: 0; }

/* Ecosistema: hilos plegados */
.eco-more { margin-top: 24px; }
.eco-more > summary { cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--deep); border-bottom: 1px solid var(--gold); padding-bottom: 4px; list-style: none; }
.eco-more > summary::-webkit-details-marker { display: none; }
.eco-more > summary::after { content: "+"; color: var(--gold-ink); }
.eco-more[open] > summary::after { content: "−"; }

/* Qué es CRP®: estrategias como selector */
.has-strat-tabs .strategy[hidden] { display: none; }
.has-strat-tabs .strategy { border-bottom: 0; }
.strategy__next { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; grid-column: 1 / -1; }
.display--h1 { font-size: var(--t-3xl); }

/* ===== v17 · Programas con banners e introducción al clic ===== */
.pbanners { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 28px; }
@media (min-width: 760px) { .pbanners { grid-template-columns: repeat(2, 1fr); gap: 32px 28px; } }
.pbanner { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 24px 50px -30px rgba(7,30,53,.45), 0 0 0 1px rgba(11,58,99,.08); transition: transform .3s var(--ease), box-shadow .3s; }
.pbanner:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(7,30,53,.55), 0 0 0 1px rgba(228,161,27,.35); }
.pbanner[hidden] { display: none; }
.pbanner__link { display: block; position: relative; aspect-ratio: 3 / 1; overflow: hidden; background: #FBF1E2; }
.pbanner__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pbanner__link:hover .pbanner__img, .pbanner__link:focus-visible .pbanner__img { transform: scale(1.025); }
.pbanner__link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.pbanner__bar { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 16px 20px 18px; border-top: 1px solid rgba(228,161,27,.35); }
.pbanner__bar .prog-card__type { grid-row: 1; }
.pbanner__name { grid-column: 2; margin: 0; font-family: var(--f-serif); font-size: 1.08rem; color: var(--deep); line-height: 1.25; }
.pbanner__meta { grid-column: 1 / -1; font-size: var(--t-sm); color: var(--ink-soft); }
.pbanner__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 6px; }
.pbanner__info { min-height: 44px; padding: 10px 20px; font-size: .88rem; }
.pbanners--deep .pbanner { box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
.pbanners--deep .pbanner .textlink { color: var(--deep); }

/* Banner en HTML para los programas sin imagen propia (misma estética, escala con su ancho) */
.pbanner__html { container-type: inline-size; position: absolute; inset: 0; display: grid; grid-template-columns: 62% 38%;
  background: radial-gradient(80% 120% at 85% 60%, #F3D7B0 0%, rgba(243,215,176,0) 60%), linear-gradient(100deg, #FFF8EE 0%, #FCEFDD 60%, #F6E3C7 100%); color: var(--deep); }
.pbanner__copy { padding: 6cqi 0 0 5cqi; display: flex; flex-direction: column; align-items: flex-start; gap: .9cqi; }
.pbanner__rule { width: 5cqi; height: .3cqi; min-height: 1px; background: var(--gold); }
.pbanner__rule--short { width: 9cqi; margin-top: .4cqi; }
.pbanner__title { font-family: var(--f-serif); font-weight: 700; font-size: 5.2cqi; line-height: 1.02; letter-spacing: -.01em; }
.pbanner__sub { font-family: var(--f-serif); font-size: 2.6cqi; line-height: 1.1; color: var(--deep); }
.pbanner__text { font-size: 1.55cqi; line-height: 1.4; color: var(--ink-soft); max-width: 46cqi; }
.pbanner__facts { display: flex; gap: 3cqi; margin-top: .6cqi; }
.pbanner__fact { display: flex; gap: 1.2cqi; align-items: center; font-size: 1.35cqi; line-height: 1.3; max-width: 22cqi; }
.pbanner__fact b { display: block; color: var(--gold-ink); font-weight: 500; }
.pbanner__ico { flex: none; width: 4.4cqi; height: 4.4cqi; border-radius: 50%; background: rgba(228,161,27,.16); display: grid; place-items: center; }
.pbanner__ico svg { width: 55%; height: 55%; fill: none; stroke: var(--gold-ink); stroke-width: 1.6; }
.pbanner__btn { margin-top: 1.2cqi; padding: 1.2cqi 3cqi; border-radius: 99cqi; background: var(--deep); color: var(--ivory); font-family: var(--f-serif); font-size: 1.7cqi; }
.pbanner__photo { position: relative; overflow: hidden; }
.pbanner__photo::before { content: ""; position: absolute; left: -10%; top: 8%; width: 110%; aspect-ratio: 1; border-radius: 50%; background: rgba(243,215,176,.7); }
.pbanner__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.pbanner__curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pbanner__curve path { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: .8; }

/* Diálogo «Solicitar información» */
html.has-pinfo { overflow: hidden; }
.pinfo { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 12px; border-top: 4px solid var(--gold); background: var(--ivory); color: var(--ink); box-shadow: 0 40px 90px -30px rgba(0,0,0,.6); }
.pinfo::backdrop { background: rgba(7,30,53,.7); backdrop-filter: blur(4px); }
.pinfo[open] { animation: pinfoIn .3s var(--ease) both; }
@keyframes pinfoIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.pinfo__close { position: sticky; top: 0; display: flex; justify-content: flex-end; padding: 10px 10px 0; margin: 0; }
.pinfo__close button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--deep); }
.pinfo__body { padding: 0 clamp(20px, 4vw, 40px) clamp(24px, 4vw, 36px); }
.pinfo__type { margin: 0; font-size: var(--t-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.pinfo__title { margin: 8px 0 0; font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); line-height: 1.08; color: var(--deep); outline: none; }
.pinfo__sub { margin: 6px 0 0; font-family: var(--f-serif); font-style: italic; font-size: 1.15rem; color: var(--gold-ink); }
.pinfo__lead { margin: 16px 0 0; color: var(--ink-soft); line-height: 1.65; }
.pinfo__facts { margin: 18px 0 0; display: grid; gap: 0; border-top: 1px solid var(--gold); }
.pinfo__facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pinfo__facts dt { font-size: var(--t-xs); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; padding-top: 2px; }
.pinfo__facts dd { margin: 0; color: var(--deep); font-weight: 600; }
.pinfo__h { margin: 20px 0 0; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); font-weight: 600; }
.pinfo__mods { margin: 10px 0 0; padding-left: 1.3em; display: grid; gap: 6px; color: var(--deep); font-family: var(--f-serif); font-size: 1.05rem; }
.pinfo__quote { margin: 18px 0 0; padding-left: 16px; border-left: 2px solid var(--gold); font-family: var(--f-serif); font-style: italic; color: var(--deep); line-height: 1.45; }
.pinfo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 24px; }
body:has(.pinfo[open]) .wa { display: none; }
/* ajuste: el banner en HTML cabe completo en su proporción 3:1 */
.pbanner__html .pbanner__text { display: none; }
.pbanner__copy { padding: 4.2cqi 0 0 5cqi; gap: .8cqi; }
.pbanner__title { font-size: 4.5cqi; }
.pbanner__sub { font-size: 2.3cqi; }
.pbanner__facts { margin-top: .4cqi; }
.pbanner__btn { margin-top: .8cqi; padding: 1cqi 2.8cqi; }
.pbanner__curve { z-index: 0; } .pbanner__photo, .pbanner__copy { position: relative; z-index: 1; }

/* ===== v18 · Programas organizados por formato + hero del ecosistema ===== */
.eco-hero2 { position: relative; overflow: hidden; min-height: clamp(560px, 46vw, 720px); display: flex; align-items: center;
  background: radial-gradient(60% 80% at 85% 40%, #F7E3C4 0%, rgba(247,227,196,0) 70%), linear-gradient(100deg, #FFF9F0 0%, #FDF3E4 55%, #F8E8D0 100%); }
.eco-hero2__visual { position: absolute; top: 0; right: 0; bottom: 0; width: 52%; margin: 0; }
.eco-hero2__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 14%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.eco-hero2__curves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eco-hero2__curves path { fill: none; stroke: var(--gold); stroke-width: 1.4; opacity: .85; }
.eco-hero2__curves path + path { stroke-width: .9; opacity: .5; }
.eco-hero2__copy { position: relative; z-index: 1; padding-block: clamp(110px, 10vw, 150px) clamp(64px, 7vw, 110px); }
.eco-hero2__copy > * { max-width: 620px; }
.eco-hero2__title { color: var(--deep); margin: 14px 0 0; font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); }
.eco-hero2__nb { display: block; }
.eco-hero2__title .script { text-transform: none; font-size: 1.25em; line-height: .8; }
.eco-hero2__lead { margin-top: 18px; max-width: 30em; color: var(--deep); }
@media (max-width: 899px) {
  .eco-hero2 { flex-direction: column; align-items: stretch; min-height: 0; }
  .eco-hero2__copy { padding-block: 104px 8px; }
  .eco-hero2__visual { position: relative; width: 100%; height: 62vw; max-height: 460px; order: 2; }
  .eco-hero2__visual img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%); mask-image: linear-gradient(180deg, transparent 0%, #000 26%); object-position: 50% 10%; }
}

.pgroup { margin-top: clamp(40px, 5vw, 64px); }
.pgroup[hidden] { display: none; }
.pgroup__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 24px; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.pgroup__title { margin: 0; font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: var(--deep); line-height: 1.05; }
.pgroup__text { grid-column: 1; margin: 0; color: var(--ink-soft); }
.pgroup__count { grid-column: 2; grid-row: 1 / span 2; align-self: end; font-size: var(--t-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-ink); }
.pgroup .pbanners { margin-top: 24px; }
@media (min-width: 760px) { .pbanners > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.pbanner__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 20px 16px; }
.pbanner__bar .prog-card__type { order: 0; }
.pbanner__meta { flex: 1 1 260px; font-size: var(--t-sm); color: var(--ink-soft); }
.pbanner__meta b { color: var(--gold-ink); font-weight: 600; font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; margin-right: 4px; }
.pbanner__actions { margin-top: 0; flex: none; }
@media (max-width: 759px) { .pbanner__actions { width: 100%; } }

/* =====================================================================
   v19 · Programas: hero «De la inspiración a la práctica» en alta resolución
   y banners con foto limpia + texto real (nada de texto incrustado en la imagen)
   ===================================================================== */
/* Hero de Programas: una sola portada editorial en dos zonas (texto · Marlene) */
.eco-hero3 { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--ivory); color: var(--deep); overflow: hidden; }
.eco-hero3__copy { position: relative; z-index: 1; padding: clamp(28px, 6vw, 44px) var(--gutter) 8px; }
.eco-hero3 .breadcrumbs { margin: 0 0 clamp(14px, 1.6vw, 22px); }
.eco-hero3__eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; font-size: var(--t-xs); font-weight: 600; letter-spacing: .24em; line-height: 1.6; text-transform: uppercase; color: var(--gold-ink); }
.eco-hero3__eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); flex: none; }
.eco-hero3__title { margin: .4em 0 0; font-family: var(--f-serif); font-weight: 700; text-transform: uppercase; letter-spacing: -.005em; line-height: 1.02; color: var(--deep); font-size: clamp(1.9rem, 1.1rem + 3.4vw, 2.8rem); }
.eco-hero3__nb { display: block; }
.eco-hero3__title .script { font-family: var(--f-script); font-weight: 400; text-transform: none; color: var(--gold); font-size: 1.32em; line-height: .7; letter-spacing: 0; padding-right: .04em; }
.eco-hero3__lead { margin: clamp(14px, 1.3vw, 20px) 0 0; max-width: 30em; font-size: clamp(1rem, .94rem + .25vw, 1.14rem); line-height: 1.6; color: var(--deep); }
.eco-hero3__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(20px, 2vw, 28px); }
.eco-hero3__media { position: relative; height: clamp(260px, 62vw, 460px); margin-top: 8px; }
.eco-hero3__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 18%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
@media (max-width: 479px) { .eco-hero3__actions .btn { flex: 1 1 100%; justify-content: center; } }
@media (min-width: 900px) {
  .eco-hero3 { grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); min-height: clamp(440px, 38vw, 600px); }
  .eco-hero3__copy { align-self: center; padding: clamp(40px, 4vw, 64px) clamp(8px, 1.5vw, 28px) clamp(40px, 4vw, 64px) max(var(--gutter), calc((100vw - var(--maxw)) / 2)); }
  .eco-hero3__title { font-size: clamp(2.2rem, 1rem + 2.35vw, 3.5rem); }
  .eco-hero3__media { height: auto; margin: 0; }
  .eco-hero3__media img { object-position: 73% center;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%); mask-image: linear-gradient(90deg, transparent 0, #000 13%); }
}
.eco-hero3 + .section { padding-top: clamp(40px, 4.4vw, 68px); }

/* ---- Banners de programas ---- */
.pbanners { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: clamp(22px, 2.6vw, 34px); }
@media (min-width: 760px) { .pbanners { grid-template-columns: 1fr; } }
.pb[hidden] { display: none; }
.pb__card { position: relative; isolation: isolate; overflow: hidden; border-radius: 18px; background: var(--ivory); color: var(--deep);
  box-shadow: 0 26px 60px -34px rgba(7,30,53,.5), 0 0 0 1px rgba(11,58,99,.07); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.pb__card:hover { transform: translateY(-3px); box-shadow: 0 34px 70px -34px rgba(7,30,53,.6), 0 0 0 1px rgba(228,161,27,.4); }
.pb__media { overflow: hidden; aspect-ratio: 16 / 10; }
.pb__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 80%) center; transition: transform .8s var(--ease); }
.pb__card:hover .pb__media img { transform: scale(1.02); }
.pb__copy { display: flex; flex-direction: column; align-items: flex-start; padding: 22px 22px 26px; }
.pb__type { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.pb__type::before { content: ""; width: 34px; height: 2px; background: var(--gold); flex: none; }
.pb__title { margin: 12px 0 0; font-family: var(--f-serif); font-weight: 700; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.55rem); line-height: 1.04; letter-spacing: -.01em; color: var(--deep); }
.pb__link { color: inherit; text-decoration: none; }
.pb__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pb__link:focus-visible { outline: none; }
.pb__card:has(.pb__link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 3px; }
.pb__sub { margin: 8px 0 0; font-family: var(--f-serif); font-size: clamp(1.08rem, .95rem + .5vw, 1.42rem); line-height: 1.2; color: var(--deep); }
.pb__sub::after { content: ""; display: block; width: 64px; height: 1px; margin-top: 14px; background: var(--gold); }
.pb__text { margin: 14px 0 0; max-width: 34em; font-size: .96rem; line-height: 1.55; color: var(--ink-soft); }
.pb__facts { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 18px 0 0; }
.pb__fact { display: flex; align-items: center; gap: 12px; padding-right: 22px; margin-right: 22px; border-right: 1px solid rgba(11,58,99,.16); font-size: .86rem; line-height: 1.35; max-width: 18rem; }
.pb__fact:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.pb__fact dt { font-family: var(--f-serif); font-weight: 700; color: var(--deep); font-size: .98rem; }
.pb__fact dd { margin: 1px 0 0; color: var(--ink-soft); }
.pb__ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(228,161,27,.14); }
.pb__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pb__actions { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; }
.pb__go, .pb__info { min-height: 46px; }
@media (min-width: 640px) and (max-width: 999px) { .pb__media { aspect-ratio: 21 / 9; } .pb__copy { padding: 26px 32px 32px; } }
@media (min-width: 1000px) {
  /* texto real a la izquierda sobre marfil; la foto ocupa la derecha y se funde con un degradado */
  .pb__card { display: flex; align-items: center; min-height: clamp(360px, 31vw, 430px); background: linear-gradient(90deg, #FFF9F0 0%, #FDF5EA 60%, #FBF0E2 100%); }
  .pb__media { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -1; aspect-ratio: auto; }
  .pb__media img { object-position: var(--dpos, right) center; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 30%); mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.55) 14%, #000 30%); }
  .pb__copy { width: 50%; padding: clamp(30px, 2.8vw, 44px) 0 clamp(30px, 2.8vw, 44px) clamp(36px, 4vw, 60px); }
}
.pbanners--deep .pb__card { box-shadow: 0 34px 70px -34px rgba(0,0,0,.75); }
.pbanners--deep .pb__card .textlink { color: var(--deep); }
.pb__card .btn { --b-bg: var(--deep); --b-fg: var(--ivory); --b-bd: var(--deep); }
.pb__card .btn:hover { --b-bg: var(--night); --b-bd: var(--night); --b-fg: var(--ivory); }
.pb__card .btn--ghost { --b-bg: rgba(255,249,240,.7); --b-fg: var(--deep); --b-bd: var(--gold); }
.pb__card .btn--ghost:hover { --b-bg: var(--gold); --b-fg: var(--night); --b-bd: var(--gold); }
@media (min-width: 1000px) { .pb__facts { flex-wrap: nowrap; } .pb__fact { flex: 0 1 auto; max-width: none; } }
.pb__fact:last-child dd { white-space: nowrap; }
.pb__fact:last-child dd { white-space: normal; }
@media (min-width: 1000px) {
  .pb__copy { width: 47%; }
  .pb__media { width: 55%; }
  .pb__fact:first-child { flex: 1 1 auto; min-width: 0; }
  .pb__fact:last-child { flex: 0 0 auto; max-width: 12.5rem; }
}
@media (max-width: 999px) {
  .pb__facts { flex-direction: column; gap: 12px; }
  .pb__fact { border-right: 0; margin-right: 0; padding-right: 0; max-width: none; }
}
.pb__card .pb__title, .pb__card .pb__link, .depth .pb__card .pb__link { color: var(--deep); }
.depth .pb__card .pb__sub, .depth .pb__card .pb__fact dt { color: var(--deep); }
.depth .pb__card .pb__text, .depth .pb__card .pb__fact dd { color: var(--ink-soft); }

/* Hilo vertical lateral: más discreto (solo en pantallas anchas, ≥1360 px) */
.thread__label { font-size: 10px; font-weight: 500; letter-spacing: .3em; opacity: .7; }
.thread__track { opacity: .7; }
/* Tarjetas de programa: más editoriales, menos «flotantes» */
.pb__card { border-radius: 12px; box-shadow: 0 18px 40px -32px rgba(7,30,53,.45), 0 0 0 1px rgba(11,58,99,.08); }
.pb__card:hover { box-shadow: 0 22px 46px -32px rgba(7,30,53,.55), 0 0 0 1px rgba(228,161,27,.4); }
/* Cabecera en teléfonos muy estrechos (≤380 px): el botón «Menú» ya no se sale de la pantalla */
@media (max-width: 380px) {
  .site-header__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand img { height: 38px; }
  .brand__name { font-size: .92rem; letter-spacing: .05em; }
}
/* Hero de Programas · ajustes finos */
.eco-hero3__media img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent); mask-image: linear-gradient(180deg, transparent 0, #000 16%, #000 90%, transparent); }
@media (max-width: 1199px) { .eco-hero3__eyebrow { letter-spacing: .18em; } .eco-hero3__eyebrow::before { display: none; } }
@media (min-width: 900px) {
  .eco-hero3__title { font-size: clamp(1.9rem, 3.05vw, 3.5rem); }
  .eco-hero3__media img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 88%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0, #000 13%), linear-gradient(180deg, #000 88%, transparent); mask-composite: intersect; }
}
