/* ══════════════════════════════════════════════════════════════
   RDS MEDIA 2026 — Sistema de Estilos Global
   Colores extraídos del dossier corporativo RDS_MEDIA_2026.pdf
   ══════════════════════════════════════════════════════════════ */

/* IMPORTAR FUENTES */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300;1,9..40,700&family=Lato:wght@300;400;700;900&display=swap');

/* ══════════════════════════════════════════
   VARIABLES — DESIGN TOKENS
   ══════════════════════════════════════════ */
:root {
  /* FONDOS (Navy Dark Premium) */
  --bg-primary:        #0D1B2A;   /* Azul marino muy oscuro — fondo principal */
  --bg-secondary:      #112240;   /* Azul marino medio — tarjetas y paneles */
  --bg-tertiary:       #1A3050;   /* Azul más claro — inputs, bordes de sección */
  --bg-card:           #152035;   /* Tarjetas ligeramente diferenciadas */

  /* BRAND — NARANJA del logotipo oficial */
  --color-burgundy:    #FC4715;   /* Naranja de logotipo principal */
  --color-burgundy-l:  #FF6B42;   /* Variante hover clara */
  --color-burgundy-d:  #D9360B;   /* Variante oscura */
  --color-burgundy-xl: #FFE5DF;   /* Versión muy clara para textos */

  /* ACENTO DORADO */
  --color-gold:        #D4A033;
  --color-gold-light:  #F0C060;

  /* NUEVO ACENTO NARANJA (Extraído del Logotipo) */
  --color-orange:      #FC4715;   /* Naranja vibrante del logotipo */
  --color-orange-light:#FF6B42;   /* Variante hover clara */
  --color-orange-glow: rgba(252, 71, 21, 0.35);

  /* TEXTO (Claro sobre fondo oscuro) */
  --text-primary:      #E8F0FE;   /* Blanco azulado — texto principal */
  --text-secondary:    #A8BBCC;   /* Gris azulado claro — subtítulos */
  --text-muted:        #6A8099;   /* Gris azulado medio — desactivados */
  --text-accent:       #FC4715;   /* Naranja — acento de texto */

  /* BORDES (Claros sobre oscuro) */
  --border-subtle:     rgba(168, 187, 204, 0.08);
  --border-default:    rgba(168, 187, 204, 0.14);
  --border-strong:     rgba(168, 187, 204, 0.25);
  --border-burgundy:   rgba(252, 71, 21, 0.35);

  /* GRADIENTES */
  --gradient-brand:    linear-gradient(135deg, #FC4715 0%, #D9360B 100%);
  --gradient-brand-h:  linear-gradient(135deg, #FF6B42 0%, #FC4715 100%);
  --gradient-gold:     linear-gradient(135deg, #D4A033 0%, #F0C060 100%);
  --gradient-dark:     linear-gradient(180deg, #0D1B2A 0%, #112240 100%);
  --gradient-hero:     linear-gradient(135deg, rgba(13, 27, 42, 0.88) 0%, rgba(17, 34, 64, 0.82) 50%, rgba(30, 10, 20, 0.90) 100%);
  --gradient-overlay:  linear-gradient(to bottom, transparent 0%, rgba(13, 27, 42, 0.98) 100%);
  --gradient-section:  linear-gradient(180deg, #0D1B2A 0%, #112240 50%, #0D1B2A 100%);

  /* GLASS */
  --glass-bg:          rgba(17, 34, 64, 0.70);
  --glass-bg-hover:    rgba(17, 34, 64, 0.90);
  --glass-border:      rgba(168, 187, 204, 0.12);
  --glass-shadow:      0 8px 32px rgba(0, 0, 0, 0.45);

  /* SOMBRAS */
  --shadow-sm:         0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md:         0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg:         0 16px 48px rgba(0, 0, 0, 0.55);
  --shadow-burgundy:   0 8px 28px rgba(192, 48, 78, 0.30);
  --shadow-gold:       0 8px 28px rgba(212, 160, 51, 0.25);

  /* TIPOGRAFÍA */
  --font-display:  'Bebas Neue', 'Impact', sans-serif;
  --font-heading:  'Inter', system-ui, sans-serif;
  --font-body:     'DM Sans', 'Inter', sans-serif;

  /* ESPACIADO */
  --space-1: 4px;   --space-2: 8px;   --space-3: 12px;  --space-4: 16px;
  --space-5: 20px;  --space-6: 24px;  --space-8: 32px;  --space-10: 40px;
  --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;

  /* RADIOS */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* LAYOUT */
  --container-xl:  1400px;
  --nav-height:    72px;

  /* ANIMACIONES */
  --duration-fast:    150ms;
  --duration-normal:  300ms;
  --duration-slow:    500ms;
  --ease-out:         cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:       all var(--duration-normal) var(--ease-out);
  --transition-fast:  all var(--duration-fast) var(--ease-out);
}

/* ══════════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; }

/* ACCESIBILIDAD */
:focus-visible {
  outline: 2px solid var(--color-burgundy);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ══════════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════════ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}
@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(152, 37, 66, 0.3); }
  50%       { box-shadow: 0 0 50px rgba(152, 37, 66, 0.5); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50%       { transform: translateY(8px); opacity: 1; }
}
@keyframes orb-drift-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(40px, -30px) scale(1.05); }
  66%       { transform: translate(-20px, 20px) scale(0.97); }
}
@keyframes orb-drift-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(-50px, 20px) scale(1.08); }
  66%       { transform: translate(30px, -40px) scale(0.95); }
}
@keyframes orb-drift-3 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(25px, 35px) scale(1.04); }
}

