/* ============================================ */
/*              БАННЕР-СЛАЙДЕР                   */
/* ============================================ */

.banner-header {
    position: relative;
    overflow: hidden;
}

.banner-header .owl-stage-outer {
    cursor: default;
}

.banner-header__item {
    background-repeat: no-repeat;
    background-position: 50% 50%;
    width: 100%;
    height: 600px;
    position: relative;
    background-size: cover;
    cursor: default;
}

/* ===== ЛЕГКОЕ ЗАТЕМНЕНИЕ ДЛЯ ЧИТАЕМОСТИ ===== */
.banner-header__item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.banner-header__container {
    height: 100%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
}

/* ===== ПЛАШКА — СЛЕВА, СВЕРХУ, УМЕНЬШЕННАЯ ===== */
.banner-header__box {
    position: relative;
    max-width: 350px;  /* было 500px, уменьшил на 30% */
    width: 100%;
    margin-top: 8%;   /* отступ сверху 15% */
    margin-left: 20%;  /* отступ слева 20% */
    padding: 28px 32px 24px 32px;
    color: #FFFFFF;
    pointer-events: none;
    cursor: default;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.banner-header__box:hover {
    background: rgba(0, 0, 0, 0.65);
    transform: translateY(-3px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.banner-header__box * {
    pointer-events: none;
}

/* ===== ЗАГОЛОВОК ===== */
.banner-header__title {
    margin: 0 0 6px;
    color: #ffffff;
    font: 700 20px/26px "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 10px;
}

/* Декоративная линия */
.banner-header__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: linear-gradient(90deg, #0088f5, #00ccff);
    border-radius: 3px;
    box-shadow: 0 0 20px rgba(0, 136, 245, 0.3);
}

/* ===== ТЕКСТ ===== */
.banner-header__text {
    margin: 12px 0 18px;
    color: rgba(255, 255, 255, 0.85);
    font: 400 14px/22px "Open Sans", sans-serif;
    letter-spacing: 0.3px;
    word-wrap: break-word;
}

/* ===== КНОПКА ===== */
.banner-header__button {
    pointer-events: auto !important;
    cursor: pointer;
}

.banner-header__button .button {
    pointer-events: auto !important;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0088f5;
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 136, 245, 0.25);
    text-decoration: none !important;
}

.banner-header__button .button:hover {
    background: #0099ff;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 136, 245, 0.4);
}

.banner-header__button .button__text {
    pointer-events: none;
    color: #ffffff;
    font: 600 13px/18px "Open Sans", sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none !important;
}

.banner-header__button .button::after {
    content: '→';
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s ease;
}

.banner-header__button .button:hover::after {
    transform: translateX(4px);
}


/* ===== ТОЧКИ НАВИГАЦИИ ===== */
.banner-header .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.banner-header .owl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.banner-header .owl-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.2);
}

.banner-header .owl-dot.active {
    background: #0088f5;
    width: 28px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 136, 245, 0.4);
}

