/* =========================================================
   NAVAO - The Guide
   Editorial travel guide layout (Leon, Ometepe, Granada, etc.)
   Load order: tokens.css > global.css > components.css > guide.css
   ========================================================= */

/* ---------------------------------------------------------
   GLOBAL RESET
   --------------------------------------------------------- */
html {
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
}

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

.guide {
  --guide-ink: var(--color-ink, #0a0a0a);
  --guide-paper: #f8f5ef;
  --guide-paper-dim: #f1ece2;
  --guide-line: rgba(10, 10, 10, 0.12);
  --guide-line-dark: rgba(248, 245, 239, 0.16);
  --guide-text: #171512;
  --guide-muted: rgba(23, 21, 18, 0.62);
  --guide-text-inverse: #f8f5ef;
  --guide-muted-inverse: rgba(248, 245, 239, 0.62);
  --guide-accent: var(--color-accent, #b89b5e);
  --guide-serif: var(--font-serif, "Instrument Serif", Georgia, serif);
  --guide-sans: var(--font-sans, "Inter", "Helvetica Neue", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);

  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--guide-paper);
  color: var(--guide-text);
}

/* ---------------------------------------------------------
   IMAGES
   --------------------------------------------------------- */
.guide img {
  display: block;
  max-width: 100%;
}

.guide-hero__media img,
.guide-section__media img,
.guide-moment__media img,
.guide-cta__media img,
.guide-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide__container {
  width: min(100% - 3rem, 46rem);
  margin-inline: auto;
}

.guide__container--wide {
  width: min(100% - 3rem, 72rem);
}

/* =========================================================
   TOP BAR
   ========================================================= */
.guide-bar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 4vw, 3rem);
  background: transparent;
  border-bottom: 0;
}

.guide-bar__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--guide-text-inverse);
  text-decoration: none;
}

.guide .guide-bar__logo {
  display: block;
  width: auto !important;
  height: 1.35rem !important;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.guide-bar__label {
  font-family: var(--guide-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
}

/* =========================================================
   BREADCRUMB
   ========================================================= */
.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--guide-muted-inverse);
}

.guide-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.guide-breadcrumb a:hover,
.guide-breadcrumb a:focus-visible {
  color: var(--guide-text-inverse);
}

.guide-breadcrumb span {
  color: var(--guide-accent);
}

.guide-breadcrumb span[aria-current] {
  color: var(--guide-text-inverse);
  opacity: 0.85;
}

/* =========================================================
   HERO
   ========================================================= */
.guide-hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  height: auto;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}

.guide-hero__media {
  position: absolute;
  inset: 0;
}

.guide-hero__media img {
  filter: saturate(0.88) contrast(1.05);
}

.guide-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.16) 35%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

.guide-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(1.5rem, 6vw, 5rem) clamp(3.5rem, 8vw, 6rem);
  color: var(--guide-text-inverse);
}

.guide-hero__kicker {
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-hero__title {
  max-width: 56rem;
  margin: 0 0 1rem;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  color: var(--guide-text-inverse);
}

.guide-hero__subtitle {
  display: block;
  margin: 0 0 1.5rem;
  font-family: var(--guide-sans);
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--guide-muted-inverse);
}

.guide-hero__lead {
  max-width: 30rem;
  margin: 0 0 2rem;
  font-family: var(--guide-serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: var(--guide-muted-inverse);
}

.guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--guide-muted-inverse);
}

.guide-hero__meta span:not(:last-child)::after {
  content: "\2022";
  margin-left: 1rem;
  color: var(--guide-accent);
}

.guide-hero__author {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--guide-line-dark);
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  color: var(--guide-muted-inverse);
}

.guide-hero__author span:not(:last-child)::after {
  content: "\2022";
  margin-left: 1.25rem;
  color: var(--guide-accent);
}

.guide-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  width: 1px;
  height: 2.5rem;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 245, 239, 0.7) 60%,
    transparent 100%
  );
  animation: guideScrollLine 2s ease-in-out infinite;
}

