/* ==========================================================================
   Santuario de Las Lajas — Editorial Cultural Design System
   Palette inspired by Andean limestone (piedra laja), Guáitara emerald slopes,
   canyon slate twilight, and warm liturgical gold.
   ========================================================================== */

:root {
  /* Colors */
  --bg-parchment: #f6f3ec;
  --bg-stone: #ece7dc;
  --bg-surface: #fbf9f5;
  --bg-canyon: #11181c;
  --bg-canyon-elevated: #1a2429;

  --ink-primary: #182024;
  --ink-secondary: #4a575e;
  --ink-muted: #6c7980;
  --ink-light: #f4f1ea;
  --ink-light-muted: #b8c4c9;

  --emerald: #1c4d3b;
  --emerald-hover: #143b2c;
  --emerald-soft: rgba(28, 77, 59, 0.1);

  --gold-on-light: #936826;
  --gold-on-dark: #d9b46c;
  --gold-soft: rgba(217, 180, 108, 0.14);

  --border-light: rgba(24, 32, 36, 0.12);
  --border-dark: rgba(244, 241, 234, 0.14);

  /* Typography */
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing & Layout */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-soft: 0 12px 36px rgba(17, 24, 28, 0.08);
  --shadow-deep: 0 24px 64px rgba(8, 12, 15, 0.35);

  /* Motion */
  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Living Seasonal Themes (Auto-switched by Calendar Date or Preview Picker)
   ========================================================================== */

/* Diciembre Navideño & Alumbrados (Dec 1 – Dec 31) — Joyful, Bright & Warm */
:root[data-season="diciembre"] {
  --bg-parchment: #fffbf2;
  --bg-stone: #fdf0d8;
  --bg-surface: #ffffff;
  --bg-canyon: #115336;
  --bg-canyon-elevated: #176b46;

  --emerald: #c41e3a;
  --emerald-hover: #9e162e;
  --emerald-soft: rgba(196, 30, 58, 0.12);

  --gold-on-light: #b87408;
  --gold-on-dark: #ffd45c;
  --gold-soft: rgba(255, 212, 92, 0.22);

  --border-light: rgba(196, 30, 58, 0.15);
  --border-dark: rgba(255, 212, 92, 0.28);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Outfit", "Plus Jakarta Sans", -apple-system, sans-serif;
}

/* Vibrant Joyful Christmas Atmosphere Overrides */
:root[data-season="diciembre"] .hero.hero-portal {
  background:
    radial-gradient(ellipse 68% 62% at 74% 46%, rgba(255, 206, 84, 0.34), transparent 64%),
    radial-gradient(ellipse 56% 52% at 14% 28%, rgba(196, 30, 58, 0.42), transparent 68%),
    radial-gradient(ellipse 65% 60% at 32% 88%, rgba(20, 128, 78, 0.52), transparent 72%),
    linear-gradient(135deg, #104f34 0%, #166845 48%, #7a1728 100%);
}

:root[data-season="diciembre"] .hero-facts {
  background: rgba(122, 20, 38, 0.86);
  border-top: 1px solid rgba(255, 212, 92, 0.38);
}

:root[data-season="diciembre"] .gothic-arch-frame {
  background: linear-gradient(145deg, #ffe285 0%, #c41e3a 48%, #ffd45c 100%);
  box-shadow:
    0 24px 72px rgba(10, 42, 26, 0.48),
    0 0 65px rgba(255, 212, 92, 0.38);
}

:root[data-season="diciembre"] .arch-compass-badge {
  background: linear-gradient(145deg, #c41e3a, #94142b);
  border: 2px solid #ffd45c;
  color: #fff6dc;
}

:root[data-season="diciembre"] .arch-plate-seal {
  background: rgba(158, 22, 46, 0.9);
  border-color: #ffd45c;
  color: #fff6dc;
}

:root[data-season="diciembre"] .btn-primary {
  background: linear-gradient(135deg, #ffda6b 0%, #f0a824 100%);
  border-color: #ffda6b;
  color: #2c1306;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(240, 168, 36, 0.36);
}

:root[data-season="diciembre"] .btn-primary:hover {
  background: linear-gradient(135deg, #ffe58f 0%, #f7b838 100%);
}

:root[data-season="diciembre"] .seasonal-spotlight {
  background: linear-gradient(135deg, #9e1830 0%, #b8203a 52%, #7d1225 100%);
  border-top: 2px solid rgba(255, 212, 92, 0.45);
  border-bottom: 2px solid rgba(255, 212, 92, 0.32);
}

:root[data-season="diciembre"] .spotlight-card {
  background: rgba(255, 250, 240, 0.12);
  border-color: rgba(255, 212, 92, 0.42);
}

:root[data-season="diciembre"] .section-canyon {
  background: linear-gradient(160deg, #0f4e32 0%, #156642 60%, #104930 100%);
}

:root[data-season="diciembre"] .exvoto-callout,
:root[data-season="diciembre"] .exvoto-plaque {
  background: linear-gradient(145deg, rgba(255, 248, 232, 0.14), rgba(196, 30, 58, 0.18));
  border-color: rgba(255, 212, 92, 0.42);
}

:root[data-season="diciembre"] .planner-result {
  background: linear-gradient(145deg, #0f5235 0%, #186b47 65%, #7c182a 100%);
  border-color: rgba(255, 212, 92, 0.5);
}

:root[data-season="diciembre"] .local-banner-dark {
  background: linear-gradient(135deg, #9e1830 0%, #145e3d 100%);
}

:root[data-season="diciembre"] .site-footer {
  background: linear-gradient(180deg, #0e4a30 0%, #0a3623 100%);
}

:root[data-season="diciembre"] .service-cta {
  background: linear-gradient(135deg, #c41e3a 0%, #a31730 100%);
}

:root[data-season="diciembre"] .service-cta:hover {
  background: linear-gradient(135deg, #146b43 0%, #0f5434 100%);
}

:root[data-season="diciembre"] .planner-pill.is-selected,
:root[data-season="diciembre"] .arch-selector.is-active,
:root[data-season="diciembre"] .arch-detail-num {
  background: #146b43;
  border-color: #146b43;
}

/* Festive Twinkling Christmas Garland Lights (shown ONLY in December) */
.xmas-garland {
  display: none;
}

:root[data-season="diciembre"] .xmas-garland {
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 2%;
  border-top: 1px dashed rgba(255, 218, 115, 0.38);
}

.xmas-garland .bulb {
  width: 10px;
  height: 14px;
  border-radius: 50% 50% 45% 45%;
  margin-top: -2px;
  animation: bulbTwinkle 2.4s ease-in-out infinite alternate;
}

.xmas-garland .bulb:nth-child(even) {
  margin-top: 6px;
  animation-delay: 0.7s;
}

.xmas-garland .bulb:nth-child(3n) {
  animation-delay: 1.3s;
}

.bulb.b-gold {
  background: #ffe074;
  box-shadow: 0 0 14px 3px rgba(255, 216, 89, 0.85);
}

.bulb.b-red {
  background: #ff4d6a;
  box-shadow: 0 0 14px 3px rgba(255, 77, 106, 0.85);
}

.bulb.b-green {
  background: #3be08e;
  box-shadow: 0 0 14px 3px rgba(59, 224, 142, 0.8);
}

.bulb.b-warm {
  background: #fff8e2;
  box-shadow: 0 0 14px 3px rgba(255, 248, 226, 0.9);
}

@keyframes bulbTwinkle {
  0% { opacity: 0.62; transform: scale(0.92); }
  100% { opacity: 1; transform: scale(1.14); }
}

.mote.m-extra {
  display: none;
}

:root[data-season="diciembre"] .mote.m-extra {
  display: block;
}

.mote:nth-child(7) { left: 8%; top: 22%; animation-delay: 0.4s; animation-duration: 9s; }
.mote:nth-child(8) { left: 26%; top: 18%; animation-delay: 1.9s; animation-duration: 11s; }
.mote:nth-child(9) { left: 48%; top: 16%; animation-delay: 3.2s; animation-duration: 10s; }
.mote:nth-child(10) { left: 68%; top: 24%; animation-delay: 0.9s; animation-duration: 12s; }
.mote:nth-child(11) { left: 84%; top: 20%; animation-delay: 2.5s; animation-duration: 9.5s; }
.mote:nth-child(12) { left: 92%; top: 45%; animation-delay: 4.1s; animation-duration: 11.5s; }

/* Enero · Carnaval de Negros y Blancos de Nariño (Jan 1 – Jan 15) — Explosive Joy & Color */
:root[data-season="carnaval"] {
  --bg-parchment: #fffdf5;
  --bg-stone: #fff3d6;
  --bg-surface: #ffffff;
  --bg-canyon: #163b7a;
  --bg-canyon-elevated: #1e4b96;

  --emerald: #d61f69;
  --emerald-hover: #b01755;
  --emerald-soft: rgba(214, 31, 105, 0.12);

  --gold-on-light: #0c7c75;
  --gold-on-dark: #ffd046;
  --gold-soft: rgba(255, 208, 70, 0.24);

  --border-light: rgba(22, 59, 122, 0.14);
  --border-dark: rgba(255, 208, 70, 0.34);

  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, sans-serif;
}

/* Vibrant Carnaval de Negros y Blancos Atmosphere Overrides */
:root[data-season="carnaval"] .hero.hero-portal {
  background:
    radial-gradient(ellipse 65% 58% at 76% 42%, rgba(255, 208, 70, 0.38), transparent 62%),
    radial-gradient(ellipse 56% 52% at 12% 24%, rgba(229, 33, 101, 0.45), transparent 68%),
    radial-gradient(ellipse 60% 54% at 32% 86%, rgba(14, 165, 160, 0.44), transparent 70%),
    linear-gradient(135deg, #123678 0%, #1d4e9c 42%, #b51a5a 100%);
}

:root[data-season="carnaval"] .hero-facts {
  background: rgba(15, 45, 98, 0.88);
  border-top: 2px solid rgba(255, 208, 70, 0.5);
}

:root[data-season="carnaval"] .gothic-arch-frame {
  background: linear-gradient(145deg, #ffd046 0%, #e52165 36%, #0ea5a0 70%, #ffd046 100%);
  box-shadow:
    0 24px 72px rgba(14, 38, 86, 0.48),
    0 0 65px rgba(255, 208, 70, 0.36);
}

:root[data-season="carnaval"] .arch-compass-badge {
  background: linear-gradient(145deg, #e52165, #b5154e);
  border: 2px solid #ffd046;
  color: #fff9e6;
}

:root[data-season="carnaval"] .arch-plate-seal {
  background: linear-gradient(135deg, rgba(14, 148, 142, 0.94), rgba(18, 54, 120, 0.94));
  border-color: #ffd046;
  color: #fffaf0;
}

:root[data-season="carnaval"] .btn-primary {
  background: linear-gradient(135deg, #ffd44d 0%, #ff8a1f 100%);
  border-color: #ffd44d;
  color: #1c1026;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(255, 138, 31, 0.36);
}

:root[data-season="carnaval"] .btn-primary:hover {
  background: linear-gradient(135deg, #ffe178 0%, #ff9d3b 100%);
}

:root[data-season="carnaval"] .section-canyon {
  background: linear-gradient(155deg, #133673 0%, #1d4e99 54%, #0f686e 100%);
}

:root[data-season="carnaval"] .exvoto-callout,
:root[data-season="carnaval"] .exvoto-plaque {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(229, 33, 101, 0.18));
  border-color: rgba(255, 208, 70, 0.48);
}

:root[data-season="carnaval"] .planner-result {
  background: linear-gradient(145deg, #133a7c 0%, #0e7a78 60%, #bf1b5f 100%);
  border-color: rgba(255, 208, 70, 0.55);
}

:root[data-season="carnaval"] .local-banner-dark {
  background: linear-gradient(135deg, #c91b61 0%, #143f88 100%);
}

:root[data-season="carnaval"] .site-footer {
  background: linear-gradient(180deg, #12346e 0%, #0d244d 100%);
}

:root[data-season="carnaval"] .service-cta {
  background: linear-gradient(135deg, #d61f69 0%, #b01755 100%);
}

:root[data-season="carnaval"] .service-cta:hover {
  background: linear-gradient(135deg, #0d8a82 0%, #0a6c66 100%);
}

:root[data-season="carnaval"] .planner-pill.is-selected,
:root[data-season="carnaval"] .arch-selector.is-active,
:root[data-season="carnaval"] .arch-detail-num {
  background: #0d8a82;
  border-color: #0d8a82;
}

/* Festive Triangular Carnival Bunting Flags (shown ONLY in Carnival mode) */
.carnaval-bunting {
  display: none;
}

:root[data-season="carnaval"] .carnaval-bunting {
  position: absolute;
  top: 70px;
  left: 0;
  right: 0;
  height: 36px;
  z-index: 3;
  pointer-events: none;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  padding: 0 1.5%;
  border-top: 1.5px solid rgba(255, 208, 70, 0.48);
}

.carnaval-bunting .flag {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 20px solid #ffd046;
  transform-origin: top center;
  animation: flagSway 3.2s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

.carnaval-bunting .flag:nth-child(2n) {
  border-top-color: #ff3b7f;
  animation-delay: 0.4s;
}

.carnaval-bunting .flag:nth-child(3n) {
  border-top-color: #16d1c6;
  animation-delay: 0.8s;
}

.carnaval-bunting .flag:nth-child(4n) {
  border-top-color: #ff7a29;
  animation-delay: 1.1s;
}

.carnaval-bunting .flag:nth-child(5n) {
  border-top-color: #ffffff;
  animation-delay: 1.5s;
}

@keyframes flagSway {
  0% { transform: rotate(-6deg); }
  100% { transform: rotate(7deg); }
}

.carnaval-only[hidden] {
  display: none !important;
}

:root[data-season="carnaval"] .atmosphere-pill.carnaval-only {
  background: linear-gradient(135deg, rgba(229, 33, 101, 0.72), rgba(255, 138, 31, 0.72));
  border-color: #ffd046;
  color: #ffffff;
  font-weight: 600;
}

:root[data-season="carnaval"] .atmosphere-pill[data-sound-toggle] {
  background: linear-gradient(135deg, rgba(13, 138, 130, 0.78), rgba(22, 59, 122, 0.84));
  border-color: rgba(255, 208, 70, 0.7);
  color: #fffdf5;
  font-weight: 600;
}

:root[data-season="carnaval"] .atmosphere-pill[data-sound-toggle].is-playing {
  background: linear-gradient(135deg, rgba(14, 165, 160, 0.92), rgba(214, 31, 105, 0.82));
  border-color: #ffd046;
  box-shadow: 0 0 20px rgba(255, 208, 70, 0.35);
}

:root[data-season="carnaval"] .mote.m-extra {
  display: block;
}

:root[data-season="carnaval"] .mote {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: #ffd046;
  box-shadow: 0 0 10px rgba(255, 208, 70, 0.65);
  animation-name: carnavalConfettiFloat;
}

:root[data-season="carnaval"] .mote:nth-child(2n) {
  border-radius: 50%;
  width: 11px;
  height: 11px;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.85) 60%, transparent 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.85);
}

:root[data-season="carnaval"] .mote:nth-child(3n) {
  background: #ff3b7f;
}

:root[data-season="carnaval"] .mote:nth-child(4n) {
  background: #16d1c6;
}

@keyframes carnavalConfettiFloat {
  0% { opacity: 0; transform: translate3d(-18px, -40px, 0) rotate(0deg) scale(0.8); }
  20% { opacity: 0.95; }
  80% { opacity: 0.8; }
  100% { opacity: 0; transform: translate3d(28px, 76px, 0) rotate(240deg) scale(1.15); }
}

/* ==========================================================================
   Dedicated Interactive Carnaval de Negros y Blancos Showcase Section
   (Displayed exclusively in Carnival mode — Jan 1–15 or Preview)
   ========================================================================== */
.carnaval-showcase {
  background:
    radial-gradient(circle at 92% 14%, rgba(255, 208, 70, 0.24), transparent 36%),
    radial-gradient(circle at 8% 85%, rgba(14, 165, 160, 0.24), transparent 40%),
    linear-gradient(140deg, #b81959 0%, #163d82 56%, #0c6d6b 100%);
  color: var(--ink-light);
  padding: clamp(3.4rem, 6.5vw, 5.4rem) 0;
  border-top: 3px solid #ffd046;
  border-bottom: 3px solid #ffd046;
  position: relative;
  overflow: hidden;
}

.carnaval-showcase[hidden] {
  display: none;
}

.carnaval-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.2rem;
  align-items: center;
  margin-bottom: 2.5rem;
}

.sol-pastos-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 208, 70, 0.16);
  border: 1px solid rgba(255, 208, 70, 0.55);
  color: #ffe27a;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.sol-pastos-icon {
  width: 20px;
  height: 20px;
  animation: solSpin 22s linear infinite;
}

@keyframes solSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.carnaval-head h2 {
  font-size: clamp(2.1rem, 4.1vw, 3.3rem);
  color: #ffffff;
  margin-bottom: 0.85rem;
}

.carnaval-head p {
  font-size: 1.02rem;
  color: rgba(255, 250, 240, 0.9);
  max-width: 58ch;
  margin-bottom: 1.35rem;
}

.carnaval-art-frame {
  margin: 0;
  border-radius: 24px;
  padding: 8px;
  background: linear-gradient(135deg, #ffd046, #ff3b7f, #16d1c6);
  box-shadow: var(--shadow-deep);
}

.carnaval-art-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 17px;
}

.carnaval-art-frame figcaption {
  margin-top: 8px;
  padding: 0.55rem 0.9rem;
  border-radius: 12px;
  background: rgba(14, 24, 52, 0.86);
  font-size: 0.8rem;
  color: #fffaf0;
  font-weight: 600;
  text-align: center;
}

/* Interactive 2–7 Enero Carnival Agenda Tabs */
.carnaval-agenda {
  background: rgba(12, 23, 46, 0.52);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 208, 70, 0.38);
  border-radius: 24px;
  padding: clamp(1.3rem, 3vw, 2.1rem);
  margin-bottom: 2rem;
}

.carnaval-days-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.carnaval-day-btn {
  flex: 1 1 135px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.72rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.carnaval-day-btn:hover {
  transform: translateY(-2px);
  border-color: #ffd046;
}

.carnaval-day-btn.is-active {
  background: linear-gradient(135deg, #ffd046 0%, #ff8a1f 100%);
  border-color: #ffd046;
  color: #1a1026;
  box-shadow: 0 8px 20px rgba(255, 168, 38, 0.35);
}

.carnaval-day-btn strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.1;
}

.carnaval-day-btn span {
  font-size: 0.74rem;
  opacity: 0.88;
  margin-top: 2px;
}

.carnaval-day-stage {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.6rem;
  align-items: center;
}

.carnaval-day-kicker {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffd046;
  margin-bottom: 0.45rem;
}

.carnaval-day-stage h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.carnaval-day-stage p {
  color: rgba(255, 250, 240, 0.9);
  font-size: 0.96rem;
  line-height: 1.68;
}

.carnaval-day-tip {
  padding: 1.2rem 1.35rem;
  border-radius: 16px;
  background: rgba(255, 208, 70, 0.14);
  border: 1px solid rgba(255, 208, 70, 0.44);
  font-size: 0.88rem;
  color: #fff9e6;
}

.carnaval-day-tip strong {
  display: block;
  color: #ffd046;
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.carnaval-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.carnaval-pillar {
  padding: 1.25rem 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.carnaval-pillar h4 {
  font-size: 1.22rem;
  color: #ffe27a;
  margin-bottom: 0.45rem;
}

.carnaval-pillar p {
  font-size: 0.86rem;
  color: rgba(255, 250, 240, 0.88);
  line-height: 1.55;
}

/* Semana Santa · Recogimiento y Peregrinación (Dynamic Easter window) */
:root[data-season="semana-santa"] {
  --bg-parchment: #f7f4fa;
  --bg-stone: #ece6f2;
  --bg-surface: #fdfbfe;
  --bg-canyon: #211530;
  --bg-canyon-elevated: #2e1e42;

  --emerald: #603880;
  --emerald-hover: #4a2a65;
  --emerald-soft: rgba(96, 56, 128, 0.13);

  --gold-on-light: #8f631e;
  --gold-on-dark: #f0c97a;
  --gold-soft: rgba(240, 201, 122, 0.2);

  --font-serif: "EB Garamond", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, sans-serif;
}

:root[data-season="semana-santa"] .hero.hero-portal {
  background:
    radial-gradient(ellipse 64% 56% at 76% 42%, rgba(240, 201, 122, 0.28), transparent 64%),
    radial-gradient(ellipse 56% 52% at 15% 28%, rgba(128, 66, 165, 0.36), transparent 68%),
    linear-gradient(140deg, #1d122b 0%, #311d49 52%, #4a2458 100%);
}

:root[data-season="semana-santa"] .gothic-arch-frame {
  background: linear-gradient(145deg, #f5d48a 0%, #7c4ca0 48%, #e5b864 100%);
  box-shadow: 0 24px 72px rgba(20, 10, 34, 0.52), 0 0 60px rgba(240, 201, 122, 0.3);
}

:root[data-season="semana-santa"] .hero-facts {
  background: rgba(27, 16, 42, 0.88);
  border-top: 1px solid rgba(240, 201, 122, 0.42);
}

:root[data-season="semana-santa"] .btn-primary {
  background: linear-gradient(135deg, #f3cd7a 0%, #d89b3c 100%);
  border-color: #f3cd7a;
  color: #1f142a;
  font-weight: 700;
}

/* Septiembre · Fiestas Patronales de la Virgen de Las Lajas (Sep 1 – Sep 20) */
:root[data-season="septiembre"] {
  --bg-parchment: #faf8f2;
  --bg-stone: #f0ebe0;
  --bg-surface: #ffffff;
  --bg-canyon: #12284a;
  --bg-canyon-elevated: #1a3866;

  --emerald: #1c508a;
  --emerald-hover: #143c69;
  --emerald-soft: rgba(28, 80, 138, 0.12);

  --gold-on-light: #a16f14;
  --gold-on-dark: #f7cf68;
  --gold-soft: rgba(247, 207, 104, 0.22);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, sans-serif;
}

:root[data-season="septiembre"] .hero.hero-portal {
  background:
    radial-gradient(ellipse 64% 58% at 76% 42%, rgba(247, 207, 104, 0.34), transparent 64%),
    radial-gradient(ellipse 56% 52% at 18% 26%, rgba(44, 114, 194, 0.38), transparent 68%),
    linear-gradient(140deg, #102546 0%, #1c447c 54%, #255a96 100%);
}

:root[data-season="septiembre"] .gothic-arch-frame {
  background: linear-gradient(145deg, #ffe285 0%, #2a6db8 48%, #f2bc49 100%);
  box-shadow: 0 24px 72px rgba(12, 28, 54, 0.48), 0 0 65px rgba(247, 207, 104, 0.34);
}

:root[data-season="septiembre"] .hero-facts {
  background: rgba(15, 35, 68, 0.88);
  border-top: 1px solid rgba(247, 207, 104, 0.44);
}

:root[data-season="septiembre"] .btn-primary {
  background: linear-gradient(135deg, #ffd86b 0%, #e5a42e 100%);
  border-color: #ffd86b;
  color: #10213d;
  font-weight: 700;
}

/* December starlight / gentle snowfall shimmer animation */
:root[data-season="diciembre"] .mote {
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #ffffff 0%, #ffe07d 45%, rgba(255, 224, 125, 0) 78%);
  box-shadow: 0 0 14px rgba(255, 224, 125, 0.9);
  animation-name: decemberSparkle;
}

:root[data-season="diciembre"] .mote:nth-child(even) {
  width: 6px;
  height: 6px;
  background: radial-gradient(circle, #ffffff 0%, rgba(255, 255, 255, 0.8) 55%, transparent 80%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes decemberSparkle {
  0% { opacity: 0; transform: translate3d(-16px, -45px, 0) scale(0.7); }
  20% { opacity: 1; }
  80% { opacity: 0.85; }
  100% { opacity: 0; transform: translate3d(24px, 78px, 0) scale(1.2); }
}

:root[data-season="semana-santa"] .mote {
  background: radial-gradient(circle, #ffe4a1 0%, rgba(230, 152, 65, 0.6) 50%, transparent 78%);
}

/* Seasonal Spotlight Structural Module */
.seasonal-spotlight {
  background: linear-gradient(180deg, var(--bg-canyon) 0%, var(--bg-canyon-elevated) 100%);
  color: var(--ink-light);
  padding: clamp(2.8rem, 5.5vw, 4.4rem) 0;
  border-top: 1px solid rgba(236, 197, 110, 0.24);
  border-bottom: 1px solid rgba(236, 197, 110, 0.18);
  position: relative;
}

.seasonal-spotlight[hidden] {
  display: none;
}

.spotlight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.spotlight-header h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--ink-light);
  margin-bottom: 0.55rem;
}

.spotlight-header p {
  color: var(--ink-light-muted);
  max-width: 60ch;
  font-size: 0.98rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.spotlight-card {
  padding: 1.55rem 1.65rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(236, 197, 110, 0.24);
  transition: transform 0.25s var(--ease-editorial), border-color 0.25s ease;
}

.spotlight-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-on-dark);
}

.spotlight-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 0.5rem;
}

.spotlight-card h3 {
  font-size: 1.38rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.spotlight-card p {
  font-size: 0.9rem;
  color: var(--ink-light-muted);
  line-height: 1.62;
}

/* Season Switcher Popover inside Floating Dock */
.season-picker-wrap {
  position: relative;
}

.season-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.65rem);
  width: 230px;
  padding: 0.55rem;
  border-radius: 16px;
  background: rgba(15, 22, 26, 0.96);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(236, 197, 110, 0.34);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.season-popover[hidden] {
  display: none;
}

.season-popover-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  padding: 0.35rem 0.65rem 0.25rem;
}

.season-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink-light);
  font-size: 0.82rem;
  text-align: left;
  padding: 0.52rem 0.72rem;
  border-radius: 10px;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.season-option:hover {
  background: rgba(244, 241, 234, 0.1);
}

.season-option.is-active {
  background: var(--gold-on-dark);
  color: #13191d;
  font-weight: 600;
}

.season-option small {
  font-size: 0.7rem;
  opacity: 0.78;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background-color: var(--bg-parchment);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
}

/* Subtle artisanal stone-paper texture across page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(var(--container-max), calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Reading Progress Bar */
.progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  z-index: 120;
  pointer-events: none;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-on-dark), #f0d7a0);
  transition: width 0.08s linear;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.15rem 0;
  color: var(--ink-light);
  transition: background-color 0.35s var(--ease-editorial),
              padding 0.35s var(--ease-editorial),
              color 0.35s var(--ease-editorial),
              box-shadow 0.35s var(--ease-editorial);
}

.site-header.is-scrolled {
  background-color: rgba(246, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--ink-primary);
  padding: 0.78rem 0;
  box-shadow: 0 1px 0 var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
}

.brand-emblem {
  width: 30px;
  height: 30px;
  color: var(--gold-on-dark);
  transition: color 0.3s ease;
}

.site-header.is-scrolled .brand-emblem {
  color: var(--emerald);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand-text small {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.78;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border-radius: 999px;
  border: 1px solid rgba(244, 241, 234, 0.34);
  background: rgba(17, 24, 28, 0.28);
}

.site-header.is-scrolled .lang-switch {
  border-color: var(--border-light);
  background: var(--bg-stone);
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.28rem 0.62rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(244, 241, 234, 0.8);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-btn.is-active {
  background: var(--gold-on-dark);
  color: #13191d;
}

.site-header.is-scrolled .lang-btn {
  color: var(--ink-secondary);
}

.site-header.is-scrolled .lang-btn.is-active {
  background: var(--emerald);
  color: var(--ink-light);
}

.nav-link {
  font-size: 0.87rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 0.25rem 0;
  opacity: 0.88;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  opacity: 1;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-editorial);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 0.52rem 1.05rem;
  border: 1px solid rgba(244, 241, 234, 0.42);
  border-radius: 999px;
  opacity: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background-color: var(--ink-light);
  color: var(--bg-canyon);
  border-color: var(--ink-light);
}

.site-header.is-scrolled .nav-cta {
  background-color: var(--emerald);
  border-color: var(--emerald);
  color: var(--ink-light);
}

.site-header.is-scrolled .nav-cta:hover {
  background-color: var(--emerald-hover);
}

/* Mobile Toggle & Drawer */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  padding: 0 10px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  transition: transform 0.28s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-drawer {
  position: fixed;
  inset: 0;
  background: var(--bg-canyon);
  color: var(--ink-light);
  z-index: 95;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-link {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 500;
  border-bottom: 1px solid var(--border-dark);
  padding-bottom: 0.75rem;
}

.mobile-meta {
  margin-top: 2.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--ink-light);
  background: var(--bg-canyon);
  overflow: hidden;
  padding-top: 6.5rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 34%;
  transform: scale(1.03);
  transition: transform 0.2s linear;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 17, 21, 0.52) 0%, rgba(11, 17, 21, 0.08) 32%, rgba(11, 17, 21, 0.52) 74%, rgba(11, 17, 21, 0.92) 100%),
    linear-gradient(95deg, rgba(11, 17, 21, 0.86) 0%, rgba(11, 17, 21, 0.56) 34%, rgba(11, 17, 21, 0.04) 56%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4.5vh, 3.2rem) 0 clamp(2rem, 4vh, 3rem);
}

.hero-copy {
  max-width: 455px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 1rem;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-on-dark);
  box-shadow: 0 0 0 4px rgba(217, 180, 108, 0.2);
}

.hero-title {
  font-size: clamp(2.9rem, 5.4vw, 4.9rem);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.45);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: #f4e6c8;
}

.hero-subtitle {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  color: rgba(244, 241, 234, 0.9);
  max-width: 48ch;
  margin-bottom: 1.7rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.88rem 1.55rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 0.25s var(--ease-editorial), background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--gold-on-dark);
  color: #13191d;
  border: 1px solid var(--gold-on-dark);
}

.btn-primary:hover {
  background-color: #e4c485;
  border-color: #e4c485;
}

.btn-ghost {
  background-color: rgba(244, 241, 234, 0.08);
  color: var(--ink-light);
  border: 1px solid rgba(244, 241, 234, 0.36);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background-color: rgba(244, 241, 234, 0.16);
  border-color: var(--ink-light);
}

/* Hero Facts Strip */
.hero-facts {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(244, 241, 234, 0.16);
  background: rgba(13, 20, 24, 0.72);
  backdrop-filter: blur(10px);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

@media (min-width: 1024px) {
  .facts-grid {
    padding-right: 175px;
  }
}

.fact-item {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-right: 1px solid rgba(244, 241, 234, 0.12);
}

.fact-item:not(:first-child) {
  padding-left: 1.45rem;
}

.fact-item:last-child {
  border-right: none;
}

.fact-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink-light-muted);
  margin-bottom: 0.28rem;
}

.fact-value {
  font-family: var(--font-serif);
  font-size: 1.42rem;
  font-weight: 500;
  color: var(--ink-light);
}

/* ==========================================================================
   Shared Section Styles
   ========================================================================== */
.section {
  padding: clamp(4.2rem, 8.5vw, 7.2rem) 0;
}

.section-parchment {
  background-color: var(--bg-parchment);
}

.section-stone {
  background-color: var(--bg-stone);
}

.section-canyon {
  background-color: var(--bg-canyon);
  color: var(--ink-light);
}

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald);
  margin-bottom: 0.85rem;
}

.tag-gold {
  color: var(--gold-on-dark);
}

.section-title {
  font-size: clamp(2.15rem, 4.3vw, 3.35rem);
  color: var(--ink-primary);
  margin-bottom: 1.1rem;
}

.title-light {
  color: var(--ink-light);
}

.section-header {
  max-width: 720px;
  margin-bottom: clamp(2.4rem, 4.5vw, 3.6rem);
}

.section-intro {
  font-size: 1.03rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Essence & Recognition
   ========================================================================== */
.editorial-split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(3rem, 6vw, 4.8rem);
}

.lead-paragraph {
  font-size: 1.12rem;
  color: var(--ink-primary);
  line-height: 1.72;
}

.editorial-body p:not(.lead-paragraph) {
  color: var(--ink-secondary);
}

.recognition-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.recognition-card {
  padding: 2rem 1.6rem 2rem 0;
  border-right: 1px solid var(--border-light);
}

.recognition-card:not(:first-child) {
  padding-left: 1.6rem;
}

.recognition-card:last-child {
  border-right: none;
  padding-right: 0;
}

.rec-year {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 500;
  color: var(--gold-on-light);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.recognition-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
}

.recognition-card p {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Timeline
   ========================================================================== */
.timeline-shell {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 2.2rem;
  align-items: stretch;
}

.timeline-rail {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  position: relative;
}

.timeline-tab {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 0.95rem 1.2rem;
  border: 1px solid transparent;
  border-left: 3px solid var(--border-light);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: transparent;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.timeline-tab:hover {
  background: rgba(251, 249, 245, 0.65);
  border-left-color: var(--emerald);
}

.timeline-tab.is-active {
  background: var(--bg-surface);
  border-color: var(--border-light);
  border-left: 3px solid var(--emerald);
  box-shadow: var(--shadow-soft);
}

.tab-year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--emerald);
  line-height: 1.1;
}

.tab-label {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  margin-top: 0.15rem;
}

.timeline-tab.is-active .tab-label {
  color: var(--ink-primary);
  font-weight: 600;
}

.timeline-stage {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 3.1rem);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}

.era-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.era-counter {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--ink-muted);
}

.era-title {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  margin-bottom: 1.1rem;
}

.era-desc {
  font-size: 1.02rem;
  color: var(--ink-secondary);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.era-note {
  margin: 0 0 1.8rem;
  padding: 1rem 1.25rem;
  border-left: 2.5px solid var(--gold-on-light);
  background: var(--bg-parchment);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.92rem;
  color: var(--ink-primary);
  font-style: italic;
}

.timeline-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.25rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid var(--border-light);
  border-radius: 999px;
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: var(--bg-stone);
  border-color: rgba(24, 32, 36, 0.3);
}

/* ==========================================================================
   Interactive Architecture Explorer
   ========================================================================== */
.arch-interactive {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 2.6rem;
}

.arch-diagram-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.diagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.diagram-hint {
  color: var(--emerald);
  font-weight: 600;
}

.diagram-canvas {
  background: #eff2ee;
}

.elevation-svg {
  width: 100%;
  height: auto;
  display: block;
}

.svg-hotspot {
  cursor: pointer;
  outline: none;
}

.hotspot-ring {
  fill: rgba(28, 77, 59, 0.18);
  transition: r 0.25s ease, fill 0.25s ease;
}

.hotspot-dot {
  fill: var(--bg-surface);
  stroke: var(--emerald);
  stroke-width: 2;
  transition: fill 0.25s ease, stroke 0.25s ease;
}

.hotspot-num {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  fill: var(--emerald);
  pointer-events: none;
  transition: fill 0.25s ease;
}

.svg-hotspot:hover .hotspot-dot,
.svg-hotspot:focus-visible .hotspot-dot,
.svg-hotspot.is-active .hotspot-dot {
  fill: var(--emerald);
  stroke: var(--emerald);
}

.svg-hotspot:hover .hotspot-num,
.svg-hotspot:focus-visible .hotspot-num,
.svg-hotspot.is-active .hotspot-num {
  fill: var(--ink-light);
}

.svg-hotspot.is-active .hotspot-ring {
  fill: rgba(147, 104, 38, 0.34);
}

.arch-detail-box {
  padding: 1.65rem 1.75rem;
  border-top: 1px solid var(--border-light);
}

.arch-detail-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.arch-detail-num {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--ink-light);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.arch-detail-top h3 {
  font-size: 1.45rem;
  margin-bottom: 0.15rem;
}

.arch-detail-metric {
  font-size: 0.8rem;
  color: var(--gold-on-light);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.arch-detail-box p {
  font-size: 0.95rem;
  color: var(--ink-secondary);
}

.arch-side {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.arch-photo-frame {
  margin: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.arch-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.6s var(--ease-editorial);
}

.arch-photo:hover {
  transform: scale(1.03);
}

.arch-photo-frame figcaption {
  padding: 0.95rem 1.2rem;
  font-size: 0.84rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

.arch-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.arch-selector {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: 100%;
  text-align: left;
  padding: 0.85rem 1rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.2s ease;
}

.arch-selector:hover {
  border-color: var(--emerald);
  transform: translateX(3px);
}

.arch-selector.is-active {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--ink-light);
}

.selector-index {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-on-light);
  min-width: 24px;
}

.arch-selector.is-active .selector-index {
  color: var(--gold-on-dark);
}

.selector-copy {
  display: flex;
  flex-direction: column;
}

.selector-copy strong {
  font-size: 0.93rem;
  font-weight: 600;
}

.selector-copy small {
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.arch-selector.is-active .selector-copy small {
  color: rgba(244, 241, 234, 0.78);
}

/* Specs Bar */
.specs-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.spec-cell {
  padding: 1.5rem 1.6rem;
  border-right: 1px solid var(--border-light);
}

.spec-cell:last-child {
  border-right: none;
}

.spec-k {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.spec-v {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-bottom: 0.25rem;
}

.spec-s {
  font-size: 0.84rem;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Dark Section: The Image on the Rock
   ========================================================================== */
.sacred-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.2rem, 5vw, 4.5rem);
  align-items: center;
}

.sacred-media {
  position: relative;
}

.sacred-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-deep);
}

.sacred-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.65s var(--ease-editorial);
}

.sacred-figure img:hover {
  transform: scale(1.03);
}

.sacred-caption-card {
  margin-top: 1.15rem;
  background: var(--bg-canyon-elevated);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.45rem;
}

.caption-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 0.8rem;
}

.caption-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.caption-metrics strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--ink-light);
}

.caption-metrics span {
  font-size: 0.78rem;
  color: var(--ink-light-muted);
}

.sacred-content p {
  color: var(--ink-light-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.sacred-content strong {
  color: var(--ink-light);
  font-weight: 600;
}

.exvoto-callout {
  margin-top: 2rem;
  padding: 1.55rem 1.75rem;
  background: rgba(217, 180, 108, 0.08);
  border: 1px solid rgba(217, 180, 108, 0.28);
  border-radius: var(--radius-md);
}

.exvoto-callout h3 {
  font-size: 1.45rem;
  color: var(--gold-on-dark);
  margin-bottom: 0.6rem;
}

.exvoto-callout p {
  font-size: 0.95rem;
  color: rgba(244, 241, 234, 0.86);
}

/* ==========================================================================
   Gallery Bento
   ========================================================================== */
.section-header-inline {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.inline-note {
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 390px;
  gap: 1.25rem;
}

.gallery-item {
  grid-column: span 5;
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-canyon);
  height: 100%;
  cursor: zoom-in;
}

.gallery-item.gallery-wide {
  grid-column: span 7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-editorial);
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.8rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, rgba(17, 24, 28, 0) 0%, rgba(17, 24, 28, 0.86) 100%);
  color: var(--ink-light);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gallery-item figcaption strong {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 500;
}

.gallery-item figcaption span {
  font-size: 0.82rem;
  color: rgba(244, 241, 234, 0.8);
}

/* ==========================================================================
   Travel Services & Monetization Section
   ========================================================================== */
.affiliate-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.2rem;
  background: rgba(28, 77, 59, 0.07);
  border: 1px solid rgba(28, 77, 59, 0.2);
  border-radius: var(--radius-md);
  color: var(--ink-secondary);
  font-size: 0.86rem;
  margin-bottom: 2rem;
}

.affiliate-notice svg {
  flex-shrink: 0;
  color: var(--emerald);
  margin-top: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  margin-bottom: 2.2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 1.65rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease-editorial), border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 77, 59, 0.35);
}

.service-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.68rem;
  border-radius: 999px;
  color: var(--emerald);
  background: var(--emerald-soft);
  margin-bottom: 0.85rem;
}

.service-badge-gold {
  color: var(--gold-on-light);
  background: rgba(147, 104, 38, 0.12);
}

.service-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.service-card h3 {
  font-size: 1.42rem;
  margin-bottom: 0.65rem;
  color: var(--ink-primary);
}

.service-card p {
  font-size: 0.91rem;
  color: var(--ink-secondary);
  line-height: 1.62;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
  padding: 0.78rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--emerald);
  color: var(--ink-light);
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.service-cta:hover {
  background: var(--emerald-hover);
}

.local-partners-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.35rem;
}

.local-banner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.3rem;
  padding: 1.8rem 1.9rem;
  border-radius: var(--radius-lg);
}

.local-banner-dark {
  background: var(--bg-canyon);
  color: var(--ink-light);
  border: 1px solid var(--border-dark);
}

.local-banner-dark h3 {
  font-size: 1.55rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}

.local-banner-dark p {
  font-size: 0.93rem;
  color: var(--ink-light-muted);
}

.local-banner-light {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
}

.local-banner-light h3 {
  font-size: 1.42rem;
  margin-bottom: 0.5rem;
}

.local-banner-light p {
  font-size: 0.91rem;
  color: var(--ink-secondary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink-primary);
  border: 1px solid rgba(24, 32, 36, 0.35);
}

.btn-outline-dark:hover {
  background: var(--ink-primary);
  color: var(--ink-light);
  border-color: var(--ink-primary);
}

/* ==========================================================================
   Visitor Guide & FAQ
   ========================================================================== */
.guide-shell {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  margin-bottom: 3.2rem;
}

.guide-tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border-light);
  background: rgba(236, 231, 220, 0.55);
}

.guide-tab {
  flex: 1 1 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.1rem 1.2rem;
  border: none;
  border-bottom: 2.5px solid transparent;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-secondary);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.guide-tab:hover {
  color: var(--ink-primary);
  background: rgba(251, 249, 245, 0.65);
}

.guide-tab.is-active {
  background: var(--bg-surface);
  color: var(--emerald);
  font-weight: 600;
  border-bottom-color: var(--emerald);
}

.guide-panels {
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
}

.info-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.info-card {
  padding: 1.45rem;
  background: var(--bg-parchment);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.info-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-on-light);
  margin-bottom: 0.55rem;
}

.info-card h3 {
  font-size: 1.38rem;
  margin-bottom: 0.6rem;
}

.info-card p {
  font-size: 0.92rem;
  color: var(--ink-secondary);
  line-height: 1.65;
}

.panel-footnote {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* FAQ Accordion */
.faq-block {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.faq-intro h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.faq-list {
  border-top: 1px solid var(--border-light);
}

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding: 1.25rem 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-primary);
}

.faq-plus {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}

.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--emerald);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.faq-plus::before {
  width: 14px;
  height: 1.6px;
}

