:root {
    --np-header-height: 106px;
}

html {
    scroll-padding-top: calc(var(--np-header-height) + 18px);
}

#rec2261871061,
#rec2261830081,
#rec2275458051 {
    display: none !important;
}

.np-site-header,
.np-site-header * {
    box-sizing: border-box;
}

.np-site-header {
    position: fixed;
    z-index: 1000;
    top: 0;
    right: 0;
    left: 0;
    height: var(--np-header-height);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
    background: #141414;
    color: #f4f4f4;
    font-family: "TildaSans", Arial, sans-serif;
}

.np-site-header a {
    color: inherit;
    text-decoration: none;
}

.np-site-header__inner {
    width: min(100% - 64px, 1280px);
    margin: 0 auto;
}

.np-site-header__top {
    height: 59px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.np-site-header__inner--top {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
}

.np-site-header__brand {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 18px;
}

.np-site-header__brand img {
    display: block;
    width: 78px;
    height: 38px;
    object-fit: contain;
}

.np-site-header__brand span {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.24);
    color: #b9b9b9;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.np-site-header__brand b {
    display: block;
    margin-top: 4px;
    color: #f4f4f4;
    font-weight: 700;
}

.np-site-header__contacts {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(15px, 1.8vw, 28px);
    font-size: 14px;
    font-weight: 600;
}

.np-site-header__email,
.np-site-header__phone {
    white-space: nowrap;
    transition: color 180ms ease;
}

.np-site-header__email:hover,
.np-site-header__phone:hover,
.np-site-header__email:focus-visible,
.np-site-header__phone:focus-visible {
    color: #c6ff00;
}

.np-site-header__socials {
    display: flex;
    gap: 6px;
}

.np-site-header__socials a {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: #141414;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.np-site-header__socials img,
.np-site-header__mobile-socials img {
    display: block;
    width: 18px;
    height: 18px;
    object-fit: contain;
    transition: filter 180ms ease;
}

.np-site-header__socials a:hover,
.np-site-header__socials a:focus-visible {
    border-color: #c6ff00;
    background: #c6ff00;
}

.np-site-header__socials a:hover img,
.np-site-header__socials a:focus-visible img,
.np-site-header__mobile-socials a:hover img,
.np-site-header__mobile-socials a:focus-visible img {
    filter: brightness(0);
}

.np-site-header__cta {
    display: inline-flex;
    min-height: 38px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    border: 1px solid #c6ff00;
    background: #c6ff00;
    color: #111111 !important;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: background-color 180ms ease, color 180ms ease;
}

.np-site-header__cta:hover,
.np-site-header__cta:focus-visible {
    background: transparent;
    color: #c6ff00 !important;
}

.np-site-header__bottom {
    height: 47px;
}

.np-site-header__nav {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
    gap: clamp(24px, 3.4vw, 54px);
}

.np-site-header__nav a {
    position: relative;
    padding: 16px 0 14px;
    color: #d1d1d1;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.055em;
    white-space: nowrap;
    transition: color 180ms ease;
}

.np-site-header__nav a::after {
    position: absolute;
    right: 0;
    bottom: 8px;
    left: 0;
    height: 2px;
    background: #c6ff00;
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 180ms ease, transform 180ms ease;
}

.np-site-header__nav a:hover,
.np-site-header__nav a:focus-visible {
    color: #ffffff;
}

.np-site-header__nav a:hover::after,
.np-site-header__nav a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
}

.np-site-header__menu-button,
.np-site-header__mobile-contacts {
    display: none;
}

.np-site-header a:focus-visible,
.np-site-header button:focus-visible {
    outline: 2px solid #c6ff00;
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    :root {
        --np-header-height: 70px;
    }

    html {
        scroll-padding-top: 86px;
    }

    body.np-menu-open {
        overflow: hidden;
    }

    .np-site-header {
        height: var(--np-header-height);
    }

    .np-site-header__inner {
        width: min(100% - 32px, 760px);
    }

    .np-site-header__top {
        height: 70px;
        border-bottom: 0;
    }

    .np-site-header__inner--top {
        gap: 16px;
    }

    .np-site-header__brand {
        gap: 12px;
    }

    .np-site-header__brand img {
        width: 70px;
        height: 34px;
    }

    .np-site-header__brand span {
        padding-left: 12px;
        font-size: 9px;
    }

    .np-site-header__contacts {
        display: none;
    }

    .np-site-header__menu-button {
        display: grid;
        width: 46px;
        height: 46px;
        padding: 0;
        place-content: center;
        gap: 8px;
        border: 1px solid rgba(255, 255, 255, 0.25);
        border-radius: 0;
        background: transparent;
        cursor: pointer;
    }

    .np-site-header__menu-button span {
        display: block;
        width: 22px;
        height: 2px;
        background: #f4f4f4;
        transition: transform 180ms ease;
    }

    .np-site-header__menu-button[aria-expanded="true"] span:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .np-site-header__menu-button[aria-expanded="true"] span:last-child {
        transform: translateY(-5px) rotate(-45deg);
    }

    .np-site-header__bottom {
        position: fixed;
        top: 70px;
        right: 0;
        bottom: 0;
        left: 0;
        display: grid;
        height: auto;
        padding: 26px 0 30px;
        grid-template-rows: 1fr auto;
        overflow-y: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        background: #141414;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity 180ms ease, transform 180ms ease;
    }

    .np-site-header__bottom[data-open="true"] {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .np-site-header__nav {
        display: grid;
        height: auto;
        align-content: start;
        justify-content: stretch;
        gap: 0;
    }

    .np-site-header__nav a {
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        color: #f4f4f4;
        font-size: clamp(24px, 7.2vw, 38px);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -0.035em;
    }

    .np-site-header__nav a::after {
        display: none;
    }

    .np-site-header__mobile-contacts {
        display: grid;
        width: min(100% - 32px, 760px);
        margin: 28px auto 0;
        gap: 12px;
        color: #b9b9b9;
        font-size: 15px;
        font-weight: 600;
    }

    .np-site-header__mobile-socials {
        display: flex;
        gap: 8px;
    }

    .np-site-header__mobile-socials a {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        border: 1px solid rgba(255, 255, 255, 0.25);
        background: transparent;
        transition: border-color 180ms ease, background-color 180ms ease;
    }

    .np-site-header__mobile-socials a:hover,
    .np-site-header__mobile-socials a:focus-visible {
        border-color: #c6ff00;
        background: #c6ff00;
    }

    .np-site-header__cta--mobile {
        width: 100%;
        min-height: 50px;
        margin-top: 10px;
    }

    .np-team__anchor {
        top: -86px;
    }
}

@media (max-width: 420px) {
    .np-site-header__brand span {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .np-site-header *,
    .np-site-header *::before,
    .np-site-header *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
