/* ==========================================================================
   El Gran Sueño — Sistema de diseño compartido
   Este archivo contiene los tokens, tipografía, componentes y estados
   comunes a todas las páginas del sitio.
   ========================================================================== */

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

:root {
  --bordo: #6B1A2B;
  --bordo-dark: #4A0F1C;
  --bordo-mid: #5a2030;
  --bordo-light: #8a3347;
  --cream: #faf8f5;
  --cream-dark: #f0ede8;
  --ink: #1a1510;
  --ink-mid: #4a4540;
  --ink-light: #7a7570;      /* WCAG AA sobre --cream */
  --ink-whisper: #9a9590;    /* Solo decorativo */
  --gold: #c9a84c;
  --gold-light: #d4b460;
  --gold-soft: rgba(201, 168, 76, 0.14);
}

html { scroll-behavior: smooth; }

@media (min-width: 900px) and (hover: hover) {
  html.snap-enabled { scroll-snap-type: y proximity; }
  html.snap-enabled .beat { scroll-snap-align: center; scroll-snap-stop: normal; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; scroll-snap-type: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .breath, .scroll-hint, .halo { animation: none !important; }
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
}

::selection { background: var(--gold-soft); color: var(--bordo-dark); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ===== Barra de progreso ===== */
.progress-bar {
  position: fixed; top: 0; left: 0;
  height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--bordo) 0%, var(--gold) 100%);
  z-index: 200;
  transition: width 0.1s linear;
  opacity: 0.85;
}

/* ===== NAV ===== */
nav.egs-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(250, 248, 245, 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(107, 26, 43, 0.06);
  transform: translateY(0);
  opacity: 1;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}
nav.egs-nav.nav-hidden {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 1, 1), opacity 0.35s ease;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-logo span { color: var(--bordo); }
.nav-cta {
  font-size: 0.78rem;
  color: var(--bordo);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.15rem;
  border: 1px solid rgba(107, 26, 43, 0.35);
  border-radius: 40px;
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}
.nav-cta:hover { background: var(--bordo); color: var(--cream); border-color: var(--bordo); }

/* ===== BEATS narrativos ===== */
.beat {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8vh 6vw;
  position: relative;
}
.beat-inner {
  max-width: 680px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.6s ease, transform 1.6s ease;
}
.beat-inner.in-view { opacity: 1; transform: translateY(0); }

/* Sistema de tres jerarquías */
.say {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  line-height: 1.24;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.dev {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.7vw, 1.15rem);
  line-height: 1.7;
  color: var(--ink-light);
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}
.ask {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.4;
  color: var(--bordo);
}
.whisper {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(0.82rem, 1.3vw, 0.95rem);
  letter-spacing: 0.03em;
  color: var(--ink-light);
  opacity: 0.85;
}

/* Espaciados */
.gap-s { margin-top: 1.8rem; }
.gap-m { margin-top: 3rem; }
.gap-l { margin-top: 4.5rem; }
.gap-xl { margin-top: 7rem; }
.gap-xxl { margin-top: 11rem; }
@media (max-width: 768px) {
  .gap-l { margin-top: 2.8rem; }
  .gap-xl { margin-top: 4rem; }
  .gap-xxl { margin-top: 6rem; }
  .beat { padding: 6vh 7vw; }
}

/* Reveal por líneas */
.reveal-lines span {
  display: block;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1.1s ease, transform 1.1s ease;
}
.reveal-lines span + span { margin-top: 0.7rem; }
.reveal-spaced span + span { margin-top: 4rem; }
.reveal-spaced-sm span + span { margin-top: 1.4rem; }
@media (max-width: 768px) {
  .reveal-spaced span + span { margin-top: 2.2rem; }
}
.beat-inner.in-view .reveal-lines span { opacity: 1; transform: translateY(0); }
.beat-inner.in-view .reveal-lines span:nth-child(1) { transition-delay: 0.2s; }
.beat-inner.in-view .reveal-lines span:nth-child(2) { transition-delay: 1.1s; }
.beat-inner.in-view .reveal-lines span:nth-child(3) { transition-delay: 2.0s; }
.beat-inner.in-view .reveal-lines span:nth-child(4) { transition-delay: 2.9s; }
.beat-inner.in-view .reveal-lines span:nth-child(5) { transition-delay: 3.8s; }
.beat-inner.in-view .reveal-slow span:nth-child(1) { transition-delay: 0.4s; }
.beat-inner.in-view .reveal-slow span:nth-child(2) { transition-delay: 2.0s; }
.beat-inner.in-view .reveal-slow span:nth-child(3) { transition-delay: 3.6s; }
.beat-inner.in-view .reveal-slow span:nth-child(4) { transition-delay: 5.2s; }
.beat-inner.in-view .reveal-slow span:nth-child(5) { transition-delay: 6.8s; }
.reveal-slow span { transition-duration: 1.5s !important; }

