.section__header {
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}
#header_slider {
    display: none;
}

.header-section__content-container {
    position: relative;
    padding: 32px 40px 40px;
}

.header__nav {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 101;
    position: relative;
    gap: 32px;
}

.header__links {
    display: flex;
    gap: 16px;
    align-items: center;
}

.header__link.active {
    color: #F6A600;
}

.button_check-payment {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-transform: none;
}

.modal-menu__button {
    display: none;
    cursor: pointer;
}

.header__decoration-container {
    margin-top: 48px;
    height: 24px;
    display: flex;
    justify-content: center;
}

.header__decoration-after_arrow {
    display: flex;
    transition: .2s;
    flex: 0;
    animation: arrow infinite;
    animation-delay: 1ms;
    animation-timing-function: cubic-bezier(0.45, 1.45, 0.8, 1);
    animation-duration: 1200ms;
    height: 10px;
}

.header__slider {
    margin-top: 32px;
}

.header__slider .slick-list {
    border-radius: 24px;
}

.header__slide {
    border-radius: 24px;
    width: 100%;
}

.burger {
    background: transparent;
    border: none;
    padding: 0;
    margin-right: auto;
    cursor: pointer;
}

.burger__icon {
    display: block;
}

.burger__line {
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger__line--top {
    transform-origin: 24px 14px;
}
.burger__line--middle {
    transform-origin: 24px 24px;
}
.burger__line--bottom {
    transform-origin: 24px 34px;
}

.burger--active .burger__line--top {
    transform: translateY(10px) rotate(45deg);
}
.burger--active .burger__line--middle {
    opacity: 0;
}
.burger--active .burger__line--bottom {
    transform: translateY(-10px) rotate(-45deg);
}

.site-header {
    position: relative;
    z-index: 1000;
}

.desktop-menu {
    position: absolute;
    top: -32px;
    left: 0;
    right: 0;
    padding: 32px 40px;
    margin-left: -40px;
    border-radius: 20px;
    color: #fff;
    z-index: 900;

    background-color: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.desktop-menu .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.desktop-menu .header .header__logo-menu {
    display: flex;
    gap: 32px;
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
  .desktop-menu {
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }
}

.desktop-menu__inner {
    display: grid;
    grid-template-columns: 150px 210px 140px 160px;
    margin-left: 205px;
    margin-top: 32px;
    gap: 40px;

    transform: translateY(-6px);
    transition:
        transform 0.8s ease;
}

.desktop-menu__title {
    display: block;
    font-size: 16px;
    margin-bottom: 6px;
    font-weight: 600;
}

.desktop-menu__title.active {
    color: #F6A600;
}

.desktop-menu a {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.desktop-menu a.active {
    color: #F6A600;
}

.desktop-menu a:hover {
    color: #E20714;
}

.desktop-menu--open {
    visibility: visible;
    pointer-events: auto;
    animation: desktopMenuBlurIn 0.45s ease forwards;
}

.desktop-menu__list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

@keyframes desktopMenuBlurIn {
    0% {
        opacity: 0;
    }
    60% {
        opacity: 1;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 1380px) {
    .desktop-menu {
        display: none
    }
    .header__nav {
        justify-content: space-between;
        gap: 8px;
    }
}

@keyframes arrow {
    0% {
        margin-top: 4px;
    }
    80% {
        margin-top: 12px;
    }
    100% {
        margin-top: 4px;

    }
}
@media screen and (max-width: 1380px) {
    .header__links {
        display: none;
    }
    .burger {
        display: none;
    }
    .modal-menu__button {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .header-section__content-container {
        padding: 24px !important;
        overflow: hidden;
    }
    .header__button-offer {
        width: 100%;
    }
}

.modal {
    display: flex;
    position: fixed;
    inset: 0;
    justify-content: center;
    z-index: 1000;
    background: #0009;
    overflow: auto;
    align-items: center;
}

.modal:not(.active) {
    display: none !important;
}

.modal__content-container {
    width: 660px;
    border-radius: 24px;
    background: #131313;
    border: 1px solid #3A3A3A;
    padding: 64px 80px 40px 40px;
    position: relative;
    overflow: clip;
}

.modal__decoration {
    position: absolute;
    filter: blur(400px);
    border-radius: 50%;
    opacity: .3;
}

.modal__decoration_blue {
    width: 157px;
    height: 157px;
    background: #07A0E2;
    top: -470px;
    left: 380px;
}

.modal__decoration_orange {
    width: 182px;
    height: 182px;
    background: #E95A0C;
    top: -137px;
    left: -161px;
}

.modal__btn-close {
    position: absolute;
    top: 24px;
    right: 24px;
    cursor: pointer;
}

.modal__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 48px;
    color: #fff;
}

.modal__description {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    color: #6D6D6D;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal__description-link {
    color: #E95A0C;
}

.modal__form {
    margin-top: 50px;
    display: flex;
    gap: 16px;
}

.modal__form-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #fff;
}

.modal__form-input {
    margin-top: 8px;
    padding: 17px 16px 15px;
    border: none;
    border-radius: 15px;
    background: #0E0E0E;
    color: #6D6D6D;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    width: 100%;
    transition: .2s;
    outline: 1px solid #E95A0C00;
}

.modal__form-input:hover,
.modal__form-input:focus {
    color: #fff;
    background: #000;
}

.modal__form-input_filled,
.modal__form-input:focus {
    outline-color: #E95A0C;
    color: #fff;
    background: #000;
}

.modal__form-input-group {
    width: 100%;
}

.modal__check-payment-container {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 32px;
    justify-content: space-between;
}

.check-payment__result {
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: var(--color-red);
    display: none;
}

.check-payment__result.active {
    display: block;
}

.check-payment__result_good {
    color: var(--color-orange);
}

@media screen and (max-width: 1380px) {
    .modal-menu__container {
        width: 100%;
        height: 100%;
        padding: 40px 40px 34px;
        background: #000;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        overflow: scroll;
        scrollbar-width: none;
    }

    .modal-menu__header {
        display: flex;
        justify-content: space-between;
    }

    .modal-menu__button_close {
        width: 60px;
        cursor: pointer;
    }

    .modal-menu__links {
        margin-top: 64px;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .modal-menu__link {
        line-height: 28px;
    }

    .button_modal-menu-check-payment {
        padding: 13px 20px 11px;
        width: fit-content;
        text-transform: none;
        border: 1px solid #3A3A3A;
    }

    .modal-menu__cities {
        display: flex;
        flex-wrap: wrap;
        margin-top: 32px;
        gap: 8px;
    }

    .modal-menu__button_city {
        border: 1px solid #6D6D6D;
        border-radius: 24px;
        padding: 9px 16px;
        color: #FFFFFF;
        font-size: 16px;
        line-height: 24px;
        cursor: pointer;
        transition: 0.1s;
    }

    .modal-menu__button_city:hover, .modal-menu__button_city.active {
        background: #E20714;
        border-color: #E20714;
    }

    .modal-menu__button_city:first-child {
        margin-left: 0;
    }

    .modal-menu__cities-container {
        margin-top: 32px;
    }

    .modal-menu__city-info {
        display: none;
    }

    .modal-menu__city-info.active {
        display: flex;
        flex-direction: column;
        font-size: 20px;
        line-height: 24px;
    }

    .modal-menu__city-phone {
        text-decoration: none;
        color: #fff;
        font-size: 18px;
        font-weight: 400;
        line-height: 28px;
    }

    .modal-menu__city-address {
        margin-top: 8px;
        color: #fff;
    }

    .modal-menu__city-email {
        margin-top: 8px;
        color: #E95A0C;
        text-decoration: none;
    }

    .modal-menu__city-working-time {
        margin-top: 32px;
        color: #6d6d6d;
        font-size: 16px;
    }

    .header__slider {
        display: none;
    }
}
@media screen and (max-width: 768px) {
    .header__slider .slick-list {
        border-radius: 16px;
    }
}

.modal-menu__category {
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    cursor: pointer;
}

.modal-menu__caret {
    margin-left: 8px;
    font-weight: 400;
    transition: transform 0.2s ease;
}

.modal-menu__submenu {
    margin-top: 11px;
}

.modal-menu__link {
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    margin: 4px 0;
}

.modal-menu__link.active {
    font-weight: 600;
}