/* ==========================================================================
   VARIABLES GLOBALES
   ========================================================================== */
:root {
    --primary: #175241;
    --secondary: #000000;
 --accent: #ffc107;
    
    /* Variables Especiales Estadísticas */
    --main-green: #175241;
    --bg-gradient: linear-gradient(135deg, #175241 0%, #006b35 100%);
    --text-primary: #ffffff;
    --text-secondary: #cbeedd; 
    --accent-glow: #ffffff;    
}

/* ==========================================================================
   RESET CORRIMIENTO
   ========================================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    width: 100% !important;
    margin: 0; padding: 0;
    font-family: 'Poppins', sans-serif;
}

/* ==========================================================================
   1. GALERÍA PRINCIPAL (CARRUSEL)
   ========================================================================== */
.carrusel-item-contenedor {
    position: relative;
    width: 100%;
    height: 550px; /* Altura ideal en pantallas grandes */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #f8f9fa; 
    contain: paint; /* Optimización extra para rendimiento móvil */
}

.carrusel-item-contenedor::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(1.0) opacity(0.85); 
    transform: scale(1.15); /* Aumentado a 1.15 para asegurar que no queden bordes blancos en celulares */
    z-index: 1;
    will-change: transform, filter; /* Suaviza el rendimiento en Safari y Chrome móvil */
}

.img-carrusel {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); 
}

.tarjeta-informacion {
    position: relative;
    z-index: 10; 
    margin-top: -60px; 
    background: #ffffff;
    border-radius: 15px 15px 0 0; 
    padding: 30px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08); 
}

/* Controles personalizados de la Galería */
.custom-nav-icon {
    background-color: var(--primary);
    border-radius: 50%;
    padding: 20px;
    background-size: 60%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.carousel-control-prev:hover .custom-nav-icon,
.carousel-control-next:hover .custom-nav-icon {
    transform: scale(1.1);
    background-color: var(--secondary); 
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--primary);
    margin: 0 5px;
}

/* ==========================================================================
   AJUSTES RESPONSIVE QUIRÚRGICOS (SIN TOCAR TU HTML)
   ========================================================================== */
@media (max-width: 768px) {
    .carrusel-item-contenedor {
        height: 350px; /* Reducimos la altura en celulares para que mantenga proporción estética */
    }
    
    .tarjeta-informacion {
        margin-top: -30px; /* Suavizamos el solapamiento en pantallas chicas */
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .carrusel-item-contenedor {
        height: 280px; /* Ajuste perfecto para pantallas de teléfonos delgados */
    }
}

/* ==========================================================================
   2. BIENVENIDOS & MÁQUINA DE ESCRIBIR PREMIUM
   ========================================================================== */
.welcome-hero-original {
    background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.85)), url('../images/f1.jpg') no-repeat center center/cover;
    padding: 80px 0;
}

.welcome-hero-original .welcome-text {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, #15253D 0%, #2c3e50 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.floating-logo { 
    animation: float 4s ease-in-out infinite; 
}

/* Efecto de Escritura Dinámico */
.maquina-escribir {
    font-size: clamp(1.4rem, 3.8vw, 2.2rem); 
    font-weight: 800;
    color: var(--primary); 
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-top: 15px;
    display: inline-block;
    position: relative;
    text-shadow: 0 4px 12px rgba(0, 143, 71, 0.12); 
    min-height: 3.5rem; 
}

.maquina-escribir::after {
    content: "|";
    margin-left: 5px;
    color: var(--accent); 
    font-weight: 300;
    animation: parpadeoCursor 0.8s infinite;
}

/* ==========================================================================
   3. ESTADÍSTICAS DELGADAS ULTRA COMPACTAS
   ========================================================================== */
.stats-ultra-compact {
    background: var(--bg-gradient);
    padding: 1rem 0; 
    width: 100%;     
    box-shadow: 0 6px 20px rgba(0, 143, 71, 0.25);
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.stats-ultra-compact::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 60%);
    animation: rotateBg 14s linear infinite;
    pointer-events: none;
}

.stat-mini {
    padding: 0.5rem 1rem;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
}