.divider-mark {
  width: 24px;
  height: 1px;
  background: var(--gold);
  margin: 3rem auto;
  opacity: 0.6;
}

/* Nombre climático */
.name-reveal {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 2s ease 0.4s, transform 2s ease 0.4s;
}
.name-reveal.in-view { opacity: 1; transform: scale(1); }
.name-reveal span { color: var(--bordo); }
.name-flourish {
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: opacity 1.6s ease 1.5s, transform 1.6s ease 1.5s;
}
.name-flourish.in-view { opacity: 0.7; transform: scaleX(1); }

/* Hero con halo (solo home) */
.hero { position: relative; }
.halo {
  position: absolute;
  top: 50%; left: 50%;
  width: min(720px, 90vw);
  height: min(720px, 90vw);
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at center,
      rgba(201, 168, 76, 0.10) 0%,
      rgba(201, 168, 76, 0.04) 30%,
      rgba(201, 168, 76, 0) 65%);
  pointer-events: none;
  z-index: 0;
  animation: haloBreath 9s ease-in-out infinite;
  filter: blur(4px);
}
@keyframes haloBreath {
  0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.06); }
}
.hero .beat-inner { position: relative; z-index: 1; }

.scroll-hint {
  position: absolute;
  bottom: 5vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  opacity: 0;
  animation: hintFadeIn 1.4s ease 1.8s forwards, hintBreath 3.4s ease-in-out 3.2s infinite;
  pointer-events: none;
  z-index: 2;
}
.scroll-hint .chevron {
  width: 1px; height: 34px;
  background: linear-gradient(to bottom, transparent, var(--bordo));
  opacity: 0.7;
}
@keyframes hintFadeIn { to { opacity: 0.8; } }
@keyframes hintBreath {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50% { transform: translateX(-50%) translateY(8px); opacity: 0.9; }
}
.scroll-hint.hidden { animation: none; opacity: 0; transition: opacity 0.5s ease; }

