.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-bottom: 1px solid rgba(255, 255, 255, 0);
}

.site-header.scrolled {
    height: 75px;
    background: rgba(13, 13, 13, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(195, 0, 30, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Логотип */
.header-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    font-family: var(--font-accent);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.logo-text {
    color: #fff;
}

.logo-num {
    color: var(--accent-red);
    text-shadow: 0 0 10px rgba(195, 0, 30, 0.5);
}

/* Десктопное меню */
.desktop-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 40px;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    position: relative;
    padding: 10px 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #fff;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-red);
    box-shadow: 0 0 8px var(--accent-red);
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.nav-link:hover::after {
    width: 100%;
}

/* Действия */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    white-space: nowrap;
    flex-shrink: 0;
}

.phone-icon {
    font-size: 12px;
    color: var(--accent-red);
}

.phone-link:hover {
    border-color: rgba(195, 0, 30, 0.4);
    background: rgba(195, 0, 30, 0.05);
    box-shadow: 0 0 15px rgba(195, 0, 30, 0.2);
}

/* Кнопка заказа звонка */
.btn-callback {
    background: var(--accent-red);
    color: #fff;
    border: none;
    padding: 11px 20px;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(195, 0, 30, 0.25);
    white-space: nowrap;
    text-decoration: none;
}

.btn-callback:hover {
    background: #a00018;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 0, 30, 0.45);
}

.btn-callback:active {
    transform: translateY(0);
}

/* Гамбургер */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    padding: 0;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    z-index: 10001;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
}

/* Активация гамбургера */
.menu-toggle.active .bar-1 {
    transform: translateY(9px) rotate(45deg);
    background-color: var(--accent-red);
}

.menu-toggle.active .bar-2 {
    opacity: 0;
}

.menu-toggle.active .bar-3 {
    transform: translateY(-9px) rotate(-45deg);
    background-color: var(--accent-red);
}

/* Мобильное меню */
.mobile-menu-drawer {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.site-header.scrolled .mobile-menu-drawer {
    top: 75px;
}

.mobile-menu-drawer.open {
    height: calc(100vh - 90px);
    border-bottom: 2px solid rgba(195, 0, 30, 0.3);
}

.site-header.scrolled .mobile-menu-drawer.open {
    height: calc(100vh - 75px);
}

.mobile-nav {
    padding: 40px 0;
    text-align: center;
}

.mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
    align-items: center;
}

.mobile-nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.mobile-nav-link:hover {
    color: var(--accent-red);
    text-shadow: 0 0 15px rgba(195, 0, 30, 0.5);
}

.btn-callback-mobile {
    margin-top: 15px;
    background: var(--accent-red);
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(195, 0, 30, 0.3);
}

.mobile-only {
    display: none;
}

/* Смещение Hero */
.hero-section {
    padding-top: 120px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .desktop-nav {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .mobile-only {
        display: block;
    }
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    
    .site-header {
        height: 75px;
    }
    
    .site-header.scrolled {
        height: 75px;
    }
    
    .mobile-menu-drawer {
        top: 75px;
    }
    
    .mobile-menu-drawer.open {
        height: calc(100vh - 75px);
    }
    
    .phone-link {
        padding: 8px 14px;
        font-size: 13px;
        border-color: rgba(255, 255, 255, 0.05);
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 4%;
    }
    
    .header-logo {
        font-size: 18px;
    }
    
    .phone-link {
        padding: 6px 10px;
        font-size: 12px;
        border: none;
        background: transparent;
    }
    
    .phone-icon {
        font-size: 10px;
    }
    
    .phone-link:hover {
        background: transparent;
        box-shadow: none;
        color: var(--accent-red);
    }
    
    .header-actions {
        gap: 10px;
    }
}
