/* Header: layout, menus, sticky and shared liquid glass. */

.header {
    border-bottom: 1px solid #e7e7e7;
    position: relative;
    z-index: 100;
}

@media (max-width: 47.99875em) {
    .header {
        padding-bottom: 8px;
    }
}

.header [data-hover-trigger=catalog-menu] {
    position: relative;
}

.header [data-hover-trigger=catalog-menu] .hover-blank {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 24px;
    opacity: 0;
}

.header__container {
    position: relative;
}

.header__top {
    display: flex;
    justify-content: space-between;
    padding: 11px 0;
    position: relative;
    z-index: 3;
}

@media (max-width: 47.99875em) {
    .header__top {
        padding: 8px 0;
        border-bottom: 1px solid #dfdde3;
    }
}

.header__logo {
    align-self: center;
}

@media (max-width: 64em) {
    .header__logo {
        max-width: 166px;
        margin-left: 0;
    }
}

.header__phones {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header__phones-main {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.header__phones-main span {
    font-family: "FixelDisplay";
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    user-select: none;
}

.header__phones-main span + svg {
    display: block;
    max-width: 20px;
    flex-shrink: 0;
}

.header__phones-main > div {
    display: none;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.header__phones-main > div svg {
    max-width: 20px;
}

.header__phones-main .bg-gradient img,
.header__phones-main .bg-gradient svg {
    transform: rotate(0) !important;
}

.header__phones-list {
    position: absolute;
    padding: 14px;
    z-index: 2;
    background: #fff;
    margin-top: 10px;
}

.header__phones-list li:not(:first-child) {
    margin-top: 14px;
}

.header__phones-list li a {
    white-space: nowrap;
    user-select: none;
    transition: .2s ease;
}

.header__phones-list li a:hover {
    color: #e70000;
}

@media (max-width: 47.99875em) {
    .header__phones-main span,
    .header__phones-main span + svg {
        display: none;
    }

    .header__phones-main > div {
        display: flex;
    }

    .header__phones-list {
        right: 0;
        top: 100%;
    }

    .header__phones {
        display: none;
    }
}

.header__separate {
    background-color: #ccc;
    height: 44px;
    width: 1px;
}

@media (max-width: 47.99875em) {
    .header__separate {
        display: none;
    }
}

.header__locales {
    display: flex;
    gap: 8px;
}

.lang-selector {
    font-family: "FixelDisplay", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    padding-bottom: 8px;
}

.lang-selector:hover {
    color: #890114;
}

.lang-selector.active {
    color: #890114;
    border-bottom: 1px solid #890114;
}

.header__bottom {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 47.99875em) {
    .header__bottom {
        padding-top: 8px;
        justify-content: space-between;
    }
}

.header__bottom > .button:first-child svg {
    flex-shrink: 0;
    width: 20px;
}

.header__nav-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    column-gap: 48px;
    row-gap: 8px;
}

@media (min-width: 47.99875em) {
    .header__nav-list-mob {
        display: none;
    }
}

.header__nav-list-projects {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    position: relative;
}

.header__nav-list-projects svg {
    width: 20px;
    height: 20px;
}

.header__nav-list-projects:hover::after {
    content: "";
    position: absolute;
    box-sizing: border-box;
    left: 0;
    top: 100%;
    right: 0;
    height: 20px;
}

.header__nav-list-projects._hover {
    text-decoration-line: underline;
    color: #0f0f0f !important;
}

.header__nav-list-projects._hover svg {
    transform: rotate(180deg);
}

.header__nav-list-projects._hover svg path {
    fill: #e70000;
}

@media (max-width: 47.99875em) {
    .header__nav-list-projects {
        display: none;
    }

    .header__nav-list {
        flex-direction: column;
        column-gap: 16px;
    }
}

.header-link {
    font-family: "FixelDisplay", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
}

.header-link img {
    max-width: 16px;
}

.header-link:hover {
    color: #e70000;
}

@media (min-width: 47.99875em) {
    .header-link img {
        display: none;
    }
}

.project-menu,
.catalog-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
}

@media (max-width: 47.99875em) {
    .project-menu,
    .catalog-menu {
        overflow-y: auto;
        height: calc(100dvh - 122px);
        position: fixed;
        top: 122px;
    }
}

.project-menu._open,
.catalog-menu._open {
    display: block;
}

.project-menu {
    background: #fff;
    padding-bottom: 20px;
}

.project-menu__container {
    position: relative;
}

.project-menu__container::before {
    content: "";
    position: absolute;
    top: -36px;
    left: 200px;
    right: 0;
    height: 36px;
    opacity: 0;
}

@media (max-width: 64em) {
    .project-menu__container::before {
        top: -46px;
        height: 46px;
    }
}

.project-menu__nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    column-gap: 20px;
    row-gap: 6px;
}

