/* Modernización de Estilos para Educar en Apego */

body {
    background-color: #f8f9fa;
    color: #2d3436;
    line-height: 1.8;
}

/* Sombras y bordes modernos para secciones */
section {
    border-radius: 30px; /* Estética moderna redondeada */
    overflow: hidden;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #fff;
    box-shadow: 0 15px 45px rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.02);
}

#inicio #nosotros {
    background-position: center !important;
    background-size: cover !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px !important;
}

#inicio #nosotros-limite {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 40px !important;
    box-sizing: border-box !important;
}

/* Ajuste Equipo Profesionales */
#inicio #equipo {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    grid-gap: 15px !important; 
    width: 98% !important;
    max-width: 1400px !important;
    margin: 60px auto !important;
}

#inicio #equipo .chico {
    flex: 1 1 200px !important;
    max-width: 280px !important;
    padding: 25px 15px !important;
}

.chico {
    background: #fff;
    border-radius: 25px;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

.chico:hover { 
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

/* Efecto Ver CV en Profesionales */
.chico .img-container {
    position: relative;
    width: 180px !important;
    height: 180px !important;
    margin: 0 auto 20px;
    cursor: default;
    border-radius: 50% !important;
    border: 4px solid #fff !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: visible !important; /* Liberado para el anillo */
    box-sizing: border-box !important;
    z-index: 1;
}

.chico.tiene-cv .img-container { cursor: pointer; }

/* El Anillo de Conexión Animado (Carga) */
.chico .img-container::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: currentColor; /* El color se hereda */
    border-right-color: currentColor;
    transition: all 0.4s ease;
    z-index: -1;
    opacity: 0;
    transform: rotate(-90deg);
}

.chico:hover .img-container::before {
    opacity: 1;
    top: -12px;
    left: -12px;
    right: -12px;
    bottom: -12px;
    transform: rotate(270deg); /* Giro completo de 360 grados */
}

/* Colores dinámicos para el anillo de carga */
.chico:nth-child(1):hover .img-container::before,
.chico:nth-child(4):hover .img-container::before { color: var(--rojo); }
.chico:nth-child(2):hover .img-container::before,
.chico:nth-child(3):hover .img-container::before { color: var(--celeste); }

.chico .img-container img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center;
    margin-bottom: 0 !important;
    border: none !important; 
    transition: transform 0.3s ease !important;
    display: block !important;
    border-radius: 50% !important; /* Aseguramos el recorte de la imagen */
}

/* Ajuste específico para la foto de Kevin */
img[src*="KevinBarchiesi.jpg"] {
    object-position: left center !important;
}

.chico .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.45); /* Filtro más claro para ver mejor los rostros */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 50% !important;
    z-index: 2;
}

.chico:hover .overlay { opacity: 1; }
.chico .overlay.none {
    background: rgba(0, 0, 0, 0.15); /* Aún más leve para fotos sin acción */
    cursor: default;
}

/* Estandarización de escala para todo el equipo */
.chico:hover .img-container img,
.chico:hover .overlay {
    transform: scale(1.05); /* Un crecimiento más sutil para no perder el marco */
}

/* Ajustes Sección Cursos Home - Rediseño 2026 */
#inicio #servicios {
    padding: 120px 40px !important;
    background: #ffffff;
    text-align: center;
}

