/* ===================================================================
   ALUMBRA LA VIDA - HOJA DE ESTILOS PRINCIPAL
   Estética: Claroscuro editorial, lujo cálido y sensorial
   =================================================================== */

:root {
  --bg-deep: #080706;
  --bg-surface: #110f0d;
  --bg-card: #181512;
  --bg-card-hover: #221d18;
  
  --gold-primary: #d4af37;
  --gold-light: #f3e5ab;
  --gold-dim: #997d26;
  
  --amber-flame: #ff9d42;
  --amber-core: #ffe89e;
  --amber-glow: rgba(255, 157, 66, 0.6);
  
  --text-primary: #f6f3ec;
  --text-muted: #a69f94;
  --text-dim: #706a61;
  
  --font-serif: 'Cinzel', Georgia, serif;
  --font-editorial: 'Cormorant Garamond', Garamond, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --glow-intensity: 0;
  --halo-opacity: 0;
  --flame-screen-x: 50%;
  --flame-screen-y: 50%;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
}

body {
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 10%, rgba(212, 175, 55, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(255, 157, 66, 0.02) 0%, transparent 50%);
}

/* ===================================================================
   ENCABEZADO / BARRA DE NAVEGACIÓN
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.25rem 2rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(8, 7, 6, 0.6);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text-primary);
}

.flame-icon {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(255, 170, 50, 0.8));
  animation: flamePulse 2.5s infinite ease-in-out;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold-light) 70%, var(--gold-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-links a:not(.btn-nav) {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn-nav):hover {
  color: var(--text-primary);
}

.nav-links a:not(.btn-nav):hover::after {
  width: 100%;
}

.btn-nav {
  text-decoration: none;
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg-deep);
  background: linear-gradient(135deg, #ffe599, var(--gold-primary));
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
  transition: all 0.3s ease;
}

.btn-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 170, 50, 0.45);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 2px;
}

/* ===================================================================
   HERO SCROLL RUNWAY & CANVAS 3D
   =================================================================== */
.hero-scroll-container {
  height: 320vh; /* Espacio vertical para coreografiar la vela con scroll suave */
  position: relative;
}

.hero-sticky-frame {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================================
   HERO FULLSCREEN CANVAS (EL VIDEO OCUPA TODA LA CABECERA)
   =================================================================== */
.hero-fullscreen-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2; /* Por detrás de la tipografía (que tiene z-index: 10) */
  pointer-events: none;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fullscreen-canvas {
  width: 100%;
  height: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
  /* El fondo negro ha sido 100% eliminado en los fotogramas (canal alfa) */
  filter: contrast(1.08) brightness(1.04);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Resplandor Luminoso de la Corona de la Llama Viva */
.flame-corona-glow {
  position: absolute;
  top: 34%;
  left: 36%;
  width: 180px;
  height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 240, 180, 0.95) 0%,
    rgba(255, 175, 50, 0.75) 25%,
    rgba(255, 110, 20, 0.35) 55%,
    transparent 75%
  );
  filter: blur(20px);
  pointer-events: none;
  animation: coronaPulse 2.8s infinite ease-in-out;
}

@keyframes coronaPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.85;
  }
  35% {
    transform: translate(-50%, -50%) scale(1.15) translate(1px, -2px);
    opacity: 1;
  }
  70% {
    transform: translate(-50%, -50%) scale(0.92) translate(-1px, 1px);
    opacity: 0.78;
  }
}

@keyframes flameMicroDance {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1, 1) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) scale(0.95, 1.08) rotate(1.5deg);
  }
  60% {
    transform: translate(-50%, -50%) scale(1.05, 0.96) rotate(-1.2deg);
  }
  85% {
    transform: translate(-50%, -50%) scale(0.98, 1.04) rotate(0.8deg);
  }
}

/* Contenedor de micro-chispas doradas */
.floating-embers-container {
  position: absolute;
  top: 15%;
  left: 24%;
  width: 25%;
  height: 40%;
  pointer-events: none;
  overflow: visible;
}