@keyframes guideScrollLine {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* =========================================================
   IMMEDIATE ANSWER + INTRO en dos columnas.
   Antes eran dos secciones apiladas sin imagen entre ellas,
   lo que dejaba un hueco vacio enorme. El HTML ahora las
   fusiona en una sola seccion con .guide-answer__grid.
   La columna derecha (la intro) va en sans-serif para que
   se distinga de la columna izquierda en serif.
   ========================================================= */
.guide-answer {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.guide-answer__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 760px) {
  .guide-answer__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 4rem);
    align-items: start;
  }

  /* CORRECCION 3 - La columna derecha arrancaba mas arriba que
     el titulo de la izquierda, porque ambas columnas se alinean
     al tope del grid pero la izquierda empieza con un kicker
     pequeno. Este padding-top baja el texto derecho para que
     quede a la altura del cuerpo de texto izquierdo, no del
     kicker. Si en tu pantalla queda muy alto o muy bajo,
     ajusta este valor: es el unico numero que controla eso. */
  .guide-answer__col:last-child {
    padding-top: 8.5rem;
  }
}

.guide-answer__kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-answer__title {
  max-width: 30rem;
  margin: 0 0 1rem;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--guide-text);
}

.guide-answer__text {
  max-width: 30rem;
  margin: 0;
  font-family: var(--guide-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--guide-muted);
}

.guide-answer__col .guide-intro__text {
  font-family: var(--guide-sans);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--guide-muted);
}

.guide-answer__col .guide-intro__text p {
  margin: 0 0 1.25em;
  color: inherit;
}

.guide-answer__col .guide-intro__text em {
  font-style: italic;
  color: var(--guide-text);
}

/* =========================================================
   QUICK FACTS - "Leon At A Glance"
   ========================================================= */
.guide-facts {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3.5rem, 7vw, 5.5rem);
}

.guide-facts__kicker {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-facts__intro {
  max-width: 34rem;
  margin: 0 0 2rem;
  font-family: var(--guide-sans);
  font-size: 1rem;
  color: var(--guide-muted);
}

.guide-facts__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 2.5rem;
}

.guide-facts__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--guide-line);
}

.guide-facts__item span {
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-facts__item strong {
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--guide-text);
}

.guide-facts__item p {
  margin: 0.35rem 0 0;
  font-family: var(--guide-sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--guide-muted);
}

@media (min-width: 640px) {
  .guide-facts__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* =========================================================
   INTRO (fallback - ya no se usa como seccion independiente,
   pero se mantiene por si otra guia futura la necesita)
   ========================================================= */
.guide-intro {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}

.guide-intro__text {
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--guide-text);
}

.guide-intro__text p {
  margin: 0 0 1.5em;
  color: inherit;
}

.guide-intro__text em {
  font-style: italic;
  color: var(--guide-muted);
}

.guide-intro__source {
  margin-top: 2rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  color: var(--guide-muted);
}

/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */
.guide-toc {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(4rem, 8vw, 6rem);
  border-top: 1px solid var(--guide-line);
  border-bottom: 1px solid var(--guide-line);
}

.guide-toc__kicker {
  display: block;
  margin-bottom: 1.75rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-toc__item {
  border-bottom: 1px solid var(--guide-line);
}

.guide-toc__item:first-child {
  border-top: 1px solid var(--guide-line);
}

.guide-toc__link {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--guide-text);
  transition: gap 0.35s ease, color 0.35s ease;
}

.guide-toc__link:hover,
.guide-toc__link:focus-visible {
  gap: 1.75rem;
  color: var(--guide-accent);
}

.guide-toc__num {
  flex-shrink: 0;
  width: 2rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  color: var(--guide-muted);
}

.guide-toc__label {
  font-family: var(--guide-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: inherit;
}

/* =========================================================
   EXPERIENCE SECTIONS
   ========================================================= */
.guide-section {
  position: relative;
  padding: clamp(3rem, 6vw, 5rem) 0;
  color: var(--guide-text);
}

.guide-section:not(.guide-section--full)::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  background: var(--guide-line);
}

.guide-section__media {
  aspect-ratio: 4 / 3;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  background: var(--guide-paper-dim);
  overflow: hidden;
}

.guide-section__media--tall {
  aspect-ratio: 3 / 4;
}