.faq-plus::after {
  width: 1.6px;
  height: 14px;
}

.faq-trigger[aria-expanded="true"] .faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  padding: 0 0 1.35rem;
  color: var(--ink-secondary);
  font-size: 0.96rem;
  max-width: 65ch;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-canyon);
  color: var(--ink-light);
  padding: 4rem 0 2.2rem;
  border-top: 1px solid var(--border-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.45fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-dark);
}

.footer-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
}

.footer-brand p {
  color: var(--ink-light-muted);
  max-width: 44ch;
  font-size: 0.93rem;
}

.footer-coords {
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-dark) !important;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.footer-links-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* Cookie & Privacy Banner */
.cookie-banner {
  position: fixed;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  width: min(980px, calc(100% - 1.75rem));
  z-index: 150;
  background: rgba(17, 24, 28, 0.96);
  backdrop-filter: blur(12px);
  color: var(--ink-light);
  border: 1px solid rgba(217, 180, 108, 0.34);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
  padding: 1rem 1.25rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cookie-banner p {
  font-size: 0.84rem;
  color: var(--ink-light-muted);
  margin: 0;
  line-height: 1.5;
}

.cookie-link {
  color: var(--gold-on-dark);
  text-decoration: underline;
  margin-left: 0.35rem;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.52rem 0.95rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--ink-light);
  border: 1px solid rgba(244, 241, 234, 0.3);
}