.floating-ember {
  position: absolute;
  border-radius: 50%;
  background: #ffcc55;
  box-shadow: 0 0 6px #ffa520;
  pointer-events: none;
  animation: floatEmberUp var(--dur, 3s) infinite ease-out;
}

@keyframes floatEmberUp {
  0% {
    opacity: 0;
    transform: translate(0, 0) scale(0.6);
  }
  20% {
    opacity: 0.9;
  }
  80% {
    opacity: 0.7;
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx, 15px), -90px) scale(0.2);
  }
}

/* Halo de luz dinámico reactivo tras el texto */
.dynamic-light-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 700px;
  height: 400px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 175, 60, calc(var(--halo-opacity) * 0.45)) 0%,
    rgba(255, 110, 20, calc(var(--halo-opacity) * 0.25)) 35%,
    rgba(200, 60, 0, calc(var(--halo-opacity) * 0.08)) 60%,
    transparent 80%
  );
  filter: blur(25px);
  transition: opacity 0.2s ease;
}

/* Contenido Central del Hero */
.hero-center-content {
  position: relative;
  z-index: 10; /* Por delante de la vela cuando pasa por detrás */
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1200px;
  pointer-events: auto;
  user-select: none;
}

.hero-eyebrow {
  font-family: var(--font-sans);
  font-size: clamp(0.75rem, 1.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.4em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Tipografía de Alto Impacto */
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 6.8rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.15;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 0.5em;
  text-transform: uppercase;
}

.word-alumbra {
  color: #ede7dc;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(255, 220, 130, calc(var(--glow-alumbra, 0) * 0.95)),
    0 0 38px rgba(255, 170, 50, calc(var(--glow-alumbra, 0) * 0.85)),
    0 0 75px rgba(255, 115, 20, calc(var(--glow-alumbra, 0) * 0.6));
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

.word-la {
  color: #ede7dc;
  text-shadow:
    0 4px 20px rgba(0, 0, 0, 0.8),
    0 0 16px rgba(255, 220, 130, calc(var(--glow-la, 0) * 0.95)),
    0 0 38px rgba(255, 170, 50, calc(var(--glow-la, 0) * 0.85)),
    0 0 75px rgba(255, 115, 20, calc(var(--glow-la, 0) * 0.6));
  transition: color 0.35s ease, text-shadow 0.35s ease;
}

/* Contenedor y Efecto Glow en "VIDA" */
.word-vida-wrapper {
  position: relative;
  display: inline-block;
}

.word-vida {
  color: #f7f3ea;
  position: relative;
  display: inline-block;
  transition: color 0.35s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.35s ease;
  /* Sombra de glow calculada con la variable CSS interactiva */
  text-shadow:
    0 0 18px rgba(255, 225, 135, calc(var(--glow-intensity) * 0.95)),
    0 0 42px rgba(255, 175, 55, calc(var(--glow-intensity) * 0.9)),
    0 0 80px rgba(255, 120, 25, calc(var(--glow-intensity) * 0.75)),
    0 0 130px rgba(255, 80, 0, calc(var(--glow-intensity) * 0.5));
}

/* Efecto de luminosidad intensa cuando la vela pasa por detrás */
.word-vida.illuminated {
  color: #fffdf5;
  animation: vidaFlicker 2.2s infinite alternate ease-in-out;
}

@keyframes vidaFlicker {
  0% {
    filter: brightness(1) drop-shadow(0 0 24px rgba(255, 180, 50, 0.8));
  }
  50% {
    filter: brightness(1.12) drop-shadow(0 0 38px rgba(255, 205, 85, 0.95));
  }
  100% {
    filter: brightness(1.04) drop-shadow(0 0 28px rgba(255, 165, 45, 0.85));
  }
}

.hero-tagline {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.85rem);
  font-weight: 300;
  color: #c9c3b8;
  max-width: 650px;
  margin: 1.8rem auto 0;
  letter-spacing: 0.04em;
  opacity: 0.9;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95), 0 0 25px rgba(0, 0, 0, 0.85);
  transition: opacity 0.5s ease;
}

