/* ============================================================
   CLANDESTINOS — OFFICIAL STYLESHEET (VIBRANT WHITE + 8-COLOR PALETTE)
   Manual de Identidad Oficial (Clandest-ok.pdf - Páginas 3, 4, 5, 6, 10, 13)
   ============================================================ */

:root {
  /* Fondo Blanco Constante */
  --bg-page: #ffffff;
  --bg-subtle: #f9fafb;
  --bg-card: #ffffff;
  --border-color: #e5e7eb;
  --border-subtle: #f3f4f6;

  /* Textos */
  --text-main: #181c24;       /* Negro carbón principal */
  --text-muted: #4b5563;      /* Gris lectura editorial */
  --text-light: #6b7280;      /* Gris secundario */
  --text-dim: #9ca3af;        /* Gris tenue */

  /* LAS 8 REFERENCIAS CROMÁTICAS OFICIALES DEL MANUAL */
  --c-earth: #1f93a8;         /* Earth (C85 M30 Y30) - Azul cerceta */
  --c-neptune: #48ae95;       /* Neptune (C70 M15 Y50) - Turquesa / aguamarina */
  --c-jupiter: #a2be2d;       /* Jupiter (C40 M10 Y100) - Verde lima */
  --c-mercury: #e6cb53;       /* Mercury (C10 M15 Y80) - Amarillo cálido */
  --c-mars: #de6a4b;          /* Mars (C10 M70 Y80) - Naranja teja / pimentón */
  --c-saturn: #cb3d65;        /* Saturn (C20 M90 Y50) - Frambuesa / carmesí */
  --c-venus: #8f8bbd;         /* Venus (C50 M50) - Lavanda suave */
  --c-uranos: #c2954a;        /* Uranos (C25 M45 Y90) - Ocre / dorado */
  --c-black: #2c2e35;         /* Negro corporativo */

  /* Tipografías del Manual */
  --font-logo: 'Filmotype Maxwell', sans-serif;
  --font-slab: 'Aglet Slab', 'Rockwell', 'Calisto MT', 'Georgia', serif;
  --font-sans: 'Aglet Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-w: 1200px;
  --header-height: 90px;
  --header-h: var(--header-height);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background-color: var(--bg-page);
  color: var(--text-main);
}

/* ============================================================
   NAVEGACIÓN POR ANCLAS (RESPETANDO HEADER FIJO)
   ============================================================ */
/* Con scroll-padding-top en html, el viewport compensa automáticamente la altura
   de la cabecera fija para todos los anclajes y saltos de sección sin duplicar márgenes. */
