
  
  .page {
  opacity: 1 !important;
  display: block !important;
}

  
  
  
  
    /* Variables CSS para colores y tamaños */
    :root {
      --primary-color: #2a5298;
      --secondary-color: #1a3a68;
      --accent-color: #ff6b6b;
      --text-color: #333;
      --light-text: #7f8c8d;
      --white: #ffffff;
      --modal-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
      --transition: all 0.3s ease;
    }

    /* Reset básico para mejor consistencia entre navegadores */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      font-family: 'Montserrat', sans-serif;
      line-height: 1.6;
      color: var(--text-color);
      overflow-x: hidden;
    }

    /* Estilos responsive para el modal de bienvenida */
    .welcome-modal {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.8);
      z-index: 9999;
      align-items: center;
      justify-content: center;
      padding: 20px;
      background-image: url('ALUMNOS.jpg');
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
    }

    .welcome-modal-content {
      position: relative;
      background-color: rgba(255, 255, 255, 0.9);
      padding: 30px;
      border-radius: 15px;
      width: 100%;
      max-width: 600px;
      text-align: center;
      box-shadow: var(--modal-shadow);
      border: 2px solid var(--white);
      animation: fadeIn 0.5s ease-out;
    }

    .close-welcome {
      position: absolute;
      top: 15px;
      right: 15px;
      color: var(--text-color);
      font-size: 28px;
      font-weight: bold;
      background: none;
      border: none;
      cursor: pointer;
      transition: var(--transition);
    }

    .close-welcome:hover {
      color: #e74c3c;
    }

    .welcome-modal-content h2 {
      color: var(--primary-color);
      font-size: clamp(1.5rem, 4vw, 2.2rem);
      margin-bottom: 20px;
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    }

    .welcome-modal-content p {
      color: var(--light-text);
      font-size: clamp(1rem, 3vw, 1.4rem);
      margin-bottom: 30px;
      font-weight: 500;
    }

    .welcome-btn {
      background: linear-gradient(135deg, #3498db, #2980b9);
      color: var(--white);
      border: none;
      padding: 12px 30px;
      font-size: 1.1em;
      border-radius: 50px;
      cursor: pointer;
      transition: var(--transition);
      box-shadow: 0 4px 15px rgba(52, 152, 219, 0.4);
      width: 100%;
      max-width: 250px;
    }

    .welcome-btn:hover {
      background: linear-gradient(135deg, #2980b9, #3498db);
      transform: translateY(-3px);
      box-shadow: 0 7px 20px rgba(52, 152, 219, 0.6);
    }

    .welcome-btn:active {
      transform: translateY(1px);
    }

    /* Estilos para el botón de WhatsApp */
    .whatsapp-float {
      position: fixed;
      bottom: 20px;
      left: 20px;
      z-index: 1000;
      text-decoration: none;
      cursor: pointer;
    }

    .whatsapp-container {
      position: relative;
      width: 50px;
      height: 50px;
      background-color: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
      transition: var(--transition);
      animation: float 3s ease-in-out infinite;
    }

    .whatsapp-icon {
      width: 25px;
      height: 25px;
      transition: var(--transition);
      z-index: 2;
    }

    .pulse-effect {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: rgba(37, 211, 102, 0.5);
      border-radius: 50%;
      z-index: 1;
      animation: pulse 2s infinite;
      opacity: 0;
    }

    .tooltip {
      position: absolute;
      left: 60px;
      bottom: 10px;
      background: #333;
      color: white;
      padding: 8px 12px;
      border-radius: 4px;
      font-size: 14px;
      font-family: Arial, sans-serif;
      white-space: nowrap;
      opacity: 0;
      transform: translateX(-10px);
      transition: var(--transition);
      pointer-events: none;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .tooltip::before {
      content: '';
      position: absolute;
      left: -5px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-right: 5px solid #333;
    }

    /* Animaciones */
    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-5px);
      }
    }

    @keyframes pulse {
      0% {
        transform: scale(0.8);
        opacity: 0.5;
      }

      70% {
        transform: scale(1.3);
        opacity: 0;
      }

      100% {
        opacity: 0;
      }
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(20px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Media Queries para diferentes tamaños de pantalla */
    @media (max-width: 768px) {
      .welcome-modal-content {
        padding: 25px;
      }

      .welcome-btn {
        padding: 10px 20px;
        font-size: 1em;
      }

      .whatsapp-container {
        width: 45px;
        height: 45px;
      }

      .whatsapp-icon {
        width: 22px;
        height: 22px;
      }

      .tooltip {
        font-size: 12px;
        left: 50px;
      }
    }

    @media (max-width: 480px) {
      .welcome-modal-content {
        padding: 20px;
      }

      .welcome-modal-content h2 {
        font-size: 1.8rem;
      }

      .welcome-modal-content p {
        font-size: 1.1rem;
      }

      .whatsapp-container {
        width: 40px;
        height: 40px;
      }

      .whatsapp-icon {
        width: 20px;
        height: 20px;
      }

      .tooltip {
        display: none;
        /* Ocultamos el tooltip en móviles muy pequeños */
      }
    }

    /* Estilos para el modal personalizado */
    .computron-modal {
      font-family: 'Montserrat', sans-serif;
    }

    .computron-modal .modal-content {
      border-radius: 15px;
      overflow: hidden;
      border: none;
      box-shadow: var(--modal-shadow);
    }

    .computron-modal .modal-header {
      border-bottom: none;
      position: relative;
      padding: 0;
    }

    .computron-modal .modal-body {
      padding: 0;
    }

    .computron-modal .modal-image {
      width: 100%;
      height: auto;
      max-height: 250px;
      object-fit: cover;
    }

    .computron-modal .modal-text-content {
      padding: 20px;
      background: linear-gradient(135deg, #1e3c72 0%, var(--primary-color) 100%);
      color: var(--white);
    }

    .computron-modal .modal-title {
      font-weight: 700;
      margin-bottom: 15px;
      font-size: clamp(1.3rem, 3vw, 1.8rem);
      text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    }

    .computron-modal .modal-message {
      font-size: clamp(0.9rem, 2vw, 1.1rem);
      line-height: 1.6;
      margin-bottom: 20px;
    }

    .computron-modal .btn-close {
      position: absolute;
      top: 15px;
      right: 15px;
      z-index: 10;
      filter: invert(1);
      opacity: 0.8;
      background: none;
      font-size: 1.5rem;
      padding: 0.5rem;
    }

    .computron-modal .btn-primary {
      background-color: var(--accent-color);
      border: none;
      padding: 10px 25px;
      font-weight: 600;
      border-radius: 50px;
      transition: var(--transition);
    }

    .computron-modal .btn-primary:hover {
      background-color: #ff5252;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

    /* IE Panel */
    .ie-panel {
      display: none;
      background: #212121;
      padding: 10px 0;
      box-shadow: 3px 3px 5px 0 rgba(0, 0, 0, .3);
      clear: both;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    html.ie-10 .ie-panel,
    html.lt-ie-10 .ie-panel {
      display: block;
    }

    /* Estilos para la galería */
    .gallery-container {
      max-width: 1400px;
      margin: 40px auto;
      padding: 20px;
      width: 95%;
    }

    /* Estilos para títulos al estilo TikTok */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      font-family: 'Montserrat', 'Arial', sans-serif !important;
      font-weight: bold !important;
    }

    /* Efectos hover para WhatsApp */
    .whatsapp-float:hover .whatsapp-container {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-float:hover .whatsapp-icon {
      transform: scale(1.1);
    }

    .whatsapp-float:hover .tooltip {
      opacity: 1;
      transform: translateX(0);
    }
    /* CSS Base Responsivo Generado por IA */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      font-size: 16px;
    }

    body {
      font-family: system-ui, -apple-system, BlinkMacSystemFont,
        'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
        'Open Sans', 'Helvetica Neue', sans-serif;
      line-height: 1.6;
      color: #333;
    }

    .container {
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
    }

    @media (min-width: 576px) {
      .container {
        max-width: 540px;
      }
    }

    @media (min-width: 768px) {
      .container {
        max-width: 720px;
      }

      html {
        font-size: 17px;
      }
    }

    @media (min-width: 992px) {
      .container {
        max-width: 960px;
      }
    }

    @media (min-width: 1200px) {
      .container {
        max-width: 1140px;
      }

      html {
        font-size: 18px;
      }
    }

    /* Reglas específicas para smartwatches */
    @media (max-width: 300px) {
      html {
        font-size: 12px;
      }

      .container {
        padding: 5px;
      }

      button,
      a {
        min-width: 40px;
        min-height: 40px;
        padding: 5px;
        font-size: 12px;
      }
    }


    /* Recomendaciones de IA */


    /* Sugerencias de diseño basadas en IA */

    /* 1. Mejorar el contraste de colores */
    body {
      color: #222;
      background-color: #fff;
    }

    /* 2. Aumentar el espaciado para mejor legibilidad */
    p,
    li {
      margin-bottom: 1.2em;
    }

    /* 3. Optimizar botones para tactil */
    button,
    .btn {
      min-width: 44px;
      min-height: 44px;
      padding: 10px 15px;
    }

    /* 4. Mejorar jerarquía visual */
    h1 {
      font-size: 2.5rem;
      margin-bottom: 1.5rem;
    }

    h2 {
      font-size: 2rem;
      margin-bottom: 1.3rem;
    }

    /* 5. Animaciones sutiles para mejor UX */
    a,
    button {
      transition: all 0.3s ease;
    }

    a:hover,
    button:hover {
      opacity: 0.8;
    }
    
    
    
    /* ===== Modal de Horarios de Servicio Educativo ===== */
.horarios-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease-in-out;
}

.horarios-modal-content {
  background-color: rgba(255, 255, 255, 0.97);
  border-radius: 15px;
  max-width: 500px;
  width: 90%;
  padding: 30px;
  box-shadow: var(--modal-shadow);
  font-family: 'Montserrat', sans-serif;
  animation: fadeIn 0.4s ease-out;
  position: relative;
}

.horarios-modal-content h2 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.horarios-modal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.horarios-modal-content th,
.horarios-modal-content td {
  padding: 12px 10px;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.horarios-modal-content th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.horarios-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  color: var(--text-color);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.horarios-close-btn:hover {
  color: var(--accent-color);
}

/* Botón de activación del modal */
.horarios-btn {
  background-color: var(--white);
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  border-radius: 6px;
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}

.horarios-btn:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Responsive para móvil */
@media (max-width: 480px) {
  .horarios-modal-content {
    padding: 20px;
  }

  .horarios-modal-content h2 {
    font-size: 1.5rem;
  }

  .horarios-modal-content th,
  .horarios-modal-content td {
    font-size: 0.9rem;
    padding: 10px 6px;
  }
}

 
 
 :root {
  --highlight-color: #e74c3c; /* Color para destacar información importante */
  --info-text-color: #555; /* Color más profesional para texto informativo */
  --border-highlight: 2px solid rgba(231, 76, 60, 0.3); /* Borde sutil */
}   

/* Estilo para el párrafo de información importante */
.welcome-modal-content .important-info {
  color: var(--highlight-color);
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 600;
  margin: 25px 0;
  padding: 15px;
  border-left: var(--border-highlight);
  border-right: var(--border-highlight);
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
  animation: pulseText 2s infinite alternate;
}

/* Animación sutil para el texto importante */
@keyframes pulseText {
  from {
    opacity: 0.9;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Estilo para el texto entre paréntesis */
.welcome-modal-content .small-note {
  display: block;
  font-size: 0.8em;
  color: var(--info-text-color);
  font-weight: 400;
  text-transform: none;
  margin-top: 8px;
  letter-spacing: normal;
}


/* Mejora el contenedor del modal */
.welcome-modal-content {
  backdrop-filter: blur(5px); /* Efecto de vidrio esmerilado */
  border: 1px solid rgba(255, 255, 255, 0.3); /* Borde sutil */
}

/* Mejora el botón */
.welcome-btn {
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Mejora la tipografía general */
.welcome-modal-content h2 {
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.welcome-modal-content p {
  margin-bottom: 15px;
  color: var(--info-text-color);
}
    
    




@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Open+Sans:wght@400;600&family=Poppins:wght@500;600;700&family=Playfair+Display:wght@600&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
}

/* --- Fuentes generales --- */
body, .rd-navbar-main {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}



.rd-navbar-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
}

.rd-navbar-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 15px 0;
  width: 100%;
}

/* Logo y texto debajo */
.rd-navbar-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  left: 350px;
  top: 20px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1000;
}

.rd-navbar-brand img {
  height: 90px;
  max-width: 100%;
  margin-bottom: 5px;
}

.rd-navbar-brand div {
  color: red;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 14.5px;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.15);
}

/* --- Navegación principal --- */
.rd-navbar-nav-wrap {
  width: 100%;
  transition: all 0.3s ease;
  margin-top: 40px;
}

.rd-navbar-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.rd-nav-item {
  text-align: center;
  width: 100%;
  border-bottom: 1px solid #f0f0f0;
}

.rd-nav-link {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: #444;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  padding: 18px 30px;
  letter-spacing: 0.03em;
  display: block;
  white-space: normal;
  transition: color 0.3s ease;
}

.rd-nav-link:hover {
  color: #d11c1c;
}

/* --- Mega menú --- */
.mega-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  background: white;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  padding: 30px 60px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1000;
}

.rd-nav-item:hover > .mega-menu {
  display: flex;
}

.mega-menu-column {
  flex: 1 1 300px;
  min-width: 300px;
  padding: 30px 25px;
  overflow: visible;
}

.mega-menu-column:hover {
  background-color: #f8fafc;
  transform: translateY(-5px);
}

.mega-menu-column h4 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #555;
  font-size: 16px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(42, 82, 152, 0.1);
}

.mega-menu-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-menu-column ul li {
  margin-bottom: 8px;
}

.mega-menu-column ul li a {
  display: block;
  padding: 10px 20px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  white-space: normal;
  word-wrap: break-word;
}

.mega-menu-column ul li a:hover {
  color: #aqua;
  background-color: rgba(42, 82, 152, 0.1);
  transform: translateX(5px);
}

/* --- Submenú --- */
.sub-menu {
  display: none;
  padding-left: 15px;
  margin-top: 5px;
  border-left: 2px solid rgba(42, 82, 152, 0.1);
  animation: fadeIn 0.3s ease-out;
  white-space: normal;
}

.sub-menu li {
  margin-bottom: 6px;
}

.sub-menu li a {
  font-size: 13px;
  padding: 8px 15px;
  color: #666;
  display: block;
  white-space: normal;
}

.sub-menu li a:hover {
  color: #2a5298;
  background-color: rgba(42, 82, 152, 0.03);
}

/* --- Animación --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Media Queries --- */
@media (min-width: 992px) {
  .rd-navbar-main {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .rd-navbar-nav {
    flex-direction: row;
    justify-content: center;
  }

  .rd-nav-item {
    width: auto;
    margin: 0 10px;
    border-bottom: none;
  }

  .rd-navbar-brand img {
    height: 100px;
  }
}

/* --- Clases utilitarias --- */
.nav-open .rd-navbar-nav-wrap {
  max-height: 1000px;
}

.menu-visible .mega-menu {
  display: block;
}

.submenu-visible .sub-menu {
  display: block !important;
}







/* ======== SOLO AFECTA MODO CELULAR: logos apilados y mucho más juntos ======== */
@media screen and (max-width: 768px) {

  /* contenedor general: menos padding */
  .headers {
    height: auto !important;
    padding: 6px 0 !important;
    text-align: center !important;
    overflow: visible !important;
  }

  /* fuerza apilado vertical y tamaño compacto */
  .rd-navbar-panel {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;           /* separación muy pequeña */
    margin: 0 auto !important;
    padding: 0 !important;
    line-height: 0 !important;     /* reduce espacios verticales extra */
  }

  /* Cada hijo (logo) ocupa su propio bloque centrado y con ancho controlado */
  .rd-navbar-panel > * {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 360px !important;   /* ajusta si quieres más/menos ancho */
    margin: 0 !important;
    padding: 0 !important;
    height: auto !important;       /* anula alturas fijas en línea */
  }

  /* Imágenes como bloques: quita espacio inline y limita ancho */
  .rd-navbar-panel img {
    display: block !important;
    width: auto !important;
    max-width: 95% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    vertical-align: middle !important;
  }

  /* tamaños específicos (pequeños para celular) */
  .computron-logo img {
    height: 86px !important;       /* ajusta según prefieras */
    max-height: 86px !important;
    margin-left:10px !important;
  }

  .ministerio-logo img {
    height: 200px !important;
    max-height: 300px !important;
  }

  .licencia-etiqueta img {
    height: 80px !important;
    max-height: 80px !important;
  }

  /* Anula el margin-left negativo y cualquier margin-top en móvil */
  .computron-logo, .ministerio-logo, .licencia-etiqueta {
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }

  /* Opcional — reduce aún más la separación sin solapar: ligero negative margin entre elementos */
  .rd-navbar-panel > * + * {
    margin-top: -6px !important; /* prueba: -6px une bastante, pon 0 si se superponen */
  }

  /* Si algún elemento tiene height fijo inline (ej: style="height:220px") lo anulamos */
  .rd-navbar-panel [style*="height"] {
    height: auto !important;
    max-height: none !important;
  }
}



    /* ===== NAVBAR PRINCIPAL ===== */
    .segmento {
      width: 100%;
      background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #f8f9fa 100%);
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      position: sticky;
      top: 0;
      z-index: 1000; /* ← Ajustado: ahora está por DEBAJO de modales */
      transition: all 0.3s ease;
    }

    .rd-navbar-main-element {
      max-width: 1300px;
      margin: 0 auto;
      padding: 0 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }

    .rd-navbar-nav-wrap {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 30px;
      list-style: none;
      margin: 0;
      padding: 0;
      flex-wrap: nowrap;
    }

    /* Ítems */
    .rd-nav-item {
      position: relative;
    }

    .rd-nav-link {
      font-family: 'Poppins', sans-serif;
      font-weight: 500;
      font-size: 15px;
      text-decoration: none;
      color: #fff;
      padding: 12px 0;
      display: block;
      transition: all 0.3s ease;
      position: relative;
    }

    .rd-nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 8px;
      left: 50%;
      background: #c00;
      transition: all 0.3s ease;
      transform: translateX(-50%);
    }

    .rd-nav-link:hover::after,
    .rd-nav-item.active .rd-nav-link::after {
      width: 70%;
    }

    .rd-nav-link:hover,
    .rd-nav-item.active .rd-nav-link {
      color: #c00;
    }

    /* ===== MEGA-MENÚ LIMPIO (sin cuadro redundante) ===== */
    .mega-menu {
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      background: #ffffff; /* Fondo blanco puro */
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); /* Sombra suave, sin capas extra */
      border-radius: 12px;
      padding: 18px 22px;
      min-width: 280px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 1001; /* Solo un poco más que el navbar */
      margin-top: 10px;
      border: none; /* Sin bordes redundantes */
    }

    .rd-nav-item:hover > .mega-menu {
      opacity: 1;
      visibility: visible;
      margin-top: 0;
    }

    .mega-menu-column h4 {
      font-family: 'Poppins', sans-serif;
      font-weight: 600;
      font-size: 13px;
      color: #1a1a1a;
      margin: 0 0 12px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }

    .mega-menu-column ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .mega-menu-column ul li {
      margin-bottom: 8px;
    }

    .mega-menu-column ul li a {
      font-family: 'Open Sans', sans-serif;
      font-size: 14px;
      color: #444;
      text-decoration: none;
      display: block;
      padding: 6px 0;
      transition: all 0.2s ease;
      border-radius: 6px;
      padding-left: 8px;
    }

    .mega-menu-column ul li a:hover {
      color: #c00;
      background: #f8d7da;
      padding-left: 12px;
    }

    /* ===== HAMBURGUESA (Responsive) ===== */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: center;
      gap: 5px;
      cursor: pointer;
      padding: 10px;
      z-index: 1001;
    }

    .hamburger span {
      width: 28px;
      height: 3px;
      background: #fff;
      border-radius: 3px;
      transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
      transform: rotate(45deg) translate(6px, 6px);
    }

    .hamburger.active span:nth-child(2) {
      opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
      transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Mobile Menu */
    @media (max-width: 992px) {
      .hamburger {
        display: flex;
      }

      .rd-navbar-nav-wrap {
        position: fixed;
        top: 0;
        left: -100%;
        width: 320px;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 90px 20px 40px;
        gap: 0;
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        overflow-y: auto;
        box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
        z-index: 1000;
      }

      .rd-navbar-nav-wrap.active {
        left: 0;
      }

      .rd-nav-item {
        width: 100%;
        border-bottom: 1px solid #333;
      }

      .rd-nav-link {
        color: #fff;
        padding: 16px 0;
        font-size: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
      }

      .rd-nav-link::after {
        display: none;
      }

      .rd-nav-link:hover {
        color: #c00;
      }

      .mega-menu {
        position: static;
        transform: none;
        background: transparent;
        box-shadow: none;
        padding: 0;
        margin: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        border-radius: 0;
        margin-top: 0;
      }

      .mega-menu-column h4 {
        color: #ccc;
        font-size: 12px;
        margin: 15px 0 8px;
      }

      .mega-menu-column ul li a {
        color: #ddd;
        padding: 10px 15px;
        font-size: 15px;
        border-radius: 8px;
      }

      .mega-menu-column ul li a:hover {
        background: #c003;
        color: #fff;
        padding-left: 20px;
      }

      .rd-nav-item.active .mega-menu,
      .rd-nav-item.show .mega-menu {
        display: block;
      }

      .rd-nav-link::before {
        content: '▼';
        font-size: 12px;
        transition: transform 0.3s ease;
      }

      .rd-nav-item.show .rd-nav-link::before {
        transform: rotate(180deg);
      }
    }

    @media (max-width: 480px) {
      .rd-navbar-nav-wrap {
        width: 100%;
      }
    }
 
 
 
 
 
 
    /* Estilos del modal - Asegúrate de que no se dupliquen */
    .modal {
        display: none;
        position: fixed;
        z-index: 9999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.4);
        align-items: center;
        justify-content: center;
    }
    
    .modal-content {
        background-color: #fefefe;
        margin: auto;
        padding: 30px;
        border: 1px solid #888;
        width: 90%;
        max-width: 500px;
        text-align: center;
        font-family: 'Open Sans', sans-serif;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        border-radius: 10px;
        position: relative;
        animation: fadeIn 0.3s ease-out;
    }
    
    .close {
        color: #aaa;
        position: absolute;
        top: 15px;
        right: 20px;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .close:hover {
        color: #333;
        transform: scale(1.1);
    }
    
    .modal-content h2 {
        color: #2a5298;
        margin-bottom: 20px;
        font-size: 1.5rem;
    }
    
    .modal-content p {
        color: #555;
        line-height: 1.6;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }




   
            
            
            
          
   


      
        /* Estilos para la franja de contacto */
        .top-contact-bar {
          background-color: #000;
          color: #fff;
          padding: 8px 0;
          font-size: 12px;
        }

        .contact-container {
          max-width: 1200px;
          margin: 0 auto;
          padding: 0 20px;
          display: flex;
          justify-content: space-between;
          align-items: center;
        }

        .contact-info {
          display: flex;
          gap: 20px;
        }

        .contact-item {
          display: flex;
          align-items: center;
          gap: 5px;
        }

        .social-links {
          display: flex;
          gap: 15px;
        }

        .social-links a {
          color: #fff;
          font-size: 14px;
          transition: color 0.3s ease;
        }

        .social-links a:hover {
          color: #2a5298;
        }

        /* Ajustes para el navbar */
        .rd-navbar-main-outer {
          background: linear-gradient(to right, #ffffff 0%, #f9f9f9 100%);
          box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
          border-bottom: 1px solid #eee;
          position: relative;
          z-index: 1000;
          width: 100%;
          margin-top: 0;
          /* Elimina cualquier margen superior */
        }

        .rd-navbar-panel {
          padding: 15px 0 10px 0;
          margin-left:800px;
          /* Reducido el padding superior */
        }

        .rd-navbar-brand {
          top: 15px;
          /* Ajustado para acercar el logo a la franja */
        }

        /* Resto de estilos del navbar (mantener los que ya tenías) */

      
      
     
     
    .whatsapp-float {
      position: fixed;
      bottom: 30px;
      left: 30px;
      z-index: 1000;
      text-decoration: none;
      cursor: pointer;
    }

    .whatsapp-container {
      position: relative;
      width: 60px;
      height: 60px;
      background-color: #25D366;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
      transition: all 0.3s ease;
      animation: float 3s ease-in-out infinite;
    }

    .whatsapp-float:hover .whatsapp-container {
      transform: scale(1.1) rotate(5deg);
      box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-icon {
      width: 30px;
      height: 30px;
      transition: transform 0.3s ease;
      z-index: 2;
    }

    .whatsapp-float:hover .whatsapp-icon {
      transform: scale(1.1);
    }

    .pulse-effect {
      position: absolute;
      width: 100%;
      height: 100%;
      background-color: rgba(37, 211, 102, 0.5);
      border-radius: 50%;
      z-index: 1;
      animation: pulse 2s infinite;
      opacity: 0;
    }

    .tooltip {
      position: absolute;
      left: 70px;
      bottom: 15px;
      background: #333;
      color: white;
      padding: 8px 12px;
      border-radius: 4px;
      font-size: 14px;
      font-family: Arial, sans-serif;
      white-space: nowrap;
      opacity: 0;
      transform: translateX(-10px);
      transition: all 0.3s ease;
      pointer-events: none;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .tooltip::before {
      content: '';
      position: absolute;
      left: -5px;
      top: 50%;
      transform: translateY(-50%);
      width: 0;
      height: 0;
      border-top: 5px solid transparent;
      border-bottom: 5px solid transparent;
      border-right: 5px solid #333;
    }

    .whatsapp-float:hover .tooltip {
      opacity: 1;
      transform: translateX(0);
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-10px);
      }
    }

    @keyframes pulse {
      0% {
        transform: scale(0.8);
        opacity: 0.5;
      }

      70% {
        transform: scale(1.3);
        opacity: 0;
      }

      100% {
        opacity: 0;
      }
    }

      
      
      


    /* Glass effect for modal */
    .glass-effect {
      background: rgba(255, 255, 255, 0.2);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.3);
    }

    /* Premium shadow */
    .premium-shadow {
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    /* Tab styles */
    .tab {
      cursor: pointer;
      padding: 10px 20px;
      margin-right: 5px;
      background-color: #f1f1f1;
      border-radius: 8px 8px 0 0;
      transition: background-color 0.3s;
      font-weight: bold;
    }

    .tab.active {
      background-color: #3B82F6;
      color: white;
    }

    .tab:hover {
      background-color: #d1d1d1;
    }

    /* Teacher card styles */
    .teacher-card {
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .teacher-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

    /* Hide inactive teacher cards */
    .teacher-card.hidden {
      display: none;
    }

    /* Responsive grid */
    .teacher-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
      gap: 1rem;
    }

    /* Parallax effect */
    .parallax {
      background-attachment: fixed;
      background-position: center;
      background-size: cover;
    }

    /* Animation for floating effect */
    @keyframes float {
      0% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
      100% { transform: translateY(0); }
    }

    .animate-float {
      animation: float 3s ease-in-out infinite;
    }

    /* Enhanced subtitle styles */
    .teacher-card h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: #1e3a8a;
      margin-bottom: 0.5rem;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    /* Enhanced unit styles */
    .teacher-card ul {
      list-style-type: disc;
      padding-left: 1.5rem;
      margin-top: 0.75rem;
      color: #4b5563;
    }

    .teacher-card ul li {
      font-size: 0.875rem;
      line-height: 1.5;
      margin-bottom: 0.25rem;
      color: #6b7280;
    }

    .teacher-card ul li::before {
      content: "• ";
      color: #3B82F6;
      font-weight: bold;
      margin-right: 0.25rem;
    }





      .swiper-white-filter::before {
  background: transparent !important;
  background-color: transparent !important;
  opacity: 0 !important;
  content: none !important;
}

      
      
      
      
        /* Animaciones personalizadas */
        @keyframes float {

          0%,
          100% {
            transform: translateY(0);
          }

          50% {
            transform: translateY(-20px);
          }
        }

        @keyframes float-delay {

          0%,
          100% {
            transform: translateY(0);
          }

          50% {
            transform: translateY(15px);
          }
        }

        @keyframes pulse {

          0%,
          100% {
            transform: scale(1);
            opacity: 0.1;
          }

          50% {
            transform: scale(1.1);
            opacity: 0.15;
          }
        }

        .animate-float {
          animation: float 6s ease-in-out infinite;
        }

        .animate-float-delay {
          animation: float-delay 7s ease-in-out infinite;
          animation-delay: 1s;
        }

        .animate-pulse {
          animation: pulse 4s ease-in-out infinite;
        }

        /* Transiciones suaves */
        .section-fade {
          opacity: 0;
          transition: opacity 1s ease-out;
        }

        .section-fade.opacity-100 {
          opacity: 1;
        }

        /* Estilos para el título */
        .heading-decorate {
          position: relative;
          display: inline-block;
        }

        .heading-decorate::after {
          content: '';
          position: absolute;
          bottom: -8px;
          left: 0;
          width: 100%;
          height: 3px;
          background: linear-gradient(90deg, #3B82F6, #8B5CF6);
          transform: scaleX(0);
          transform-origin: left;
          transition: transform 0.5s ease;
        }

        .heading-decorate:hover::after {
          transform: scaleX(1);
        }

        /* Estilos para los botones de swiper */
        .swiper-button-prev,
        .swiper-button-next {
          position: absolute;
          top: 50%;
          width: 40px;
          height: 40px;
          margin-top: -20px;
          z-index: 10;
          cursor: pointer;
          display: flex;
          align-items: center;
          justify-content: center;
          transition: all 0.3s ease;
        }

        .swiper-button-prev {
          left: 10px;
        }

        .swiper-button-next {
          right: 10px;
        }

        .swiper-button-prev:hover,
        .swiper-button-next:hover {
          transform: scale(1.2);
        }

        .swiper-button-prev svg,
        .swiper-button-next svg {
          width: 100%;
          height: 100%;
        }
    
    
    
    
    
        /* Animaciones personalizadas */
        @keyframes float-1 {

          0%,
          100% {
            transform: translateY(0) translateX(0);
          }

          50% {
            transform: translateY(-20px) translateX(10px);
          }
        }

        @keyframes float-2 {

          0%,
          100% {
            transform: translateY(0) translateX(0);
          }

          50% {
            transform: translateY(15px) translateX(-10px);
          }
        }

        @keyframes pulse {

          0%,
          100% {
            transform: scale(1);
            opacity: 0.1;
          }

          50% {
            transform: scale(1.1);
            opacity: 0.15;
          }
        }

        .animate-float-1 {
          animation: float-1 8s ease-in-out infinite;
        }

        .animate-float-2 {
          animation: float-2 9s ease-in-out infinite;
          animation-delay: 1s;
        }

        .animate-pulse {
          animation: pulse 6s ease-in-out infinite;
        }

        /* Estilo para el contenedor de tarjetas */
        #draggable-cards-container {
          min-height: 500px;
          perspective: 1000px;
        }

        .draggable-card {
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          user-select: none;
        }

        .draggable-card:hover:not(:active) {
          transform: translateY(-10px) rotate(var(--rotate, 0deg));
          box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }
     
     
     
     
     
        /* Estilos para las tarjetas */
        .ventaja-card {
          width: 90%;
          max-width: 300px;
          margin: 0 auto;
          border: 1px solid rgba(255, 255, 255, 0.1);
          transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .ventaja-card:hover {
          transform: translateY(-5px);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        }

        /* Animaciones de burbujas */
        .animate-bubble-1 {
          top: 20%;
          left: 5%;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(5px);
          border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .animate-bubble-2 {
          top: 60%;
          right: 5%;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(5px);
          border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .animate-bubble-3 {
          bottom: 20%;
          left: 10%;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(5px);
          border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .animate-bubble-4 {
          top: 30%;
          right: 10%;
          background: rgba(255, 255, 255, 0.1);
          backdrop-filter: blur(5px);
          border: 1px solid rgba(255, 255, 255, 0.2);
        }

        /* Fondo inicial */
        #ventajas-section {
          background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
        }

        /* Media queries para diseño responsivo */
        @media (min-width: 768px) {
          .ventaja-card {
            width: 80%;
            max-width: 280px;
          }
        }
     
     
     
        /* Animación de partículas flotantes */
        .animate-float {
          animation: float 8s ease-in-out infinite;
        }

        .delay-1000 {
          animation-delay: 1s;
        }

        .delay-2000 {
          animation-delay: 2s;
        }

        @keyframes float {

          0%,
          100% {
            transform: translateY(0) translateX(0);
          }

          50% {
            transform: translateY(-20px) translateX(10px);
          }
        }

        /* Animación de brillo */
        .animate-shine {
          animation: shine 8s ease-in-out infinite;
        }

        @keyframes shine {
          0% {
            left: -100%;
          }

          20%,
          100% {
            left: 100%;
          }
        }

        /* Animaciones de entrada */
        .animate-fade-in {
          animation: fadeIn 1.5s ease-out forwards;
        }

        .animate-fade-in-up {
          animation: fadeInUp 1.5s ease-out forwards;
        }

        @keyframes fadeIn {
          from {
            opacity: 0;
          }

          to {
            opacity: 1;
          }
        }

        @keyframes fadeInUp {
          from {
            opacity: 0;
            transform: translateY(20px);
          }

          to {
            opacity: 1;
            transform: translateY(0);
          }
        }

        /* Efecto hover para las tarjetas */
        .career-card:hover .career-title {
          color: #3b82f6;
        }

        /* Transición suave para las imágenes */
        .img-scale {
          transition: transform 0.7s ease;
        }
        /* Animaciones para el slogan-box */
        .slogan-box {
          transition: all 0.5s ease-in-out;
          transform-origin: center;
        }

        .slogan-box:hover {
          transform: scale(1.02);
          box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        /* Animaciones para la imagen */
        .image-container {
          overflow: hidden;
          border-radius: 0.5rem;
        }

        .image-container img {
          transition: all 0.7s ease-in-out;
          transform-origin: center;
        }

        .image-container:hover img {
          transform: scale(1.05);
          filter: brightness(1.02);
        }

        /* Transición suave para el botón */
        .button {
          transition: all 0.3s ease;
        }

        .button:hover {
          transform: translateY(-3px);
          box-shadow: 0 7px 14px rgba(0, 0, 0, 0.2);
        }

        /* Efecto de aparición suave para toda la sección */
        section {
          animation: fadeIn 1s ease-in-out;
        }

        @keyframes fadeIn {
          from {
            opacity: 0;
            transform: translateY(20px);
          }

          to {
            opacity: 1;
            transform: translateY(0);
          }
        }




        @keyframes float {

          0%,
          100% {
            transform: translateY(0) rotate(0deg);
            opacity: 0.7;
          }

          50% {
            transform: translateY(-20px) rotate(10deg);
            opacity: 0.9;
          }
        }

        .animate-float {
          animation: float 6s ease-in-out infinite;
        }

        .delay-500 {
          animation-delay: 0.5s;
        }

        .delay-1000 {
          animation-delay: 1s;
        }
     
     
     
     
     
        @keyframes float {

          0%,
          100% {
            transform: translateY(0);
          }

          50% {
            transform: translateY(-10px);
          }
        }

        /* Efecto de brillo para las tarjetas */
        .magic-card {
          transition: transform 0.3s ease, box-shadow 0.3s ease;
          transform-style: preserve-3d;
          will-change: transform, box-shadow;
        }

        .magic-card::after {
          content: '';
          position: absolute;
          top: 0;
          left: 0;
          right: 0;
          bottom: 0;
          border-radius: 16px;
          background: radial-gradient(circle at center, rgba(255, 255, 255, 0.4), transparent 70%);
          opacity: 0;
          transition: opacity 0.3s ease;
          pointer-events: none;
        }

        .magic-card:hover::after {
          opacity: 0.6;
        }

        /* Efecto de partículas */
        @keyframes particle-float {
          0% {
            transform: translate(0, 0);
            opacity: 1;
          }

          100% {
            transform: translate(var(--tx), var(--ty));
            opacity: 0;
          }
        }
    
    
    
    
    
    
@keyframes floatSphere {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-30px); }
  100% { transform: translateY(0px); }
}

.floating-sphere {
  animation: floatSphere 10s ease-in-out infinite;
}




.map-main-wrapper {
  position: relative;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-width: 1200px;
  margin: 2rem auto;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 245, 255, 0.8));
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  aspect-ratio: 4 / 3; /* Maintains map proportion */
  height: 60vh; /* Responsive height */
  min-height: 400px;
  max-height: 600px;
}

.map-main-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.map-main-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block; /* Prevents extra spacing */
}

.map-decoration-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

/* Carrito animado */
#animated-car {
  position: absolute;
  bottom: 60px;
  left: -120px;
  width: 100px;
  z-index: 30;
  pointer-events: auto;
  animation: floatSphere 12s ease-in-out infinite;
}