/* Indicador de scroll interactivo */
.scroll-prompt {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(212, 175, 55, 0.5);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: mouseWheel 1.8s infinite ease-in-out;
}

@keyframes mouseWheel {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Indicador de fases de scroll en el lateral */
.scroll-step-indicator {
  position: absolute;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.step-dot.active {
  background: var(--gold-primary);
  box-shadow: 0 0 10px rgba(255, 175, 50, 0.9);
  transform: scale(1.4);
}

/* ===================================================================
   SECCIONES GENERALES
   =================================================================== */
.section {
  padding: 8rem 2rem;
  position: relative;
  z-index: 20;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.25;
  color: #fffdf8;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
}

.gold-separator {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  margin: 1.5rem 0;
}

.text-center {
  text-align: center;
}

/* ===================================================================
   BOTONES DE ACCIÓN EN NAVEGACIÓN
   =================================================================== */
.nav-action-btn {
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-action-btn:hover {
  background: var(--gold-primary);
  color: var(--bg-deep);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* ===================================================================
   SECCIÓN 1: PRESENTACIÓN & PROPÓSITO
   =================================================================== */
.presentacion-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.presentacion-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}

.lead-text {
  font-family: var(--font-editorial);
  font-size: 1.45rem;
  line-height: 1.6;
  color: #eae5dc;
  margin-bottom: 1.5rem;
}

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

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--gold-primary);
  padding: 1.5rem 1.8rem;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-card:hover {
  transform: translateX(6px);
  border-color: rgba(212, 175, 55, 0.4);
}

.pillar-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fffef8;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-light);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ===================================================================
   SECCIÓN 2: MANIFIESTO RESUMIDO & CITA TESTIMONIAL
   =================================================================== */
.manifiesto-resumen-section {
  background: radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.08) 0%, var(--bg-surface) 70%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.manifiesto-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.manifesto-proclamation {
  background: rgba(10, 9, 8, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.manifesto-proclamation::before {
  content: '“';
  font-family: var(--font-editorial);
  font-size: 6rem;
  color: var(--gold-primary);
  opacity: 0.2;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  line-height: 1;
}

.manifesto-excerpt {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.7;
  color: #fffef8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.manifesto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-primary {
  background: linear-gradient(135deg, #fce5a3, var(--gold-primary));
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 170, 50, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: #ede7dc;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
  color: #fff;
}

.quote-toscano-card {
  background: linear-gradient(180deg, #181410 0%, #0d0b09 100%);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.quote-toscano-card h4 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.quote-toscano-card blockquote {
  font-family: var(--font-editorial);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.65;
  color: #f5f0e6;
  margin: 0 0 1.5rem;
}

.quote-toscano-card .quote-author {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 600;
}

/* ===================================================================
   SECCIÓN 3: CIUDADES PARTICIPANTES
   =================================================================== */
.ciudades-section {
  background-color: var(--bg-deep);
}

.cities-toolbar {
  margin: 3rem auto 3.5rem;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cities-search-bar {
  position: relative;
  width: 100%;
}

.cities-search-bar input {
  width: 100%;
  background: rgba(18, 15, 12, 0.9);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-full);
  padding: 1rem 1.5rem 1rem 3.2rem;
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.cities-search-bar input:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.cities-search-bar .search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(212, 175, 55, 0.4);
  color: #fff;
}

.filter-btn.active {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold-primary);
  color: var(--gold-light);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.cities-status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto 1.5rem;
  padding: 0 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.cities-count-badge {
  color: var(--gold-primary);
  font-weight: 600;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
}

.city-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.city-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(212, 175, 55, 0.1);
}

.city-card.featured {
  border-color: rgba(212, 175, 55, 0.35);
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.06) 0%, var(--bg-card) 60%);
}

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

.city-flag-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.badge-featured {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}

.city-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fffef8;
  margin-bottom: 0.85rem;
}

.city-info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.city-info-row .info-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.city-card-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-card-poster {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.65rem 1rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--gold-light);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-card-poster:hover {
  background: var(--gold-primary);
  color: var(--bg-deep);
  border-color: var(--gold-primary);
}

.empty-cities-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-card);
  border: 1px dashed rgba(212, 175, 55, 0.3);
  border-radius: var(--radius-lg);
}

