.container {
    position: relative;
    max-width: 1310px;
    margin: 0px auto;
    padding: 0px 15px;
}

header {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    z-index: 11;
    transition: 0.5s;
    background: white;
}

.scroll header {
    padding-top: 0px;
}

header .worktime {
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
}

header .cont {
    width: 1458px;
    margin: 0px auto;
    padding: 0px 15px;
    box-sizing: border-box;
    max-width: 100%;
}

header > .container:first-child {
    display: block;
}

header .menu_block {
    opacity: 1;
    transition: 1s;
    position: absolute;
    top: 100%;
    left: 0px;
    width: 100%;
    background: hwb(0deg 100% 0% / 80%);
    border-top: 1px solid #4C586580;
    backdrop-filter: blur(10px);
}

.scroll[data-scrolldirection="down"] .menu_block {
    opacity: 0;
}

.logo1 {
    display: inline-flex;
    align-items: center;
}

.logo1 picture {
    order: -1;
}

.logo1:before {
    content: '';
}


header .panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0px;
    gap: 1rem;
}

header > .container {
    max-width: 1920px;
}

.logo-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.logo-group__line {
    height: 1.5rem;
    width: 1px;
    flex: 0 0 1px;
    background-color: #69747f;
}
.logo-group--vertical {
    flex-direction: column;
    align-items: start;
}
.logo-group--vertical .logo-group__line {
    display: none;
}
@media (max-width: 767px) {
    .logo-group--vertical {
        flex-direction: row;
        align-items: center;
    }
    .logo-group--vertical .logo-group__line {
        display: block;
    }
}

header .panel .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding-top: 20px;
    padding-bottom: 15px;
}


header .addr_container {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    font-size: .875rem;
}

header .addr_container label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.addr svg,
.phone svg {
    margin-right: .25em;
    height: 1.25em;
    fill: #E37639;
}
.phone {
    font-weight: 600;
}

header .addr_container label span {
}

header .addr_container label:before {
    content: '';
    background: url(../img/ico_addr.svg) 50% 50% no-repeat;
    width: 12px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
    margin-right: 10px;
}

header .addr_container label:after {
    content: '';
    background: url(../img/arrow.svg) 50% 50% no-repeat;
    width: 12px;
    height: 16px;
    display: inline-block;
    flex-shrink: 0;
    margin-left: 10px;
    filter: invert(50%) sepia(8%) saturate(11%) hue-rotate(356deg) brightness(94%) contrast(85%);
}

header .addr_container .items {
    position: absolute;
    top: 100%;
    background: #ffffff;
    border-radius: 5px;
    padding: 10px;
    z-index: 2;
    white-space: nowrap;
    display: none;
    flex-direction: column;
    gap: 10px;
    color: black;
}

header .addr_container.open .items {
    display: flex;
}

header .addr_container .items .item {
    cursor: pointer;
}

header .addr {
    text-decoration: none;
    color: inherit;
    display: inline-flex;
    align-items: center;
}

header .addr label {
    display: block;
    color: #676767;
}

header .addr span {
    font-weight: 500;
}

header .addr:before {
    content: '';
}

header .phone {
    white-space: nowrap;
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

header .phone:before {
    content: '';
}

header .btn {
    width: 283px;
}

@media (max-width: 1200px) {
    header .addr {
        display: none;
    }
}

@media (max-width: 991px) {
    header {
        box-sizing: border-box;
        padding-top: 0px;
        /* height: 60px; */
        top: 0px;
    }
}

/* ===== .btn (используется в header: <a class="popup btn red">) ===== */
.btn {
    box-sizing: border-box;
    background: #4C5865;
    border: 1px solid #4C5865;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    height: 48px;
    color: white;
    text-decoration: none;
    outline: none;
    transition: .3s;
    text-align: center;
    font-family: inherit;
    font-size: inherit;
    position: relative;
    padding: 0px;
    text-transform: uppercase;
    cursor: pointer;
    font-size: 14px;
    border-radius: 100px;
    overflow: hidden;
    font-weight: 700;
}

.btn span {
    display: inline-flex;
    justify-content: center;
    z-index: 1;
    align-items: center;
}

.btn:hover {
    border-color: #66727D;
}

.btn.red {
    border-color: #E37639;
    background: #E37639;
    color: white;
}

.btn.red:hover {
    border-color: #E6873B;
    color: white;
}

.btn.white {
    border-color: white;
    background: white;
    color: #E37639;
}

.btn.white:hover {
    border-color: #E37639;
    color: white;
}

.btn:before,
.btn:after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-bottom: 80px solid #66727D;
    transition: all 0.4s linear;
    z-index: 0;
}

.btn:before {
    right: -50px;
    border-right: 50px solid transparent;
    transform: translateX(-100%);
}

