/*
#292E72 - Fondo Corporativo
#F6A427 - Narajna Corporativo
#DD2483 - Morado Corporativo
#66BEA7 - Verde Corporativo

*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    height: 100vh;
    display: block;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #2A2F77 0%, #2A2F77 30%, #E02A80 30%, #E02A80 100%);
    font-family: "Montserrat", sans-serif;

}

ul,li,a, .buttonMenu button {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #edf0f1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    background-color: #3C6D71;
    position: relative;
    /* Asegura que el menú se posicione con respecto al header */
    z-index: 1000;
    flex-wrap: wrap;
    /* Permite que los elementos se ajusten en la fila si es necesario */
    height: 35px;

}



.headerSuperior {
    display: flex;
    width: 100%;
    height: 35px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    background-color: #284A63;
    flex-wrap: nowrap;
    /* Asegura que los elementos no se envuelvan */

}

.headerSuperior a {
    color: #ffffff;
    font-size: 0.8em;
}



.infoContenedorSuperior {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Asegura que los elementos se distribuyan de forma eficiente */
    width: 100%;
    flex-wrap: nowrap;
    /* Impide que los elementos se apilen en filas */
}

.infoContenedorSuperior .separador {
    color: #ffffff;
}

/* Redes Sociales */
.social-icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Asegura que los elementos estén alineados a la izquierda */
    margin-left: 20px;
    /* Espacio a la izquierda para separarlos un poco */
    flex-wrap: nowrap;
    /* Impide que los íconos se apilen en filas */
}

.social-icons h5 {
    color: #ffffff;
    margin-right: 10px;
    /* Espacio entre el texto y los íconos */
}

/* Lista de íconos */
.social-icons ul {
    display: flex;
    /* Asegura que los íconos estén en una fila */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilo de los íconos */
.social-icons a {
    color: #ffffff;
    font-size: 1.2em;
    margin: 0 5px;
    /* Espacio entre los íconos */
}

/* Efecto hover para los íconos */
.social-icons a:hover {
    color: #F6A427;
    /* Cambia el color al pasar el mouse */
}

.contenedorSuperior {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.menuContenedor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 50px;
    /* Forma ovalada */
    padding: 15px 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 0;
    left: 0;
    /* Alineado al borde izquierdo del header */
    right: 0;
    /* Asegura que se extienda de lado a lado */
    width: 75%;
    /* Para que no sea tan ancho */
    max-width: 1200px;
    /* Control del tamaño */
    height: 70px;
    margin: 0 auto;
    /* Centrar en la pantalla */
}

.Logo {
    display: flex;
    justify-content: flex-start;
    /* Alineado a la izquierda */
    align-items: left;
    max-width: 120px;
    /* Ajusta el tamaño del logo */
    height: auto;
    margin: 0 auto;
}


.Logo img {
    width: auto;
    height: 100%;
    /* Mantiene la proporción */
    max-height: 60px;
    /* Limita el tamaño para que no se desborde */
    cursor: pointer;
}

/* Menú */
.menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 2;
    /* El menú ocupará el espacio disponible */
    justify-content: center;
    width: 100%;
}

.menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 20px;
    /* Espaciado entre opciones */
}

.menu li {
    padding: 0px 20px;
}

.menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-size: 1em;
    position: relative;
    color: #000116;
    transition: color 0.3s ease;
}

.menu a:hover {
    color: #F6A427;
}


.menu-navegacion {
    display: flex;
    flex-grow: 1;
    /* Ocupa el espacio disponible */
    justify-content: center;
    /* Centrar el menú */
}


/* EFECTO DE SUBRAYADO DEL MENU */
.menu ul li a:before {
    content: '';
    width: 0px;
    height: 3px;
    background: #DD2483;
    position: absolute;
    top: 120%;
    left: 0;
    transition: .5s;

}

.menu ul li a:after {
    content: '';
    width: 0px;
    height: 3px;
    background: #66BEA7;
    position: absolute;
    top: 120%;
    right: 0;
    transition: .5s;

}

.menu ul li:hover a:before {
    width: 50%;
    transform: translateX(100%);

}

.menu ul li:hover a:after {
    width: 50%;
    transform: translateX(-100%);

}


/* BOTON COTIZACION */

/* Botón de cotización al lado de la parte derecha */
.buttonMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* alineado a la derecha */
    text-decoration: none;
    flex-grow: 1;
    /* Mantiene el mismo espacio que el logo */

}

