/* Home hero slider */
.hero-slider {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 500px;
}

.hero-slider .hero-slides {
    position: relative;
    min-height: inherit;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(var(--header-h) + 5.5rem) 1.5rem 6.5rem;
    text-align: center;
    color: var(--white);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 0;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--navy) 0%, #2d3a5c 45%, #8b95ad 85%, var(--gray-50) 100%);
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 19, 43, 0.75) 0%, rgba(11, 19, 43, 0.55) 50%, rgba(11, 19, 43, 0.4) 100%);
    z-index: 1;
}

.hero-slide .hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.hero-slider-nav {
    position: absolute;
    bottom: 2.25rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hero-slider-dot.is-active,
.hero-slider-dot:hover {
    background: var(--orange);
    transform: scale(1.1);
}

.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.hero-slider-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hero-slider-btn--prev {
    left: 1rem;
}

.hero-slider-btn--next {
    right: 1rem;
}

.hero-slider-btn[hidden],
.hero-slider-nav[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 440px;
    }

    .hero-slide {
        padding: calc(var(--header-h) + 4rem) 1rem 5.5rem;
    }

    .hero-slide .hero-inner {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }

    .hero-slider-btn {
        width: 36px;
        height: 36px;
    }

    .hero-slider-btn--prev {
        left: 0.5rem;
    }

    .hero-slider-btn--next {
        right: 0.5rem;
    }
}
