.top_bar {
    display: none !important;
}

.header_content {
    background: #00000033;
}

.header .bottom_bar {
    border-bottom: solid #eeeeee3b 1px !important;
}

.megamenu_item a {
    color: #ffffff !important;
    font-weight: 300;
}

.header .bottom_bar_slogan {
    color: #ffffff !important;
}

.bottom_bar .btn {
    background-color: #ffffff00;
    border-color: #ffffff;
    color: #ffffff;
}

.header .bottom_bar_logo img {
    filter: grayscale(100%) brightness(1000%);
}

.header .search-button {
    filter: grayscale(100%) brightness(1000%);
}

@media (min-width: 991px) {

    .callback_header,
    .phone_header a {
        color: #fff;
    }

    .header .selector_current {
        color: #fff;
    }

    .header .selector_current:before {

        border-left: solid #fff 2px;
        border-bottom: solid #fff 2px;
    }
}

@media (max-width: 991px) {
    .megamenu_item a {
        color: #000 !important;
        font-weight: 300;
    }

    .header .bottom_bar_logo img {
        filter: none;
    }

    .header_content {
        background: #ffffff52;
    }

}

/* ------------------------------------------------------ */
.top_banner_2 {
    margin-top: -120px;
    width: 100%;
    padding: 330px 0px 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;

}

.top_banner_2 .image {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.top_banner_2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0px 0px 20px 20px;
}


.top_banner_2 h1 {
    font-weight: 500;
    font-size: 60px;
    line-height: 70px;
    letter-spacing: -1px;
    color: #FFFFFF;
    padding-bottom: 20px;
}

.top_banner_2.dark h1 {
    color: #000;
}


.top_banner_2 .text {
    font-weight: 400;
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -0.005em;
    color: #FFFFFF;
    padding-bottom: 100px;
}

.top_banner_2.dark .text {
    color: #000;
}









.top_banner_2 .content {
    position: relative;
    z-index: 2;
}

.top_banner_2 .left_block {
    background: #00000075;
    border-radius: 30px;
    overflow: hidden;
    padding: 70px 40px;
    position: relative;
}



.top_banner_2 .left_block_blur {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    backdrop-filter: blur(5px);
}

.top_banner_2 .title {
    padding-bottom: 20px;
    position: relative;
    z-index: 1;

}


.top_banner_2 .btn {
    height: 60px;
    line-height: 60px;
    font-size: 20px;
}


.top_banner_2 .btn_line {
    display: flex;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.top_banner_2 .area_image2 {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top_banner_2 .area_image2 img {
    max-width: 80%;
    max-height: 450px;
    width: auto;
    height: auto;
}


@media (max-width: 991px) {

    .top_banner_2 h1 {
        font-size: 40px;
        line-height: 48px;
        text-align: left;
    }

    .top_banner_2 {
        padding: 300px 0px 50px;
    }



    .top_banner_2 .title {
        padding-bottom: 24px;
    }

    .top_banner_2 .text {
        font-size: 16px;
        line-height: 22px;
        padding-bottom: 36px;
        text-align: left;
    }

    .top_banner_2 .btn {
        height: 40px;
        line-height: 40px;
        font-size: 16px;
        width: calc(50% - 2px);
    }

    .top_banner_2 .text ul {}

    .top_banner_2 .text li {
        text-align: left;
    }

    .top_banner_2 img {
        object-position: center;
    }

    .top_banner_2 .btn_line {
        justify-content: center;
        flex-direction: column;
    }

    .top_banner_2 .area_image2 img {
        position: absolute;
        top: 0px;
        right: 0px;
        max-height: 100%;
    }
}

/* Нет ни одной картинки — фон цвета сайта, чтобы белый текст и шапка читались */
.top_banner_2.no_image {
    background: var(--theme-base-color);
    border-radius: 0px 0px 20px 20px;
}

.top_banner_2.no_image.dark {
    background: #F2F4FF;
}

@media (max-width: 991px) {
    /* На телефоне картинка обычно другая (кадрирована по-своему), а цвет текста в админке иногда
       задан прямо в тексте под десктопную картинку (чёрный на светлом). На мобильном такой цвет
       не применяем: текст белый, снизу лёгкое затемнение для читаемости. Баннеры с «тёмным текстом» не трогаем. */
    .top_banner_2:not(.dark) .text_block [style*="color"] {
        color: inherit !important;
    }

    .top_banner_2:not(.dark):not(.no_image) .image::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 75%;
        border-radius: 0px 0px 20px 20px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 100%);
        pointer-events: none;
    }
}