/* ══════════════════════════════════════════
   UTILIDADES
   ══════════════════════════════════════════ */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) { .container { padding-inline: var(--space-10); } }
@media (min-width: 1024px) { .container { padding-inline: var(--space-16); } }

.text-shimmer {
  background: linear-gradient(
    90deg,
    #FFAEC0 0%,
    var(--color-gold-light) 40%,
    #FFAEC0 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
  font-style: normal;
}

/* Animate-in para elementos hero */
.animate-in {
  animation: fadeInUp var(--duration-slow) var(--ease-out) both;
  animation-delay: var(--delay, 0s);
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   BADGE
   ══════════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px; /* Aumentado aproximadamente 10% */
  background: rgba(10, 17, 40, 0.75); /* Fondo oscuro con buena opacidad */
  border: 1px solid rgba(212, 160, 51, 0.45); /* Borde dorado premium */
  border-radius: var(--radius-full);
  color: var(--color-gold-light); /* Letras doradas */
  font-size: 0.825rem; /* Aumentado un 10% (de 0.75rem) */
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  white-space: nowrap; /* Fuerza que el texto salga en una sola línea en móvil */
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════════════
   BOTONES
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  touch-action: manipulation;
}

.btn--primary {
  background: var(--gradient-brand);
  color: #fff;
  box-shadow: var(--shadow-burgundy);
}
.btn--primary:hover {
  background: var(--gradient-brand-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(152, 37, 66, 0.45);
}
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: linear-gradient(135deg, #FC4715 0%, #D9360B 100%);
  color: var(--text-primary);
  border: 1px solid transparent;
  box-shadow: var(--shadow-burgundy);
}
.btn--outline:hover {
  background: var(--gradient-brand-h);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(152, 37, 66, 0.45);
}

.btn--gold {
  background: var(--gradient-gold);
  color: var(--bg-primary);
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  background: var(--gradient-gold);
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(212, 160, 51, 0.45);
}
.btn--gold:active {
  transform: translateY(0);
}




.btn--ghost {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-2px);
}

.btn--lg  { padding: 16px 36px; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 200;
  background: rgba(10, 17, 40, 0.7);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(10, 17, 40, 0.96);
  border-bottom-color: var(--border-burgundy);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

.navbar__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  position: relative;
}

/* Efecto de brillo blanco diagonal que pasa de izquierda a derecha ciñéndose solo a la silueta */
.navbar__logo-img {
  position: relative;
  display: block;
}

.navbar__logo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  /* Usamos la silueta del propio logotipo como máscara para que el brillo solo afecte a las formas del logo */
  -webkit-mask-image: url('../../recursos/logo_rds_media.png');
  mask-image: url('../../recursos/logo_rds_media.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  
  /* Gradiente lineal en diagonal que actúa como el destello de brillo */
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 200% 100%;
  background-position: 150% 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 1;
}

.navbar__logo:hover::before {
  opacity: 1;
  animation: logo-shine-diagonal 0.8s ease-in-out forwards;
}

@keyframes logo-shine-diagonal {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -50% 0;
  }
}

.navbar__logo-img {
  height: 46px; /* Altura óptima para el navbar de 72px de alto sin forzar su tamaño */
  width: auto;
  object-fit: contain;
  display: block;
}


.navbar__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  transition: var(--transition-fast);
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }

