/*
╔══════════════════════════════════════════════════════════════════════════╗
║                     PAIDOS - GLOBAL STYLESHEET                           ║
║              Archivo CSS Global Consolidado - 2026                       ║
║                                                                          ║
║  Este archivo contiene TODOS los estilos del proyecto Paidos           ║
║  organizados por secciones para facilitar el mantenimiento.            ║
║                                                                          ║
║  ESTRUCTURA:                                                            ║
║  1. Estilos Globales                                                    ║
║  2. Header y Navbar                                                     ║
║  3. Iconos de Redes Sociales                                            ║
║  4. Pie de Página                                                       ║
║  5. Botón Menú Hamburguesa                                              ║
║  6. Responsividad Global                                                ║
║  7. Portadas Genéricas                                                  ║
║  8. Sección INDEX                                                       ║
║  9. Sección INICIO                                                      ║
║  10. Sección INSTALACIONES                                              ║
║  11. Sección KNOTION                                                    ║
║  12. Sección OFERTAS                                                    ║
║  13. Sección POR QUÉ PAIDOS                                             ║
║  14. Sección PRIVACIDAD                                                 ║
║  15. Sección SERVICIOS                                                  ║
║  16. Sección DIRECTORIO                                                 ║
╚══════════════════════════════════════════════════════════════════════════╝
*/

/* =========================================================================
   SECCIÓN 1: ESTILOS GLOBALES
   ========================================================================= */

/* Google Fonts - Poppins */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-width: 0;
    padding-top: 95px;
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Estilos específicos para body de servicios */
body.servicios-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* =========================================================================
   SECCIÓN 2: HEADER Y NAVBAR
   ========================================================================= */

/* HEADER Y NAVBAR */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 999;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* HEADER CON LA PORTADA DE FONDO */
header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../IMG/Fondos/portada3.jpg'); 
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: -1;
    pointer-events: none;
}

.logo {
    min-width: 150px; 
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    margin-right: 20px;
}

nav {
    flex-grow: 1;
    display: flex;
    justify-content: flex-start;
    z-index: 1;
    margin-left: 10vw; /* Solo un poco a la derecha */
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin-left: 0;
}

nav ul li {
    margin: 0 10px 0 0;
}

nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #FF9800;
}

/* Agrega una línea roja debajo de la opción activa */
nav ul li a.active {
    border-bottom: 2px solid red; /* Línea roja debajo */
    color: red; /* Color en textos remarcados */
}

/* DISABLED / REGRESA A LA NORMALIDAD */
nav ul li a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, border-bottom 0.3s;
}

/* =========================================================================
   SECCIÓN 3: ICONOS DE REDES SOCIALES
   ========================================================================= */

/* ICONOS DE REDES EN EL HEADER */
.social-icons {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%); 
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.social-icons img {
    height: 30px; 
    width: auto;
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Imagen circular solo para WhatsApp */
.social-icons a:nth-child(1) img {
    border-radius: 80%;
    height: 30px;
    width: 30px;
    object-fit: cover;
}

.social-icons img:hover {
    transform: scale(1.1);
}

.social-icons a {
    position: relative;
    display: inline-block;
    border-radius: 50%;
    padding: 8px;
    transition: box-shadow 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.1);
}

/* Círculo verde para WhatsApp */
.social-icons a:nth-child(1):hover {
    box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.6); /* Verde WhatsApp */
}

/* Círculo azul para Facebook */
.social-icons a:nth-child(2):hover {
    box-shadow: 0 0 0 4px rgba(59, 89, 152, 0.6); /* Azul Facebook */
}

/* Círculo rosado para Instagram */
.social-icons a:nth-child(3):hover {
    box-shadow: 0 0 0 4px rgba(225, 48, 108, 0.6); /* Rosa Instagram */
}

/* =========================================================================
   SECCIÓN 4: PIE DE PÁGINA
   ========================================================================= */

/* =================== PIE DE PÁGINA =================== */
footer {
    text-align: center;
    padding: 10px;
    background: #333;
    color: white;
    width: 100%;
    margin-top: auto;
}

footer a {
    color: inherit;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* =========================================================================
   SECCIÓN 5: BOTÓN MENÚ HAMBURGUESA
   ========================================================================= */

/* =================== BOTÓN MENÚ HAMBURGUESA =================== */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    z-index: 1000;
}

/* =========================================================================
   SECCIÓN 6: RESPONSIVIDAD GLOBAL (HEADER, NAV, FOOTER)
   ========================================================================= */

/* =================== RESPONSIVIDAD =================== */

/* --- <= 480px --- */
@media screen and (max-width: 480px) {
    header {
        padding: 8px 10px;
    }

    .logo img {
        height: 40px;
        margin-right: 10px;
    }

    .social-icons img {
        height: 25px;
    }

    .menu-toggle {
        font-size: 20px;
    }
}

/* --- <= 768px --- */
@media screen and (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .social-icons {
        order: 4;
        width: 100%;
        justify-content: center;
        margin-top: 10px;
        display: none;
    }

    nav.show ~ .social-icons {
        display: flex;
    }

    .menu-toggle {
        order: 3;
    }
}

/* --- <= 1024px --- */
@media screen and (max-width: 1024px) {
    header {
        padding: 10px 15px;
    }

    .menu-toggle {
        display: block;
        order: 2;
    }


    nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1);
        order: 5;
        background-color: white;
        padding: 15px 0;
        margin-top: 0;
        margin-left: 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        border-radius: 0 0 12px 12px;
        align-items: center;
        z-index: 999;
        transform: translateY(-20px);
    }

    nav.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        display: flex;
    }


    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        text-align: center;
        align-items: center;
        padding: 0;
        margin: 0;
    }


    nav ul li {
        margin: 10px 0;
        width: 100%;
    }


    .social-icons {
        position: static;
        margin-top: 15px;
        justify-content: center;
        transform: none;
    }
}

/* Ajustes específicos de móvil para alinear redes + hamburguesa y fijar el dropdown */
@media screen and (max-width: 768px) {
    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 10px;
        padding: 8px 12px;
    }

    .logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .logo img {
        height: 46px;
        margin-right: 0;
    }

    .social-icons {
        position: static;
        transform: none;
        width: auto;
        margin-top: 0;
        order: 2;
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        flex-shrink: 0;
    }

    .social-icons a {
        padding: 4px;
    }

    .social-icons img,
    .social-icons a:nth-child(1) img {
        width: 24px;
        height: 24px;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        order: 3;
        margin-left: 6px;
        font-size: 28px;
        line-height: 1;
        flex-shrink: 0;
    }

    nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
        margin-left: 0;
        padding: 14px 0;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        z-index: 998;
        background-color: white;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    nav.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        display: flex;
    }

    nav ul {
        width: 100%;
        gap: 10px;
    }

    nav ul li {
        margin: 6px 0;
    }

    .carousel-container {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 480px) {
    body {
        padding-top: 82px;
    }

    .logo img {
        height: 40px;
    }

    .menu-toggle {
        font-size: 24px;
    }

    nav {
        top: 70px;
        max-height: calc(100vh - 70px);
        left: 0;
        transform: translateY(-15px);
    }

    nav.show {
        transform: translateY(0);
    }
}

