/*
#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 {
    min-height: 100vh;
    background: linear-gradient(90deg, #3C6D71 0%, #3C6D71 30%,#ffffff 30%,#ffffff 100%);
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

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 DEL CUERPO DE CONTACTO */

.contactanos{
    position: relative;
    width: 100%;
    padding: 40px 100px;
}

.contactanos .titulo{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

.contactanos .titulo h2{
    color: #284A63;
    font-weight: 500;
}

.form{
    grid-area: form;

}

.info{
    grid-area: info;

}

.mapa{
    grid-area: mapa;

}

.contacto {
    padding: 40px;
    background: #ffffff;
    box-shadow: 0 5px 35px rgba(0, 0, 0, 0.15);
}

.caja{
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 5fr 4fr;
    grid-template-areas: 
    "form info"
    "form mapa";
    grid-gap: 20px;
    margin-top: 20px;
}

.contacto h3{
    color: #0E3959 ;
    font-weight: 500;
    font-size: 1.4em;
    margin-bottom: 10px;
}


/* Formulario */

.formCaja{
    position: relative;
    width: 100%;
}

.formCaja .row50{
    display: flex;
    gap: 20px;
}

.inputBox{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    width: 50%;
}

.formCaja .row100 .inputBox{
    width: 100%;
}

.inputBox span{
    color: #0E3959;
    margin-top: 5px;
    margin-bottom: 5px;
    font-weight: 500;
}

.inputBox input, select{
    padding: 3px;
    font-size: 0.9em;
    outline: none;
    border: 1px solid #333;
}

.inputBox textarea{
    padding: 10px;
    font-size: 0.9em;
    outline: none;
    border: 1px solid #333;
    resize: none;
    min-height: 200px;
    margin-bottom: 10px;

}

.link-politica {
    color: #17015e; /* Cambia a tu color preferido */
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.link-politica:hover {
    color: #DD2483; /* Color al pasar el mouse */
}

.inputBox input[type="submit"]{
    background: #ff578b;
    color: #ffffff;
    border: none;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 10px;
    transition: 0.5s;
}

.inputBox input[type="submit"]:hover{
    background: #18b7ff;
}

.inputBox ::placeholder,select{
    color: #999;
}

.agradecimientos {
    margin-top: 20px;
    text-align: center;
    color: #0E3959;
    font-weight: 500;
}


/* Info */
.info{
    background: #284A63;
}

.info h3{
    color: #ffffff;
}

.info .infoBox div{
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.info .infoBox div span{
    min-width:  40px;
    height: 40px;
    color: #ffffff;
    background-color: #18b7ff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius: 50%;
    margin-right: 15px;
}

.info .infoBox div p{
    color: #ffffff;
    font-size: 1.0em;
}

.info .infoBox div a{
    color: #ffffff;
    text-decoration: none;
}

.sci {
    margin-top: 40px;
    display: flex;
}

.sci li {
    list-style: none;
    margin-right: 15px;
    
}

.sci li a {
    color: #ffffff;
    font-size: 2em;

}

.sci li a:hover {
    color: #c3c3c3;

}

.eslogan {
    margin-top: 20px;
    color: #ffffff;
    font-size: 1.0em;
    text-align: center;
}



/* Mapa */

.mapa{
   padding: 0; 
}

.mapa iframe {
    width: 100%;
    height: 100%;
}

/* CONTENEDOR */
.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;
}


/* Modal completo */
.modal {
    display: none; /* Inicialmente oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-translúcido */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Contenido del modal */
.modal-content {
    background-color: #030303;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    color: #CFCFCF;
    max-width: 90%; /* Se ajusta a pantallas pequeñas */
}

/* Estilo del botón "Aceptar" */
.btn-aceptar {
    background-color: green;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.btn-aceptar:hover {
    background-color: darkgreen;
}



/* 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;
}

/* 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: #66BEA7;
    }

    .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;
    }

    /* FORMULlRIO CUERPO */

    .contactanos {
        padding: 20px;
        
    }

    .contactanos .titulo h2{
        color: #fcfcfc;
        font-weight: 500;
    }

   

    .caja {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        grid-template-areas: 
                "form"
                "info"
                "mapa";
    }

   .formCaja .row50 {
        display: flex;
        gap: 0;
        flex-direction: column;
    }

    .inputBox {
        width: 100%;
    }

    .contacto {
        padding: 30px;
    }

    .mapa {
        min-height: 300px;
        padding: 0;
    }


    /* MODAL */

    .modal-content {
        width: 90%; /* Ancho del modal más pequeño */
        padding: 15px; /* Espaciado más pequeño */
    }

    .btn-aceptar {
        font-size: 14px; /* Texto del botón más pequeño */
        padding: 8px 16px; /* Ajustar tamaño del botón */
    }



    /* footer */

    .footerContenedor {
        flex-direction: column;
        align-items: center;
        text-align: center;

    
}

}

@media (max-width: 500px){
    
    .slider .slide .info h2{
        font-size: 1.6em;
        line-height: 40px;
    }

    .slider .slide .info p{
        font-size: 0.9em;
    }
}

@media screen and (max-width: 1024px) {
    .caja {
        display: flex;
        flex-direction: column;
        gap: 20px;
        width: 100%;
        max-width: 100%;
    }

    .formCaja .row50 {
        flex-direction: column;
        gap: 0;
    }

    .inputBox {
        width: 100% !important;
    }

    .mapa iframe {
        height: 300px;
    }

    .contacto {
        padding: 20px;
    }

    .contactanos {
        padding: 20px;
    }
}

body {
    overflow-x: hidden;
}

/* correccion del error en modo escritorio en mobiles */

@media screen and (max-width: 1024px) {
    .infoContenedorSuperior {
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow-x: auto;
        gap: 10px;
    }

    .social-icons {
        flex: 0 1 auto;
        margin-left: 10px;
        min-width: fit-content;
    }

    .contenedorSuperior {
        padding-left: 5px;
        padding-right: 5px;
        overflow-x: auto;
    }

    .social-icons h5 {
        white-space: nowrap;
        font-size: 0.75em;
    }

    .social-icons ul {
        display: flex;
        gap: 5px;
        flex-wrap: nowrap;
    }

    .social-icons a {
        font-size: 1em;
    }

    .headerSuperior {
        padding: 5px;
        overflow-x: auto;
    }
}


