html {
  scroll-behavior: smooth;
}

:root {
    --azul-primary: #1F2A6B;
    --turquesa-accent: #35C8D6;
    --morado-dynamic: #8A4DFF;
    --rosa-cta: #FF5C8A;
    --blanco: #FFFFFF;
    --gris-fondo: #F4F6FC;
    --texto-oscuro: #1A1E36;
    --font-titles: 'Poppins', sans-serif;
    --font-body: 'Montserrat', sans-serif;
}

/* --- Estilos Generales y Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--texto-oscuro);
    background-color: var(--blanco);
    line-height: 1.6;
}
h1, h2, h3, h4 {
    font-family: var(--font-titles);
    color: var(--azul-primary);
}
.section {
    padding: 80px 10%;
}
.bg-light {
    background-color: var(--gris-fondo);
}
.subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: #555;
}
h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.contenedor-logo {
  padding: 15px; /* Espaciado interno para que el logo no toque los bordes */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;  /* Ajusta según el tamaño de tu diseño */
  height: 120px; /* Ajusta según el tamaño de tu diseño */
  border-radius: 8px;
}

.logo-png {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Evita que la imagen se estire o distorsione */
}


/* --- Botones --- */
.btn-primary {
    background-color: var(--rosa-cta);
    color: var(--blanco);
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s;
    display: inline-block;
}
.btn-primary:hover {
    background-color: #e04b75;
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: transparent;
    color: var(--azul-primary);
    border: 2px solid var(--azul-primary);
    padding: 10px 26px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-block;
}
.btn-secondary:hover {
    background-color: var(--azul-primary);
    color: var(--blanco);
}
.w-100 { width: 100%; }

/* --- Navegación --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10%;
    background: var(--blanco);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.logo {
    font-family: var(--font-titles);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--azul-primary);
}
.logo span { color: var(--turquesa-accent); }

/* Modificación para preparar los enlaces a la animación */
.nav-links a {
    text-decoration: none;
    color: var(--azul-primary);
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    display: inline-flex; /* Mantiene las letras en una sola línea horizontal */
}

/* Preparamos los caracteres individuales que creará el JavaScript */
.nav-links a span.letra {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* EFECTO ONDA AL PASAR EL CURSOR */
/* Excluimos el botón "Agendar" (.btn-nav) para que no se desarme su fondo */
.nav-links a:not(.btn-nav):hover span.letra {
    animation: ola-menu 0.5s ease-in-out;
    /* Retraso dinámico para generar el efecto de ola de izquierda a derecha */
    animation-delay: calc(0.04s * var(--i)); 
}

/* Animación de la onda usando tu color morado dinámico */
@keyframes ola-menu {
    0%, 100% {
        transform: translateY(0);
        color: var(--azul-primary);
    }
    50% {
        transform: translateY(-5px); /* Altura de la onda */
        color: var(--morado-dynamic); /* Cambia de color en la cresta */
    }
}

/* Estilos intactos para tu botón Agendar */
.btn-nav {
    background: var(--morado-dynamic);
    color: white !important;
    padding: 8px 18px;
    border-radius: 6px;
}
.btn-nav:hover {
    opacity: 0.9; /* Efecto hover simple para el botón corporativo */
}

.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--azul-primary); cursor: pointer; }

/* --- Hero Section (Comprensión en 10 seg) --- */
.hero {
  background-image: url("https://images.pexels.com/photos/16420458/pexels-photo-16420458.jpeg"); /* Enlace directo de prueba */
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat; 
  width: 100%;
  height: 400px;
}
.hero h1 { color: var(--blanco); font-size: 3.5rem; max-width: 900px; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.2rem; max-width: 650px; margin-bottom: 35px; opacity: 0.9; }
.hero-cta a { margin: 0 10px; }

/* --- Grid de Diseño Escindido --- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }

/* --- Tarjetas Estilo EdTech --- */
.card {
    background: var(--blanco);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04);
    transition: transform 0.3s;
}
.card:hover { transform: translateY(-5px); }
.card-icon { font-size: 2.5rem; color: var(--turquesa-accent); margin-bottom: 15px; }
.flex-row { display: flex; gap: 20px; align-items: center; }
.resource-icon { font-size: 3rem; color: var(--morado-dynamic); }

/*--- Nuestros servicios ---*/
.section-header {
    margin-bottom: 50px;
    text-align: center;
}
.section-subtitle {
    font-size: 1.05rem;
    color: #4A5568;
    max-width: 600px;
    margin: 10px auto 0;
    font-weight: 500;
}

/* ==========================================
  SECCIÓN BLOG DISEÑO ESTILO REVISTA / INFOGRAFÍA (MODAL)
   ========================================== */

/* Fondo oscuro transparente de la revista al activarse */
.revista-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 26, 26, 0.95); /* Fondo oscuro elegante */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 20px;
  box-sizing: border-box;
}

/* Truco CSS mágico: Cuando el enlace coincide con el ID, se muestra la revista */
.revista-modal:target {
  opacity: 1;
  pointer-events: auto;
}