#animated-car img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

#animated-car:hover img {
  transform: scale(1.1);
}

.car-light {
  position: absolute;
  bottom: 10px;
  left: 8px;
  width: 6px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.8);
  animation: pulseLight 1.5s ease-in-out infinite;
}

@keyframes pulseLight {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.3);
  }
}

/* Marcador */
.advanced-marker {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 20;
  cursor: pointer;
  pointer-events: auto;
}

.advanced-marker svg {
  fill: #d32f2f;
  filter: drop-shadow(0 3px 8px rgba(211, 47, 47, 0.4));
  transition: transform 0.3s ease;
}

.advanced-marker:hover svg {
  transform: scale(1.2);
}

.marker-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  background: rgba(211, 47, 47, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-50%, -50%) scale(2.5);
    opacity: 0;
  }
}

/* Tarjeta de información */
.info-panel {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(255, 255, 255, 0.95);
  width: 300px;
  max-width: 90%;
  border-radius: 10px;
  padding: 1.25rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6px);
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
  pointer-events: auto;
}

.map-main-wrapper:hover .info-panel {
  transform: translateY(0);
  opacity: 1;
}

.info-panel h3 {
  margin: 0 0 0.75rem;
  color: #1a237e;
  font-size: 1.25rem;
  font-weight: 700;
}

