/* ==========================================================================
   FESTIVAL INTERNACIONAL EN EL CAMINO DE SANTIAGO 2026
   Hoja de Estilos Maestra - Diseño Premium, Dinámico y Orientado a Conversión
   Diseño y Estrategia Digital: Aigen Digital Marketing (aigen.org)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-bg-abyssal: #fafaf9;
  --color-bg-surface: #ffffff;
  --color-bg-card: #ffffff;
  --color-bg-card-hover: #f5f5f4;
  --color-stone: #e7e5e4;
  --color-stone-light: #f5f5f4;
  
  --color-gold-400: #d97706;
  --color-gold-500: #b45309;
  --color-gold-600: #92400e;
  --color-gold-glow: rgba(217, 119, 6, 0.2);
  --color-gold-subtle: rgba(217, 119, 6, 0.08);

  --color-emerald: #059669;
  --color-crimson: #dc2626;

  --color-text-main: #1c1917;
  --color-text-muted: #57534e;
  --color-text-subtle: #78716c;

  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 4px rgba(28, 25, 23, 0.05);
  --shadow-md: 0 6px 18px rgba(28, 25, 23, 0.08);
  --shadow-lg: 0 14px 32px rgba(28, 25, 23, 0.12);
  --shadow-gold: 0 8px 24px rgba(217, 119, 6, 0.2);
  --shadow-gold-lg: 0 14px 40px rgba(217, 119, 6, 0.3);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset y Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-abyssal);
  color: var(--color-text-main);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  background: #fafaf9;
  color: var(--color-text-main);
  min-height: 100vh;
}

/* Tipografía */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.2; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.25; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.35; }
p { color: var(--color-text-muted); margin-bottom: 1rem; }
a { color: inherit; text-decoration: none; transition: var(--transition-fast); }

/* Contenedores y Cuadrículas */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
}

/* Barra de Navegación */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-stone);
  box-shadow: 0 2px 4px rgba(28, 25, 23, 0.04);
  transition: var(--transition-normal);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.brand-logo svg {
  width: 38px;
  height: 38px;
  fill: var(--color-gold-400);
  filter: drop-shadow(0 0 8px var(--color-gold-glow));
}

.brand-logo span.gold {
  color: var(--color-gold-400);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--color-gold-400);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold-400), var(--color-gold-600));
  transition: var(--transition-normal);
}

.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 48px;
  min-height: 48px;
}

/* Botones y CTAs de Alta Conversión */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  min-height: 48px;
  min-width: 48px;
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold-400) 0%, var(--color-gold-600) 100%);
  color: #0b0f19;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fcd34d 0%, var(--color-gold-500) 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-lg);
  color: #05070c;
}

.btn-outline-gold {
  background: rgba(245, 158, 11, 0.05);
  border-color: rgba(245, 158, 11, 0.4);
  color: var(--color-gold-400);
}

.btn-outline-gold:hover {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--color-gold-400);
  transform: translateY(-2px);
  color: #fff;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-text-main);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Insignias y Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  color: var(--color-gold-400);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-limited {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.35);
  animation: pulse-limited 2s infinite ease-in-out;
}

@keyframes pulse-limited {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Hero Principal */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  background: 
    radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(30, 58, 138, 0.2) 0%, transparent 60%);
  overflow: hidden;
}

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

.hero-content h1 {
  margin: 1.2rem 0;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.hero-content p.lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 580px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.metric-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gold-400);
  line-height: 1.1;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--color-stone-light);
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Tarjeta Hero Interactiva */
.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, rgba(22, 32, 54, 0.9), rgba(15, 23, 42, 0.95));
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg), 0 0 40px rgba(245, 158, 11, 0.08);
  backdrop-filter: blur(10px);
}

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

.hero-card-program {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.program-mini-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(8, 13, 26, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-fast);
}

.program-mini-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateX(4px);
  background: rgba(15, 23, 42, 0.8);
}

.program-mini-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
}

.mini-day {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gold-400);
}

.mini-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.program-mini-info h3,
.program-mini-info h4 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.2rem;
}

.program-mini-info p {
  font-size: 0.8rem;
  color: var(--color-text-subtle);
  margin-bottom: 0;
}

