/* Carrusel principal — Swiper GL (efecto WebGL del demo) */

.main-swiper-wrap {
    --swiper-navigation-color: #ffffff;
    --swiper-navigation-size: 44px;
    --swiper-navigation-sides-offset: 12px;
    --main-carousel-height: 480px;
    width: 100%;
    background: #000000;
}

.main-swiper.swiper {
    user-select: none;
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    height: var(--main-carousel-height);
    padding: 0;
    background: #000000;
}

.main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    box-sizing: border-box;
}

.main-swiper .swiper-slide-bg-image,
.main-swiper .swiper-gl-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    z-index: 0;
    object-fit: cover;
    object-position: center center;
    border-radius: inherit;
    opacity: 1;
}

.main-swiper .swiper-slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    z-index: 1;
    box-sizing: border-box;
    padding: 32px 16px;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    justify-content: flex-end;
    pointer-events: none;
}

.main-swiper .swiper-slide-text {
    color: rgba(255, 255, 255, 1);
    text-align: left;
    font-size: clamp(1.25rem, 3vw, 2.75rem);
    line-height: 1.4;
    font-weight: bold;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
    max-width: min(90%, 48rem);
}

.main-swiper .swiper-slide-link {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: block;
    text-indent: -9999px;
    overflow: hidden;
}

.main-swiper .swiper-button-prev,
.main-swiper .swiper-button-next {
    z-index: 5;
}

.main-swiper-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 280px;
    color: #807e82;
    background: #f4f6f9;
}

@media (max-width: 767.98px) {
    .main-swiper-wrap {
        --main-carousel-height: 320px;
    }

    .main-swiper .swiper-slide-content {
        padding: 20px 12px;
    }
}