@media screen and (max-width: 600px) {
    #inicio #servicios {
        padding: 60px 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .contenedor-tarjetas-cursos {
        gap: 0 !important;
        width: 100% !important;
    }
    .tarjeta-segmento {
        border-radius: 20px !important;
        margin: 15px !important;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
        border: 1px solid rgba(0,0,0,0.05) !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.04) !important;
        padding: 40px 25px !important;
    }
    .tarjeta-segmento:hover {
        transform: none !important;
    }

    #capacitaciones {
        width: 100% !important;
        max-width: 100% !important;
        margin: 40px 0 !important;
        border-radius: 0 !important;
        padding: 60px 0 !important;
    }

    .capacitacion-card {
        border-radius: 0 !important;
        padding: 40px 20px !important;
        border-left: none !important;
        border-right: none !important;
        box-shadow: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .capacitacion-slider-wrapper .slider-controls {
        padding: 0 5px !important;
    }

    .capacitacion-slider-wrapper .slider-controls span {
        width: 35px !important;
        height: 35px !important;
        font-size: 1rem !important;
        background: rgba(255, 255, 255, 0.7) !important; /* Más transparente */
    }

    #inicio #equipo {
        width: 100% !important;
        max-width: 100% !important;
        padding: 40px 10px !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-gap: 30px 10px !important;
        box-sizing: border-box !important;
    }
    
    #inicio #equipo .chico {
        width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        transform: none !important;
        box-shadow: none !important;
        background: transparent !important;
        border: none !important;
    }

    #inicio #equipo .img-container {
        width: 110px !important;
        height: 110px !important;
        margin-bottom: 10px !important;
        border-width: 3px !important;
        box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
    }

    #inicio #equipo img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        border: none !important;
        border-radius: 50% !important;
    }

    #inicio #equipo span {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    #inicio #equipo p {
        font-size: 12px !important;
        padding: 0 5px !important;
    }

    #inicio #nosotros {
        width: 100% !important;
        padding: 60px 0 !important;
        margin: 0 !important;
        background-position: center 250px !important; /* Ajuste de fondo para no desplazar */
        overflow: hidden !important;
    }

    #inicio #nosotros .gridbox {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }

    #inicio #nosotros #nosotros-logo {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-bottom: 30px !important;
    }

    #inicio #nosotros #nosotros-logo img {
        width: 220px !important; /* Zoom out de la imagen para mejor balance */
        height: 220px !important;
        margin: 0 auto !important;
    }

    #inicio #nosotros #nosotros-texto {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #inicio #nosotros p {
        text-align: center !important; /* Texto centrado para coherencia */
        font-size: 16px !important;
        line-height: 1.6 !important;
        width: 100% !important;
    }

    #inicio #nosotros .lista-atributos {
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin: 20px auto 0 !important;
        text-align: left !important;
    }
}

.contenedor-tarjetas-cursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.tarjeta-segmento {
    background: #fff;
    border-radius: 25px;
    padding: 45px 35px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}

.tarjeta-segmento:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.08);
}

.segmento-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.tarjeta-segmento:hover .segmento-icon {
    transform: rotate(-10deg) scale(1.1);
}

.segmento-icon svg {
    width: 32px;
    height: 32px;
    stroke: #fff;
}

.tarjeta-segmento h4 {
    font-size: 1.5rem;
    font-family: 'Paytone One', sans-serif;
    margin: 0;
    line-height: 1.2;
    color: #333;
}

.tarjeta-segmento p {
    font-size: 1rem !important;
    color: #666 !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.6 !important;
    text-align: left !important;
}

/* Botones modernos base y elementos interactivos */
.boton, button, .boton-instagram, .boton-programa, .testimonios-controls span, .slider-controls span {
    border-radius: 50px !important;
    padding: 12px 30px !important;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.boton:hover {
    box-shadow: 0 5px 15px rgba(252, 87, 85, 0.4);
    opacity: 0.9;
}

/* Botones de Programa (Estilo Minimalista) */
.boton-programa {
    background: transparent !important;
    border: 2px solid #FC5755 !important;
    color: #FC5755 !important;
}

.boton-programa:hover {
    background: #FC5755 !important;
    color: #fff !important;
}

/* Colores específicos según sección */
.profesionales .boton-programa, #seccion-curso-profesionales .boton-programa {
    border-color: #00A896 !important;
    color: #00A896 !important;
}

.docentes .boton-programa, #parental.celeste .boton-programa {
    border-color: var(--celeste) !important;
    color: var(--celeste) !important;
}

.padres .boton-programa, #parental.amarillo .boton-programa {
    border-color: var(--amarillo) !important;
    color: var(--amarillo) !important;
}

