/* ==========================================================
   RESET Y BASE
   ========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #000;
  color: #e0a3ff;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================
   FONDO (versión ligera)
   ========================================================== */
.neural-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    radial-gradient(circle at 15% 85%, rgba(75, 0, 130, 0.48) 0%, transparent 50%),
    radial-gradient(circle at 85% 15%, rgba(139, 37, 99, 0.52) 0%, transparent 50%),
    radial-gradient(circle at 45% 60%, rgba(128, 0, 128, 0.38) 0%, transparent 50%),
    linear-gradient(135deg, #0a0a0a 0%, #21152d 50%, #000000 100%);
}

.neural-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 35%, rgba(224, 163, 255, 0.10), transparent 48%);
  opacity: 0.35;
  animation: liteBackgroundPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes liteBackgroundPulse {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.55; }
}

/* ==========================================================
   GLASSMORPHISM (sin blur para rendimiento)
   ========================================================== */
.glass {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   HEADER / NAVEGACIóN
   ========================================================== */
header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: 96%;
  max-width: 1200px;
  padding: 18px 35px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(18, 8, 28, 0.88);
  border: 1px solid rgba(224, 163, 255, 0.15);
  border-radius: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

header.scrolled {
  background: rgba(18, 8, 28, 0.95);
  border-color: rgba(224, 163, 255, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  transition: gap 0.3s ease;
}

.brand-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
}

header.scrolled .brand-logo {
  height: 40px;
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  transition: font-size 0.3s ease;
}

header.scrolled .brand-text {
  font-size: 0.95rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 12px;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 12px 20px;
  border-radius: 15px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a.active {
  color: #e0a3ff;
  background: linear-gradient(135deg, rgba(224, 163, 255, 0.15), rgba(255, 105, 180, 0.1));
  box-shadow: 0 0 20px rgba(224, 163, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 15px rgba(224, 163, 255, 0.2);
  border: 1px solid rgba(224, 163, 255, 0.3);
  text-shadow: 0 0 10px rgba(224, 163, 255, 0.8);
  transform: translateY(-1px);
}

.nav-links a.external-link::after {
  content: " ↗";
  font-size: 0.8em;
  vertical-align: super;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}
/* Mobile Menu */
 .mobile-menu-toggle {
     display: none;
     flex-direction: column;
     cursor: pointer;
     padding: 8px;
     border-radius: 8px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     transition: all 0.3s ease;
}
 .mobile-menu-toggle:hover {
     background: rgba(224, 163, 255, 0.1);
     box-shadow: 0 0 15px rgba(224, 163, 255, 0.3);
}
/* Mobile menu active state */
.mobile-nav a.active {
    background: linear-gradient(135deg, rgba(224, 163, 255, 0.2), rgba(255, 105, 180, 0.15));
    color: #e0a3ff;
    border: 1px solid rgba(224, 163, 255, 0.4);
    box-shadow: 
        0 0 25px rgba(224, 163, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(224, 163, 255, 0.6);
}
 .hamburger-line {
     width: 25px;
     height: 3px;
     background: linear-gradient(45deg, #e0a3ff, #ff69b4);
     margin: 3px 0;
     border-radius: 2px;
     transition: all 0.3s ease;
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(1) {
     transform: rotate(45deg) translate(9px, 9px);
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(2) {
     opacity: 0;
}
 .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
     transform: rotate(-45deg) translate(7px, -6px);
}
 .mobile-nav {
     position: fixed;
     top: 90px;
     left: 50%;
     transform: translateX(-50%);
     width: 90%;
     max-width: 400px;
     background: rgba(0, 0, 0, 0.95);
     backdrop-filter: blur(25px);
     border: 1px solid rgba(255, 255, 255, 0.2);
     border-radius: 20px;
     padding: 30px;
     display: none;
     flex-direction: column;
     gap: 20px;
     box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}
 .mobile-nav.active {
     display: flex;
     animation: slideDown 0.3s ease-out;
}
 @keyframes slideDown {
     from {
         opacity: 0;
         transform: translateX(-50%) translateY(-20px);
    }
     to {
         opacity: 1;
         transform: translateX(-50%) translateY(0);
    }
}
 .mobile-nav a {
     color: #ffffff;
     text-decoration: none;
     padding: 15px 20px;
     border-radius: 12px;
     background: rgba(255, 255, 255, 0.05);
     border: 1px solid rgba(255, 255, 255, 0.1);
     text-align: center;
     font-size: 1.1rem;
     transition: all 0.3s ease;
}
 .mobile-nav a:hover {
     background: rgba(224, 163, 255, 0.1);
     color: #e0a3ff;
     box-shadow: 0 0 20px rgba(224, 163, 255, 0.3);
     transform: translateY(-2px);
    }

/* ==========================================================
   HERO
   ========================================================= */
.hero {
  display: flex;
  align-items: center;
  padding: 50px;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
  z-index: 0;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(5, 2, 10, 0.8) 0%, rgba(8, 3, 15, 0.6) 45%, rgba(5, 2, 10, 0.9) 100%);
}

.hero-content {
  max-width: 1000px;
  padding: 100px 40px;
  animation: heroAppearLite 0.7s ease-out both;
  position: relative;
  z-index: 10;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

@keyframes heroAppearLite {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #e0a3ff;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  position: relative;
  display: inline-block;
  font-weight: 300;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  margin-bottom: 25px;
  background: linear-gradient(135deg, #e0a3ff 0%, #ff69b4 30%, #9370db 60%, #e0a3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.hero-description {
  max-width: 750px;
  margin: 0 auto 40px;
}

.hero-description p {
  font-size: 1.25rem;
  color: #d1d1d1;
  line-height: 1.8;
  font-weight: 300;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 0 auto 50px;
  max-width: 700px;
}

.hero-stat {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(224, 163, 255, 0.15);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.hero-stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #e0a3ff;
  display: block;
  text-shadow: 0 0 15px rgba(224, 163, 255, 0.5);
  margin-bottom: 10px;
}

.hero-stat-label {
  font-size: 0.85rem;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  line-height: 1.4;
}

.cta-buttons {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 45px;
  background: linear-gradient(135deg, #e0a3ff, #ff69b4);
  color: #000;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(224, 163, 255, 0.3);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid #e0a3ff;
  color: #e0a3ff;
  box-shadow: 0 4px 15px rgba(224, 163, 255, 0.1);
}

/* ==========================================================
   CAPTION Y DOTS DEL CARRUSEL
   ========================================================= */
.hero-carousel-caption {
  position: absolute;
  left: 50%;
  bottom: 120px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 500px;
  width: 90%;
  padding: 22px 30px;
  text-align: left;
  z-index: 20;
}

.hero-carousel-icon {
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.6rem;
  background: rgba(224, 163, 255, 0.1);
  border: 1px solid rgba(224, 163, 255, 0.3);
  color: #e0a3ff;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 20;
}

.hero-carousel-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(224, 163, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.hero-carousel-dots .dot.active {
  background: linear-gradient(135deg, #e0a3ff, #ff69b4);
  border-color: transparent;
  box-shadow: 0 0 15px rgba(224, 163, 255, 0.7);
  transform: scale(1.25);
}

/* ==========================================================
   FEATURES (Oferta educativa)
   ========================================================= */
.features {
  padding: 150px 0;
  position: relative;
  overflow: hidden;
}

.section-title {
  text-align: center;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 80px;
  color: #00ffff;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, #00ffff, #ff0080);
  border-radius: 2px;
}

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

.diagonal-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 80px;
  position: relative;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  padding: 50px;
  transform: skew(-5deg);
  transition: all 0.2s ease;
}

.feature-content:hover {
  transform: skew(-5deg) translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}

.feature-visual {
  flex: 1;
  height: 300px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.2s ease;
}

.feature-icon {
  font-size: 4rem;
  margin-bottom: 25px;
  background: linear-gradient(45deg, #ff0080, #8000ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #ffffff;
}

.feature-content p {
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
}

/* Section 3: Enhanced Hexagonal Showcase */
 .showcase {
     padding: 150px 0;
     position: relative;
}
 .hexagon-container {
     display: flex;
     justify-content: center;
     align-items: center;
     flex-wrap: wrap;
     gap: 40px;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
}
 .hexagon {
     width: 220px;
     height: 290px;
     position: relative;
     margin: 20px;
     transition: all 0.4s ease;
}
 .hexagon:hover {
     transform: scale(1.1);
}
 .hexagon-inner {
     width: 100%;
     height: 100%;
     position: relative;
     transform: rotate(30deg);
     border-radius: 25px;
     padding: 50px 25px;
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     text-align: center;
     overflow: hidden;
     transition: all 0.4s ease;
}
 .hexagon:hover .hexagon-inner {
     transform: rotate(0deg);
     border-radius: 15px;
}
 .hexagon:nth-child(odd) .hexagon-inner {
     background: linear-gradient(135deg, rgba(0, 255, 255, 0.12), rgba(255, 0, 128, 0.12));
     border: 1px solid rgba(0, 255, 255, 0.3);
}
 .hexagon:nth-child(even) .hexagon-inner {
     background: linear-gradient(135deg, rgba(255, 0, 128, 0.12), rgba(128, 0, 255, 0.12));
     border: 1px solid rgba(255, 0, 128, 0.3);
}
 .hexagon-icon {
     font-size: 2.8rem;
     margin-bottom: 20px;
     transform: rotate(-30deg);
     filter: drop-shadow(0 0 10px currentColor);
     transition: all 0.4s ease;
}
 .hexagon:hover .hexagon-icon {
     transform: rotate(0deg);
}
 .hexagon h4 {
     font-size: 1.3rem;
     color: #ffffff;
     transform: rotate(-30deg);
     margin-bottom: 15px;
     font-weight: bold;
     text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
     transition: all 0.4s ease;
}
 .hexagon:hover h4 {
     transform: rotate(0deg);
}
 .hexagon p {
     font-size: 0.95rem;
     color: #e0e0e0;
     transform: rotate(-30deg);
     line-height: 1.5;
     max-width: 140px;
     word-wrap: break-word;
     hyphens: auto;
     transition: all 0.4s ease;
}
 .hexagon:hover p {
     transform: rotate(0deg);
}

/* ==========================================================
   CONTACTO (Estructura Base Escritorio)
   ========================================================= */
.contact {
  padding: 150px 0;
  position: relative;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Rejilla principal equilibrada 50/50 */
.contact-content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
  margin-top: 60px;
}

/* Ajustes globales para info */
.contact-info.feature-content {
  flex: none;
  padding: 50px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info .institution-data {
  margin: 30px 0;
  font-size: 1.1rem;
  color: #cccccc;
  line-height: 1.8;
}

.contact-info .institution-data p {
  margin-bottom: 20px;
  display: flex;
  align-items: start;
  gap: 12px;
}

.contact-info .institution-data p:last-child {
  margin-bottom: 0;
}

.contact-info .institution-data p i {
  color: #e0a3ff;
  font-size: 1.2rem;
  margin-top: 5px;
  filter: drop-shadow(0 0 5px rgba(224, 163, 255, 0.4));
}

.contact-info .institution-data a {
  color: #00ffff;
  text-decoration: none;
}

/* Ajustes globales para mapa */
.contact-map.feature-visual {
  flex: none;
  height: 100%;
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.contact-map.feature-visual iframe {
  filter: saturate(0.8) contrast(1.1);
  transition: filter 0.3s ease;
}
.contact-map.feature-visual:hover iframe { filter: saturate(1) contrast(1.2); }

/* ==========================================================
   BOTONES FLOTANTES (WhatsApp, Teléfono, Facebook)
   ========================================================= */
.floating-buttons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.floating-buttons .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00ffff !important;
  text-decoration: none;
  font-size: 1.6rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* ==========================================================
   FOOTER
   ========================================================= */
footer {
  text-align: center;
  padding: 40px 10px 20px;
  border-top: 1px solid rgba(224, 163, 255, 0.15);
  background: rgba(10, 5, 15, 0.6);
  position: relative;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #dddddd;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #e0a3ff, #ff69b4);
  transition: width 0.3s ease;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-bottom: 45px;
}

.social-links {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #00ffff;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================
   RESPONSIVE (Media Queries)
   ========================================================= */

/* Breakpoint para tablets en horizontal y portátiles pequeños (Mantenemos 2 columnas) */
@media (max-width: 1024px) {
  .feature-row,
  .feature-row:nth-child(even) {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .feature-content {
    transform: skew(0);
    padding: 40px 30px;
  }
  .feature-visual {
    height: 280px;
    width: 100%;
  }
  /* LíNEAS CORRUPTAS ELIMINADAS AQUí - Ya no forzamos 1 columna a 1024px */
}

/* NUEVO BREAKPOINT DE CONTACTO: Apilar solo por debajo de 991px */
@media (max-width: 991px) {
  .contact-content-row {
      grid-template-columns: 1fr; /* 1 columna solo para móviles/tablets estrechas */
      gap: 40px;
  }
  
  /* Evitar que los bloques se estiren demasiado en tablets anchas */
  .contact-info.feature-content,
  .contact-map.feature-visual {
      max-width: 600px; /* Ancho máximo para mantener la forma */
      margin: 0 auto; /* Centrar los bloques */
  }

  .contact-info.feature-content {
      padding: 40px 20px; /* Padding ajustado */
      text-align: center; /* Centrar texto al apilar */
  }
  
  /* Centrar iconos de institution-data al apilar */
  .contact-info .institution-data p {
      justify-content: center;
      text-align: left;
  }
  
  .contact-map.feature-visual {
      height: 400px; /* Alto fijo del mapa en tablets apiladas */
  }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: flex; }
}

@media (max-width: 768px) {
  .hero-content { padding: 80px 20px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cta-buttons { flex-direction: column; align-items: center; gap: 15px; }
  .cta-button { width: 100%; max-width: 300px; justify-content: center; }
  
  .feature-icon { font-size: 3.2rem; }
  .feature-content h3 { font-size: 1.8rem; }
  
  .hexagon { width: 260px; height: 300px; }
  .hexagon h4 { font-size: 1.4rem; }
  
  .features, .showcase, .contact { padding: 100px 0; }
  
  /* Ajuste de padding para info de contacto en móviles */
  .contact-info.feature-content {
      padding: 30px;
  }
  
  /* Alto del mapa en móviles */
  .contact-map.feature-visual {
      height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-content { padding: 100px 15px 60px; }
  .hero-stats { grid-template-columns: 1fr; }
  .feature-visual { height: 220px; }
  .hexagon { width: 100%; max-width: 300px; }
}

/* ==========================================================
   SCROLLBAR y ACCESIBILIDAD (Se mantienen igual)
   ========================================================= */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.8); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #e0a3ff, #ff69b4);
  border-radius: 5px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

  /* Contenedor principal de la sección de admisiones */
  .admisiones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .admisiones-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .admisiones-form-wrapper {
    padding: 40px;
    width: 100%;
  }

  /* Estilos para las etiquetas e inputs */
  .form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .form-group label {
    font-size: 0.9rem;
    color: #e0a3ff;
    margin-bottom: 8px;
    font-weight: 500;
  }

  .form-control {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(224, 163, 255, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
  }

  .form-control:focus {
    border-color: #ff69b4;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(255, 105, 180, 0.3);
  }

  /* Personalización del selector <select> */
  select.form-control option {
    background-color: #12081c;
    color: #ffffff;
  }

  /* Ajustes responsive a 1 columna (debajo de 991px o 560px) */
  @media (max-width: 991px) {
    .admisiones-grid {
      grid-template-columns: 1fr;
      gap: 40px;
    }

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

    .admisiones-form-wrapper {
      padding: 30px 20px;
    }
  }

/* Ajustes para el contenedor del mapa */
.contact-map.feature-visual {
  flex: none;
  width: 100%;
  min-height: 400px;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 0;
}

/* Efecto de mapa oscuro neón para armonizar con el diseño */
.contact-map.feature-visual iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(240deg) contrast(1.2) saturate(0.8);
  transition: filter 0.3s ease;
}

/* Intensifica el mapa al pasar el cursor */
.contact-map.feature-visual:hover iframe {
  filter: invert(90%) hue-rotate(240deg) contrast(1.3) saturate(1.1);
}

/* Asegura altura correcta en pantallas móviles */
@media (max-width: 991px) {
  .contact-map.feature-visual {
    height: 350px;
    min-height: 350px;
  }
}