.cookie-btn-ghost:hover {
  border-color: var(--ink-light);
}

.cookie-btn-accept {
  background: var(--gold-on-dark);
  color: #13191d;
  border: 1px solid var(--gold-on-dark);
}

.cookie-btn-accept:hover {
  background: #e4c485;
}

/* Legal Document Layout (privacidad.html & terminos.html) */
.legal-page {
  padding: 6.5rem 0 4.5rem;
}

.legal-card {
  max-width: 840px;
  margin-inline: auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4.5vw, 3.4rem);
  box-shadow: var(--shadow-soft);
}

.legal-card h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 0.65rem;
}

.legal-updated {
  font-size: 0.84rem;
  color: var(--ink-muted);
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.legal-card h2 {
  font-size: 1.55rem;
  margin: 2rem 0 0.7rem;
  color: var(--emerald);
}

.legal-card p,
.legal-card li {
  color: var(--ink-secondary);
  font-size: 0.96rem;
  line-height: 1.72;
}

.legal-card ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--emerald);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Organic Atmosphere: Mist, Fireflies, Curved Dividers & Ambient Audio Pill
   ========================================================================== */
.hero-mist {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mist-layer {
  position: absolute;
  bottom: 8%;
  left: -15%;
  width: 130%;
  height: 46%;
  background: radial-gradient(ellipse 65% 45% at 50% 65%, rgba(226, 236, 232, 0.14), rgba(226, 236, 232, 0.04) 55%, transparent 80%);
  filter: blur(26px);
  animation: mistDrift 24s ease-in-out infinite alternate;
}

.mist-layer-2 {
  bottom: 24%;
  left: -10%;
  opacity: 0.7;
  animation-duration: 32s;
  animation-direction: alternate-reverse;
}

@keyframes mistDrift {
  0% { transform: translate3d(-4%, 0, 0) scale(1); }
  100% { transform: translate3d(5%, -10px, 0) scale(1.06); }
}

.hero-motes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.mote {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246, 217, 146, 0.95) 0%, rgba(217, 180, 108, 0) 70%);
  opacity: 0;
  animation: moteFloat 11s ease-in-out infinite;
}