/* Contenedor tipo hoja de revista */
.revista-contenido {
  background-color: #ffffff;
  width: 100%;
  max-width: 950px;
  max-height: 85vh;
  border-radius: 16px;
  padding: 40px;
  overflow-y: auto; /* Permite scroll interno si el texto es largo */
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(30px);
  transition: transform 0.4s ease;
}

.revista-modal:target .revista-contenido {
  transform: translateY(0);
}

/* Botón flotante para cerrar estilo editorial */
.revista-cerrar {
  position: absolute;
  top: 25px;
  right: 40px;
  text-decoration: none;
  color: #e53e3e;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #fed7d7;
  padding: 8px 16px;
  border-radius: 20px;
  background-color: #fff5f5;
  transition: all 0.2s ease;
}

.revista-cerrar:hover {
  background-color: #e53e3e;
  color: #ffffff;
}

/* Encabezado del artículo */
.revista-header {
  border-bottom: 2px solid #edf2f7;
  padding-bottom: 25px;
  margin-bottom: 30px;
  margin-top: 20px;
}

.revista-tag {
  background-color: #007bff;
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.revista-header h1 {
  font-size: 2.5rem;
  color: #1a202c;
  margin: 15px 0 8px 0;
  font-family: 'Playfair Display', Georgia, serif; /* Estilo periodístico */
}

.revista-subtitulo {
  font-size: 1.2rem;
  color: #4a5568;
  font-style: italic;
  margin: 0;
}

/* Disposición de columnas (Revista + Infografía) */
.revista-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr; /* Izquierda texto, derecha infografía */
  gap: 40px;
}

/* Columna de lectura clásica */
.revista-col-principal .revista-destacado {
  font-size: 1.25rem;
  color: #2d3748;
  line-height: 1.6;
  font-weight: 600;
  border-left: 4px solid #007bff;
  padding-left: 15px;
  margin-bottom: 25px;
}

.revista-col-principal p {
  color: #4a5568;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

/* Columna derecha: Recuadro tipo Infografía gráfica */
.revista-col-infografia {
  background-color: #ebf8ff; /* Color de fondo llamativo */
  border-radius: 12px;
  padding: 30px;
  align-self: start;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.02);
}

.revista-col-infografia h3 {
  margin-top: 0;
  color: #2b6cb0;
  font-size: 1.3rem;
  border-bottom: 2px solid rgba(0,0,0,0.05);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* Lista limpia de datos en la infografía */
.info-lista {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-lista li {
  margin-bottom: 18px;
  font-size: 0.95rem;
  color: #2d3748;
  line-height: 1.5;
}

/* Adaptación total para celulares */
@media (max-width: 768px) {
  .revista-layout {
    grid-template-columns: 1fr; /* Se vuelve una sola columna en móviles */
    gap: 25px;
  }
  .revista-contenido {
    padding: 25px;
  }
  .revista-header h1 {
    font-size: 1.8rem;
  }
  .revista-cerrar {
    position: static;
    display: inline-block;
    margin-bottom: 20px;
  }
}
/* ==========================================
   ESTILOS DE ICONOS Y FONDOS DE URGENCIA
   ========================================== */

/* Contenedor de la imagen que ahora aloja al icono */
.blog-img {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Estilo base para cada icono */
.blog-icon {
  font-size: 3.5rem; /* Tamaño grande e impactante */
  color: #ffffff;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Movimiento elástico */
}

/* Efecto dinámico: El icono cobra vida al pasar el cursor */
.blog-card:hover .blog-icon {
  transform: scale(1.25) rotate(5deg); /* Crece y gira sutilmente */
}

/* Fondos con degradados corporativos de alta intensidad */
.img-urgente-1 {
  background-image: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%); /* Rojo/Naranja de acción */
}

.img-urgente-2 {
  background-image: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%); /* Azul ejecutivo profundo */
}

.img-urgente-3 {
  background-image: linear-gradient(135deg, #f12711 0%, #f5af19 100%); /* Fuego / Intensivo extremo */
}

/* Sutil destello de fondo para las tarjetas */
.blog-img::before {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 100%);
  transform: skewX(-25deg);
  transition: 0.75s;
}

.blog-card:hover .blog-img::before {
  left: 125%; /* Destello veloz que cruza la tarjeta */
}





/* ==========================================================================
  CONTENEDOR PRINCIPAL
   ========================================================================== */
.lista-profesional {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px; /* Espaciado moderno entre elementos */
  max-width: 450px; /* Ancho ideal para legibilidad */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
  ESTADO BASE DE CADA ELEMENTO (Sofisticado y limpio)
   ========================================================================== */
.lista-profesional li {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0; /* Borde sutil gris */
  border-radius: 14px; /* Bordes curvos premium modernos */
  position: relative;
  overflow: hidden;
  cursor: pointer;
  
  /* Transición ultra suave de grado cinemático */
  transition: 
    transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    border-color 0.4s cubic-bezier(0.25, 1, 0.5, 1),
    background-color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ==========================================================================
   EFECTO DINÁMICO HOVER (Pulsante, Tridimensional y Enérgico)
   ========================================================================== */
.lista-profesional li:hover {
  background-color: #fcfdff;
  border-color: #93c5fd; /* El borde se ilumina en azul claro */
  
  /* Elevación 3D acentuada hacia el usuario */
  transform: translateY(-6px) scale(1.01); 
  
  /* Sombra de doble capa para simular profundidad realista física */
  box-shadow: 
    0 20px 25px -5px rgba(37, 99, 235, 0.1), 
    0 10px 10px -5px rgba(37, 99, 235, 0.04);
}

/* Destello de fondo sutil al pasar el mouse */
.lista-profesional li::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.02) 0%, transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.lista-profesional li:hover::before {
  opacity: 1;
}

/* ==========================================================================
   EFECTO DE PULSACIÓN (Micro-interacción al hacer clic)
   ========================================================================== */
.lista-profesional li:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
  transition: transform 0.1s ease; /* Respuesta instantánea al clic */
}

/* ==========================================================================
   DISEÑO DINÁMICO DEL ÍCONO (Reacción en cadena)
   ========================================================================== */
.lista-profesional .icono {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-right: 18px;
  background-color: rgba(37, 99, 235, 0.08); /* Fondo azul traslúcido */
  color: #2563eb; /* Azul corporativo vibrante */
  border-radius: 10px; /* Cuadrado suavizado, más moderno que el círculo total */
  font-size: 16px;
  font-weight: bold;
  flex-shrink: 0;
  
  /* Transición propia para animar el ícono de forma independiente */
  transition: 
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), 
    background-color 0.3s ease, 
    color 0.3s ease;
}

