.header-overlay:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .25s ease-in;
}

body:has(.header .h-dropdown-menu.is-open .h-dropdown-menu__submenu.is-open) .header-overlay:before {
    opacity: .5;
    background: linear-gradient(180deg, #000000 0%, #000000 100%);
}

.h-dropdown-menu.is-open {
    height: auto;
    padding: 24px 32px;
    background-color: #F5F5F5;
}

.h-dropdown-menu.is-open .header-nav__submenu--level-2.is-open {
    display: block;
    padding: 0;
}

.h-dropdown-menu__wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    column-gap: 20px;
}

.h-dropdown-menu__left,
.h-dropdown-menu__right,
.h-dropdown-menu__form {
    max-width: 100%;
    width: 100%;
}

.h-dropdown-menu__left,
.h-dropdown-menu__middle {
    padding-top: 24px;
}

.h-dropdown-menu__middle {
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
}

.h-dropdown-menu__title {
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 130%;
    color: #000000;
}

.h-dropdown-menu__left {
    padding-right: 28px;
    border-right: 1px solid #E4E4E4;
}

.h-dropdown-menu__left--mb {
    margin-bottom: 24px;
}

.h-dropdown-menu__right,
.h-dropdown-menu__form {
    padding: 24px 28px 28px;
    border-radius: 1px;
    background-color: #fff;
}

.h-dropdown-menu__right {
    display: flex;
    flex-direction: column;
}

.h-dropdown-menu__right-button {
    width: 100%;
    margin-top: auto;
    color: #fff !important;
}

.dropdown-menu-contacts {
    margin-bottom: 24px;
}

.dropdown-menu-contacts:not(:last-child) {
    padding-bottom: 24px;
    border-bottom: 1px solid #E4E4E4;
}

.dropdown-menu-contacts--no-border {
    padding-bottom: 0 !important;
    border-bottom: none !important;
    margin-bottom: 54px;
}

.dropdown-menu-contacts__name {
    margin-bottom: 16px;
    font-weight: 600;
    font-size: .875rem;
    line-height: 135%;
    color: #000;
}

.dropdown-menu-contacts__item:not(:last-child) {
    margin-bottom: 12px;
}

.dropdown-menu-contacts__item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .875rem;
    line-height: 135%;
    color: #000;
}

.dropdown-menu-contacts__item svg {
    flex: 0 0 auto;
}

.h-dropdown-menu__list {
    display: flex;
    flex-direction: column;
    gap: 21px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.h-dropdown-menu__list-item {
    width: 100%;
    font-weight: 500;
    font-size: .875rem;
    line-height: 130%;
    color: #000;
    cursor: pointer;
    transition: .25s ease-in-out;
}

.h-dropdown-menu__list-item mark {
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 1000px;
    white-space: nowrap;
    vertical-align: middle;
    color: #fff;
    background-color: #D0043C;
}

.h-dropdown-menu__list-item.active {
    color: #D0043B;
}

.h-dropdown-menu__list-item:not(.active):hover {
    color: #D0043B;
}

.h-dropdown-menu__middle-top {
    margin-bottom: 36px;
    padding-bottom: 15px;
    border-bottom: 1px solid #E4E4E4;
}

.h-dropdown-menu__middle-top:has(.h-dropdown-menu__options) {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.h-dropdown-menu__middle:has(.h-dropdown-menu__options) .h-dropdown-menu__middle-buttons {
    margin-top: auto;
}

.h-dropdown-menu__middle .h-dropdown-menu__list {
    display: block;
    column-count: 2;
    column-gap: 20px;
}

.h-dropdown-menu__middle .h-dropdown-menu__list .h-dropdown-menu__list-item {
    margin-bottom: 21px;
}

.h-dropdown-menu__middle-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    margin-top: 25px;
    margin-bottom: 28px;
}

.h-dropdown-menu__middle-buttons>* {
    max-width: max-content;
}

.btn--bordered {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 2px;
    border: 1px solid #000000;
    white-space: nowrap;
    background-color: transparent;
    transition: .25s ease-in-out;
}

.btn--bordered svg {
    z-index: 1;
    position: relative;
    flex: 0 0 auto;
}

.btn__text--gray {
    opacity: 0.25;
}

.btn__text,
.btn--bordered svg path {
    transition: .25s ease-in-out;
}

.btn--bordered:hover {
    border-color: #D0043B;
}

.btn--bordered:hover svg path {
    fill: #fff;
}

.h-dropdown-menu__list.h-dropdown-menu__models,
.h-dropdown-menu__list.h-dropdown-menu__equipment,
.h-dropdown-menu__list.h-dropdown-menu__options {
    display: none;
}

.h-dropdown-menu__equipment.active,
.h-dropdown-menu__models.active,
.h-dropdown-menu__options.active {
    display: block;
}

.h-dropdown-menu__service-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    column-gap: 20px;
}

