@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat";
}

html {
    scroll-behavior: smooth;
}

#inicio {
    background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .7)), url("imagenes/press2.webp");
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

#inicio .contenido header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    margin-bottom: 0px;
}

#inicio .contenido header.scrolled {
    background-color: #004085;
    /* Color de fondo cuando se hace scroll */
}

#inicio .contenido header .contenido-header {
    max-width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 1px;
}

#inicio .contenido header .contenido-header .logo {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#inicio .contenido header .contenido-header img {
    width: 4rem;
    height: 4rem;
    border-radius: 100%;
}

#inicio .contenido header .contenido-header h1 {
    color: #fff;
    padding: 10px;
    align-items: center;
    font-size: 24px;
    font-family: Montserrat;
    text-transform: uppercase;
    word-wrap: break-word;
}

#inicio .contenido header .contenido-header nav ul {
    list-style: none;
    display: flex;
    justify-content: end;
}

#inicio .contenido header .contenido-header nav ul li a {
    color: white;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 12px;
    font-family: "Lato";
    font-weight: 700;
    text-transform: uppercase;
}


#inicio .contenido header .contenido-header nav ul a:hover {
    color: #4682B4;
}

#inicio .contenido header .contenido-header .redes a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin-left: 10px;
    transition: .5s;
}

#inicio .contenido header .contenido-header .redes a:hover {
    color: #4682B4;
}

#inicio .contenido header .contenido-header .seleccionado {
    color: #f2f2f2;
}

/*Menu toggle ------------------*/
.menu-toggle {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

/*==============CONTENIDO DE PRESENTACION==============*/

#inicio .contenido .presentacion {
    padding-top: 5px;
    max-width: 650px;
    height: 100vh;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: start;
    justify-self: end;
    margin-right: 50px;
}

#inicio .contenido .presentacion .bienvenida {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: inherit;
    letter-spacing: 15px;
}

#inicio .contenido .presentacion h2 {
    font-weight: 500;
    font-size: 38px;
    color: #4682B4;
    margin-bottom: 35px;
    text-transform: uppercase;
    line-height: 35px;
    font-family: "Montserrat";
}


#inicio .contenido .presentacion .descripcion {
    max-width: 100%;
    margin-top: 5px;
    font-size: 14px;
    line-height: 35px;
    font-weight: 300;
    text-transform: uppercase;
}

#inicio .contenido .presentacion a {
    text-decoration: none;
    display: inline-block;
    margin-top: 35px;
    padding: 20px 25px;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: .3s;
    text-align: center;
    background-color: #004085;
}

#inicio .contenido .presentacion a:hover {
    background-color: #4682B4;
}

#icono-nav {
    color: #fff;
    display: none;
}

/*=========== SECCIÓN COMPRA Y VENTA ============*/
#compra-venta {
    background-color: #f2f2f2;
    padding-bottom: 70px;
    padding-top: 100px;

}

#compra-venta .row-compra-venta {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
    width: 70%;
    margin: 10px auto;
    justify-content: center;
}

#compra-venta .row-compra-venta h3 {
    font-size: 1.3rem;
    color: #2a303a;
}

.card-cv {
    width: 30rem;
    box-shadow: 3px 3px 19px rgba(0, 0, 0, .2);
    color: #2a303a;
}

.card-cv .card-p1 {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    padding-bottom: 50px;
}

.card-cv .card-p1 h4 {
    color: #545e6d;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 14px;

}

.card-cv .card-p1 h3 {
    margin-bottom: 25px;
    font-weight: bold;
}

.card-cv .card-p1 p {
    margin-bottom: 25px;
    font-weight: 400;
    font-size: 12px;
    line-height: 22px;
}

.card-cv .card-p1 a {
    font-weight: 400;
    padding: 10px;
    background-color: #004085;
    color: #f4f4f4;
    text-decoration: none;
    display: inline-block;
    border-radius: 20px;
    width: 15rem;
    font-size: 13px;
}

.card-cv .card-p1 a:hover {
    box-shadow: 3px 3px 20px 2px rgba(46, 3, 137, 0.2);
    background-color: #005199;
}


.card-cv .card-p2 {
    width: 100%;
}

.card-cv .card-p2 img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    object-position: center;
}

/*=========== SECCIÓN MISIÓN Y VISIÓN ============*/
#mision-vision {
    background-color: #ffffff;
    padding: 10px 20px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    width: 100%;
    /* Espaciado adaptable */
}