/* ===== FOOTER unificado (versión clara con manifiesto) ===== */
footer.egs-footer {
  background: var(--bordo-dark);
  color: rgba(250, 248, 245, 0.85);
  padding: 5rem 6vw 2.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
.egs-footer .footer-divider {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
  margin: 0 auto 2.4rem;
}
.egs-footer .footer-manifest {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: rgba(250, 248, 245, 0.75);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.egs-footer .footer-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: var(--cream);
  margin-bottom: 2.4rem;
}
.egs-footer .footer-form {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.6rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.egs-footer .footer-form input {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  padding: 0.75rem 1.1rem;
  border-radius: 3px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: white;
  min-width: 240px;
  transition: border-color 0.3s, background 0.3s;
}
.egs-footer .footer-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,0.1); }
.egs-footer .footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.egs-footer .footer-form button {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  padding: 0.75rem 1.4rem;
  border-radius: 3px;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.egs-footer .footer-form button:hover { background: var(--gold); color: var(--bordo-dark); }
.egs-footer .footer-form.sent button { background: var(--gold); color: var(--bordo-dark); cursor: default; }
.egs-footer .footer-form.sent input { opacity: 0.5; pointer-events: none; }
.egs-footer .footer-meta {
  font-size: 0.78rem;
  color: rgba(250, 248, 245, 0.55);
  margin-top: 1rem;
}

/* ===== MAPA del mundo ===== */
.world-map {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
}
.world-map svg { width: 100%; height: 100%; }
.landmass { fill: var(--ink-mid); opacity: 0.05; }
.world-map.telling .landmass { fill: var(--gold); opacity: 0.07; }
.marker-dot { fill: var(--ink-mid); }
.marker-ring { fill: none; stroke: var(--ink-mid); stroke-width: 1; opacity: 0.5; }
.arc-line { fill: none; stroke: var(--ink-mid); stroke-width: 1.1; stroke-linecap: round; opacity: 0.55; }
.arc-traveler { fill: var(--gold); }
.world-map.ambient { opacity: 0.16; }
.world-map.telling { opacity: 0.4; }
.world-map.telling .marker-dot { fill: var(--gold); }
.world-map.telling .marker-ring { stroke: var(--gold); }
.world-map.telling .arc-line { stroke: var(--gold); }
.world-map.telling .arc-traveler { fill: var(--gold-light); }

.beat, main, footer { position: relative; z-index: 1; }

/* Ícono minimalista para reemplazar emojis (SVG inline, hereda color) */
.egs-icon {
  display: inline-block;
  width: 1.6rem; height: 1.6rem;
  vertical-align: middle;
}
.egs-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   COMPONENTES ADICIONALES (para páginas de detalle, wizards y manifiestos)
   ========================================================================== */

/* ---- Hero de página oscuro (para páginas internas) ---- */
.page-hero {
  background: var(--ink);
  color: white;
  padding: 8rem 2.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}
.page-hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.25rem;
  position: relative; z-index: 2;
}
.page-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400; color: white;
  line-height: 1.2; margin-bottom: 1.25rem;
  position: relative; z-index: 2;
}
.page-hero-title em { font-style: italic; color: var(--gold-light); font-weight: 400; }
.page-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic; color: rgba(255,255,255,0.7);
  max-width: 560px; margin: 0 auto 1rem; line-height: 1.7;
  position: relative; z-index: 2;
}
.page-hero-note {
  font-size: 0.72rem; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  font-style: italic;
  position: relative; z-index: 2;
}
.page-hero-arcs {
  position: absolute; inset: 0;
  opacity: 0.06;
  pointer-events: none;
  z-index: 1;
}
.page-hero-arcs svg { width: 100%; height: 100%; }