.btn:after {
    left: -50px;
    border-left: 50px solid transparent;
    transform: translateX(100%);
}

.btn:hover:before {
    transform: translateX(-40%);
}

.btn:hover:after {
    transform: translateX(40%);
}

.btn.red:before,
.btn.red:after {
    border-bottom-color: #E6873B;
}

.btn.white:before,
.btn.white:after {
    border-bottom-color: #E37639;
}

/* ===== .menu_container / .menu (шапка) ===== */
.menu_container {
    position: relative;
    z-index: 1;
    display: flex;
    margin: 0px auto;
    font-weight: 400;
}

.menu_container .menu {
    margin: 0px;
    padding: 0px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.menu_container .menu.add {
    width: auto;
    margin-left: 6%;
}

.menu_container .menu.add li {
    margin: 0px;
    margin-left: 30px;
}

.menu_container .menu > li {
    margin: 0px;
}

.menu_container .menu > li:first-child {
    border: 0px;
}

.menu_container .menu > li.last a {
    padding-right: 0px;
}

.menu_container .menu > li.sup {
    width: 100%;
}

.menu_container .menu > li a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    display: block;
    text-align: center;
    padding: 15px 0px;
    font-weight: 700;
    transition: 0.5s;
}

.menu_container .menu > li:first-child a {
    border: none;
}

.menu_container .menu > li a:after {
    content: '';
    position: absolute;
    bottom: 0px;
    right: 100%;
    transform: translateX(0%);
    display: block;
    height: 2px;
    transition: 0.5s;
    width: 0px;
    background: #004975;
    opacity: 0;
}

.menu_container .menu > li a:hover {
    color: #E37639;
}

.menu_container .menu > li a:hover:after {
    width: 100%;
    background: #005AE2;
    right: 50%;
    transform: translateX(50%);
}

.menu_container .menu > li:before {
    display: none;
}

.menu_container .menu > li.sep {
    width: 100%;
}

.menu_container .menu > li.sup ~ li a {
    margin-right: 0px;
    margin-left: 8px;
}

/* ===== .burger (шапка) ===== */
.burger {
    display: none;
}

/* ===== Адаптив шапки и меню ===== */
@media (max-width: 991px) {
    .menuopen .menu_container {
        right: 0px;
        background: hwb(0deg 0% 100% / 80%);
        backdrop-filter: blur(8px);
        margin: 0px;
        opacity: 1 !important;
    }

    .menu_container {
        padding: 0px;
        display: block;
        margin: 0px;
        position: absolute;
        top: 100%;
        right: -520px;
        left: auto;
        transition: 0.2s;
        background: white;
        height: auto;
        z-index: 2;
        width: 520px;
        max-width: 100%;
        border: none;
    }

    .menu_container .menu {
        background: none;
        display: block !important;
        text-align: center;
        height: auto;
        width: 100%;
        margin: 0px;
        padding-bottom: 0px;
    }

    .menu_container .menu > li a {
        padding: 10px 10px;
        display: block;
        color: white;
        margin: 0px !important;
    }

    .burger {
        display: block;
        width: 33px;
        height: 44px;
        border-radius: 100px;
        line-height: 44px;
        text-align: center;
        font-size: 9px;
        text-transform: uppercase;
        font-weight: 700;
        position: absolute;
        top: 9px;
        right: 15px;
        z-index: 9;
        display: flex;
        flex-direction: column;
        justify-content: center;
        cursor: pointer;
    }

    .burger:before {
        content: '';
        display: block;
        height: 2px;
        background: black;
        transition: 0.2s;
        transform-origin: 0px 6px;
    }

    .burger:after {
        content: '';
        display: block;
        height: 2px;
        background: black;
        transition: 0.2s;
        transform-origin: 5px -2px;
    }

    .burger span {
        pointer-events: none;
        display: block;
        height: 2px;
        background: black;
        margin: 9px 0px;
    }

    .menuopen .burger span {
        opacity: 0;
    }

    .menuopen .burger:before {
        transform: rotate(45deg);
    }

    .menuopen .burger:after {
        transform: rotate(-45deg);
    }

    .menu_container .menu > li {
        display: block;
        width: 100% !important;
        margin: 0px;
        margin-left: 0px !important;
        height: auto;
    }

    header .panel {
        padding-right: 66px;
        margin-top: 0px;
    }

    header .cont {
        padding: 0px;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
    }

    header .container:first-child .btn {
        display: none;
    }

    header .addr_container {
        display: none;
    }
}

@media (max-width: 767px) {
    .burger {
        top: 50%;
        transform: translateY(-50%);
    }

    .logo1:first-child {
        max-width: 72%;
    }

    header .phone {
        display: none;
    }

    header .worktime {
        display: none;
    }
}