/**
 * Липкая шапка (появляется при скролле) — Figma Header 1920×114
 */
:root {
    --sticky-header-container: 1500px;
    --sticky-header-font: 'Vela Sans', 'Onest', system-ui, -apple-system, sans-serif;
    --sticky-header-text: #5a616c;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.sticky-header--visible {
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
}

.sticky-header__bar {
    box-sizing: border-box;
    width: 100%;
    min-height: 114px;
    padding: 24px 0;
    background: #ffffff;
    border-radius: 0 0 24px 24px;
    box-shadow:
        0 8px 14px -4px rgba(0, 0, 0, 0.08),
        0 0 6px -2px rgba(0, 0, 0, 0.03);
    font-family: var(--sticky-header-font);
}

.sticky-header__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    max-width: var(--sticky-header-container);
    min-height: 66px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

@media (min-width: 1500px) {
    .sticky-header__inner {
        width: var(--sticky-header-container);
        padding-left: 0;
        padding-right: 0;
    }
}

.sticky-header__logo {
    flex: 0 0 213px;
    width: 213px;
    height: 66px;
}

.sticky-header__logo-link {
    display: inline-flex;
    align-items: center;
    width: 213px;
    height: 66px;
}

.sticky-header__logo-link img {
    display: block;
    width: 213px;
    height: 66px;
    object-fit: contain;
}

.sticky-header .hero__menu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    overflow: visible;
}

.sticky-header .hero__menu-list {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible;
}

.sticky-header .hero__menu-item {
    flex: 0 0 auto;
    margin: 0;
    list-style: none;
}

.sticky-header .hero__menu-item > a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    font-family: var(--sticky-header-font);
    font-size: 18px;
    font-weight: 600;
    line-height: 24px;
    color: var(--sticky-header-text);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sticky-header .hero__menu-item:last-child > a {
    padding: 0 0 0 16px;
}

.sticky-header .hero__menu-item > a:hover {
    color: #111827;
}

.sticky-header ul li:before,
.sticky-header .hero__menu-item:before {
    display: none !important;
    content: none !important;
}

@media (max-width: 1499px) {
    .sticky-header .hero__menu-item > a {
        font-size: 16px;
        padding: 0 10px;
    }

    .sticky-header .hero__menu-item:last-child > a {
        padding: 0 0 0 10px;
    }
}

.sticky-mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    pointer-events: none;
    visibility: hidden;
    transform: translateY(-100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
}

.sticky-mobile-header--visible {
    pointer-events: auto;
    visibility: visible;
    transform: translateY(0);
}

.sticky-mobile-header__bar {
    background: #ffffff;
    box-shadow:
        0 8px 14px -4px rgba(0, 0, 0, 0.08),
        0 0 6px -2px rgba(0, 0, 0, 0.03);
}

.sticky-mobile-header .hero-mobile-header {
    border-bottom: 1px solid #e9ebef;
}