.empty-cities-notice .empty-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 1rem;
}

.empty-cities-notice h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.empty-cities-notice p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.all-posters-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ===================================================================
   SECCIÓN 4: CONVOCA EN TU CIUDAD
   =================================================================== */
.convoca-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-surface) 100%);
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.convoca-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.steps-list li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-badge {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold-primary);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.steps-list h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.3rem;
}

.steps-list p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.form-box {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.form-box h3 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  color: #fffef8;
  margin-bottom: 0.5rem;
}

.form-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold-light);
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(10, 8, 7, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-light);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

/* ===================================================================
   SECCIÓN 5: ADHESIÓN DE ENTIDADES
   =================================================================== */
.adhesion-section {
  background-color: var(--bg-surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.adhesion-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4.5rem;
  align-items: flex-start;
}

.entity-badges-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.entity-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-full);
  color: #ede7dc;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ===================================================================
   SECCIÓN 6: DONACIONES OFICIALES
   =================================================================== */
.donaciones-section {
  background: radial-gradient(ellipse at 50% 100%, rgba(212, 175, 55, 0.12) 0%, var(--bg-deep) 70%);
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

.donation-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.donation-card {
  background: linear-gradient(180deg, #181410 0%, #0d0b09 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  padding: 4rem 3.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  text-align: center;
  position: relative;
}

.donation-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: #fffef8;
  margin-bottom: 1rem;
}

.donation-card p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.amount-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.amount-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.amount-pill:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--gold-light);
}

.amount-pill.active {
  background: var(--gold-primary);
  color: var(--bg-deep);
  border-color: var(--gold-primary);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.custom-amount-input {
  display: none;
  max-width: 220px;
  margin: 0 auto 2rem;
  background: rgba(10, 8, 7, 0.9);
  border: 1px solid var(--gold-primary);
  border-radius: var(--radius-full);
  padding: 0.85rem 1.5rem;
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  outline: none;
}

.paypal-form-action {
  margin-bottom: 2rem;
}

.btn-paypal-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #fce5a3, var(--gold-primary));
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-full);
  padding: 1.1rem 3rem;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
  transition: all 0.3s ease;
}

.btn-paypal-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.alt-donation-methods {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.alt-donation-methods strong {
  color: var(--gold-light);
}

/* ===================================================================
   MODALES (MANIFIESTO, GALERÍA, CANCIÓN)
   =================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 3, 2, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(212, 175, 55, 0.15);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.8rem 2.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: #fffef8;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #fff;
}

.modal-body {
  padding: 2.2rem;
  overflow-y: auto;
  color: #e5dfd5;
  line-height: 1.75;
  font-size: 1rem;
}

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

.modal-footer {
  padding: 1.5rem 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

/* Lightbox Galería */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.gallery-thumb {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  aspect-ratio: 4 / 3;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-thumb:hover img {
  transform: scale(1.06);
}

/* Modal Canción */
.video-embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.video-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.lyrics-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-md);
  padding: 2rem;
  font-family: var(--font-editorial);
  font-size: 1.25rem;
  line-height: 1.8;
  color: #fffdf8;
  text-align: center;
}

.btn-submit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, #fce5a3, var(--gold-primary));
  color: var(--bg-deep);
  border: none;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 20px rgba(255, 170, 50, 0.4);
}

.privacy-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 1.25rem;
}

/* ===================================================================
   PIE DE PÁGINA
   =================================================================== */
.site-footer {
  background: #050403;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 5rem 2rem 2.5rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 1rem;
  max-width: 320px;
}

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