.tarjeta-segmento.profesionales { border-top: 6px solid #00A896; }
.tarjeta-segmento.profesionales .segmento-icon { background: #00A896; }
.tarjeta-segmento.profesionales h4 { color: #00A896; }

.tarjeta-segmento.docentes { border-top: 6px solid var(--celeste); }
.tarjeta-segmento.docentes .segmento-icon { background: var(--celeste); }
.tarjeta-segmento.docentes h4 { color: var(--celeste); }

.tarjeta-segmento.padres { border-top: 6px solid var(--amarillo); }
.tarjeta-segmento.padres .segmento-icon { background: var(--amarillo); }
.tarjeta-segmento.padres h4 { color: var(--amarillo); }

/* Estilo Botón Segmento Home */
.boton-segmento {
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 30px;
    margin-top: 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.profesionales .boton-segmento { 
    color: #fff; 
    background: #00A896; 
    box-shadow: 0 4px 15px rgba(0, 168, 150, 0.2);
}
.docentes .boton-segmento { 
    color: #fff; 
    background: var(--celeste); 
    box-shadow: 0 4px 15px rgba(0, 194, 202, 0.2);
}
.padres .boton-segmento { 
    color: #fff; 
    background: var(--amarillo); 
    box-shadow: 0 4px 15px rgba(225, 164, 51, 0.2);
}

.boton-segmento:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    filter: brightness(1.1);
}

/* Detalle Curso Profesionales Home */
#seccion-curso-profesionales {
    max-width: 1100px !important;
    width: 90% !important;
    margin: 40px auto !important;
    padding: 80px !important;
    background: #fff;
    border-radius: 30px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* Botones de acción en tarjetas Home */
.tarjeta-segmento .boton {
    margin-top: 20px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.profesionales .boton { background: #00A896 !important; }
.docentes .boton { background: var(--celeste) !important; }
.padres .boton { background: var(--amarillo) !important; }

.tarjeta-segmento:hover .boton {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

#seccion-curso-profesionales .titulo-especial {
    color: #00A896 !important;
    font-size: clamp(1.5rem, 4vw, 2rem) !important;
    margin-bottom: 45px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    width: 100% !important;
}

#seccion-curso-profesionales .curso-contenido-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 40px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}

#seccion-curso-profesionales .curso-texto-col p {
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #444 !important;
    text-align: left !important;
}

#seccion-curso-profesionales .curso-imagen-col img {
    width: 200px !important;
    height: 200px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 4px solid #00A896 !important;
}

body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative !important;
}

#inicio {
    overflow-x: hidden !important;
}

/* ========================================================================== */
/* SISTEMA HERO RESPONSIVO FLUIDO */
/* ========================================================================== */

#hero-estatico {
    position: relative;
    width: 100% !important; /* Forzado al 100% */
    max-width: 100% !important; /* Sin límites laterales */
    height: calc(100vh - 100px);
    min-height: 500px;
    margin-top: 82px;
    background-color: #000;
    overflow: hidden !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    /* Eliminación de bordes y sombras para integración total */
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hero-visual-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: kenBurnsHero 20s ease-in-out infinite alternate;
    transform-origin: bottom center; /* Fija la base */
}

.hero-imagen-fondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 75% 15%;
    background-repeat: no-repeat;
}

.hero-fume-integracion {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

@keyframes kenBurnsHero {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.hero-contenido {
    position: relative;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 10px 5% 20px !important;
    text-align: left !important;
    pointer-events: none;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start !important;
    height: 30vh !important;
}

.hero-texto {
    width: 100% !important;
    max-width: 750px !important;
    margin: 0 !important;
    color: white;
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start !important;
}

.hero-texto h1 { 
    font-size: clamp(1.1rem, 4.5vw, 2.4rem) !important; 
    font-family: 'Paytone One', sans-serif; 
    color: #ffffff !important; 
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8); 
    margin: 10px 0 !important;
    line-height: 1.1;
    text-align: left !important;
}

.hero-texto p {
    text-align: left !important;
    margin-bottom: 20px !important;
}

.hero-texto .autoridad { 
    font-size: clamp(0.55rem, 1.8vw, 0.85rem) !important; 
    color: #FF6B6B; font-weight: bold; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 10;
    transform: scaleY(-1);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-divider .shape-fill {
    fill: #ffffff;
}

/* OPTIMIZACIÓN GRAN PANTALLA (>= 1665px) */
@media screen and (min-width: 1665px) {
    #hero-estatico {
        flex-direction: row !important;
        justify-content: flex-start !important;
        align-items: center !important;
        height: calc(100vh - 100px) !important;
    }
    .hero-imagen-fondo { background-position: right center !important; }
    .hero-fume-integracion {
        width: 50% !important;
        height: 100% !important;
        background: linear-gradient(to right, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0) 100%) !important;
    }
    .hero-contenido {
        text-align: left !important;
        height: auto !important;
        align-items: flex-start !important;
        margin-left: 80px !important;
    }
    .hero-texto { text-align: left !important; max-width: 550px !important; }
    .hero-texto h1 { font-size: 3.5rem !important; text-align: left !important; }
    .hero-texto p { font-size: 1.4rem !important; text-align: left !important; }
    .hero-texto .autoridad { font-size: 1rem !important; }
}

/* OPTIMIZACIÓN TABLETS (Menores a 1100px) */
@media screen and (max-width: 1100px) {
    .hero-contenido { height: 40vh !important; padding-bottom: 30px !important; }
    .hero-texto h1 { font-size: clamp(1.3rem, 5vw, 2.2rem) !important; }
}

