:root {
    --swiper-navigation-size: 30px !important;
    --swiper-theme-color: var(--black) !important;
}

.webp .content__banner{
    background-image: url("/content/sources/images/filli_banner_principal.webp");
}
.no-webp .content__banner{
    background-image: url("/content/sources/images/filli_banner_principal.jpg");
}


.content__banner{
    
    position: relative;
    background-position: center;
    background-size: cover;
    min-height: 80vh;
    color: var(--white);
    align-items: flex-end;
    padding-block: 6rem;
    & .content__banner__background{
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        object-fit: cover;
        z-index: -1;
    }
    & h1{
        font-size: 32px;
    }
}

.content__mission{
    & .container{
        flex-direction: row;
        align-items: center;
        gap: 5rem;

        & .content__mission__image{
            max-width: 100%;
            width: 469px;
        }

        & .content__mission__description {
            width: 50%;
        }
    }
}

.swiper {
    width: 100%;
    height: min-content;
  }


.content__filiproductos .container{
    gap: 2rem;
}

.content__filiproductos__slider .swiper-button-prev{
    left: auto;
    right: 50%;
}

.content__filiproductos__product{
    display: flex;
    align-items: center;
    gap: 5rem;
    height: 100%;
    & .product__info{
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 1rem;

        & p{
            width: 350px;
            max-width: 100%;
        }
    }

    & .product__image{
        max-width: 100%;
        width: 50%;
        padding-right: 2.5rem;
    }
}


.content__design-process{
    & .container{
        gap: 2rem;
    }
    & .content__design-process__process{
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 3rem;
        
        & .process__item{

           & .process__item__image{
            filter: saturate(0);
            transition: filter .5s ease-out;
           } 
           & .process__item__info__header{
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-block: 1rem;

            & h3{
                font-size: 26px;
            }

            & span{
                font-size: 15px;
                font-weight: 500;
                color: var(--light-gray);
            }
           }
           & p{
            font-size: 15px;
           }

           &:hover{
            & .process__item__image{
                filter: saturate(1);
               } 
           }
        }
    }

}

.content__last-projects{
    & .container{
        gap: 5rem;
    }
    
    & .content__last-projects__projects{
        width: 920px;
        max-width: 100%;
        margin-inline: auto;
        & .projects__item{
            & h3{
                font-size: 1rem;                
                font-weight: 400;
            }

            & a{
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-block: 1rem;
                border-top: 1px solid var(--light-gray);
                font-size: 1.2rem;
                font-weight: 500;
                color: var(--gray);
            }

        }
    }

    & .last-projects__button{
        text-align: end;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 15px;
        width: 920px;
        max-width: 100%;
        margin-inline: auto;
    }
}

& .title-subtitle{
    display: flex;
    justify-content: space-between;
    & h3{
        font-size: 1rem;
        font-weight: 300;
    }
}


.content__contact{
    .container{
        gap: 2rem;
    }

    & .contact__info__item{
        margin-bottom: 15px;
    }
}

.content__faqs{
    & .container{
        gap: 5rem;
    }
    
    & .content__faqs__list{
        width: 920px;
        max-width: 100%;
        margin-inline: auto;
        & .faqs__list__item{
            padding-bottom: 0;
            transition: padding .5s ease;
            & .faqs__list__item__header{
                display: flex;
                justify-content: space-between;
                padding-block: 1rem;
                border-top: 1px solid var(--light-gray);
    
                & h3{
                    font-size: 15px;                
                    font-weight: 500;
                }
    
                & span{
                    font-size: 1.2rem;
                    font-weight: 500;
                    color: var(--gray);
                }
    
            }

            & .faqs__list__item__description{
                font-size: 15px;
                font-weight: 400;
                max-height: 0;
                opacity: 0;
                pointer-events: none;
                transition: max-height .5s ease, opacity .5s ease;
            }

            &:hover{
                padding-bottom: 1rem;
                & .faqs__list__item__description{
                    max-height: 500px;
                    opacity: 1;
                }
            }
        }
        
    }
}

@media screen and (max-width: 768px) {

    .webp .content__banner{
        background-image: url("/content/sources/images/filli_banner_principal-movil.webp");
    }
    .no-webp .content__banner{
        background-image: url("/content/sources/images/filli_banner_principal-movil.jpg");
    }

    .content__mission{
        & .container{
            gap: 2rem;
    
            & .content__mission__image{
                width: 469px;
            }
    
            & .content__mission__description {
                width: 100%;
            }
        }
    }

    .content__filiproductos__slider{
        & .swiper-button-next  {
            right: var(--swiper-navigation-sides-offset, 0px);
            left: auto;
        }
        & .swiper-button-prev{
            left: var(--swiper-navigation-sides-offset, 0px);
            right: auto;
        }
    }

    .content__filiproductos__product{
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 1rem;
        padding-inline: 2rem;
        & .product__info{
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 1rem;
    
            & p{
                width: inherit;
            }
        }

        & .product__image{
            max-width: 100%;
            width: 100%;
            padding-right: 0;

            & img{
                width: 100%;
            }
        }
    }

    .process__item__image img{
        width: 100%;
    }

    .title-subtitle{
        flex-direction: column;
    }
}