@charset "utf-8";

* {
    box-sizing: border-box;
    list-style: none;
    width: auto;
    text-decoration: none;
    color: var(--black);
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-size: 16px;
    /*overflow-x: hidden;*/
}

:root {
    --red: #e30613;
    --grey: #706f6f;
    --white: #fafafa;
    --Dgrey: #a3a3a3;
    --Lgrey: #e0e0e0;
    --black: #010101;
    --Lwhite: #fcfcfc;
}

img {
    width: 100%;
    object-fit: cover;
    vertical-align: middle;
}

a {
    cursor: pointer;
}

body {
    width: 100%;
    background-color: var(--Lwhite);
    font-family: 'Lato', sans-serif;
}

.container {
    min-height: 98vh;
    /*XA QUE EL FOOTER NO SE MUEVA*/
}

main {
    margin-top: 3rem;
}

/*FONT-SIZE*/
/*mobile*/
h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.3rem;
}

h4 {
    font-size: 1.1rem;
}

p {
    font-size: 1rem;
}

nav {
    font-size: 1.2rem;
}


/*desktop*/
/*si es igual o mayor que 768px va a hacer esto*/
@media (min-width: 768px) {
    h1 {
        font-size: 3em;
        font-weight: 600;
    }

    h2 {
        font-size: 1.5em;
        font-weight: 600;
    }

    h3 {
        font-size: 1.5em;
        font-weight: 500;
    }

    h4 {
        font-size: 1em;
        font-weight: 400;
    }

    p {
        font-size: 1em;
    }

    nav {
        font-size: 1.1em;
    }
}



/*FOOTER mobile*/
footer {
    width: 100%;
    height: 100vh;
    position: static;
    bottom: 0;
    left: 0;
    background-color: var(--grey);
    color: var(--Lwhite);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.footer-item {}

.footer-item p {
    color: var(--Lwhite);
    font-size: 16px;
    line-height: 22px;
    font-weight: 300;
}

.footer-item:nth-child(2) {
    width: 80%;
    text-align: center;
    order: 1;
    margin-top: 120px;
}

.footer-item:first-child {
    width: 90%;
    order: 2;
}

.footer-item:first-child img {
    width: 30%;
    max-width: 180px;
    display: flex;
    margin: 0 auto;

}


.footer-item:last-child {
    color: var(--white);
    padding: 20px 10% 0px;
    order: 3;

}

.footer-item:last-child div {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    min-width: 100%;
    justify-content: center;

}

.footer-item:last-child img {
    width: 25px;
    min-width: 15px;
    margin: 0 3px;
}

/*FOOTER desktop*/
/*si es igual o mayor que 768px va a hacer esto*/
@media (min-width: 768px) {
    footer {
        height: calc(100vh - 80px);
        display: grid;
        grid-template-columns: 30% 40% 30%;
        flex-direction: inherit;
        justify-content: inherit;
    }

    .footer-item p {
        font-size: 1.2rem;
        line-height: 2rem;
    }

    .footer-item:first-child {
        margin-top: 0px;
        order: inherit;
    }

    .footer-item:first-child img {
        width: 10rem;
        max-width: none;
    }

    .footer-item:nth-child(2) {
        width: 90%;
        text-align: left;
        padding-left: 20px;
        padding-right: 10px;
        border-left: solid 2px var(--Lgrey);
        border-right: solid 2px var(--Lgrey);
        order: inherit;
        margin-top: 0;
    }

    .footer-item:last-child {
        padding: 10px;
        order: inherit;
    }

    .footer-item:last-child p {
        font-size: 16px;
    }

    .footer-item:last-child div {
        margin: 5px 0;
        justify-content: left;
    }

    .footer-item:last-child img {
        width: 30px;
        margin: 5px 3px;
    }
}

/*FOOTER*/

/*HEADER - NAVBAR*/
header {
    width: 100%;
    height: 7rem;
    line-height: 80px;
    background-color: var(--Lwhite);
    position: fixed;
    z-index: 10;
    top: 0;
    transition: 0.4s;
    display: flexbox;
    box-shadow: 0 0 5px var(--grey);
    padding: 1rem 10px;
}

#logo {
    float: left;

}

#logo img {
    height: 6rem;
}

/*INDEX*/
.index img {
    max-height: 500px;
    min-height: 400px;
}

.indexC .titulo {
    font-size: 52px;
    font-weight: 600;
    color: var(--red)
}

.indexC .subtitulo {
    font-size: 36px;
    font-weight: 200;
    color: var(--grey)
}

.indexC .bajada {
    font-size: 24px;
    font-weight: 300;
    color: var(--black);
}
.indexC .bajada b {
    font-size: 24px;
    font-weight: 500;
    color: var(--red);
}