/* OPTIMIZACIÓN MÓVIL (Menores a 600px) */
@media screen and (max-width: 600px) {
    #hero-estatico { overflow: hidden !important; width: 100vw !important; margin-left: calc(-50vw + 50%); }
    .hero-visual-wrapper { width: 100vw !important; left: 0 !important; }
    .hero-imagen-fondo { background-position: 75% top !important; width: 100vw !important; left: 0 !important; }
    .hero-contenido { padding: 0 10% 40px !important; height: auto !important; min-height: 45vh !important; justify-content: flex-end !important; text-align: center !important; }
    .hero-texto { max-width: 100% !important; display: flex; flex-direction: column; align-items: center; }
    .hero-texto h1 { font-size: clamp(1.2rem, 6vw, 1.8rem) !important; margin: 10px 0 !important; line-height: 1.2 !important; text-align: center !important; }
    .hero-texto p { font-size: clamp(0.85rem, 4vw, 1rem) !important; line-height: 1.4 !important; margin-bottom: 20px !important; text-align: center !important; }
    .hero-texto .autoridad { font-size: 0.75rem !important; margin-bottom: 10px !important; text-align: center !important; }
    .hero-botones { display: flex; justify-content: center; width: 100%; }
}

/* CONFIGURACIÓN EXCLUSIVA MODO HORIZONTAL (LANDSCAPE) */
@media screen and (orientation: landscape) and (max-height: 600px) {
    #hero-estatico { height: 100vh !important; min-height: 280px !important; }
    .hero-contenido { height: 30vh !important; padding: 2px 15px 5px !important; justify-content: center !important; }
    .hero-texto h1 { font-size: clamp(0.6rem, 6vh, 1.2rem) !important; margin: 1px auto !important; line-height: 1.0 !important; }
    .hero-texto p { font-size: clamp(0.5rem, 3vh, 0.75rem) !important; margin-bottom: 3px !important; line-height: 1.0 !important; max-width: 500px !important; }
}

.hero-divider {
    position: absolute;
    bottom: -1px; /* Pegado al fondo */
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1000 !important;
    transform: scaleY(-1);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.hero-divider .shape-fill {
    fill: #ffffff;
}

/* ========================================================================== */
/* CIERRE DE PÁGINA PREMIUM (UNIFICADO) */
/* ========================================================================== */

#preguntas-frecuentes, #instagram-cta, #telegram, #mercadopago, #ubicacion {
    border-radius: 30px !important;
    margin: 40px auto !important;
    width: 94% !important;
    max-width: 1400px !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.02) !important;
    overflow: hidden !important;
}

#ubicacion {
    background: #fff !important;
    padding: 80px 40px !important;
    text-align: center !important;
}

#ubicacion address {
    font-style: normal !important;
    font-size: 1.1rem !important;
    color: #666 !important;
    margin-bottom: 30px !important;
    display: block !important;
}

#ubicacion iframe {
    width: 100% !important;
    height: 450px !important;
    border: none !important;
    border-radius: 20px !important;
    filter: grayscale(0.2) contrast(1.1);
    transition: all 0.5s ease;
}

#ubicacion iframe:hover {
    filter: grayscale(0) contrast(1);
}

#preguntas-frecuentes {
    background: transparent !important;
    padding: 80px 4% !important;
    box-shadow: none !important;
    border: none !important;
}

#preguntas-frecuentes details {
    background: #fff !important;
    margin-bottom: 20px !important;
    border-radius: 15px !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
    text-align: left !important;
}

#preguntas-frecuentes details:hover:not([open]) {
    transform: translateY(-3px) !important;
    border-color: rgba(36, 129, 204, 0.15) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04) !important;
}

#preguntas-frecuentes details[open] {
    box-shadow: 0 15px 40px rgba(36, 129, 204, 0.12) !important;
    border: 1px solid rgba(36, 129, 204, 0.2) !important;
    transform: translateY(-2px) !important;
}

#preguntas-frecuentes summary {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    cursor: pointer !important;
    list-style: none !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 22px 25px !important;
    gap: 15px !important;
    transition: all 0.3s ease !important;
    background: #fff !important;
}

#preguntas-frecuentes summary::-webkit-details-marker {
    display: none !important;
}

#preguntas-frecuentes summary::before {
    content: '+';
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: rgba(36, 129, 204, 0.1);
    color: #2481cc;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 1.3rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-weight: normal !important;
}

#preguntas-frecuentes details[open] summary::before {
    transform: rotate(45deg) !important;
    background: #2481cc !important;
    color: #fff !important;
}

#preguntas-frecuentes details p, 
#preguntas-frecuentes details ul {
    padding: 0 25px 30px 72px !important;
    margin: 0 !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    color: #555 !important;
    background: #fff !important;
}

#mercadopago {
    background: #fdfdfd !important;
    padding: 60px 40px !important;
    text-align: center;
}

#inicio #mercadopago .gridbox {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 40px !important;
    margin: 0 auto 30px auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