.h-dropdown-menu__service-menu {
    flex: 0 1 100%;
    display: flex;
    flex-direction: column;
    padding-top: 24px;
}

.h-dropdown-menu__service-content {
    flex: 1;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.h-dropdown-menu__service-list {
    column-count: 2;
    column-gap: 20px;
}

.h-dropdown-menu__service-item {
    display: block;
    margin-bottom: 21px;
    font-weight: 500;
    font-size: .875rem;
    line-height: 130%;
}

.h-dropdown-menu__service-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    margin-top: auto;
    margin-bottom: 28px;
}

.h-dropdown-menu__service-buttons>* {
    max-width: max-content;
}

.h-dropdown-menu__form {
    display: flex;
    flex-direction: column;
}

.h-dropdown-menu__form .h-dropdown-menu__title {
    margin-bottom: 16px;
}

.h-dropdown-menu__form-desc {
    margin-bottom: 38px;
    font-size: .875rem;
    line-height: 135%;
    color: #000;
}

.h-dropdown-menu__form-inp {
    margin-bottom: 40px;
    width: 100%;
    padding: 0;
    padding-bottom: 13px;
    border: none;
    outline: none;
    border-bottom: 1px solid #000;
    font-size: .875rem;
    line-height: 135%;
}

.h-dropdown-menu__form-btn {
    width: 100%;
    margin-top: auto;
}

.h-dropdown-menu__program {
    padding: 8px 8px 22px;
    border-radius: 1px;
    background-color: #fff;
}

.h-dropdown-menu__program-pic {
    margin-bottom: 22px;
    line-height: 0;
}

.h-dropdown-menu__program-pic img {
    max-width: 100%;
    width: 100%;
}

.h-dropdown-menu__program-body {
    padding: 0 16px;
}

.h-dropdown-menu__program-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 12px;
}

.h-dropdown-menu__program-title {
    font-weight: 500;
    font-size: .875rem;
    line-height: 135%;
    color: #000;
}

.h-dropdown-menu__program-icon {
    display: flex;
    align-items: center;
}

.h-dropdown-menu__program-icon svg g,
.h-dropdown-menu__program-icon svg path {
    transition: .25s ease-in-out;
}

.h-dropdown-menu__program-desc {
    font-size: .875rem;
    line-height: 135%;
    color: #000;
}

.h-dropdown-menu__program:hover .h-dropdown-menu__program-icon svg g {
    opacity: 1;
}

.h-dropdown-menu__program:hover .h-dropdown-menu__program-icon svg path {
    fill: #D0043B;
}

@media screen and (max-height: 725px) {
    .h-dropdown-menu__title {
        margin-bottom: 15px;
    }

    .h-dropdown-menu__list {
        gap: 15px;
    }

    .h-dropdown-menu__middle .h-dropdown-menu__list .h-dropdown-menu__list-item {
        margin-bottom: 15px;
    }

    .h-dropdown-menu__middle-top {
        margin-bottom: 20px;
    }

    .h-dropdown-menu__middle-buttons {
        margin-top: auto;
    }

    .h-dropdown-menu__service-item {
        margin-bottom: 15px;
    }

    .dropdown-menu-contacts {
        margin-bottom: 16px;
    }

    .dropdown-menu-contacts:not(:last-child) {
        padding-bottom: 16px;
    }
}

@media screen and (max-width: 1320px) {
    .h-dropdown-menu.is-open {
        padding: 24px 16px;
    }

    .h-dropdown-menu__left {
        padding-right: 0;
    }

    .h-dropdown-menu__left,
    .h-dropdown-menu__middle {
        padding-top: 12px;
    }

    .h-dropdown-menu__left--mb {
        margin-bottom: 12px;
    }

    .h-dropdown-menu__list {
        gap: 12px;
    }

    .h-dropdown-menu__middle-top {
        margin-bottom: 16px;
    }

    .h-dropdown-menu__middle .h-dropdown-menu__list .h-dropdown-menu__list-item {
        margin-bottom: 12px;
    }

    .h-dropdown-menu__right,
    .h-dropdown-menu__form {
        padding: 12px 16px 16px;
    }

    .h-dropdown-menu__list-item mark {
        margin-left: 0;
        font-size: 10px;
    }

    .h-dropdown-menu__middle-buttons {
        margin-top: auto;
        margin-bottom: 16px;
    }

    .h-dropdown-menu__service-menu {
        padding-top: 12px;
    }

    .h-dropdown-menu__service-item {
        margin-bottom: 12px;
    }

    .h-dropdown-menu__service-buttons {
        margin-bottom: 12px;
    }
}