.nav-link--cta {
  background: var(--gradient-brand);
  color: #fff !important;
  padding: var(--space-2) var(--space-6);
  box-shadow: 0 4px 16px rgba(152,37,66,0.3);
}
.nav-link--cta:hover {
  background: var(--gradient-brand-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(152,37,66,0.45);
}

/* Dropdown Servicios */
.nav-dropdown {
  position: relative;
}
.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-dropdown__toggle svg {
  transition: transform var(--duration-fast) var(--ease-out);
}
.nav-dropdown.open .nav-dropdown__toggle svg {
  transform: rotate(180deg);
}
.nav-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: rgba(10, 17, 40, 0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-2) 0;
  list-style: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  z-index: 300;
}
.nav-dropdown.open .nav-dropdown__menu {
  display: block;
}
.nav-dropdown__item {
  display: block;
  padding: var(--space-3) var(--space-5);
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  font-family: 'DM Sans', sans-serif;
  text-transform: uppercase;
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-dropdown__item:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: var(--space-2);
  border-radius: var(--radius-md);
  background: var(--color-orange);
  border: 1px solid transparent;
  transition: var(--transition-fast);
  flex-shrink: 0;
}
.hamburger:hover { background: var(--color-orange-light); }
.hamburger span {
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: var(--transition-fast);
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  background-color: #0B111E; /* Fallback oscuro */
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Vídeo de fondo a pantalla completa */
.hero__video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(0);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}

/* Overlay para oscurecer/iluminar el vídeo y asegurar la legibilidad del texto */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(252, 71, 21, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 80% 25%, rgba(42, 110, 240, 0.16) 0%, transparent 65%),
    linear-gradient(135deg, rgba(13, 27, 42, 0.58) 0%, rgba(17, 34, 64, 0.48) 50%, rgba(13, 27, 42, 0.72) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Orbes de fondo adicionales */
.hero__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 2; /* Sobre el video y overlay base */
  will-change: transform;
  transform: translateZ(0);
}
.hero__bg-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(252, 71, 21, 0.12) 0%, transparent 70%); /* Naranja logo */
  top: -15%; right: -10%;
  animation: orb-drift-1 18s ease-in-out infinite;
}
.hero__bg-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(23, 42, 70, 0.6) 0%, transparent 70%);
  bottom: 10%; left: -5%;
  animation: orb-drift-2 22s ease-in-out infinite;
}
.hero__bg-orb--3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(212, 160, 51, 0.06) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: orb-drift-3 15s ease-in-out infinite;
}

/* Desactivar y ocultar orbes con blur pesado en móvil para optimizar rendimiento de scroll a 60fps */
@media (max-width: 768px) {
  .hero__bg-orb {
    display: none !important;
    animation: none !important;
  }
}

/* Noise texture */
.hero__noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3; /* Sobre todas las capas */
  padding-block: var(--space-20);
}

.hero__badge { margin-bottom: var(--space-8); }
.hero__badge .badge {
  backdrop-filter: blur(8px);
  border-color: rgba(212, 160, 51, 0.45);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-8);
  color: var(--text-primary);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.85);
}
.hero__title-line { display: block; }
.hero__title-line--accent {
  background: linear-gradient(135deg, #FF7B54 0%, #FC4715 100%); /* Naranja de logotipo vibrante */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none; /* Evita que la sombra de texto del padre ensucie el fondo recortado */
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5)); /* Sombra exterior limpia */
  display: inline-block; /* Para asegurar correcto renderizado inline al lado de CREAMOS */
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #FFFFFF; /* Blanco sólido para una lectura excelente sobre el fondo aclarado */
  max-width: 580px;
  line-height: 1.75;
  margin-bottom: var(--space-10);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.9);
}
.hero__subtitle strong { 
  color: var(--color-gold-light); /* Dorado claro para destacar y armonizar */
  font-weight: 700; 
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-16);
}

/* Stats */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) var(--space-8);
  background: rgba(10, 17, 40, 0.80); /* Fondo oscuro con más opacidad para gran contraste */
  border: 1px solid rgba(168, 187, 204, 0.16);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
  width: 100%; /* Ocupa el 100% del ancho del contenedor (1280px) */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), var(--shadow-sm);
}

