.menu_wrapper {
    position: relative;
}

a.responsive-menu-toggle {
    display: block;
}

a.responsive-menu-toggle {
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    position: absolute;
    top: -25px;
    right: 0;
    text-align: right;
    color: #000;
}

a:hover.responsive-menu-toggle {
    text-decoration: none;
}

.mobile-menu-button__bar {
    display: block;
    position: absolute;
    top: 24px;
    left: 20px;
    right: 0px;
    height: 4px;
    background-color: #333
}

.mobile-menu-button__bar::after {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #333;
    content: ""
}

.mobile-menu-button__bar::before {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #333;
    content: "";
    top: -9px
}

.mobile-menu-button__bar::after {
    bottom: -9px
}

.active .mobile-menu-button__bar {
    background-color: transparent
}

.active .mobile-menu-button__bar::before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #333
}

.active .mobile-menu-button__bar::after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #333
}

.primary-menu-wrapper {
    display: none;
}

.primary-menu {
    list-style: none;
}

.responsive-menu-active .section-header {
    position: fixed;
    top: 48px;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 100;
    padding: 0;
}

.responsive-menu-active .header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

/* как минимум один механизм ввода устройства включает в себя указывающее устройство ограниченной точности (смартфоны, устройства с сенсорным экраном) */
@media (any-pointer: coarse) {

}

@media (max-width: 999.98px) {
    .section-header {
        height: 80px;
        border-bottom: 1px solid rgba(0, 0, 0, .1);
    }

    .primary-menu-wrapper {
        position: fixed;
        display: none;
        top: 128px;
        bottom: 0;
        left: 0;
        right: 0;
        height: calc(100vh - 128px);
        background-color: #fff;
        z-index: 50;
        padding: 0;
        opacity: 0;
        overflow-y: auto;
    }

    .responsive-menu-active .primary-menu-wrapper {
        display: flex;
        flex-direction: column;
        opacity: 1;
    }

    .primary-menu {
        display: block;
        margin: 0 auto;
        padding: 1rem 1rem 2rem 1rem;
        width: 100%;
        max-width: 960px;
    }

    .primary-menu > li {
        position: relative;
    }

    .primary-menu > li::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
        height: 1px;
        width: 50%;
        background: rgba(0, 0, 0, .1)
    }

    .primary-menu > li:nth-child(2n+1)::after {
        width: 30%;
    }

    .primary-menu > li:last-child::after {
        background: none;
    }

    .primary-menu > li > a {
        display: inline-block;
        padding: 25px 0;
        position: relative;
        font-size: 1.3rem;
        font-weight: bold;
        text-decoration: none;
    }

    .mobile .clear-link::after {
        content: "";
        position: absolute;
        display: block;
        width: 24px;
        height: 24px;
        bottom: 25px;
        right: -35px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='11.3'%3E%3Cpath d='M0 1.3l4.3 4.3L0 10l1.3 1.3L7 5.6 1.3 0z' fill='%23000000'/%3E%3C/svg%3E") center center no-repeat
    }

    .mobile .sub-menu_open .clear-link::after {
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11.3' height='7'%3E%3Cpath d='M10 0L5.7 4.3 1.3 0 0 1.3 5.7 7l5.6-5.7z' fill='%23000000'/%3E%3C/svg%3E") center center no-repeat
    }

    .primary-menu ul {
        display: block;
        list-style: none;
        margin: 0;
        padding: 0 0 0 40px;
    }

    .mobile .primary-menu ul {
        display: none;
    }

    .mobile .primary-menu .sub-menu_open ul {
        display: block;
    }

    .primary-menu ul li {
        margin-bottom: 1rem;
    }

    .primary-menu ul li:last-child {
        margin-bottom: 0;
        padding-bottom: 1rem;
    }

    .primary-menu ul li a {
        font-size: 1.2rem;
        color: #000;
    }
}

@media (min-width: 576px) {
    .primary-menu {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .primary-menu {
        max-width: 720px;
    }
}

@media ( min-width: 1000px ) {
    a.responsive-menu-toggle {
        display: none;
    }

    .primary-menu-wrapper {
        display: block;
        width: 100%;
    }

    .primary-menu {
        max-width: none;
    }

    ul.primary-menu {
        display: flex;
        font-size: 1rem;
        font-weight: 500;
        flex-wrap: wrap;
        justify-content: flex-end;
        margin: 0;
        padding: 0;
    }

    .primary-menu li {
        font-size: inherit;
        line-height: 1.25;
        position: relative;
    }

    .primary-menu > li {

    }

    .primary-menu > li > a {
        display: block;
        line-height: 40px;
        padding: 19px 0;
        border-bottom: 3px solid transparent;
        border-top: 3px solid transparent;
        position: relative;
    }

    .unsticky .primary-menu > li > a {
        padding: 27px 0;
    }

    .primary-menu a {
        color: inherit;
        display: block;
        line-height: 1.2;
        text-decoration: none;
        word-break: normal;
        word-wrap: normal;
    }

    .primary-menu > li > a {
    }

    .primary-menu > li.active > a {
        margin-right: 0;
    }

    .primary-menu > li > a span {
        display: block;
        line-height: 40px;
        padding: 0 20px;
        white-space: nowrap;
        border: 0;
        border-right-width: 1px;
        border-style: solid;
        border-color: rgba(0, 0, 0, .05);
        color: #000;
    }

    .primary-menu > li:last-child > a span {
        border: 0;
    }

    .primary-menu > li > a:hover,
    .primary-menu > li.hover > a,
    .primary-menu > li.active > a {
        border-bottom-color: rgba(152, 188, 81, 1);
        text-decoration: none;
    }

    /* SUB MENU */
    .primary-menu ul {
        list-style: none;
        background: #fff;
        color: #000;
        font-size: 1rem;
        opacity: 0;
        padding: 0;
        margin: 0;
        position: absolute;
        right: 9999rem;
        top: 100%;
        transition: opacity 0.15s linear, transform 0.15s linear, right 0s 0.15s;
        transform: translateY(0.6rem);
        box-shadow: 2px 2px 5px 0 rgba(0, 0, 0, .1);
        width: 18rem;
        z-index: 1;
        border: 1px solid rgba(152, 188, 81, 1);
    }

    .primary-menu li:hover > ul,
    .primary-menu li:focus > ul,
    .primary-menu li.focus > ul {
        right: 0;
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.15s linear, transform 0.15s linear;
    }

    .primary-menu ul a {
        background: transparent;
        border: none;
        color: inherit;
        display: block;
        transition: background-color 0.15s linear;
        width: 100%;
    }

    .primary-menu ul li > a {
        padding: 13px 20px;
        display: block;
        border-bottom: 1px solid rgba(152, 188, 81, .3);
    }

    .primary-menu ul li > a:hover {
        text-decoration: none;
        background: rgba(242, 231, 68, .15);
    }

    /* DEEP DOWN */
    .primary-menu ul ul {
        top: -1rem;
    }

    .primary-menu ul li:hover > ul,
    .primary-menu ul li:focus > ul,
    .primary-menu ul li.focus > ul {
        right: 100%;
    }
}

@media ( min-width: 1200px ) {

}