#inicio #mercadopago img {
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
    cursor: pointer;
    display: inline-block !important;
    margin: 0 !important;
}

#inicio #mercadopago img:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

#inicio #mercadopago #mercadopago-logo { width: 180px !important; }
#inicio #mercadopago #paypal-logo { width: 150px !important; }
#inicio #mercadopago #ahora3, #inicio #mercadopago #ahora6 { width: 80px !important; }

@media screen and (max-width: 600px) {
    #mercadopago .gridbox {
        flex-direction: column;
        gap: 20px;
    }
    #mercadopago #mercadopago-logo { width: 140px; }
    #mercadopago #paypal-logo { width: 120px; }
}

#telegram {
    background: linear-gradient(-45deg, #2481cc, #34aadc, #1d71b8, #40b3e0) !important;
    background-size: 400% 400% !important;
    animation: gradientTelegram 15s ease infinite !important;
    color: #fff !important;
    padding: 80px 40px !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes gradientTelegram { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

#telegram .gridbox img {
    width: 150px !important;
    background: #fff;
    padding: 12px;
    border-radius: 20px;
    animation: floatTelegram 5s ease-in-out infinite;
}

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

#instagram-cta { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important; 
    padding: 100px 40px !important;
    position: relative;
    overflow: hidden;
}

#instagram-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: rotateShine 15s linear infinite;
}

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

.contenedor-insta { position: relative; z-index: 2; animation: floatInstagram 4s ease-in-out infinite; }
@keyframes floatInstagram { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.boton-instagram {
    background: #fff !important;
    color: #dc2743 !important;
    border-radius: 50px !important;
    padding: 16px 45px !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    display: inline-block !important;
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.boton-instagram:hover {
    transform: scale(1.08) translateY(-3px) !important;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
    box-shadow: 0 15px 35px rgba(220, 39, 67, 0.4) !important;
}

/* ========================================================================== */
/* CAPACITACIONES PREMIUM */
/* ========================================================================== */

#capacitaciones {
    padding: 100px 20px !important;
    background: linear-gradient(to bottom, #ffffff, #f9f9f9) !important;
    width: 94%;
    max-width: 1400px;
    margin: 60px auto !important;
    border-radius: 30px !important;
}

.capacitacion-card {
    background: #fff;
    border-radius: 30px !important;
    padding: 50px !important;
    box-shadow: 0 15px 45px rgba(0,0,0,0.03) !important;
    border: 1px solid rgba(0,0,0,0.02);
}

.capacitacion-card h4 {
    font-size: 1.8rem !important;
    color: #2481cc !important;
    margin-bottom: 40px !important;
    font-family: 'Paytone One', sans-serif;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.capacitacion-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: rgba(36, 129, 204, 0.3);
    border-radius: 2px;
}

/* ========================================================================== */
/* ESTILOS DE TÍTULOS (TITULARES) MODERNOS */
/* ========================================================================== */

.titular {
    font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
    font-family: 'Paytone One', sans-serif !important;
    text-align: center !important;
    margin: 0 auto 50px auto !important;
    line-height: 1.2 !important;
    position: relative !important;
    padding-bottom: 20px !important;
    display: block !important;
    width: fit-content !important;
    max-width: 90% !important;
}

.titular::after {
    content: '' !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100px !important;
    height: 6px !important;
    border-radius: 3px !important;
}

/* Colores base por módulo */
#profesionales .titular { color: #2481cc !important; }
#profesionales .titular::after { background: rgba(36, 129, 204, 0.3) !important; }

#docentes .titular { color: var(--celeste) !important; }
#docentes .titular::after { background: rgba(0, 194, 202, 0.3) !important; }

#padres .titular { color: var(--amarillo) !important; }
#padres .titular::after { background: rgba(225, 164, 51, 0.3) !important; }

#inicio .titular { color: var(--rojo) !important; }
#inicio .titular::after { background: rgba(252, 87, 85, 0.3) !important; }

/* Ajustes específicos para títulos dentro de tarjetas finales */
.seccion-final-cta h4.titular {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem) !important;
    margin-bottom: 25px !important;
}

@media screen and (max-width: 600px) {
    .titular {
        font-size: 1.8rem !important;
        margin-bottom: 35px !important;
    }
}

.capacitacion-slider-wrapper {
    flex: 1.2;
    position: relative;
    max-width: 650px;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    background: #000;
}

.simple-slider {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 65%;
    overflow: hidden;
}

.simple-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.simple-slider .slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.simple-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* CONTROLES SLIDER CAPACITACIONES - POSICIONAMIENTO FIJO */
.capacitacion-slider-wrapper .slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 10;
    pointer-events: none;
}

