/* =========================================================
   HERO SLIDER
========================================================= */

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider__swiper {
    width: 100%;
    height: calc(100vh - 70px);
    min-height: 500px;
}

.hero-slider__slide {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    background-color: #111111;
}

.hero-slider__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 1;
}

.hero-slider__image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;
}

.hero-slider__slide::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    background: rgba(0, 0, 0, 0.28);

    pointer-events: none;
}

.hero-slider__content {
    position: relative;
    z-index: 2;

    width: min(90%, 900px);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    color: #ffffff;
}

.hero-slider__title {
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.hero-slider__subtitle {
    margin: 1rem 0 0;

    max-width: 700px;
    font-family: LynkCo Type Light, Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 28px;
}

.hero-slider__buttons {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 1rem;

    margin-top: 2rem;
}

.hero-slider__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 160px;

    padding: 0.9rem 1.5rem;

    font-size: 14px;
    font-weight: 500;

    text-decoration: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
}

.hero-slider__button:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.hero-slider__button--primary {
    background-color: #ffffff;
    color: #000000;
}

.hero-slider__button--secondary {
    border: 1px solid #ffffff;
    color: #ffffff;
    background-color: transparent;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .hero-slider__swiper {
        height: calc(100vh - 70px);
        min-height: 520px;
    }

    .hero-slider__content {
        width: 88%;
    }

    .hero-slider__buttons {
        flex-direction: column;

        width: 100%;

        gap: 0.75rem;

        margin-top: 1.5rem;
    }

    .hero-slider__button {
        width: 100%;
        max-width: 280px;
    }
}


/* =========================================================
   INDICADOR DE SLIDES
========================================================= */

.hero-slider__pagination {
    position: absolute;

    left: 50% !important;
    bottom: 30px !important;

    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    width: min(150px, 70%) !important;

    transform: translateX(-50%);
}

.hero-slider__pagination .swiper-pagination-bullet {
    flex: 1;

    width: auto;
    height: 2px;

    margin: 0 !important;

    border-radius: 0;

    background-color: rgba(255, 255, 255, 0.45);

    opacity: 1;

    transition:
        background-color 0.3s ease,
        height 0.3s ease;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
    background-color: #1ef1c6;

    height: 3px;
}



.modelo-hero {
    position: relative;
    overflow: hidden;
}

.modelo-hero__swiper {
    position: relative;
    width: 100%;
    height: 100%;
}

.modelo-hero__slide {
    position: relative;
    overflow: hidden;
}

.modelo-hero__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.modelo-hero__image picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.modelo-hero__media--desktop {
    display: block;
}

.modelo-hero__media--mobile {
    display: none;
}

.modelo-hero__media--fallback {
    background: #1a1a1a;
}

.modelo-hero__content {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .modelo-hero__media--desktop {
        display: block;
    }

    .modelo-hero__media--mobile {
        display: none;
    }
}