.project-menu__nav a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    line-height: 14px;
    background: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #f8f8f8;
}

.project-menu__nav a:hover {
    background: #fff;
    border-color: #e70000;
}

.project-menu__nav a img,
.project-menu__nav a svg {
    max-width: 20px;
}

.catalog-menu::before {
    content: "";
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    opacity: 0;
}

.catalog-menu__back-arrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    margin: 24px 0;
}

.catalog-menu__back-arrow img,
.catalog-menu__back-arrow svg {
    flex: 0 0 16px;
}

@media (min-width: 47.99875em) {
    .catalog-menu__back-arrow {
        display: none;
    }
}

@media (max-width: 47.99875em) {
    .catalog-menu {
        overflow-y: auto;
        background: #f1f2f4;
    }

    .catalog-menu .navigation {
        background: #f1f2f4;
    }
}

.catalog-menu .navigation {
    border-top: 1px solid #e2e2e2;
    border-radius: 0;
    box-shadow: none;
    padding: 20px 0;
}

@media (max-width: 47.99875em) {
    .catalog-menu .navigation {
        height: 100%;
    }
}

.catalog-menu .navigation__list {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (max-width: 47.99875em) {
    .catalog-menu .navigation__list {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.catalog-menu .navigation__item-body {
    margin-bottom: auto;
    display: flex !important;
}

.catalog-menu .navigation__item {
    border-right: none !important;
}

@media (max-width: 47.99875em) {
    .catalog-menu .navigation__item {
        background: none;
        padding-bottom: 24px !important;
        border-bottom: 1px solid #e7e7e7;
    }
}

.catalog-menu .navigation__item-title .title {
    margin: 0 0 8px;
}

@media (max-width: 47.99875em) {
    .catalog-menu .navigation__item-title .title {
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
        margin: 0 0 15px;
    }

    .catalog-menu .navigation__item {
        padding: 0;
    }

    .catalog-menu .navigation__item-body div:first-child {
        padding: 0;
    }
}

.catalog-menu .navigation__item-more {
    border-top: 1px solid #e2e2e2;
    margin-top: 16px;
    padding-top: 16px;
}

@media (max-width: 47.99875em) {
    .catalog-menu .navigation__item-more {
        border: none;
        padding: 0;
    }

    .catalog-menu .navigation__item-more a {
        font-size: 14px;
        font-weight: 500;
        line-height: 20px;
    }
}

.navigation {
    padding: 32px 0 80px;
    border-radius: 20px 20px 0 0;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, .15);
}

@media (max-width: 47.99875em) {
    .navigation {
        padding: 16px 0 40px;
        box-shadow: none;
        border-radius: 0;
    }
}

.navigation__items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

@media (max-width: 47.99875em) {
    .navigation__items {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.navigation__item {
    display: flex;
    flex-direction: column;
}

.navigation__item-more {
    padding-top: 32px;
    margin-top: auto;
}

.navigation__item-more a {
    align-items: center;
    font-family: "FixelDisplay", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
    display: inline-flex;
    gap: 6px;
}

.navigation__item-more a img {
    transition: .2s ease;
}

.navigation__item-more a:hover img {
    transform: translateX(4px);
}

@media (max-width: 47.99875em) {
    .navigation__item-more {
        margin-top: 16px;
        padding-top: 16px;
        padding-left: 36px;
        border-top: 1px solid #e7e7e7;
    }
}

.navigation__item:not(:last-child) {
    border-right: 1px solid #e7e7e7;
}

@media (max-width: 47.99875em) {
    .navigation__item {
        border: 1px solid #f8f8f8;
        background: #f8f8f8;
        padding: 16px 12px;
        border-radius: 10px;
        transition: .2s ease;
    }

    .navigation__item._spoller-active {
        border-color: #e70000;
        background: rgba(0, 0, 0, 0);
    }
}

.navigation__item-title img {
    transform: rotate(0) !important;
}

.navigation__item-title svg {
    width: 24px;
    height: 24px;
    margin-left: auto;
}

@media (min-width: 47.99875em) {
    .navigation__item-title svg {
        display: none;
    }
}

.navigation__item-title .title {
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 22px;
}

@media (max-width: 47.99875em) {
    .navigation__item-title {
        display: flex;
        align-items: center;
    }

    .navigation__item-title img {
        margin-right: 12px;
    }

    .navigation__item-title .title {
        margin-top: 4px;
    }
}

.navigation__item-body {
    display: flex;
    flex-direction: column;
}

@media (max-width: 47.99875em) {
    .navigation__item-body {
        display: none;
    }
}

.navigation__item-body a {
    font-family: "FixelDisplay", Arial, Helvetica, sans-serif;
}

.navigation__item-body > div:first-child {
    display: flex;
    flex-direction: column;
}

.navigation__item-body > div:first-child > a {
    color: #1c6a8b;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.navigation__item-body > div:first-child > a:not(:last-child) {
    margin-bottom: 12px;
}

.navigation__item-body > div:first-child > a:hover {
    text-decoration: underline;
}

@media (max-width: 47.99875em) {
    .navigation__item-body > div:first-child {
        padding: 16px 0 0 36px;
    }
}

.header-mobile-actions {
    margin-left: auto;
    gap: 8px;
    display: none;
}

@media (max-width: 47.99875em) {
    .header-mobile-actions {
        display: flex;
    }
}

.page-menu {
    position: fixed;
    top: 122px;
    left: 0;
    right: 0;
    height: calc(100dvh - 122px);
    width: 100vw;
    background: #f1f2f4;
    z-index: 120;
    transition: all .2s ease;
    transform: translate3d(-100%, 0, 0);
    min-width: 320px;
}

@media (min-width: 47.99875em) {
    .page-menu {
        display: none;
    }
}

.page-menu.js-open {
    transform: translate3d(0, 0, 0);
}

.page-menu__container,
.page-menu__content {
    height: 100%;
}

.page-menu__heading {
    padding: 20px 14px 12px;
    display: flex;
    justify-content: flex-end;
    box-shadow: rgba(33, 35, 38, .1) 0 10px 10px -10px;
    position: relative;
    z-index: 2;
}

.page-menu__phones {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    border-bottom: 1px solid #e7e7e7;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.page-menu__phones a {
    font-family: "FixelDisplay", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 16px;
}

.page-menu__body {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 85px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.page-menu__body.js-scroll-hide {
    overflow: visible;
}

.page-menu__body.js-scroll-hide .page-menu__links,
.page-menu__body.js-scroll-hide .page-menu__info {
    opacity: 0;
    pointer-events: none;
}

.page-menu__body > div:not(:last-child) {
    padding-bottom: 18px;
}

.page-menu__info {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-menu__info .header__locales a {
    width: 108px;
    text-align: center;
}

.page-menu__menu .header__nav-list li {
    width: 100%;
}

.page-menu__menu .header__nav-list li a {
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    width: 100%;
    border-bottom: 1px solid #e7e7e7;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-menu__menu .header__nav-list li a img {
    transform: rotate(-90deg);
}

.icon-menu {
    grid-area: burger;
    display: none;
    position: relative;
    width: 22px;
    height: 16px;
    cursor: pointer;
}

.icon-menu span,
.icon-menu::before,
.icon-menu::after {
    content: "";
    transition: all .3s ease 0s;
    left: 0;
    position: absolute;
    width: 100%;
}

.icon-menu::before {
    top: 0;
}

.icon-menu::after {
    bottom: 0;
}

.icon-menu span {
    top: 45%;
}

@media (max-width: 47.99875em) {
    .icon-menu {
        display: flex;
    }
}

.icon-menu.js-open span {
    transform: scale(0);
}

.icon-menu.js-open::before {
    transform: rotate(-45deg);
    top: 50%;
}

.icon-menu.js-open::after {
    transform: rotate(45deg);
    bottom: calc(50% - 2px);
}

@media (max-width: 47.99875em) {
    [data-mobile-fixed-placeholder] {
        display: none;
    }

    [data-mobile-fixed] {
        transition: top .3s;
    }

    [data-mobile-fixed]._fixed {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        z-index: 9999;
        padding: 14px;
        box-shadow: 0 5px 20px 5px rgba(0, 0, 0, .5);
        background: #fff;
    }
}

.header__top .top_menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 36px;
}

.header__top .top_menu li a.header-link {
    color: #fff;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
}

.header__top .top_soc {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
}

.header__top .header__right {
    display: flex;
    align-items: center;
    gap: 29px;
}

.header__top .header__right .header__separate {
    background: rgba(255, 255, 255, .30);
    height: 23px;
    width: 1px;
}

.header__top .header__right .lang-selector {
    color: var(--grayscale-White, #fff);
    font-size: 14px;
    font-style: normal;
    font-weight: var(--font-weight-500, 400);
    line-height: var(--font-size-16, 16px);
    border-bottom: 1px solid transparent;
    padding-top: 5px;
    padding-bottom: 3px;
}

.header__top .header__right .lang-selector.active {
    border-bottom: 1px solid #fff;
}

.header__top .header__right .header__phones-main span {
    color: var(--grayscale-White, #fff);
    font-size: var(--font-size-14, 14px);
    font-style: normal;
    font-weight: var(--font-weight-500, 400);
    line-height: var(--font-size-16, 16px);
}

.header {
    padding-bottom: 0;
}

.header__logo {
    max-width: 188px;
}

.header__bottom {
    padding: 20px 0;
    gap: 20px;
    justify-content: space-between;
}

.header__bottom .bottom_right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.bottom_right .button_outlined {
    transition: none;
    border: 1px solid #0f0f0f;
    border-radius: 7px;
    background: var(--color-white-solid, #fff);
    position: relative;
    z-index: 0;
    overflow: hidden;
    min-width: 160px;
}

.bottom_right .button_outlined span {
    font-size: 14px;
}

.bottom_right .button_outlined::before {
    border-radius: 7px;
}

.bottom_right .button_outlined::after {
    border-radius: 6px;
}

.icon-menu span,
.icon-menu::before,
.icon-menu::after {
    height: 2px;
    background: #e70000;
    border-radius: 0;
}

.icon-menu span {
    width: 70%;
}

.icon-menu::after {
    width: 90%;
}

.header-mobile-actions .js-open.icon-menu::after {
    width: 100%;
}

.header-mobile-actions > div {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-mobile-actions > div > div {
    display: flex;
    width: 23px;
    height: 12px;
    border-radius: 0;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 47.9988em) {
    .header__bottom .bottom_right > [data-hover-trigger="catalog-menu"] {
        order: 1;
    }

    .header__bottom .bottom_right > [data-popup-open="callback"] {
        order: 2;
    }

    .header__bottom .bottom_right > .header-mobile-actions {
        order: 3;
    }

    .header__top {
        border-bottom: 1px solid transparent;
    }
}

@media (max-width: 600px) {
    .header__bottom .bottom_right > [data-popup-open="callback"] {
        display: none;
    }

    .header__top .top_menu {
        display: none;
    }

    .bottom_right .button_outlined span {
        font-size: 12px;
    }

    .bottom_right .button_outlined {
        min-width: 100px;
        padding: 10px;
    }

    .header__bottom .bottom_right {
        gap: 16px;
    }

    .header__bottom {
        gap: 16px;
        padding: 10px 0;
    }
}

#header {
    z-index: 9999;
    background: transparent;
    border: 0;
}

#header > .header {
    background: transparent;
    border: 0;
}

#header > .header > .bg-gradient {
    position: relative;
    z-index: 202;
    max-height: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
    pointer-events: auto;
    transition: none;
}

#header .header__top {
    z-index: 202;
}

#header .header__bottom {
    z-index: 201;
    background: transparent;
    border: 0;
}

#header .catalog-menu,
#header .project-menu {
    z-index: 100;
}

@media (min-width: 768px) {
    body:not(.lock),
    .wrapper {
        overflow: visible;
    }

    #header,
    #header.is-fixed {
        position: sticky;
        top: calc(-1 * var(--header-top-height, 0px) - 2px);
        left: auto;
        right: auto;
        width: 100%;
        align-self: start;
        background: transparent;
        box-shadow: none;
        animation: none;
        transform: none;
        overflow: visible;
        transition: none;
    }

    body.admin-bar #header,
    body.admin-bar #header.is-fixed {
        top: calc(32px - var(--header-top-height, 0px) - 2px);
    }

    body.header-is-fixed {
        padding-top: 0;
    }
}

.catalog-menu,
.project-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 300ms ease, visibility 0s 300ms;
}

