.home-promo-carousel {
    position: relative;
    min-height: clamp(540px, 48vw, 680px);
    overflow: hidden;
    isolation: isolate;
    background: #05272d;
    color: #fff;
}

/* The old static banner remains in the view only for compatibility with cached pages. */
.hero-eje-banner {
    display: none !important;
}

.home-promo-carousel__viewport {
    position: relative;
    min-height: inherit;
}

.home-promo-carousel__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    transition: opacity .45s ease, visibility .45s ease;
}

.home-promo-carousel__slide[data-active="true"] {
    z-index: 1;
    visibility: visible;
    opacity: 1;
}

.home-promo-carousel__slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(2, 29, 35, .88) 0%, rgba(2, 29, 35, .68) 33%, rgba(2, 29, 35, .18) 67%, rgba(2, 29, 35, .08) 100%);
}

.home-promo-carousel__picture {
    position: absolute;
    inset: 0;
    display: block;
}

.home-promo-carousel__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-promo-carousel__slide--termales .home-promo-carousel__image {
    object-position: center 58%;
}

.home-promo-carousel__slide--zavara .home-promo-carousel__image {
    object-position: center 52%;
}

.home-promo-carousel__slide--laberinto .home-promo-carousel__image {
    object-position: center 48%;
}

.home-promo-carousel__content {
    position: relative;
    z-index: 2;
    width: min(100% - 48px, 620px);
    margin-left: max(24px, calc((100vw - 1440px) / 2));
    padding: 96px 0 132px;
}

.home-promo-carousel__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin: 0 0 18px;
    padding: 7px 13px;
    border: 1px solid rgba(0, 255, 139, .45);
    border-radius: 999px;
    background: rgba(0, 255, 139, .14);
    color: #b7ffdd;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.home-promo-carousel__title {
    max-width: 650px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.7rem, 5.7vw, 5.9rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-promo-carousel__description {
    max-width: 560px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, .9);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.5;
    font-weight: 650;
}

.home-promo-carousel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.home-promo-carousel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 2px solid #00ff8b;
    border-radius: 999px;
    background: #00ff8b;
    color: #05272d;
    font-size: .96rem;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.home-promo-carousel__cta:hover,
.home-promo-carousel__cta:focus-visible {
    transform: translateY(-2px);
    background: #fff;
    color: #05272d;
}

.home-promo-carousel__meta {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: .9rem;
    font-weight: 750;
}

.home-promo-carousel__controls {
    position: absolute;
    right: max(24px, calc((100vw - 1440px) / 2));
    bottom: 24px;
    left: max(24px, calc((100vw - 1440px) / 2));
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.home-promo-carousel__arrows,
.home-promo-carousel__dots {
    display: flex;
    align-items: center;
    gap: 9px;
}

.home-promo-carousel__arrow,
.home-promo-carousel__dot {
    display: inline-grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .5);
    background: rgba(5, 39, 45, .62);
    color: #fff;
    cursor: pointer;
}

.home-promo-carousel__arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.55rem;
    line-height: 1;
}

.home-promo-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: .62;
    transition: transform .2s ease, opacity .2s ease, background-color .2s ease;
}

.home-promo-carousel__dot[data-active="true"] {
    transform: scale(1.35);
    border-color: #00ff8b;
    background: #00ff8b;
    opacity: 1;
}

.home-promo-carousel__arrow:hover,
.home-promo-carousel__arrow:focus-visible,
.home-promo-carousel__dot:focus-visible {
    outline: 3px solid rgba(0, 255, 139, .75);
    outline-offset: 3px;
}

.home-promo-carousel__count {
    color: rgba(255, 255, 255, .78);
    font-size: .84rem;
    font-weight: 850;
}

@media (max-width: 700px) {
    .home-promo-carousel {
        min-height: 610px;
    }

    .home-promo-carousel__slide {
        align-items: flex-end;
    }

    .home-promo-carousel__slide::after {
        background: linear-gradient(180deg, rgba(2, 29, 35, .08) 0%, rgba(2, 29, 35, .2) 28%, rgba(2, 29, 35, .91) 72%, rgba(2, 29, 35, .96) 100%);
    }

    .home-promo-carousel__content {
        width: calc(100% - 36px);
        margin: 0 18px;
        padding: 80px 0 112px;
    }

    .home-promo-carousel__eyebrow {
        margin-bottom: 13px;
        font-size: .7rem;
    }

    .home-promo-carousel__title {
        font-size: clamp(2.35rem, 12vw, 4rem);
    }

    .home-promo-carousel__description {
        margin-top: 15px;
        font-size: 1rem;
    }

    .home-promo-carousel__actions {
        margin-top: 21px;
    }

    .home-promo-carousel__cta {
        width: 100%;
    }

    .home-promo-carousel__controls {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-promo-carousel__slide,
    .home-promo-carousel__cta,
    .home-promo-carousel__dot {
        transition: none;
    }
}