/* ---- Wizard / Conversación ---- */
.conversacion {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 1.5rem 4rem;
  position: relative;
  z-index: 1;
}
.pantalla {
  display: none;
  width: 100%; max-width: 640px;
  margin: 0 auto;
  animation: pantallaEntra 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.pantalla.activa { display: block; }
@keyframes pantallaEntra {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.pantalla-inner {
  display: flex; flex-direction: column; gap: 1.5rem;
}

/* Tipografías dentro del wizard */
.t-grande {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.t-grande em { font-style: italic; color: var(--bordo); font-weight: 500; }
.t-medio {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
}
.t-medio em { color: var(--bordo); font-style: italic; }
.t-pequeño {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
}
.t-nota {
  font-size: 0.75rem;
  color: var(--ink-light);
  letter-spacing: 0.03em;
  font-style: italic;
}

/* Elementos decorativos */
.linea-oro {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.7;
  margin: 0 auto;
}
.punto-oro {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.6;
  margin: 0 auto;
}
.div-oro { width: 32px; height: 1px; background: var(--gold); opacity: 0.6; margin: 1.5rem auto; }

/* Botones del wizard */
.btn-inicio {
  padding: 1rem 2.5rem;
  background: var(--bordo);
  color: white;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border-radius: 2px;
}
.btn-inicio:hover { background: var(--bordo-dark); transform: translateY(-2px); }

.acciones {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.btn-ant, .btn-sig {
  padding: 0.85rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.25s;
}
.btn-ant {
  background: transparent; color: var(--ink-light);
  border: 1px solid transparent;
}
.btn-ant:hover { color: var(--bordo); }
.btn-sig {
  background: var(--bordo); color: white;
  border: 1px solid var(--bordo);
}
.btn-sig:hover:not(:disabled) { background: var(--bordo-dark); transform: translateY(-1px); }
.btn-sig:disabled {
  background: var(--cream-dark); color: var(--ink-light);
  border-color: var(--cream-dark); cursor: not-allowed;
}

/* Barra de progreso del wizard */
.progreso {
  height: 2px;
  background: var(--cream-dark);
  position: relative;
  margin-bottom: 1rem;
  overflow: hidden;
}
.progreso::after {
  content: '';
  position: absolute; top: 0; left: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--bordo), var(--gold));
  width: var(--wizard-progress, 20%);
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Opciones checkbox */
.opciones { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.opcion {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--cream-dark);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
}
.opcion:hover { border-color: var(--bordo-light); background: rgba(107,26,43,0.02); }
.opcion.selected { border-color: var(--bordo); background: rgba(107,26,43,0.04); }
.opcion-dot {
  width: 12px; height: 12px;
  border: 1.5px solid var(--ink-light);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.25s;
  position: relative;
}
.opcion.selected .opcion-dot { border-color: var(--bordo); background: var(--bordo); }
.opcion.selected .opcion-dot::after {
  content: ''; position: absolute; inset: 3px;
  background: white; border-radius: 50%;
}
.opcion-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink); line-height: 1.4;
}

/* Opciones radio (una sola elección) */
.radio-grupo { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.5rem; }
.radio-opcion, .radio-op {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.25rem;
  background: white;
  border: 1px solid var(--cream-dark);
  cursor: pointer;
  transition: all 0.25s;
  border-radius: 2px;
}
.radio-opcion:hover, .radio-op:hover { border-color: var(--bordo-light); }
.radio-opcion.selected, .radio-op.selected { border-color: var(--bordo); background: rgba(107,26,43,0.04); }
.radio-circulo, .radio-dot {
  width: 14px; height: 14px;
  border: 1.5px solid var(--ink-light);
  border-radius: 50%;
  flex-shrink: 0;
  transition: all 0.25s;
  position: relative;
}
.radio-opcion.selected .radio-circulo,
.radio-op.selected .radio-dot { border-color: var(--bordo); }
.radio-opcion.selected .radio-circulo::after,
.radio-op.selected .radio-dot::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--bordo); border-radius: 50%;
}
.radio-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Campos de texto */
.campo {
  width: 100%;
  min-height: 140px;
  padding: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--cream-dark);
  border-radius: 2px;
  resize: vertical;
  line-height: 1.6;
  transition: border-color 0.3s;
}
.campo::placeholder { color: var(--ink-light); font-style: italic; }
.campo:focus { outline: none; border-color: var(--bordo); }

.campo-grupo { display: flex; flex-direction: column; gap: 0.6rem; }
.campo-etiq {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-light);
  font-weight: 500;
}
.campo-linea {
  width: 100%;
  padding: 0.8rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dark);
  transition: border-color 0.3s;
}
.campo-linea:focus { outline: none; border-bottom-color: var(--bordo); }
.campo-linea::placeholder { color: var(--ink-light); font-style: italic; }

/* Mensaje acompañante entre pantallas */
.msg-acomp, .msg {
  display: none;
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(201,168,76,0.06);
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
  font-size: 1.05rem;
}
.msg-acomp.visible, .msg.visible { display: block; animation: pantallaEntra 0.5s ease; }
.msg-continuar {
  display: inline-block; margin-top: 1rem;
  background: transparent; border: none;
  color: var(--bordo); cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--bordo-light);
}