.mote:nth-child(1) { left: 18%; top: 68%; animation-delay: 0s; animation-duration: 12s; }
.mote:nth-child(2) { left: 42%; top: 55%; animation-delay: 2.2s; animation-duration: 14s; width: 6px; height: 6px; }
.mote:nth-child(3) { left: 61%; top: 44%; animation-delay: 4.5s; animation-duration: 10s; }
.mote:nth-child(4) { left: 76%; top: 62%; animation-delay: 1.4s; animation-duration: 13s; width: 4px; height: 4px; }
.mote:nth-child(5) { left: 52%; top: 74%; animation-delay: 5.8s; animation-duration: 15s; }
.mote:nth-child(6) { left: 29%; top: 48%; animation-delay: 3.1s; animation-duration: 11s; width: 4px; height: 4px; }

@keyframes moteFloat {
  0% { opacity: 0; transform: translate3d(0, 18px, 0) scale(0.7); }
  25% { opacity: 0.75; }
  75% { opacity: 0.45; }
  100% { opacity: 0; transform: translate3d(18px, -42px, 0) scale(1.25); }
}

.hero-atmosphere-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.45rem;
}

.atmosphere-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: rgba(17, 24, 28, 0.55);
  border: 1px solid rgba(244, 241, 234, 0.25);
  backdrop-filter: blur(10px);
  color: rgba(244, 241, 234, 0.9);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.atmosphere-pill:hover {
  background: rgba(217, 180, 108, 0.18);
  border-color: var(--gold-on-dark);
  transform: translateY(-1px);
}