/* --- Entre 1025px y 1393px --- */
@media screen and (min-width: 1025px) and (max-width: 1393px) {
    .menu-toggle {
        display: block;
    }

    nav {
        flex-direction: column;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        margin-left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
        border-radius: 0 0 12px 12px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-15px);
        transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    }

    nav.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        display: flex;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    .social-icons {
        position: static;
        margin-top: 15px;
        justify-content: center;
        transform: none;
    }
}

/* --- >= 1394px --- */
@media screen and (min-width: 1394px) {
    .menu-toggle {
        display: none !important;
    }

    nav {
        display: flex !important;
        flex-direction: row !important;
        position: static !important;
        background-color: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
    }

    nav ul {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px !important;
        width: auto !important;
    }

    nav ul li {
        margin: 0 15px !important;
    }

    .social-icons {
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin-top: 0 !important;
        justify-content: flex-end !important;
        display: flex !important;
    }
}

/* =========================================================================
   SECCIÓN 7: PORTADAS GENÉRICAS
   ========================================================================= */

/* ===================================================================
   PORTADA PRINCIPAL - OPTIMIZADA PARA IMÁGENES ULTRA NÍTIDAS
   Configuración para imágenes de alta resolución (2K/4K)
   ===================================================================*/
.PrincipalPortada {
    width: 100%;
    min-width: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f5f5;
}

.PrincipalPortada img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    /* Rendering optimizado para imágenes de alta calidad */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Suavizado para pantallas retina/HiDPI */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    /* Anti-aliasing mejorado */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =========================================================================
   SECCIÓN 8: INDEX - PÁGINA PRINCIPAL
   ========================================================================= */

/* SECCION DE ACCESOS RAPIDOS -----------------------------------------------*/
.accesos-rapidos {
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
}

.accesos-rapidos h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    color: #000000;
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.accesos-rapidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 50%, #F44336 50%);
    border-radius: 2px;
}

.accesos-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.acceso-item {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.acceso-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, transparent);
    transition: all 0.4s ease;
}