/* ---- Cierre (pantalla final) ---- */
.cierre-wrap {
  max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 2rem;
  text-align: center;
}
.cierre-icono {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  opacity: 0.8;
}
.cierre-div {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.cierre-caja, .carta {
  background: rgba(107,26,43,0.03);
  border-left: 2px solid var(--bordo);
  padding: 1.75rem 1.5rem;
  text-align: left;
  width: 100%;
  display: flex; flex-direction: column; gap: 1rem;
}
.cierre-caja-etiq, .carta-etiq {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
}
.destello {
  padding: 1.75rem 1.5rem;
  background: rgba(201,168,76,0.06);
  border-left: 2px solid var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
  text-align: left;
}
.cierre-links {
  display: flex; flex-direction: column; gap: 0.8rem;
  width: 100%;
}
.cierre-link {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid var(--cream-dark);
  text-decoration: none;
  transition: all 0.3s;
  text-align: left;
}
.cierre-link:hover {
  border-color: var(--bordo);
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(107,26,43,0.06);
}
.cierre-link-arrow {
  color: var(--bordo);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.cierre-link-txt {
  display: flex; flex-direction: column; gap: 0.25rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.6;
}
.cierre-link-txt strong {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---- Secciones narrativas (page-section) ---- */
.page-section { padding: 7rem 2.5rem; position: relative; z-index: 1; }
.page-section.on-cream { background: var(--cream); }
.page-section.on-cream-dark { background: var(--cream-dark); }
.page-section.on-white { background: white; }
.page-section.on-ink { background: var(--ink); color: rgba(255,255,255,0.85); }
.page-section.on-bordo { background: var(--bordo-dark); color: rgba(255,255,255,0.85); }
.page-section.on-ink .s-title, .page-section.on-bordo .s-title { color: white; }
.page-section.on-ink .s-label, .page-section.on-bordo .s-label { color: var(--gold); }
.page-section.on-ink .body, .page-section.on-bordo .body { color: rgba(255,255,255,0.75); }

.prose-narrow { max-width: 640px; margin: 0 auto; }
.prose-wide { max-width: 1040px; margin: 0 auto; }
.s-label {
  display: inline-block;
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--bordo);
  margin-bottom: 1rem;
  font-weight: 500;
}
.s-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}
.s-title em { font-style: italic; color: var(--bordo); font-weight: 400; }
.page-section.on-ink .s-title em, .page-section.on-bordo .s-title em { color: var(--gold-light); }
.divider {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 1.75rem 0;
}
.body {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.body em { color: var(--bordo); font-style: italic; }
.pull {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-style: italic;
  color: var(--bordo);
  line-height: 1.55;
  border-left: 2px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
}
.page-section.on-ink .pull, .page-section.on-bordo .pull { color: var(--gold-light); border-color: var(--gold); }

/* Cards para "a quién buscamos" */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
@media (max-width: 900px) { .cards-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }
.card-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.75rem 1.5rem;
  transition: all 0.3s;
}
.card-item:hover { border-color: rgba(201,168,76,0.4); transform: translateY(-3px); }
.card-item-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  margin-bottom: 1rem;
  opacity: 0.8;
}
.card-item h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: white;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.card-item p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}
/* Variante clara */
.cards-grid.light .card-item {
  background: white;
  border: 1px solid var(--cream-dark);
}
.cards-grid.light .card-item h3 { color: var(--ink); }
.cards-grid.light .card-item p { color: var(--ink-mid); }

/* Bloque "una palabra honesta" */
.honest-box {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: rgba(201,168,76,0.08);
  border-left: 2px solid var(--gold);
}
.page-section.on-cream .honest-box,
.page-section.on-white .honest-box { background: rgba(201,168,76,0.08); }
.honest-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.honest-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.75;
}
.page-section.on-ink .honest-text, .page-section.on-bordo .honest-text { color: rgba(255,255,255,0.75); }

/* Filas de responsabilidad / lista con clave-valor */
.rows { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.row-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--cream-dark);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.page-section.on-ink .row-item, .page-section.on-bordo .row-item {
  border-bottom-color: rgba(255,255,255,0.08);
}
.row-item:last-child { border-bottom: none; }
.row-label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
}
.page-section.on-ink .row-label, .page-section.on-bordo .row-label { color: var(--gold); }
.row-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
}
.page-section.on-ink .row-text, .page-section.on-bordo .row-text { color: rgba(255,255,255,0.75); }
@media (max-width: 640px) {
  .row-item { grid-template-columns: 1fr; gap: 0.4rem; }
}

/* Principio destacado */
.principle {
  background: rgba(107,26,43,0.04);
  border-left: 2px solid var(--bordo);
  padding: 1.5rem 1.5rem;
  margin-top: 2rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.75;
}
.page-section.on-ink .principle, .page-section.on-bordo .principle {
  background: rgba(201,168,76,0.08); border-color: var(--gold); color: rgba(255,255,255,0.8);
}

