* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Garet', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ===============================================
   HEADER - USADO EN TODAS LAS PÁGINAS
   =============================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 20;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.logo-menu {
  width: 40px;
  height: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.3s ease;
}

.logo-menu:hover {
  transform: scale(1.05);
}

nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

nav ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: all 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  padding: 8px 16px;
  border-radius: 12px;
  position: relative;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  font-size: 1.8em;
  color: #ffffff;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

/* Clases para cambio de color dinámico (estilo Apple) */
header.dark-text {
  background: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(128, 0, 128, 0.1);
}

header.dark-text nav ul li a {
  color: #333333;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

header.dark-text .menu-toggle {
  color: #333333;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

header.dark-text .logo-menu {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* ===============================================
   SECCIÓN HERO - SOLO PARA INDEX.HTML
   =============================================== */

.hero {
  height: 100vh;
  background: linear-gradient(270deg, #2e266d, #800080, #2e266d);
  background-size: 400% 400%;
  animation: gradientMove 20s ease infinite;
  position: relative;
  overflow: hidden;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.x {
  position: absolute;
  opacity: 0.25;
  pointer-events: none;
  transform-origin: center;
  z-index: 0;
}

.center-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  padding: 20px;
  z-index: 5;
}

.center-logo img {
  max-width: 700px;
  width: 80%;
  height: auto;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* ===============================================
   SECCIÓN ESLOGAN - INDEX.HTML
   =============================================== */

.slogan-section {
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.1), rgba(46, 38, 109, 0.1));
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.slogan-container {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

.slogan-container h2 {
  color: #800080;
  font-size: 2em;
  font-weight: bold;
  font-style: italic;
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.5);
}

/* ===============================================
   SECCIÓN VIDEO - INDEX.HTML
   =============================================== */

.about-section {
  background: #f9f9f9;
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1100px;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.about-video {
  width: 100%;
  max-width: 500px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.about-text {
  max-width: 500px;
  text-align: left;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-text h2 {
  color: #800080;
  font-size: 2em;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
}

.about-text p {
  color: #333;
  font-size: 1.1em;
  line-height: 1.6;
}

/* ===============================================
   SECCIÓN REDES SOCIALES - INDEX.HTML
   =============================================== */

.social-section {
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.05), rgba(46, 38, 109, 0.05));
  padding: 60px 20px;
  text-align: center;
}

.social-section h2 {
  color: #800080;
  margin-bottom: 25px;
  font-size: 1.8em;
  text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.social-icons a {
  background: rgba(128, 0, 128, 0.2);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(128, 0, 128, 0.3);
  color: #800080;
  font-size: 1.5em;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(128, 0, 128, 0.2);
}

.social-icons a:hover {
  background: rgba(128, 0, 128, 0.4);
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 24px rgba(128, 0, 128, 0.4);
}

/* ===============================================
   PÁGINA OFERTA EDUCATIVA (oferta.html)
   =============================================== */

/* Body específico para páginas internas */
body:not(:has(.hero)) {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
  min-height: 100vh;
  padding-top: 80px;
}

.convenios-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 40px 20px;
}

.convenios-container h2 {
  text-align: center;
  color: #800080;
  font-size: 2.5em;
  margin-bottom: 50px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  position: relative;
}

.convenios-container h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
  border-radius: 2px;
}

.convenios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

.convenio-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.convenio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.1), rgba(90, 0, 90, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.convenio-card:hover::before {
  opacity: 1;
}

.convenio-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 45px rgba(128, 0, 128, 0.25);
  border-color: rgba(128, 0, 128, 0.3);
}

.convenio-card img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 15px;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}

.convenio-card:hover img {
  transform: scale(1.05);
}

.convenio-card h3 {
  color: #800080;
  font-size: 1.3em;
  margin-bottom: 15px;
  line-height: 1.4;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.convenio-card p {
  color: #555;
  font-size: 1.05em;
  line-height: 1.6;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.convenio-card:nth-child(1) { animation-delay: 0.1s; }
.convenio-card:nth-child(2) { animation-delay: 0.2s; }
.convenio-card:nth-child(3) { animation-delay: 0.3s; }
.convenio-card:nth-child(4) { animation-delay: 0.4s; }
.convenio-card:nth-child(5) { animation-delay: 0.5s; }
.convenio-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===============================================
   FOOTER - USADO EN TODAS LAS PÁGINAS
   =============================================== */

.footer {
  background: rgba(46, 38, 109, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 0.9em;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===============================================
   BOTÓN WHATSAPP - USADO EN TODAS LAS PÁGINAS
   =============================================== */

.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(37, 211, 102, 0.3);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(37, 211, 102, 0.5);
  color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 30;
}

.whatsapp-button:hover {
  transform: scale(1.1) translateY(-5px);
  background: rgba(37, 211, 102, 0.5);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
}

/* ===============================================
   RESPONSIVE DESIGN
   =============================================== */

@media (max-width: 768px) {
  header {
    padding: 12px 20px;
  }

  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    flex-direction: column;
    gap: 0;
    padding: 0;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  }

  header.dark-text nav ul {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(128, 0, 128, 0.1);
  }

  nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  header.dark-text nav ul li {
    border-bottom: 1px solid rgba(128, 0, 128, 0.08);
  }

  nav ul li a {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
  }

  nav ul.active {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .menu-toggle {
    display: block;
  }

  .logo-menu {
    width: 35px;
  }

  .center-logo img {
    width: 90%;
  }

  .slogan-container {
    padding: 30px 20px;
  }

  .slogan-container h2 {
    font-size: 1.5em;
  }

  .about-container {
    flex-direction: column;
    text-align: center;
  }

  .about-text {
    text-align: center;
    padding: 20px;
  }

  .social-icons {
    gap: 15px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
    font-size: 1.3em;
  }

  /* Oferta educativa responsive */
  body:not(:has(.hero)) {
    padding-top: 70px;
  }

  .convenios-container {
    padding: 30px 15px;
  }

  .convenios-container h2 {
    font-size: 1.9em;
    margin-bottom: 35px;
  }

  .convenios {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .convenio-card {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .whatsapp-button {
    width: 55px;
    height: 55px;
    font-size: 1.8em;
    bottom: 15px;
    right: 15px;
  }

  .convenios-container h2 {
    font-size: 1.6em;
  }

  .convenio-card {
    padding: 20px 15px;
  }

  .convenio-card img {
    max-width: 240px;
  }

  .convenio-card h3 {
    font-size: 1.1em;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .about-container {
    gap: 30px;
  }

  .slogan-container {
    padding: 35px;
  }

  .convenios {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}
/* ===============================================
   PÁGINA DOCENTES (docentes.html)
   AGREGAR ESTE CSS AL FINAL DE styles.css
   =============================================== */

.docentes-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eaf6 100%);
  padding: 20px;
  min-height: 100vh;
}

.docentes-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 20px;
}

.docentes-container h2 {
  text-align: center;
  color: #800080;
  font-size: 2.8em;
  margin-bottom: 60px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  position: relative;
  font-weight: bold;
}

.docentes-container h2::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
  border-radius: 2px;
}

/* Grid de docentes */
.docentes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  padding: 20px 0;
}

/* Tarjeta de docente con liquid glass */
.docente-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 35px 25px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.docente-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.08), rgba(90, 0, 90, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.docente-card:hover::before {
  opacity: 1;
}

.docente-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 50px rgba(128, 0, 128, 0.3);
  border-color: rgba(128, 0, 128, 0.4);
}

/* Imagen de docente */
.docente-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  border: 4px solid rgba(128, 0, 128, 0.2);
  box-shadow: 0 6px 20px rgba(128, 0, 128, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.docente-card:hover .docente-img {
  transform: scale(1.1);
  border-color: rgba(128, 0, 128, 0.4);
  box-shadow: 0 8px 30px rgba(128, 0, 128, 0.35);
}

/* Nombre del docente */
.docente-card h3 {
  color: #800080;
  font-size: 1.5em;
  margin-bottom: 10px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

/* Título académico */
.docente-titulo {
  color: #666;
  font-size: 0.95em;
  line-height: 1.5;
  margin-bottom: 20px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* Botón de contactar con liquid glass */
.btn-contactar {
  background: rgba(128, 0, 128, 0.2);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(128, 0, 128, 0.4);
  color: #800080;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 0, 128, 0.2);
  position: relative;
  z-index: 1;
}

.btn-contactar:hover {
  background: rgba(128, 0, 128, 0.35);
  border-color: rgba(128, 0, 128, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(128, 0, 128, 0.35);
  color: #5a005a;
}

.btn-contactar:active {
  transform: translateY(-1px);
}

.btn-contactar i {
  margin-right: 8px;
}

/* Animaciones escalonadas */
.docente-card:nth-child(1) { animation-delay: 0.1s; }
.docente-card:nth-child(2) { animation-delay: 0.15s; }
.docente-card:nth-child(3) { animation-delay: 0.2s; }
.docente-card:nth-child(4) { animation-delay: 0.25s; }
.docente-card:nth-child(5) { animation-delay: 0.3s; }
.docente-card:nth-child(6) { animation-delay: 0.35s; }
.docente-card:nth-child(7) { animation-delay: 0.4s; }

/* ===============================================
   RESPONSIVE DOCENTES
   =============================================== */

@media (max-width: 768px) {
  .docentes-section {
    padding: 15px;
  }

  .docentes-container {
    padding: 30px 15px;
    margin: 30px auto;
  }

  .docentes-container h2 {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .docentes-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .docente-card {
    padding: 30px 20px;
  }

  .docente-img {
    width: 100px;
    height: 100px;
  }

  .docente-card h3 {
    font-size: 1.3em;
  }

  .docente-titulo {
    font-size: 0.9em;
    min-height: auto;
  }

  .btn-contactar {
    padding: 10px 24px;
    font-size: 0.95em;
  }
}

@media (max-width: 480px) {
  .docentes-container h2 {
    font-size: 1.7em;
  }

  .docente-card {
    padding: 25px 15px;
    border-radius: 18px;
  }

  .docente-img {
    width: 90px;
    height: 90px;
  }

  .docente-card h3 {
    font-size: 1.2em;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .docentes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .docentes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===============================================
   PÁGINA CONTACTO (contacto.html)
   AGREGAR ESTE CSS AL FINAL DE styles.css
   =============================================== */

.contacto-container {
  max-width: 1300px;
  margin: 40px auto;
  padding: 40px 20px;
}

.contacto-container > h2 {
  text-align: center;
  color: #800080;
  font-size: 2.5em;
  margin-bottom: 50px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  position: relative;
}

.contacto-container > h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
  border-radius: 2px;
}

/* Grid de contacto */
.contacto-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Tarjeta de administrativos con liquid glass */
.administrativos-card,
.mapa-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out backwards;
}

.administrativos-card {
  animation-delay: 0.1s;
}

.mapa-card {
  animation-delay: 0.2s;
}

.administrativos-card:hover,
.mapa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(128, 0, 128, 0.2);
  border-color: rgba(128, 0, 128, 0.3);
}

.administrativos-card h3,
.mapa-card h3 {
  color: #800080;
  font-size: 1.5em;
  margin-bottom: 25px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.administrativos-card h3 i,
.mapa-card h3 i {
  font-size: 0.9em;
}

/* Lista de administrativos */
.admin-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.admin-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: 1px solid rgba(128, 0, 128, 0.1);
  transition: all 0.3s ease;
}

.admin-list li:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateX(5px);
  border-color: rgba(128, 0, 128, 0.2);
}

.admin-list li img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(128, 0, 128, 0.2);
  box-shadow: 0 4px 12px rgba(128, 0, 128, 0.15);
}

.admin-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.admin-info strong {
  color: #800080;
  font-size: 1.1em;
  font-weight: 700;
}

.admin-info span {
  color: #666;
  font-size: 0.9em;
}

.admin-info a {
  color: #5a005a;
  text-decoration: none;
  font-size: 0.9em;
  transition: color 0.3s ease;
}

.admin-info a:hover {
  color: #800080;
  text-decoration: underline;
}

/* Mapa */
.mapa-iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Formulario con liquid glass */
.formulario-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  animation: fadeInUp 0.6s ease-out backwards;
  animation-delay: 0.3s;
  max-width: 800px;
  margin: 0 auto;
}

.formulario-card h3 {
  color: #800080;
  font-size: 1.6em;
  margin-bottom: 25px;
  font-weight: 700;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid rgba(128, 0, 128, 0.2);
  border-radius: 12px;
  font-size: 1em;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  color: #333;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(128, 0, 128, 0.5);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(128, 0, 128, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Botón enviar con liquid glass */
.btn-enviar {
  width: 100%;
  padding: 15px 30px;
  background: rgba(128, 0, 128, 0.2);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(128, 0, 128, 0.4);
  border-radius: 12px;
  color: #800080;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 0, 128, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-enviar:hover {
  background: rgba(128, 0, 128, 0.35);
  border-color: rgba(128, 0, 128, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(128, 0, 128, 0.3);
  color: #5a005a;
}

.btn-enviar:active {
  transform: translateY(-1px);
}

/* ===============================================
   RESPONSIVE CONTACTO
   =============================================== */

@media (max-width: 768px) {
  .contacto-container {
    padding: 30px 15px;
  }

  .contacto-container > h2 {
    font-size: 1.9em;
    margin-bottom: 35px;
  }

  .contacto-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .administrativos-card,
  .mapa-card,
  .formulario-card {
    padding: 25px 20px;
  }

  .admin-list li {
    flex-direction: column;
    text-align: center;
    padding: 20px 15px;
  }

  .admin-list li img {
    width: 70px;
    height: 70px;
  }

  .admin-info {
    align-items: center;
  }

  .mapa-iframe {
    height: 300px;
  }

  .formulario-card h3 {
    font-size: 1.4em;
  }
}

@media (max-width: 480px) {
  .contacto-container > h2 {
    font-size: 1.6em;
  }

  .administrativos-card h3,
  .mapa-card h3 {
    font-size: 1.3em;
  }

  .formulario-card {
    padding: 20px 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 0.95em;
  }

  .btn-enviar {
    padding: 12px 25px;
    font-size: 1em;
  }

  .mapa-iframe {
    height: 250px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .contacto-grid {
    grid-template-columns: 1fr;
  }

  .mapa-iframe {
    height: 400px;
  }
}

/* ===============================================
   SECCIÓN NUESTROS SERVICIOS
   =============================================== */

.servicios-section {
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.05), rgba(46, 38, 109, 0.05));
  padding: 80px 20px;
}

.servicios-container {
  max-width: 1300px;
  margin: 0 auto;
}

.servicios-container h2 {
  text-align: center;
  color: #800080;
  font-size: 2.5em;
  margin-bottom: 60px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  position: relative;
  font-weight: bold;
}

.servicios-container h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
  border-radius: 2px;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  padding: 20px 0;
}

.servicio-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.servicio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.08), rgba(90, 0, 90, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.servicio-card:hover::before {
  opacity: 1;
}

.servicio-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 50px rgba(128, 0, 128, 0.3);
  border-color: rgba(128, 0, 128, 0.4);
}

.servicio-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(128, 0, 128, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(128, 0, 128, 0.3);
  box-shadow: 0 6px 20px rgba(128, 0, 128, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.servicio-card:hover .servicio-icon {
  transform: scale(1.1) rotateY(360deg);
  background: rgba(128, 0, 128, 0.25);
  border-color: rgba(128, 0, 128, 0.5);
}

.servicio-icon i {
  font-size: 2.2em;
  color: #800080;
  transition: all 0.3s ease;
}

.servicio-card:hover .servicio-icon i {
  color: #5a005a;
}

.servicio-card h3 {
  color: #800080;
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.servicio-card p {
  color: #555;
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 25px;
  min-height: 90px;
  position: relative;
  z-index: 1;
}

.btn-servicio {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(37, 211, 102, 0.2);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(37, 211, 102, 0.4);
  color: #25d366;
  padding: 12px 28px;
  border-radius: 12px;
  font-size: 1.05em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
  position: relative;
  z-index: 1;
}

.btn-servicio:hover {
  background: rgba(37, 211, 102, 0.35);
  border-color: rgba(37, 211, 102, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
  color: #1da851;
}

.btn-servicio i {
  font-size: 1.2em;
}

.servicio-card:nth-child(1) { animation-delay: 0.1s; }
.servicio-card:nth-child(2) { animation-delay: 0.2s; }
.servicio-card:nth-child(3) { animation-delay: 0.3s; }

/* ===============================================
   SECCIÓN NUESTRA HISTORIA
   =============================================== */

.historia-section {
  background: #f9f9f9;
  padding: 80px 20px;
}

.historia-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
}

.historia-texto {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  animation: fadeInLeft 0.8s ease-out;
}

.historia-texto h2 {
  color: #800080;
  font-size: 2.3em;
  margin-bottom: 25px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  font-weight: bold;
}

.historia-texto p {
  color: #444;
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
}

.historia-texto p:last-child {
  margin-bottom: 0;
}

.historia-imagen {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  animation: fadeInRight 0.8s ease-out;
}

.historia-imagen img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(128, 0, 128, 0.25);
  border: 3px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.4s ease;
}

.historia-imagen img:hover {
  transform: scale(1.05);
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===============================================
   SECCIÓN PLATAFORMAS ESCOLARES
   =============================================== */

.plataformas-section {
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.05), rgba(46, 38, 109, 0.05));
  padding: 80px 20px;
}

.plataformas-container {
  max-width: 1100px;
  margin: 0 auto;
}

.plataformas-container h2 {
  text-align: center;
  color: #800080;
  font-size: 2.5em;
  margin-bottom: 60px;
  text-shadow: 0 2px 8px rgba(128, 0, 128, 0.2);
  position: relative;
  font-weight: bold;
}

.plataformas-container h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #800080, transparent);
  border-radius: 2px;
}

.plataformas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.plataforma-card {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(15px) saturate(150%);
  -webkit-backdrop-filter: blur(15px) saturate(150%);
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  padding: 45px 35px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(128, 0, 128, 0.15);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.6s ease-out backwards;
}

.plataforma-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(128, 0, 128, 0.08), rgba(90, 0, 90, 0.04));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.plataforma-card:hover::before {
  opacity: 1;
}

.plataforma-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 15px 50px rgba(128, 0, 128, 0.3);
  border-color: rgba(128, 0, 128, 0.4);
}

.plataforma-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  background: rgba(128, 0, 128, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(128, 0, 128, 0.3);
  box-shadow: 0 6px 20px rgba(128, 0, 128, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.plataforma-card:hover .plataforma-icon {
  transform: scale(1.15) rotate(360deg);
  background: rgba(128, 0, 128, 0.25);
  border-color: rgba(128, 0, 128, 0.5);
}

.plataforma-icon i {
  font-size: 2.5em;
  color: #800080;
  transition: all 0.3s ease;
}

.plataforma-card:hover .plataforma-icon i {
  color: #5a005a;
}

.plataforma-card h3 {
  color: #800080;
  font-size: 1.6em;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.plataforma-card p {
  color: #555;
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 30px;
  min-height: 80px;
  position: relative;
  z-index: 1;
}

.btn-plataforma {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(128, 0, 128, 0.2);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 2px solid rgba(128, 0, 128, 0.4);
  color: #800080;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1.1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(128, 0, 128, 0.2);
  position: relative;
  z-index: 1;
}

.btn-plataforma:hover {
  background: rgba(128, 0, 128, 0.35);
  border-color: rgba(128, 0, 128, 0.6);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(128, 0, 128, 0.35);
  color: #5a005a;
}

.btn-plataforma i {
  font-size: 1.1em;
}

.plataforma-card:nth-child(1) { animation-delay: 0.1s; }
.plataforma-card:nth-child(2) { animation-delay: 0.2s; }

/* ===============================================
   RESPONSIVE - NUEVAS SECCIONES
   =============================================== */

@media (max-width: 768px) {
  .servicios-section,
  .historia-section,
  .plataformas-section {
    padding: 60px 20px;
  }

  .servicios-container h2,
  .plataformas-container h2 {
    font-size: 2em;
    margin-bottom: 40px;
  }

  .servicios-grid,
  .plataformas-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .servicio-card,
  .plataforma-card {
    padding: 30px 25px;
  }

  .servicio-card p,
  .plataforma-card p {
    min-height: auto;
  }

  .historia-container {
    flex-direction: column;
    gap: 30px;
  }

  .historia-texto {
    padding: 30px 25px;
  }

  .historia-texto h2 {
    font-size: 1.9em;
    text-align: center;
  }

  .historia-texto p {
    font-size: 1em;
  }

  .historia-imagen {
    order: -1;
  }
}

@media (max-width: 480px) {
  .servicios-container h2,
  .plataformas-container h2 {
    font-size: 1.7em;
  }

  .servicio-card,
  .plataforma-card {
    padding: 25px 20px;
  }

  .servicio-icon,
  .plataforma-icon {
    width: 70px;
    height: 70px;
  }

  .servicio-icon i,
  .plataforma-icon i {
    font-size: 2em;
  }

  .servicio-card h3,
  .plataforma-card h3 {
    font-size: 1.3em;
  }

  .historia-texto {
    padding: 25px 20px;
  }

  .historia-texto h2 {
    font-size: 1.6em;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .historia-container {
    gap: 40px;
  }

  .plataformas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}