.header__menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    padding: 60px 0 80px;
    background: linear-gradient(162.76deg, #07302d 0, #038073 99.54%);
    min-height: auto;
    overflow: auto;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    scrollbar-width: none
}

.header__menu::-webkit-scrollbar {
    display: none
}

.header__menu::-moz-scrollbar {
    width: 0;
    height: 0;
    margin-right: -16px
}

.header__menu-items {
    display: grid;
    gap: 20px;
    margin-bottom: 80px
}

.header__menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap
}

.header__menu-open {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    transition: .2s
}

.header__menu-open._active {
    transform: rotate(30deg)
}

.header__menu-open svg {
    width: 16px;
    height: 12px;
    fill: #d9d9d9
}

.header__menu-link {
    font-size: 28px;
    line-height: 36px;
    color: #fff
}

.header__menu-sub {
    display: none;
    padding: 10px 40px 0 10px
}

.header__menu-ref {
    display: block;
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 27px;
    color: #fff
}

@media all and (min-width:768px) {
    .header__menu {
        height: auto;
        padding: 60px 0 80px
    }

    .header__menu-items {
        position: relative;
        gap: 32px;
        max-width: 240px;
        margin-bottom: 0
    }

    .header__menu-link {
        font-size: 18px;
        line-height: 24px
    }

    .header__menu-open {
        width: 24px;
        height: 24px
    }

    .header__menu-open:hover~.header__menu-sub {
        opacity: 1
    }

    .header__menu-sub {
        position: absolute;
        top: 0;
        left: 280px;
        display: grid !important;
        gap: 14px;
        width: 400px;
        height: auto !important;
        padding: 0;
        opacity: 0;
        transition: .4s
    }

    .header__menu-ref {
        margin-bottom: 0;
        font-size: 18px;
        line-height: 24px
    }
}

@media all and (min-width:1280px) {
    .header__menu {
        position: unset;
        display: block !important;
        padding: 0;
        background: 0 0;
        overflow: visible
    }

    .header__menu-inner {
        padding: 0
    }

    .header__menu-items {
        display: flex;
        justify-content: flex-end;
        max-width: 100%
    }

    .header__menu-item {
        position: relative
    }

    .header__menu-item:hover .header__menu-sub {
        opacity: 1;
        visibility: visible
    }

    .header__menu-item:hover .header__menu-link {
        color: #03be93
    }

    .header__menu-link {
        color: #465c5b
    }

    .header__menu-sub {
        top: 56px;
        left: 0;
        width: 300px;
        visibility: hidden;
        background: #fff;
        padding: 30px;
        border-top: 6px solid #03be93
    }

    .header__menu-sub:before {
        content: '';
        position: absolute;
        top: -40px;
        left: 0;
        width: 100%;
        height: 80px
    }

    .header__menu-ref {
        font-size: 16px;
        line-height: 19px;
        color: #465c5b
    }

    .header__menu-open {
        display: none
    }
}

@media all and (min-width:1920px) {
    .header__menu-items {
        gap: 40px
    }

    .header__menu-link {
        font-size: 22px;
        line-height: 36px
    }

    .header__menu-sub {
        top: 62px;
        width: 320px
    }

    .header__menu-ref {
        font-size: 18px;
        line-height: 24px
    }
}
