* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    font-family: Lato, sans-serif;
    overflow-x: hidden;
}


/* TOP BANNER*/
.topbanner{
    background-color: #20446F;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 5px;
}

.info--link{
    color: #dfeaf8;
    text-decoration: none;
    font-weight: normal;
    font-size: 12px;
    margin: 0px 35px;
    display: flex;
    align-items: center;
}

.img {
    width: 16px;
    max-height: 16px;
    margin-right: 5px;
}

/*HEADER*/
.header{
    background-color: #186ccc;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 35px;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
}

.header__logo a{
    display: flex;
    align-items: center;
    height: 100%;
}

.logo{
    max-height: 70px;
    width: auto;
    margin: 0;
    padding: 0;
}

.header__nav{
    background-color: #186ccc;
    display: flex;
    flex-wrap: wrap;
}

.nav__list{
    list-style: none;
    display: flex;
    gap: 1em;
    align-items: center;
}

.nav__link{
    text-decoration: none;
    color: #dfeaf8;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav__link:hover{
    color: #20446F;
}

.abrir-menu, .cerrar-menu{
    display: none;
}

.item--btn{
    border: 2px solid #dfeaf8;
    border-radius: 5px;
    padding: 5px 9px;
    background-color: #dfeaf8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.link--button {
    color: #186ccc;
}

/* SECTION CONTENT */
.content--bgc{
    position: relative;
    background-image: url(/assets/images/tuercas.webp);
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    min-height: 80vh;
}

.section__content .overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    background-color: #0007;
    z-index: 1;
}

.section__content .content{
    position: relative;
    text-align: center;
    z-index: 2;
    color: #fff;
}

.content h1 {
    font-size: 4.3em;
    margin: 0;
    line-height: 1em;
    
}

.content h2 {
    font-size: 1.10em;
    margin: 0px;
}

.content__item {
    max-width: 47em;
    flex-grow: 1;
    text-wrap: pretty;
    padding: 1em;
}

.content__item p{
    width: 100%;
    text-align: center;
    margin: 0;
    word-wrap: break-word;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s;
    z-index: 1;
}

.btn-primary {
    background-color: #186ccc; /* Color principal */
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #20446F;
    transform: scale(1.05);
}

/* SECTION CARROUSEL*/
.carrousel h2{
    text-align: center;
    color: #20446F;
    font-size: 39px;
    margin: 2em 0em;
}

.carrousel h2>span{
    font-weight: lighter;
}

.swiper{
    width: 100%;
    padding: 20px 0px;
    box-sizing: border-box;
    pointer-events: none;
}

.swiper-wrapper{
    display: flex;
    align-items: center;
    margin-bottom: 1em;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    
}

.swiper-slide img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: block;
    object-fit: contain;
}


/* SECTION INFO*/
.section__info {
    background-color: #f7f7f7;
    padding: 20px 0px;
}

.section__info h2{
    text-align: center;
    color: #20446F;
    font-size: 39px;
    margin: 50px 0px;
}

.section__info .info{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 2.5em;
}

.info--item{
    max-width: 700px;
    margin: 0px 0px 0px 7em;
    background-color: #20446F;
    color: #ffffff;
    padding: 20px 30px;
    box-shadow: 0px 0px 45px #0005;
    font-size: 16px;
    text-wrap: pretty;
}

.img__exterior{
    width: 20em;
    margin-right: 5em;
    box-shadow: 0px 0px 45px #0005;
}
/*SECTION INFO END*/

/*SECTION INTERVIEWS*/
.section__interviews{
    background-color: #f4f4f4;
    padding-bottom: 3.5em;
}

.interviews--bgc{
    background-image: linear-gradient(#0007, #000),url(/assets/images/respuestos-gonzalez4.webp);
    max-width: 100%;
    height: 90vh;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    box-shadow: 1px 6px 56px 10px rgba(0,0,0,0.3);
    display: flex;
}

.interviews--info {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.interviews--info p {
    max-width: 75%;
    color: #fff;
    margin-bottom: 1em;
}

/*INTERVIEWS ENDS*/


/*SECTION FEATURED PRODUCTS*/

.featured-products {
    text-align: center;
    padding: 60px 20px;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
}

.featured-products__title {
    font-size: 2em;
    margin-bottom: 40px;
    color: #20446F;
}

.featured-products__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 30px;
    margin: auto;
}

.product-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-card__image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}


.product-card__title {
    font-size: 1.1em;
    color: #20446F;
    margin: 15px;
}

.featured-products .btn {
    margin-top: 1em;
    font-size: 1.2em;
}


/* SECTION LOCATION*/
.section__location {
    text-align: center;
    
}

.section__location h2 {
    font-size: 2em;
    margin-bottom: 10px;
    color: #20446F;
    margin-top: 0.5em;
}

.section__location p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333;
}

.location--map{
    width: 100%;
    height: auto;
}

/* FOOTER*/
/* Footer Styles */
.footer {
    background-color: #20446F;
    color: #dfeaf8;
    padding: 40px 20px;
    text-align: center;
}

.footer__container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer__section {
    flex: 1 1 calc(33.33% - 20px);
    min-width: 250px;
}