.info-panel p {
  margin: 0 0 1rem;
  color: #37474f;
  font-size: 0.875rem;
  line-height: 1.4;
}

.contact-btn {
  background: linear-gradient(135deg, #3f51b5, #7e57c2);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin: 0 auto;
  transition: box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-btn:hover {
  box-shadow: 0 4px 12px rgba(63, 81, 181, 0.3);
}

.contact-btn svg {
  fill: white;
  margin-right: 0.5rem;
}

.btn-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, #7e57c2, #3f51b5);
  transition: width 0.3s ease;
}

.contact-btn:hover .btn-hover-effect {
  width: 100%;
}

/* Controles del mapa */
.map-controls {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 20;
  pointer-events: auto;
}

.map-controls button {
  width: 32px;
  height: 32px;
  background: white;
  border: none;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.map-controls button:hover {
  background: #f5f5f5;
  transform: scale(1.1);
}

.map-controls svg {
  fill: #1a237e;
}

/* Animación del carrito */
@keyframes floatSphere {
  0% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(60px, 20px);
  }
  50% {
    transform: translate(120px, 0);
  }
  75% {
    transform: translate(60px, -20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Responsividad */
@media (max-width: 768px) {
  .map-main-wrapper {
    min-height: 300px;
    max-height: 400px;
    margin: 1rem;
  }

  .info-panel {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    bottom: 0.5rem;
    padding: 1rem;
  }

  #animated-car {
    width: 80px;
    bottom: 40px;
  }

  .map-controls {
    top: 0.5rem;
    right: 0.5rem;
  }
}





  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mejoras responsive */
  footer {
    min-height: 300px;
    display: flex;
    flex-direction: column;
  }

  footer > div {
    flex: 1;
  }

  /* Ajustes para pantallas grandes */
  @media (min-width: 1024px) {
    footer > div:first-child {
      padding: 120px 20px 40px;
      gap: 30px;
    }

    footer img {
      height: 50px;
    }

    footer h4 {
      font-size: 1rem;
    }

    footer p, footer li {
      font-size: 0.9rem;
    }

    footer form {
      max-width: 280px;
    }
  }

  /* Ajustes para tablets */
  @media (max-width: 1023px) and (min-width: 641px) {
    footer > div:first-child {
      padding: 100px 15px 30px;
      gap: 25px;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    footer img {
      height: 45px;
    }

    footer h4 {
      font-size: 0.95rem;
    }

    footer p, footer li {
      font-size: 0.85rem;
    }

    footer form {
      max-width: 250px;
    }

    footer .fas {
      font-size: 0.8rem;
    }
  }

  /* Ajustes para móviles */
  @media (max-width: 640px) {
    footer > div:first-child {
      padding: 80px 10px 20px;
      gap: 20px;
      grid-template-columns: 1fr;
    }

    footer img {
      height: 40px;
    }

    footer h4 {
      font-size: 0.9rem;
    }

    footer p, footer li {
      font-size: 0.8rem;
    }

    footer form {
      max-width: 220px;
    }

    footer .fas {
      font-size: 0.75rem;
    }

    footer > div:last-child {
      padding: 10px 0;
    }

    footer > div:last-child > div {
      flex-direction: column;
      gap: 8px;
    }
  }

  /* Efectos hover para enlaces del footer */
  footer a:hover {
    color: white !important;
  }

  footer ul li a:hover {
    transform: translateX(5px) !important;
  }

  footer ul li a:hover i {
    transform: translateX(3px) !important;
  }

  /* Efecto hover para botón de newsletter */
  footer form button:hover {
    background: #2667d5 !important;
  }




  .cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050; /* menor que el modal (Bootstrap usa 1055+) */
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 20px 25px;
    display: none;
    max-width: 600px;
    width: calc(100% - 40px);
  }

  .cookie-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }

  .cookie-icon {
    font-size: 38px;
    color: #ffb347;
  }

  .cookie-text {
    flex: 1;
    min-width: 250px;
  }

  .cookie-text h5 {
    margin: 0 0 5px;
    color: #333;
  }

  .cookie-text p {
    margin: 0;
    font-size: 14px;
    color: #555;
  }

  .btn-aceptar {
    background-color: #007bff;
    border: none;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 6px;
  }

  .btn-aceptar:hover {
    background-color: #0056b3;
  }

  @media (max-width: 600px) {
    .cookie-content {
      flex-direction: column;
      text-align: center;
    }
  }