.stat-card {
  flex: 1 1 120px; /* Distribución uniforme, colapsando si es necesario en móviles */
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-4) var(--space-2);
  text-align: center;
}
.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: 0.05em;
  background: var(--gradient-brand); /* Naranja de marca */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-card__label {
  font-size: 0.75rem;
  color: #FFFFFF; /* Texto en blanco */
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.stat-divider {
  display: none; /* Ocultar en móviles por defecto */
}
@media (min-width: 768px) {
  .stat-divider {
    display: block;
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin-block: var(--space-2);
    align-self: stretch;
  }
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-secondary); /* Mayor contraste */
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  animation: scroll-bounce 2s ease-in-out infinite;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

/* ══════════════════════════════════════════
   SECCIONES — BASE
   ══════════════════════════════════════════ */
.section {
  padding-block: var(--space-24);
  position: relative;
}

.section__grid {
  display: grid;
  gap: var(--space-16);
}
.section__grid--2col { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .section__grid--2col { grid-template-columns: 1fr 1fr; align-items: center; }
}

.section__grid--contact { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .section__grid--contact { grid-template-columns: 1fr 1.3fr; }
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--space-16);
}

.section__tag {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.section__header .section__tag { justify-content: center; }

.section-number {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--color-burgundy);
  letter-spacing: 0.1em;
  line-height: 1;
}
.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.section__tag::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-burgundy);
  opacity: 0.6;
}
.section__header .section__tag::before { display: none; }

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-5);
}

.section__subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
}
.section__body {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-5);
  font-size: 1rem;
}
.section__body strong { color: var(--text-primary); font-weight: 600; }

/* ══════════════════════════════════════════
   QUIÉNES SOMOS
   ══════════════════════════════════════════ */
.section--about {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
}

.about__values {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.value-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(255, 100, 0, 0.25);
  border: 1px solid rgba(255, 100, 0, 0.55);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
}
.value-pill svg { color: #ffffff; flex-shrink: 0; }

/* Visual about */
.about__visual { position: relative; }
.about__card-main {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 0.85;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.about__card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-brand);
}
.about__years {
  display: flex;
  align-items: baseline;
  gap: var(--space-4);
}
.about__years-number {
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 8rem);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.about__years-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-family: var(--font-heading);
}
.about__logo-big {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  line-height: 1.1;
  color: rgba(255,255,255,0.06);
}
.about__logo-big span { color: rgba(152,37,66,0.15); }

.about__card-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: rgba(10, 17, 40, 0.85);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-primary);
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}
.about__card-float svg { color: var(--color-burgundy); flex-shrink: 0; }

.about__card-float--1 {
  bottom: var(--space-8);
  right: -var(--space-6);
  right: -16px;
  animation: float 6s ease-in-out infinite;
}
.about__card-float--2 {
  top: var(--space-12);
  left: -16px;
  animation: float 8s ease-in-out infinite 2s;
}

/* ══════════════════════════════════════════
   TIMELINE
   ══════════════════════════════════════════ */
/* ══════════════════════════════════════════
   TIMELINE (TRAYECTORIA)
   ══════════════════════════════════════════ */
.section--timeline {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Rejilla de 2 columnas */
.timeline__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: start;
}

@media (min-width: 1024px) {
  .timeline__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-16);
  }

  .timeline__info {
    position: sticky;
    top: calc(var(--nav-height) + var(--space-8));
  }
}

/* Tarjeta destacada a la izquierda */
.timeline__featured-card {
  margin-top: var(--space-8);
  background: linear-gradient(135deg, rgba(21, 32, 53, 0.9) 0%, rgba(17, 34, 64, 0.95) 100%);
  border: 1px solid var(--border-burgundy);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 30px rgba(252, 71, 21, 0.1);
  transition: var(--transition);
}

.timeline__featured-card::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 150px; height: 150px;
  background: radial-gradient(circle, rgba(252, 71, 21, 0.2) 0%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.timeline__featured-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(252, 71, 21, 0.18);
}

.timeline__featured-badge {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(252, 71, 21, 0.15);
  border: 1px solid var(--border-burgundy);
  color: var(--color-orange-light);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-heading);
  margin-bottom: var(--space-4);
}

.timeline__featured-year {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  background: linear-gradient(135deg, #FFFFFF 0%, var(--color-gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.timeline__featured-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}

.timeline__featured-body {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.timeline__featured-stat {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
}

.timeline__featured-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--color-orange);
  line-height: 1;
}

.timeline__featured-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

/* Contenedor de la línea de tiempo (Derecha) */
.timeline-wrapper {
  position: relative;
  padding-left: var(--space-2);
}

.timeline {
  position: relative;
  max-width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, 
    var(--border-burgundy) 0%, 
    var(--border-burgundy) 70%, 
    rgba(252, 71, 21, 0.05) 100%
  );
}

.timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
  position: relative;
}

.timeline__item:last-child {
  margin-bottom: 0;
}

.timeline__year {
  grid-column: 1;
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  line-height: 1;
  width: 60px;
  text-align: left;
  padding-left: var(--space-8);
  position: relative;
  z-index: 2;
  align-self: center;
}

/* Indicador circular en la línea de tiempo */
.timeline__connector {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: var(--bg-secondary);
  border: 3px solid var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(252, 71, 21, 0.4);
  z-index: 3;
  transition: var(--transition);
}

.timeline__item:hover .timeline__connector {
  background: var(--color-orange);
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 16px var(--color-orange);
}

/* Tarjetas de cronología compactas */
.timeline__card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.timeline__card:hover {
  border-color: var(--border-burgundy);
  background: var(--glass-bg-hover);
  transform: translateX(6px);
  box-shadow: var(--shadow-md), 0 4px 20px rgba(0, 0, 0, 0.2);
}

.timeline__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  transition: var(--transition-fast);
}

.timeline__item:hover .timeline__title {
  color: var(--color-orange-light);
}

.timeline__body {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.timeline__badge {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 2px 8px;
  background: rgba(252, 71, 21, 0.12);
  border: 1px solid rgba(252, 71, 21, 0.25);
  border-radius: var(--radius-full);
  color: var(--color-orange-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.timeline__badge--gold {
  background: rgba(212, 160, 51, 0.12);
  border-color: rgba(212, 160, 51, 0.25);
  color: var(--color-gold-light);
}

@media (min-width: 768px) {
  .timeline-wrapper {
    padding-left: var(--space-4);
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline__connector {
    left: 20px;
  }
  
  .timeline__year {
    width: 80px;
    font-size: 1.8rem;
    padding-left: var(--space-10);
  }
  
  .timeline__card {
    padding: var(--space-6) var(--space-8);
  }
  
  .timeline__title {
    font-size: 1.05rem;
  }
  
  .timeline__body {
    font-size: 0.9rem;
  }
}

/* ══════════════════════════════════════════
   SERVICIOS
   ══════════════════════════════════════════ */
.section--services {
  background: var(--bg-primary);
  padding-bottom: 0;
}

.services__horizontal-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  padding-inline: 0;
  padding-block: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.services__horizontal-track::-webkit-scrollbar {
  display: none;
}

.service-card {
  flex: 0 0 85vw;
  scroll-snap-align: start;
  height: 550px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-8) var(--space-6);
  border-radius: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.service-card:last-child {
  border-right: none;
}

.service-card__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.service-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.95) 0%,
    rgba(13, 27, 42, 0.70) 50%,
    rgba(13, 27, 42, 0.20) 100%
  );
  z-index: 2;
  transition: var(--transition);
}

.service-card__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.service-card:hover .service-card__bg img {
  transform: scale(1.03);
}

.service-card:hover .service-card__overlay {
  background: linear-gradient(
    to top,
    rgba(13, 27, 42, 0.98) 0%,
    rgba(13, 27, 42, 0.85) 60%,
    rgba(13, 27, 42, 0.40) 100%
  );
}

.service-card__featured-badge {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  padding: 4px 12px;
  background: var(--color-orange);
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(252, 71, 21, 0.3);
  z-index: 5;
}

.service-card__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.service-card__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(252, 71, 21, 0.15);
  border: 1px solid var(--border-burgundy);
  border-radius: var(--radius-md);
  color: var(--color-burgundy-xl);
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-card__icon {
  background: rgba(252, 71, 21, 0.25);
  border-color: var(--color-orange-light);
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.service-card__body {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: var(--space-4);
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}

.service-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.service-card__list li::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--color-orange);
  border-radius: 50%;
  flex-shrink: 0;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gold-light);
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  transition: var(--transition-fast);
  margin-top: var(--space-2);
  align-self: flex-start;
}

.service-card__link:hover {
  gap: var(--space-3);
  opacity: 0.85;
}