/* Al pasar el mouse por la fila, el ícono crece y se vuelve sólido */
.lista-profesional li:hover .icono {
  transform: scale(1.15) rotate(5deg); /* Crece y gira ligeramente */
  background-color: #2563eb; /* Se llena de color azul */
  color: #ffffff; /* El check cambia a blanco */
}

/* ==========================================================================
  DISEÑO DEL TEXTO CONTENIDO
   ========================================================================== */
.lista-profesional .contenido {
  color: #334155; /* Gris pizarra elegante (menos agresivo que el negro puro) */
  font-size: 15px;
  font-weight: 550; /* Peso de fuente intermedio premium */
  line-height: 1.5;
  transition: color 0.3s ease;
}

/* El texto se oscurece ligeramente en hover para denotar enfoque */
.lista-profesional li:hover .contenido {
  color: #0f172a;
}


/* --- TARJETA DE SERVICIO BASE --- */
.card-service {
    position: relative;
    background: var(--blanco);
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Alineación moderna a la izquierda */
    text-align: left;
    box-shadow: 0 10px 30px rgba(31, 42, 107, 0.04);
    border: 1px solid rgba(31, 42, 107, 0.06);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

/* Línea de acento oculta en la parte superior */
.card-service::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: left;
}

/* --- CONTENEDOR DEL ICONO --- */
.card-icon-wrapper {
    width: 65px;
    height: 65px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.card-icon {
    font-size: 1.75rem;
    transition: transform 0.4s ease;
}

/* --- TEXTOS INTERNOS --- */
.card-service h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    color: var(--azul);
    font-weight: 700;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.card-service p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Indicador de flecha de acción (UX de navegabilidad) */
.card-arrow {
    font-size: 1.1rem;
    transform: translateX(0);
    transition: all 0.3s ease;
    margin-top: auto; /* Empuja la flecha siempre al final */
}

/* --- CONFIGURACIONES ESPECÍFICAS DE PALETA DE COLOR --- */

/* 1. Bootcamp (Morado) */
.service-bootcamp::before { background: var(--morado); }
.service-bootcamp .card-icon-wrapper { background: rgba(138, 77, 255, 0.08); }
.service-bootcamp .card-icon { color: var(--morado); }
.service-bootcamp .card-arrow { color: rgba(138, 77, 255, 0.6); }

/* 2. Mentorías (Turquesa) */
.service-mentorship::before { background: var(--turquesa); }
.service-mentorship .card-icon-wrapper { background: rgba(53, 198, 214, 0.08); }
.service-mentorship .card-icon { color: var(--turquesa); }
.service-mentorship .card-arrow { color: rgba(53, 198, 214, 0.6); }

/* 3. Corporativos (Rosa) */
.service-corporate::before { background: var(--rosa); }
.service-corporate .card-icon-wrapper { background: rgba(255, 92, 138, 0.08); }
.service-corporate .card-icon { color: var(--rosa); }
.service-corporate .card-arrow { color: rgba(255, 92, 138, 0.6); }


/* --- ESTADOS INTERACTIVOS (HOVER EFECTOS) --- */
.card-service:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(31, 42, 107, 0.12);
    border-color: rgba(31, 42, 107, 0.12);
}

.card-service:hover::before {
    transform: scaleX(1);
}