:target,
section,
section[id],
.hero,
.anniversary-section {
  scroll-margin-top: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1.5rem;
  background: var(--c-black);
  color: #ffffff;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1.5rem;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   CABECERA MERCURY (#e6cb53) — MANUAL OFICIAL RESPONSIVE
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background-color: var(--c-mercury); /* Mercury #e6cb53 uniforme */
  border-bottom: 1px solid rgba(44, 46, 53, 0.15);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.site-nav.is-scrolled {
  box-shadow: 0 4px 20px rgba(44, 46, 53, 0.12);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1.5rem;
}

/* 1. IZQUIERDA: Marca Oficial */
.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-brand-imagotipo {
  height: 32.3px; /* Reducido un 5% de 34px */
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-brand-logo {
  height: 32.3px; /* Reducido un 5% de 34px */
  width: auto;
  display: block;
  object-fit: contain;
}

/* 2. CENTRO: Menú Escritorio */
.nav-menu-desktop {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1 1 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-black);
  font-weight: 700;
  padding: 0.5rem 0;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: #000000;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--c-black);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* 3. DERECHA: Botón Acceso Privado Escritorio */
.nav-cta-desktop {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-private-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--c-black);
  background: transparent;
  border: 1.5px solid var(--c-black);
  padding: 0.5rem 1.15rem;
  border-radius: 4px;
  box-shadow: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-private-link:hover {
  background: var(--c-black);
  color: #ffffff;
  border-color: var(--c-black);
}

/* 4. BOTÓN HAMBURGUESA */
.nav-toggle {
  display: none; /* Oculto en escritorio */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  z-index: 1001;
  color: var(--c-black);
  border-radius: 4px;
  transition: background 0.2s;
  flex-shrink: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.nav-toggle:hover {
  background: rgba(44, 46, 53, 0.08);
}

.nav-toggle-bar {
  width: 24px;
  height: 2.5px;
  background-color: var(--c-black);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

/* Transformación de barras a cruz cuando está abierto */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* 5. MENÚ DESPLEGABLE RESPONSIVE Y OVERLAY */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.nav-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background-color: var(--c-mercury);
  border-bottom: 2px solid var(--c-black);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, visibility 0.28s ease;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}

.nav-mobile-menu.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile-inner {
  padding: 1.5rem 2rem 2.25rem;
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.nav-mobile-links {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-mobile-link {
  display: block;
  font-family: var(--font-slab);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-black);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(44, 46, 53, 0.15);
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.nav-mobile-link:hover, .nav-mobile-link:focus {
  color: #000000;
  padding-left: 0.5rem;
}

.nav-mobile-private-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--c-black);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.9rem 1.5rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(44, 46, 53, 0.25);
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s ease, transform 0.15s ease;
}

.nav-mobile-private-btn:hover {
  background: #000000;
  transform: translateY(-1px);
}

/* ============================================================
   PALETA CROMÁTICA DE 8 PUNTOS (PÁGINA 3 DEL MANUAL)
   ============================================================ */
.color-dots-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cdot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  transition: transform 0.2s;
}

.cdot:hover {
  transform: scale(1.3);
}

.cdot-mercury { background: var(--c-mercury); }
.cdot-jupiter { background: var(--c-jupiter); }
.cdot-neptune { background: var(--c-neptune); }
.cdot-earth   { background: var(--c-earth); }
.cdot-venus   { background: var(--c-venus); }
.cdot-saturn  { background: var(--c-saturn); }
.cdot-mars    { background: var(--c-mars); }
.cdot-uranos  { background: var(--c-uranos); }

/* ============================================================
   HERO / PORTADA BLANCA CON LAS FORMAS DEL MANUAL
   ============================================================ */
.hero {
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: calc(100vh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 1.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-content {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Imagotipo oficial centrado encima del logotipo (Manual págs. 2 y 4) */
.hero-imagotipo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 3.85rem;
}

.hero-imagotipo-img {
  width: 142px;
  height: auto;
  display: block;
  transition: transform 0.25s ease;
}

.hero-imagotipo-img:hover {
  transform: scale(1.05);
}

.hero-logo-wrap {
  margin: 0 auto 3.25rem;
  max-width: 780px;
  width: 100%;
}

.hero-logo-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Composición de las formas oficiales (Manual págs. 5, 6 y 10) */
.hero-shapes-composition {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-shape-item {
  height: 28px;
  width: auto;
  transition: transform 0.25s ease;
}

.hero-shape-item:hover {
  transform: scale(1.15) rotate(4deg);
}

.hero-motto {
  font-family: 'Filmotype Maxwell', var(--font-slab);
  font-size: 3.7rem;
  font-weight: 700;
  color: var(--c-black);
  letter-spacing: 0.02em;
  margin: 0 auto;
  line-height: 1.15;
}

.hero-tagline {
  font-family: var(--font-slab);
  font-size: 1.55rem;
  line-height: 1.4;
  color: var(--text-main);
  max-width: 720px;
  margin: 0 auto;
  font-weight: 500;
}

.hero-subtext {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Formas corporativas flotantes en los márgenes */
.hero-flair-shape {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.hero-flair-shape.rings-mercury {
  top: 14%;
  left: 3%;
  width: 85px;
  opacity: 0.9;
}

.hero-flair-shape.band-saturn {
  bottom: 12%;
  right: 3%;
  width: 90px;
  opacity: 0.9;
}

.hero-flair-shape.diamond-venus {
  top: 20%;
  right: 4%;
  width: 55px;
  opacity: 0.9;
}

.hero-flair-shape.pebble-mercury {
  bottom: 16%;
  left: 4%;
  width: 50px;
  opacity: 0.9;
}

/* ============================================================
/* ============================================================
   BLOQUE 5º ANIVERSARIO (2026) A PANTALLA COMPLETA
   ============================================================ */
.anniversary-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  padding: 3.5rem 1.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background-color: #f8fafc;
}

/* Cinta superior cromática con los 8 colores del manual */
.anniversary-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--c-mercury) 0%,
    var(--c-jupiter) 14%,
    var(--c-neptune) 28%,
    var(--c-earth) 42%,
    var(--c-venus) 57%,
    var(--c-saturn) 71%,
    var(--c-mars) 85%,
    var(--c-uranos) 100%
  );
  z-index: 4;
}

/* Capa fotográfica real de extremo a extremo sin márgenes ni bordes */
.anniversary-bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.anniversary-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  display: block;
  opacity: 0.75;
}

/* Velo blanco semitransparente suave y equilibrado (reducción adicional del 10% de potencia) */
.anniversary-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.60);
  z-index: 2;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}

