/* ============================================
   ШАПКА САЙТА — LYNXREACTOR
   ============================================ */

.site-header {
    background: rgba(11, 11, 12, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(11, 11, 12, 0.98);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    height: 100%;
}

/* ============================================
   ЛОГОТИП — LYNXREACTOR
   ============================================ */

.header-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.logo-link {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-serif, 'Cormorant Garamond', serif);
    font-size: 28px;
    font-weight: 400;
    color: var(--color-text-primary, #F5F3EF);
    letter-spacing: 0.02em;
    line-height: 1;
}

.logo-text .gold {
    color: var(--color-gold, #C89A5B);
}

.logo-subtitle {
    font-family: var(--font-sans, 'Manrope', sans-serif);
    font-size: 8px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-secondary, #A6A3A0);
    opacity: 0.5;
    margin-top: 3px;
    line-height: 1;
}

/* ============================================
   ДЕСКТОПНАЯ НАВИГАЦИЯ
   ============================================ */

.desktop-nav {
    display: flex !important;
    align-items: center !important;
    flex: 1;
    justify-content: center;
    height: 100%;
    position: relative;
    z-index: 1001;
}

.nav-list {
    display: flex !important;
    flex-direction: row !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 32px !important;
}

.nav-item {
    margin: 0 !important;
    padding: 0 !important;
}

.nav-link {
    font-family: var(--font-sans, 'Manrope', sans-serif);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-secondary, #A6A3A0);
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 4px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-gold, #C89A5B);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text-primary, #F5F3EF);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--color-text-primary, #F5F3EF);
}

.nav-link.active::after {
    width: 100%;
}

/* ============================================
   ПРАВАЯ ЧАСТЬ — CTA + БУРГЕР
   ============================================ */

.header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    z-index: 1002 !important;
}

.desktop-cta {
    padding: 10px 24px;
    font-size: 12px;
    cursor: pointer;
    position: relative;
    z-index: 1003 !important;
}

/* ============================================
   БУРГЕР-МЕНЮ
   ============================================ */

.burger-btn {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    position: relative;
    z-index: 1003 !important;
}

.burger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary, #F5F3EF);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.burger-btn:hover .burger-line {
    opacity: 0.6;
}

/* ============================================
   МОБИЛЬНОЕ МЕНЮ (OVERLAY)
   ============================================ */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(11, 11, 12, 0.98);
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.mobile-overlay.open {
    height: 100%;
}

/* ... остальные стили ... */

/* ============================================
   АДАПТИВНОСТЬ ШАПКИ
   ============================================ */

@media screen and (max-width: 1200px) {
    .site-header {
        padding: 0 40px;
    }
    .nav-list {
        gap: 24px !important;
    }
    .nav-link {
        font-size: 10px;
    }
}

@media screen and (max-width: 1024px) {
    .site-header {
        padding: 0 30px;
        height: 70px;
    }
    .logo-text {
        font-size: 24px;
    }
    .logo-subtitle {
        font-size: 7px;
    }
    .nav-list {
        gap: 18px !important;
    }
    .nav-link {
        font-size: 9px;
        letter-spacing: 0.1em;
    }
}

@media screen and (max-width: 900px) {
    .desktop-nav {
        display: none !important;
    }
    .burger-btn {
        display: flex !important;
    }
    .header-actions {
        gap: 12px !important;
    }
    .desktop-cta {
        display: none !important;
    }
    .site-header {
        padding: 0 20px;
        height: 64px;
    }
    .logo-text {
        font-size: 20px;
    }
    .logo-subtitle {
        font-size: 7px;
    }
}

@media screen and (max-width: 768px) {
    .overlay-header {
        padding: 16px 24px;
    }
    .overlay-nav {
        padding: 40px 24px;
    }
    .overlay-nav-list {
        gap: 32px;
    }
    .overlay-nav-link {
        font-size: clamp(24px, 5vw, 32px);
    }
    .overlay-footer {
        padding: 16px 24px;
    }
    .overlay-logo .logo-text {
        font-size: 20px;
    }
    .close-icon {
        font-size: 22px !important;
    }
}

@media screen and (max-width: 480px) {
    .site-header {
        padding: 0 16px;
        height: 56px;
    }
    .logo-text {
        font-size: 18px;
    }
    .logo-subtitle {
        font-size: 6px;
        letter-spacing: 0.15em;
    }
    .header-actions {
        gap: 8px !important;
    }
    .burger-line {
        width: 20px;
        height: 2px;
    }
    .overlay-header {
        padding: 12px 16px;
    }
    .overlay-nav {
        padding: 30px 16px;
    }
    .overlay-nav-list {
        gap: 24px;
    }
    .overlay-nav-link {
        font-size: clamp(20px, 4vw, 26px);
    }
    .overlay-footer {
        padding: 12px 16px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .overlay-logo .logo-text {
        font-size: 18px;
    }
    .close-icon {
        font-size: 20px !important;
    }
    .overlay-copy {
        font-size: 10px;
    }
}

@media screen and (max-width: 360px) {
    .site-header {
        height: 48px;
        padding: 0 12px;
    }
    .logo-text {
        font-size: 16px;
    }
    .logo-subtitle {
        font-size: 5px;
    }
    .burger-line {
        width: 18px;
        height: 2px;
    }
    .header-actions {
        gap: 6px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-overlay {
        transition: none !important;
    }
    .overlay-nav-item {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .nav-link::after {
        transition: none !important;
    }
}