.site-header {
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(12px);
    color: #f8fafc;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.brand {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-toggle {
    display: none;
    background: none;
    border: 0;
    color: #f8fafc;
    font-size: 24px;
    cursor: pointer;
}

.nav-toggle:focus {
    outline: 2px solid rgba(96, 165, 250, 0.8);
    outline-offset: 4px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 14px;
    border-radius: 10px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-link:hover {
    background: rgba(96, 165, 250, 0.2);
    color: #ffffff;
}

.nav-link.active {
    background: rgba(59, 130, 246, 0.28);
    color: #ffffff;
}

@media (max-width: 780px) {
    .nav-toggle {
        display: block;
    }
    .nav-menu {
        position: absolute;
        top: 68px;
        right: 16px;
        left: 16px;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        background: rgba(15, 23, 42, 0.98);
        border-radius: 14px;
        border: 1px solid rgba(148, 163, 184, 0.25);
        display: none;
    }
    .nav-menu.open {
        display: flex;
    }
    .nav-link {
        width: 100%;
        text-align: center;
    }
}