.catalog-menu._open,
.project-menu._open {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 300ms ease, visibility 0s;
}

.project-menu {
    padding: 20px 0;
}

.catalog-menu .navigation,
.project-menu__nav {
    transform: translateY(-8px);
    transition: transform 300ms ease;
    animation: none;
}

.catalog-menu._open .navigation,
.project-menu._open .project-menu__nav {
    transform: translateY(0);
}



#header .header_main > .__container {
    background: transparent;
}



.header__bottom .bottom_right .header__catalog-btn {
    transition: color 300ms ease, background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.header__catalog-btn::before,
.header__catalog-btn::after {
    transition: opacity 300ms ease, transform 300ms ease, background-color 300ms ease;
}

@media (prefers-reduced-motion: reduce) {
    #header .catalog-menu,
    #header .project-menu,
    #header .catalog-menu .navigation,
    #header .project-menu__nav,
    #header .header__catalog-btn,
    #header .header__catalog-btn::before,
    #header .header__catalog-btn::after {
        transition: none;

    }
}

#header .header-hover-bridge {
    display: none;
}

@media (min-width: 768px) {
    #header .header__catalog-btn,
    #header .header__nav-list-projects {
        position: relative;
        overflow: visible;
    }

    #header .header-hover-bridge {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        height: 36px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        opacity: 0;
        pointer-events: auto;
    }
}


/* Glass remains only on the main header. */
#header .header_main {
    position: relative;
    background: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border: 0;
}

#header .header_main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
        background: linear-gradient(
                120deg,
                rgba(255, 255, 255, 0.92),
                rgba(235, 240, 248, 0.85) 50%,
                rgba(255, 255, 255, 0.90)
        );
    
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    box-shadow: 0 10px 32px rgba(25, 35, 55, 0.12);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #header .header_main::before {
        background: rgba(255, 255, 255, 0.95);
    }
}

/* Opaque white submenus, with no glass. */
#header .catalog-menu,
#header .project-menu {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: 0 10px 32px rgba(25, 35, 55, 0.12);
    border: 0;
}

#header .catalog-menu .navigation {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border: 0;
}



#header .header__catalog-btn,
#header .header__catalog-btn::before,
#header .header__catalog-btn::after {
    background: transparent;
}

/* Червоний фон лише при наведенні або відкритому каталозі */
#header .header__catalog-btn:hover::after,
#header .header__catalog-btn._hover::after {
    background: linear-gradient(74deg, #e70000 0%, #750117 100%);
}