* {
    margin: 0;
    padding: 0;
    font-family: system-ui;
}

html {
    scroll-behavior: smooth;
}

#inicio {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url("imagenes/pres011.jpg");
    background-size: cover;
    background-position: center center;
    height: 100vh;
}

#inicio .contenido header {
    background-color: #2a303a;
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    margin-bottom: 0px;
}

#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: 15px;
}

#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: 400;
    transition: color 0.3s;
}

#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: 50px;
}

#inicio .contenido .presentacion .bienvenida {
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: inherit;
    letter-spacing: 15px;
}

#inicio .contenido .presentacion h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    line-height: 35px;
}

#inicio .contenido .presentacion .span-tittle {
    font-weight: normal;
    font-size: 28px;
    color: #4682B4;
    margin-bottom: 35px;
    text-transform: uppercase;
    line-height: 35px;
}

#inicio .contenido .presentacion .descripcion {
    max-width: 100%;
    margin: 5px;
    font-size: 1.1rem;
    line-height: 35px;
}

#inicio .contenido .presentacion .descripcion .span-eco913 {
    text-decoration: underline;
    font-weight: bold;
}

#inicio .contenido .presentacion a {
    text-decoration: none;
    display: inline-block;
    margin-top: 35px;
    padding: 20px 25px;
    border: 2px solid #fff;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    transition: .3s;
    text-align: center;
    background-color: #2a303a;
}

#inicio .contenido .presentacion a:hover {
    background-color: #4682B4;
}

#icono-nav {
    color: #fff;
    display: none;
}


/*========= SECCION IMPORTANCIA DE LA ECO913 ============*/

#Importancia {
    padding: 100px 15px;
    text-align: center;
    background-color: #fff;
}

#Importancia .titulo-seccion {
    font-size: 24px;
    text-transform: uppercase;
    color: #2a303a;
    text-decoration-thickness: 5px;
    padding-bottom: 2rem;
}

#Importancia .des {
    color: #000000;
    font-size: 1rem;
}

#Importancia .fila {
    display: flex;
    justify-content: space-between;
    max-width: 1300px;
    margin: 30px auto;
}

#Importancia .fila .servicio {
    max-width: 250px;
    color: #7b2c36;
    padding: 30px;
    margin: 0 5px;
    transition: .5s;
}

#Importancia .fila .servicio img {
    width: 60px;
}

#Importancia .fila .servicio:hover {
    transform: scale(1.03);
}

#Importancia .fila .servicio h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #2a303a;
}

#Importancia .fila .servicio hr {
    width: 30%;
    margin: auto;
    color: #000;
    margin-bottom: 25px;
}

#Importancia .fila .servicio ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

#Importancia .fila .servicio p {
    font-size: initial;
    line-height: 22px;
    color: #7b2c36;
}

#Importancia .fila .servicio .precio {
    margin-top: 5rem;
    padding-bottom: 2rem;
    font-size: 2.5rem;
    line-height: 22px;
    color: #7b2c36;
}


/*===========SECCION SOBRE NOSOTROS============*/
#about {
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #f8f8f8;
    text-align: center;
    color: #2a303a;
}

#about h2 {
    font-size: 24px;
    text-transform: uppercase;
    text-decoration-thickness: 5px;
    font-weight: normal;
    padding-bottom: 2rem;
}

#about .content-about {
    font-size: 1.3rem;
    padding: 1.5rem;
    margin-bottom: 20px;
}

#about .content-about .row-about {
    display: flex;
    justify-content: space-between;
    max-width: 1150px;
    margin: 30px auto;
}

#about .content-about .row-about p {
    align-content: center;
    text-align: justify;
    font-size: initial;
    max-width: 50%;
}

#about .content-about .row-about img {
    margin: 10px;
    max-width: 30rem;
    height: 20rem;
    border-radius: 10px;
}