/* Proceso paso 1-2-3 (usable en cualquier página) */
.process-steps { display: flex; flex-direction: column; gap: 2rem; margin-top: 3rem; }
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: start;
}
.process-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--bordo);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.process-body h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.process-body p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
  font-size: 1rem;
}
.page-section.on-ink .process-num, .page-section.on-bordo .process-num {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.15); color: var(--gold);
}
.page-section.on-ink .process-body h3, .page-section.on-bordo .process-body h3 { color: white; }
.page-section.on-ink .process-body p, .page-section.on-bordo .process-body p { color: rgba(255,255,255,0.75); }

/* Timeline vertical (para historia individual) */
.timeline {
  list-style: none;
  margin-top: 2rem;
  display: flex; flex-direction: column;
}
.timeline-item {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 1.25rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-eje { position: relative; display: flex; flex-direction: column; align-items: center; }
.timeline-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--bordo);
  z-index: 2;
  margin-top: 0.3rem;
}
.timeline-dot.actual {
  background: var(--gold); border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.15);
}
.timeline-linea {
  flex: 1;
  width: 1px;
  background: var(--cream-dark);
  margin-top: 0.3rem;
  min-height: 30px;
}
.timeline-item:last-child .timeline-linea { display: none; }
.timeline-tipo {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.timeline-texto {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: var(--ink-mid);
  line-height: 1.7;
  font-style: italic;
}
.timeline-texto.actual { color: var(--ink); font-weight: 500; }

/* CTA stack final */
.cta-stack {
  display: flex; flex-direction: column; gap: 1rem;
  align-items: center;
  margin-top: 2.5rem;
}
.cta-primary {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  background: var(--bordo);
  color: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border-radius: 2px;
}
.cta-primary:hover { background: var(--bordo-dark); transform: translateY(-2px); }
.cta-secondary {
  color: var(--ink-light);
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 2px;
  transition: color 0.3s;
}
.cta-secondary:hover { color: var(--bordo); }

/* ==========================================================================
   FASE 2 — COMPONENTES ADICIONALES
   Blog · Huellas de Fe · Escuelas · Redes sociales
   ========================================================================== */

/* ---- Íconos sociales en footer ---- */
.egs-footer .footer-social {
  display: flex; justify-content: center; gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.egs-footer .footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all 0.3s;
  text-decoration: none;
}
.egs-footer .footer-social a:hover {
  background: var(--gold);
  color: var(--bordo-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.egs-footer .footer-social svg { width: 16px; height: 16px; }

/* ---- Grid genérico de directorio ---- */
.dir-hero {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: var(--cream);
  display: flex; flex-direction: column;
  align-items: center; gap: 1.5rem;
}
.dir-hero.on-ink { background: var(--ink); color: white; }
.dir-hero.on-ink .dir-title { color: white; }
.dir-hero.on-ink .dir-title em { color: var(--gold-light); }
.dir-hero.on-ink .dir-sub { color: rgba(255,255,255,0.7); }
.dir-hero.on-ink .dir-eyebrow { color: var(--gold); }
.dir-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--bordo);
  font-weight: 500;
}
.dir-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  font-weight: 400; color: var(--ink);
  line-height: 1.2; max-width: 780px;
}
.dir-title em { font-style: italic; color: var(--bordo); }
.dir-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-style: italic; color: var(--ink-mid);
  max-width: 580px; line-height: 1.75;
}
.dir-hero-line { width: 32px; height: 1px; background: var(--gold); opacity: 0.6; }

/* ---- Card de artículo (blog) ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 980px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  background: white;
  border: 1px solid var(--cream-dark);
  padding: 2rem 1.75rem;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  gap: 1rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.8;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.06); border-color: var(--bordo-light); }
.blog-card:hover::before { transform: scaleX(1); }

.blog-pilar {
  font-size: 0.62rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--bordo);
  font-weight: 500;
}
.blog-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem; font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
}
.blog-excerpt {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--ink-mid); line-height: 1.7;
  flex: 1;
}
.blog-meta {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.72rem;
  color: var(--ink-light);
}
.blog-meta-lectura { letter-spacing: 0.08em; }
.blog-meta-fecha { font-family: 'Cormorant Garamond', serif; font-style: italic; }

/* ---- Card de Huella de Fe ---- */
.huellas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
@media (max-width: 720px) { .huellas-grid { grid-template-columns: 1fr; } }