.atmosphere-pill.is-playing {
  background: rgba(217, 180, 108, 0.24);
  border-color: var(--gold-on-dark);
  color: #fff6e0;
}

.sound-waves {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.sound-waves i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.atmosphere-pill.is-playing .sound-waves i:nth-child(1) { animation: soundBar 0.9s ease-in-out infinite alternate; }
.atmosphere-pill.is-playing .sound-waves i:nth-child(2) { animation: soundBar 0.7s ease-in-out 0.2s infinite alternate; }
.atmosphere-pill.is-playing .sound-waves i:nth-child(3) { animation: soundBar 1.1s ease-in-out 0.4s infinite alternate; }

@keyframes soundBar {
  0% { height: 3px; }
  100% { height: 12px; }
}

.xmas-music-only[hidden] {
  display: none !important;
}

:root[data-season="diciembre"] .atmosphere-pill[data-sound-toggle] {
  border-color: rgba(255, 212, 92, 0.55);
  background: rgba(158, 22, 46, 0.52);
}

:root[data-season="diciembre"] .atmosphere-pill[data-sound-toggle].is-playing {
  background: linear-gradient(135deg, rgba(255, 212, 92, 0.34), rgba(196, 30, 58, 0.58));
  border-color: #ffd45c;
  color: #fff9e6;
}

/* Organic Curved Mountain Contour Section Dividers */
.canyon-divider {
  display: block;
  width: 100%;
  height: clamp(36px, 5vw, 72px);
  margin-top: -1px;
  overflow: hidden;
  line-height: 0;
}

.canyon-divider svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Interactive Day / Night Light Curtain Slider
   ========================================================================== */
.compare-curtain-wrap {
  margin-bottom: 2rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.compare-curtain-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0 0.35rem;
}

.compare-curtain-top strong {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--ink-primary);
}