/* Comportamiento expandido del icono al hacer Hover */
.service-bootcamp:hover .card-icon-wrapper { background: var(--morado); }
.service-mentorship:hover .card-icon-wrapper { background: var(--turquesa); }
.service-corporate:hover .card-icon-wrapper { background: var(--rosa); }

.card-service:hover .card-icon {
    color: var(--blanco);
    transform: scale(1.1) rotate(-3deg);
}

/* Efecto en la flecha indicativa */
.card-service:hover .card-arrow {
    transform: translateX(6px);
    opacity: 1;
}
.service-bootcamp:hover .card-arrow { color: var(--morado); }
.service-mentorship:hover .card-arrow { color: var(--turquesa); }
.service-corporate:hover .card-arrow { color: var(--rosa); }






.plan-card {
  background: var(--blanco, #ffffff);
  padding: 40px 30px;
  border-radius: 16px;
  border: 2px solid #EAEAEA;
  text-align: center;
  position: relative;
  
  /* MEDIDAS CLAVE PARA RESPONSIVE: */
  width: 100%;            /* Ocupa todo el ancho en celulares */
  max-width: 320px;       /* Evita que la tarjeta se estire demasiado y se vea fea */
  box-sizing: border-box; /* Evita que el padding rompa el tamaño */
}

.plan-card.featured {
  border-color: var(--morado-dynamic);
  box-shadow: 0 12px 32px rgba(138,77,255,0.15);
}

.badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: darkgoldenrod;
  color: black;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap; /* Evita que el texto de la etiqueta se rompa en dos líneas */
}
.price { font-size: 2.5rem; font-weight: 700; color: var(--azul-primary); margin: 20px 0; }
.price span { font-size: 1rem; color: #777; }
.plan-card ul { list-style: none; margin-bottom: 30px; text-align: left; }
.plan-card ul li { margin-bottom: 12px; color: #555; position: relative; padding-left: 20px; }
.plan-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--turquesa-accent); font-weight: bold; }

/* --- Blog Cards --- */
.blog-card { background: var(--blanco); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.05); }
.blog-img { height: 180px; background: var(--azul-primary); opacity: 0.8; }
.blog-info { padding: 20px; }
.blog-info h4 { margin-bottom: 10px; }
.blog-info a { color: var(--turquesa-accent); text-decoration: none; font-weight: 600; }

/* --- FAQ Acordeón --- */
.faq-container { max-width: 700px; margin: 0 auto; }
.faq-item { background: var(--blanco); border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden; }
.faq-question { width: 100%; text-align: left; padding: 20px; background: none; border: none; font-size: 1.05rem; font-weight: 600; color: var(--azul-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; background: var(--gris-fondo); }
.faq-answer p { padding: 20px; color: #555; }
.faq-item.active .faq-answer { max-height: 200px; }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--rosa-cta); }

/* --- Sistema de Calendario y Agenda Automática --- */
.booking-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    background: var(--blanco);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.calendar-box { border-right: 1px solid #EAEAEA; padding-right: 20px; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calendar-header button { background: none; border: none; font-size: 1.2rem; color: var(--azul-primary); cursor: pointer; }
.weekdays { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-weight: 600; color: #777; margin-bottom: 10px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 5px; }.days div { padding: 12px 0; border-radius: 8px; cursor: pointer; font-weight: 500; transition: background 0.2s; }.days div:hover:not(.empty):not(.disabled) { background: var(--gris-fondo); color: var(--morado-dynamic); }.days div.active { background: var(--azul-primary) !important; color: white !important; font-weight: bold; }.days div.disabled { color: #CCC; cursor: not-allowed; }.days div.empty { cursor: default; }.time-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; margin-top: 15px; }.time-slot { background: var(--gris-fondo); padding: 10px; text-align: center; border-radius: 6px; cursor: pointer; font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }.time-slot:hover { background: var(--turquesa-accent); color: white; }.time-slot.selected { background: var(--rosa-cta); color: white; }.select-date-msg { color: #888; text-align: center; grid-column: 1 / -1; font-style: italic; }.booking-form { margin-top: 25px; display: flex; flex-direction: column; gap: 15px; }.booking-form input { padding: 12px; border: 1px solid #CCC; border-radius: 6px; font-family: var(--font-body); }.hidden { display: none !important; }/* --- Formulario de Contacto --- */.contact-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }.general-form { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }.general-form input, .general-form textarea { padding: 14px; border: 1px solid #EAEAEA; background: var(--gris-fondo); border-radius: 8px; font-family: var(--font-body); }/* --- Footer --- */footer { background: var(--azul-primary); color: white; text-align: center; padding: 30px; font-size: 0.9rem; margin-top: 5px; }/* --- WhatsApp Flotante Fijo --- */.whatsapp-btn {position: fixed;bottom: 30px;right: 30px;background-color: #25D366;color: white;width: 60px;height: 60px;border-radius: 50%;display: flex;align-items: center;justify-content: center;font-size: 32px;box-shadow: 0 4px 16px rgba(0,0,0,0.3);z-index: 2000;text-decoration: none;transition: transform 0.2s;}.whatsapp-btn:hover { transform: scale(1.1); }/* --- Diseño Adaptable Móvil (Responsive) --- */@media (max-width: 768px) {.section { padding: 50px 5%; }.hero h1 { font-size: 2.2rem; }.menu-toggle { display: block; }.nav-links { display: none; width: 100%; flex-direction: column; position: absolute; top: 75px; left: 0; background: white; padding: 20px; box-shadow: 0 10px 10px rgba(0,0,0,0.05); }.nav-links.active { display: flex; }.nav-links a { margin: 10px 0; }.booking-container { grid-template-columns: 1fr; }.calendar-box { border-right: none; padding-right: 0; border-bottom: 1px solid #EAEAEA; padding-bottom: 20px; }}

#agenda.section.bg-light {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    padding: 80px 10% !important;
}

/* Fuerza al contenedor del calendario a organizarse en rejilla */
.booking-container {
    display: grid !important;
    grid-template-columns: 1.2fr 0.8fr !important;
    gap: 30px !important;
    background: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Asegura que los días del calendario se dibujen en su cuadrícula */
.days {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 5px !important;
    visibility: visible !important;
}

/* Corrige el comportamiento del formulario para que sea lo único oculto al inicio */
#bookingForm {
    display: flex !important; /* Se organiza verticalmente cuando es visible */
}

#bookingForm.hidden {
    display: none !important; /* Solo se oculta si tiene la clase .hidden */
}