.anniversary-content {
  position: relative;
  z-index: 3;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.anniversary-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--c-earth);
  margin-bottom: 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.anniversary-title {
  font-family: var(--font-slab);
  font-size: 3.1rem;
  letter-spacing: -0.01em;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9);
  font-weight: 700;
  line-height: 1.15;
}

.anniversary-date {
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.35rem;
}

.anniversary-date .date-highlight {
  color: var(--c-earth);
  border-bottom: 2px solid var(--c-neptune);
  padding: 0.3rem 0.95rem;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.anniversary-desc {
  font-size: 1.15rem;
  color: var(--text-main);
  max-width: 640px;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.95);
}

.anniversary-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.anniversary-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.anniversary-notice svg {
  color: var(--c-earth);
}

.anniversary-btn {
  background: var(--c-black);
  color: #ffffff !important;
  padding: 0.65rem 1.4rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.anniversary-btn:hover {
  background: var(--c-earth);
  transform: translateY(-2px);
}

/* Sello gráfico secundario #lovearroz (al doble de tamaño) */
.anniversary-stamp-wrap {
  position: absolute;
  bottom: 2rem;
  right: 2.5rem;
  z-index: 3;
  pointer-events: none;
}

.anniversary-stamp-img {
  width: 230px;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  transform: rotate(-3deg);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.1));
  opacity: 0.95;
}

/* ============================================================
   SECCIONES EDITORIALES CON IDENTIDAD MULTICOLOR
   ============================================================ */
section {
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.section-header {
  margin-bottom: 2.25rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-eyebrow span:not(.eyebrow-accent-bar) {
  color: var(--text-main);
  font-weight: 700;
}

.eyebrow-accent-bar {
  width: 22px;
  height: 3px;
  border-radius: 2px;
}

/* Clases de color para acentos de sección */
.accent-earth { color: var(--c-earth); }
.accent-earth .eyebrow-accent-bar { background: var(--c-earth); }

.accent-neptune { color: var(--c-neptune); }
.accent-neptune .eyebrow-accent-bar { background: var(--c-neptune); }

.accent-jupiter { color: var(--c-jupiter); }
.accent-jupiter .eyebrow-accent-bar { background: var(--c-jupiter); }

.accent-mars { color: var(--c-mars); }
.accent-mars .eyebrow-accent-bar { background: var(--c-mars); }

.accent-saturn { color: var(--c-saturn); }
.accent-saturn .eyebrow-accent-bar { background: var(--c-saturn); }

.accent-uranos { color: var(--c-uranos); }
.accent-uranos .eyebrow-accent-bar { background: var(--c-uranos); }

.accent-venus { color: var(--c-venus); }
.accent-venus .eyebrow-accent-bar { background: var(--c-venus); }

.section-title {
  font-family: var(--font-slab);
  font-size: 2.25rem;
  color: var(--text-main);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 640px;
  margin-top: 0.75rem;
}

/* ============================================================
   ARCHIVO DE EDICIONES — CUADRÍCULA LIGERA PARA LA HOME
   ============================================================ */
.home-editions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.home-edition-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.home-edition-card:hover {
  transform: translateY(-5px);
  border-color: var(--text-main);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.home-edition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.card-accent-2026::before { background: var(--c-mercury); }
.card-accent-2025::before { background: var(--c-earth); }
.card-accent-2024::before { background: var(--c-mars); }
.card-accent-2023::before { background: var(--c-jupiter); }
.card-accent-2022::before { background: var(--c-saturn); }

.home-edition-year {
  font-family: var(--font-slab);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  color: var(--text-main) !important;
}

.home-edition-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-main) !important;
}

.home-edition-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.75rem;
  flex: 1;
}