#about hr {
    width: 50%;
    margin: auto;
    color: #000;
    margin-bottom: 25px;
}

/*===========SECCION SERVICIOS =================*/

#servicios {
    color: #2a303a;
    text-align: center;
}

.content-servicios {
    max-width: 1100px;
    margin: 30px auto;
}

.content-servicios .tittle-servicios {
    font-weight: normal;
    padding-bottom: 50px;
}

#servicios .content-servicios .row {
    justify-content: space-between;
    display: flex;
    gap: 5;
    flex-wrap: wrap;
}

#servicios .content-servicios .row .servicio {
    margin: 5px;
    display: flex;
    width: 25rem;
    align-items: flex-start;
}

#servicios .content-servicios .row .servicio img {
    width: 4rem;
}

#servicios .content-servicios .row .servicio h4 {
    padding-bottom: 10px;
}

#servicios .content-servicios .row .servicio p {
    text-align: start;
    line-height: 190%;
}

/*===========SECCION PROBLEMAS =================*/
#problemas {
    background-color: #f8f8f8;
    color: #2a303a;
    padding-top: 50px;
    padding-bottom: 50px;
}

#problemas .content-problemas {
    display: flex;
    width: 100%;
    margin: 30px auto;
}

#problemas .titulo {
    background-image: url("imagenes/img4.jpg");
    background-size: cover;
    font-size: 28px;
    width: 40rem;
    padding-top: 140px;
    padding-bottom: 140px;
    text-align: center;
    color: #fff;
    border-radius: 2px;
    justify-content: center;
    margin-right: 35px;
    margin-left: 35px;
}

#problemas .conten-problemas {
    display: block;
}

#problemas .conten-problemas .content {
    display: flex;
    max-width: 100%;
}

#problemas .conten-problemas .content img {
    margin: 15px;
    width: 5rem;
}


/*===========SECCION UBICACION =================*/

#ubicacion {
    background-color: #ffffff;
    color: #2a303a;
    align-items: center;
    max-width: 1400px;
    margin: 30px auto;
    padding-top: 80px;
    padding-bottom: 80px;
}

.row-ubicacion {
    display: flex;
    justify-content: space-between;
    width: 800px;
    align-items: center;
}

#ubicacion p {
    font-size: initial;
    line-height: 30px;

}

#ubicacion iframe {
    width: 35rem;
    height: 18rem;
    border-radius: 15px;
}

/*===========PIE DE PAGINA =================*/

#footer{
    max-width: 100%;
    background-color: #f8f8f8;
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    color: #2a303a;
}

#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 .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 p{
    margin-bottom: 20px;
}

#footer .row .social-icons a{
    margin-bottom: 20px;
    text-decoration: none;
    color: #4682B4;
    text-align: left;
}

#footer .row .footer_quejas a{
    text-decoration: none;
    color: #2a303a;
}

#footer .row .footer_quejas img{
    width: 15rem;
}

/*====================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: #2a303a;
        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: 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;
    }

    /*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) {

    .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.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 .span-tittle {
        font-size: 16px;
        margin-bottom: 10px;
        line-height: 30px;
    }

    #inicio .contenido .presentacion h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
        line-height: 30px;
    }

    #inicio .contenido .presentacion .descripcion {
        font-size: 12px;
        line-height: 22px;
        padding-bottom: 10px;

    }


    /*sobre nosotros-----------------*/
    #about h2 {
        text-align: center;
    }

    #about .intro-text {
        text-align: center;
        font-size: 1.3rem;
        padding: 0px;
        padding-top: 15px;
        padding-bottom: 15px;
    }

    #about .content-about .row-about {
        display: block;
        max-width: 100%;
    }

    #about .content-about .row-about p {
        text-align: center;
        max-width: 100%;
        padding: 0px;
    }

    #about .content-about .row-about img {
        width: 100%;
        height: 15rem;
        margin: 0px;
    }

    /*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;
    }
}