@media (max-width: 1023px) {
  .services__horizontal-track {
    flex-direction: column;
    gap: 0;
    padding-inline: 0;
    overflow-x: visible;
  }

  .service-card {
    flex: none;
    width: 100%;
    height: auto;
    min-height: 480px;
    border-right: none;
    border-radius: 0;
    padding: var(--space-8) var(--space-6);
    box-shadow: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .service-card:last-child {
    border-bottom: none;
  }
}

@media (min-width: 1024px) {
  .services__horizontal-track {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
    padding-inline: 0;
    overflow-x: visible;
  }

  .service-card {
    flex: none;
    height: 600px;
    padding: var(--space-10) var(--space-6) var(--space-12) var(--space-6);
  }

  .service-card__content {
    height: 380px;
    justify-content: flex-start;
  }

  .service-card__header {
    min-height: 56px;
    display: flex;
    align-items: center;
  }

  .service-card__body {
    min-height: 90px;
  }

  .service-card__list {
    min-height: 150px;
  }
}

/* ══════════════════════════════════════════
   PROGRAMAS
   ══════════════════════════════════════════ */
.section--shows {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

/* Efecto de luz de fondo para dar profundidad */
.section--shows::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(152, 37, 66, 0.08) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.shows__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-5);
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}

/* ── Tarjetas de Programa ── */
.show-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  animation: fadeIn 0.6s var(--ease-out) both;
  animation-delay: var(--delay, 0s);
  cursor: pointer;
  overflow: hidden;
}

/* Efecto hover en la tarjeta */
.show-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(152, 37, 66, 0.3);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2), 0 0 20px -5px rgba(152, 37, 66, 0.15);
}

/* Borde animado sutil en el hover */
.show-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-burgundy), transparent);
  transition: width 0.4s ease;
}

.show-card:hover::after {
  width: 100%;
}

/* Contenedor del Logo */
.show-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.show-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.show-card:hover .show-card__logo {
  transform: scale(1.05);
}

/* Contenido de la Tarjeta */
.show-card__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  flex-grow: 1;
}

.show-card__tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-burgundy);
  opacity: 0.9;
}

.show-card__title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.show-card:hover .show-card__title {
  color: var(--color-burgundy-light);
}

/* ── Tarjeta Destacada (Featured) ── */
.show-card--featured {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 400px;
  justify-self: center;
  background: linear-gradient(145deg, rgba(152, 37, 66, 0.12) 0%, rgba(152, 37, 66, 0.02) 100%);
  border-color: rgba(152, 37, 66, 0.3);
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.1);
}

.show-card--featured:hover {
  background: linear-gradient(145deg, rgba(152, 37, 66, 0.15) 0%, rgba(152, 37, 66, 0.05) 100%);
  border-color: rgba(220, 185, 125, 0.4); /* color gold */
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.2), 0 0 25px -5px rgba(220, 185, 125, 0.2);
}

/* Logo destacado ya no necesita fondo gold */

.show-card__featured-badge {
  position: absolute;
  top: 0;
  right: var(--space-5);
  background: var(--color-gold);
  color: #111;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.show-card--featured:hover .show-card__featured-badge {
  transform: translateY(2px);
}

.show-card__meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 2px 0 0 0;
  opacity: 0.8;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .shows__grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .shows__grid {
    grid-template-columns: 1fr;
  }
  
  .show-card {
    padding: var(--space-4);
  }
  
  .show-card__logo {
    width: 48px;
    height: 48px;
  }
}

/* ══════════════════════════════════════════
   POR QUÉ RDS
   ══════════════════════════════════════════ */
.section--why {
  position: relative;
  overflow: hidden;
  background-image: url('../images/why-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section--why::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13, 27, 42, 0.85) 0%, rgba(20, 38, 70, 0.78) 50%, rgba(13, 27, 42, 0.90) 100%);
  z-index: 1;
}

.why__inner {
  position: relative;
  z-index: 2;
}

.why__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-2);
}
@media (min-width: 640px) { .why__grid { grid-template-columns: repeat(2, 1fr); } }

.why-card {
  background: rgba(21, 32, 53, 0.85);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  transition: var(--transition);
  animation: fadeInUp 0.6s var(--ease-out) both;
  animation-delay: var(--delay, 0s);
}
.why-card:hover {
  border-color: var(--border-burgundy);
  background: var(--glass-bg-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md), var(--shadow-burgundy);
}

.why-card__number {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-display);
  font-size: 3rem;
  color: rgba(152,37,66,0.12);
  line-height: 1;
  letter-spacing: 0.05em;
}

.why-card__icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(152,37,66,0.10);
  border: 1px solid rgba(152,37,66,0.20);
  border-radius: var(--radius-lg);
  color: var(--color-burgundy-xl);
  margin-bottom: var(--space-5);
  transition: var(--transition);
}
.why-card:hover .why-card__icon {
  background: rgba(152,37,66,0.18);
}