.content-mv {
    max-width: 1140px;
    margin: 0 auto;
    color: #2a303a;
    text-align: center;
    display: grid;
    /* Grid para flexibilidad */
    gap: 60px;
    /* Separación entre Misión y Visión */
}

.mv-item h2 {
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;

}

.mv-item h2::after {
    /* Línea decorativa */
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background-color: #333;
    margin: 10px auto 0;
    border-radius: 3px;
}

.mv-item p {
    font-family: "Lato", sans-serif;
    font-size: 18px;
    line-height: 32px;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/*--------------- MODAL ---------------------------*/

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #2a303a;
}

.modal-content h2 {
    margin-bottom: 10px;
}

.modal-content p {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 22px;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
    background-color: #890000;
    color: #fff;
    width: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
select,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    word-break: break-all;
}

.modal-content .descripcion {
    font-size: 12px;
    font-weight: 500;
}

label {
    font-size: 12px;
    font-weight: 500;
}

button {
    background: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/*--------------- MODAL 2---------------------------*/

.modal2 {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content2 {
    background: #fff;
    margin: 10% auto;
    padding: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    color: #2a303a;
}

.modal-content2 h2 {
    margin-bottom: 10px;
}


.modal-content2 .descripcion {
    font-size: 12px;
    line-height: 22px;
    font-weight: 500;
    margin-bottom: 10px;
}

.close2 {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 25px;
    cursor: pointer;
    text-align: center;
    border-radius: 2px;
    background-color: #890000;
    color: #fff;
    width: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

input,
select,
textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    word-break: break-all;
}

label {
    font-size: 12px;
    font-weight: 500;
}

button {
    background: #007bff;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

/*===========SECCION SOBRE NOSOTROS============*/
#about {
    background-color: #fff;
    margin-top: 100px;
    margin-bottom: 100px;
}

#about .row-about {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 10px auto;
    color: #333333;
}

#about .row-about .img {
    width: 50%;
}

#about .row-about .img img {
    width: 80%;
    border-radius: 15px;
}

#about .row-about .img h2 {
    margin-bottom: 50px;
    font-size: 40px;
}

#about .row-about .descripcion_about {
    width: 50%;
    align-self: center;
}

#about .row-about .descripcion_about p {
    line-height: 35px;
    text-align: justify;
    font-size: 16px;
}

#about .row-about .descripcion_about a {
    text-decoration: none;
    padding: 20px;
    background-color: #004085;
    color: #f2f2f2;
    display: inline-block;
    font-weight: bold;
    font-size: 18px;
    margin-top: 15px;
}

/*==================== SECCION SERVICIOS ============================*/
.servicios {
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(rgba(38, 33, 75, 0.7), rgba(38, 33, 75, 0.7)), url("imagenes/press3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.content-servicios {
    width: 70%;
    margin: 10px auto;
}

.content-servicios h2 {
    color: #fff;
    font-size: 32px;
}

.grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-top: 30px;
}


.servicios article {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    color: #333333;
    line-height: 28px;
}

.servicios article picture img {
    width: 2rem;
}

/*=================== BENEFICIOS============================================*/
.beneficios,
.testimonios {
    padding: 60px 50px;
    background: #ffffff;
    text-align: center;
    color: #2a303a;
}

#beneficios h3 {
    text-transform: uppercase;
}

.cards {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-top: 30px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.card img {
    width: 4rem;
}

.card p {
    font-size: 18px;
    padding-top: 30px;
}

/*=================Valuacion================*/

#valuacion {
    text-align: center;
    color: #2a303a;
    margin-bottom: 30px;
}

.cita-beneficios {
    margin-top: 5px;
    margin-bottom: 25px;
    font-size: 28px;
}

.valuacion {
    padding: 100px;
    width: 100%;
    color: #fff;
    text-decoration: double;
    background: linear-gradient(rgba(38, 33, 75, 0.7), rgba(38, 33, 75, 0.7)), url("imagenes/press3.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.valuacion a {
    padding: 20px;
    border: #fff 1px solid;
    color: #fff;
    text-decoration: none;
    box-shadow: 12px 12px 12px 12px rgba(0, 0, 0, .5);
    background-color: #004085;
    display: inline-block;
}



/*===========PIE DE PAGINA =================*/

#footer {
    max-width: 100%;
    background-color: #004085;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    color: #ffffff;
    text-transform: uppercase;
}