/* Cajas y Tarjetas Interactivas */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  background: var(--color-bg-card-hover);
  border-color: rgba(245, 158, 11, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-highlight {
  border-color: var(--color-gold-500);
  background: linear-gradient(160deg, #1c2742 0%, #151e33 100%);
  box-shadow: var(--shadow-gold);
}

.card-badge-top {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.card-header-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-400);
  margin-bottom: 1.5rem;
}

.card-title {
  margin-bottom: 0.75rem;
}

.card-body {
  flex: 1;
}

.card-footer {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Tarjetas con Fotografía Real y Zoom */
.card-image-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  margin: -2.2rem -2.2rem 1.5rem -2.2rem;
  width: calc(100% + 4.4rem);
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card:hover .card-image-wrap img {
  transform: scale(1.08);
}

.card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 32, 54, 0.95) 0%, rgba(22, 32, 54, 0.2) 60%, transparent 100%);
}

/* Slider Fotográfico Interactivo Maestro */
.slider-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin: 3rem 0;
  height: 480px;
}

@media (max-width: 768px) {
  .slider-container { height: 360px; }
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transform: scale(1.02);
  display: flex;
  align-items: flex-end;
}

.slider-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 10;
}

.slider-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-caption {
  position: relative;
  z-index: 20;
  padding: 3rem;
  background: linear-gradient(to top, rgba(8, 13, 26, 0.95) 0%, rgba(8, 13, 26, 0.7) 60%, transparent 100%);
  width: 100%;
}

.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  right: 2rem;
  display: flex;
  gap: 0.6rem;
  z-index: 30;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  min-width: 24px;
  min-height: 24px;
  padding: 0;
}

.slider-dot.active {
  background: var(--color-gold-400);
  transform: scale(1.3);
}

.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(8, 13, 26, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-nav-btn:hover {
  background: var(--color-gold-500);
  color: #080d1a;
}

.slider-nav-btn.prev { left: 1.5rem; }
.slider-nav-btn.next { right: 1.5rem; }

/* Sección de Vídeo Oficial Inmersivo */
.video-feature-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(245, 158, 11, 0.3);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(245, 158, 11, 0.15);
  background: #080d1a;
  height: 480px;
}

@media (max-width: 768px) {
  .video-feature-box { height: 320px; }
}

.video-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
  transition: transform var(--transition-slow);
}

.video-feature-box:hover .video-poster-img {
  transform: scale(1.04);
}

.video-overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(8, 13, 26, 0.4) 0%, rgba(8, 13, 26, 0.85) 100%);
}

.play-button-pulse {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #080d1a;
  font-size: 2.2rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7);
  animation: pulse-gold-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
  transition: transform var(--transition-fast);
  margin-bottom: 1.5rem;
}

.play-button-pulse:hover {
  transform: scale(1.12);
  color: #000;
}

@keyframes pulse-gold-ring {
  0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { box-shadow: 0 0 0 24px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Modal de Vídeo */
.video-modal-content {
  width: 100%;
  max-width: 900px;
  background: #000;
  border: 1px solid var(--color-gold-500);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-modal-content iframe, .video-modal-content video {
  width: 100%;
  height: 100%;
  border: none;
}


.toggle-btn {
  background: none;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px;
}

.toggle-btn.active {
  background: linear-gradient(135deg, var(--color-gold-400), var(--color-gold-600));
  color: #0b0f19;
  box-shadow: var(--shadow-gold);
}

/* Carrusel y Sliders Nativos */
.carousel-container {
  position: relative;
  margin: 2rem 0;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1rem 0.5rem 2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-gold-600) rgba(255, 255, 255, 0.05);
}

.carousel-track::-webkit-scrollbar {
  height: 6px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: var(--color-gold-600);
  border-radius: 4px;
}

.carousel-item {
  flex: 0 0 calc(33.333% - 1rem);
  scroll-snap-align: start;
  min-width: 300px;
}

@media (max-width: 992px) {
  .carousel-item { flex: 0 0 calc(50% - 0.75rem); }
}

@media (max-width: 640px) {
  .carousel-item { flex: 0 0 100%; }
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.carousel-nav-btn:hover {
  background: var(--color-gold-500);
  border-color: var(--color-gold-400);
  color: #0b0f19;
  transform: scale(1.05);
}

/* Filtros Interactivos (Programa) */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.7);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.filter-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.filter-chip:hover, .filter-chip.active {
  background: var(--color-gold-500);
  color: #0b0f19;
  border-color: var(--color-gold-400);
  font-weight: 600;
}

/* Calculadora Interactiva de Viaje y Experiencias */
.calc-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

.calc-step {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.calc-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.calc-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-gold-500);
  color: #0b0f19;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.calc-option-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 13, 26, 0.5);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  cursor: pointer;
  transition: var(--transition-fast);
  min-height: 48px;
}

.calc-option-card:hover {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(15, 23, 42, 0.8);
}

.calc-option-card.selected {
  border-color: var(--color-gold-500);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.2);
}

