.header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--violet);
    border-bottom: 2px solid var(--ink);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(217, 217, 217, 0.1);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.header__inner {
    --page-margin: 152px;
}

@media (max-width: 1280px) {
    .header__inner {
        --page-margin: var(--pad-md);
    }
}

@media (max-width: 767px) {
    .header__inner {
        --page-margin: var(--pad-sm);
    }
}

@media (max-width: 390px) {
    .header__inner {
        --page-margin: 16px;
    }
}

.header__inner {
    position: relative;
    z-index: 1;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header__logo-roistat {
    width: 94px;
    height: auto;
}

.header__logo-cross {
    font-family: var(--f-display);
    font-size: 22px;
    line-height: 33px;
    letter-spacing: 0.44px;
    color: var(--pink);
}

.header__logo-unisender {
    position: relative;
    display: block;
    width: 109px;
    height: 24px;
    flex-shrink: 0;
}

.header__logo-mark {
    position: absolute;
    left: 0;
    top: 0;
    width: 26px;
    height: 24px;
}

.header__logo-word {
    position: absolute;
    left: 31px;
    top: 4px;
    width: 78px;
    height: 11px;
}

.header__logo-tagline {
    position: absolute;
    left: 31px;
    top: 18px;
    width: 65px;
    height: 6px;
}

.header__nav {
    display: flex;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    background: var(--ink);
    border-radius: 999px;
}

.header__link {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    transition: background .2s;
}

.header__link:hover {
    background: rgba(255, 255, 255, 0.14);
}

.header__cta {
    flex-shrink: 0;
    padding: 12px 24px;
    background: var(--pink);
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 700;
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
    transition: transform .15s, box-shadow .15s;
}

.header__cta:hover {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--ink);
}

.header__cta:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--ink);
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: transform .25s, opacity .25s;
}

.header__burger--active .header__burger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger--active .header__burger-line:nth-child(2) {
    opacity: 0;
}

.header__burger--active .header__burger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__menu {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9;
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--pad-sm) 32px;
    background: var(--violet);
    overflow-y: auto;
}

.header__menu--open {
    display: flex;
}

.header__menu-link {
    padding: 20px 0;
    border-bottom: 2px solid var(--ink);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--white);
}

.header__menu-cta {
    margin-top: 32px;
    padding: 18px 24px;
    background: var(--pink);
    border: 2px solid var(--ink);
    border-radius: 999px;
    box-shadow: 4px 4px 0 var(--ink);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--ink);
    text-align: center;
}

.header__menu-cta:active {
    transform: translate(4px, 4px);
    box-shadow: 0 0 0 var(--ink);
}

@media (max-width: 1100px) {
    .header__inner {
        gap: 16px;
    }

    .header__link {
        padding: 8px 10px;
    }

    .header__cta {
        padding: 12px 18px;
    }
}

@media (max-width: 900px) {
    .header__nav,
    .header__cta {
        display: none;
    }

    .header__burger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .header__logo-cross {
        font-size: 18px;
    }

    .header__logo-roistat {
        width: 82px;
    }

    .header__logo-unisender {
        width: 95px;
        height: 21px;
    }

    .header__logo-mark {
        width: 23px;
        height: 21px;
    }

    .header__logo-word {
        left: 27px;
        top: 4px;
        width: 68px;
        height: 9px;
    }

    .header__logo-tagline {
        left: 27px;
        top: 16px;
        width: 57px;
        height: 5px;
    }
}
