.hero-swiper {
    position: relative;
    width: 100%;
    height: clamp(420px, 42vw, 620px);
    overflow: hidden;
    isolation: isolate;
    background: #1a1a1a;
}

.hero-swiper__slider,
.hero-swiper__slider .swiper-wrapper,
.hero-swiper__slider .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-swiper__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-swiper__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-swiper__image--first {
    object-position: center calc(50% - 100px);
}

/*
 * Capa ligera para garantizar la lectura del texto.
 */
.hero-swiper__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.12),
            rgba(0, 0, 0, 0.04),
            rgba(0, 0, 0, 0.12)
        );
}

.hero-swiper__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 80px;
    text-align: center;
    pointer-events: none;
}

.hero-swiper__content-inner {
    width: min(100%, 900px);
}

.hero-swiper__title,
.hero-swiper__subtitle {
    color: #fff;
    text-shadow:
        0 2px 3px rgba(0, 0, 0, 0.35),
        0 0 12px rgba(0, 0, 0, 0.35);
}
.hero-swiper__subtitle {
    font-weight: 600;
}

.hero-swiper__title {
    margin: 0;
    font-size: clamp(34px, 3.4vw, 48px);
    line-height: 1.05;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-swiper__subtitle {
    margin: 12px 0 0;
    font-size: clamp(20px, 1.8vw, 30px);
    line-height: 1.2;
    text-transform: uppercase;
}

.hero-swiper__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 24px;
    padding: 11px 24px;
    border-radius: 4px;
    color: #fff;
    background: #ff6900;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: uppercase;
    pointer-events: auto;
    transition:
        background-color 180ms ease,
        transform 180ms ease;
}
.hero-swiper__button:focus,
.hero-swiper__button:active,
.hero-swiper__button:hover,
.hero-swiper__button:focus-visible {
    color: #fff!important;
    background: #e95f00;
    transform: translateY(-1px);
}

.hero-swiper__button:focus-visible,
.hero-swiper__navigation:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.hero-swiper__navigation {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: rgba(22, 38, 55, 0.72);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color 180ms ease;
}

.hero-swiper__navigation:hover {
    background: rgba(22, 38, 55, 0.95);
}

.hero-swiper__previous {
    left: 22px;
}

.hero-swiper__next {
    right: 22px;
}

.hero-swiper__navigation::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 11px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.hero-swiper__previous::before {
    transform: translate(-35%, -50%) rotate(-135deg);
}

.hero-swiper__next::before {
    transform: translate(-65%, -50%) rotate(45deg);
}

.hero-swiper__pagination {
    position: absolute;
    bottom: 18px !important;
    left: 50% !important;
    z-index: 3;
    width: auto !important;
    transform: translateX(-50%);
}

.hero-swiper__pagination .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
    margin: 0 4px !important;
    border: 1px solid #fff;
    background: transparent;
    opacity: 1;
}

.hero-swiper__pagination .swiper-pagination-bullet-active {
    background: #fff;
}

@media (max-width: 767px) {
    .hero-swiper {
        height: 520px;
    }

    .hero-swiper__content {
        padding: 40px 10px;
    }

    .hero-swiper__previous {
        left: 10px;
    }

    .hero-swiper__next {
        right: 10px;
    }

    .hero-swiper__navigation {
        width: 38px;
        height: 44px;
    }
    .hero-swiper__image--first {
        object-position: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-swiper__button,
    .hero-swiper__navigation {
        transition: none;
    }
}