.why-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: var(--space-3);
}
.why-card__body {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-20);
  background-image: url('../images/cta-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(252, 71, 21, 0.88) 0%, rgba(217, 54, 11, 0.94) 100%);
  z-index: 1;
}
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.05'/%3E%3C/svg%3E");
  opacity: 0.25;
  z-index: 2;
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .cta-banner__inner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
  }
}

.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: var(--space-3);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}
.cta-banner__body {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 540px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.cta-banner__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  flex-shrink: 0;
  width: 100%;
  align-items: center;
  z-index: 3;
}
@media (min-width: 480px) {
  .cta-banner__actions { flex-direction: row; width: auto; }
}

/* Botones específicos para la sección CTA con fondo naranja overlay */
.cta-banner .btn--primary {
  background: #FFFFFF;
  color: #FC4715;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}
.cta-banner .btn--primary:hover {
  background: var(--bg-primary);
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 27, 42, 0.4);
}
.cta-banner .btn--primary svg {
  stroke: currentColor;
}

.cta-banner .btn--ghost {
  background: rgba(13, 27, 42, 0.35);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.cta-banner .btn--ghost:hover {
  background: rgba(13, 27, 42, 0.7);
  border-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

/* ══════════════════════════════════════════
   CONTACTO
   ══════════════════════════════════════════ */
.section--contact {
  background: var(--bg-secondary);
}

.contact__data {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-10);
}

.contact__item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  text-decoration: none;
}
.contact__item:hover {
  border-color: var(--border-burgundy);
  background: var(--glass-bg-hover);
  transform: translateX(4px);
}

.contact__item-icon {
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(152,37,66,0.12);
  border-radius: var(--radius-md);
  color: var(--color-burgundy-xl);
  flex-shrink: 0;
}

.contact__item-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: var(--font-heading);
}
.contact__item-value {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

/* Formulario */
.form {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}
@media (min-width: 480px) { .form__row { grid-template-columns: 1fr 1fr; } }

.form__group { display: flex; flex-direction: column; gap: var(--space-2); }

.form__group--checkbox {
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-1);
}

.form__label-checkbox {
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.form__checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-orange);
  cursor: pointer;
  flex-shrink: 0;
}


.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-family: var(--font-heading);
}

.form__input,
.form__select,
.form__textarea {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition-fast);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  border-color: var(--color-burgundy);
  box-shadow: 0 0 0 3px rgba(152,37,66,0.12);
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%235C5654' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form__select option { background: var(--bg-tertiary); }

.form__textarea { resize: vertical; min-height: 120px; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  padding-block: var(--space-16) var(--space-12);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  width: 100%;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8) var(--space-12);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-10);
  }
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  margin-bottom: var(--space-2);
  position: relative;
}

.footer__col-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__col-list li {
  display: flex;
  flex-direction: column;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  align-self: flex-start;
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-family: var(--font-body);
}

.footer__link {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  transition: var(--transition-fast);
  padding-block: var(--space-1);
  display: inline-block;
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-orange-light);
  transform: translateX(4px);
}