/* ===== СТРЕЛКИ НАВИГАЦИИ ===== */
.banner-header .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.banner-header .owl-nav button {
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-header .owl-nav button:hover {
    background: #0088f5;
    border-color: #0088f5;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 136, 245, 0.3);
}

.banner-header .owl-nav .owl-prev::before {
    content: '‹';
    font-size: 26px;
    line-height: 1;
}

.banner-header .owl-nav .owl-next::before {
    content: '›';
    font-size: 26px;
    line-height: 1;
}

/* ===== АНИМАЦИЯ ===== */
.banner-header .owl-item.active .banner-header__box {
    animation: fadeInLeft 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translateX(-30px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}


/* ============================================ */
/*              АДАПТИВ                         */
/* ============================================ */

@media screen and (max-width: 1679px) {
    .banner-header__item {
        height: 500px;
    }
    .banner-header__box {
        max-width: 320px;
        padding: 24px 28px 20px 28px;
        margin-top: 15%;
        margin-left: 18%;
    }
    .banner-header__title {
        font-size: 18px;
        line-height: 24px;
    }
}

@media screen and (max-width: 1439px) {
    .banner-header__item {
        height: 450px;
    }
    .banner-header__box {
        max-width: 300px;
        padding: 22px 24px 18px 24px;
        margin-top: 15%;
        margin-left: 15%;
    }
    .banner-header__title {
        font-size: 17px;
        line-height: 22px;
    }
    .banner-header__title::after {
        width: 30px;
    }
    .banner-header__text {
        font-size: 13px;
        line-height: 20px;
        margin: 10px 0 14px;
    }
    .banner-header__button .button {
        padding: 6px 20px;
    }
    .banner-header__button .button__text {
        font-size: 12px;
    }
}

@media screen and (max-width: 1023px) {
    .banner-header__item {
        height: 380px;
    }
    .banner-header__box {
        max-width: 280px;
        padding: 20px 22px 16px 22px;
        margin-top: 12%;
        margin-left: 12%;
        border-radius: 16px;
    }
    .banner-header__title {
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 8px;
    }
    .banner-header__title::after {
        width: 28px;
        height: 2px;
    }
    .banner-header__text {
        font-size: 12px;
        line-height: 18px;
        margin: 8px 0 12px;
    }
    .banner-header__button .button {
        padding: 6px 16px;
    }
    .banner-header__button .button__text {
        font-size: 11px;
    }
    .banner-header .owl-dot {
        width: 8px;
        height: 8px;
        gap: 10px;
    }
    .banner-header .owl-dot.active {
        width: 22px;
    }
    .banner-header .owl-nav {
        padding: 0 12px;
    }
    .banner-header .owl-nav button {
        width: 36px;
        height: 36px;
    }
    .banner-header .owl-nav .owl-prev::before,
    .banner-header .owl-nav .owl-next::before {
        font-size: 20px;
    }
}

@media screen and (max-width: 666px) {
    .banner-header__item {
        height: 320px;
    }
    .banner-header__item::after {
        background: rgba(0, 0, 0, 0.4);
    }
    .banner-header__container {
        align-items: flex-end;
        justify-content: center;
    }
    .banner-header__box {
        max-width: 100%;
        margin-top: 0;
        margin-left: 0;
        margin-bottom: 20px;
        padding: 18px 20px 16px 20px;
        border-radius: 14px 14px 0 0;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    .banner-header__box:hover {
        transform: none;
    }
    .banner-header__title {
        font-size: 15px;
        line-height: 19px;
        padding-bottom: 6px;
    }
    .banner-header__title::after {
        width: 25px;
        height: 2px;
    }
    .banner-header__text {
        font-size: 12px;
        line-height: 18px;
        margin: 6px 0 10px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .banner-header__button .button {
        padding: 6px 16px;
    }
    .banner-header__button .button__text {
        font-size: 11px;
        letter-spacing: 0.8px;
    }
    .banner-header .owl-dots {
        bottom: 10px;
        gap: 10px;
    }
    .banner-header .owl-dot {
        width: 7px;
        height: 7px;
    }
    .banner-header .owl-dot.active {
        width: 18px;
    }
    .banner-header .owl-nav {
        padding: 0 8px;
    }
    .banner-header .owl-nav button {
        width: 28px;
        height: 28px;
        background: rgba(0, 0, 0, 0.3);
    }
    .banner-header .owl-nav .owl-prev::before,
    .banner-header .owl-nav .owl-next::before {
        font-size: 16px;
    }
}

@media screen and (max-width: 419px) {
    .banner-header__item {
        height: 260px;
    }
    .banner-header__box {
        padding: 14px 16px 12px 16px;
        margin-bottom: 12px;
        border-radius: 12px 12px 0 0;
    }
    .banner-header__title {
        font-size: 13px;
        line-height: 17px;
        padding-bottom: 4px;
    }
    .banner-header__title::after {
        width: 20px;
        height: 2px;
    }
    .banner-header__text {
        font-size: 10px;
        line-height: 15px;
        margin: 4px 0 8px;
        -webkit-line-clamp: 2;
    }
    .banner-header__button .button {
        padding: 4px 14px;
    }
    .banner-header__button .button__text {
        font-size: 10px;
        letter-spacing: 0.5px;
    }
    .banner-header__button .button::after {
        font-size: 10px;
    }
    .banner-header .owl-dot {
        width: 6px;
        height: 6px;
        gap: 8px;
    }
    .banner-header .owl-dot.active {
        width: 14px;
    }
    .banner-header .owl-nav button {
        width: 24px;
        height: 24px;
    }
    .banner-header .owl-nav .owl-prev::before,
    .banner-header .owl-nav .owl-next::before {
        font-size: 12px;
    }
}