.buttonMenu button {
    padding: 9px 25px;
    background-color: rgb(0, 136, 169);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.buttonMenu button:hover {

    background-color: rgba(0, 100, 140, 1);

}


/* SECCION NOSOTROS */

.nosotros {
    background-color: #FFFFFF;
    padding: 2.5rem 0.5rem;
    min-height: 100vh;
    overflow: hidden;
    padding: 40px 20px;

}

/* CONTENEDOR */

.contenedor {

    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.56rem;

}

/* NOSOTROS IMAGENES */

.nosotros_imagenes {
    display: flex;
    width: 100%;
    gap: 1.56rem;
}

/* NOSOTROS IMG */

.nosotros_img {
    width: 285px;
    height: 476.34px;
    overflow: hidden;
    opacity: 0;
    transform: translateX(-100%);
    /* Inicia fuera de la pantalla */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.nosotros_imagenes.loaded .nosotros_img {
    opacity: 1;
    transform: translateX(0);
    /* Vuelve a su posición original */
}

.nosotros_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 600ms;

}

.nosotros_img:hover img {
    transform: scale(1.2);
}

.nosotros_img:last-child {
    margin-top: 104px;

}

.nosotros_contenido {
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 100%;
    max-width: 380px;

}

.nosotros_nombre {
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 13px;
    position: relative;
    text-transform: uppercase;
    color: var(--color-text-dark);

}

.nosotros_nombre::after {
    content: "";
    position: absolute;
    top: 6px;
    right: -62px;
    width: 48px;
    height: 2px;
    background-color: var(--color-text-dark);

}


/*NOSOTROS TITULO*/

.nosotros_titulo {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    color: var(--color-dark);
}

.nosotros_subtitulo {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: 28px;
    color: var(--color-dark);

}

.nosotros_parrafo {
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 45px;
    text-align: justify;
}

/* Sección Servicios */
.servicios {
    background-color: #f9f9f9;
    padding: 60px 20px;
}

.servicios_contenedor {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.subtitulo {
    color: #888;
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.titulo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.fila {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.tarjeta {
    background: #284A63;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.icono {
    background: #ffffff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.icono i {
    font-size: 36px;
    color: #555;
}

.tarjeta h4 {
    font-size: 1.2rem;
    color: #ffffff;
}

/* Sección Contadores */
.contadores {
    background-color: #0e3959;
    padding: 60px 20px;
    color: white;
    text-align: center;
}

.contadores_contenedor {
    max-width: 1200px;
    margin: 0 auto;
}

.contador {
    flex: 1;
    min-width: 200px;
}

.numero {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.contador p {
    font-size: 1rem;
    margin: 0;
}


/* ESENCIA CONTENEDOR */

.esencia {
    background-color: #FFFFFF;
    padding: 2.5rem 0.5rem;
    min-height: 100vh;
    overflow: hidden;
    padding: 40px 20px;
}

.esencia_contenedor {
    width: 100%;
    max-width: 1110px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.56rem;
    flex-direction: row-reverse;
}

.esencia_contenido {
    flex: 1 1 50%;
    padding: 20px;
}

.esencia_imagenes {
    flex: 1 1 50%;
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 1.56rem;
}
/* CADA IMAGEN */
.esencia .esencia_img {
    width: 285px;
    height: 476.34px;
    overflow: hidden;
}

.esencia .esencia_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 600ms;
}

.esencia .esencia_img:hover img {
    transform: scale(1.2);
}

/* Desnivelar imágenes */
.esencia .esencia_img:first-child {
    margin-top: 104px;
    /*  La PRIMERA imagen baja */
}

.esencia .esencia_img:last-child {
    margin-top: 0;
    /*  La SEGUNDA imagen arriba normal */
}

/* CONTENIDO */
.esencia_contenido {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 380px;
}

/* NOMBRE */
.esencia_nombre {
    font-weight: 400;
    font-size: 0.875rem;
    margin-bottom: 13px;
    position: relative;
    text-transform: uppercase;
    color: var(--color-text-dark);
}

.esencia_nombre::after {
    content: "";
    position: absolute;
    top: 6px;
    right: -62px;
    width: 48px;
    height: 2px;
    background-color: var(--color-text-dark);
}

/* TÍTULOS */
.mision_titulo,
.vision_titulo {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 12px;
    text-transform: uppercase;
    color: var(--color-dark);
}

/* PÁRRAFOS */
.mision_parrafo,
.vision_parrafo {
    font-weight: 400;
    color: var(--color-text-light);
    margin-bottom: 20px;
    text-align: justify;
}



/* CONTENEDOR WHATSAPP */
.float-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    z-index: 999;
    text-decoration: none;
}



/* CONTENEDOR DEL FLOAT */
.float-container {
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    z-index: 999;
}

/* ETIQUETA DE TEXTO */

.float-label {
    background-color: #25D366;
    color: #fff;
    padding: 6px 12px;
    font-weight: bold;
    font-size: 12px;
    height: 25px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-right: 8px;
    position: relative;
}

/* Triangulito */
.float-label::after {
    content: "";
    position: absolute;
    right: -6px;
    /* Alinearlo justo al borde */
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #25D366;
    /* Color igual al fondo del label */
}

/* BOTÓN DE WHATSAPP */

.float-button {
    width: 40px;
    height: 40px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0;
    box-shadow: 2px 2px 3px #999;
    font-size: 22px;
    transition: background 0.3s ease;
    text-decoration: none;
}

/* Hover efecto */
.float-label:hover,
.float-button:hover {
    background-color: #28e76e;
}






/* FOOTER SECCION*/



.footerContenedor {
    background-color: #000116;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    flex-wrap: wrap;
    /* Para que sea responsive */
    gap: 20px;
}

.footerCol {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.logoFooter img {
    width: auto;
    max-height: 60px;
    cursor: pointer;
}

.infoFooter a {
    color: #FFFFFF;
    font-size: 16px;
    margin: 5px 0;
    text-decoration: none;
}

.infoFooter a:hover {
    color: #FF2F28;
}

.socialFooter h5 {
    color: #FFFFFF;
    font-size: 18px;
    margin-bottom: 10px;
}

.socialFooter ul {
    list-style: none;
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.socialFooter li a {
    color: #FFFFFF;
    font-size: 20px;
    transition: color 0.3s ease;
}

.socialFooter li a:hover {
    color: #FF2F28;
}




/* MENÚ RESPONSIVE */
.menuToggle {
    display: none;
    /* Oculto en pantallas grandes */
    cursor: pointer;

}

.menuToggle img {
    width: 30px;
    /* Ajusta el tamaño según lo necesites */
    height: auto;
}


/*ANIMACIONES */

/* Animación para las imágenes en la sección 'esencia' */
.esencia_img {
    opacity: 0;
    transform: translateX(-100%);
    /* Empieza fuera de la pantalla */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.esencia_img.visible {
    opacity: 1;
    transform: translateX(0);
    /* Vuelve a su posición original */
}

/* Animación para los contenidos en la sección 'esencia' */
.esencia_contenido {
    opacity: 0;
    transform: translateY(50px);
    /* Empieza más abajo */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.esencia_contenido.visible {
    opacity: 1;
    transform: translateY(0);
    /* Vuelve a su posición original */
}

/* Animación para las imágenes en la sección 'nosotros' */
.nosotros_img {
    opacity: 0;
    transform: translateX(-100%);
    /* Empieza fuera de la pantalla */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.nosotros_img.visible {
    opacity: 1;
    transform: translateX(0);
    /* Vuelve a su posición original */
}

/* Animación para los contenidos en la sección 'nosotros' */
.nosotros_contenido {
    opacity: 0;
    transform: translateY(50px);
    /* Empieza más abajo */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.nosotros_contenido.visible {
    opacity: 1;
    transform: translateY(0);
    /* Vuelve a su posición original */
}

/* Animación para las tarjetas en la sección 'servicios' */
.servicios_contenedor {
    opacity: 0;
    transform: translateY(50px);
    /* Empieza más abajo */
    transition: transform 1s ease-out, opacity 1s ease-out;
}

.servicios_contenedor.visible {
    opacity: 1;
    transform: translateY(0);
    /* Vuelve a su posición original */
}

/* Responsive para pantallas medianas (entre 768px y 1200px) */
@media screen and (min-width: 769px) and (max-width: 1199px) {

    /* Ajustes para el header principal */
    .menuContenedor {
        width: 90%; /* Más ancho para que quepan mejor */
        padding: 10px 20px;
    }

    .menu ul {
        gap: 10px; /* Menos espacio entre opciones */
    }

    .menu li {
        padding: 0 10px; /* Reducir el padding interno */
    }

    .menu a {
        font-size: 0.9em; /* Texto más pequeño */
    }

    .buttonMenu button {
        padding: 7px 20px; /* Botón más compacto */
        font-size: 14px;
    }

    .Logo {
        max-width: 100px; /* Logo un poquito más pequeño */
    }

    .Logo img {
        max-height: 50px;
    }

    /* Ajustes para el header superior */
    .headerSuperior {
        height: 30px; /* Un poco más bajo */
        padding: 5px 5%;
    }

    .textoSuperior {
        font-size: 0.7em; /* Letras un poquito más pequeñas */
    }

    .infoContenedorSuperior {
        gap: 5px; /* Espacio entre los links y separadores */
    }

    .infoContenedorSuperior .separador {
        font-size: 0.7em; /* Separadores más pequeños */
    }

    .social-icons h5 {
        font-size: 0.7em; /* "No olvides seguirnos" más pequeño */
        margin-right: 5px;
    }

    .social-icons a {
        font-size: 1em; /* Iconos de redes un poquito más pequeños */
        margin: 0 3px;
    }
}



/* RESPONSIVE */

@media screen and (max-width: 768px) {

    body {
        background: #E02A80;
    }

    .headerSuperior {
        display: none;
    }

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        flex-wrap: nowrap;
        background-color: #000116;
        height: 80px;
    }

    .menuContenedor {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;

    }



    /* Botón de menú alineado a la izquierda */
    .menuToggle {
        display: block;
        position: relative;
        left: 0;
        z-index: 1001;
    }

    .menuToggle img {
        width: 30px;
        height: auto;
    }

    /* Logo centrado con tamaño reducido */
    .Logo {
        text-align: center;
        width: 140px;
        max-width: 140px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .Logo img {
        width: 140px;
        max-width: 140px;

    }


    /* Botón de cotización alineado a la derecha */
    .buttonMenu {
        position: relative;
        right: 0;
        top: auto;
        transform: none;
    }

    .buttonMenu button {
        font-size: 14px;
        padding: 6px 15px;
    }



    /* Ajuste para que el menú se muestre correctamente cuando se active */
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #000116;
        text-align: center;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .menu ul {
        flex-direction: column;
        padding: 10px 0;
    }

    .menu li {
        padding: 15px 0;
    }

    .menu.active {
        display: flex;
    }

    .menu a {
        color: #ffffff;
    }

    /* NOSOTROS */

    .nosotros_imagenes {
        flex-direction: column;
        gap: 1rem;
    }

    .nosotros_img {
        height: 320px;
        width: 100%;
    }

    .nosotros_img:last-child {
        margin-top: 0;
    }

    /* ESENCIA */

    .esencia_contenedor {
        flex-direction: column-reverse;
        gap: 2rem;
    }

    .esencia_imagenes {
        flex-direction: column;
        align-items: center;
    }

    .esencia .esencia_img {
        width: 100%;
        max-width: 285px;
        height: auto;
    }

    .esencia .esencia_img:first-child {
        margin-top: 0; /* anula el margen desigual en móviles */
    }



    /* ANIMACIONES */

    /* Sección Nosotros: Animación al cargar la página */
    .nosotros_img {
        opacity: 0;
        transform: translateX(-100%);
        /* Empieza desde la izquierda */
        transition: transform 0.5s ease-out, opacity 0.5s ease-out;
    }

    /* Cuando la página se carga, las imágenes deben ser visibles inmediatamente */
    .nosotros_imagenes.loaded .nosotros_img {
        opacity: 1;
        transform: translateX(0);
        /* Desliza hacia su posición original */
    }

    /* Los textos de la sección Nosotros */
    .nosotros_contenido {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.5s ease-out, transform 0.5s ease-out;
    }

    /* Cuando la página se carga, los textos de la sección Nosotros deben ser visibles */
    .nosotros_contenido.loaded {
        opacity: 1;
        transform: translateY(0);
    }

    /* Animaciones para las imágenes en la sección 'esencia' */
    .esencia_img {
        opacity: 0;
        transform: translateX(-100%);
        /* Empieza fuera de la pantalla */
        transition: transform 1s ease-out, opacity 1s ease-out;
    }

    .esencia_img.visible {
        opacity: 1;
        transform: translateX(0);
        /* Vuelve a su posición original */
    }

    /* Animación para los contenidos en la sección 'esencia' */
    .esencia_contenido {
        opacity: 0;
        transform: translateY(50px);
        /* Empieza más abajo */
        transition: transform 1s ease-out, opacity 1s ease-out;
    }

    .esencia_contenido.visible {
        opacity: 1;
        transform: translateY(0);
        /* Vuelve a su posición original */
    }



    /* footer */

    .footerContenedor {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


@media screen and (max-width: 576px) {


    /* NOSOTROS */

    .contenedor {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .nosotros_contenido {
        text-align: center;
        align-items: center;
    }

    .nosotros_nombre {
        margin-bottom: 1.5rem;
    }

    .nosotros_nombre::after {
        top: 30px;
        left: 50%;
        transform: translateX(-50%)
    }

    /* ESENCIA */

    .esencia_contenedor {
        flex-direction: column-reverse;
        justify-content: center;
    }

    .esencia_contenido {
        text-align: center;
        align-items: center;
    }

    .esencia_nombre {
        margin-bottom: 1.5rem;
    }

    .esencia_nombre::after {
        top: 30px;
        left: 50%;
        transform: translateX(-50%)
    }

}

@media (min-width: 992px) {
    .esencia {
        flex-direction: row-reverse;
    }
}