.sticky-summary {
  position: sticky;
  top: 100px;
  background: linear-gradient(160deg, #18233c 0%, #101828 100%);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.95rem;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.25rem 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gold-400);
}

/* Acordeón FAQ Semántico */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.3);
}

.faq-question {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-text-main);
  list-style: none;
  min-height: 48px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-gold-400);
  transition: transform var(--transition-fast);
}

details[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Formularios Rigurosos de USTED */
.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-main);
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(8, 13, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  min-height: 48px;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold-400);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
  background: rgba(15, 23, 42, 0.9);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

/* Modales de Reserva Rápida */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--color-bg-card);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 580px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg), var(--shadow-gold-lg);
  transform: translateY(20px);
  transition: var(--transition-normal);
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--color-stone-light);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 48px;
  min-height: 48px;
}

.modal-close:hover {
  color: var(--color-text-main);
}

/* Pie de Página Institucional */
.footer {
  background: #050811;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 0 2.5rem;
  position: relative;
}

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

.footer-brand p {
  max-width: 320px;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-stone-light);
}

.footer-col h3,
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-text-main);
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col ul a {
  color: var(--color-stone-light);
  font-size: 0.9rem;
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--color-gold-400);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--color-stone-light);
}

.footer-bottom a {
  color: var(--color-gold-400);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Responsividad Detallada */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .calc-container { grid-template-columns: 1fr; }
  .sticky-summary { position: static; margin-top: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(8, 13, 26, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
    transform: translateY(-120%);
    transition: var(--transition-normal);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 48px;
    width: 100%;
    font-size: 1.05rem;
    padding: 0.5rem 0.75rem;
  }

  .btn-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

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

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

/* Bloques de Publicidad Display (Google AdSense / Mediavine) de Alto CTR */
.ad-slot-container {
  margin: 2.5rem 0;
  text-align: center;
}

.ad-slot {
  display: block;
  background: rgba(15, 23, 42, 0.6);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  max-width: 970px;
  margin: 0 auto;
  position: relative;
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ad-label {
  font-size: 0.68rem;
  color: var(--color-stone-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.ad-mockup-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 728px;
  background: linear-gradient(90deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  padding: 1rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 1rem;
}

@media (max-width: 640px) {
  .ad-mockup-content { flex-direction: column; text-align: center; }
}

/* Cajas y Botones de Afiliación (Booking, Civitatis, Entradas) */
.affiliate-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-booking {
  background: #003580;
  color: #fff;
  border: 1px solid #0059b3;
}

.badge-civitatis {
  background: #ff5b00;
  color: #fff;
  border: 1px solid #e04b00;
}

.badge-ticketing {
  background: #10b981;
  color: #0b0f19;
}

.btn-affiliate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  transition: var(--transition-normal);
  cursor: pointer;
  text-align: center;
  min-height: 48px;
}

.btn-affiliate-booking {
  background: #003580;
  color: #fff;
  border: 1px solid #0059b3;
  box-shadow: 0 4px 12px rgba(0, 53, 128, 0.4);
}

.btn-affiliate-booking:hover {
  background: #004cb8;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 53, 128, 0.6);
}

.btn-affiliate-civitatis {
  background: #ff5b00;
  color: #fff;
  border: 1px solid #e04b00;
  box-shadow: 0 4px 12px rgba(255, 91, 0, 0.35);
}

.btn-affiliate-civitatis:hover {
  background: #ff7524;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 91, 0, 0.55);
}