.home-edition-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--text-main);
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  transition: gap 0.2s ease;
}

.home-edition-card:hover .home-edition-action {
  gap: 0.65rem;
}

/* Banner de POP-UPS en Home */
.home-popups-banner {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.home-popups-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--c-neptune), var(--c-mars), var(--c-uranos));
}

@media (max-width: 800px) {
  .home-popups-banner {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
  }
}

.hero-photo-banner {
  margin: 2.5rem auto 0;
  max-width: 960px;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
}

.hero-photo-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  transform: scale(1.07);
  transform-origin: center 52%;
  display: block;
}

@media (max-width: 600px) {
  .hero-imagotipo-wrap {
    margin-bottom: 2.25rem;
  }
  .hero-imagotipo-img {
    width: 105px;
  }
  .hero-photo-banner {
    aspect-ratio: 4 / 3;
  }
}

.photo-item-wrap {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  position: relative;
  aspect-ratio: 4 / 3;
  transition: all 0.25s ease;
}

.photo-item-wrap:hover {
  transform: translateY(-3px);
  border-color: var(--text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.photo-item-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
  color: #ffffff;
  padding: 1.5rem 1rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.editions-timeline {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
}

.edition-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.edition-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.edition-year-wrap {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.edition-year-number {
  font-family: var(--font-slab);
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Asignación de colores del manual por año */
.color-year-2025 { color: var(--c-earth); }    /* 2025: Earth */
.color-year-2024 { color: var(--c-mars); }     /* 2024: Mars */
.color-year-2023 { color: var(--c-jupiter); }  /* 2023: Jupiter */
.color-year-2022 { color: var(--c-saturn); }   /* 2022: Saturn */

.edition-ordinal-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.ordinal-2025 { color: var(--c-neptune); }
.ordinal-2024 { color: var(--c-uranos); }
.ordinal-2023 { color: var(--c-mercury); }
.ordinal-2022 { color: var(--c-venus); }

.edition-info-content h3 {
  font-family: var(--font-slab);
  font-size: 1.7rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.edition-narrative {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.edition-data-pills {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.edition-pill {
  border-left: 3px solid var(--border-color);
  padding-left: 0.85rem;
}

.border-pill-2025 { border-left-color: var(--c-earth); }
.border-pill-2024 { border-left-color: var(--c-mars); }
.border-pill-2023 { border-left-color: var(--c-jupiter); }
.border-pill-2022 { border-left-color: var(--c-saturn); }

.edition-pill-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 0.15rem;
  font-weight: 600;
}

.edition-pill-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Espacio fotográfico limpio para fotos reales */
.edition-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.photo-placeholder {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.2s ease;
}

.photo-placeholder:hover {
  border-color: var(--text-main);
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.photo-placeholder svg {
  width: 28px;
  height: 28px;
  stroke: var(--text-light);
  margin-bottom: 0.5rem;
  opacity: 0.6;
}

.photo-placeholder-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* ============================================================
   GALERÍAS CON LAS CHAPAS OFICIALES (PÁGINA 13)
   ============================================================ */
.gallery-card-item {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.5rem;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gallery-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.gallery-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.gallery-chapa-mini {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.12));
}

/* Bordes superiores de cada tarjeta con su color respectivo */
.gallery-card-2025 { border-top: 3px solid var(--c-earth); }
.gallery-card-2024 { border-top: 3px solid var(--c-mars); }
.gallery-card-2023 { border-top: 3px solid var(--c-jupiter); }
.gallery-card-2022 { border-top: 3px solid var(--c-saturn); }

/* ============================================================
   COCINEROS & AMIGOS: ROTACIÓN DE LOS 8 COLORES
   ============================================================ */
.chefs-wall {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.chefs-wall::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--c-jupiter),
    var(--c-neptune),
    var(--c-earth),
    var(--c-venus),
    var(--c-saturn),
    var(--c-mars)
  );
}

.chefs-wall-intro {
  max-width: 720px;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.chefs-tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chef-tag {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 0.55rem 1.15rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.15s ease;
}

.chef-tag:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.chef-tag-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   PRENSA & CRÓNICAS: IDENTIDAD CROMÁTICA DIVERSIFICADA
   ============================================================ */
.press-articles-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.press-entry {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.25rem 2rem;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.press-entry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.press-entry-repsol { border-top: 3px solid var(--c-mars); }
.press-entry-espanol { border-top: 3px solid var(--c-neptune); }
.press-entry-forbes { border-top: 3px solid var(--c-uranos); }

.press-badge {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.press-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.press-headline {
  font-family: var(--font-slab);
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.press-extract {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.press-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
}

.press-link {
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.press-link:hover {
  text-decoration: underline;
}

/* ============================================================
   LA LISTA CLANDESTINA (FORMULARIO DISCRETO PARA FUTURAS INVITACIONES)
   ============================================================ */
.clandestine-list-section {
  padding: 5rem 0 4.5rem;
  background-color: #faf9f6;
  border-top: 1px solid var(--border-color);
  position: relative;
}

.clandestine-card {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3.5rem 3rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.clandestine-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--c-mercury);
}

.clandestine-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.clandestine-title {
  font-family: var(--font-slab);
  font-size: 2.15rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 0.85rem;
}

.clandestine-lead {
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 0.45rem;
}

.clandestine-subtext {
  font-size: 1rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.5;
}

.clandestine-fields-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.clandestine-field-group {
  display: flex;
  flex-direction: column;
}

.clandestine-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-main);
  margin-bottom: 0.45rem;
}

.clandestine-label .label-optional {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--text-dim);
  text-transform: none;
}

.clandestine-label .label-required {
  color: #dc2626;
}

.clandestine-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  background: #ffffff;
  color: var(--text-main);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.clandestine-input:focus {
  border-color: var(--c-mercury);
  box-shadow: 0 0 0 3px rgba(230, 203, 83, 0.25);
  outline: none;
}

.clandestine-consents {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 8px;
  border: 1px solid #edf2f7;
}

.clandestine-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  cursor: pointer;
  line-height: 1.45;
  user-select: none;
}

.clandestine-checkbox {
  margin-top: 0.2rem;
  width: 17px;
  height: 17px;
  cursor: pointer;
  accent-color: var(--c-black);
  flex-shrink: 0;
}

.clandestine-btn-wrap {
  margin-bottom: 1.5rem;
}

.clandestine-submit-btn {
  width: 100%;
  background: var(--c-black);
  color: #ffffff;
  border: 1px solid var(--c-black);
  font-family: var(--font-slab);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 1.05rem 2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clandestine-submit-btn:hover:not(:disabled) {
  background: #2b303a;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.clandestine-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.clandestine-legal-box {
  border-top: 1px solid #edf2f7;
  padding-top: 1.25rem;
  text-align: center;
}

.clandestine-disclaimer {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.65rem;
}

.clandestine-privacy-info {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.6;
}

.clandestine-privacy-link {
  color: var(--c-earth);
  text-decoration: underline;
  cursor: pointer;
}

.clandestine-feedback {
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.5;
}

.clandestine-feedback.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.clandestine-feedback.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Modal RGPD */
.clandestine-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.clandestine-modal-backdrop[hidden] {
  display: none !important;
}

.clandestine-modal-card {
  background: #ffffff;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.clandestine-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  z-index: 10;
}

.clandestine-modal-close:hover {
  color: var(--c-black);
}

.clandestine-modal-header {
  padding: 1.75rem 2rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.clandestine-modal-body {
  padding: 1.5rem 2rem;
  overflow-y: auto;
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.65;
}

.clandestine-modal-body p {
  margin-bottom: 1rem;
}

.clandestine-modal-body p:last-child {
  margin-bottom: 0;
}

.clandestine-modal-footer {
  padding: 1rem 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  background: #f8fafc;
}

@media (max-width: 768px) {
  .clandestine-card {
    padding: 2.25rem 1.5rem;
  }
  .clandestine-title {
    font-size: 1.75rem;
  }
  .clandestine-fields-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================================================
   PIE DE PÁGINA (BLANCO CON LOS 8 COLORES EN EL REMATE)
   ============================================================ */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 3rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    to right,
    var(--c-earth),
    var(--c-neptune),
    var(--c-jupiter),
    var(--c-mercury),
    var(--c-mars),
    var(--c-saturn),
    var(--c-venus),
    var(--c-uranos)
  );
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-wrap {
  max-width: 420px;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.footer-imagotipo {
  height: 30px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 30px;
  width: auto;
  display: block;
  margin-bottom: 0;
}

.footer-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-private-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  max-width: 320px;
}

.footer-private-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-private-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-sub {
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .edition-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .edition-year-wrap {
    position: static;
  }
  .edition-photo-grid {
    grid-template-columns: 1fr;
  }
}

/* BREAKPOINT RESPONSIVE CABECERA: 1100px */
@media (max-width: 1100px) {
  :root {
    --header-height: 78px;
    --header-h: var(--header-height);
  }
  .nav-menu-desktop,
  .nav-cta-desktop {
    display: none !important;
  }
  .nav-toggle {
    display: flex !important;
  }
  .nav-brand-imagotipo {
    height: 28.5px; /* Reducido un 5% de 30px */
  }
  .nav-brand-logo {
    height: 28.5px; /* Reducido un 5% de 30px */
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 74px;
    --header-h: var(--header-height);
  }
  .nav-brand {
    gap: 0.65rem;
  }
  .nav-brand-imagotipo {
    height: 26.6px; /* Reducido un 5% de 28px */
  }
  .nav-brand-logo {
    height: 26.6px; /* Reducido un 5% de 28px */
  }
  .hero {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    padding: 2.5rem 1.25rem;
  }
  .hero-imagotipo-wrap {
    margin-bottom: 2.5rem;
  }
  .hero-imagotipo-img {
    width: 118px;
  }
  .hero-logo-wrap {
    margin-bottom: 2.25rem;
    max-width: 560px;
  }
  .hero-shapes-composition {
    gap: 1.75rem;
    margin-bottom: 2rem;
  }
  .hero-shape-item {
    height: 24px;
  }
  .hero-motto {
    font-size: 2.85rem;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .hero-tagline {
    font-size: 1.25rem;
    margin-bottom: 0;
  }
  .hero-subtext {
    font-size: 0.95rem;
  }
  .anniversary-section {
    padding: 2.75rem 1.25rem;
  }
  .anniversary-title {
    font-size: 2.5rem;
  }
  .anniversary-date {
    font-size: 1.15rem;
  }
  .anniversary-desc {
    font-size: 1.05rem;
  }
  .anniversary-stamp-wrap {
    bottom: 1.75rem;
    right: 1.75rem;
  }
  .anniversary-stamp-img {
    width: 180px;
  }
  .hero-flair-shape {
    display: none;
  }
  section {
    padding: 2.75rem 0;
  }
  .section-header {
    margin-bottom: 1.75rem;
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 70px;
    --header-h: var(--header-height);
  }
  .container {
    padding: 0 1.25rem;
  }
  .nav-brand {
    gap: 0.55rem;
  }
  .nav-brand-imagotipo {
    height: 24.7px; /* Reducido un 5% de 26px */
  }
  .nav-brand-logo {
    height: 24.7px; /* Reducido un 5% de 26px */
  }
  .hero {
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    min-height: calc(100vh - var(--header-height));
    padding: 2rem 1.25rem;
  }
  .hero-imagotipo-wrap {
    margin-bottom: 2.25rem;
  }
  .hero-imagotipo-img {
    width: 100px;
  }
  .hero-logo-wrap {
    margin-bottom: 2rem;
    max-width: 330px;
  }
  .hero-shapes-composition {
    gap: 1.35rem;
    margin-bottom: 1.85rem;
  }
  .hero-shape-item {
    height: 20px;
  }
  .hero-motto {
    font-size: clamp(1.6rem, 6.5vw, 1.95rem);
    white-space: nowrap;
    margin-bottom: 0;
    line-height: 1.2;
  }
  .hero-tagline {
    font-size: 1.1rem;
    margin-bottom: 0;
  }
  .hero-subtext {
    font-size: 0.88rem;
  }
  .anniversary-section {
    padding: 2rem 1rem;
  }
  .anniversary-title {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
  }
  .anniversary-date {
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
  }
  .anniversary-desc {
    font-size: 0.95rem;
    margin-bottom: 1.4rem;
  }
  .anniversary-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .anniversary-notice,
  .anniversary-btn {
    width: 100%;
    justify-content: center;
  }
  .anniversary-stamp-wrap {
    bottom: 1rem;
    right: 1rem;
  }
  .anniversary-stamp-img {
    width: 140px;
  }
}

/* ============================================================
   PÁGINAS INDIVIDUALES DE ARCHIVO Y POP-UPS
   ============================================================ */
.subpage-hero {
  padding-top: calc(var(--header-h) + 3.5rem);
  padding-bottom: 3.5rem;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: relative;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 2rem;
}

.breadcrumb-nav a {
  color: var(--text-muted);
}

.breadcrumb-nav a:hover {
  color: var(--text-main);
}

.breadcrumb-separator {
  color: var(--border-color);
}

.subpage-badge-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.subpage-year-badge {
  font-size: 2.75rem;
  font-family: var(--font-slab);
  font-weight: 700;
  line-height: 1;
}

.subpage-edition-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border-color);
  background: var(--bg-subtle);
}

.subpage-title {
  font-family: var(--font-slab);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 1rem;
  max-width: 860px;
}

.subpage-summary {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 780px;
}

.subpage-meta-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.meta-item-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.meta-item-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.subpage-content-wrap {
  padding: 4.5rem 0;
}

.content-block {
  margin-bottom: 4.5rem;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content-block-header {
  margin-bottom: 2rem;
}

.content-block-title {
  font-family: var(--font-slab);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-block-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1.2em;
  background: var(--c-earth);
  border-radius: 2px;
}

.block-title-mars::before { background: var(--c-mars); }
.block-title-jupiter::before { background: var(--c-jupiter); }
.block-title-saturn::before { background: var(--c-saturn); }
.block-title-neptune::before { background: var(--c-neptune); }
.block-title-mercury::before { background: var(--c-mercury); }

.editorial-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 800px;
}

.editorial-text p {
  margin-bottom: 1.5rem;
}

.editorial-text p:last-child {
  margin-bottom: 0;
}

/* Grilla de cocineros */
.chefs-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.chef-badge {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.15rem;
  border-radius: 4px;
  font-size: 0.88rem;
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
}

.chef-badge:hover {
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

/* Grilla de Prensa y Hemeroteca */
.press-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.press-item-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.press-item-card:hover {
  border-color: var(--text-main);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.press-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.press-media-tag {
  color: var(--text-main) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.press-item-title {
  font-family: var(--font-slab);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
  margin-bottom: 0.85rem;
}

.press-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  flex: 1;
}

.press-item-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--text-main);
  margin-top: auto;
}

.press-item-link:hover {
  color: var(--c-earth);
}

/* Galería de fotos en subpáginas */
.subpage-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .subpage-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .subpage-gallery-grid {
    grid-template-columns: 1fr;
  }
  .subpage-title {
    font-size: 1.75rem;
  }
  .subpage-year-badge {
    font-size: 2.2rem;
  }
}

/* Visor modal de fotografía ligero (On-Demand Lightbox) */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(6px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 1040px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  color: #f8fafc;
  font-size: 0.95rem;
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-slab);
  font-weight: 500;
}

.lightbox-close {
  position: absolute;
  top: -2.85rem;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}