/* Adaptación para celulares */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr !important;
    }
}

/* Aplica el estilo visual a las celdas del calendario */
.days div, .day-num {
    padding: 12px 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s, color 0.2s;
}
.day-num:hover:not(.empty):not(.disabled) {
    background: var(--gris-fondo);
    color: var(--morado-dynamic);
}
.day-num.active {
    background: var(--azul-primary) !important;
    color: white !important;
    font-weight: bold;
}
.day-num.disabled {
    color: #CCC;
    cursor: not-allowed;
    background: #FAFAFA;
}

@media (max-width: 768px) {
    /* Fuerza la aparición del botón ☰ */
    .menu-toggle { 
        display: block !important; 
        font-size: 2rem !important; /* Lo hace más grande y visible */
        color: #1F2A6B !important;  /* Tu azul corporativo */
        cursor: pointer;
        border: none;
        background: none;
    }
    
    /* Estructura del menú desplegable */
    .nav-links { 
        display: none !important; 
        flex-direction: column; 
        position: absolute; 
        top: 70px; 
        left: 0; 
        width: 100%;
        background: #FFFFFF; 
        padding: 20px; 
        box-shadow: 0 10px 15px rgba(0,0,0,0.1); 
        z-index: 9999;
    }
    
    /* Muestra los enlaces cuando JS activa la clase */
    .nav-links.active { 
        display: flex !important; 
    }

    .nav-links a {
        margin: 15px 0 !important;
        font-size: 1.1rem;
        text-align: center;
    }
}
form#bookingForm.hidden { 
    display: none !important; 
}

/* Añade espacio superior a las secciones al usar botones de anclaje */
section {
    scroll-margin-top: 80px; 
}
/* --- CORRECCIÓN DE FUERZA PARA MENÚ DESPLEGABLE --- */
@media (max-width: 768px) {
    /* Cuando NO está activo, se oculta por completo */
    .nav-links {
        display: none !important;
    }

    /* Cuando SÍ está activo, se muestra obligatoriamente en vertical */
    .nav-links.active {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 70px !important;
        left: 0 !important;
        width: 100% !important;
        background: #FFFFFF !important;
        padding: 20px !important;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1) !important;
        z-index: 99999 !important;
    }
}
/* ==========================================================================
   ESTILOS EXCLUSIVOS: SECCIÓN QUIÉNES SOMOS (EDICIÓN PREMIUM)
   ========================================================================== */

/* 1. Contenedor Principal de la Sección */
.about-section {
  padding: 120px 20px;
  /* Fondo premium: Degradado sutil de gris claro a un azul extremadamente limpio y lavado */
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%); 
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* Decoración geométrica de fondo para aportar tecnología */
.about-section::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(15, 32, 67, 0.03) 0%, transparent 70%);
  pointer-events: none;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 2;
}

/* 2. Encabezado de la Sección */
.about-header {
  text-align: center;
  margin-bottom: 70px;
}

.about-header h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #0f2043; /* Azul Zafiro Profundo Corporativo */
  letter-spacing: -0.5px;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

/* Línea decorativa elegante con degradado Oro Premium */
.about-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 4px;
  background: linear-gradient(90deg, #c5a880, #e5c08e); /* Oro Corporativo */
  border-radius: 50px;
}

.about-header .subtitle {
  font-size: 1.25rem;
  color: #5a6b82; /* Gris azulado suave */
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* 3. Grid de Distribución (Responsivo) */
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 45px;
  align-items: stretch; /* Fuerza a que ambas columnas tengan la misma altura */
}