.huella-card {
  background: white;
  border: 1px solid var(--cream-dark);
  padding: 2.5rem 2.25rem;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s;
  position: relative;
}
.huella-card::before {
  content: '';
  position: absolute; top: 0; left: 2.25rem;
  width: 24px; height: 2px;
  background: var(--gold);
  opacity: 0.7;
}
.huella-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.07); border-color: var(--bordo-light); }
.huella-nombre {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-top: 0.75rem;
}
.huella-meta {
  font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  font-weight: 500;
}
.huella-frase {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; font-style: italic;
  color: var(--ink-mid); line-height: 1.7;
  border-left: 2px solid var(--bordo);
  padding-left: 1rem;
}
.huella-frase::before { content: '\201C'; opacity: 0.6; }
.huella-frase::after { content: '\201D'; opacity: 0.6; }
.huella-goto {
  align-self: flex-start;
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
  transition: transform 0.3s;
  padding-top: 0.5rem;
}
.huella-card:hover .huella-goto { transform: translateX(4px); }

/* ---- Card de Escuela ---- */
.escuelas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 760px) { .escuelas-grid { grid-template-columns: 1fr; } }

.escuela-card {
  background: white;
  border: 1px solid var(--cream-dark);
  padding: 2rem;
  display: flex; flex-direction: column;
  gap: 1.25rem;
  transition: all 0.3s;
  text-decoration: none;
  color: var(--ink);
}
.escuela-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0,0,0,0.06); border-color: var(--bordo-light); }

.escuela-head { display: flex; align-items: flex-start; gap: 1rem; }
.escuela-logo {
  width: 3rem; height: 3rem;
  border-radius: 4px;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--bordo);
  flex-shrink: 0;
}
.escuela-headmeta { display: flex; flex-direction: column; gap: 0.2rem; }
.escuela-nombre {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 400;
  color: var(--ink);
  line-height: 1.25;
}
.escuela-lugar {
  font-size: 0.7rem; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.escuela-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; font-style: italic;
  color: var(--ink-mid);
  line-height: 1.7;
}
.escuela-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}
.escuela-tag {
  font-size: 0.68rem;
  padding: 0.25rem 0.65rem;
  background: var(--cream);
  color: var(--ink-mid);
  border-radius: 30px;
}
.escuela-tag.mod {
  background: rgba(107,26,43,0.06);
  color: var(--bordo);
}
.escuela-footer {
  display: flex; justify-content: space-between;
  align-items: center; gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.72rem;
}
.escuela-cta {
  color: var(--bordo); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.escuela-meta-num {
  color: var(--ink-light);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
}

/* ---- Prosa larga (para manifiesto, nosotros, artículos) ---- */
.long-prose {
  max-width: 640px;
  margin: 0 auto;
  padding: 6rem 2rem;
}
.long-prose h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.long-prose h1 em { font-style: italic; color: var(--bordo); }
.long-prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.3;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}
.long-prose h2 em { font-style: italic; color: var(--bordo); }
.long-prose h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.long-prose p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.08rem, 1.8vw, 1.22rem);
  color: var(--ink-mid);
  line-height: 1.85;
  margin-bottom: 1.35rem;
}
.long-prose p em { color: var(--bordo); font-style: italic; }
.long-prose .lead {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.55rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  margin: 2rem 0;
}
.long-prose .lead-bordo {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.4rem, 2.7vw, 1.7rem);
  font-style: italic;
  color: var(--bordo);
  line-height: 1.5;
  text-align: center;
  padding: 2rem 0;
  margin: 2.5rem 0;
  border-top: 1px solid rgba(107,26,43,0.15);
  border-bottom: 1px solid rgba(107,26,43,0.15);
}
.long-prose .eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordo);
  font-weight: 500;
  display: block;
  margin-bottom: 1rem;
}
.long-prose .divider {
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
  margin: 2.5rem 0;
}
.long-prose ol.principios {
  list-style: none;
  counter-reset: p-counter;
  margin: 2rem 0;
}
.long-prose ol.principios li {
  counter-increment: p-counter;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
  position: relative;
  padding-left: 3.5rem;
}
.long-prose ol.principios li::before {
  content: counter(p-counter, decimal-leading-zero);
  position: absolute; left: 0; top: 1.85rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 400;
}
.long-prose ol.principios li h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.long-prose ol.principios li p {
  margin-bottom: 0;
  font-size: 1.05rem;
}