.compare-curtain-top span {
  font-size: 0.84rem;
  color: var(--emerald);
  font-weight: 500;
}

.curtain-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 580px;
  border-radius: 18px;
  overflow: hidden;
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  background: var(--bg-canyon);
}

.curtain-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  pointer-events: none;
}

.curtain-day-overlay {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.curtain-badge {
  position: absolute;
  bottom: 1rem;
  z-index: 3;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(17, 24, 28, 0.72);
  backdrop-filter: blur(8px);
  color: var(--ink-light);
  border: 1px solid rgba(244, 241, 234, 0.24);
  pointer-events: none;
}

.curtain-badge-left { left: 1rem; }
.curtain-badge-right { right: 1rem; }

.curtain-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: rgba(255, 248, 230, 0.9);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.45);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

.curtain-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--emerald);
  border: 2px solid var(--gold-on-dark);
  box-shadow: 0 8px 24px rgba(10, 15, 18, 0.35);
  display: grid;
  place-items: center;
}

.curtain-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 5;
}

/* ==========================================================================
   Interactive Digital Exvoto Wall (Warm Community Gratitude Plaques)
   ========================================================================== */
.exvoto-wall-section {
  margin-top: 3.4rem;
  padding-top: 2.8rem;
  border-top: 1px solid var(--border-dark);
}

.exvoto-wall-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.exvoto-wall-header h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--ink-light);
  margin-bottom: 0.4rem;
}

.exvoto-wall-header p {
  color: var(--ink-light-muted);
  max-width: 56ch;
  font-size: 0.94rem;
}

.exvoto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.7rem;
}

.exvoto-plaque {
  position: relative;
  padding: 1.35rem 1.4rem;
  border-radius: 16px 22px 16px 20px;
  background: linear-gradient(145deg, rgba(244, 241, 234, 0.08), rgba(217, 180, 108, 0.05));
  border: 1px solid rgba(217, 180, 108, 0.24);
  transition: transform 0.3s var(--ease-editorial), border-color 0.3s ease, box-shadow 0.3s ease;
}

.exvoto-plaque:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 180, 108, 0.55);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.exvoto-plaque.is-user-plaque {
  border-color: var(--gold-on-dark);
  background: linear-gradient(145deg, rgba(217, 180, 108, 0.16), rgba(244, 241, 234, 0.07));
  animation: plaqueGlow 0.8s var(--ease-editorial);
}

@keyframes plaqueGlow {
  0% { opacity: 0; transform: translateY(12px) scale(0.97); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.plaque-candle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 0.65rem;
}

.candle-flame {
  width: 7px;
  height: 10px;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  background: radial-gradient(circle at 50% 65%, #fff6d1 0%, #f0b84b 55%, rgba(240, 184, 75, 0) 100%);
  box-shadow: 0 0 10px rgba(240, 184, 75, 0.75);
  animation: flicker 2.8s ease-in-out infinite alternate;
}

@keyframes flicker {
  0% { transform: scale(0.92); opacity: 0.85; }
  100% { transform: scale(1.1); opacity: 1; }
}

.exvoto-plaque blockquote {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--ink-light);
}

.exvoto-plaque footer {
  font-size: 0.78rem;
  color: var(--ink-light-muted);
}

.exvoto-form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 241, 234, 0.16);
  border-radius: 20px;
  padding: 1.5rem 1.65rem;
}

