/* ===========================================
   HERO SLIDER
   =========================================== */
.hero {
    position: relative;
    height: 560px;
    overflow: hidden;
}

/* --- Слайды --- */
.hero__slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-primary);
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 0;
}

.hero__slide--active {
    opacity: 1;
    z-index: 1;
}

/* --- Видео-фон --- */
.hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* --- Затемнение --- */
.hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* --- Контент слайда --- */
.hero__container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero__content {
    max-width: 620px;
}

.hero__title {
    font-size: 46px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-accent);
    border-radius: 8px;
    transition: background 0.2s;
}

.hero__btn:hover {
    background: #cf6d17;
}

/* --- Точки-навигация (внизу справа) --- */
.hero__dots {
    position: absolute;
    bottom: 28px;
    right: var(--container-padding);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero__dot {
    width: 12px;
    height: 12px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s, border-color 0.3s;
}

.hero__dot:hover {
    border-color: #fff;
}

.hero__dot--active {
    background: #fff;
    border-color: #fff;
}

/* --- Section (заглушка контента) --- */
.section {
    padding: 60px 0;
}

.section__container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --- Адаптив --- */
@media (max-width: 768px) {
    .hero {
        height: 440px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 380px;
    }

    .hero__title {
        font-size: 24px;
    }

    .hero__dots {
        bottom: 16px;
        right: 16px;
    }
}