.stat-mini h2 {
    font-size: 2.8rem; 
    font-weight: 900;  
    color: var(--text-primary);
    letter-spacing: -0.5px;
    margin-bottom: 0px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.stat-mini p {
    color: var(--text-secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
}

.stat-mini:hover {
    transform: translateY(-4px) scale(1.05);
}

.stat-mini:hover h2 {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.8), 0 3px 5px rgba(0,0,0,0.4);
}

.divider-stats {
    border: none !important;
}

/* ==========================================================================
   4. SECCIÓN NIVELES ACADÉMICOS (CORREGIDO Y OPTIMIZADO)
   ========================================================================== */
.seccion-niveles-modern {
    position: relative;
    padding: 100px 0;
    background: url('../images/f1.jpg') no-repeat center center fixed;
    background-size: cover;
    overflow: hidden;
}

/* CORRECCIÓN: Fondo verde oscuro translúcido para que las letras blancas resalten de verdad */
.overlay-glass {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(194, 235, 212, 0.353); /* Un verde bosque profundo que da un contraste espectacular */
    z-index: 1;
}

/* Forzar que el contenido se ponga delante del overlay oscuro */
.seccion-niveles-modern .container,
.seccion-niveles-modern .contenido-bloque {
    position: relative;
    z-index: 2;
}

/* Tarjetas */
.card-modern { 
    border-radius: 25px; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    height: 100%; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.card-modern:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}
.img-wrapper { height: 220px; overflow: hidden; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* TÍTULO DE NIVELES AVANZADO */
.header-niveles-premium {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 50px;
}

/* Pre-título en Amarillo Dorado Fijo (#ffc107) */

.header-niveles-premium .pre-titulo {
    color: #000000; 
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: 0.35em;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    margin-bottom: 12px;
    display: block;
    opacity: 0;
    
    /* CORREGIDO: Dejamos solo la animación de entrada suave (fadeInSlideIn) */
    animation: fadeInSlideIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.2s forwards;
}

/* Título Principal Metálico (Ahora perfectamente legible sobre el fondo oscuro) */
.header-niveles-premium .titulo-principal {
    background: linear-gradient(120deg, #175241 30%, #008f48ce 45%, #26d07b 50%, #087940 55%, #175241 70%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: clamp(2.2rem, 7.5vw, 4rem); 
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    margin: 0;
    line-height: 1.1;
    filter: drop-shadow(0 4px 15px rgba(43, 43, 43, 0.436));
    opacity: 0;
    animation: fadeInSlideIn 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s forwards, 
               shineTextEffect 4s linear 1.5s infinite;
}

/* Adornos Inferiores con Colores Fijos */
.adorno-inferior {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 1.5rem; 
    margin-top: 25px; 
    opacity: 0;
    animation: fadeInSimple 1s ease 1s forwards;
}

.adorno-inferior .linea {
    width: clamp(35px, 15vw, 90px); 
    height: 2px;
    background: linear-gradient(to right, transparent 0%, #ffc107 50%, transparent 100%);
    border-radius: 5px; 
    transform: scaleX(0);
    animation: expandLines 1s cubic-bezier(0.25, 1, 0.5, 1) 1.2s forwards;
}

.adorno-inferior i {
    color: #000000; 
    font-size: clamp(1.2rem, 3.5vw, 1.5rem);
    filter: drop-shadow(0 0 10px #ffc107); 
    animation: pulseStar 3s infinite ease-in-out;
}

/* ==========================================================================
   5. SECCIÓN ENLACES DE INTERÉS (FONDO BORROSO RESPONSIVE)
   ========================================================================== */
.enlaces-de-interes-fondo {
    position: relative;
    padding: 80px 0 !important; 
    overflow: hidden; 
    border-top: 1px solid rgba(0,0,0,0.03);
    background-color: #f8f9fa; 
    /* Asegura que nada del escalado interno rompa los márgenes de la página */
    contain: paint; 
}

/* Capa de la imagen de fondo con desenfoque */
.enlaces-de-interes-fondo::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: linear-gradient(rgba(248, 249, 250, 0.6), rgba(186, 192, 4, 0.5)), 
                url('images/enlaces.jpg') no-repeat center center;
    background-size: cover;
    
    /* Efecto óptico */
    filter: blur(8px); 
    transform: scale(1.08); /* Evita las esquinas blancas/transparentes del blur */
    z-index: 1;

    /* OPTIMIZACIÓN MÓVIL CRÍTICA: Fuerza la aceleración por hardware (GPU) */
    will-change: transform, filter;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden; 
}

/* Contenedor del contenido al frente */
.enlaces-de-interes-fondo .container {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   6. MEDIA QUERIES (ADAPTABILIDAD RESPONSIVE)
   ========================================================================== */
@media (max-width: 768px) {
    /* Ajuste de espacios para la sección de enlaces */
    .enlaces-de-interes-fondo {
        padding: 50px 0 !important; 
    }
    
    /* Ajuste de seguridad para las estadísticas compactas si no usas clamp() */
    .stats-ultra-compact h2 {
        font-size: 1.8rem !important; 
    }
}

/* ==========================================================================
   TÍTULO CON LÍNEA ANIMADA INTERACTIVA
   ========================================================================== */
.section-title-main {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Fluido para celulares y PC */
    font-weight: 800;
    color: var(--secondary); /* Tu azul oscuro institucional */
    letter-spacing: -0.5px;
    margin-bottom: 60px !important; /* Espacio para que la línea respire */
    display: inline-block;
}

.section-title-main span {
    position: relative;
    display: inline-block;
    padding-bottom: 15px; /* Separación entre el texto y la línea */
}

/* Diseño de la línea decorativa */
.section-title-main span::after {
    content: "";
    position: absolute;
    bottom: 0; 
    left: 50%; 
    width: 100%; 
    height: 3.5px; /* Grosor elegante */
    
    /* Degradado de la línea: Base verde con centro brillante en amarillo dorado */
    background: linear-gradient(90deg, 
                var(--primary) 0%, 
                var(--accent) 50%, 
                var(--primary) 100%);
    background-size: 200% auto;
    border-radius: 4px;
    
    /* Configuración inicial de la animación */
    transform: translateX(-50%) scaleX(0);
    
    /* Animaciones coordinadas: entrada elástica + destello brillante infinito */
    animation: expandirLinea 1.2s cubic-bezier(0.25, 1, 0.5, 1) 0.3s forwards, 
               brilloLinea 3s linear infinite;
}

/* ==========================================================================
   TARJETAS DE CRISTAL TRANSLÚCIDO (GLASSMORPHISM)
   ========================================================================== */
.enlace-card-animated {
    background: rgba(255, 255, 255, 0.45) !important; 
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;
    padding: clamp(1.8rem, 4vw, 2.6rem) 1.5rem; 
    border-radius: 24px; 
    display: block;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.enlace-card-animated:hover {
    background: rgba(0, 143, 71, 0.92) !important; 
    transform: translateY(-8px); 
    border-color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 20px 35px rgba(0, 143, 71, 0.25) !important; 
}

.icon-rotate { 
    width: 75px; height: 75px; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    margin: 0 auto 20px; font-size: 30px; 
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, color 0.4s ease;
}

.enlace-card-animated:hover .icon-rotate { 
    transform: scale(1.05) rotateY(360deg);
    background: #ffffff !important; 
    color: var(--primary) !important; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.trophy { background: #fff3cd; color: #856404; }
.grad { background: #cfe2ff; color: #084298; }
.mail { background: #f8d7da; color: #8f0005; }

.enlace-card-animated h3 { 
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    color: var(--secondary);
    font-weight: 700; margin: 0;
    transition: color 0.3s ease; 
}

.enlace-card-animated:hover h3 { 
    color: #ffffff !important; 
}

/* ==========================================================================
   ANIMACIONES ESPECÍFICAS DEL TÍTULO
   ========================================================================== */

/* 1. Despliega la línea sutilmente desde el centro */
@keyframes expandirLinea {
    to { transform: translateX(-50%) scaleX(1); }
}

/* 2. Desplaza el destello dorado continuamente */
@keyframes brilloLinea {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}


/* ==========================================================================
   6. TABLÓN DE ANUNCIOS Y COMPONENTES ADICIONALES
   ========================================================================== */
.header-tablon-modern { display: flex; align-items: center; gap: 20px; justify-content: center; }
.tablon-line { flex: 1; height: 2px; background: rgba(0, 143, 71, 1); }
.tablon-pill-red {
    background: var(--primary); color: white; padding: 12px 50px;
    border-radius: 50px; font-weight: 800; text-transform: uppercase;
    font-size: 1.5rem; border-bottom: 4px solid var(--accent); white-space: nowrap;
}

/* Redes Sociales Flotantes */
.social-modern-bar { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 1000; display: flex; flex-direction: column; gap: 10px; }
.social-modern-btn {
    width: 50px; height: 50px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 24px; text-decoration: none; transition: 0.3s;
}
.social-modern-btn:hover { transform: scale(1.1) translateX(-5px); color: white; }
.fb { background: #1877F2; } .ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); } .wa { background: #25D366; }

/* ==========================================================================
   KEYFRAMES / ANIMACIONES
   ========================================================================== */
@keyframes parpadeoCursor { 
    0%, 100% { opacity: 1; } 50% { opacity: 0; } 
}
@keyframes shineTextEffect {
    0% { background-position: 200% center; } 100% { background-position: -200% center; }
}
@keyframes fadeInSlideIn {
    from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); }
}
@keyframes pulseStar {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--accent)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 20px var(--accent)); }
}
@keyframes textShimmerPre {
    0%, 100% { opacity: 1; text-shadow: 0 0 1px var(--accent); }
    50% { opacity: 0.85; text-shadow: 0 0 10px var(--accent); }
}
@keyframes expandLines { to { transform: scaleX(1); } }
@keyframes fadeInSimple { to { opacity: 1; } }
@keyframes rotateBg { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes expandirLinea { to { transform: translateX(-50%) scaleX(1); } }
@keyframes brilloLinea { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 768px) {
    .carrusel-item-contenedor { height: 350px; }
    .tarjeta-informacion { margin-top: -30px; padding: 20px; }
    .stat-mini h2 { font-size: 2.2rem; }
    .stat-mini p { font-size: 0.75rem; }
    .enlace-card-animated:hover { transform: translateY(-4px); }
    .enlace-card-animated { padding: 1.5rem 1rem; }
    .icon-rotate { width: 65px; height: 65px; font-size: 26px; margin-bottom: 12px; }
    .stats-ultra-compact { width: 95%; margin-top: -25px; }
    .tablon-pill-red { font-size: 1.1rem; padding: 10px 30px; }
    .tablon-line { display: none; }
    .social-modern-bar {
        top: auto; bottom: 0; left: 0; right: 0; width: 100%;
        flex-direction: row; transform: none; padding: 10px;
        background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
        justify-content: space-around; border-radius: 20px 20px 0 0;
    }
}

@media (max-width: 480px) {
    .adorno-inferior { gap: 1rem; margin-top: 15px; }
    .stats-ultra-compact { padding: 1.5rem 0; }
    .stats-ultra-compact .row { flex-direction: column; gap: 1.5rem; }
    .stats-ultra-compact .col-4 { width: 100% !important; }
    .maquina-escribir { min-height: 2.8rem; letter-spacing: 0px; }
}

/* ========================================================================== */
/* PORTADA 2026 - cálida, clara y orientada a familias                        */
/* ========================================================================== */
:root {
    --school-green: #175241;
    --school-green-dark: #175241;
    --school-ink: #101f38;
    --school-cream: #fffaf0;
    --school-yellow: #F2C94C;
    --school-blue: #dff1ff;
    --school-pink: #ffe4ec;
}

body { color: var(--school-ink); background: #fff; }
.section-space { padding: clamp(4.5rem, 8vw, 7rem) 0; }

.home-hero {
    position: relative;
    min-height: 660px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(125deg, #effbf3 0%, #fffaf0 55%, #fff3c9 100%);
}
.hero-content { position: relative; z-index: 3; padding-top: 4rem; padding-bottom: 7rem; }
.home-hero h1 {
    max-width: 800px;
    margin: 1.2rem 0 1.4rem;
    color: var(--school-ink);
    font-size: clamp(2.7rem, 6.2vw, 5.1rem);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -.045em;
}
.home-hero h1 span { color: var(--school-green); position: relative; }
.home-hero h1 span::after { content: ''; position: absolute; left: 2%; right: 2%; bottom: -.08em; height: .12em; border-radius: 50%; background: var(--school-yellow); transform: rotate(-1deg); z-index: -1; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: .55rem; padding: .65rem 1rem; border-radius: 999px; color: var(--school-green-dark); background: rgba(255,255,255,.8); border: 1px solid rgba(7,132,71,.15); font-size: .88rem; font-weight: 700; box-shadow: 0 8px 24px rgba(4,92,52,.07); }
.hero-eyebrow i { color: #e2a900; }
.hero-lead { max-width: 680px; font-size: clamp(1.05rem, 1.8vw, 1.25rem); line-height: 1.75; color: #49645a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn-home { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: .92rem 1.35rem; border: 2px solid transparent; border-radius: 14px; font-weight: 700; text-decoration: none; transition: transform .25s, box-shadow .25s, background .25s; }
.btn-home:hover { transform: translateY(-3px); }
.btn-home-primary { background: var(--school-green); color: #fff; box-shadow: 0 12px 26px rgba(7,132,71,.25); }
.btn-home-primary:hover { background: var(--school-green-dark); color: #fff; }
.btn-home-light { background: #fff; color: var(--school-green-dark); border-color: rgba(7,132,71,.15); box-shadow: 0 10px 24px rgba(23,52,42,.09); }
.btn-home-light:hover { color: var(--school-green); box-shadow: 0 14px 28px rgba(23,52,42,.14); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1rem 1.4rem; margin-top: 2rem; color: #49645a; font-size: .88rem; font-weight: 600; }
.hero-trust span { display: inline-flex; gap: .45rem; align-items: center; }
.hero-trust i { color: var(--school-green); }
.hero-visual { width: min(420px, 90vw); aspect-ratio: 1; margin: auto; position: relative; display: grid; place-items: center; }
.hero-gallery-visual { width: min(500px, 94vw); }
.hero-carousel { width: 92%; overflow: hidden; border: 7px solid #fff; border-radius: 30px; background: #e9f2ed; box-shadow: 0 28px 70px rgba(4,92,52,.2); transform: rotate(1.5deg); }
.hero-carousel-slide { position: relative; height: 410px; display: grid; place-items: center; overflow: hidden; background: #e9f2ed; }
.hero-carousel-slide::before { content: ''; position: absolute; inset: -20px; background-image: linear-gradient(rgba(23,52,42,.12),rgba(23,52,42,.12)),var(--bg-image); background-size: cover; background-position: center; filter: blur(18px); transform: scale(1.12); }
.hero-carousel-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.hero-carousel .carousel-control-prev-icon,.hero-carousel .carousel-control-next-icon { width: 2.55rem; height: 2.55rem; border-radius: 50%; background-color: rgba(4,92,52,.9); background-size: 55%; }
.hero-carousel-indicators, .notice-carousel-indicators { z-index: 5; gap: .25rem; }
.hero-carousel-indicators [data-bs-target], .notice-carousel-indicators [data-bs-target] { width: 9px; height: 9px; margin: 0 2px; border: 2px solid #fff; border-radius: 50%; background-color: rgba(255,255,255,.72); opacity: .8; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.hero-carousel-indicators .active, .notice-carousel-indicators .active { width: 25px; border-radius: 999px; background-color: var(--school-yellow); opacity: 1; }
.hero-logo-card { width: 76%; height: 76%; display: grid; place-items: center; background: rgba(255,255,255,.85); border: 7px solid #fff; border-radius: 43% 57% 48% 52% / 55% 42% 58% 45%; box-shadow: 0 28px 70px rgba(4,92,52,.17); transform: rotate(2deg); }
.hero-logo-card img { width: 72%; max-height: 72%; object-fit: contain; animation: none; }
.hero-note { position: absolute; bottom: 5%; left: -2%; display: flex; align-items: center; gap: .65rem; padding: .8rem 1.05rem; border-radius: 14px; background: #fff; color: var(--school-ink); box-shadow: 0 14px 35px rgba(23,52,42,.15); transform: rotate(-3deg); }
.hero-note i { color: #f0b400; font-size: 1.5rem; }
.doodle { position: absolute; font-weight: 900; color: var(--school-yellow); filter: drop-shadow(0 5px 10px rgba(226,169,0,.2)); }
.doodle-star { top: 8%; right: 3%; font-size: 3rem; transform: rotate(14deg); }
.doodle-spark { left: 2%; top: 22%; color: #ff8aac; font-size: 2.4rem; }
.hero-shape { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .55; }
.hero-shape-one { width: 250px; height: 250px; background: #bfead2; left: -100px; bottom: 20px; }
.hero-shape-two { width: 180px; height: 180px; background: #ffe38d; right: -55px; top: 30px; }
.hero-wave { position: absolute; z-index: 2; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; }
.hero-wave path { fill: #fff; }

.quick-links { position: relative; z-index: 5; margin-top: -3rem; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.quick-card { min-width: 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .85rem; padding: 1.15rem; border: 1px solid #e7eee9; border-radius: 18px; background: #fff; color: var(--school-ink); text-decoration: none; box-shadow: 0 12px 35px rgba(23,52,42,.08); transition: transform .25s, box-shadow .25s, border-color .25s; }
.quick-card:hover { color: var(--school-green); border-color: rgba(7,132,71,.3); transform: translateY(-5px); box-shadow: 0 18px 40px rgba(23,52,42,.13); }
.quick-card strong, .quick-card small { display: block; }
.quick-card strong { font-size: .98rem; }
.quick-card small { margin-top: .15rem; color: #71837c; font-size: .72rem; }
.quick-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 13px; font-size: 1.15rem; }
.icon-yellow { background: #fff2bd; color: #9b7000; } .icon-blue { background: var(--school-blue); color: #1670a6; } .icon-pink { background: var(--school-pink); color: #bd4769; } .icon-green { background: #dff5e7; color: var(--school-green); }
.icon-gold { background:#fff0b8; color:#a87300; }
.icon-red { background:#ffe1e2; color:#c8232a; }

.section-heading { max-width: 760px; margin: 0 auto 3rem; }
.section-heading > span { display: block; margin-bottom: .7rem; color: var(--school-green); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-heading h2 { margin-bottom: 1rem; color: var(--school-ink); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; line-height: 1.13; letter-spacing: -.035em; }
.section-heading p { color: #60756d; font-size: 1.05rem; line-height: 1.75; }
.text-link { display: inline-flex; align-items: center; gap: .5rem; color: var(--school-green); font-weight: 800; text-decoration: none; }
.text-link:hover { color: var(--school-green-dark); gap: .8rem; }

.school-life { background: #fff; }
.home-carousel { max-width: 1050px; margin: auto; overflow: hidden; border-radius: 28px; box-shadow: 0 25px 60px rgba(23,52,42,.14); }
.home-slide { position: relative; height: clamp(330px, 55vw, 590px); display: grid; place-items: center; overflow: hidden; background: #edf3ef; }
.home-slide::before { content: ''; position: absolute; inset: -25px; background-image: linear-gradient(rgba(23,52,42,.12), rgba(23,52,42,.12)), var(--slide-image); background-size: cover; background-position: center; filter: blur(18px); transform: scale(1.12); }
.home-slide img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; }
.home-carousel .carousel-control-prev-icon, .home-carousel .carousel-control-next-icon, .notice-card .carousel-control-prev-icon, .notice-card .carousel-control-next-icon { width: 2.8rem; height: 2.8rem; padding: .6rem; border-radius: 50%; background-color: rgba(4,92,52,.88); background-size: 55%; }

.why-us { background: var(--school-cream); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.value-card { padding: 1.7rem; background: #fff; border: 1px solid rgba(23,52,42,.07); border-radius: 22px; box-shadow: 0 12px 30px rgba(23,52,42,.06); }
.value-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 1.15rem; border-radius: 17px; font-size: 1.35rem; }
.value-yellow { background: #fff0b5; color: #956b00; } .value-green { background: #d9f5e5; color: var(--school-green); } .value-blue { background: var(--school-blue); color: #1874a9; } .value-pink { background: var(--school-pink); color: #bd4769; }
.value-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--school-ink); }
.value-card p { margin: 0; color: #687a73; font-size: .9rem; line-height: 1.65; }

.family-info { position: relative; overflow: hidden; background: linear-gradient(145deg,#f2fbf5 0%,#fffdf4 52%,#fff4cf 100%); }
.family-info::before { content: ''; position: absolute; top: -130px; left: -90px; width: 330px; height: 330px; border: 55px solid rgba(7,132,71,.07); border-radius: 50%; }
.family-info::after { content: ''; position: absolute; right: -100px; bottom: -140px; width: 360px; height: 360px; border-radius: 42% 58% 63% 37%; background: rgba(255,212,90,.2); transform: rotate(25deg); }
.family-info > .container { position: relative; z-index: 2; }
.family-info .section-heading::before { content: '✦'; position: absolute; margin-left: -2.3rem; margin-top: .2rem; color: #F2C94C; font-size: 1.6rem; transform: rotate(-12deg); }
.notice-gallery-card, .communications-card { height: 520px; overflow: hidden; border: 1px solid #e7eee9; border-radius: 24px; background: #fff; box-shadow: 0 18px 45px rgba(23,52,42,.1); }
.notice-gallery-card { display: flex; flex-direction: column; }
.notice-gallery-header { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.25rem; border-bottom: 1px solid #eaf0ec; background: linear-gradient(90deg,#fff,#fbfdfb); }
.notice-gallery-header > div { display: flex; align-items: center; gap: .8rem; min-width: 0; }
.notice-gallery-header > div > span { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 14px; color: #fff; background: #e5a900; font-size: 1.15rem; }
.notice-gallery-header h3 { margin: 0 0 .15rem; font-size: 1.05rem; font-weight: 800; }
.notice-gallery-header p { margin: 0; color: #71837c; font-size: .76rem; }
.notice-card { flex: 1; min-height: 0; overflow: hidden; background: #f2f6f3; }
.notice-card .carousel-inner, .notice-card .carousel-item { height: 100%; }
.notice-card img { width: 100%; height: 100%; object-fit: contain; background: #eef3f0; }
.notice-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; background: linear-gradient(145deg,#fbfdfb,#f0f8f3); }
.notice-empty > i { margin-bottom: 1rem; color: #9ab5a4; font-size: 3.4rem; }
.notice-empty h4 { font-size: 1.08rem; font-weight: 800; }
.notice-empty p { max-width: 360px; margin-bottom: 1.25rem; color: #71837c; font-size: .86rem; }
.communications-card { display: flex; flex-direction: column; padding: 1.25rem; }
.communications-header { display: flex; align-items: center; gap: 1rem; padding: .3rem .2rem 1rem; }
.communications-header > span { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 15px; color: #fff; background: var(--school-green); font-size: 1.2rem; }
.communications-header h3 { margin: 0 0 .2rem; font-size: 1.15rem; font-weight: 800; }
.communications-header p { margin: 0; color: #71837c; font-size: .82rem; }
.communications-card iframe { flex: 1; width: 100%; border: 0; border-radius: 14px; background: #f5f7f6; }

.admissions-cta { padding: 1rem 0 6rem; background: #fff; }
.cta-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; padding: clamp(2.2rem, 5vw, 4.3rem); border-radius: 34px; color: #fff; background: radial-gradient(circle at 90% 10%,rgba(245,189,24,.24),transparent 28%),linear-gradient(120deg,#061e49 0%,#175241 58%,#1E6B45 100%); box-shadow: 0 28px 65px rgba(8,43,98,.25); }
.cta-card::before { content: ''; position: absolute; left: -65px; bottom: -105px; width: 260px; height: 260px; border: 42px solid rgba(255,255,255,.06); border-radius: 50%; }
.cta-card::after { content: ''; position: absolute; right: -80px; top: -110px; width: 300px; height: 300px; border: 48px solid rgba(255,212,90,.11); border-radius: 50%; }
.cta-card > * { position: relative; z-index: 1; }
.cta-copy { max-width: 760px; }
.cta-kicker { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff6cf; background: rgba(255,255,255,.11); font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cta-card h2 { max-width: 720px; margin: 1rem 0; font-size: clamp(2rem, 3.7vw, 3.35rem); font-weight: 800; line-height: 1.08; letter-spacing: -.035em; }
.cta-card p { max-width: 680px; margin: 0; color: rgba(255,255,255,.84); font-size: 1.02rem; line-height: 1.7; }
.cta-benefits { display: flex; flex-wrap: wrap; gap: .7rem 1.25rem; margin-top: 1.25rem; }
.cta-benefits span { display: inline-flex; align-items: center; gap: .45rem; color: #e5f8ec; font-size: .86rem; font-weight: 700; }
.cta-benefits i { color: var(--school-yellow); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.btn-home-yellow { color: #17342a; background: var(--school-yellow); box-shadow: 0 12px 25px rgba(17,43,31,.22); }
.btn-home-yellow:hover { color: #17342a; background: #ffe383; box-shadow: 0 16px 30px rgba(17,43,31,.28); }
.btn-home-white { color: var(--school-green-dark); background: #fff; }
.btn-home-white:hover { color: var(--school-green); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn-home-outline { color: #fff; border-color: rgba(255,255,255,.65); }
.btn-home-outline:hover { color: var(--school-green-dark); background: #fff; }
.cta-illustration { width: 220px; flex: 0 0 220px; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: rotate(3deg); }
.cta-icon-ring { width: 180px; height: 180px; display: grid; place-items: center; border: 8px solid rgba(255,255,255,.85); border-radius: 44% 56% 48% 52%; color: var(--school-green-dark); background: var(--school-yellow); box-shadow: 0 22px 40px rgba(0,0,0,.16); font-size: 5rem; }
.cta-illustration > span { padding: .6rem 1rem; border-radius: 12px; color: var(--school-ink); background: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.14); font-weight: 800; transform: rotate(-5deg); }
.cta-decoration { position: absolute; color: var(--school-yellow); line-height: 1; opacity: .9; }
.cta-star { left: 48%; top: 12%; font-size: 1.5rem; transform: rotate(15deg); }
.cta-spark { right: 27%; bottom: 12%; font-size: 2rem; color: #fff; }

@media (max-width: 1100px) { .quick-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 991px) {
    .home-hero { min-height: auto; text-align: center; }
    .hero-content { padding-top: 3.5rem; padding-bottom: 8rem; }
    .hero-eyebrow { font-size: .78rem; }
    .hero-lead, .section-heading.text-start { margin-left: auto; margin-right: auto; }
    .hero-actions, .hero-trust { justify-content: center; }
    .hero-visual { width: min(350px, 82vw); }
    .hero-gallery-visual { width: min(500px, 94vw); }
    .hero-carousel-slide { height: 360px; }
    .why-us .section-heading, .why-us .text-link { text-align: center !important; justify-content: center; }
    .cta-card { flex-direction: column; align-items: flex-start; }
    .cta-illustration { display: none; }
}
@media (max-width: 600px) {
    .section-space { padding: 4rem 0; }
    .home-hero h1 { font-size: 2.65rem; }
    .hero-actions .btn-home { width: 100%; }
    .hero-trust { display: grid; text-align: left; }
    .hero-note { left: 0; font-size: .8rem; }
    .hero-carousel-slide { height: 300px; }
    .quick-links { margin-top: -1.5rem; }
    .quick-grid, .values-grid { grid-template-columns: 1fr; }
    .quick-card { padding: 1rem; }
    .notice-gallery-card, .communications-card { height: 460px; }
    .cta-card { border-radius: 22px; }
    .cta-actions, .cta-actions .btn-home { width: 100%; }
    .cta-card h2 { font-size: 2.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Identidad infantil Pablo Sexto */
:root{--school-green:#175241;--school-yellow:#F2C94C;--school-dark:#175241}.pablo-sexto-mascotas{position:absolute;z-index:5;right:-7%;bottom:-8%;width:min(55%,290px);height:auto;pointer-events:none;filter:drop-shadow(0 14px 12px rgba(22,124,164,.18))}@media(max-width:575px){.pablo-sexto-mascotas{width:42%;right:-3%;bottom:-4%}}

/* pablo-sexto-header-refresh: identidad oficial azul y amarillo */
:root{--rg-blue:#175241;--rg-blue-deep:#175241;--rg-yellow:#F2C94C;--rg-ink:#073e57}
.contact-bar{background:var(--rg-blue-deep)!important}.contact-bar .contact-item i{color:var(--rg-yellow)!important}.contact-bar .contact-item a:hover{color:var(--rg-yellow)!important}
header{box-shadow:0 8px 28px rgba(8,105,143,.12)!important}.school-brand> a,.school-brand-copy strong{color:var(--rg-ink)!important}.school-brand-copy b{color:var(--rg-blue-deep)!important}.school-brand-copy small{color:#39718a!important}.school-brand-shield{border-color:rgba(40,176,229,.28)!important;box-shadow:0 8px 20px rgba(40,176,229,.15)!important}
.search-container input[type="search"]{border-color:#bce8f8!important;background-color:#f4fcff!important}.search-container input[type="search"]:focus{border-color:var(--rg-blue)!important;box-shadow:0 0 0 4px rgba(40,176,229,.16)!important}.btn-inscripciones{background:var(--rg-blue-deep)!important;box-shadow:0 8px 18px rgba(8,105,143,.22)!important}.btn-inscripciones:hover{background:var(--rg-blue)!important;color:#fff!important}.btn-webcolegios{border-color:#ccebf7!important}
nav{background:linear-gradient(90deg,var(--rg-blue-deep),var(--rg-blue) 52%,#1597ca)!important}.menu-toggle{background:var(--rg-blue-deep)!important}#menu>li>a::after{background:var(--rg-yellow)!important}#menu>li:first-child>a,#menu>li>a:hover{background:rgba(255,255,255,.16)!important}#menu>li:first-child>a i,#menu>li>a:hover i{color:var(--rg-yellow)!important}#menu ul{border-top-color:var(--rg-yellow)!important}#menu ul li a:hover{background:#effaff!important;color:var(--rg-blue-deep)!important}#menu ul li a i{color:var(--rg-blue)!important}
.main-footer{background:var(--rg-blue-deep)!important}.footer-wave-container path{fill:var(--rg-blue-deep)!important}.footer-title::after,.footer-contact i,.footer-links i{color:var(--rg-yellow)!important;background:var(--rg-yellow)!important}.floating-social-tab::before{background:var(--rg-blue-deep)!important}.floating-social-tab:focus-visible{outline-color:var(--rg-yellow)!important}
/* pablo-sexto-shield-colors: tonos extraídos del escudo cargado por el colegio */
:root{--rg-cyan:#175241;--rg-yellow:#F2C94C;--rg-red:#09A954;--rg-green:#128B46;--rg-blue-deep:#175241}
.school-brand-shield{border-color:var(--rg-cyan)!important;background:#fff!important}.school-brand-copy b{color:var(--rg-green)!important}.school-brand-copy strong{color:var(--rg-blue-deep)!important}.btn-inscripciones{background:var(--rg-red)!important;box-shadow:0 8px 18px rgba(233,39,45,.22)!important}.btn-inscripciones:hover{background:#c61f25!important}.contact-bar .contact-item i,#menu>li>a::after{color:var(--rg-yellow)!important;background-color:var(--rg-yellow)!important}.hero-eyebrow i,.hero-note i{color:var(--rg-red)!important}.hero-shape-two{background:rgba(18,139,70,.12)!important}.hero-carousel{box-shadow:14px 16px 0 rgba(40,176,229,.16),0 25px 55px rgba(8,105,143,.18)!important}
/* Niveles académicos Pablo Sexto */
.academic-levels{background:linear-gradient(145deg,#f4fcff 0%,#fff 50%,#fffdf0 100%)}.academic-levels .section-heading{max-width:720px;margin:0 auto 2.3rem}.academic-levels-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem;max-width:920px;margin:auto}.academic-level-card{position:relative;min-height:310px;padding:1.7rem 1.8rem;border:1px solid #cdeefa;border-radius:28px;background:#fff;box-shadow:0 15px 35px rgba(8,105,143,.1);overflow:hidden}.academic-level-card::after{content:'';position:absolute;right:-40px;bottom:-50px;width:150px;height:150px;border-radius:50%;background:rgba(40,176,229,.1)}.academic-primary{border-color:#f3e58b}.academic-primary::after{background:rgba(244,225,29,.2)}.academic-level-title{display:flex;align-items:center;height:82px;margin-bottom:1.1rem}.academic-level-title img{display:block;max-width:100%;max-height:76px;width:auto;height:auto;object-fit:contain}.academic-level-card p{position:relative;z-index:1;max-width:390px;color:#4c6875;line-height:1.72}.academic-level-card ul{position:relative;z-index:1;display:grid;gap:.45rem;margin:1.15rem 0 1.45rem;padding:0;list-style:none;color:#0b627f;font-size:.9rem;font-weight:700}.academic-level-card li{display:flex;gap:.45rem;align-items:center}.academic-level-card li i{color:#1E6B45;font-size:1.05rem}.academic-primary li i{color:#d1b900}.academic-level-card a{position:relative;z-index:1;display:inline-flex;align-items:center;gap:.4rem;color:#087fae;font-weight:800;text-decoration:none}.academic-level-card a:hover{color:#09A954}.academic-level-card a i{transition:transform .2s}.academic-level-card a:hover i{transform:translateX(4px)}@media(max-width:700px){.academic-levels-grid{grid-template-columns:1fr}.academic-level-card{min-height:0;padding:1.4rem;border-radius:22px}.academic-level-title{height:68px}.academic-level-title img{max-height:64px}}
/* academic-levels-background: bloque destacado de niveles en el inicio */
.academic-levels{position:relative;overflow:hidden;background:radial-gradient(circle at 10% 18%,rgba(244,225,29,.34),transparent 18%),radial-gradient(circle at 91% 78%,rgba(40,176,229,.19),transparent 26%),linear-gradient(135deg,#eefdff 0%,#fff 49%,#fffbed 100%)!important}.academic-levels::before,.academic-levels::after{content:'';position:absolute;z-index:0;border-radius:50%;pointer-events:none}.academic-levels::before{top:-105px;right:-95px;width:290px;height:290px;border:38px solid rgba(40,176,229,.12)}.academic-levels::after{bottom:-105px;left:-105px;width:260px;height:260px;border:35px solid rgba(244,225,29,.18)}.academic-levels>.container{position:relative;z-index:1}.academic-levels .section-heading h2{color:#175241!important}.academic-level-card{border-width:2px!important;box-shadow:0 16px 34px rgba(8,105,143,.12)!important}.academic-level-card:hover{transform:translateY(-7px);transition:transform .25s ease,box-shadow .25s ease;box-shadow:0 23px 42px rgba(8,105,143,.18)!important}.academic-level-card::before{content:'✦';position:absolute;right:18px;top:12px;color:#F2C94C;font-size:1.8rem}.academic-primary::before{color:#175241}.academic-level-title img{filter:drop-shadow(0 5px 0 rgba(8,105,143,.12))}.academic-level-card a{padding:.65rem .95rem;border-radius:999px;background:#eafbff}.academic-primary a{background:#fff9d8}.academic-level-card a:hover{color:#fff;background:#175241}
/* img1 se muestra por fuera del carrusel, al costado inferior de la galería. */
.hero-side-img1{position:absolute;z-index:6;right:-36px;bottom:-52px;width:158px;max-width:36%;height:auto;pointer-events:none;filter:drop-shadow(0 12px 12px rgba(8,105,143,.2));transform:rotate(2deg)}@media(max-width:575px){.hero-side-img1{right:-12px;bottom:-30px;width:112px;max-width:34%}.hero-note{max-width:68%}}
/* pablo-sexto-admissions-button-polish */
.btn-home-primary,.btn-home-yellow{position:relative;isolation:isolate;overflow:hidden;min-height:54px;padding:12px 20px!important;border-radius:17px!important;font-size:.95rem!important;font-weight:850!important;letter-spacing:-.01em;box-shadow:0 12px 24px rgba(8,105,143,.18)!important;transition:transform .22s ease,box-shadow .22s ease,background .22s ease!important}.btn-home-primary{color:#fff!important;background:linear-gradient(135deg,#09A954,#c71928)!important;border:1px solid rgba(255,255,255,.28)!important}.btn-home-primary::after{content:'';position:absolute;z-index:-1;right:-25px;top:-32px;width:85px;height:85px;border-radius:50%;background:rgba(244,225,29,.35)}.btn-home-primary i,.btn-home-yellow i{display:grid;place-items:center;width:29px;height:29px;margin-left:-5px;border-radius:10px;background:rgba(255,255,255,.2);font-size:1rem}.btn-home-primary:hover{color:#fff!important;background:linear-gradient(135deg,#fa3b42,#d61728)!important;box-shadow:0 17px 30px rgba(201,25,40,.28)!important;transform:translateY(-4px) scale(1.015)!important}.btn-home-yellow{color:#075a7c!important;background:linear-gradient(135deg,#F2C94C,#ffe96f)!important;border:1px solid rgba(8,105,143,.12)!important}.btn-home-yellow i{background:rgba(8,105,143,.12)}.btn-home-yellow:hover{color:#fff!important;background:linear-gradient(135deg,#0b8fbe,#175241)!important;box-shadow:0 17px 30px rgba(8,105,143,.25)!important;transform:translateY(-4px) scale(1.015)!important}.btn-home-yellow:hover i{background:rgba(255,255,255,.17)}
.adm-btn{position:relative;min-height:55px;padding:12px 20px!important;border-radius:17px!important;font-size:.96rem!important;letter-spacing:-.01em;overflow:hidden;box-shadow:0 12px 25px rgba(5,51,72,.2)!important}.adm-btn i{display:grid;place-items:center;width:28px;height:28px;border-radius:10px;background:rgba(255,255,255,.24)}.adm-btn-gold{color:#07516e!important;background:linear-gradient(135deg,#F2C94C,#ffe96a)!important;border-color:rgba(255,255,255,.34)!important}.adm-btn-gold::after{content:'';position:absolute;right:-25px;top:-32px;width:82px;height:82px;border-radius:50%;background:rgba(255,255,255,.28)}.adm-btn-gold:hover{color:#fff!important;background:linear-gradient(135deg,#09A954,#c71928)!important;box-shadow:0 17px 30px rgba(201,25,40,.28)!important;transform:translateY(-4px) scale(1.015)!important}.adm-btn-outline{border-color:rgba(255,255,255,.8)!important;background:rgba(255,255,255,.13)!important;backdrop-filter:blur(8px)}.adm-btn-outline:hover{color:#175241!important;background:#fff!important;box-shadow:0 17px 30px rgba(5,51,72,.19)!important;transform:translateY(-4px) scale(1.015)!important}.admissions-cta .adm-btn{box-shadow:0 10px 22px rgba(3,54,74,.18)!important}
@media(max-width:575px){.btn-home-primary,.btn-home-yellow,.adm-btn{min-height:51px;width:100%;justify-content:center}.hero-actions .adm-btn{width:100%}}
/* pablo-sexto-six-quick-buttons */
.quick-links{margin-top:-42px!important}.quick-grid{gap:15px!important}.quick-card{position:relative;min-height:104px;padding:1rem 1.05rem!important;overflow:hidden;border:1px solid #cbeaf6!important;border-top:0!important;border-radius:20px!important;background:linear-gradient(145deg,#fff,#f5fcff)!important;box-shadow:0 12px 28px rgba(8,105,143,.11)!important;transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease!important}.quick-card::before{content:'';position:absolute;left:0;right:0;top:0;height:6px;background:#175241}.quick-card::after{content:'';position:absolute;right:-25px;bottom:-35px;width:90px;height:90px;border-radius:50%;background:rgba(40,176,229,.1);transition:transform .3s}.quick-card:nth-child(2){border-color:#f3e58b!important;background:linear-gradient(145deg,#fffef9,#fffbea)!important}.quick-card:nth-child(2)::before{background:#F2C94C}.quick-card:nth-child(2)::after{background:rgba(244,225,29,.19)}.quick-card:nth-child(3){border-color:#f3c7ca!important;background:linear-gradient(145deg,#fff,#fff4f4)!important}.quick-card:nth-child(3)::before{background:#09A954}.quick-card:nth-child(3)::after{background:rgba(233,39,45,.1)}.quick-card:nth-child(4){border-color:#bde7d0!important;background:linear-gradient(145deg,#fff,#f2fcf6)!important}.quick-card:nth-child(4)::before{background:#128b46}.quick-card:nth-child(4)::after{background:rgba(18,139,70,.1)}.quick-card:nth-child(5)::before{background:#09A954}.quick-card:nth-child(6)::before{background:#F2C94C}.quick-card:hover{color:#175241!important;transform:translateY(-6px)!important;border-color:#74cde9!important;box-shadow:0 20px 35px rgba(8,105,143,.18)!important}.quick-card:hover::after{transform:scale(1.25)}.quick-card>span:nth-child(2){position:relative;z-index:1}.quick-card strong{color:#075878!important;font-size:.93rem!important}.quick-card small{color:#638091!important;font-size:.73rem!important}.quick-card>i:last-child{position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;border-radius:50%;color:#fff!important;background:#175241;font-size:.9rem!important;transition:transform .2s,background .2s}.quick-card:nth-child(2)>i:last-child,.quick-card:nth-child(6)>i:last-child{color:#755f00!important;background:#F2C94C}.quick-card:nth-child(3)>i:last-child,.quick-card:nth-child(5)>i:last-child{background:#09A954}.quick-card:nth-child(4)>i:last-child{background:#128b46}.quick-card:hover>i:last-child{transform:translateX(4px)}.quick-icon{position:relative;z-index:1;width:48px!important;height:48px!important;border-radius:15px!important;background:#e4f8ff!important;color:#175241!important;box-shadow:inset 0 0 0 1px rgba(40,176,229,.17)}.quick-card:nth-child(2) .quick-icon,.quick-card:nth-child(6) .quick-icon{background:#fff7ca!important;color:#b29200!important}.quick-card:nth-child(3) .quick-icon,.quick-card:nth-child(5) .quick-icon{background:#ffeaeb!important;color:#df2530!important}.quick-card:nth-child(4) .quick-icon{background:#e5f8ed!important;color:#128b46!important}@media(max-width:991px){.quick-links{margin-top:-20px!important}}@media(max-width:575px){.quick-card{min-height:88px}.quick-grid{gap:11px!important}}
/* pablo-sexto-contact-icons-fix */
.contact-container{align-items:center!important}.contact-bar .contact-item{align-items:center!important}.contact-bar .contact-item i{display:inline-grid!important;place-items:center!important;width:20px!important;height:20px!important;flex:0 0 20px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#F2C94C!important;font-size:1rem!important;line-height:1!important}.contact-bar .contact-item a{display:inline-block!important}.footer-contact i,.footer-links i{display:inline-grid!important;place-items:center!important;width:21px!important;height:21px!important;flex:0 0 21px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#F2C94C!important;font-size:1rem!important;line-height:1!important}.footer-contact li{align-items:center!important}.footer-links a{gap:.3rem!important}.footer-title::after{background:#F2C94C!important}@media(max-width:650px){.contact-container{justify-content:flex-start!important}.contact-bar .contact-item{font-size:.72rem!important}.footer-contact li{align-items:flex-start!important}}
/* pablo-sexto-palette: capa final basada en el escudo institucional */
:root{--school-green:#00A63C!important;--school-green-dark:#007A2C!important;--school-yellow:#35C979!important;--school-dark:#102B3A!important;--school-blue:#09A954!important;--school-blue-deep:#175241!important;--school-sky:#DFF8FD!important;--school-red:#09A954!important;--rg-blue:#09A954!important;--rg-blue-deep:#175241!important;--rg-cyan:#35C979!important;--rg-yellow:#35C979!important;--rg-red:#09A954!important;--primary:#09A954!important;--secondary:#102B3A!important;--accent:#09A954!important}
header nav,#menu,.main-footer{background:#175241!important}.main-header{background:#fff!important}.contact-bar{background:#f4fdff!important;border-bottom-color:#bcecf5!important}.contact-bar .contact-item,.contact-bar a{color:#07566d!important}.school-brand-shield{border-color:#35C979!important;box-shadow:0 8px 0 rgba(0,169,214,.2)!important}.school-brand-copy b,.footer-school-name{color:#09A954!important}.school-brand-copy strong{color:#175241!important}.btn-inscripciones,.btn-home-primary,.adm-btn-gold{background:#09A954!important;color:#fff!important}.btn-webcolegios,.btn-home-secondary{border-color:#09A954!important;color:#175241!important}.home-hero{background:radial-gradient(circle at 8% 12%,rgba(0,197,232,.2),transparent 22%),radial-gradient(circle at 94% 78%,rgba(0,166,60,.14),transparent 27%),linear-gradient(135deg,#effcff 0%,#fff 54%,#effcf4 100%)!important}.home-hero h1{color:#102B3A!important}.home-hero h1 span{color:#09A954!important}.hero-eyebrow,.hero-trust{color:#175241!important}.hero-eyebrow i,.hero-trust i{color:#09A954!important}.page-title,.hero-section,.inst-hero,.page-hero,.hero-banner,.map-hero,.hero-news,.eg-hero{background:radial-gradient(circle at 86% 16%,rgba(255,211,78,.34),transparent 24%),linear-gradient(125deg,#175241,#09A954 60%,#00A63C)!important}.floating-social-tab::before{background:#09A954!important}.floating-social-tab:focus-visible{outline-color:#35C979!important}.institutional-links-bar{background:linear-gradient(135deg,#effcff 0%,#fff 52%,#effcf4 100%)!important}

/* Paleta institucional unificada en todas las paginas. */
:root{--brand-cyan:#09A954;--brand-cyan-light:#35C979;--brand-blue:#175241;--brand-red:#09A954;--brand-green:#00A63C;--brand-yellow:#35C979;--brand-ink:#102B3A;--brand-surface:#F4FCFE;--brand-border:#CBEAF3;--eg-cyan:#09A954!important;--eg-blue:#175241!important;--eg-yellow:#35C979!important;--eg-red:#09A954!important;--eg-ink:#102B3A!important;--ra-cyan:#09A954!important;--ra-blue:#175241!important;--ra-yellow:#35C979!important;--ra-red:#09A954!important;--ra-green:#00A63C!important;--ra-ink:#102B3A!important}
html,body{color:var(--brand-ink);background:var(--brand-surface)}
a{color:var(--brand-blue)}a:hover{color:var(--brand-red)}
header nav,#menu,.main-footer,.menu-toggle{background:var(--brand-blue)!important}
.footer-wave-container path{fill:var(--brand-blue)!important}
.main-header{background:#fff!important}.contact-bar{background:#F2FCFF!important;border-bottom:1px solid #BDEAF5!important}
.school-brand-copy strong{color:var(--brand-blue)!important}.school-brand-copy b{color:var(--brand-red)!important}.school-brand-copy small{color:#397184!important}
.school-brand-shield,.footer-logo{border-color:var(--brand-cyan-light)!important;background:#fff!important}
.btn-inscripciones,.btn-home-primary,.adm-btn-gold,.cta-button,.submit-btn,.page-button{color:#fff!important;background:var(--brand-red)!important;border-color:var(--brand-red)!important}
.btn-inscripciones:hover,.btn-home-primary:hover,.adm-btn-gold:hover,.cta-button:hover,.submit-btn:hover,.page-button:hover{color:#fff!important;background:#CB182A!important;border-color:#CB182A!important}
.btn-home-yellow{color:#5C4C00!important;background:var(--brand-yellow)!important;border-color:#E9C22F!important}.btn-home-yellow:hover{color:#fff!important;background:var(--brand-blue)!important;border-color:var(--brand-blue)!important}
.page-title,.hero-section,.inst-hero,.page-hero,.hero-banner,.map-hero,.hero-news,.eg-hero,.academic-hero,.admissions-hero,.gallery-hero,.service-hero,.offer-hero{background-color:var(--brand-blue)!important;background-image:linear-gradient(125deg,rgba(23,82,65,.92),rgba(9,169,84,.84) 60%,rgba(0,166,60,.82)),url('images/f1.jpg')!important;background-position:center!important;background-size:cover!important;background-repeat:no-repeat!important}
.page-title h1,.hero-section h1,.inst-hero h1,.page-hero h1,.hero-banner h1,.map-hero h1,.hero-news h1,.eg-hero h1,.academic-hero h1,.admissions-hero h1,.gallery-hero h1,.service-hero h1,.offer-hero h1,.page-title h1 span,.hero-section h1 span,.inst-hero h1 span,.page-hero h1 span,.hero-banner h1 span,.map-hero h1 span,.hero-news h1 span,.hero-news h1 strong,.eg-hero h1 span,.academic-hero h1 span,.admissions-hero h1 span,.gallery-hero h1 span,.service-hero h1 span,.offer-hero h1 span{color:#fff!important}
.history-chip,.page-chip,.academic-chip,.eg-chip,.admissions-chip,.gallery-chip,.service-chip{border-color:rgba(255,255,255,.38)!important;background:rgba(255,255,255,.12)!important}
.history-chip i,.page-chip i,.academic-chip i,.eg-chip i,.admissions-chip i,.gallery-chip i,.service-chip i{color:var(--brand-yellow)!important}
.section-header h2,.section-heading h2,.content-section h2,.history-intro h2,.page-card h2,.service-card h2,.map-card h2,.level-content h2{color:var(--brand-blue)!important}
.section-header .icon-mark,.section-title::after,.footer-title::after{background:var(--brand-red)!important}
.history-intro-icon,.page-icon,.service-icon,.map-icon,.gallery-icon{color:#fff!important;background:var(--brand-cyan)!important}
.glass-card,.content-section,.page-card,.service-card,.map-card,.level-card,.eg-card,.academic-intro,.admissions-card,.gallery-card{border-color:var(--brand-border)!important;background:#fff!important;box-shadow:0 18px 42px rgba(0,127,168,.1)!important}
.history-intro,.eg-intro,.admissions-intro,.gallery-intro{border-color:#D6EFF6!important;background:#F2FCFF!important}
.iframe-wrapper,.eg-frame,.service-frame,.page-frame{border-color:var(--brand-border)!important;background:#fff!important}
.quick-card::before,.level-card::before{background:var(--brand-cyan)!important}.quick-card:nth-child(3)::before,.quick-card:nth-child(5)::before{background:var(--brand-red)!important}.quick-card:nth-child(4)::before{background:var(--brand-green)!important}.quick-card:nth-child(2)::before,.quick-card:nth-child(6)::before{background:var(--brand-yellow)!important}
.quick-icon{color:var(--brand-blue)!important;background:#E4F8FD!important}
.footer-title::after,.footer-contact i,.footer-links i{color:var(--brand-yellow)!important}
.main-footer .footer-school-name{color:#fff!important}
.institutional-links-bar{background:#F2FCFF!important}.institutional-links-kicker{color:var(--brand-red)!important;border-color:#AEE5F2!important}.institutional-links-heading h2{color:var(--brand-blue)!important}
input:focus,select:focus,textarea:focus{border-color:var(--brand-cyan)!important;box-shadow:0 0 0 4px rgba(0,169,214,.15)!important}
::selection{color:#fff;background:var(--brand-red)}

/* Preescolar protagonista: presentación visual por niveles. */
.academic-preschool{isolation:isolate;min-height:355px;padding:1.45rem 1.8rem 1.75rem!important;border:3px solid #35C979!important;background:radial-gradient(circle at 88% 18%,rgba(255,211,78,.72),transparent 28%),radial-gradient(circle at 8% 92%,rgba(242,31,53,.13),transparent 25%),linear-gradient(145deg,#fff 0%,#eafcff 62%,#fff8cf 100%)!important;box-shadow:0 22px 48px rgba(0,169,214,.23),0 7px 0 rgba(255,211,78,.8)!important;transform:translateY(-10px)}
.academic-preschool:hover{transform:translateY(-17px) rotate(-.25deg)!important;box-shadow:0 30px 58px rgba(0,169,214,.29),0 8px 0 #35C979!important}
.academic-preschool::before{content:'✦  ✦'!important;right:22px!important;top:14px!important;color:#09A954!important;font-size:1.3rem!important;letter-spacing:.35rem;animation:preschoolSparkle 2.4s ease-in-out infinite}
.academic-preschool::after{right:-48px!important;bottom:-55px!important;width:190px!important;height:190px!important;background:rgba(0,197,232,.14)!important}
.academic-feature-badge{position:relative;z-index:3;display:inline-flex;align-items:center;gap:.4rem;margin-bottom:.55rem;padding:.43rem .75rem;border-radius:999px;color:#fff;background:linear-gradient(135deg,#09A954,#ff5364);box-shadow:0 8px 16px rgba(242,31,53,.22);font-size:.68rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.academic-feature-badge i{color:#35C979}
.academic-preschool .academic-level-title{position:relative;z-index:3;width:58%;height:76px;margin-bottom:.6rem}
.academic-preschool .academic-level-title img{max-height:72px;filter:drop-shadow(0 7px 0 rgba(0,127,168,.16))}
.academic-preschool-mascots{position:absolute;z-index:2;top:48px;right:-13px;width:47%;max-height:155px;object-fit:contain;filter:drop-shadow(0 12px 10px rgba(0,127,168,.18));transform:rotate(2deg)}
.academic-preschool p{position:relative;z-index:3;width:59%;margin-top:.25rem;color:#315b6c;font-weight:600}
.academic-preschool ul{width:100%;margin-top:1.35rem;color:#175241}
.academic-preschool li i{color:#09A954!important}
.academic-preschool a{color:#fff!important;background:linear-gradient(135deg,#09A954,#e31845)!important;box-shadow:0 10px 20px rgba(242,31,53,.22)}
.academic-preschool a:hover{background:linear-gradient(135deg,#175241,#09A954)!important}
@keyframes preschoolSparkle{50%{opacity:.45;transform:scale(.88) rotate(8deg)}}
@media(max-width:700px){.academic-preschool{min-height:365px;transform:none}.academic-preschool:hover{transform:translateY(-7px)!important}.academic-preschool-mascots{top:55px;right:-8px;width:48%}.academic-preschool .academic-level-title{width:62%}.academic-preschool p{width:58%}}
@media(prefers-reduced-motion:reduce){.academic-preschool::before{animation:none}}

/* Niveles académicos: imagen, nivel, descripción y enlace. */
.academic-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:2rem;max-width:1080px}
.academic-level-card,.academic-preschool,.academic-primary{display:flex;min-height:0;padding:0!important;flex-direction:column;border:1px solid #D6EAF0!important;border-radius:8px!important;background:#fff!important;box-shadow:0 10px 28px rgba(0,127,168,.11)!important;transform:none;overflow:hidden}
.academic-level-card::before,.academic-level-card::after{display:none!important}
.academic-level-card:hover,.academic-preschool:hover{transform:translateY(-8px)!important;box-shadow:0 20px 42px rgba(0,127,168,.18)!important}
.academic-level-media{position:relative;height:245px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#EDF8FB}
.academic-level-media>img{display:block;width:100%;height:100%;object-fit:cover}
.academic-preschool{border:2px solid #09A954!important;box-shadow:0 15px 36px rgba(0,169,214,.2),0 5px 0 #35C979!important}
.academic-preschool-media{background:radial-gradient(circle at 20% 20%,rgba(255,255,255,.9),transparent 19%),radial-gradient(circle at 85% 18%,rgba(255,211,78,.8),transparent 26%),linear-gradient(145deg,#DDF9FF,#FFF4B7)}
.academic-preschool-media>img{width:92%;height:92%;object-fit:contain;filter:drop-shadow(0 14px 13px rgba(0,127,168,.18))}
.academic-primary-media>img{object-position:center}
.academic-feature-badge{position:absolute;z-index:3;top:14px;left:14px;margin:0}
.academic-level-content{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:1.55rem 1.6rem 1.7rem}
.academic-level-content .academic-level-title{width:auto;height:64px;margin:0 0 .75rem}
.academic-level-content .academic-level-title img{max-height:60px}
.academic-level-content p,.academic-preschool .academic-level-content p{width:auto;max-width:none;margin:0 0 1.3rem;color:#526B78;font-weight:400;line-height:1.72}
.academic-level-content a,.academic-preschool .academic-level-content a{margin-top:auto;padding:.62rem 1rem;border-radius:4px;color:#fff!important;background:#175241!important;box-shadow:none}
.academic-preschool .academic-level-content a{background:#09A954!important}
.academic-level-content a:hover,.academic-preschool .academic-level-content a:hover{color:#102B3A!important;background:#35C979!important}
@media(max-width:700px){.academic-levels-grid{grid-template-columns:1fr;gap:1.4rem}.academic-level-card,.academic-preschool{min-height:0;transform:none}.academic-level-media{height:220px}.academic-level-content{padding:1.3rem}.academic-preschool .academic-level-content p{width:auto}}

/* Tarjetas de niveles según la referencia visual aprobada. */
.academic-levels{padding-top:5rem!important;padding-bottom:5rem!important;background:#F5F7FA!important}
.academic-levels::before,.academic-levels::after{display:none!important}
.academic-levels .section-heading{max-width:760px;margin-bottom:3rem}
.academic-levels .section-heading>span{color:#09A954!important;font-size:.72rem;font-weight:900;letter-spacing:.18em;text-transform:uppercase}
.academic-levels .section-heading h2{margin:.55rem 0 .75rem;color:#175241!important;font-size:clamp(2.35rem,5vw,3.6rem);font-weight:900;letter-spacing:-.045em}
.academic-levels .section-heading p{max-width:690px;margin:auto;color:#567078;font-size:1.05rem;line-height:1.65}
.academic-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.4rem;max-width:900px;margin-left:auto;margin-right:auto}
.academic-level-card,.academic-preschool,.academic-primary{border:1px solid #DCE5EC!important;border-radius:23px!important;background:#fff!important;box-shadow:0 12px 30px rgba(20,55,86,.09)!important}
.academic-preschool{box-shadow:0 16px 36px rgba(0,128,196,.15),0 5px 0 #35C979!important}
.academic-level-top{position:relative;height:170px;display:flex;align-items:center;justify-content:center;overflow:hidden;background:radial-gradient(circle at 82% 18%,rgba(255,211,78,.25),transparent 24%),linear-gradient(135deg,#175241,#09A954)}
.academic-primary .academic-level-top{background:radial-gradient(circle at 82% 18%,rgba(255,255,255,.22),transparent 24%),linear-gradient(135deg,#00A63C,#00C566)}
.academic-secondary .academic-level-top{background:radial-gradient(circle at 82% 18%,rgba(255,211,78,.2),transparent 24%),linear-gradient(135deg,#09A954,#CB182A)}
.academic-level-icon{position:relative;z-index:2;width:82px;height:82px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.32);border-radius:25px;color:#fff;background:rgba(255,255,255,.13);font-size:2.05rem;backdrop-filter:blur(7px)}
.academic-level-kicker{position:absolute;z-index:3;left:16px;bottom:15px;display:inline-flex;align-items:center;gap:.42rem;padding:.48rem .8rem;border-radius:999px;color:#102B3A;background:#35C979;font-size:.68rem;font-weight:900;letter-spacing:.04em;text-transform:uppercase}
.academic-level-mascots{display:none}
.academic-level-body{display:flex;flex:1;flex-direction:column;padding:1.3rem 1.35rem 1.45rem}
.academic-level-body h3{margin:0 0 .7rem;color:#12223B;font-size:1.45rem;font-weight:900;letter-spacing:-.025em}
.academic-grade-pills{display:flex;flex-wrap:wrap;gap:.45rem;margin-bottom:1rem}
.academic-grade-pills span{display:grid;min-width:31px;height:31px;padding:0 .55rem;place-items:center;border-radius:999px;color:#174E9A;background:#EDF7FC;font-size:.76rem;font-weight:900}
.academic-level-body p,.academic-preschool .academic-level-body p{width:auto;max-width:none;margin:0 0 1.05rem;color:#58708D;font-weight:400;line-height:1.65}
.academic-level-body ul{display:grid;width:100%;gap:0;margin:auto 0 0;padding:0;list-style:none;color:#58708D}
.academic-level-body li{display:flex;align-items:flex-start;gap:.5rem;padding:.65rem 0;border-top:1px solid #E6EDF2;font-size:.88rem;line-height:1.4}
.academic-level-body li i{margin-top:.12rem;color:#EF2B42!important;font-size:.84rem}
.academic-levels-cta{max-width:900px;margin:1.5rem auto 0;padding:1.4rem 1.55rem;display:flex;align-items:center;justify-content:space-between;gap:1.25rem;border-radius:21px;color:#fff;background:linear-gradient(115deg,#175241,#09A954);box-shadow:0 14px 30px rgba(0,127,168,.17)}
.academic-levels-cta h3{margin:0 0 .25rem;color:#fff;font-size:1.35rem;font-weight:900}.academic-levels-cta p{max-width:520px;margin:0;color:rgba(255,255,255,.9);font-size:.88rem;line-height:1.55}
.academic-levels-cta-actions{display:flex;flex:0 0 auto;gap:.65rem}.academic-levels-cta-actions a{display:inline-flex;align-items:center;gap:.45rem;padding:.75rem .95rem;border:2px solid #fff;border-radius:13px;font-size:.82rem;font-weight:900;text-decoration:none;white-space:nowrap;box-shadow:0 8px 18px rgba(16,43,58,.22)}.academic-cta-register{color:#fff;background:#09A954}.academic-cta-whatsapp{color:#fff;background:#00A63C}.academic-levels-cta-actions a:hover,.academic-levels-cta-actions a:focus-visible{color:#102B3A;background:#fff;border-color:#F2C94C;transform:translateY(-2px);outline:3px solid rgba(242,201,76,.4);outline-offset:2px}
@media(max-width:991px){.academic-levels-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.academic-secondary{grid-column:1/-1;width:min(100%,590px);justify-self:center}}
@media(max-width:700px){.academic-levels{padding:3.7rem 0!important}.academic-levels .section-heading{margin-bottom:2rem}.academic-levels .section-heading h2{font-size:2.35rem}.academic-levels-grid{grid-template-columns:1fr}.academic-secondary{grid-column:auto;width:100%}.academic-level-top{height:160px}.academic-levels-cta{align-items:flex-start;flex-direction:column}.academic-levels-cta-actions{width:100%;flex-direction:column}.academic-levels-cta-actions a{justify-content:center}.academic-level-mascots{width:125px}}

/* Información para familias: mayor contraste y protagonismo visual. */
.family-info{position:relative;isolation:isolate;padding:5.5rem 0 6rem!important;background:radial-gradient(circle at 8% 12%,rgba(0,197,232,.2),transparent 23%),radial-gradient(circle at 94% 88%,rgba(255,211,78,.42),transparent 26%),linear-gradient(135deg,#EAFBFF 0%,#fff 48%,#FFF9DE 100%)!important;border-top:1px solid #CDEDF5;border-bottom:1px solid #D7EEF4}
.family-info::before{top:-120px;left:-115px;width:320px;height:320px;border:48px solid rgba(0,169,214,.12)!important;background:transparent!important}
.family-info::after{right:-85px;bottom:-125px;width:300px;height:300px;border:42px solid rgba(255,211,78,.24);border-radius:50%;background:transparent!important}
.family-info>.container{position:relative;z-index:2}
.family-info .section-heading{max-width:780px;margin:0 auto 3.2rem}
.family-info .section-heading::before{display:none!important}
.family-info .section-heading>span{display:inline-flex;align-items:center;gap:.45rem;margin-bottom:.55rem;padding:.45rem .85rem;border:1px solid rgba(242,31,53,.18);border-radius:999px;color:#09A954!important;background:#fff;box-shadow:0 7px 18px rgba(0,127,168,.1);font-size:.73rem;font-weight:900;letter-spacing:.16em;text-transform:uppercase}
.family-info .section-heading>span::before{content:'✦';color:#35C979;font-size:1rem}
.family-info .section-heading h2{position:relative;display:inline-block;margin:0;color:#175241!important;font-size:clamp(2.5rem,5vw,4rem);font-weight:950;line-height:1.04;letter-spacing:-.045em;text-shadow:0 4px 0 rgba(0,169,214,.08)}
.family-info .section-heading h2::after{content:'';position:absolute;left:16%;right:16%;bottom:-14px;height:6px;border-radius:999px;background:linear-gradient(90deg,#09A954,#35C979,#09A954)}
.family-info .row{--bs-gutter-x:1.6rem}
.notice-gallery-card,.communications-card{position:relative;height:560px!important;border:1px solid #C9E8F1!important;border-radius:27px!important;background:#fff!important;box-shadow:0 24px 55px rgba(0,127,168,.16),0 6px 0 rgba(0,169,214,.08)!important;transition:transform .25s ease,box-shadow .25s ease}
.notice-gallery-card:hover,.communications-card:hover{transform:translateY(-7px);box-shadow:0 32px 65px rgba(0,127,168,.21),0 7px 0 rgba(255,211,78,.55)!important}
.notice-gallery-card::before,.communications-card::before{content:'';position:absolute;z-index:5;left:0;right:0;top:0;height:7px;border-radius:27px 27px 0 0;background:linear-gradient(90deg,#35C979,#F2AE00)}
.communications-card::before{background:linear-gradient(90deg,#00A63C,#09A954)}
.notice-gallery-header,.communications-header{min-height:100px;padding:1.35rem 1.45rem!important;border-bottom:1px solid #DCEEF3!important;background:linear-gradient(90deg,#fff,#F4FCFE)!important}
.notice-gallery-header>div>span,.communications-header>span{width:56px!important;height:56px!important;border-radius:17px!important;box-shadow:0 10px 20px rgba(0,127,168,.16);font-size:1.35rem!important}
.notice-gallery-header>div>span{background:linear-gradient(145deg,#35C979,#EFAE00)!important}
.communications-header>span{background:linear-gradient(145deg,#00A63C,#00C566)!important}
.notice-gallery-header h3,.communications-header h3{color:#102B3A!important;font-size:1.18rem!important;font-weight:900!important}.notice-gallery-header p,.communications-header p{color:#607C89!important;font-size:.8rem!important}
.notice-empty{background:radial-gradient(circle at 50% 42%,rgba(0,169,214,.11),transparent 25%),linear-gradient(145deg,#F9FEFF,#EFFAF7)!important}.notice-empty>i{display:grid!important;width:86px;height:86px;margin:0 auto 1.2rem!important;place-items:center;border:1px solid #CDEAF3;border-radius:25px;color:#09A954!important;background:#fff;box-shadow:0 14px 28px rgba(0,127,168,.13);font-size:2.8rem!important}.notice-empty h4{color:#102B3A;font-size:1.22rem!important}.notice-empty p{color:#607C89!important}
.communications-card iframe{background:#fff}
@media(max-width:991px){.family-info{padding:4.5rem 0!important}.notice-gallery-card,.communications-card{height:520px!important}}
@media(max-width:575px){.family-info .section-heading h2{font-size:2.5rem}.family-info .section-heading h2::after{left:8%;right:8%}.notice-gallery-card,.communications-card{height:480px!important;border-radius:22px!important}.notice-gallery-header,.communications-header{min-height:88px;padding:1.1rem!important}.notice-gallery-header>div>span,.communications-header>span{width:48px!important;height:48px!important}}

/* Admisiones ampliada con ambientación de útiles escolares. */
.admissions-cta{padding:4.5rem 0 7rem!important;background:radial-gradient(circle at 8% 18%,rgba(0,169,214,.12),transparent 22%),radial-gradient(circle at 92% 82%,rgba(255,211,78,.2),transparent 24%),linear-gradient(135deg,#F2FCFF,#fff 52%,#FFFBE8)!important}
.admissions-cta>.container{width:100%;max-width:none;padding-right:clamp(18px,2.5vw,42px);padding-left:clamp(18px,2.5vw,42px)}
.admissions-cta .cta-card{min-height:610px;padding:clamp(3rem,5.5vw,5.8rem);border:2px solid rgba(255,255,255,.18);border-radius:42px;background:radial-gradient(circle at 92% 10%,rgba(255,211,78,.28),transparent 23%),radial-gradient(circle at 70% 88%,rgba(0,169,214,.22),transparent 28%),linear-gradient(118deg,#062455 0%,#074D70 54%,#087247 100%);box-shadow:0 36px 80px rgba(0,70,110,.28),0 10px 0 rgba(0,169,214,.09)}
.admissions-cta .cta-card::before{left:-95px;bottom:-145px;width:350px;height:350px;border-width:55px;border-color:rgba(0,197,232,.12)}
.admissions-cta .cta-card::after{right:-100px;top:-130px;width:390px;height:390px;border-width:58px;border-color:rgba(255,211,78,.13)}
.admissions-cta .cta-copy{max-width:850px}
.admissions-cta .cta-kicker{padding:.65rem 1rem;border-color:rgba(255,255,255,.38);background:rgba(255,255,255,.13);font-size:.83rem;box-shadow:0 10px 24px rgba(0,0,0,.12);backdrop-filter:blur(8px)}
.admissions-cta .cta-card h2{max-width:830px;margin:1.25rem 0;font-size:clamp(2.7rem,4.5vw,4.6rem);font-weight:950;line-height:1.02;text-shadow:0 6px 18px rgba(0,0,0,.2)}
.admissions-cta .cta-card p{max-width:790px;font-size:1.12rem;line-height:1.75}
.admissions-cta .cta-benefits{gap:1rem 1.6rem;margin-top:1.45rem}.admissions-cta .cta-benefits span{font-size:.95rem}.admissions-cta .cta-actions{margin-top:2rem;gap:1rem}.admissions-cta .btn-home{min-height:62px;padding:14px 24px!important;font-size:1rem!important}
.admissions-cta .cta-illustration{min-width:270px;transform:scale(1.12)}
.admissions-cta .cta-icon-ring{width:190px;height:190px;border:9px solid rgba(255,255,255,.88);box-shadow:0 20px 45px rgba(0,0,0,.22)}
.admissions-cta .cta-icon-ring i{font-size:5.1rem}
.admissions-cta .cta-illustration>span{margin-top:1.2rem;padding:.8rem 1.25rem;font-size:1.1rem;box-shadow:0 12px 26px rgba(0,0,0,.18)}
.cta-school-supplies{position:absolute!important;z-index:0!important;inset:0;pointer-events:none}
.cta-school-supplies i{position:absolute;display:grid;place-items:center;width:76px;height:76px;border:1px solid rgba(255,255,255,.13);border-radius:23px;color:rgba(255,255,255,.13);background:rgba(255,255,255,.05);font-size:2.25rem;transform:rotate(-12deg);backdrop-filter:blur(2px)}
.cta-school-supplies i:nth-child(1){left:3%;top:8%}.cta-school-supplies i:nth-child(2){left:44%;top:7%;transform:rotate(18deg)}.cta-school-supplies i:nth-child(3){left:47%;bottom:7%;transform:rotate(-7deg)}.cta-school-supplies i:nth-child(4){right:25%;top:9%;transform:rotate(10deg)}.cta-school-supplies i:nth-child(5){right:22%;bottom:8%;transform:rotate(-15deg)}.cta-school-supplies i:nth-child(6){right:4%;bottom:8%;transform:rotate(16deg)}
@media(max-width:991px){.admissions-cta .cta-card{min-height:0;padding:3.5rem 2.5rem}.admissions-cta .cta-card h2{font-size:3rem}.admissions-cta .cta-illustration{min-width:210px;transform:none}.admissions-cta .cta-icon-ring{width:155px;height:155px}.cta-school-supplies i:nth-child(2),.cta-school-supplies i:nth-child(3),.cta-school-supplies i:nth-child(4){display:none}}
@media(max-width:700px){.admissions-cta{padding:3rem 0 5rem!important}.admissions-cta .cta-card{padding:2.5rem 1.4rem;border-radius:28px}.admissions-cta .cta-card h2{font-size:2.45rem}.admissions-cta .cta-card p{font-size:1rem}.admissions-cta .cta-illustration{min-width:0}.admissions-cta .cta-icon-ring{width:135px;height:135px}.admissions-cta .cta-icon-ring i{font-size:3.6rem}.cta-school-supplies i{width:55px;height:55px;font-size:1.55rem;opacity:.7}}

/* Accesos rápidos: cuadros definidos, iconos circulares y cambio de color. */
.quick-card{--quick-color:#008B43;--quick-color-2:#00A63C;min-height:116px!important;padding:1.15rem 1.25rem!important;border:2px solid color-mix(in srgb,var(--quick-color) 28%,white)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 14px 30px rgba(0,127,168,.1)!important;transition:color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease,box-shadow .25s ease!important}
.quick-card:nth-child(2){--quick-color:#D89C00;--quick-color-2:#35C979}.quick-card:nth-child(3){--quick-color:#D91F37;--quick-color-2:#09A954}.quick-card:nth-child(4){--quick-color:#336699;--quick-color-2:#4D82B8}.quick-card:nth-child(5){--quick-color:#175241;--quick-color-2:#35C979}.quick-card:nth-child(6){--quick-color:#C18C00;--quick-color-2:#35C979}
.quick-card:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6)){background:#fff!important}
.quick-card::before{height:7px!important;background:var(--quick-color)!important;transition:height .25s ease,opacity .25s ease!important}
.quick-card::after{width:105px!important;height:105px!important;right:-35px!important;bottom:-45px!important;background:color-mix(in srgb,var(--quick-color-2) 18%,transparent)!important}
.quick-icon{width:56px!important;height:56px!important;border:2px solid color-mix(in srgb,var(--quick-color) 25%,white)!important;border-radius:50%!important;color:var(--quick-color)!important;background:color-mix(in srgb,var(--quick-color-2) 12%,white)!important;box-shadow:0 8px 18px color-mix(in srgb,var(--quick-color) 18%,transparent)!important;font-size:1.3rem!important;transition:color .25s ease,background .25s ease,border-color .25s ease,transform .25s ease!important}
.quick-card:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6)) .quick-icon{color:var(--quick-color)!important;background:color-mix(in srgb,var(--quick-color-2) 12%,white)!important}
.quick-card strong{color:#075878!important;font-size:1rem!important;transition:color .25s ease}.quick-card small{color:#638091!important;font-size:.76rem!important;transition:color .25s ease}
.quick-card>i:last-child{width:38px!important;height:38px!important;border:0!important;border-radius:50%!important;color:#fff!important;background:var(--quick-color)!important;transition:color .25s ease,background .25s ease,transform .25s ease!important}
.quick-card:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6))>i:last-child{color:#fff!important;background:var(--quick-color)!important}
.quick-card:hover,.quick-card:focus-visible{color:#fff!important;border-color:var(--quick-color)!important;background:linear-gradient(135deg,var(--quick-color),var(--quick-color-2))!important;transform:translateY(-8px) scale(1.018)!important;box-shadow:0 22px 42px color-mix(in srgb,var(--quick-color) 28%,transparent)!important;outline:none}
.quick-card:hover::before,.quick-card:focus-visible::before{height:100%!important;opacity:.08}.quick-card:hover::after,.quick-card:focus-visible::after{background:rgba(255,255,255,.16)!important;transform:scale(1.35)!important}
.quick-card:hover strong,.quick-card:focus-visible strong{color:#fff!important}.quick-card:hover small,.quick-card:focus-visible small{color:rgba(255,255,255,.86)!important}
.quick-card:hover .quick-icon,.quick-card:focus-visible .quick-icon{color:var(--quick-color)!important;border-color:rgba(255,255,255,.72)!important;background:#fff!important;transform:rotate(-7deg) scale(1.08)}
.quick-card:hover>i:last-child,.quick-card:focus-visible>i:last-child{color:var(--quick-color)!important;background:#fff!important;transform:translateX(5px) scale(1.08)}
.quick-card:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6)):is(:hover,:focus-visible) .quick-icon{color:var(--quick-color)!important;background:#fff!important}
.quick-card:is(:nth-child(2),:nth-child(3),:nth-child(4),:nth-child(5),:nth-child(6)):is(:hover,:focus-visible)>i:last-child{color:var(--quick-color)!important;background:#fff!important}
@media(max-width:575px){.quick-card{min-height:98px!important;padding:1rem!important;border-radius:20px!important}.quick-icon{width:50px!important;height:50px!important}}

/* Barra de contacto: interacción en rojo institucional. */
.contact-bar .contact-item a{transition:color .2s ease!important}
.contact-bar .contact-item a:hover,.contact-bar .contact-item a:focus-visible{color:#09A954!important;text-decoration:none!important;outline:none}