/* ---- Invitación (final de directorios) ---- */
.dir-invite {
  padding: 6rem 2rem;
  background: var(--bordo-dark);
  color: white;
  text-align: center;
}
.dir-invite-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  display: block;
}
.dir-invite-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 400;
  color: white;
  line-height: 1.3;
  max-width: 640px;
  margin: 0 auto 1.25rem;
}
.dir-invite-title em { font-style: italic; color: var(--gold-light); }
.dir-invite-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.75;
  font-size: 1.1rem;
}
.dir-invite-cta {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: var(--gold);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}
.dir-invite-cta:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ==========================================================================
   MENÚ DE NAVEGACIÓN — overlay fullscreen contemplativo
   ========================================================================== */

/* Botón hamburguesa en el nav */
.nav-menu-btn {
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-start;
  transition: opacity 0.3s;
  margin-right: 1.25rem;
  order: -1;
}
.nav-menu-btn:hover { opacity: 0.7; }
.nav-menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), width 0.35s ease, background 0.3s;
}
.nav-menu-btn span:nth-child(2) { width: 16px; }
.nav-menu-btn span:nth-child(3) { width: 20px; }
.nav-menu-btn:hover span:nth-child(2) { width: 22px; }

/* Nav ajustado: logo + hamburguesa a la izquierda, CTA a la derecha */
nav.egs-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.egs-nav .nav-left {
  display: flex; align-items: center;
}

/* Overlay fullscreen */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(26, 21, 16, 0.985);
  color: white;
  display: flex;
  flex-direction: column;
  padding: 3rem 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.5s;
  overflow-y: auto;
}
.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0s;
}

.nav-overlay-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-overlay-brand {
  font-family: 'Playfair Display', serif;
  font-size: 0.98rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-overlay-brand span { color: var(--gold); }
.nav-overlay-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 0.75rem;
  transition: color 0.3s;
}
.nav-overlay-close:hover { color: var(--gold); }
.nav-overlay-close svg { width: 18px; height: 18px; }

/* Contenido del overlay */
.nav-overlay-body {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}
.nav-overlay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease 0.15s, transform 0.7s ease 0.15s;
}
.nav-overlay.open .nav-overlay-grid { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .nav-overlay-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}
@media (max-width: 560px) {
  .nav-overlay-grid { grid-template-columns: 1fr; gap: 2rem; }
  .nav-overlay { padding: 2rem 1.5rem; }
  .nav-overlay-body { padding: 1.5rem 0; }
}

.nav-col-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1.5rem;
  display: block;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-col ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 1.1rem;
}
.nav-col a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
  position: relative;
}
.nav-col a:hover {
  color: var(--gold-light);
  transform: translateX(6px);
}
.nav-col a::before {
  content: '';
  position: absolute;
  left: -18px; top: 50%;
  width: 10px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
  transition: opacity 0.3s, transform 0.3s;
}
.nav-col a:hover::before {
  opacity: 0.8;
  transform: translateY(-50%) scaleX(1);
}
.nav-col a.current {
  color: var(--gold);
}
.nav-col a.current::before {
  opacity: 0.8;
  transform: translateY(-50%) scaleX(1);
}

/* Pie del overlay */
.nav-overlay-footer {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.nav-overlay-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.65;
}
.nav-overlay-social {
  display: flex; gap: 0.85rem;
}
.nav-overlay-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.3s;
  text-decoration: none;
}
.nav-overlay-social a:hover {
  color: var(--gold);
  border-color: rgba(201,168,76,0.5);
}
.nav-overlay-social svg { width: 15px; height: 15px; }

/* Cuando el menú está abierto, el body no scrollea */
body.menu-open { overflow: hidden; }