/* Bug de especificidad del mural: esta regla usa 2 clases
   combinadas, mientras que .guide-section__media--panoramic
   usa solo 1. En CSS gana la mas especifica sin importar el
   orden en el archivo, asi que esta siempre pisaba a la
   panoramica. El :not(...--panoramic) desactiva esta regla
   cuando el elemento lleva la clase panoramica. */
.guide-section:not(.guide-section--split):not(.guide-section--full) .guide-section__media:not(.guide-section__media--panoramic) {
  width: min(92vw, 58rem);
  margin-left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 3 / 2;
}

.guide-section__media--panoramic {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 21 / 9;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.guide-section__num {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-family: var(--guide-sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--guide-muted);
}

.guide-section__num::before {
  content: "";
  width: 2.5rem;
  height: 1px;
  background: var(--guide-accent);
}

.guide-section__title {
  margin: 0 0 1.5rem;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--guide-text);
}

.guide-section__body {
  font-family: var(--guide-sans);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--guide-text);
}

.guide-section__body p {
  margin: 0 0 1.25em;
  color: inherit;
}

.guide-section__body p:last-child {
  margin-bottom: 0;
}

/* El cuerpo de texto de Ruben Dario vive dentro de
   .guide-section--full, que no tenia regla tipografica propia
   y heredaba serif de otra hoja. Se fuerza sans explicito. */
.guide-section--full .guide-section__body-wrap .guide-section__body {
  font-family: var(--guide-sans);
}

.guide-section__source {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--guide-muted);
}

.guide-section__utility {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--guide-line);
}