.footer__section p a{
    color: #dfeaf8;
}

.footer__section h4 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer__section p, 
.footer__section ul {
    margin: 0;
    font-size: 0.9em;
}

.footer__section ul {
    list-style: none;
    padding: 0;
}

.footer__section ul li {
    margin-bottom: 5px;
}

.footer__section ul li a {
    color: #dfeaf8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__section ul li a:hover {
    color: #186ccc;
    transform: scale(1.1);
}

.social__links a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s;
    color:#dfeaf8;
}

.social__links a:hover {
    transform: scale(1.1);
}

.footer__bottom {
    border-top: 1px solid #ffffff22;
    padding-top: 10px;
    font-size: 0.8em;
    margin-top: 20px;
}

.footer__bottom p {
    margin: 0;
}

/* MEDIA QUERIES*/

@media screen and (max-width: 1024px) {
    /* TOP BANNER*/
    .topbanner {
        justify-content: center;
    }

    .info--link{
        font-size: 11px;
        margin: 0 10px 0 0;
        
    }

    /*HEADER*/
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        overflow: hidden;
        overflow-x: hidden;
    }

    .header__nav{
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        height: 100%;
        background-color: #186ccc;
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: start;
        gap: 1em;
        padding: 2em;
        transition: right 0.3s ease;
    
    }

    .header__nav.visible{
        right: 0;
    }

    .abrir-menu {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #dfeaf8;
        cursor: pointer;
    }

    .cerrar-menu{
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #dfeaf8;
        cursor: pointer;
        align-self: flex-end;
    }

    .logo{
        display: block;
        max-height: 35px;
        margin: 0;
        padding: 0;
    }

    .nav__list{
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        list-style: none;
        padding: 0;
        width: 100%;
        flex-wrap: wrap;
    }

    .nav__item{
        margin: 0.5em 0;
    }
    
    .nav__link{
        color: #dfeaf8;
        text-decoration: none;
        font-size: 14px;
    }

    .link--button {
        color: #186ccc;
    }

    /*FEATURED PPRDUCTS SECTION*/
    .featured-products__container{
        grid-template-columns: repeat(2, 1fr);
    }
} 

@media screen and (max-width:770px) {
    /* HEADER */
    .logo{
        max-height: 45px;
    }

    /* SECTION CONTENT */
    .content h2 {
        font-size: 18px;
    }

    .content h1 {
        font-size: 39px;
    }

    .content__item p {
        font-size: 14px;
        padding: 0px 20px;
    }

    /*CARROUSEL*/
    .carrousel {
        overflow: hidden;
        max-width: 100%;
    }

    .carrousel h2 {
        font-size: 18px;
        padding: 20px 10px;
    }

    /* SECTION INFO*/
    .section__info {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .section__info h2 {
        font-size: 30px;
        margin: 20px 0px;
    }

    .section__info .info--item {
        padding: 15px 30px;
        margin: 0;
        flex: 1;
        width: 100%;
    }
    
    .info--item p{
        font-size: 11px;
        text-wrap: balance;
    }

    .img__exterior {
        width: 200px;
        margin: 20px;

    }

    /*INTERVIEWS SECTION*/
    .interviews--info h2 {
        font-size: 25px;
    }

    .interviews--info p {
        font-size: 11px;
    }

    /*INTERVIEWS ENDS*/

    /* SECTION FEATURED PRODUCTS*/
    .featured-products__title{
        font-size: 30px;
    }

    .product-card__title {
        font-size: 1em;
        color: #20446F;
        margin: 15px;
    }

    .featured-products__container{
        grid-template-columns: repeat(1, 1fr);
    }

    /*SECTION LOCATION*/
    .section__location h2 {
        font-size: 30px;
        margin: 20px;
    }

    .section__location p {
        font-size: 11px;
        margin: 20px;
    }
}

@media screen and (min-width:771px) and (max-width: 1024px) {
    /*HEADER*/
    .logo{
        max-height: 60px;
    }


    /* SECTION CONTENT */
.content h2 {
    font-size: 18px;
}

.content h1 {
    font-size: 49px;
    margin-top: 10px;
}

.content__item p {
    font-size: 15px;
    padding: 0px 20px;
}

/*CARROUSEL*/
.carrousel h2 {
    font-size: 25px;
    padding: 20px 0px;
}

/* SECTION INFO*/
.section__info {
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}


.section__info h2 {
    font-size: 30px;
    padding: 30px 0px;
    margin: 0;
}

.section__info .info--item {
    padding: 15px 30px;
    margin: 0;
    flex: 1;
    width: 100%;
}

.info--item p{
    font-size: 11px;
    text-wrap: balance;
}

.img__exterior {
    width: 200px;
    margin: 20px;

}

/*INTERVIEWS SECTION*/
.interviews--info h2 {
    font-size: 25px;
}

.interviews--info p {
    font-size: 11px;
}

/*INTERVIEWS ENDS*/


/* SECTION FEATURED PRODUCTS*/
.featured-products__title{
    font-size: 30px;
}

/*SECTION LOCATION*/
.section__location h2 {
    font-size: 30px;
    margin: 20px;
}

.section__location p {
    font-size: 11px;
    margin: 20px;
}
}