/* 4. Bloque / Tarjeta de Misión */
.mission-box {
  background: #ffffff;
  padding: 55px;
  border-radius: 28px;
  /* Sombra suave multicapa de alta calidad */
  box-shadow: 0 10px 40px -15px rgba(15, 32, 67, 0.05),
              0 2px 4px -1px rgba(15, 32, 67, 0.02);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mission-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(15, 32, 67, 0.12);
}

/* Contenedor del Icono SVG */
.mission-icon {
  width: 60px;
  height: 60px;
  background: #f4f7fa;
  color: #0f2043;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  border: 1px solid rgba(15, 32, 67, 0.05);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mission-box:hover .mission-icon {
  background: #0f2043;
  color: #ffffff;
}

.mission-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor; /* Sigue el color del contenedor padre */
}

.mission-box h3 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f2043;
  margin-bottom: 18px;
}

.mission-box p {
  color: #4a5568;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* 5. Contenedor de Tarjetas Estadísticas */
.stats-container {
  display: grid;
  grid-template-columns: 1fr; 
  gap: 24px;
}

/* Tarjetas Individuales de Estadísticas */
.stat-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 26px;
  box-shadow: 0 10px 40px -15px rgba(15, 32, 67, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.9);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

/* Efecto elegante al pasar el mouse por las estadísticas */
.stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 50px -15px rgba(15, 32, 67, 0.1);
  border-color: #c5a880; /* Cambia al color Oro */
}

.stat-card h4 {
  font-size: 3.8rem;
  font-weight: 800;
  /* Texto degradado con la nueva paleta Azul-Oro */
  background: linear-gradient(135deg, #0f2043 30%, #c5a880 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
  letter-spacing: -1.5px;
}

.stat-card p {
  font-size: 0.9rem;
  color: #718096;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ==========================================================================
   MEDIA QUERIES (ADAPTACIÓN TOTAL A MÓVILES Y TABLETS)
   ========================================================================== */

@media (max-width: 1024px) {
  .about-header h2 { font-size: 2.6rem; }
  .about-grid { gap: 35px; }
  .mission-box { padding: 45px; }
}

@media (max-width: 768px) {
  .about-section { padding: 80px 20px; }
  
  .about-grid {
    grid-template-columns: 1fr; /* Una columna para dispositivos móviles */
    gap: 30px;
  }
  
  .about-header { margin-bottom: 45px; }
  .about-header h2 { font-size: 2.3rem; }
  .about-header .subtitle { font-size: 1.15rem; }
  
  .stats-container {
    grid-template-columns: 1fr 1fr; /* Las estadísticas se alinean una al lado de la otra */
    gap: 20px;
  }
  
  .stat-card { padding: 30px 20px; }
  .stat-card h4 { font-size: 3.2rem; }
}

@media (max-width: 540px) {
  .stats-container {
    grid-template-columns: 1fr; /* Vuelven a apilarse verticalmente en pantallas muy angostas */
  }
  .mission-box { padding: 35px 25px; }
}

#agenda {
  /* 1. Reemplaza las comillas con el link real de tu fotografía o diseño */
  background-image: url("https://media.istockphoto.com/id/1371310881/es/vector/azul-claro-turquesa-color-gradiente-desenfocado-movimiento-borroso-abstracto-fondo-vector.jpg?s=612x612&w=0&k=20&c=5qJyFqrbtnBMm7wk_DbT0r5ix7EUHerzUhcFDN0QX3s=") !important;
  
  /* 2. PROPIEDADES PARA IMAGEN FIJA (NO CUADRÍCULA) */
  background-size: cover;       /* Reajusta y estira la foto para cubrir toda la sección sin deformarse */
  background-position: center;  /* Centra la imagen horizontal y verticalmente */
  background-repeat: no-repeat; /* Evita que la foto se duplique o se vea cortada */
  background-attachment: scroll;/* Permite que la imagen se mueva de manera fluida al hacer scroll */

  /* 3. Espaciado interno para proteger tus textos y calendario */
  padding: 80px 20px; 
}

/* Paleta de colores e importación de tipografía académica */
@import url('https://googleapis.com');

/* Contenedor del recuadro (Folder/Agenda) */
.plan-card {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    /* Estructura de carpeta: Esquinas redondeadas arriba y rectas abajo */
    border: 2px solid #fbcfe8;
    border-bottom: 5px solid #ff5c8a; /* Base de la carpeta más marcada (Rosa Open Mind) */
    border-radius: 0px 20px 16px 16px; 
    padding: 35px 30px 30px 30px;
    width: 300px;
    box-shadow: 0 10px 25px rgba(255, 92, 138, 0.06);
    text-align: center;
    position: relative; /* Obligatorio para posicionar la pestaña */
    margin-top: 30px; /* Espacio para que la pestaña no se corte */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Pestaña superior del Folder / Separador de Agenda */
.plan-card::before {
    content: "PLAN"; /* Texto decorativo sobre la pestaña */
    position: absolute;
    top: -26px; /* La eleva por encima del recuadro */
    left: -2px; /* Alineada al borde izquierdo */
    background-color: #fbcfe8; /* Color de la pestaña (Rosa claro) */
    color: #1f2a6b; /* Texto en contraste (Azul Open Mind) */
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 3px 20px;
    /* Forma de pestaña trapezoidal */
    border-radius: 10px 14px 0px 0px;
    border: 2px solid #fbcfe8;
    border-bottom: none;
}

/* Efecto al pasar el mouse (Hover) */
.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 92, 138, 0.15);
    border-color: #ff5c8a;
}

