.header-wrapper {
    width: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Brand */

.header-brand {
    display: flex;
    padding: 16px 0;
    align-items: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    gap: 8px;
    text-decoration: none;
}

.header-brand img {
    width: 36px;
    height: 36px;
}

/* Menu Toggle */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    background-color: var(--border);
    color: var(--primary);
    padding: 6px 10px;
}

.menu-toggle:hover {
    color: var(--surface);
}

/* Nav */

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav a {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    padding: 0.75rem;
    font-size: 1em;
    color: inherit;
}

.header-nav a:hover {
    background-color: var(--border);
    color: var(--primary);
}

.header-nav a.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 2px solid var(--primary);
}

/* Mobile Styles */

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .header-nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface);
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 20px;
        gap: 12px;

        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: all 0.25s ease;
    }

    .header-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .header-nav a {
        border-bottom: 1px solid;
        width: 100%;
    }
}