.exvoto-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr auto;
  gap: 0.8rem;
  align-items: center;
}

.exvoto-input {
  width: 100%;
  padding: 0.78rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(244, 241, 234, 0.2);
  background: rgba(17, 24, 28, 0.7);
  color: var(--ink-light);
  font: inherit;
  font-size: 0.88rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.exvoto-input::placeholder {
  color: rgba(184, 196, 201, 0.65);
}

.exvoto-input:focus {
  outline: none;
  border-color: var(--gold-on-dark);
  background: rgba(17, 24, 28, 0.92);
}

.exvoto-feedback {
  margin-top: 0.75rem;
  font-size: 0.84rem;
  color: var(--gold-on-dark);
  min-height: 1.2em;
}

/* ==========================================================================
   Personalized Interactive Trip Designer ("Diseña tu Visita")
   ========================================================================== */
.planner-shell {
  margin-bottom: 3rem;
  padding: clamp(1.6rem, 3.8vw, 2.6rem);
  background: linear-gradient(155deg, #fbf9f5 0%, #f1ede2 100%);
  border: 1px solid var(--border-light);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.planner-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: start;
}

.planner-step {
  margin-bottom: 1.4rem;
}

.planner-step:last-child {
  margin-bottom: 0;
}

.planner-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--emerald);
  margin-bottom: 0.7rem;
}

.planner-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--emerald);
  color: var(--ink-light);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
}

.planner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.planner-pill {
  padding: 0.58rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  color: var(--ink-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.24s var(--ease-editorial);
}

.planner-pill:hover {
  border-color: var(--emerald);
  color: var(--ink-primary);
  transform: translateY(-1px);
}

.planner-pill.is-selected {
  background: var(--emerald);
  border-color: var(--emerald);
  color: var(--ink-light);
  box-shadow: 0 6px 16px rgba(28, 77, 59, 0.22);
}

.planner-result {
  background: var(--bg-canyon);
  color: var(--ink-light);
  border-radius: 22px;
  padding: 1.85rem;
  border: 1px solid rgba(217, 180, 108, 0.3);
  box-shadow: var(--shadow-deep);
}

.planner-result-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 0.5rem;
}

.planner-result h3 {
  font-size: 1.65rem;
  color: var(--ink-light);
  margin-bottom: 0.7rem;
}

.planner-result-summary {
  font-size: 0.93rem;
  color: var(--ink-light-muted);
  margin-bottom: 1.2rem;
  line-height: 1.65;
}

.planner-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.2rem;
}

.planner-metric-box {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(244, 241, 234, 0.12);
}

.planner-metric-box span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light-muted);
  margin-bottom: 0.2rem;
}

.planner-metric-box strong {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #f6e7c5;
}

.planner-tip {
  padding: 0.9rem 1.05rem;
  border-radius: 12px;
  background: rgba(217, 180, 108, 0.1);
  border-left: 2.5px solid var(--gold-on-dark);
  font-size: 0.86rem;
  color: rgba(244, 241, 234, 0.9);
  margin-bottom: 1.35rem;
}

.planner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Floating Organic Quick-Helper Pill (Sound + Planner, appears cleanly after Hero) */
.floating-dock {
  position: fixed;
  left: 1.25rem;
  bottom: 1.15rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem;
  border-radius: 999px;
  background: rgba(17, 24, 28, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(217, 180, 108, 0.34);
  box-shadow: 0 12px 32px rgba(8, 12, 15, 0.34);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-editorial);
}

.floating-dock.is-at-top {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-light);
  font-size: 0.78rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dock-btn:hover {
  background: rgba(244, 241, 234, 0.12);
}

.dock-btn.is-active {
  background: var(--gold-on-dark);
  color: #13191d;
}

.dock-btn-accent {
  background: var(--emerald);
  color: var(--ink-light);
}

.dock-btn-accent:hover {
  background: var(--emerald-hover);
}

/* ==========================================================================
   Original Signature Redesign: Gothic Arch Portal Hero & Canyon Altimeter
   ========================================================================== */
.hero.hero-portal {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse 70% 60% at 78% 42%, rgba(217, 180, 108, 0.14), transparent 68%),
    radial-gradient(ellipse 60% 55% at 15% 82%, rgba(28, 77, 59, 0.28), transparent 70%),
    var(--bg-canyon);
  padding-top: 6.2rem;
}

.hero-portal-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.2rem);
  align-items: center;
  padding: clamp(1.5rem, 4vh, 3rem) 0 clamp(2rem, 4vh, 3rem);
}

.hero-portal .hero-copy {
  max-width: 560px;
}

.hero-portal .hero-title {
  font-size: clamp(3.1rem, 5.8vw, 5.4rem);
  line-height: 0.96;
}

.hero-arch-showcase {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Sculpted Pointed Gothic Arch Window Frame */
.gothic-arch-frame {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 3 / 4;
  padding: 11px;
  border-radius: 220px 220px 24px 24px;
  background: linear-gradient(155deg, rgba(236, 197, 110, 0.65), rgba(236, 197, 110, 0.14) 55%, rgba(236, 197, 110, 0.45));
  box-shadow: 0 32px 80px rgba(4, 8, 11, 0.58), 0 0 0 1px rgba(236, 197, 110, 0.2);
}

.gothic-arch-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 210px 210px 16px 16px;
  overflow: hidden;
  background: var(--bg-canyon-elevated);
}

.gothic-arch-inner .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
  transition: opacity 0.35s ease, transform 0.8s var(--ease-editorial);
}

.gothic-arch-frame:hover .gothic-arch-inner .hero-img {
  transform: scale(1.03);
}

.arch-plate-seal {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  white-space: nowrap;
  padding: 0.36rem 0.95rem;
  border-radius: 999px;
  background: rgba(12, 20, 22, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(236, 197, 110, 0.4);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
}

.arch-compass-badge {
  position: absolute;
  top: 22px;
  right: -14px;
  z-index: 4;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--bg-canyon-elevated);
  border: 1px solid rgba(236, 197, 110, 0.48);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gold-on-dark);
  padding: 0.4rem;
}

.arch-compass-badge strong {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--ink-light);
}

.arch-compass-badge span {
  font-size: 0.58rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Living Vertical Canyon Descent Altimeter Rail (Desktop Right Edge) */
.altimeter-rail {
  position: fixed;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  padding: 0.75rem 0.6rem;
  border-radius: 999px;
  background: rgba(15, 22, 26, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(236, 197, 110, 0.24);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.altimeter-readout {
  font-family: var(--font-serif);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gold-on-dark);
  padding: 0 0.3rem 0.3rem;
  border-bottom: 1px solid rgba(236, 197, 110, 0.22);
  letter-spacing: 0.04em;
}

.altimeter-stop {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.22rem 0.28rem;
  color: rgba(244, 241, 234, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.altimeter-stop:hover,
.altimeter-stop.is-active {
  color: var(--gold-on-dark);
}

.altimeter-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.3s var(--ease-editorial), opacity 0.25s ease;
}

.altimeter-rail:hover .altimeter-label,
.altimeter-stop.is-active .altimeter-label {
  max-width: 115px;
  opacity: 1;
}

.altimeter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  background: transparent;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.altimeter-stop.is-active .altimeter-dot {
  background: var(--gold-on-dark);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(236, 197, 110, 0.75);
}

/* Artisanal Archival Enhancements for Organic Sections */
.recognition-card {
  position: relative;
}

.recognition-card:nth-child(even) {
  transform: translateY(14px);
}

.timeline-stage {
  position: relative;
  border-radius: 26px 26px 26px 6px;
  border: 1px solid rgba(147, 104, 38, 0.26);
  background:
    radial-gradient(circle at top right, rgba(217, 180, 108, 0.1), transparent 45%),
    var(--bg-surface);
}

.sacred-figure {
  border-radius: 170px 170px 22px 22px;
  padding: 9px;
  background: linear-gradient(160deg, rgba(236, 197, 110, 0.48), rgba(236, 197, 110, 0.08));
}

.sacred-figure img {
  border-radius: 162px 162px 15px 15px;
}

.exvoto-plaque:nth-child(odd) {
  transform: rotate(-0.55deg);
}

.exvoto-plaque:nth-child(even) {
  transform: rotate(0.55deg) translateY(6px);
}

.exvoto-plaque:hover {
  transform: rotate(0deg) translateY(-4px);
}

.arch-photo-frame {
  border-radius: 140px 140px 20px 20px;
}

.gallery-item {
  border-radius: 24px;
  border: 1px solid rgba(147, 104, 38, 0.2);
}

@media (max-width: 1240px) {
  .altimeter-rail {
    display: none;
  }
}

@media (max-width: 960px) {
  .hero-portal-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .gothic-arch-frame {
    width: min(350px, 92%);
  }

  .arch-compass-badge {
    top: 10px;
    right: 8px;
    width: 68px;
    height: 68px;
  }

  .recognition-card:nth-child(even),
  .exvoto-plaque:nth-child(odd),
  .exvoto-plaque:nth-child(even) {
    transform: none;
  }
}

/* ==========================================================================
   SEO Travel Guides Cards (Home) & Full Editorial Article Pages
   ========================================================================== */
.guides-callout {
  margin-top: 3.4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-light);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.7rem;
}

@media (min-width: 960px) {
  .guides-grid .guide-article-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    grid-template-columns: 0.72fr 1.28fr;
  }
}

.guide-article-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s var(--ease-editorial), border-color 0.25s ease;
}