#footer .row {
    width: 1400px;
    display: flex;
    justify-content: space-between;
    margin: 15px auto;
    margin-bottom: 50px;
}

#footer .row img {
    width: 8rem;
    height: 8rem;
    border-radius: 10px;
}

#footer .row p span {
    text-transform: lowercase;
}

#footer .row .formulario input,
textarea {
    width: 90%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    border: #2a303a 1px solid;
}

#footer .row .formulario button {
    width: 96%;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
    color: #fff;
    background-color: #2a303a;
    border: none;
    font-weight: 600;
}

#footer .row .social-icons {
    flex-direction: column;
    display: flex;
}

#footer .row .social-icons .icons {
    display: flex;
    gap: 15;
    flex-wrap: wrap;
    justify-content: center;
}

#footer .row .social-icons p {
    margin-bottom: 30px;
}

#footer .row .social-icons a {
    margin: 10px;
    text-decoration: none;
    color: #ffffff;
    text-align: left;
    font-size: 44px;
}

#footer .row .correo {
    display: inline-block;
    word-break: break-all;
}

#footer .row .cotiza {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    border: 1px solid #fff;
    padding: 25px;
    box-shadow: 2px 12px 12px 2px rgba(0, 0, 0, .2);
    align-self: center;
    transition: .5s;
    margin-top: 20px;
}

#footer .row .cotiza:hover {
    background-color: #0056b3;
}

/*====================RESPONSIVE PAGE=======================*/

/* ==== 1024px ==== */
@media (max-width: 1024px) {

    * {
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 30px;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: #004085;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s ease;
        z-index: 1000;
        display: flex !important;
        /* Forzar display */
    }

    #nav.active {
        right: 0;
    }

    #nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: 100%;
    }

    #nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
        z-index: 1100px;
    }

    #nav ul li a {
        font-size: 1rem;
        margin: 10px 0;
        display: block;
        width: 100%;
        padding: 10px;
    }

    /*Inicio -----------------------------------*/
    #inicio .contenido .presentacion {
        padding-top: 0px;
        max-width: 100%;
        height: 100vh;
        color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: start;
        justify-self: end;
        margin-left: 10px;
    }

    /*Importancia------------------------------*/

    #Importancia .fila {
        justify-content: center;
        display: flexbox;
        gap: 5;
        flex-wrap: wrap;
    }

    /*Servicios------------------------------*/

    #servicios .content-servicios {
        max-width: 100%;
        margin: auto;
    }

    #servicios .content-servicios .row {
        justify-content: center;
        display: flexbox;
        gap: 5;
        flex-wrap: wrap;
    }

    /*about-----------------------------------*/

    /*problemas------------------------------*/
    #problemas {
        background-color: #f8f8f8;
        color: #2a303a;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    #problemas .content-problemas {
        display: block;
        margin: 30px auto;
    }

    #problemas .titulo {
        font-size: 26px;
        width: 100%;
        padding-top: 70px;
        padding-bottom: 70px;
        margin-right: 0px;
        margin-left: 0px;
    }

    #problemas .conten-problemas {
        display: block;
        margin: 30px;
    }

    /*Footer-----------------------------*/
    #footer .row {
        text-align: center;
        display: flex;
        gap: 50;
        flex-wrap: wrap;
    }

}

/*media MAX 900px-----------------------------*/
@media (max-width: 900px) {
    #Importancia .fila {
        justify-content: center;
        display: flexbox;
        gap: 0;
        flex-wrap: wrap;
    }

    /*Ubicacion-----------------------------*/
    #ubicacion {
        background-color: #ffffff;
        color: #2a303a;
        text-align: center;
        max-width: 100%;
        padding-top: 30px;
        padding-bottom: 10px;
    }

    .row-ubicacion {
        display: block;
        width: 100%;
    }

    #ubicacion iframe {
        width: 100%;
        height: 18rem;
        margin-bottom: 20px;
    }

}



