@import url('footer.css');
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root{
    /* Light Mode */
    --blanco: white;
    --negro: black;
    --azulClaro: lightblue;
    --intermedio: #B8E5C1;
    --verdeClaro: lightgreen;

    /* Dark Mode */
    --blanco: #1a1a1a;           /* Fondo oscuro principal */
    --negro: #e8e8e8;            /* Texto claro */
    --azulClaro: #4a9ebb;        /* Azul más saturado y oscuro */
    --intermedio_oscuro: #5a9d6f;       /* Verde intermedio más profundo */
    --verdeClaro: #6fb36f;       /* Verde más saturado */

    /* Colores adicionales útiles */
    --fondoSecundario: #252525;  /* Para cards y elementos elevados */
    --bordeSutil: #404040;       /* Para bordes suaves */
    --textoSecundario: #b8b8b8;  /* Para textos menos importantes */

    /*
        .dark-mode {
            background: linear-gradient(to right, #4a9ebb, #6fb36f);
        }
    */
}

    html {
        scroll-behavior: smooth;
        overflow-x: hidden;
    }
    *{
        color: black;
        margin: 0;
        padding: 0;
        font-family: "Barlow", sans-serif;
        font-size: 22px;
        text-decoration: none;
    }
    body{
        max-width: 100%;
        position: relative;
    }

    /*
    .Aniversario{
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.6);
        position: fixed;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 99;
    }
    .contenedor_aniversario{
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        position: absolute;
    }
    .seccion_aniversario{
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .casco{
        position: absolute;
        width: 130px;
        height: 100px;
        top: -27%;
        right: -8%;
        transform: rotate(15deg);
    }

    .div_aniversario{
        display: flex;
        align-items: center;
        justify-content: center;
        width: 300px;
        height: 200px;
        border-radius: 10px;
        border: solid 1px;
        background-color: white;
        box-shadow: 0 15px 30px rgba(120, 120, 120, 0.5);
    }

    .titulo_aniversario{
        font-family: "Barlow", sans-serif;
        padding: 1rem;
        text-align: center;
    }

    .video_aniversario{
        position: fixed;
        width: 650px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 10px;
        border: solid 1px;
        z-index: 99;
        display: none;
    }
    */

    /* HEADER */

    header{
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        padding: 0.8rem;

        .logo{ width: clamp(11rem, 2vw + 1rem, 12rem); }

        .articulos{
            position: relative;
            display: flex;
            gap: 1rem;
            p{ font-size: 0.7rem; padding: 0.6rem; position: relative; }
            .categoria::after, .categoria:hover::after{
                content: "";
                position: absolute;
                border: solid 0px;
                width: 0;
                bottom: 0;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: all 0.25s linear;
            }
            .inicio::after, .categoria:hover::after{
                border: solid 1px;
                width: 100%;
            }
            .inicio, .categoria:hover{ font-weight: bold; }
            .fa-bars{ font-size: 1.3rem; }
        }
        .sidebar{
            position: fixed;
            top: 0;
            right: 0;
            height: 100vh;
            width: 180px;
            z-index: 999;
            background-color: rgba(255, 255, 255, 0.5);
            -webkit-backdrop-filter: blur(10px);
            backdrop-filter: blur(10px);
            box-shadow: -10px 0 10px rgba(0, 0, 0, 0.2);
            display: none;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;

            p{ width: 100%; }
            a{ width: 100%; }
        }
    }

    /****************************************************************************************************************************/

    /* Sección: frases iniciales */

    .carousel-container{
        position: relative;
        width: 100vw;
        height: 100vh;
        overflow: hidden;

        .carousel-wrapper{
            display: flex;
            width: 300%;
            height: 100%;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);

            .carousel-slide{
                position: relative;
                overflow: hidden;
                width: 33.333%;
                height: 100%;
                background-size: cover;
                background-position: center;
                background-repeat: no-repeat;
                display: flex;
                align-items: center;
                justify-content: center;

                .slide-overlay{
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 100%;
                    height: 100%;
                    background: rgba(10, 10, 10, 0.6);
                    z-index: 3;
                    display: none;
                }
                .slide-content{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    align-items: center;
                    gap: 2rem;
                    position: relative;
                    z-index: 2;
                    text-align: center;
                    color: white;
                    padding: 0 2rem;
                    animation: slideInUp 0.8s ease-out;

                    .slide-title{
                        font-size: clamp(1.5rem, 3.8vw, 3.5rem);
                        font-weight: bold;
                        line-height: 1.2;
                        color: white;
                        text-shadow: 0 2px 10px rgba(255, 255, 255, 0.5);
                        width: 90%;

                        -webkit-text-fill-color: transparent;
                        background-clip: text;
                    }
                    .title_IEE{ 
                        background: linear-gradient(to right, rgba(143, 217, 251, 1), rgba(173, 216, 230, 1), rgba(134, 197, 216, 1)); 
                        -webkit-background-clip: text;
                    }
                    .title_ACE{
                        background: linear-gradient(to right, #8FCFA1, #B8E5C1, #E3F7E8);
                        -webkit-background-clip: text;
                    }
                    .title_ESH{
                        background: linear-gradient(to right, #6FCF7A, lightgreen, #C9F7C9);
                        -webkit-background-clip: text;
                    }
                    .slide-button{
                        position: relative;
                        display: inline-block;
                        padding: 0.8rem 1.8rem;
                        background: white;
                        color: #333;
                        font-weight: bold;
                        font-size: 0.8rem;
                        width: 150px;
                        border-radius: 50px;
                        transition: all 0.3s ease;
                        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
                        /* overflow: hidden; */
                        /* background: linear-gradient(to right, lightblue); */
                    }
                    .slide-button:hover{
                        /* background: #f0f0f0; */
                        transform: translateY(-2px);
                        box-shadow: 0 6px 20px rgba(255, 255, 255, 0.5);
                    }
                    .link_contacto{
                        position: relative;

                        a{
                            color: white;
                            font-size: 0.9rem;
                            background-image: linear-gradient(white, white);
                            background-position: 50% 100%;
                            background-repeat: no-repeat;
                            background-size: 0% 2px;
                            transition: background-size 0.3s ease;
                            padding-bottom: 5px;
                        }
                        a:hover{ background-size: 100% 2px; }
                    }
                }
            }
            .carousel-slide::before {
                content: "";
                position: absolute;
                inset: 0;
                background-color: rgba(0, 0, 0, 0.4);
            }
        }
        .carousel-nav{
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            border: 2px solid rgba(255, 255, 255, 0.3);
            color: white;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 1.2rem;
            transition: all 0.3s ease;
            z-index: 1;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            /* display: none; */
        }
        .carousel-nav:hover{
            background: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.1);
        }
        .carousel-nav:active{ transform: translateY(-50%) scale(1.2); }
        .carousel-prev{ left: 5.5%; }
        .carousel-next{ right: 6%; }
        .carousel-indicators{
            position: absolute;
            bottom: 2rem;
            left: 50%;
            bottom: 8%;
            transform: translateX(-50%);
            display: flex;
            gap: 1rem;
            z-index: 1;

            .indicator{
                width: 1.1rem;
                height: 1.1rem;
                border-radius: 50%;
                background: rgba(255, 255, 255, 0.5);
                cursor: pointer;
                transition: all 0.3s ease;
            }
            .indicator.active{
                background: white;
                transform: scale(1.2);
                width: 1.8rem;
                border-radius: 15px;
            }
            .indicator:hover{ background: white; }
        }

        .seccion_popup{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }

    .popupFI{
        position: absolute;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 500px;
        max-width: 90%;
        border-radius: 20px;
        z-index: 3;
        top: 50%;
        left: 50%;
        /* display: none; */
        transform: translate(-50%, -70%);
        background-color: #fff;
        box-shadow: 0 0 10px 10px rgba(173, 216, 230, 0.5);
        
        transition: all 0.3s ease-in-out;
        display: none;
        visibility: hidden;
        opacity: 0;

        /* Estados para animación */
        display: none;
        visibility: hidden;
        opacity: 0;
        
        /* Transiciones suaves */
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

        .popupFI_info{
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            position: relative;

            .cerrarFI{
                position: absolute;
                right: 1.5%;
                top: 1.5%;
                cursor: pointer;
                width: 18px;
                padding: 0.5rem;
                border-radius: 50%;
                transition: background-color 0.2s ease-in-out;
            }
            .cerrarFI:hover{ background-color: rgb(220, 220, 220); }

            .logoFI{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 1rem 0 0 0;
                /* background-color: purple; */

                img{ width: 25%; }
            }
            .div_info{
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                .titulo_FI{
                    font-size: 1.1rem;
                    text-align: center;
                    width: 100%;
                    border-bottom: solid 3px;
                    padding: 0 0 0.5rem 0;
                }
                .info_FI{
                    text-align: justify;
                    font-size: 0.7rem;
                    padding: 1rem;
                }
                .info_p_ESH{
                    display: flex;
                    flex-direction: column;
                    gap: 0.3rem;

                    .info_p_ESH_info{
                        display: flex;
                        align-items: center;
                        gap: 0.5rem;

                        p{ font-size: 0.7rem; }
                    }
                }
                .titulo_IEE{ border-color: lightblue; }
                .titulo_ACE{ border-color: #B8E5C1; }
                .titulo_ESH{ border-color: lightgreen; }
            }
        }
    }
    .popupFI.show {
        display: flex;
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0); /* Posición final */
    }
    .popupFI.closing {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px); /* Vuelve a la posición inicial */
    }
    .div_popup_IEE{ border: solid 5px lightblue; }
    .div_popup_ACE{ border: solid 5px #B8E5C1; }
    .div_popup_ESH{ border: solid 5px lightgreen; }

    @keyframes slideInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px){
        .carousel-nav{
            width: 50px;
            height: 50px;
            font-size: 1.2rem;
        }
        .carousel-prev{ left: 1rem; }
        .carousel-next{ right: 1rem; }
        .slide-content{ padding: 0 1rem; }
        .slide-button{ padding: 0.8rem 2rem; font-size: 1rem; }
    }

    .overlay_FI{
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        filter: blur(10px);
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 2;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .overlay_FI.show {
        display: block;
        opacity: 1;
    }

    /****************************************************************************************************************************/

    /* Sección: Misión, Visión y Valores */

    .seccion_mvv{
        display: flex;
        flex-direction: column;
        align-items: center;
        /* justify-content: center; */
        width: 100%;
        padding: 2rem 0;
        border-bottom: solid 1px;
        gap: 2rem;

        .titulo_mvv{
            display: flex;
            flex-direction: column;
            gap: 0.8rem;

            h1{
                font-size: 2rem;
                text-align: center;
                background: linear-gradient(to right, lightblue, lightgreen);
                -webkit-background-clip: text;
                -webkit-text-fill-color: transparent;
                background-clip: text;
            }
            p{ font-size: 0.75rem; text-align: center; }
        }
        .info_mvv{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            /* background-color: red; */

            .card{
                display: flex;
                flex-direction: column;
                align-items: center;
                position: relative;
                background-color: white;
                padding: 1.5rem 0;
                width: 25%;
                gap: 1rem;
                border-radius: 20px;
                transition: all 0.3s ease-in-out;
                border: solid 5px transparent;
                box-shadow: 0 5px 10px 1px rgba(50, 50, 50, 0.5);
                cursor: pointer;

                span{
                    font-size: 2rem;
                    padding: 0.2rem;
                    border-radius: 10px;
                    text-align: center;
                    transition: all 0.3s ease-in-out;
                    /* background-color: blue; */
                }
                h3{ font-size: 1.5rem; letter-spacing: 0.1rem; }
                p{ font-size: 0.7rem; width: 80%; text-align: center; color: #555; }
                svg{ transition: transform 0.3s ease-in-out; }
                .flecha_mision{ fill: lightblue; }
                .flecha_vision{ fill: #B8E5C1; }
                .flecha_valores{ fill: lightgreen; }

                .emoji_mision{ background-color: lightblue; }
                .emoji_vision{ background-color: #B8E5C1; }
                .emoji_valores{ background-color: lightgreen; }
            }
            .card:hover{ transform: translateY(-10px) scale(1.02); }

            .card_mision:hover{ border-color: lightblue; }
            .card_vision:hover{ border-color: #B8E5C1; }
            .card_valores:hover{ border-color: lightgreen; }

            .card_mision:hover > .flecha_mision{ transform: translateX(10px); }
            .card_vision:hover > .flecha_vision{ transform: translateX(10px); }
            .card_valores:hover > .flecha_valores{ transform: translateX(10px); }

            .card_mision:hover > .emoji_mision{ transform:rotateZ(10deg); scale: 1.1; }
            .card_vision:hover > .emoji_vision{ transform:rotateZ(10deg); scale: 1.1; }
            .card_valores:hover > .emoji_valores{ transform:rotateZ(10deg); scale: 1.1; }
        }
    }

    .seccion_mvv_popup{
        position: fixed; /* Cambiar de absolute a fixed */
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        align-items: center;
        justify-content: center;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: 2;
        display: none;

        .div_mvv_popup{
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            position: absolute;
            height: 100%;
            width: 100%;

            .mvv_popup{
                position: relative;
                display: flex;
                flex-direction: column;
                justify-content: center;
                width: 500px;
                max-width: 90%;
                border-radius: 20px;
                border: solid 5px transparent;
                box-shadow: 0 5px 10px 3px rgba(50, 50, 50, 0.5);
                background-color: white;
                transform: translateY(-30px);

                transition: all 0.3s ease-in-out;
                display: none;
                visibility: hidden;
                opacity: 0;

                .cerrar_mvv_popup{
                    position: absolute;
                    top: 5px;
                    right: 5px;
                    width: 0.8rem;
                    padding: 0.4rem;
                    border-radius: 50%;
                    cursor: pointer;
                    transition: background-color 0.2s ease-in-out;
                }
                .cerrar_mvv_popup:hover{ background-color: rgb(220, 220, 220); }
                .titulo_mvv_popup{
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    gap: 0.5rem;
                    padding: 1rem 0;
                    /* background-color: red; */

                    .emoji_popup{
                        font-size: 2rem;
                        padding: 0.2rem;
                        border-radius: 10px;
                        text-align: center;
                    }
                    h1{
                        font-size: 1.2rem;
                        letter-spacing: 0.2rem;
                        /* background-color: lightblue;
                        -webkit-background-clip: text;
                        -webkit-text-fill-color: transparent;
                        background-clip: text; */
                    }
                    .emoji_mision_popup{ background-color: lightblue; }
                    .emoji_vision_popup{ background-color: #B8E5C1; }
                    .emoji_valores_popup{ background-color: lightgreen; }
                }
                .info_mvv_popup{
                    display: flex;
                    flex-direction: column;
                    justify-content: center;
                    gap: 1rem;
                    padding: 1rem;
                    width: 100%;
                    box-sizing: border-box;
                    /* background-color: blue; */

                    p, strong{
                        font-size: 0.7rem;
                        text-align: justify;
                    }
                }
                .titulo_mision_popup{ border-bottom: solid 3px lightblue; }
                .titulo_vision_popup{ border-bottom: solid 3px #B8E5C1; }
                .titulo_valores_popup{ border-bottom: solid 3px lightgreen; }
            }
            .mision_popup{ border: solid 5px lightblue; box-shadow: 0 0 20px 2px lightblue; }
            .vision_popup{ border: solid 5px #B8E5C1; box-shadow: 0 0 20px 2px #B8E5C1; }
            .valores_popup{ border: solid 5px lightgreen; box-shadow: 0 0 20px 2px lightgreen; }
        }
    }

    /****************************************************************************************************************************/

    /* Sección: opinión */

    .seccion_opinion{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;

        .div_texto_opinion{
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 0;

            .texto_opinion{ font-size: 0.9rem; }
        }
        .div_video{
            width: 60%;

            .video{
                width: 100%;
                box-shadow: 0 0 0 5px #fff, 0 10px 20px gray;
                border-radius: 20px;
            }
        }
    }

    .mensajeExito{
        display: none; 
        position: fixed; 
        top: 8%; 
        left: 50%;
        transform: translate(-50%, -50%); 
        background: #4CAF50; 
        color: white; 
        padding: 20px; 
        border-radius: 8px; 
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); 
        z-index: 9999;

        p{
            margin: 0; 
            font-size: 16px;
            width: 300px;
        }
    }

    /****************************************************************************************************************************/

@media (max-width: 400px){
    html, body{ overflow-x: hidden; }
    .Nav_compu{ display: none; }

    /* .video_aniversario{ width: 350px; } */

    .carousel-container{
        height: 60vh;

        .carousel-wrapper{
            .carousel-slide{
                .slide-content{
                    width: 90%;

                    .slide-title{ font-size: 1.6rem; }
                }
            }
        }
        .carousel-nav{ display: none; }
    }

    .popupFI{

        .popupFI_info{

            .logoFI{ img{ width: 25%; } }

            .div_info{

                .titulo_FI{ font-size: 1.1rem; }
                .info_FI{ font-size: 0.55rem; padding: 0.8rem; }
                .info_p_ESH{ .info_p_ESH_info{ p{ font-size: 0.55rem; } } }
            }
        }
    }

    .seccion_mvv{
        gap: 2rem;

        .titulo_mvv{
            width: 90%;
            display: flex;
            justify-content: center;
            align-items: center;

            h1{ font-size: 1.7rem; width: 90%; }
            p{ font-size: 0.8rem; width: 90%; }
        }

        .info_mvv{
            display: flex;
            flex-direction: column;
            gap: 2rem;

            .card{
                width: 70%;
                gap: 1rem;
                padding: 1rem 0;

                span{ font-size: 2.5rem; }
                h3{ font-size: 1.8rem; }
                p{ font-size: 0.7rem; width: 80%; }
                svg{ width: 35px; height: 35px; }
            }
        }
    }

    .seccion_mvv_popup .div_mvv_popup .mvv_popup{

        .titulo_mvv_popup{ h1{ font-size: 1rem; } }
        .info_mvv_popup{ padding: 0.8rem; p, strong{ font-size: 0.6rem; } }
    }

    .seccion_opinion{
        padding: 1rem 0;

        .div_texto_opinion .texto_opinion{ width: 90%; text-align: center; font-size: 0.7rem; }
        .div_video{ width: 90%; }
    }
}

@media (min-width: 401px) and (max-width: 600px){ /* celulares */
    html, body{ overflow-x: hidden; }
    .Nav_compu{ display: none; }

    .video_aniversario{ width: 350px; }

    .carousel-container{
        height: 70vh;

        .carousel-wrapper{
            .carousel-slide{
                .slide-content{
                    width: 90%;

                    .slide-title{ font-size: 1.8rem; }
                }
            }
        }
        .carousel-nav{ display: none; }
    }

    .popupFI{

        .popupFI_info{

            .logoFI{ img{ width: 30%; } }

            .div_info{

                .titulo_FI{ font-size: 1.1rem; }
                .titulo_ESH{ font-size: 1rem; }
                .info_FI{ font-size: 0.6rem; }
                .info_p_ESH{ .info_p_ESH_info{p{ font-size: 0.6rem; } } }
            }
        }
    }

    .seccion_mvv{
        gap: 2rem;

        .titulo_mvv{
            width: 80%;
            display: flex;
            justify-content: center;
            align-items: center;

            h1{ font-size: 1.8rem; width: 90%; }
            p{ font-size: 0.9rem; width: 90%; }
        }

        .info_mvv{
            display: flex;
            flex-direction: column;
            gap: 2rem;

            .card{
                width: 70%;
                gap: 1rem;
                padding: 1rem 0;

                span{ font-size: 3rem; }
                h3{ font-size: 2rem; }
                p{ font-size: 0.8rem; width: 80%; }
                svg{ width: 40px; height: 40px; }
            }
        }
    }

    .seccion_mvv_popup .div_mvv_popup .mvv_popup .info_mvv_popup{ p, strong{ font-size: 0.65rem; } }


    .seccion_opinion{
        padding: 1.5rem 0;

        .div_texto_opinion .texto_opinion{ width: 90%; text-align: center; font-size: 0.8rem; }
        .div_video{
            width: 80%;

            .video{
                width: 100%;
                box-shadow: 0 0 0 5px #fff, 0 10px 20px gray;
            }
        }
    }
}

@media (min-width: 601px) and (max-width: 800px){ /* tablets */
    html, body{ overflow-x: hidden; }
    .Nav_compu{ display: none; }

    .video_aniversario{ width: 500px; }

    .carousel-container{
        height: 70vh;

        .carousel-wrapper{
            .carousel-slide{
                .slide-content{
                    width: 90%;

                    .slide-title{ font-size: 2rem; }
                }
            }
        }
        .carousel-nav{ display: none; }
    }

    .popupFI{

        .popupFI_info{
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
            position: relative;

            .cerrarFI{
                position: absolute;
                right: 1.5%;
                top: 1.5%;
                cursor: pointer;
                width: 18px;
                padding: 0.5rem;
                border-radius: 50%;
                transition: background-color 0.2s ease-in-out;
            }
            .cerrarFI:hover{ background-color: rgb(220, 220, 220); }

            .logoFI{
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 1rem 0 0 0;
                /* background-color: purple; */

                img{ width: 25%; }
            }
            .div_info{
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;

                .titulo_FI{
                    font-size: 1.1rem;
                    text-align: center;
                    width: 100%;
                    border-bottom: solid 3px;
                    padding: 0 0 0.5rem 0;
                }
                .info_FI{
                    text-align: justify;
                    font-size: 0.7rem;
                    padding: 1rem;
                }
                .info_p_ESH{
                    display: flex;
                    flex-direction: column;
                    gap: 0.3rem;

                    .info_p_ESH_info{
                        display: flex;
                        align-items: center;
                        gap: 0.5rem;

                        p{ font-size: 0.7rem; }
                    }
                }
                .titulo_IEE{ border-color: lightblue; }
                .titulo_ACE{ border-color: #B8E5C1; }
                .titulo_ESH{ border-color: lightgreen; }
            }
        }
    }

    .seccion_mvv{
        gap: 2rem;

        .titulo_mvv{ p{ font-size: 0.95rem; } }
        .info_mvv{
            display: flex;
            flex-direction: column;
            gap: 2rem;

            .card{
                width: 80%;
                gap: 1rem;

                span{ font-size: 3rem; }
                h3{ font-size: 2rem; }
                p{ font-size: 0.9rem; width: 90%; }
                svg{ width: 40px; height: 40px; }
            }
        }
    }
    .seccion_mvv_popup .div_mvv_popup .mvv_popup .info_mvv_popup p{ font-size: 0.7rem; }

    .seccion_opinion{
        padding: 1.5rem 0;

        .div_texto_opinion{ .texto_opinion{ font-size: 0.9rem; } }
        .div_video{
            width: 80%;

            .video{
                width: 100%;
                box-shadow: 0 0 0 5px #fff, 0 10px 20px gray;
            }
        }
    }
}

@media (min-width: 801px) and (max-width: 900px){
    body, html{ overflow-x: hidden; }
    .Nav_compu{ display: none; }
    .barra{ display: block; }

        .carousel-container{
            height: 80vh;

            .carousel-wrapper{
                .carousel-slide{
                    .slide-content{
                        width: 70%;

                        .slide-title{ font-size: 2.2rem; }
                    }
                }
            }
        }

    .seccion_mvv{
        gap: 2rem;

        .info_mvv{
            .card{
                width: 25%;
                h3{ font-size: 1.5rem; }
                p{ font-size: 0.7rem; }
            }
        }
    }
    .seccion_mvv_popup .div_mvv_popup .mvv_popup .info_mvv_popup p{ font-size: 0.7rem; }

    .seccion_opinion{
        padding: 1.5rem 0;
        gap: 1.5rem;

        .div_texto_opinion{ .texto_opinion{ font-size: 0.9rem; } }
        .div_video{
            width: 60%;

            .video{
                width: 100%;
                box-shadow: 0 0 0 5px #fff, 0 10px 20px gray;
            }
        }
    }
}

@media (min-width: 901px) and (max-width: 1200px){ /* Computadoras */
    body, html{ overflow-x: hidden; }
    .barra{ display: none; }

    .slide-title { font-size: 3rem; width: 700px; }
    .slide-button { padding: 0.7rem 1rem; font-size: 0.8rem; }
    .carousel-prev { left: 2%; }
    .carousel-next { right: 4.2%; }

    .carousel-container{
        height: 80vh;

        .carousel-wrapper{
            .carousel-slide{
                .slide-content{
                    width: 70%;

                    .slide-title{ font-size: 2.5rem; }
                }
            }
        }
    }

    .popupFI.show {
        display: flex;
        visibility: visible;
        opacity: 1;
        transform: translate(-50%, -50%) translateY(0); /* Posición final */
    }
    .popupFI.closing {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(30px); /* Vuelve a la posición inicial */
    }

    .seccion_mvv{
        gap: 2rem;

        .titulo_mvv{ gap: 0.5rem; }
        .info_mvv{
            .card{
                width: 25%;
                p{ width: 70%; }
            }
            .card:active{ transform: translateY(-10px) scale(1.02); }

            .card_mision:active{ border-color: lightblue; }
            .card_vision:active{ border-color: #B8E5C1; }
            .card_valores:active{ border-color: lightgreen; }

            .card_mision:active > .flecha_mision{ transform: translateX(10px); }
            .card_vision:active > .flecha_vision{ transform: translateX(10px); }
            .card_valores:active > .flecha_valores{ transform: translateX(10px); }

            .card_mision:active > .emoji_mision{ transform:rotateZ(10deg); scale: 1.1; }
            .card_vision:active > .emoji_vision{ transform:rotateZ(10deg); scale: 1.1; }
            .card_valores:active > .emoji_valores{ transform:rotateZ(10deg); scale: 1.1; }
        }
    }
    .seccion_mvv_popup .div_mvv_popup .mvv_popup .info_mvv_popup p{ font-size: 0.7rem; }

    .seccion_opinion{
        padding: 1.5rem 0;
        gap: 1.5rem;

        .div_texto_opinion{ .texto_opinion{ font-size: 0.9rem; } }
        .div_video{
            width: 60%;

            .video{
                width: 100%;
                box-shadow: 0 0 0 5px #fff, 0 10px 20px gray;
            }
        }
    }
}

@media (min-width: 1201px){
    body, html{ overflow-x: hidden; }
    .barra{ display: none; }
}