.guide-section__utility + .guide-section__utility {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.guide-section__utility span {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-section__utility p {
  margin: 0;
  font-family: var(--guide-sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--guide-muted);
}

/* ---- Full-width media variant ---- */
.guide-section--full {
  padding: 0;
}

.guide-section--full .guide-section__media {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  aspect-ratio: 16 / 9;
  margin-bottom: 0;
}

.guide-section--full .guide-section__body-wrap {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

/* ---- Two-column split variant ---- */
@media (min-width: 860px) {
  .guide-section--split .guide__container {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: start;
  }

  /* CORRECCION 2 (parte A) - En Sutiaba la foto salia ARRIBA
     del texto en vez de al lado.

     Causa: .guide-section--reverse mandaba la imagen a
     grid-column: 2 y el texto a grid-column: 1. Como en el
     HTML la imagen viene PRIMERO, el navegador la colocaba en
     la fila 1 y empujaba el texto a la fila 2 - dos filas en
     vez de dos columnas.

     Solucion: fijar tambien grid-row: 1 en ambos, para que
     compartan la misma fila sin importar el orden del HTML.
     Aplica a todas las secciones --split, no solo Sutiaba. */
  .guide-section--split .guide-section__media,
  .guide-section--split .guide-section__text {
    grid-row: 1;
  }

  .guide-section--split .guide-section__media {
    margin-bottom: 0;
    aspect-ratio: 5 / 4;
    grid-column: 1;
  }

  .guide-section--split .guide-section__text {
    grid-column: 2;
  }

  .guide-section--split.guide-section--reverse .guide__container {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .guide-section--split.guide-section--reverse .guide-section__media {
    grid-column: 2;
  }

  .guide-section--split.guide-section--reverse .guide-section__text {
    grid-column: 1;
  }
}

/* =========================================================
   NAVAO TIP
   ========================================================= */
.guide-tip {
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
  border-left: 2px solid var(--guide-accent);
  background: var(--guide-paper-dim);
}

.guide-tip__label {
  display: block;
  margin-bottom: 0.6rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-tip__text {
  margin: 0;
  font-family: var(--guide-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.5;
  color: var(--guide-text);
}

/* Variante de ancho completo - el tip sale de la columna
   angosta y queda centrado abajo, como divisor de seccion. */
.guide-tip--full {
  width: min(100% - 3rem, 72rem);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  border-left: none;
  border-top: 2px solid var(--guide-accent);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.guide-tip--full .guide-tip__label {
  display: block;
  text-align: center;
}

.guide-tip--full .guide-tip__text {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
}

/* =========================================================
   QUOTE
   ========================================================= */
.guide-quote {
  padding: clamp(6rem, 12vw, 9rem) 0;
}

.guide-quote blockquote {
  margin: 0;
  max-width: 34rem;
  margin-inline: auto;
  text-align: center;
  font-family: var(--guide-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--guide-text);
}

/* =========================================================
   GALLERY
   ========================================================= */
.guide-gallery {
  padding: clamp(2rem, 4vw, 3.5rem) 0 0;
}

.guide-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.75rem, 2vw, 1.25rem);
}

.guide-gallery__item {
  aspect-ratio: 1 / 1;
  background: var(--guide-paper-dim);
  overflow: hidden;
}

@media (min-width: 640px) {
  .guide-gallery__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .guide-gallery__item {
    aspect-ratio: 4 / 5;
  }
}

/* =========================================================
   MOMENT - the dark, dramatic pause
   ========================================================= */
.guide-moment {
  position: relative;
  padding: clamp(6rem, 14vw, 10rem) 0;
  background: var(--guide-ink);
  color: var(--guide-text-inverse);
  overflow: hidden;
}

.guide-moment__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.2;
}

.guide-moment__media img {
  filter: grayscale(0.3) contrast(1.1);
}

.guide-moment::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  pointer-events: none;
}

.guide-moment__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.guide-moment__title {
  margin: 0 0 1.75rem;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--guide-text-inverse);
}

.guide-moment__body {
  max-width: 34rem;
  margin-inline: auto;
  font-family: var(--guide-sans);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--guide-muted-inverse);
}

.guide-moment__body p {
  margin: 0 0 1.25em;
  color: inherit;
}

/* =========================================================
   FAQ
   Acordeon nativo details/summary, con numeracion automatica
   (counter), area de clic mas amplia, y fondo suave al pasar
   el mouse o al estar abierto.
   ========================================================= */
.guide-faq {
  padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.guide-faq__kicker {
  display: block;
  margin-bottom: 1.75rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-faq__list {
  border-top: 1px solid var(--guide-line);
  counter-reset: faq;
}

.guide-faq__item {
  display: grid;
  grid-template-rows: auto 0fr;
  transition: grid-template-rows 0.35s ease, background 0.3s ease;
  border-bottom: 1px solid var(--guide-line);
  padding: 1.5rem 1.25rem;
  margin: 0 -1.25rem;
  border-radius: 4px;
}

.guide-faq__item:hover {
  background: var(--guide-paper-dim);
}

.guide-faq__item[open] {
  grid-template-rows: auto 1fr;
  background: var(--guide-paper-dim);
}

.guide-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.3;
  color: var(--guide-text);
}

.guide-faq__question::-webkit-details-marker {
  display: none;
}

.guide-faq__question::marker {
  content: "";
}

.guide-faq__question::before {
  counter-increment: faq;
  content: counter(faq, decimal-leading-zero);
  flex-shrink: 0;
  margin-right: 0.25rem;
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--guide-accent);
}

.guide-faq__question::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--guide-sans);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--guide-muted);
  transition: transform 0.3s ease;
}

.guide-faq__item[open] .guide-faq__question::after {
  content: "\2212";
}

.guide-faq__answer {
  overflow: hidden;
  min-height: 0;
}

.guide-faq__answer p {
  margin: 0;
  padding-top: 0.75rem;
  font-family: var(--guide-sans);
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--guide-muted);
}

.guide-faq__answer p + p {
  margin-top: 1em;
}

/* =========================================================
   KEEP PLANNING LEON

   CORRECCION 1 - Esta seccion estaba alineada a la izquierda
   dentro de un contenedor angosto, lo que dejaba mucho vacio
   a la derecha justo antes de la foto de la Virgen. Ahora usa
   el contenedor ancho, va centrada, y las tarjetas tienen mas
   altura y el contenido centrado dentro de cada una.
   ========================================================= */
