.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.swiper-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    /* Alinea los logos verticalmente en el centro */
}

.swiper-wrapper {
    display: flex;
    align-items: center;
}

.swiper-slide {
    width: auto;
    /* Deja que el slide tenga el ancho de su contenido (el logo) */
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    width: auto;
    height: 80%;
    /* Ajusta el tamaño de los logos según la altura de la pantalla */
}

.thumbs-swiper .swiper-slide {
    width: auto;
    /* Deja que el slide tenga el ancho de su contenido (el logo) */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.3;
}

.thumbs-swiper .swiper-slide img {
    max-width: 100%;
    height: 80px;
    /* Ajusta el tamaño de los logos según la altura de la pantalla */
}

.thumbs-swiper .swiper-slide:hover {
    opacity: 1;
}

.w-webflow-badge {
    display: none !important;
}

.follower {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    /* Para que no interfiera con el hover */
    transition: opacity 0.2s;
}

.hover-area:hover .follower {
    opacity: 1;
    /* Mostrar imagen al hacer hover */
}

.galeria {
    transition: transform 0.5s ease-in-out;
    transform: translate3d(0, 100vh, 0);
}

.galeria.galeria-cs-show {
    transform: translate3d(0, 0, 0);
}

.icono {
    display: block;
    margin: 10px auto;
    width: 150px;
    transition: transform 0.2s ease-out;
    transform-style: preserve-3d;
    transform-origin: center;
    /* Asegura que la rotación ocurra desde el centro */
}

.project-category {
    top: 0;
    height: auto;
    position: sticky;
}

.project-category.relative {
    position: relative;
}

.text-block-3 {
    transform: translate(0, 0);
}

.logos-swiper {
    display: block;
}

.logos-swiper-home {
    margin-top: 200px;
    margin-bottom: 150px;
}

.logos-swiper-home .swiper-slide-visible.swiper-slide-active,
.logos-swiper-home .swiper-slide-visible:nth-of-type(4n) {
    opacity: 0.2;
}

.more-button-wrap {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-top: 30px;
}

.more-button {
    grid-column-gap: 15px;
    grid-row-gap: 15px;
    border-bottom: 0 #000;
    align-items: center;
    text-decoration: none;
    display: flex;
}

.servicio-right-col {
    align-items: flex-start;
}

.project-category .servicio-right-col .text-block-8 {
    border-bottom: 1px solid white;
    padding-bottom: 35px;
    margin-bottom: 70px;
}

.project-category .servicio-right-col .more-button .text-block-28 {
    color: white;
}

.filosofia .div-block-5 {
    margin-top: -396px;
}

.proyecto-destacado,
.destacado-full {
    color: #383838;
    text-decoration: none;
    overflow: visible;
}

.proyecto-destacado .name {
    font-size: 25px;
}

.proyectos-destacados {
    padding-top: 145px;
}

.proyectos-destacados-swiper .container {
    position: relative;
}

.proyectos-destacados-swiper .proyectos-destacados-titulo {
    display: flex;
    justify-content: center;
}

.proyectos-destacados-swiper .subtitle {
    position: absolute;
    left: 0;
    top: 130px;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    text-transform: uppercase;
    color: #505050;
}

.proyectos-destacados-swiper .proyectos-destacados-titulo * {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    max-width: 770px;
}

.proyectos-destacados-swiper .image-wp {
    position: relative;
    width: 262px;
    height: 237px;
}

.proyectos-destacados-swiper .image-wp .main-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.proyectos-destacados .controls-wp {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
}

.proyectos-destacados .controls-wp .controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
}

.proyectos-destacados .controls-wp .controls .swiper-prev,
.proyectos-destacados .controls-wp .controls .swiper-next {
    width: 55px;
    height: 55px;
    background: url("https://grupoas.mx/img/home-projects-swiper-prev.svg") no-repeat center center;
}

.proyectos-destacados .controls-wp .controls .swiper-prev.swiper-button-disabled,
.proyectos-destacados .controls-wp .controls .swiper-next.swiper-button-disabled {
    background-image: url("https://grupoas.mx/img/home-projects-swiper-prev-disabled.svg");
}


.proyectos-destacados .controls-wp .controls .swiper-next {
    transform: rotate(180deg);
}

.proyectos-destacados .controls-wp .more-projects {
    display: block;
    color: #000;
    font-family: Roboto;
    font-size: 18px;
    font-weight: 400;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.proyectos-destacados .controls-wp .more-projects::after {
    display: block;
    content: '';
    width: 12px;
    height: 12px;
    background: url("https://grupoas.mx/img/home-projects-more.svg") no-repeat center center;
}

.filosofia .div-block-5 {
    margin-top: 0;
}

.filosofia .flex-block-4 {
    margin-bottom: 200px;
}

.wp-full {
    position: relative;
}

.proyectos-destacados-swiper .swiper-wp {
    padding-left: 10px;
}

.proyectos-destacados .controls-wp .more-projects {
    margin-right: 10px;
}

.filosofia {
    margin-bottom: 0;
    padding-bottom: 0;
}

.accordion-component {
    width: auto;
}

.colaboradores-titulo,
.filosofia .flex-block-2 {
    flex-direction: column;
}


@media (max-width: 1024px) {
    .project-category .w-container {
        max-width: 100%;
    }

    .filosofia {
        padding-bottom: 100px;
    }

    .filosofia .flex-block-4 {
        margin-bottom: 100px;
    }

    .text-block-3 {
        font-size: 40px;
    }

    .heading-2 {
        font-size: 40px;
        line-height: 1.2;
    }

    .heading-3 {
        line-height: 1.2;
        font-size: 30px;
    }

    .text-block-2 {
        width: 21%;
    }
}

@media (min-width: 991px) {

    .colaboradores-titulo,
    .filosofia .flex-block-2 {
        flex-direction: row;
    }

    .accordion-component {
        width: 850px;
    }

    .filosofia {
        margin-bottom: 60px;
        padding-bottom: 60px;
    }

    .filosofia-1-img-wp img,
    .filosofia-2-img-wp img {
        object-fit: cover;
        display: block;
    }

    .filosofia-1-img-wp,
    .filosofia-2-img-wp {
        position: relative;
    }

    .filosofia-1-img-wp {
        width: 542px;
        height: 822px;
    }

    .filosofia-2-img-wp {
        width: 819px;
        height: 642px;
    }

    .proyectos-destacados .controls-wp .more-projects {
        margin-right: 140px;
    }

    .proyectos-destacados .controls-wp {
        margin-top: 60px;
    }

    .filosofia {
        padding-bottom: 0;
    }

    .filosofia .flex-block-4 {
        margin-bottom: 370px;
    }

    .filosofia .div-block-5 {
        margin-top: -396px;
    }

    .proyectos-destacados .controls-wp .controls {
        gap: 40px;
    }

    .proyectos-destacados-swiper .swiper-wp {
        padding-left: 160px;
    }

    .proyectos-destacados-swiper .proyectos-destacados-titulo * {
        font-size: 50px;
        line-height: 60px;
    }

    .proyectos-destacados-swiper .subtitle {
        font-size: 150px;
        line-height: 150px;
        top: 220px;
    }

    .proyectos-destacados-swiper .image-wp {
        position: relative;
        width: 826px;
        height: 478px;
    }

    .more-button-wrap {
        margin-top: 60px;
    }

    .thumbs-swiper .swiper-slide {
        width: 233px;
    }

    .thumbs-swiper .swiper-slide img {
        height: auto;
        /* Ajusta el tamaño de los logos según la altura de la pantalla */
    }
}