.acceso-comunicados::before {
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

.acceso-eventos::before {
    background: linear-gradient(90deg, #F44336, #D32F2F);
}

.acceso-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.acceso-comunicados:hover {
    box-shadow: 0 12px 40px rgba(33, 150, 243, 0.3);
}

.acceso-eventos:hover {
    box-shadow: 0 12px 40px rgba(244, 67, 54, 0.3);
}

.acceso-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.acceso-comunicados .acceso-icon {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.acceso-eventos .acceso-icon {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2);
}

.acceso-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.acceso-item:hover .acceso-icon {
    transform: scale(1.1) rotate(5deg);
}

.acceso-comunicados:hover .acceso-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

.acceso-eventos:hover .acceso-icon {
    background: linear-gradient(135deg, #F44336, #D32F2F);
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

.acceso-item:hover .acceso-icon img {
    filter: brightness(0) invert(1);
    transform: scale(1.15);
}

.acceso-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.acceso-comunicados:hover h3 {
    color: #2196F3;
}

.acceso-eventos:hover h3 {
    color: #F44336;
}

.acceso-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.acceso-item:hover p {
    color: #555;
}

/* Responsividad para accesos rápidos */
@media (max-width: 768px) {
    .accesos-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .acceso-item {
        max-width: 100%;
        width: 100%;
    }
    
    .accesos-rapidos h2 {
        font-size: 1.8rem;
    }
}

/* Caja de los logos de objetivos Paidos */
.logos-destacados {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    background-color: #ffffff;
    flex-wrap: wrap;
}

.logo-item {
    flex: 1 1 300px;
    margin: 20px;
    max-width: 300px;
}

.logo-item img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
}

.logo-item h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.logo-item p {
    font-size: 0.95rem;
    color: #666;
}

/* Seccion de los objetivos PAIDOS ----------------------------------------------------------*/
.objetivos-paidos {
    text-align: center;
    padding: 40px 20px 20px;
    background-color: #ffffff;
}

/* Titulo de objetivos Paidos */
.objetivos-paidos h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #000000;
    position: relative;
    display: inline-block; /* Necesario para que el ::after se ajuste al texto */
}

/* Subrayado del color con un 33.3% */
.objetivos-paidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.logo-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Hover con Zoom */
.logo-circle:hover {
    transform: scale(1.1);
}

/* Colores de auras por logo */
.logo-azul .logo-circle:hover {
    box-shadow: 0 0 20px 5px rgba(33, 150, 243, 0.6); /* azul */
}

.logo-rojo .logo-circle:hover {
    box-shadow: 0 0 20px 5px rgba(244, 67, 54, 0.6); /* rojo */
}

.logo-amarillo .logo-circle:hover {
    box-shadow: 0 0 20px 5px rgba(255, 235, 59, 0.6); /* amarillo */
}

/* NUESTRAS CLASES EN PAIDOS ----------------------------------------------------------------*/
/* Seccion completa de clases */

.nuestras-clases h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #000000;
    position: relative;
    display: inline-block;
}

.nuestras-clases h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.nuestras-clases {
    padding: 40px 20px;
    background-image: url('../IMG/Fondos/Background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.clases-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 55px;
    margin-top: 20px;
}

/* Estilos base para todas las tarjetas */
.clase {
    position: relative;
    user-select: none;
}

.clase::after {
    content: '▼';
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.clase.active::after {
    transform: rotate(180deg);
    bottom: 10px;
}

.clase:not(.active):hover::after {
    animation: bounce 1s infinite;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Contenedor de Robotica */
.ClaseRobotica {
    background: linear-gradient(135deg, #2196f3cc, #1976d2cc);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
    width: 280px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ClaseRobotica::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ClaseRobotica:hover::before {
    opacity: 1;
}

/* Contenedor de Ingles */
.ClaseIngles {
    background: linear-gradient(135deg, #f44336cc, #d32f2fcc);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
    width: 280px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ClaseIngles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ClaseIngles:hover::before {
    opacity: 1;
}

/* Contenedor de Artes y musica */
.ClaseArtes {
    background: linear-gradient(135deg, #d777ebcc, #88b8f3cc);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(255, 235, 59, 0.3);
    width: 280px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.ClaseArtes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0));
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.ClaseArtes:hover::before {
    opacity: 1;
}

/* Imagenes dentro de cada tarjeta */
.clase img {
    width: 60%;
    height: 142px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.clase h3 {
    margin-top: 15px;
    font-size: 1.3em;
    color: #333;
    transition: all 0.3s ease;
}

.clase:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.clase.active {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.clase.active::after {
    transform: rotate(180deg) scale(1.2);
    color: rgba(255, 255, 255, 1);
}

/* Texto expandible inline (solo visible en móvil vía media query) */
.clase-expandido {
    display: none;
}

/* Panel de información debajo de las tarjetas */
.info-panel {
    margin-top: 40px;
    border-radius: 25px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
}

.info-panel.show {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0) scale(1);
    padding: 40px;
}

.info-content {
    position: relative;
    color: white;
    animation: fadeInContent 0.8s ease-out 0.2s both;
}

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

.info-panel h3 {
    font-size: 2.2em;
    margin: 0 0 20px 0;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: bold;
}

.info-panel p {
    font-size: 1.2em;
    line-height: 1.8;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    margin: 0;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-weight: bold;
}

.close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Slider infinito ----------------------------------------------------------------------------*/
.sliderinfinitobody {
    width: 100%;
    overflow: hidden;
    background: #fff; 
    padding: 20px 0;
  }
  
  .slider {
    height: 100px; /* Ajusta según el tamaño de tus logos */
    position: relative;
    width: 100%;
  }
  
  .slide-track {
    display: flex;
    width: calc(250px * 52); /* 26 imágenes × 2 (duplicadas para loop infinito) */
    animation: scroll 120s linear infinite;
  }
  
  .slide {
    width: 250px; /* Cambia según el tamaño de tus imágenes */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
  }
  
  .slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 6px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s;
  }
  
  .slide img:hover {
    transform: scale(1.1);
  }
  
  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
  
    100% {
      transform: translateX(-50%);
    }
  }
  
/* SECCION DE MODELO EDUCATIVO ----------------------------------------------------------*/
  .modelo-educativo {
    padding: 60px 20px;
    background-color: #ffffff;
}

.modelo-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.modelo-texto {
    flex: 1 1 500px;
}

.modelo-texto h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
}

.modelo-texto h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 70%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.modelo-texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.modelo-imagen {
    flex: 1 1 400px;
    text-align: center;
}

.modelo-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Seccion del Knotion ----------------------------------------------------------*/ 
.knotion-section {
    padding: 40px 20px;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../IMG/Fondos/fondo1.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
}

.knotion-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    flex-wrap: wrap;
    gap: 30px;
}

.knotion-texto {
    flex: 1;
    min-width: 300px;
}

.knotion-texto h2 {
    font-size: 2em;
    color: #000000;
    margin-bottom: 10px;
    display: inline-block;
}

.knotion-texto h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 90%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.knotion-texto p {
    font-size: 1.1em;
    color: #333;
}

.knotion-slider {
    flex: 1;
    min-width: 300px;
    aspect-ratio: 4 / 3; /* Proporción (ajustable) */
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.knotion-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: opacity 0.5s ease-in-out;
}

.fade-out {
    opacity: 0;
}

/* Seccion 2 de Knotion  -----------------------------------------------------------------*/
.knotion-section2 {
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.knotion-section2-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(33, 150, 243, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(244, 67, 54, 0.04) 0%, transparent 50%);
    z-index: 0;
}

.knotion-content2 {
    display: flex;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.knotion-texto2 {
    flex: 1 1 55%;
    min-width: 0;
}

.knotion-tag {
    display: inline-block;
    background: linear-gradient(90deg, #2196F3, #42a5f5);
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.knotion-texto2 h2 {
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.3;
    font-weight: 700;
}

.knotion-texto2 h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 80px;
    margin-top: 16px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.knotion-texto2 p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: #555555;
    line-height: 1.8;
    margin-bottom: 30px;
}

.knotion-texto2 .neon-button {
    margin-top: 10px;
}

/* Grid de features Knotion */
.knotion-features2 {
    flex: 1 1 40%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-width: 0;
}

.knotion-feature-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.knotion-feature-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 14px auto;
    background: linear-gradient(135deg, #e8f4fd, #f0f7ff);
    border-radius: 16px;
    padding: 12px;
    transition: transform 0.3s ease;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.knotion-feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.knotion-feature-card h4 {
    font-size: 1rem;
    color: #1a1a1a;
    margin-bottom: 8px;
    font-weight: 600;
}

.knotion-feature-card p {
    font-size: 0.85rem;
    color: #666666;
    line-height: 1.5;
}

/* --- Responsive knotion-section2 --- */
@media screen and (max-width: 1024px) {
    .knotion-content2 {
        gap: 35px;
    }
}

@media screen and (max-width: 768px) {
    .knotion-section2 {
        padding: 50px 20px;
    }
    
    .knotion-content2 {
        flex-direction: column;
        gap: 40px;
    }

    .knotion-texto2 {
        text-align: center;
    }

    .knotion-texto2 h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .knotion-texto2 p {
        margin-left: auto;
        margin-right: auto;
        max-width: 500px;
    }

    .knotion-texto2 .neon-button {
        display: inline-block;
    }

    .knotion-features2 {
        grid-template-columns: 1fr 1fr;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    .knotion-section2 {
        padding: 40px 16px;
    }

    .knotion-features2 {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .knotion-feature-card {
        padding: 20px 16px;
    }

    .knotion-tag {
        font-size: 0.75rem;
    }
}

/* Botón elegante con efecto de neón */
.neon-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: linear-gradient(90deg, #2196F3, #F44336, #FFEB3B, #2196F3);
    background-size: 300%;
    border: 2px solid transparent;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.neon-button:hover {
    background-position: 100%;
    color: #fff;
    box-shadow: 0 0 15px #2196F3, 0 0 30px #F44336, 0 0 45px #FFEB3B;
}

.neon-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid transparent;
    background: linear-gradient(90deg, #2196F3, #F44336, #FFEB3B, #2196F3);
    background-size: 300%;
    z-index: -1;
    filter: blur(4px);
    transition: 0.5s ease-in-out;
}

.neon-button:hover::before {
    background-position: 100%;
}

/* Estilo del carousel nuestros maestros -----------------------------------------------*/
.nuestros-maestros {
    position: relative;
    text-align: center;
    overflow: hidden;
  }
  
  .nuestros-maestros::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../IMG/Fondos/Fondo2.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; 
    z-index: 0;
  }
  
  .nuestros-maestros > * {
    position: relative;
    z-index: 1;
  }
  
  .nuestros-maestros h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #000000;
    display: inline-block;
    position: relative;
  }
  
  .nuestros-maestros h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin: 8px auto 0; /* centrado horizontal */
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
  }
  
.carousel-container {
    overflow: hidden;
    width: 100vw;
    min-width: 0;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.carousel {
    display: flex;
    transition: transform 1s ease-in-out;
    width: 100%;
}

.carousel-item {
    flex: 0 0 calc(100% / 3);
    box-sizing: border-box;
    padding: 10px;
    text-align: center;
}

.carousel-item img {
    width: 100%;
    max-width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

/* =================== RESPONSIVIDAD PARA CLASES (INDEX) =================== */
@media screen and (max-width: 768px) {
    .clases-container {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        width: 100%;
    }
    
    .ClaseRobotica,
    .ClaseIngles,
    .ClaseArtes {
        width: 100%;
        max-width: 100%;
        padding: 18px;
        overflow: visible;
    }

    .clase {
        border-radius: 20px;
    }

    .clase img {
        width: min(70%, 170px);
        height: auto;
        max-height: 150px;
        object-fit: contain;
    }

    .clase h3 {
        font-size: 1.25em;
        word-break: break-word;
    }
    
    .clase.active {
        transform: scale(1.02);
    }
    
    .clase:hover {
        transform: translateY(-5px) scale(1.01);
    }

    /* Ocultar el panel inferior en móvil */
    #infoPanel {
        display: none !important;
    }

    /* Acordeón inline para móvil */
    .clase-expandido {
        display: block;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.35s ease,
                    padding-top 0.35s ease;
        opacity: 0;
        padding-top: 0;
    }

    .clase.active .clase-expandido {
        max-height: 400px;
        opacity: 1;
        padding-top: 14px;
    }

    .clase-expandido p {
        color: white;
        font-size: 1em;
        line-height: 1.6;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
        margin: 0;
        text-align: left;
    }
}

@media screen and (max-width: 480px) {
    .nuestras-clases h2 {
        font-size: 1.5rem;
    }
    
    .ClaseRobotica,
    .ClaseIngles,
    .ClaseArtes {
        padding: 15px;
    }
    
    .clase img {
        max-height: 120px;
    }
    
    .clase h3 {
        font-size: 1.2em;
    }

    .clase-expandido p {
        font-size: 0.95em;
    }
}

/* Animación de entrada para las tarjetas al cargar la página */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.clase {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.ClaseRobotica {
    animation-delay: 0.1s;
}

.ClaseIngles {
    animation-delay: 0.2s;
}

.ClaseArtes {
    animation-delay: 0.3s;
}

/* =========================================================================
   SECCIÓN 9: INICIO - Misión, Visión, Filosofía
   ========================================================================= */

/* SECCION DE Misión ----------------------------------------------------------*/
.mision-educativo {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.mision-educativo:hover {
    background-color: #c8e6c9;
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

.mision-paidos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    transition: transform 0.3s ease;
}

.mision-educativo:hover .mision-paidos {
    transform: scale(1.01);
}

.mision-educativo .modelo-texto {
    flex: 1 1 500px;
    transition: transform 0.3s ease;
}

.mision-educativo:hover .modelo-texto {
    transform: translateX(10px);
}

.mision-educativo .modelo-texto h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.mision-educativo:hover .modelo-texto h2 {
    color: #2e7d32;
}

.mision-educativo .modelo-texto h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 120%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.mision-educativo:hover .modelo-texto h2::after {
    background: #4caf50;
}

.mision-educativo .modelo-texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.mision-educativo .modelo-imagen {
    flex: 1 1 400px;
    text-align: center;
    transition: transform 0.3s ease;
}

.mision-educativo:hover .modelo-imagen {
    transform: translateX(-10px) scale(1.02);
}

.mision-educativo .modelo-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.mision-educativo:hover .modelo-imagen img {
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
    transform: scale(1.03);
}

/* SECCION DE Visión ----------------------------------------------------------*/
.Visión-educativo {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.Visión-educativo:hover {
    background-color: #bbdefb;
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.3);
}

.Visión-paidos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    transition: transform 0.3s ease;
}

.Visión-educativo:hover .Visión-paidos {
    transform: scale(1.01);
}

.Visión-modelo-texto {
    flex: 1 1 500px;
    transition: transform 0.3s ease;
}

.Visión-educativo:hover .Visión-modelo-texto {
    transform: translateX(-10px);
}

.Visión-modelo-texto h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
    text-align: right; 
    width: 100%;
    transition: color 0.3s ease;
}

.Visión-educativo:hover .Visión-modelo-texto h2 {
    color: #1565c0;
}

.Visión-modelo-texto h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 20%; 
    margin-top: 8px;
    margin-left: auto; 
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.Visión-educativo:hover .Visión-modelo-texto h2::after {
    background: #2196f3;
}

.Visión-modelo-texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.Visión-modelo-imagen {
    flex: 1 1 400px;
    text-align: center;
    transition: transform 0.3s ease;
}

.Visión-educativo:hover .Visión-modelo-imagen {
    transform: translateX(10px) scale(1.02);
}

.Visión-modelo-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.Visión-educativo:hover .Visión-modelo-imagen img {
    box-shadow: 0 8px 24px rgba(33, 150, 243, 0.4);
    transform: scale(1.03);
}

/* Visión: en móvil, imagen debajo del texto */
@media screen and (max-width: 768px) {
    .Visión-educativo {
        padding: 30px 20px;
    }

    .Visión-paidos {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .Visión-modelo-texto {
        flex: none;
        width: 100%;
    }

    .Visión-modelo-imagen {
        flex: none;
        width: 100%;
    }

    .Visión-modelo-imagen img {
        max-height: none;
        width: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    .Visión-modelo-texto h2 {
        text-align: center;
        font-size: 28px;
        margin-bottom: 12px;
    }

    .Visión-modelo-texto h2::after {
        margin-left: auto;
        margin-right: auto;
    }

    .Visión-modelo-texto p {
        text-align: center;
        font-size: 16px;
    }

    /* Quitar zoom/scale en hover/tap para las 3 secciones */
    .mision-educativo:hover .mision-paidos,
    .mision-educativo:hover .modelo-texto,
    .mision-educativo:hover .modelo-imagen,
    .mision-educativo:hover .modelo-imagen img,
    .Visión-educativo:hover .Visión-paidos,
    .Visión-educativo:hover .Visión-modelo-texto,
    .Visión-educativo:hover .Visión-modelo-imagen,
    .Visión-educativo:hover .Visión-modelo-imagen img,
    .Filosofía-educativo:hover .Filosofía-paidos,
    .Filosofía-educativo:hover .Filosofía-modelo-texto,
    .Filosofía-educativo:hover .Filosofía-modelo-imagen,
    .Filosofía-educativo:hover .Filosofía-modelo-imagen img {
        transform: none !important;
    }

    .mision-educativo,
    .Visión-educativo,
    .Filosofía-educativo {
        overflow: hidden;
    }
}

/* SECCION DE Filosofía ----------------------------------------------------------*/
.Filosofía-educativo {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.5s ease, box-shadow 0.5s ease;
    cursor: pointer;
}

.Filosofía-educativo:hover {
    background-color: #ffcdd2;
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.3);
}

.Filosofía-paidos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    transition: transform 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-paidos {
    transform: scale(1.01);
}

.Filosofía-modelo-texto {
    flex: 1 1 500px;
    transition: transform 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-modelo-texto {
    transform: translateX(10px);
}

.Filosofía-modelo-texto h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-modelo-texto h2 {
    color: #c62828;
}

.Filosofía-modelo-texto h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 120%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-modelo-texto h2::after {
    background: #f44336;
}

.Filosofía-modelo-texto p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.Filosofía-modelo-imagen {
    flex: 1 1 400px;
    text-align: center;
    transition: transform 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-modelo-imagen {
    transform: translateX(-10px) scale(1.02);
}

.Filosofía-modelo-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.Filosofía-educativo:hover .Filosofía-modelo-imagen img {
    box-shadow: 0 8px 24px rgba(244, 67, 54, 0.4);
    transform: scale(1.03);
}

/* =========================================================================
   SECCIÓN 10: INSTALACIONES
   ========================================================================= */

/* Los estilos de instalaciones están incluidos en styles_instalaciones.css
   Si hay estilos específicos únicos, se pueden agregar aquí */

/* =========================================================================
   SECCIÓN 11: KNOTION
   ========================================================================= */

/* SECCIÓN DE QUE ES KNOTION -----------------------------------------------------------------------------------*/
.que-knotion {
    padding: 60px 20px;
    background-color: #ffffff;
}

.modelo-knotion {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.modelo-texto-knotion {
    flex: 1 1 500px;
}

.modelo-texto-knotion h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
}

.modelo-texto-knotion h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 70%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.modelo-texto-knotion p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.knotion-imagen {
    flex: 1 1 400px;
    text-align: center;
}

.knotion-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Estilo para resaltar la palabra Knotion */
.highlight {
    color: #2196F3; /* Azul */
    font-weight: bold; /* Opcional: Negrita */
}

/* Seccion iPad Knotion - REDISEÑO PROFESIONAL -------------------------------------------------------------------------------------------------*/
.ipads-knotion-new {
    padding: 80px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.ipads-knotion-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../IMG/Fondos/Background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
}

.knotion-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
    animation: fadeInDown 0.8s ease-out;
}

.knotion-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #000;
    position: relative;
    display: inline-block;
}

.knotion-header h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.knotion-header .subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

/* Bloques de información alternados */
.info-block {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto 80px;
    gap: 60px;
    padding: 40px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-block.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Bloque Alumnos - Imagen a la izquierda */
.alumnos-block {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 50%, #90caf9 100%);
}

/* Bloque Docentes - Imagen a la derecha */
.docentes-block {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 50%, #ef9a9a 100%);
    flex-direction: row-reverse;
}

.info-icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.info-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(33, 150, 243, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.info-block:hover .info-icon::before {
    width: 300px;
    height: 300px;
}

.info-block:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.info-icon img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    position: relative;
    z-index: 1;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.2));
}

.info-content {
    flex: 1;
    text-align: left;
}

.info-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1a237e;
    position: relative;
    display: inline-block;
    font-weight: bold;
}

.info-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, #2196F3, #F44336);
    border-radius: 2px;
}

.info-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.benefits-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(10px);
    color: #2196F3;
}

.benefits-list .check-icon {
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4CAF50, #8BC34A);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    font-style: normal;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.4);
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .info-block {
        flex-direction: column !important;
        gap: 30px;
        padding: 30px 20px;
        margin-bottom: 40px;
    }

    .info-icon {
        width: 150px;
        height: 150px;
    }

    .info-icon img {
        width: 100px;
        height: 100px;
    }

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

    .info-content h3 {
        font-size: 1.6rem;
    }

    .info-content h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .benefits-list li {
        padding-left: 40px;
    }

    .knotion-header h2 {
        font-size: 2rem;
    }

    .knotion-header .subtitle {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .ipads-knotion-new {
        padding: 40px 15px;
    }

    .info-block {
        padding: 25px 15px;
    }

    .info-content h3 {
        font-size: 1.4rem;
    }

    .info-description p,
    .benefits-list li {
        font-size: 0.95rem;
    }
}

/* =========================================================================
   SECCIÓN 12: OFERTAS
   ========================================================================= */

/* Los estilos de ofertas están incluidos en styles_ofertas.css
   Si hay estilos específicos únicos, se pueden agregar aquí */

/* =========================================================================
   SECCIÓN 13: POR QUÉ PAIDOS
   ========================================================================= */

/* SECCION DE porquepaidos ----------------------------------------------------------*/
.seccion-uno {
    padding: 60px 20px;
    background-color: #ffffff;
}

.porque-paidos {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.modelo-paidos {
    flex: 1 1 500px;
}

.modelo-paidos h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
}

.modelo-paidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 120%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #2196F3 33.3% 66.6%, #2196F3 66.6%);
    border-radius: 2px;
}

.modelo-paidos p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

/* Sección sobre nosotros ---------------------------------------------------------------------------*/
.seccion-nosotros {
    padding: 40px 20px;
    text-align: center;
    background-color: #ffffff; /* Fondo claro por defecto */
    transition: background-color 0.3s ease-in-out; /* Transición suave */
}

.seccion-nosotros:hover {
    background-color: #e3f2fd; /* Azul clarito al pasar el mouse */
}

.seccion-nosotros h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.seccion-nosotros h2::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    background: linear-gradient(to right, #2196F3, #F44336, #FFEB3B);
    margin: 10px auto 0;
    border-radius: 2px;
}

.seccion-nosotros p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.nosotros-imagen img {
    max-width: 40%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Sección sobre habilidades ---------------------------------------------------------------------------*/
.seccion-habilidades {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.3s ease-in-out; /* Transición suave */
}

.seccion-habilidades:hover {
    background-color: #fdebe3; 
}

.habilidades-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.habilidades-paidos {
    flex: 1 1 500px;
}

.habilidades-paidos h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
}

.habilidades-paidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #f32121 33.3%, #f32121 33.3% 66.6%, #f32121 66.6%);
    border-radius: 2px;
}

.habilidades-paidos p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.habilidades-imagen {
    flex: 1 1 400px;
    text-align: center;
}

.habilidades-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sección sobre salones ---------------------------------------------------------------------------*/
.seccion-salones {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.3s ease-in-out; /* Transición suave */
}

.seccion-salones:hover {
    background-color: #fdfde3; 
}

.salones-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.salones-paidos {
    flex: 1 1 500px;
}

.salones-paidos h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
    text-align: right; 
    width: 100%;      
}

.salones-paidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 80%; 
    margin-top: 8px;
    margin-left: auto; 
    background: linear-gradient(to right, #FFEB3B 33.3%, #FFEB3B 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.salones-paidos p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.salones-imagen{
    flex: 1 1 400px;
    text-align: center;
}

.salones-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Sección sobre capacitacion ---------------------------------------------------------------------------*/
.seccion-capacitacion {
    padding: 60px 20px;
    background-color: #ffffff;
    transition: background-color 0.3s ease-in-out; /* Transición suave */
}

.seccion-capacitacion:hover {
    background-color: #fde3f6; 
}

.capacitacion-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.capacitacion-paidos {
    flex: 1 1 500px;
}

.capacitacion-paidos h2 {
    font-size: 36px;
    color: #000000;
    margin-bottom: 20px;
    display: inline-block;
}

.capacitacion-paidos h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #fe90e0 33.3%, #fe90e0 33.3% 66.6%, #fe90e0 66.6%);
    border-radius: 2px;
}

.capacitacion-paidos p {
    font-size: 18px;
    line-height: 1.7;
    color: #333;
}

.capacitacion-imagen {
    flex: 1 1 400px;
    text-align: center;
}

.capacitacion-imagen img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Seccion nos distingue ---------------------------------------------------------------------------*/
.seccion-nos-distingue {
    padding: 60px 20px;
    background: #ffffff;
    text-align: center;
    transition: background-color 0.3s ease-in-out;
  }
  
  .titulo-distingue {
    font-size: 36px;
    color: #000;
    margin-bottom: 40px;
    position: relative; 
    display: inline-block;
  }
  
  .titulo-distingue::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3, #F44336, #FFEB3B 66.6%);
    border-radius: 2px;
    position: absolute;
    bottom: -8px; 
    left: 0;
  }
  
  .contenedor-distingue {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
.tarjeta-distingue {
    background-color: #fff;
    border-radius: 16px;
    padding: 25px;
    width: 300px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
  }
  
  /* Efecto hover común para todas las tarjetas */
  .tarjeta-distingue:hover {
    transform: scale(1.03);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
  }
  
  /* Tarjeta de Educación */
  .tarjeta-distingue.educacion:hover {
    background-color: #cae9ff; /* Azul claro */
  }
  
  /* Tarjeta de Socialmente Responsables */
  .tarjeta-distingue.socialmente-responsables:hover {
    background-color: #ffc6ea; /* Celeste suave */
  }
  
  /* Tarjeta de Excelencia Académica */
  .tarjeta-distingue.excelencia-academica:hover {
    background-color: #f9bbbb; /* Gris claro */
  }
  
  /* Tarjeta de Autoestima */
  .tarjeta-distingue.autoestima:hover {
    background-color: #ffe1b1; /* Naranja suave */
  }
  
  .tarjeta-distingue h3 {
    font-size: 24px;
    color: #f32121;
    margin-bottom: 15px;
  }
  
  .tarjeta-distingue ul {
    list-style: disc;
    text-align: left;
    padding-left: 20px;
    color: #333;
    font-size: 16px;
    line-height: 1.6;
  }
  
  /* Animaciones */
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.aparecer {
    opacity: 1;
    transform: translateY(0);
  }

/* Ajuste responsivo para la imagen en "porque paidos" */
@media (max-width: 768px) {
    .modelo-imagen img {
        max-width: 320px;
        width: 90vw;
        min-width: 180px;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    .porque-paidos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

/* =========================================================================
   SECCIÓN 14: PRIVACIDAD
   ========================================================================= */

/* MAIN PRIVACIDAD */
main.privacidad {
    flex: 1;
    max-width: 900px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

main.privacidad h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2c3e50;
}

main.privacidad h2 {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #34495e;
}

main.privacidad p {
    margin-bottom: 15px;
    text-align: justify;
}

main.privacidad ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

main.privacidad ul li {
    list-style-type: disc;
    margin-bottom: 8px;
}

/* =========================================================================
   SECCIÓN 15: SERVICIOS
   ========================================================================= */

/* =================== HERO SECTION =================== */
.servicios-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 80px 20px 60px;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.servicios-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><text x="10" y="50" font-size="40" fill="rgba(255,255,255,0.1)">★</text><text x="60" y="80" font-size="30" fill="rgba(255,255,255,0.08)">★</text></svg>');
    opacity: 0.3;
    animation: float 20s infinite linear;
}

@keyframes float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

.servicios-hero h1 {
    font-size: 3em;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInDown 0.8s ease-out;
}

.servicios-hero p {
    font-size: 1.3em;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out;
}

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

/* =================== CONTAINER DE SERVICIOS =================== */
.servicios-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* =================== TARJETAS DE SERVICIOS =================== */
.servicio-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: fadeInScale 0.6s ease-out backwards;
}

/* Animación de entrada escalonada */
.servicio-card:nth-child(1) { animation-delay: 0.05s; }
.servicio-card:nth-child(2) { animation-delay: 0.1s; }
.servicio-card:nth-child(3) { animation-delay: 0.15s; }
.servicio-card:nth-child(4) { animation-delay: 0.2s; }
.servicio-card:nth-child(5) { animation-delay: 0.25s; }
.servicio-card:nth-child(6) { animation-delay: 0.3s; }
.servicio-card:nth-child(7) { animation-delay: 0.35s; }
.servicio-card:nth-child(8) { animation-delay: 0.4s; }
.servicio-card:nth-child(9) { animation-delay: 0.45s; }
.servicio-card:nth-child(10) { animation-delay: 0.5s; }
.servicio-card:nth-child(11) { animation-delay: 0.55s; }
.servicio-card:nth-child(12) { animation-delay: 0.6s; }
.servicio-card:nth-child(13) { animation-delay: 0.65s; }
.servicio-card:nth-child(14) { animation-delay: 0.7s; }
.servicio-card:nth-child(15) { animation-delay: 0.75s; }
.servicio-card:nth-child(16) { animation-delay: 0.8s; }
.servicio-card:nth-child(17) { animation-delay: 0.85s; }

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

/* Efecto de brillo en el fondo */
.servicio-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.servicio-card:hover::before {
    left: 100%;
}

/* Hover effect */
.servicio-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* =================== NÚMERO CON ESTRELLA =================== */
.servicio-numero {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 2em;
    font-weight: bold;
    position: relative;
}

.servicio-numero i {
    font-size: 1.2em;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.servicio-card:hover .servicio-numero i {
    animation: bounce-rotate 0.6s ease;
}

@keyframes bounce-rotate {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); }
}

.servicio-numero span {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =================== TÍTULO Y DESCRIPCIÓN =================== */
.servicio-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #333;
    transition: color 0.3s ease;
}

.servicio-card:hover h3 {
    color: #667eea;
}

.servicio-card p {
    color: #666;
    line-height: 1.8;
    font-size: 1em;
}

/* =================== COLORES DINÁMICOS =================== */
.servicio-card[data-color="blue"]:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-left: 5px solid #2196f3;
}

.servicio-card[data-color="blue"] .servicio-numero i {
    color: #2196f3;
}

.servicio-card[data-color="green"]:hover {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-left: 5px solid #4caf50;
}

.servicio-card[data-color="green"] .servicio-numero i {
    color: #4caf50;
}

.servicio-card[data-color="orange"]:hover {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-left: 5px solid #ff9800;
}

.servicio-card[data-color="orange"] .servicio-numero i {
    color: #ff9800;
}

.servicio-card[data-color="purple"]:hover {
    background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
    border-left: 5px solid #9c27b0;
}

.servicio-card[data-color="purple"] .servicio-numero i {
    color: #9c27b0;
}

.servicio-card[data-color="red"]:hover {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-left: 5px solid #f44336;
}

.servicio-card[data-color="red"] .servicio-numero i {
    color: #f44336;
}

.servicio-card[data-color="teal"]:hover {
    background: linear-gradient(135deg, #e0f2f1 0%, #b2dfdb 100%);
    border-left: 5px solid #009688;
}

.servicio-card[data-color="teal"] .servicio-numero i {
    color: #009688;
}

.servicio-card[data-color="pink"]:hover {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    border-left: 5px solid #e91e63;
}

.servicio-card[data-color="pink"] .servicio-numero i {
    color: #e91e63;
}

.servicio-card[data-color="indigo"]:hover {
    background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
    border-left: 5px solid #3f51b5;
}

.servicio-card[data-color="indigo"] .servicio-numero i {
    color: #3f51b5;
}

.servicio-card[data-color="yellow"]:hover {
    background: linear-gradient(135deg, #fffde7 0%, #fff9c4 100%);
    border-left: 5px solid #ffeb3b;
}

.servicio-card[data-color="yellow"] .servicio-numero i {
    color: #fbc02d;
}

.servicio-card[data-color="cyan"]:hover {
    background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
    border-left: 5px solid #00bcd4;
}

.servicio-card[data-color="cyan"] .servicio-numero i {
    color: #00bcd4;
}

.servicio-card[data-color="lime"]:hover {
    background: linear-gradient(135deg, #f9fbe7 0%, #f0f4c3 100%);
    border-left: 5px solid #cddc39;
}

.servicio-card[data-color="lime"] .servicio-numero i {
    color: #827717;
}

.servicio-card[data-color="amber"]:hover {
    background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
    border-left: 5px solid #ffc107;
}

.servicio-card[data-color="amber"] .servicio-numero i {
    color: #ffa000;
}

.servicio-card[data-color="deepPurple"]:hover {
    background: linear-gradient(135deg, #ede7f6 0%, #d1c4e9 100%);
    border-left: 5px solid #673ab7;
}

.servicio-card[data-color="deepPurple"] .servicio-numero i {
    color: #673ab7;
}

.servicio-card[data-color="blueGrey"]:hover {
    background: linear-gradient(135deg, #eceff1 0%, #cfd8dc 100%);
    border-left: 5px solid #607d8b;
}

.servicio-card[data-color="blueGrey"] .servicio-numero i {
    color: #607d8b;
}

.servicio-card[data-color="brown"]:hover {
    background: linear-gradient(135deg, #efebe9 0%, #d7ccc8 100%);
    border-left: 5px solid #795548;
}

.servicio-card[data-color="brown"] .servicio-numero i {
    color: #795548;
}

.servicio-card[data-color="deepOrange"]:hover {
    background: linear-gradient(135deg, #fbe9e7 0%, #ffccbc 100%);
    border-left: 5px solid #ff5722;
}

.servicio-card[data-color="deepOrange"] .servicio-numero i {
    color: #ff5722;
}

.servicio-card[data-color="lightBlue"]:hover {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    border-left: 5px solid #03a9f4;
}

.servicio-card[data-color="lightBlue"] .servicio-numero i {
    color: #03a9f4;
}

/* =================== RESPONSIVIDAD SERVICIOS =================== */
@media screen and (max-width: 768px) {
    .servicios-hero h1 {
        font-size: 2em;
    }

    .servicios-hero p {
        font-size: 1.1em;
    }

    .servicios-container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 15px;
    }

    .servicio-card {
        padding: 25px;
    }

    .servicio-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
}

@media screen and (max-width: 480px) {
    .servicios-hero {
        padding: 60px 15px 40px;
    }

    .servicios-hero h1 {
        font-size: 1.8em;
    }

    .servicios-hero p {
        font-size: 1em;
    }

    .servicio-card {
        padding: 20px;
    }

    .servicio-numero {
        font-size: 1.5em;
    }

    .servicio-card h3 {
        font-size: 1.3em;
    }

    .servicio-card p {
        font-size: 0.95em;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .servicios-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1400px) {
    .servicios-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* =========================================================================
   SECCIÓN 16: DIRECTORIO
   ========================================================================= */

/* Contenedor del mapa -------------------------------------------------------------------------------------*/
.map-container {
    width: min(100%, 980px);
    margin: clamp(14px, 2vw, 24px) auto;
    padding: clamp(8px, 1.2vw, 12px);
    border-radius: 15px; /* Bordes redondeados */
    overflow: hidden; 
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Sombra para un efecto elegante */
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

@media (hover: hover) and (pointer: fine) {
    .map-container:hover {
        transform: scale(1.02); 
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
}

.map-container iframe {
    display: block;
    width: 100%; 
    height: clamp(280px, 52vw, 520px);
    aspect-ratio: 16 / 9;
    border: none; 
}

@media (max-width: 768px) {
    .map-container {
        width: calc(100% - 24px);
        border-radius: 12px;
        padding: 8px;
    }

    .map-container iframe {
        height: clamp(300px, 68vw, 480px);
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 480px) {
    .map-container {
        width: calc(100% - 16px);
        border-radius: 10px;
        padding: 6px;
    }

    .map-container iframe {
        height: clamp(300px, 74vw, 420px);
    }
}

/* Contenedor de los datos escolares  -----------------------------------------------------------------------*/
.datos-escolares {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #ffffff;
}

.contenedor-contactos {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

.titulo-contacto {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
}

.texto-contacto {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.texto-contacto i {
    color: #000000;
    margin-right: 8px;
}

.texto-contacto a {
    color: #007BFF;
    text-decoration: none;
}

.texto-contacto a:hover {
    text-decoration: underline;
}

/* =========================================================================
   SECCIÓN 17: EVENTOS
   ========================================================================= */

/* Sección de Eventos */
.eventos-section {
    padding: 60px 0;
    width: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: calc(100vh - 95px);
}

/* Header de Eventos */
.eventos-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 40px;
}

.eventos-header h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.eventos-header p {
    font-size: 1.1rem;
    color: #5a6c7d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid de Eventos */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 40px;
    justify-items: center;
}

/* Tarjeta de Evento Individual */
.evento-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 540px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.evento-embed {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.evento-card .fb-post {
    width: 100%;
    max-width: 100%;
}

.evento-card .fb-post > span,
.evento-card .fb-post iframe {
    width: 100% !important;
    max-width: 100% !important;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.evento-card iframe {
    width: 100%;
    border-radius: 8px;
}

/* =========================================================================
   RESPONSIVIDAD SECCIÓN EVENTOS
   ========================================================================= */

/* Tablets */
@media (max-width: 768px) {
    .eventos-section {
        padding: 40px 0;
    }

    .eventos-header {
        padding: 0 20px;
    }

    .eventos-header h1 {
        font-size: 2rem;
    }

    .eventos-header p {
        font-size: 1rem;
    }

    .eventos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 20px;
    }

    .evento-card {
        padding: 15px;
        max-width: 100%;
    }

    .evento-card .fb-post,
    .evento-card .fb-post > span,
    .evento-card .fb-post iframe {
        max-width: 100% !important;
    }
}

/* Móviles */
@media (max-width: 480px) {
    .eventos-section {
        padding: 30px 0;
    }

    .eventos-header {
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .eventos-header h1 {
        font-size: 1.5rem;
    }

    .eventos-header p {
        font-size: 0.9rem;
    }

    .eventos-grid {
        padding: 0 15px;
    }

    .evento-card {
        padding: 10px;
        border-radius: 8px;
    }

    .evento-card iframe {
        border-radius: 6px;
    }
}

/* =========================================================================
   SECCIÓN: GALERÍA DE INSTALACIONES
   ========================================================================= */
.galeria-instalaciones {
    padding: 60px 20px;
    background-color: #ffffff;
    text-align: center;
}

.galeria-instalaciones h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.galeria-instalaciones h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.galeria-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.galeria-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    padding: 20px 15px 15px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
}

.galeria-overlay span {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 85%;
    max-height: 75vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lightbox-caption {
    color: #fff;
    font-size: 1.1rem;
    margin-top: 16px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    font-size: 32px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Responsive galería */
@media screen and (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .galeria-instalaciones {
        padding: 40px 16px;
    }

    .galeria-instalaciones h2 {
        font-size: 1.6rem;
    }

    .galeria-overlay {
        opacity: 1;
    }

    .galeria-item:hover img {
        transform: none;
    }

    .lightbox-img {
        max-width: 95%;
        max-height: 70vh;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

@media screen and (max-width: 480px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .galeria-item {
        aspect-ratio: 16 / 10;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
}

/* =========================================================================
   SECCIÓN: KNOTION SPOTLIGHT (Heedfulness + Inmersivo)
   ========================================================================= */
.knotion-spotlight {
    padding: 80px 20px;
    background: #ffffff;
    position: relative;
}

.knotion-spotlight-header {
    text-align: center;
    margin-bottom: 60px;
}

.knotion-spotlight-header h2 {
    font-size: 2.4rem;
    color: #000;
    display: inline-block;
}

.knotion-spotlight-header h2::after {
    content: "";
    display: block;
    height: 4px;
    width: 100%;
    margin-top: 8px;
    background: linear-gradient(to right, #2196F3 33.3%, #F44336 33.3% 66.6%, #FFEB3B 66.6%);
    border-radius: 2px;
}

.knotion-spotlight-header .subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-top: 14px;
}

.spotlight-cards {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.spotlight-card {
    display: flex;
    align-items: center;
    gap: 50px;
    background: #f8fafc;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.spotlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 45px rgba(33, 150, 243, 0.15);
}

.spotlight-card-reverse {
    flex-direction: row-reverse;
}

.spotlight-img-wrapper {
    flex: 1 1 45%;
    min-height: 350px;
    position: relative;
    overflow: hidden;
}

.spotlight-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.6s ease;
}

.spotlight-card:hover .spotlight-img-wrapper img {
    transform: scale(1.04);
}

.spotlight-content {
    flex: 1 1 55%;
    padding: 45px 40px;
}

.spotlight-content h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 16px;
    position: relative;
}

.spotlight-content h3::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background: #2196F3;
    border-radius: 2px;
    margin-top: 10px;
    transition: width 0.4s ease;
}

.spotlight-card:hover .spotlight-content h3::after {
    width: 90px;
}

.spotlight-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 22px;
}

.spotlight-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.spotlight-tags li {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1565c0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.3s ease;
}

.spotlight-tags li:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
    transform: translateY(-2px);
}

/* Animación fade-in al scroll */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Spotlight */
@media screen and (max-width: 768px) {
    .knotion-spotlight {
        padding: 50px 16px;
    }

    .knotion-spotlight-header {
        margin-bottom: 40px;
    }

    .knotion-spotlight-header h2 {
        font-size: 1.8rem;
    }

    .spotlight-cards {
        gap: 35px;
    }

    .spotlight-card,
    .spotlight-card-reverse {
        flex-direction: column;
    }

    .spotlight-img-wrapper {
        min-height: 220px;
        width: 100%;
    }

    .spotlight-content {
        padding: 28px 24px;
    }

    .spotlight-content h3 {
        font-size: 1.5rem;
    }

    .spotlight-content p {
        font-size: 1rem;
    }

    .spotlight-card:hover {
        transform: none;
    }

    .spotlight-card:hover .spotlight-img-wrapper img {
        transform: none;
    }
}

@media screen and (max-width: 480px) {
    .knotion-spotlight-header h2 {
        font-size: 1.5rem;
    }

    .spotlight-img-wrapper {
        min-height: 180px;
    }

    .spotlight-content {
        padding: 22px 18px;
    }

    .spotlight-content h3 {
        font-size: 1.3rem;
    }

    .spotlight-content p {
        font-size: 0.95rem;
    }

    .spotlight-tags li {
        font-size: 0.8rem;
        padding: 5px 12px;
    }
}

/* =========================================================================
   FIN DEL ARCHIVO CSS CONSOLIDADO
   Total de líneas: 3400+
   Todas las secciones organizadas y sin duplicados
   ========================================================================= */
