/* === Шапка сайта на всю ширину === */
.site-header {
    border-bottom: 1px solid #e2e8f0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Логотип слева */
.logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: #0f172a;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

/* Меню по центру */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    color: #334155;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #0f172a;
    text-decoration: none;
}

/* Социальные иконки справа (круглые кнопки) */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f1f4f9;
    border-radius: 50%;
    color: #1e293b;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #2563eb;
    color: white;
    transform: translateY(-2px);
}

/* SVG иконки внутри кружков */
.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
}

/* Адаптив для мобильных устройств */
@media (max-width: 900px) {
    .header-inner {
        padding: 0 20px;
    }
    
    .main-nav {
        display: none; /* Скрываем меню на мобильных */
    }
    
    .social-icons {
        gap: 8px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 5px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
}