:root {
  /* Paleta de colores - ROJO ORIGINAL */
  --primary-red: #DC2626;
  --primary-red-dark: #B91C1C;
  --primary-red-light: #F87171;
  --accent-blue: #1E40AF;
  --accent-blue-dark: #1E3A8A;
  --accent-blue-light: #3B82F6;
  --background-white: #FFFFFF;
  --neutral-light: #F8FAFC;
  --neutral-gray: #E2E8F0;
  --text-dark: #1E293B;
  --text-light: #FFFFFF;

  /* Efectos y sombras con rojo original */
  --glass: rgba(220, 38, 38, 0.15);
  --glass-border: rgba(220, 38, 38, 0.25);
  --shadow-sm: 0 1px 2px 0 rgba(220, 38, 38, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(220, 38, 38, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(220, 38, 38, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(220, 38, 38, 0.25);
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--background-white);
  color: var(--text-dark);
  padding-top: 100px;
  /* espacio para el navbar fijo */
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
  box-shadow: 0 8px 32px rgba(30, 64, 175, 0.3);
  backdrop-filter: blur(20px);
  transition: var(--transition-normal);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 0.8rem 0;
  border-bottom: 2px solid var(--primary-red);
}

.navbar.scrolled {
  padding: 0.4rem 0;
  box-shadow: 0 12px 40px rgba(30, 64, 175, 0.4);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--text-light) !important;
  transition: var(--transition-fast);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: var(--text-light) !important;
  filter: drop-shadow(0 0 20px var(--primary-red));
}

.logo-escudo {
  height: 70px;
  width: 70px;
  border-radius: 50%;
  border: 3px solid var(--primary-red);
  padding: 2px;
  background: var(--background-white);
  filter: drop-shadow(0 4px 12px rgba(220, 38, 38, 0.4));
  transition: var(--transition-fast);
}

.navbar-brand:hover .logo-escudo {
  transform: rotate(10deg) scale(1.1);
  border-color: var(--text-light);
  box-shadow: 0 0 25px var(--primary-red);
}

.navbar-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
  /* Espaciado uniforme entre ítems */
}

.navbar-nav .nav-item {
  margin: 0;
  /* Eliminado margen adicional para mejor control con gap */
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 600;
  padding: 0.8rem 1.2rem !important;
  /* Padding ajustado para mejor espaciado */
  border-radius: 12px;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0px;
  font-size: 0.7rem;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  transition: var(--transition-normal);
  z-index: -1;
  border-radius: 12px;
}

.navbar-nav .nav-link:hover::before {
  left: 0;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-3px);
  color: var(--text-light) !important;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.5);
}

.dropdown-menu {
  background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-blue-dark) 100%);
  border: 2px solid var(--primary-red);
  box-shadow: 0 20px 50px rgba(30, 64, 175, 0.4);
  border-radius: 15px;
  padding: 1rem;
  margin-top: 0.5rem;
  backdrop-filter: blur(20px);
  min-width: 200px;
  /* Ancho mínimo para dropdowns */
}

.dropdown-item {
  color: var(--text-light) !important;
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  transition: var(--transition-normal);
  font-weight: 500;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--text-light) !important;
  transform: translateX(8px);
  box-shadow: 0 5px 15px rgba(220, 38, 38, 0.3);
}

.dropdown-item i {
  width: 20px;
  text-align: center;
  color: var(--primary-red-light);
  margin-right: 0.5rem;
}

.dropdown-item:hover i {
  color: var(--text-light);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to right, var(--primary-red-dark) 0%, var(--primary-red) 50%, #FEE2E2 80%, var(--background-white) 100%);
  padding-top: 80px;
  /* Espacio para el navbar */
}

.hero-image-container {
  position: absolute;
  bottom: 0;
  right: 5%;
  /* Ajusta la posición horizontal */
  height: 85vh;
  /* Altura relativa a la ventana */
  display: flex;
  align-items: flex-end;
}

.hero-image {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.25));
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  padding: 2rem;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(3.5rem, 6vw, 6rem);
  /* Letras más grandes */
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: var(--text-light);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title-highlight {
  background: linear-gradient(145deg, #ffffff 60%, #fde8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 3rem;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-cta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.btn-hero {
  padding: 1.3rem 2.8rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  transition: var(--transition-normal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 1px;
  backdrop-filter: blur(20px);
}

.btn-primary-hero {
  background: linear-gradient(135deg, var(--background-white) 0%, var(--neutral-light) 100%);
  color: var(--primary-red);
  box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary-hero {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-hero:hover {
  transform: translateY(-8px) scale(1.05);
}

.btn-primary-hero:hover {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-light) 100%);
  color: var(--text-light);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.5);
}

.btn-secondary-hero:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.3);
}