/*media MAX 768px----------------------------*/
@media (max-width: 768px) {

    #inicio .contenido header .contenido-header h1 {
        font-size: 12px;
        word-wrap: break-word;
    }

    .menu-toggle {
        display: block;
        color: white;
        font-size: 30px;
    }

    #nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        transition: right 0.5s ease;
        z-index: 1000;
        display: flex !important;
        /* Forzar display */
    }

    #nav h1 {
        font-size: 12px;
    }

    #nav.active {
        right: 0;
    }

    #nav ul {
        flex-direction: column;
        align-items: center;
        padding: 0;
        width: 100%;
    }

    #nav ul li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }

    #nav ul li a {
        margin: 10px 0;
        display: block;
        width: 100%;
        padding: 10px;
    }

    /*presentacion*/

    #inicio .contenido .presentacion {
        max-width: 100%;
        margin: 0 auto;
        padding: 20px;
        text-align: start;
        justify-self: center;
    }

    #inicio .contenido .presentacion h2 {
        font-size: 18px;
        margin-bottom: 15px;
        line-height: 30px;
        overflow-wrap: break-word;
    }

    #inicio .contenido .presentacion .descripcion {
        font-size: 12px;
        line-height: 28px;
        padding-bottom: 10px;

    }

    /*Compra-venta=========================*/
    #compra-venta {
        background-color: #f2f2f2;
        padding-bottom: 50px;
        padding-top: 50px;

    }

    #compra-venta .row-compra-venta {
        display: flex;
        gap: 50px;
        flex-wrap: wrap;
        width: 95%;
        margin: 10px auto;
        justify-content: center;
    }

    #compra-venta .row-compra-venta h3 {
        font-size: 1.3rem;
        text-transform: uppercase;
        color: #2a303a;
    }

    .card-cv {
        width: 30rem;
        box-shadow: 3px 3px 19px rgba(0, 0, 0, .2);
        color: #2a303a;
    }

    .card-cv .card-p1 {
        text-align: center;
        background-color: #fff;
        padding: 20px;
    }

    .card-cv .card-p1 h4 {
        color: #545e6d;
        margin-bottom: 25px;
        font-weight: 500;
        text-transform: uppercase;
        font-size: 14px;

    }

    .card-cv .card-p1 h3 {
        margin-bottom: 25px;
        font-weight: bold;
    }

    .card-cv .card-p1 p {
        margin-bottom: 25px;
        font-weight: 400;
        text-transform: uppercase;
        font-size: 12px;
        line-height: 22px;
    }

    .card-cv .card-p1 a {
        font-weight: 400;
        padding: 10px;
        background-color: #004085;
        color: #f4f4f4;
        text-decoration: none;
        display: inline-block;
        border-radius: 20px;
        width: 15rem;
        text-transform: uppercase;
        font-size: 12px;
    }

    .card-cv .card-p1 a:hover {
        box-shadow: 3px 3px 20px 2px rgba(46, 3, 137, 0.2);
        background-color: #005199;
    }


    .card-cv .card-p2 {
        width: 100%;
    }

    .card-cv .card-p2 img {
        width: 100%;
        height: 20rem;
        object-fit: cover;
        object-position: center;
    }

    .card-cv .card-p2 a {
        font-weight: 400;
        padding: 10px;
        background-color: #004085;
        color: #f4f4f4;
        text-decoration: none;
        display: inline-block;
        border-radius: 20px;
        width: 15rem;
        text-transform: uppercase;
        font-size: 12px;
    }


    /*sobre nosotros-----------------*/

    #about .row-about {
        display: block;
        width: 90%;
        color: #333333;
        justify-content: center;
    }

    #about .row-about .img {
        width: 100%;
        text-align: center;
    }

    #about .row-about .img img {
        width: 70%;
        border-radius: 15px;
    }

    #about .row-about .img h2 {
        margin-bottom: 50px;
        text-transform: uppercase;
        font-size: 32px;
    }

    #about .row-about .descripcion_about {
        width: 100%;
    }

    #about .row-about .descripcion_about p {
        line-height: 35px;
        text-align: justify;
        font-size: 14px;
    }

    /*Mision Vision================================================*/
    .mv-item h2 {
        font-size: 26px;
    }

    .mv-item p {
        font-size: 16px;
    }

    /*Servicios===================================================*/

    .content-servicios {
        max-width: 500px;
        margin: auto;
    }

    .content-servicios .tittle-servicios {
        font-weight: normal;
        padding-bottom: 50px;
    }

    .content-servicios .row {
        justify-content: center;
        display: flexbox;
        gap: 5;
        flex-wrap: wrap;
    }


    /*Pie*/
    #footer {
        width: 100%;
    }

    #footer .row {
        display: block;
    }

    #footer .row .formulario {
        margin: 10px;
    }

    #footer .row .social-icons a {
        text-align: center;
    }
}