.guide-related {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.guide-related .guide__container {
  width: min(100% - 3rem, 72rem);
  text-align: center;
}

.guide-related__kicker {
  display: block;
  margin-bottom: 2rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-related__links {
  display: grid;
  gap: 1px;
  background: var(--guide-line);
  border: 1px solid var(--guide-line);
}

@media (min-width: 700px) {
  .guide-related__links {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guide-related__links a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 2.5rem 1.75rem;
  background: var(--guide-paper);
  border: none;
  min-height: 9rem;
  font-family: var(--guide-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--guide-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.guide-related__links a span {
  flex-shrink: 0;
  font-family: var(--guide-sans);
  font-size: 1rem;
  color: var(--guide-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}

.guide-related__links a:hover,
.guide-related__links a:focus-visible {
  color: var(--guide-accent);
}

.guide-related__links a:hover span,
.guide-related__links a:focus-visible span {
  color: var(--guide-accent);
  transform: translateX(4px);
}

/* =========================================================
   CTA - the Virgen as background
   ========================================================= */
.guide-cta {
  position: relative;
  isolation: isolate;
  min-height: 90svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a0a0a;
}

.guide-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--guide-accent);
  z-index: 3;
}

.guide-cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.guide-cta__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.guide-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.05) 0%,
    rgba(0, 0, 0, 0.18) 35%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

.guide-cta__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 5rem 0 clamp(3rem, 7vw, 6rem);
  text-align: left;
}

.guide-cta__kicker {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-cta__title {
  max-width: 700px;
  margin: 0 0 1.25rem;
  font-family: var(--guide-serif);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  color: var(--guide-text-inverse);
}

.guide-cta__body {
  max-width: 30rem;
  margin: 0 0 2.25rem;
  font-family: var(--guide-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--guide-muted-inverse);
}

.guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem 1.75rem;
}

.guide-cta__primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  background: var(--guide-accent);
  color: #0a0a0a;
  font-family: var(--guide-sans);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.guide-cta__primary:hover,
.guide-cta__primary:focus-visible {
  background: #cdb471;
  transform: translateY(-1px);
}

.guide-cta__secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--guide-sans);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--guide-text-inverse);
  text-decoration: none;
  border-bottom: 1px solid var(--guide-line-dark);
  padding-bottom: 0.15rem;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.guide-cta__secondary:hover,
.guide-cta__secondary:focus-visible {
  color: var(--guide-accent);
  border-color: var(--guide-accent);
}

.guide-cta__footnote {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--guide-line-dark);
  font-family: var(--guide-sans);
  font-size: 0.75rem;
  color: var(--guide-muted-inverse);
}

.guide-credits {
  margin-top: 1rem;
  font-family: var(--guide-sans);
  font-size: 0.6875rem;
  color: var(--guide-muted-inverse);
  text-align: left;
}

/* =========================================================
   Reveal safety net
   ========================================================= */
.guide:not(.hub) [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* =========================================================
   PACIFIC SUNSET - override puntual.
   La foto real es vertical 4:5, el molde generico pedia 5:4.
   ========================================================= */
#pacific-sunset .guide-section__media {
  aspect-ratio: 4 / 5;
}

/* =========================================================
   MEET THE ART OF LEON - override puntual.
   Columna de imagen mas ancha y proporcion mas alta.
   ========================================================= */
#art-of-leon .guide__container {
  grid-template-columns: minmax(0, 1.50fr) minmax(0, 0.45fr);
}

#art-of-leon .guide-section__media {
  aspect-ratio: 4 / 5;
}

/* =========================================================
   SUTIABA - override puntual.

   CORRECCION 2 (parte B) - La foto se veia chica. Se invierte
   la proporcion de columnas a favor de la imagen (0.8fr para
   el texto, 1.2fr para la foto) y se le da un aspect-ratio
   vertical 4:5, mas imponente para una fachada de iglesia.
   ========================================================= */
#sutiaba .guide__container {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

#sutiaba .guide-section__media {
  aspect-ratio: 4 / 5;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 640px) {
  .guide-hero {
    min-height: 34rem;
  }

  .guide-cta {
    min-height: 70svh;
  }

  .guide-section:not(.guide-section--split):not(.guide-section--full) .guide-section__media:not(.guide-section__media--panoramic) {
    width: 100%;
    margin-left: 0;
    transform: none;
    aspect-ratio: 4 / 3;
  }

  .guide-section__media--panoramic {
    aspect-ratio: 16 / 9;
  }

  .guide-related__links a {
    min-height: 0;
  }
}

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

  .guide-faq__item {
    transition: none;
  }
}