.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 1.25rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.legal-links {
  display: flex;
  gap: 1.5rem;
}

.legal-links a {
  color: var(--text-dim);
  text-decoration: none;
}

.legal-links a:hover {
  color: var(--text-muted);
}

/* ===================================================================
   ANIMACIONES GLOBALES
   =================================================================== */
@keyframes flamePulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(255, 160, 40, 0.7)); }
  50% { transform: scale(1.12); filter: drop-shadow(0 0 12px rgba(255, 200, 60, 0.95)); }
}

/* ===================================================================
   RESPONSIVE DESIGN & OPTIMIZACIONES MÓVILES
   =================================================================== */

body.menu-locked {
  overflow: hidden;
}

@media (max-width: 992px) {
  .presentacion-grid,
  .manifiesto-layout,
  .convoca-grid,
  .adhesion-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: rgba(8, 7, 6, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.25rem;
    align-items: center;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    overflow-y: auto;
    z-index: 999;
  }

  .nav-links.mobile-open {
    display: flex;
    animation: mobileFadeIn 0.3s ease;
  }

  @keyframes mobileFadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

@media (max-width: 768px), (max-height: 500px) and (orientation: landscape) {
  /* Cabecera Hero en móvil: 1 pantalla de alto (100dvh) para activación fluida en 1 solo scroll */
  .hero-scroll-container {
    height: 100vh;
    height: 100dvh;
    position: relative;
    overflow: hidden;
  }

  .hero-sticky-frame {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    height: 100%;
  }

  .section {
    padding: 5rem 1.25rem;
  }

  /* Cabecera Hero en móvil */
  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.25em;
    margin-bottom: 0.85rem;
  }

  .hero-title {
    font-size: clamp(2.1rem, 8.8vw, 3.8rem);
    letter-spacing: 0.08em;
    gap: 0.15em 0.3em;
  }

  .hero-tagline {
    font-size: clamp(1.05rem, 4.2vw, 1.4rem);
    margin-top: 1.2rem;
  }

  .scroll-step-indicator {
    display: none;
  }

  .scroll-prompt {
    margin-top: 2rem;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }

  /* Tipografías y tarjetas */
  .lead-text {
    font-size: 1.2rem;
    line-height: 1.55;
  }

  .body-text {
    font-size: 0.95rem;
  }

  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .manifesto-proclamation,
  .quote-toscano-card,
  .form-box,
  .donation-card {
    padding: 2.2rem 1.4rem;
  }

  .manifesto-excerpt {
    font-size: 1.15rem;
  }

  .manifesto-actions {
    flex-direction: column;
  }

  .manifesto-actions .btn-primary,
  .manifesto-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  /* Formulario a 1 sola columna en pantallas móviles */
  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Inputs accesibles para touch en móvil (mínimo 16px para evitar auto-zoom en iOS) */
  .form-group input,
  .form-group select,
  .form-group textarea,
  .cities-search-bar input {
    font-size: 16px;
    padding: 0.95rem 1.1rem;
  }

  /* Buscador de ciudades */
  .cities-toolbar {
    margin: 2rem 0;
  }

  .filter-pills {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .cities-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Donaciones */
  .amount-selector {
    gap: 0.5rem;
  }

  .amount-pill {
    padding: 0.65rem 1.2rem;
    font-size: 1rem;
    flex: 1 1 40%;
  }

  .btn-paypal-submit {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
  }

  /* Modales en móvil */
  .modal-overlay {
    padding: 1rem;
  }

  .modal-window {
    max-height: 94vh;
  }

  .modal-header {
    padding: 1.25rem 1.25rem;
  }

  .modal-header h3 {
    font-size: 1.15rem;
  }

  .modal-body {
    padding: 1.25rem;
    font-size: 0.92rem;
  }

  .lyrics-box {
    padding: 1.25rem;
    font-size: 1.05rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  /* Footer */
  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .amount-pill {
    flex: 1 1 100%;
  }
}