/* Cambia también el color de la pestaña en el hover */
.plan-card:hover::before {
    background-color: #ff5c8a;
    border-color: #ff5c8a;
    color: #ffffff;
}

/* Título del plan */
.plan-card h3 {
    color: #1f2a6b; /* Azul institucional */
    font-size: 1.6rem;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: 700;
}

/* Sección de precio */
.plan-card .price {
    color: #ff5c8a; /* Rosa vibrante */
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.plan-card .price span {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 400;
}

/* Lista de beneficios */
.plan-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 30px;
}

.plan-card ul li {
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
}

/* Viñeta personalizada (Check académico) */
.plan-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #35c8d6; /* Turquesa para destacar los checks */
    font-weight: bold;
}

/* Botón de acción */
.plan-card .btn-secondary {
    display: inline-block;
    background-color: #1f2a6b; /* Azul para el llamado a la acción */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 50px; /* Botón completamente redondeado y moderno */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    width: 90%;
}

.plan-card .btn-secondary:hover {
    background-color: #8a4dff; /* Cambio a Morado en hover */
    box-shadow: 0 4px 12px rgba(138, 77, 255, 0.3);
}

/* ==========================================================================
ANIMACIONES CONTINUAS (Evitan que el diseño se vea estático o plano)
   ========================================================================== */

/* Efecto Respiración / Pulso Cíclico para capturar la atención */
@keyframes pulsoFluido {
    0% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 92, 138, 0.06); }
    50% { transform: scale(1.015); box-shadow: 0 8px 20px rgba(255, 92, 138, 0.15); }
    100% { transform: scale(1); box-shadow: 0 4px 12px rgba(255, 92, 138, 0.06); }
}

/* Efecto Ráfaga de Luz veloz que cruza diagonalmente */
@keyframes destelloBrillo {
    100% { left: 130%; }
}

/* Levitación constante del icono circular */
@keyframes flotacionIcono {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-4px) scale(1.03); }
    100% { transform: translateY(0) scale(1); }
}


/* --- Estilos del Contenedor de la Sección Completa --- */
#planes.section {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra todo en la pantalla */
  width: 100%;
  padding: 60px 0;
}

#planes h2 {
  text-align: center;
  margin-bottom: 40px; /* Espacio debajo del título principal */
}

/* --- LA CAJA CLAVE: Controla el ancho idéntico de cada bloque --- */
.contenedor-planes-bloque {
  width: 90%;
  max-width: 1100px; /* Límite exacto para computadoras */
  margin: 0 auto 60px auto; /* Centra y separa cada bloque */
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Evita que el último bloque de planes tenga espacio extra abajo */
.contenedor-planes-bloque:last-of-type {
  margin-bottom: 0;
}

/* --- TU CÓDIGO DEL BANNER (Perfectamente Adaptado) --- */
.banner-plan {
  position: relative;
  /* Usamos calc() para descontar cualquier discrepancia de bordes invisibles */
  width: 100% !important; 
  background: linear-gradient(135deg, #D84B74 0%, #FF8DA1 100%);
  color: #FFFFFF;
  padding: 16px 20px; /* Un poco más de aire interno */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px 12px 0 0; /* Esquinas superiores arqueadas */
  overflow: hidden;
  box-shadow: inset 0 -3px 0px rgba(0, 0, 0, 0.15);
  text-align: center;
  box-sizing: border-box !important; /* Obligatorio para que respete el 100% */
}

/* Puedes añadir colores diferentes por clase si lo deseas en el futuro */
.banner-plan.campus-plan {
  /* Ejemplo por si quieres cambiar el degradado de sede: */
  /* background: linear-gradient(135deg, #1B3482 0%, #35C8D6 100%); */
}

/* --- TEXTO DEL BANNER (Tu código) --- */
.banner-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.0rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.3;
  text-transform: uppercase;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

/* --- ICONOS ANIMADOS (Tu código) --- */
.banner-icon-svg {
  width: 28px !important;
  height: 28px !important;
  fill: #FFFFFF !important; 
  filter: drop-shadow(0px 2px 5px rgba(0, 0, 0, 0.2)) !important;
  z-index: 2 !important;
  animation: iconPulse 3s ease-in-out infinite !important;
  transition: transform 0.3s ease, fill 0.3s ease, filter 0.3s ease !important; 
}

.banner-plan:hover .banner-icon-svg {
  fill: #35C8D6 !important;       
  transform: scale(1.25) rotate(8deg); 
  filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.35)) !important; 
}