/* 
 .carousel-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  transition: var(--transition-normal);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: var(--transition-slow);
  filter: brightness(0.85) contrast(1.1) saturate(1.2);
}

.carousel-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.9) contrast(1.2) saturate(1.3);
}

.carousel-caption {
  background: linear-gradient(
    0deg, 
    rgba(220, 38, 38, 0.95) 0%, 
    rgba(220, 38, 38, 0.8) 40%,
    transparent 100%
  );
  backdrop-filter: blur(20px);
  border-radius: 25px 25px 0 0;
  padding: 3rem 2rem !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  color: var(--text-light);
  z-index: 3;
  border-top: 3px solid rgba(255, 255, 255, 0.3);
}

.carousel-caption h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
  margin-bottom: 1rem;
  color: var(--text-light);
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-light);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition-fast);
  z-index: 10;
  backdrop-filter: blur(20px);
}

.carousel-control-prev {
  left: -35px;
}

.carousel-control-next {
  right: -35px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--neutral-light) 100%);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.4);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 28px 28px;
  filter: brightness(0) invert(1);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: brightness(0) invert(0);
}

.carousel-indicators {
  bottom: -60px !important;
  gap: 1rem;
}

.carousel-indicators [data-bs-target] {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
  opacity: 1;
}

.carousel-indicators .active {
  background: var(--primary-red);
  border-color: var(--text-light);
  transform: scale(1.4);
  box-shadow: 0 0 25px rgba(220, 38, 38, 0.8);
}
*/
/* Secciones */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--primary-red);
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-blue) 0%, var(--primary-red) 100%);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 4rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-bg-light {
  background: linear-gradient(135deg, var(--neutral-light) 0%, var(--background-white) 100%);
}

/* Cards */
.card-modern {
  background: var(--background-white);
  border-radius: 25px;
  border: none;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
  transition: var(--transition-normal);
  overflow: hidden;
  position: relative;
  height: 100%;
  border-top: 6px solid var(--primary-red);
}

a.card-modern:hover,
.card-modern:not(a):hover {
  transform: translateY(-15px);
  box-shadow: 0 25px 60px rgba(220, 38, 38, 0.25);
  border-top-color: var(--accent-blue);
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-blue) 100%);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.a.card-modern:hover::before,
.card-modern:not(a):hover::before {
  transform: scaleX(1);
}

.card-icon {
  font-size: 3rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  transition: var(--transition-normal);
}

a.card-modern:hover .card-icon,
.card-modern:not(a):hover .card-icon {
  color: var(--accent-blue);
  transform: scale(1.1);
}

/* Links section */
.link-image {
  width: 120px;
  height: 80px;
  object-fit: contain;
  border-radius: 20px;
  transition: var(--transition-normal);
  box-shadow: 0 5px 20px rgba(220, 38, 38, 0.2);
  margin: 0 1rem;
  border: 3px solid var(--primary-red);
  background: var(--background-white);
  padding: 0.5rem;
}

.link-image:hover {
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
  border-color: var(--accent-blue);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 50%, var(--neutral-light) 100%);
  position: relative;
  overflow: hidden;
  color: var(--text-light);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(220, 38, 38, 0.2) 0%, transparent 50%);
}