.capacitacion-slider-wrapper .slider-controls span {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rojo);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.capacitacion-slider-wrapper .slider-controls span:hover {
    background: var(--rojo);
    color: #fff;
    transform: scale(1.1);
}

.capacitacion-flex {
    display: flex;
    align-items: stretch;
    gap: 50px;
}

.capacitacion-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

#capacitacion-descripcion {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    color: #555;
    padding: 20px;
    background: #fdfbf7;
    border-left: 4px solid var(--rojo);
    border-radius: 0 15px 15px 0;
}

@media screen and (max-width: 850px) {
    .capacitacion-flex { flex-direction: column; }
    #capacitacion-descripcion { border-left: none; border-top: 4px solid var(--rojo); border-radius: 0 0 15px 15px; }
}

/* ========================================================================== */
/* SISTEMA DE GRILLAS EXPANDIBLES PREMIUM */
/* ========================================================================== */

/* ========================================================================== */
/* FOCO REFLEXIVO - EFECTO PREMIUM ALTO CONTRASTE */
/* ========================================================================== */

#foco-moderno {
    background: rgba(0, 194, 202, 0.05) !important;
    border-radius: 25px !important;
    padding: 35px 40px !important;
    display: flex !important;
    align-items: center !important;
    gap: 30px !important;
    max-width: 750px !important;
    margin: 50px auto !important;
    text-align: left !important;
    border: 2px solid rgba(0, 194, 202, 0.1) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    cursor: default !important;
}

#foco-moderno .foco-icon {
    width: 70px !important;
    height: 70px !important;
    background: var(--celeste) !important;
    color: #fff !important;
    border-radius: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 10px 20px rgba(0, 194, 202, 0.2) !important;
}

#foco-moderno .foco-icon svg { width: 35px !important; height: 35px !important; }

#foco-moderno .foco-texto span {
    font-size: 0.9rem !important;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    color: var(--celeste) !important;
    letter-spacing: 2px !important;
    transition: all 0.4s ease !important;
}

#foco-moderno .foco-texto p {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #333 !important;
    margin: 8px 0 0 0 !important;
    line-height: 1.3 !important;
    transition: all 0.4s ease !important;
}

/* Efecto Mouse Over de Alto Contraste */
#foco-moderno:hover {
    background: var(--celeste) !important;
    border-color: var(--celeste) !important;
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 25px 50px rgba(0, 194, 202, 0.25) !important;
}

#foco-moderno:hover .foco-icon {
    background: #fff !important;
    color: var(--celeste) !important;
    transform: rotate(-5deg) scale(1.1) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

#foco-moderno:hover .foco-texto span {
    color: rgba(255, 255, 255, 0.8) !important;
}

#foco-moderno:hover .foco-texto p {
    color: #fff !important;
}

/* ========================================================================== */
/* ETAPAS VITALES - DISEÑO DE ALTO CONTRASTE */
/* ========================================================================== */

#etapas-vitales {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px auto;
    flex-wrap: wrap;
    max-width: 1000px;
}