.footer__contact-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.footer__bottom {
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

/* ══════════════════════════════════════════
   RESPONSIVE — MÓVIL
   ══════════════════════════════════════════ */
@media (max-width: 1023px) {
  .navbar__nav {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(10, 17, 40, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-5) var(--space-6);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--duration-normal) var(--ease-out),
                opacity var(--duration-normal) var(--ease-out);
    max-height: calc(100vh - var(--nav-height));
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
  }
  .navbar__nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-link {
    padding: var(--space-4) var(--space-4);
    font-size: 1rem;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .hamburger { display: flex; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown__toggle { width: 100%; justify-content: center; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border-subtle);
    border-radius: 0;
    background: transparent;
    padding: var(--space-1) 0;
  }
  .nav-dropdown__item { text-align: center; }

  .hero__stats {
    flex-direction: column;
    width: 100%;
    border-radius: var(--radius-lg);
  }
  .stat-divider { width: 100%; height: 1px; margin-inline: 0; }
  .stat-card {
    padding: var(--space-3) var(--space-6);
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  .timeline::before { left: 60px; }
  .timeline__item { grid-template-columns: 60px 1fr; gap: var(--space-4); }
  .timeline__connector { left: 60px; }
  .timeline__year {
    font-size: 1.1rem;
    width: auto;
    padding-left: 0;
    padding-right: var(--space-2);
    text-align: right;
  }

  .form { padding: var(--space-6); }

  .about__card-float { display: none; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}

/* Enlaces Legales Footer */
.footer__legal {
  display: flex;
  gap: var(--space-4);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.footer__legal-link {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
  transition: var(--transition-fast);
  text-decoration: none;
  padding: var(--space-1) var(--space-2);
}

.footer__legal-link:hover {
  color: var(--color-orange);
}

.footer__legal-separator {
  color: var(--text-muted);
  font-size: 0.8rem;
  opacity: 0.5;
}

@media (min-width: 768px) {
  .footer__legal {
    justify-content: flex-start;
  }
}

/* Botón Preferencia de Cookies en el Footer */
.footer__cookies-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-fast);
  text-decoration: underline;
  display: inline;
}

.footer__cookies-btn:hover {
  color: var(--color-orange);
}

/* ══════════════════════════════════════════
   CAJA DE COOKIES (BANNER & PANEL DE CONFIGURACIÓN MODAL)
   ══════════════════════════════════════════ */
.rds-cookies-banner-container {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 10000;
  max-width: 500px;
  background: rgba(10, 17, 40, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(252, 71, 21, 0.25);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-burgundy);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), visibility 0.4s;
  overflow: hidden;
  animation: cookiesFadeIn 0.5s var(--ease-spring) both;
}

.rds-cookies-banner-container.hidden {
  opacity: 0;
  transform: translateY(40px);
  visibility: hidden;
  pointer-events: none;
  animation: none;
}

@keyframes cookiesFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Banner Principal */
.rds-cookies-banner {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cookies-banner__header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.cookies-banner__icon {
  width: 24px;
  height: 24px;
  fill: var(--color-orange);
  flex-shrink: 0;
}

.cookies-banner__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.cookies-banner__text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cookies-banner__link {
  color: var(--color-gold-light);
  text-decoration: underline;
  font-weight: 500;
  transition: var(--transition-fast);
}

.cookies-banner__link:hover {
  color: var(--color-orange-light);
}

/* Acciones comunes de botones */
.cookies-banner__actions,
.cookies-config__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

@media (min-width: 480px) {
  .cookies-banner__actions {
    grid-template-columns: auto auto 1fr;
  }
  .cookies-config__actions {
    grid-template-columns: auto 1fr;
  }
}

.rds-cookies-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  white-space: nowrap;
}

.rds-cookies-btn--primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(252, 71, 21, 0.25);
}

.rds-cookies-btn--primary:hover {
  background: var(--gradient-brand-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(252, 71, 21, 0.35);
}

.rds-cookies-btn--secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.rds-cookies-btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

/* Overlay de Fondo para la Caja Centrada Modal */
.rds-cookies-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10001; /* Mayor que el banner */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}

.rds-cookies-modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Panel de Configuración Detallada Centrado */
.rds-cookies-config {
  width: 100%;
  max-width: 540px;
  background: rgba(10, 17, 40, 0.98);
  border: 1px solid rgba(252, 71, 21, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.8), var(--shadow-burgundy);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  max-height: 90vh;
  max-height: 90dvh;
  overflow-y: auto;
  animation: cookiesModalIn 0.4s var(--ease-spring) both;
}

@keyframes cookiesModalIn {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.cookies-config__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.cookies-config__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.cookies-config__subtitle {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.cookies-config__options {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  margin-block: var(--space-2);
}

.cookies-config__option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  padding-bottom: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
}

.cookies-config__option:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookies-config__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cookies-config__option-title-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.cookies-config__option-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}

.cookies-config__badge {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--color-gold);
  background: rgba(212, 160, 51, 0.1);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cookies-config__option-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Switch Slider */
.cookies-config__switch-wrapper {
  margin-top: 4px;
  flex-shrink: 0;
}

.cookies-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.cookies-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookies-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--bg-tertiary);
  transition: .3s;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-default);
}

.cookies-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #ffffff;
  transition: .3s;
  border-radius: 50%;
}

.cookies-switch input:checked + .cookies-slider {
  background-color: var(--color-orange);
  border-color: var(--color-orange-light);
}

.cookies-switch input:checked + .cookies-slider:before {
  transform: translateX(20px);
}

.cookies-switch.is-disabled {
  opacity: 0.6;
}

.cookies-switch.is-disabled .cookies-slider {
  cursor: not-allowed;
}

/* Vista Adaptada a Pantallas Grandes */
@media (min-width: 768px) {
  .rds-cookies-banner-container {
    left: 40px;
    bottom: 40px;
  }
}