.footer-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer a:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
  color: var(--text-light);
  font-size: 1.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--text-light) 0%, var(--accent-blue-light) 100%);
  border-radius: 2px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.3rem;
  margin: 0 0.5rem;
  transition: var(--transition-fast);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.social-icons a:hover {
  background: var(--text-light);
  color: var(--primary-red);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Botón scroll to top */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: var(--text-light);
  border: none;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-fast);
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: linear-gradient(135deg, var(--text-light) 0%, var(--neutral-light) 100%);
  color: var(--primary-red);
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    padding: 2rem 0;
  }

  .hero-content,

  .hero h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.3rem;
    text-align: center;
  }

  .hero-cta {
    justify-content: center;
    gap: 1rem;
  }

  .btn-hero {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .link-image {
    width: 100px;
    height: 65px;
    margin: 0 0.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .card-modern {
    margin-bottom: 2rem;
  }

  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    /* Espaciado uniforme en móviles */
    padding: 1rem 0;
  }

  .navbar-nav .nav-link {
    padding: 0.6rem 1rem !important;
    /* Padding ajustado para móviles */
    font-size: 1rem;
    min-width: unset;
    /* Eliminar ancho mínimo en móviles */
  }

  .dropdown-menu {
    min-width: 100%;
    /* Ocupar todo el ancho en móviles */
    text-align: center;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .navbar-brand {
    font-size: 1.4rem;
  }

  .logo-escudo {
    height: 35px;
  }

  .navbar-nav .nav-link {
    font-size: 0.9rem;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .section {
    padding: 4rem 0;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeInUp 0.8s ease-out;
}

/* Accesibilidad */
.navbar-nav .nav-link:focus,
.btn-hero:focus,
.scroll-top:focus {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

.card-modern:focus-within {
  outline: 3px solid var(--primary-red);
  outline-offset: 2px;
}

.social-icons a:focus {
  outline: 3px solid white;
  outline-offset: 3px;
}

/* Alto contraste */
@media (prefers-contrast: high) {
  :root {
    --primary-red: #B91C1C;
    --accent-blue: #1E3A8A;
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  }

  .card-modern {
    border: 2px solid var(--primary-red);
  }

  .btn-hero {
    border: 3px solid currentColor;
  }
}

/* Transiciones suaves */
* {
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Impresión */
@media print {

  .navbar,
  .scroll-top,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators {
    display: none !important;
  }

  .hero {
    height: auto !important;
    background: white !important;
    color: black !important;
  }

  .section {
    page-break-inside: avoid;
  }

  .card-modern {
    border: 1px solid #ccc;
    box-shadow: none;
  }

  /* === ESTILOS PARA CARRUSEL DE EVENTOS (versión minimalista) === */

  /* Contenedor del carrusel de eventos */
  /* === ESTILOS PARA CARRUSEL DE EVENTOS - VERSIÓN EQUILIBRADA Y LLAMATIVA === */
  /*
#eventosCarousel .carousel-inner {
  border-radius: 20px !important;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-red);
}*/

  /* Imagen más pequeña y equilibrada */
  /*
.event-main-image,
.event-placeholder,
#eventosCarousel .carousel-item {
  height: 400px; /* ✅ Reducido de 600px a 400px 
}*/
  /*
.event-main-image {
  width: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.95) contrast(1.05);
}
*/
  /* Overlay con fondo rojo semitransparente para resaltar el título */
  /* 
.event-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(220, 38, 38, 0.85), transparent);
  width: 100%;
  pointer-events: none;
  z-index: 2;
}*/

  /* Título llamativo: blanco con sombra, en tu rojo de fondo */
  /* 
.event-overlay-title {
  color: var(--text-light); /* Blanco 
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}*/

  /* Placeholder alternativo */
  /*
.event-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--neutral-light);
  color: var(--text-dark);
  font-size: 2rem;
}*/

  /* Indicadores y controles (ligeros ajustes) */
  /*
#eventosCarousel .carousel-indicators {
  bottom: -45px !important;
  gap: 0.7rem;
}

#eventosCarousel .carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
}

#eventosCarousel .carousel-indicators .active {
  background: var(--primary-red);
  border-color: var(--text-light);
  transform: scale(1.2);
}

#eventosCarousel .carousel-control-prev,
#eventosCarousel .carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(220, 38, 38, 0.8);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

#eventosCarousel .carousel-control-prev:hover,
#eventosCarousel .carousel-control-next:hover {
  background: var(--primary-red);
  transform: translateY(-50%) scale(1.1);
}/*

/* Responsive */
  /*
@media (max-width: 992px) {
  .event-main-image,
  .event-placeholder,
  #eventosCarousel .carousel-item {
    height: 320px;
  }

  .event-overlay-title {
    font-size: 1.3rem;
    padding: 0.8rem 1.2rem;
  }
}

@media (max-width: 576px) {
  .event-main-image,
  .event-placeholder,
  #eventosCarousel .carousel-item {
    height: 260px;
  }

  .event-overlay-title {
    font-size: 1.15rem;
    padding: 0.7rem 1rem;
  }

  #eventosCarousel .carousel-indicators {
    bottom: -40px !important;
  }
}*/

  /* === SECCIÓN DESTACADA: ENCUESTA DE EGRESADOS === */
  /* === ESTILO PARA LA SECCIÓN DE ENCUESTA UNIFICADA === */
  .encuesta-wrapper {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-red);
    border-radius: 28px;
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.15);
    position: relative;
    overflow: hidden;
  }

  /* Línea decorativa superior (opcional pero elegante) */
  .encuesta-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-red), var(--accent-blue));
    z-index: 2;
  }

  /* Glass card dentro de la sección */
  .encuesta-wrapper .glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(220, 38, 38, 0.1);
    box-shadow: 0 5px 20px rgba(220, 38, 38, 0.08);
  }

  /* Efecto de pulso para el botón (si ya lo tienes, ignora) */
  .btn-encuesta-pulse {
    position: relative;
    z-index: 1;
  }

  .btn-encuesta-pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50px;
    z-index: -1;
    animation: pulse 2s infinite;
    opacity: 0.6;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 var(--primary-red);
    }

    70% {
      box-shadow: 0 0 0 15px rgba(220, 38, 38, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(220, 38, 38, 0);
    }
  }

  .d-flex {
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .entidades-scroll {
    overflow-x: auto;
    padding-bottom: 10px;
  }



}