/* --- ANIMACIÓN BRILLO (Tu código) --- */
.banner-plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 50%;
  background: linear-gradient(
    to right, 
    rgba(255, 255, 255, 0) 0%, 
    rgba(255, 255, 255, 0.4) 50%, 
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  z-index: 1;
  animation: sheenSweep 4s infinite ease-in-out;
}

/* --- LA CUADRÍCULA DE TARJETAS (Alineada por bloque) --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px; /* Espacio entre tarjetas */
  
  width: 100% !important; /* Ocupa exactamente el mismo ancho total del banner */
  box-sizing: border-box !important;
  
  /* IMPORTANTE: Eliminamos cualquier padding horizontal que empuje las tarjetas hacia adentro */
  padding: 24px 0 0 0; 
}

/* Estilo de tus tarjetas para asegurar consistencia visual */
.plan-card {
  box-sizing: border-box;
  width: 100%; /* Cada tarjeta llena su columna del grid al 100% */
}
/* --- LÓGICA DE ANIMACIONES Y TARJETAS (Tu código) --- */
@keyframes sheenSweep {
  0% { left: -150%; }
  30% { left: 150%; }
  100% { left: 150%; }
}

@keyframes banner-icon-svg {
  0%, 100% { transform: translateY(0) scale(1); color: #35C8D6; }
  50% { transform: translateY(-4px) scale(1.08); color: #FFFFFF; filter: drop-shadow(0px 4px 8px rgba(53, 200, 214, 0.6)); }
}

.plan-card h3 {
  margin-top: 15px;
}

/* --- MÓVILES Y RESPONSIVO --- */
@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .contenedor-planes-bloque { width: 95%; } /* Aprovecha un poco más de pantalla en móviles */
}


/* ==========================================================================
CONTENEDOR MIXTO: MAPA + REDES SOCIALES
______-_____-______-____--_____------------  */
.om-media-container {
    display: grid;
    grid-template-columns: 1fr; /* 1 columna nativa para celulares */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 24px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
  1. BLOQUE DE MAPA (Control absoluto de dimensiones)
   ========================================================================== */
.om-map-box {
    width: 100% !important;
    height: 400px; /* Controla la altura fija del mapa desde aquí de forma segura */
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px -15px rgba(31, 42, 107, 0.12);
    border: 1px solid rgba(31, 42, 107, 0.08);
}

/* Fuerza al iframe de Google a estirarse limpiamente sin desbordar */
.om-map-box iframe {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    display: block;
}

/* ==========================================================================
  2. BLOQUE DE REDES (Card Compacta Alineada)
   ========================================================================== */
.om-social-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #FFFFFF;
    padding: 40px;
    border-radius: 24px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px -15px rgba(31, 42, 107, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Línea decorativa superior */
.om-social-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #1F2A6B, #35C8D6);
}

.om-social-box h3 {
    font-family: 'Poppins', sans-serif;
    color: #1F2A6B;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.om-social-box .brand-highlight span {
    color: #35C8D6;
}

.om-social-box p {
    color: #718096;
    margin: 0 0 25px 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================================================
  3. BOTONES DE REDES SOCIALES
   ========================================================================== */
.om-social-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 14px;
    text-decoration: none;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-btn.facebook { background: linear-gradient(135deg, #1877F2 0%, #0A53BE 100%); }
.social-btn.instagram { background: linear-gradient(135deg, #F9CE34 0%, #EE2A7B 50%, #6228D7 100%); }
.social-btn.whatsapp { background: linear-gradient(135deg, #25D366 0%, #128C7E 100%); }

.social-btn:hover {
    transform: scale(1.02) translateY(-2px);
}

/* ==========================================================================
   PUNTO DE QUIEBRE BAJO: LADO A LADO FORZADO (Desde Tabletas pequeñas > 650px)
   ========================================================================== */
@media (min-width: 650px) {
    .om-media-container {
        /* Bloquea la visualización en 2 columnas: 55% para mapa, 45% para redes */
        grid-template-columns: 1.1fr 0.9fr; 
        align-items: stretch; /* Iguala las alturas de ambos contenedores automáticamente */
        gap: 35px;
    }

    .om-map-box {
        height: auto; /* Permite que el mapa crezca a la par de la caja de redes sin romperse */
    }
}




 /* --- ESTILOS DE LA SECCIÓN (FOOTER) --- */
        
/* Acoplamos el contenedor para asegurar máxima prioridad */
div.om-footer-wrapper .site-footer {
    background-color: #1F2A6B !important; /* Forzamos tus colores oficiales */
    color: #FFFFFF !important;
    padding: 25px 0 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    border-top: 4px solid #35C8D6 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
}

div.om-footer-wrapper .footer-content {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

div.om-footer-wrapper .footer-content p {
    margin: 0 !important;
    text-align: center !important;
}

div.om-footer-wrapper .site-footer .brand-name {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

div.om-footer-wrapper .site-footer .brand-name span {
    color: #35C8D6 !important;
}