.indexC p {
    font-size: 16px;
    color: var(--black);
}


/*SERVICIOS*/
.serviciosIndex {
    width: 90vw;
    margin: 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.serviciosIndex .titulo {
    margin: 4rem 0 0.5rem 0;
    padding: 0;
    font-size: 52px;
    font-weight: 600;
    color: var(--red)
}

.serviciosIndex .bajada {
    max-width: 80%;
    padding: 0.7rem 0;
    text-align: center;
}

.serviciosIndex ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.serviciosIndex li {
    max-width: 320px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 1rem 1rem;
}

.serviciosIndex .subtitulo {
    text-align: center;
}

/*SERVICIOS*/


/*SLIDE INSPIRATE INDEX*/
.slideIndex {
    height: 500px;
    width: 100vw;
    margin: 6rem 0 3rem 0;
}

.slideIndex img {
    height: 500px;
    object-fit: cover;
    object-position: left;
}

/*SLIDE INSPIRATE INDEX*/


/*VENTAJAS*/
.ventajasIndex {
    width: 90vw;
    margin: 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.ventajasIndex .titulo {
    margin: 4rem 0 0.5rem 0;
    padding: 0;
    text-align: center;
}

.ventajasIndex .bajada {
    margin: 0 1rem;
    padding: 0.7rem 0;
    text-align: center;
    margin-bottom: 1rem;
}

.ventajasIndex li {
    margin: 1.5rem 0 0;
}

.ventajasIndex .subtitulo {
    text-align: center;
    margin-top: 2rem;
    font-weight: 400;
}

/*VENTAJAS*/


/*INDEX desktop*/
/*si es igual o mayor que 768px va a hacer esto*/
@media (min-width: 768px) {

    .indexC .titulo {
        font-size: 72px;
    }

    .indexC .subtitulo {
        font-size: 32px;
    }
    .serviciosIndex {
        width: 60%;
        margin: 0 auto;
    }

    /*SLIDE*/
    .slideIndex {
        width: 100%;
        margin: 5rem 0;
        justify-content: center;
        position: relative;
        display: flex;
        max-height: 800px;
    }

    .slide {
        width: 100%;

    }

    .slideIndex img {
        width: 100%;
        object-position: center;
    }

    /*SLIDE*/    

    /*VENTAJAS*/
    .ventajasIndex {
        margin: 5rem 5vw;
        padding: 2rem 0;
        flex-direction: row;
        justify-content: center;
    }

    .ventajasText {
        max-width: 360px;
        min-width: 340px;
    }

    .ventajasIndex .titulo {
        margin: 0 0 0.5rem 0;
    }

    .ventajasIndex .bajada {
        margin: 0;
        padding: 0;
        text-align: left;
    }

    .ventajasIndex ul {
        width: max-content;
    }

    .ventajasIndex li {
        margin: 0;
        padding: 0.3rem 0 0;
    }

    .ventajasIndex .subtitulo {
        text-align: left;
        margin-top: 1.5rem;
        font-weight: 500;
        font-size: 24px;
        color: var(--red);
    }

    .ventajasMedio {
        margin: 0 3rem;
    }

    /*VENTAJAS*/
}

/*INDEX*/


/*CONTACTO*/

.contacto {
    margin-top: 10rem;

}

.contactoGoogle {
    height: 80vh;
    width: 96%;
}

.contactoDatos {
    display: none;
}

.contactMaps {
    width: 100vw;
    margin-top: 20px;
    height: 20vh;
}

@media (min-width: 768px) {

    .contacto {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 10rem;
    }

    .contactoF {
        display: flex;
        flex-direction: row;
        justify-content: center;
        width: 96%;
        margin: 0 auto;

    }

    .contactMaps {
        width: 100%;
        margin-top: 20px;
        height: 300px;
    }

    .contactoGoogle {
        height: 600px;
        width: 45%;
        margin-left: 5%;
    }

    .contactoDatos {
        display: flex;
        flex-direction: column;
        width: 40%;
        max-height: 600px;
        /* border-radius: 1rem;
        box-shadow: 1px 1px 5px var(--grey);*/
        padding-top: 40px;
    }


    .contactoDatos ul {
        margin-bottom: 1rem;
        display: flex;
        flex-direction: column;
    }

    .contactoDatos h3, b {
        color: var(--red);
        padding-bottom: 15px;
        font-size: 1.5rem;
    }

    .contactoDatos li {
        display: flex;
        margin-right: 30px;
        margin-bottom: 20px;
    }

    .contactoDatos img {
        width: 30px;
        height: 30px;
    }
}

/*CONTACTO*/