.etapa {
    background: #fff;
    border: 2px solid #f0f0f0;
    padding: 20px 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    min-width: 250px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.etapa .numero {
    font-size: 2.5rem;
    font-weight: 900;
    color: #eee;
    font-family: 'Paytone One', sans-serif;
    line-height: 1;
    margin-bottom: 5px;
    transition: all 0.4s ease;
}

.etapa p {
    margin: 0;
    font-weight: 700;
    color: #555;
    font-size: 1.1rem;
    transition: all 0.4s ease;
}

/* Efecto Mouse Over de Alto Contraste */
.etapa:hover {
    background: var(--amarillo) !important;
    border-color: var(--amarillo) !important;
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(225, 164, 51, 0.3) !important;
}

.etapa:hover .numero {
    color: rgba(255, 255, 255, 0.4) !important;
}

.etapa:hover p {
    color: #fff !important;
}

@media screen and (max-width: 600px) {
    .etapa {
        min-width: 100%;
    }
}

.item-caracteristica.eviden p {
    font-size: 1.05rem !important;
    color: #444 !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    width: 100%;
}

.item-caracteristica.eviden p span {
    display: block !important;
    font-size: 0.8rem !important;
    color: #999 !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-extra.hidden { 
    display: none !important; 
}

.item-extra.visible { 
    display: flex !important; 
    animation: slideUpFadePremium 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards !important; 
}

.item-extra.removing {
    display: flex !important;
    pointer-events: none;
    animation: slideDownFadePremium 0.4s cubic-bezier(0.4, 0, 1, 1) forwards !important;
}

@keyframes slideUpFadePremium { 
    0% { opacity: 0; transform: translateY(30px) scale(0.98); } 
    100% { opacity: 1; transform: translateY(0) scale(1); } 
}

@keyframes slideDownFadePremium {
    0% { opacity: 1; transform: translateY(0) scale(1); }
    100% { opacity: 0; transform: translateY(20px) scale(0.98); }
}

.item-caracteristica, .item-extra.visible, .item-extra.removing {
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    position: relative;
    z-index: 1;
}

.item-caracteristica:hover, .item-extra.visible:hover { 
    transform: translateY(-8px) scale(1.01) rotate(0.5deg) !important; 
    box-shadow: 0 20px 40px rgba(36, 129, 204, 0.08) !important; 
    border-color: rgba(36, 129, 204, 0.25) !important;
    z-index: 10; 
}

/* Delays para efecto cascada suave */
.item-extra.visible:nth-of-type(6n+1) { animation-delay: 0.05s; }
.item-extra.visible:nth-of-type(6n+2) { animation-delay: 0.1s; }
.item-extra.visible:nth-of-type(6n+3) { animation-delay: 0.15s; }
.item-extra.visible:nth-of-type(6n+4) { animation-delay: 0.2s; }
.item-extra.visible:nth-of-type(6n+5) { animation-delay: 0.25s; }
.item-extra.visible:nth-of-type(6n+6) { animation-delay: 0.3s; }

/* LISTA ATRIBUTOS */
.lista-atributos {
    list-style: none; padding: 0; margin: 30px 0 0 0;
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: center;
}
.lista-atributos li { display: flex; align-items: center; gap: 10px; }
.lista-atributos li svg { width: 22px; height: 22px; }
.lista-atributos li span { font-size: 1.1rem; font-weight: 700; color: #444; }
.lista-atributos li:nth-child(1) svg { color: var(--rojo); }
.lista-atributos li:nth-child(2) svg { color: var(--celeste); }

/* OPTIMIZACIÓN PANTALLAS GRANDES */
@media screen and (min-width: 1300px) {
    #nosotros, #servicios, #parental, #preguntas-frecuentes, #capacitaciones, #equipo, #contacto {
        max-width: 1800px !important; width: 96% !important; padding: 80px 50px !important;
    }
}

.boton-expandir-grilla:hover {
    border-color: var(--rojo);
    color: var(--rojo);
    background: rgba(252, 87, 85, 0.05);
}

.docentes-container .boton-expandir-grilla:hover {
    border-color: var(--celeste) !important;
    color: var(--celeste) !important;
    background: rgba(0, 194, 202, 0.05) !important;
}

.padres-container .boton-expandir-grilla:hover {
    border-color: var(--amarillo) !important;
    color: var(--amarillo) !important;
    background: rgba(225, 164, 51, 0.05) !important;
}

/* AJUSTES MÓVIL SLIDERS Y TESTIMONIOS */
@media screen and (max-width: 600px) {
    /* Unificación de Testimonios */
    .testimonios-slider-wrapper {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .testimonios-controls {
        position: static !important;
        transform: none !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 25px !important; /* Espacio justo debajo de la tarjeta */
        pointer-events: auto !important;
        width: 100% !important;
        display: flex !important;
    }

    .testimonio-item {
        padding: 30px 20px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 20px !important;
    }

    /* Centrado de Capacitaciones Restaurado */
    .capacitacion-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .capacitacion-slider-wrapper {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .simple-slider {
        height: auto !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .simple-slider .slide {
        position: relative !important;
        display: none !important;
    }

    .simple-slider .slide.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .simple-slider .slide img {
        margin: 0 auto !important;
        display: block !important;
        border-radius: 15px !important;
        height: auto !important;
        width: 100% !important;
        position: static !important;
    }

    .capacitacion-slider-wrapper .slider-controls {
        position: static !important;
        transform: none !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 25px !important; /* Espacio debajo de la imagen */
        pointer-events: auto !important;
        width: 100% !important;
        display: flex !important;
    }

    .testimonios-controls span,
    .capacitacion-slider-wrapper .slider-controls span {
        width: 60px !important;
        height: 35px !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
        border-radius: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--rojo) !important; /* Color de flecha por defecto */
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important; /* Eliminar selección cuadrada */
        outline: none !important;
        transition: all 0.2s ease !important;
    }

    .testimonios-controls span:active,
    .capacitacion-slider-wrapper .slider-controls span:active {
        background: var(--rojo) !important;
        color: #fff !important; /* Flecha blanca al presionar */
        transform: scale(0.95) !important; /* Efecto de hundimiento */
        border-color: var(--rojo) !important;
    }
}

#desarrollador-creditos a { 
    text-decoration: none; 
    display: inline-block; 
    transition: all 0.3s ease; 
    padding: 10px; 
}
#desarrollador-creditos img { width: 60px; height: auto; margin-bottom: 10px; display: block; margin: 0 auto; }
#desarrollador-creditos p { margin: 0; font-weight: 800; color: #1A7373; text-transform: uppercase; font-size: 1.125rem; }
#desarrollador-creditos span { 
    display: block; 
    color: #E87C24; 
    font-weight: 500; 
    font-size: 10px; 
    margin-top: 4px; 
}

/* CONTROLES SLIDER CAPACITACIONES */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 15px;
    box-sizing: border-box;
    z-index: 10;
    pointer-events: none;
}