.guide-article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(28, 77, 59, 0.38);
}

.guide-article-thumb {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.guide-article-body {
  padding: 1.45rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
}

.guide-article-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-on-light);
}

.guide-article-body h3 {
  font-size: 1.4rem;
  line-height: 1.18;
  color: var(--ink-primary);
}

.guide-article-body p {
  font-size: 0.88rem;
  color: var(--ink-secondary);
  line-height: 1.58;
}

.guide-article-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--emerald);
}

/* Standalone Article Layout */
.article-hero {
  background: var(--bg-canyon);
  color: var(--ink-light);
  padding: 7.4rem 0 3.6rem;
  position: relative;
  overflow: hidden;
}

.article-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--ink-light-muted);
  margin-bottom: 1.25rem;
}

.article-breadcrumb a:hover {
  color: var(--gold-on-dark);
}

.article-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  align-items: center;
}

.article-hero h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  color: var(--ink-light);
  margin-bottom: 1rem;
  line-height: 1.06;
}

.article-hero .lead {
  font-size: 1.05rem;
  color: rgba(244, 241, 234, 0.86);
  max-width: 56ch;
  margin-bottom: 1.35rem;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-size: 0.8rem;
  color: var(--gold-on-dark);
  letter-spacing: 0.04em;
}

.article-hero-figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-deep);
}

.article-hero-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article-main {
  padding: 3.6rem 0 5rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 330px;
  gap: 2.8rem;
  align-items: start;
}

.article-content {
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.article-content h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.15rem);
  color: var(--ink-primary);
  margin: 2.4rem 0 0.85rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--border-light);
}

.article-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.article-content h3 {
  font-size: 1.32rem;
  color: var(--emerald);
  margin: 1.45rem 0 0.5rem;
}

.article-content p,
.article-content li {
  color: var(--ink-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

.article-content ul,
.article-content ol {
  padding-left: 1.3rem;
  margin: 0 0 1.2rem;
}

.article-content li {
  margin-bottom: 0.45rem;
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin: 0 0 2rem;
}

.summary-box {
  padding: 1rem;
  background: var(--bg-parchment);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.summary-box span {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.3rem;
}

.summary-box strong {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--ink-primary);
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0 1.8rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 540px;
}

.compare-table th,
.compare-table td {
  text-align: left;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-light);
}

.compare-table thead th {
  background: var(--bg-stone);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-primary);
}

.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.tip-callout {
  margin: 1.5rem 0;
  padding: 1.2rem 1.4rem;
  background: rgba(28, 77, 59, 0.07);
  border-left: 3px solid var(--emerald);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tip-callout strong {
  color: var(--emerald);
}

.itinerary-list {
  list-style: none !important;
  padding-left: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.2rem 0 1.8rem !important;
}

.itinerary-step {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.1rem;
  padding: 1.1rem 1.25rem;
  background: var(--bg-parchment);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.itinerary-time {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--emerald);
}

.article-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: sticky;
  top: 5.2rem;
}

.sidebar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.sidebar-card h3 {
  font-size: 1.32rem;
  margin-bottom: 0.75rem;
}

.sidebar-card p {
  font-size: 0.87rem;
  color: var(--ink-secondary);
  margin-bottom: 1rem;
}

.sidebar-toc {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.sidebar-toc a {
  font-size: 0.87rem;
  color: var(--ink-secondary);
  display: block;
  padding: 0.25rem 0;
  border-bottom: 1px dashed var(--border-light);
}

.sidebar-toc a:hover {
  color: var(--emerald);
}

.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.sidebar-card-dark {
  background: var(--bg-canyon);
  color: var(--ink-light);
  border-color: var(--border-dark);
}

.sidebar-card-dark h3 {
  color: var(--ink-light);
}

.sidebar-card-dark p {
  color: var(--ink-light-muted);
}

.inline-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.btn-emerald {
  background: var(--emerald);
  color: var(--ink-light);
  border: 1px solid var(--emerald);
}

.btn-emerald:hover {
  background: var(--emerald-hover);
  border-color: var(--emerald-hover);
}

.footer-links h4 {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-on-dark);
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--ink-light-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink-light);
}

.footer-bottom {
  padding-top: 1.5rem;
  font-size: 0.82rem;
  color: rgba(184, 196, 201, 0.7);
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 15, 18, 0.94);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1040px, 86vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.lightbox-figure img {
  max-height: 74vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-deep);
}

.lightbox-figure figcaption {
  color: var(--ink-light-muted);
  font-size: 0.93rem;
  text-align: center;
  max-width: 65ch;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(244, 241, 234, 0.28);
  background: rgba(17, 24, 28, 0.72);
  color: var(--ink-light);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: var(--gold-on-dark);
  color: var(--bg-canyon);
  border-color: var(--gold-on-dark);
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-editorial), transform 0.7s var(--ease-editorial);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-img,
  .gallery-item img,
  .arch-photo,
  .sacred-figure img {
    transition: none;
  }
  .mist-layer,
  .mote,
  .candle-flame {
    animation: none;
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-split,
  .arch-interactive,
  .sacred-grid,
  .faq-block {
    grid-template-columns: 1fr;
  }

  .recognition-strip,
  .specs-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .recognition-card:nth-child(2n),
  .spec-cell:nth-child(2n) {
    border-right: none;
  }

  .recognition-card:nth-child(n + 3) {
    border-top: 1px solid var(--border-light);
    padding-left: 0;
  }

  .recognition-card:nth-child(4) {
    padding-left: 1.6rem;
  }

  .spec-cell:nth-child(n + 3) {
    border-top: 1px solid var(--border-light);
  }

  .timeline-shell {
    grid-template-columns: 1fr;
  }

  .timeline-rail {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scrollbar-width: thin;
  }

  .timeline-tab {
    min-width: 155px;
    border-left: 1px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    border-radius: var(--radius-md);
  }

  .timeline-tab.is-active {
    border-left: 1px solid var(--border-light);
    border-bottom: 3px solid var(--emerald);
  }

  .info-cards-grid,
  .services-grid,
  .local-partners-grid,
  .guides-grid,
  .article-hero-grid,
  .article-layout,
  .planner-grid,
  .exvoto-grid,
  .spotlight-grid,
  .carnaval-head,
  .carnaval-day-stage,
  .carnaval-pillars {
    grid-template-columns: 1fr;
  }

  .exvoto-form-grid {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    position: static;
  }

  .summary-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-links-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .guide-article-card {
    grid-template-columns: 1fr;
  }

  .itinerary-step {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .floating-dock {
    left: 0.6rem;
    bottom: 0.65rem;
    padding: 0.25rem;
    gap: 0.2rem;
  }

  .dock-btn {
    padding: 0.42rem 0.62rem;
    font-size: 0.72rem;
  }

  .dock-label-hide-sm,
  .dock-btn-accent {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .cookie-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links-3 {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero-content {
    padding: 1.8rem 0 1.4rem;
  }

  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fact-item {
    padding: 0.85rem 0.9rem 0.85rem 0;
  }

  .fact-item:not(:first-child) {
    padding-left: 0.9rem;
  }

  .fact-value {
    font-size: 1.2rem;
  }

  .fact-item:nth-child(2) {
    border-right: none;
  }

  .fact-item:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgba(244, 241, 234, 0.12);
  }

  .fact-item:nth-child(4) {
    border-top: 1px solid rgba(244, 241, 234, 0.12);
  }

  .recognition-strip,
  .specs-bar {
    grid-template-columns: 1fr;
  }

  .recognition-card,
  .recognition-card:not(:first-child),
  .recognition-card:nth-child(4) {
    padding: 1.5rem 0;
    border-right: none;
    border-top: 1px solid var(--border-light);
  }

  .recognition-card:first-child {
    border-top: none;
  }

  .spec-cell {
    border-right: none;
    border-top: 1px solid var(--border-light);
  }

  .spec-cell:first-child {
    border-top: none;
  }

  .section-header-inline {
    flex-direction: column;
    align-items: flex-start;
  }

  .gallery-bento {
    grid-auto-rows: auto;
  }

  .gallery-item,
  .gallery-item.gallery-wide {
    grid-column: span 12;
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .lightbox-prev {
    left: 0.6rem;
  }

  .lightbox-next {
    right: 0.6rem;
  }
}