.slider-controls span {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.9);
    color: var(--rojo);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* SECCIÓN REFLEXIONES DE COLEGAS */
#reflexiones-colegas {
    margin-top: 50px;
    padding: 60px 20px;
    background: #fdfbf7;
    border-radius: 30px;
    border: 1px solid #eee;
    text-align: center;
}

.testimonio-item {
    display: none;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border-left: 6px solid #FC5755;
    text-align: left;
    margin: 10px;
}

.testimonio-item.active {
    display: block;
}

.testimonios-slider-wrapper {
    position: relative !important;
    padding: 0 60px !important;
    max-width: 1000px !important;
    margin: 0 auto !important;
}

.testimonios-controls {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    z-index: 10 !important;
    margin-top: 0 !important;
}

.testimonios-controls span {
    pointer-events: auto !important;
    background: #fff !important;
    color: #2481cc !important;
    width: 45px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
}

.testimonios-controls span:hover {
    background: #2481cc !important;
    color: #fff !important;
    transform: scale(1.1) !important;
}

/* BOTÓN EXPANDIR GRILLA PREMIUM */
.boton-expandir-grilla {
    background: transparent;
    border: 2px solid #eee;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 50px !important;
    display: inline-block;
}

.boton-expandir-grilla:hover {
    border-color: var(--rojo);
    color: var(--rojo);
    background: rgba(252, 87, 85, 0.05);
}

.docentes-container .boton-expandir-grilla:hover {
    border-color: var(--celeste) !important;
    color: var(--celeste) !important;
    background: rgba(0, 194, 202, 0.05) !important;
}

.padres-container .boton-expandir-grilla:hover {
    border-color: var(--amarillo) !important;
    color: var(--amarillo) !important;
    background: rgba(225, 164, 51, 0.05) !important;
}

/* AJUSTES MÓVIL SLIDERS Y TESTIMONIOS */
@media screen and (max-width: 600px) {
    /* Unificación de Testimonios */
    .testimonios-slider-wrapper {
        padding: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .testimonios-controls {
        position: static !important;
        transform: none !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 25px !important; /* Espacio justo debajo de la tarjeta */
        pointer-events: auto !important;
        width: 100% !important;
        display: flex !important;
    }

    .testimonio-item {
        padding: 30px 20px !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 20px !important;
    }

    /* Centrado de Capacitaciones Restaurado */
    .capacitacion-flex {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .capacitacion-slider-wrapper {
        width: 100% !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .simple-slider {
        height: auto !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
        width: 100% !important;
    }

    .simple-slider .slide {
        position: relative !important;
        display: none !important;
    }

    .simple-slider .slide.active {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .simple-slider .slide img {
        margin: 0 auto !important;
        display: block !important;
        border-radius: 15px !important;
        height: auto !important;
        width: 100% !important;
        position: static !important;
    }

    .capacitacion-slider-wrapper .slider-controls {
        position: static !important;
        transform: none !important;
        justify-content: center !important;
        gap: 20px !important;
        margin-top: 25px !important; /* Espacio debajo de la imagen */
        pointer-events: auto !important;
        width: 100% !important;
        display: flex !important;
    }

    .testimonios-controls span,
    .capacitacion-slider-wrapper .slider-controls span {
        width: 60px !important;
        height: 35px !important;
        background: #fff !important;
        border: 1px solid #ddd !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important;
        border-radius: 50px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--rojo) !important; /* Color de flecha por defecto */
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important; /* Eliminar selección cuadrada */
        outline: none !important;
        transition: all 0.2s ease !important;
    }

    .testimonios-controls span:active,
    .capacitacion-slider-wrapper .slider-controls span:active {
        background: var(--rojo) !important;
        color: #fff !important; /* Flecha blanca al presionar */
        transform: scale(0.95) !important; /* Efecto de hundimiento */
        border-color: var(--rojo) !important;
    }
}
