.heho-site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.heho-site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    gap: 28px;
}

.heho-site-header__logo {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-accent);
    font-size: 26px;
    letter-spacing: -0.02em;
    color: #fff;
}

.heho-logo-img {
    height: 40px;
    width: auto;
    max-width: 200px;
    transition: all 0.3s ease;
}

.heho-site-header__logo:hover .heho-logo-img {
    transform: scale(1.05);
}

.heho-site-header__nav {
    flex: 1;
}

.heho-site-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.heho-site-header__menu a {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    transition: color 0.2s ease;
}

.heho-site-header__menu a:hover {
    color: #fff;
}

.heho-site-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.heho-site-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.08);
    justify-content: center;
    align-items: center;
    padding: 0;
}

.heho-site-header__toggle span {
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.2s ease;
}

.heho-site-header__actions .heho-button-primary {
    background: var(--color-white);
    color: var(--color-black);
    box-shadow: var(--shadow-cta);
}

.heho-site-header__actions .heho-button-secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

@media (max-width: 1024px) {
    .heho-site-header__inner {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        grid-template-areas: "actions logo toggle";
        align-items: center;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .heho-site-header__logo {
        grid-area: logo;
        justify-self: center;
    }
    
    .heho-logo-img {
        height: 32px;
        max-width: 120px;
    }
    
    .heho-site-header__actions {
        grid-area: actions;
        justify-self: start;
        display: flex;
        gap: 8px;
    }
    
    .heho-site-header__actions .heho-button-primary,
    .heho-site-header__actions .heho-button-secondary {
        font-size: 12px;
        padding: 8px 12px;
        min-width: auto;
        white-space: nowrap;
    }
    
    .heho-site-header__toggle {
        grid-area: toggle;
        justify-self: end;
        display: flex;
        width: 40px;
        height: 40px;
    }
    
    .heho-site-header__nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        box-shadow: var(--shadow-md);
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease;
        z-index: 100;
    }
    
    .heho-site-header__nav.is-active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .heho-site-header__menu {
        flex-direction: column;
        padding: 24px;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .heho-site-header__inner {
        padding: 12px 15px;
        gap: 8px;
    }
    
    .heho-logo-img {
        height: 28px;
        max-width: 100px;
    }
    
    .heho-site-header__actions {
        gap: 6px;
    }
    
    .heho-site-header__actions .heho-button-primary,
    .heho-site-header__actions .heho-button-secondary {
        font-size: 11px;
        padding: 6px 10px;
    }
    
    .heho-site-header__toggle {
        width: 36px;
        height: 36px;
    }
    
    .heho-site-header__toggle span {
        width: 16px;
    }
}

@media (max-width: 480px) {
    .heho-site-header__inner {
        padding: 10px 12px;
    }
    
    .heho-logo-img {
        height: 26px;
        max-width: 90px;
    }
    
    .heho-site-header__actions .heho-button-primary,
    .heho-site-header__actions .heho-button-secondary {
        font-size: 10px;
        padding: 5px 8px;
    }
    
    .heho-site-header__toggle {
        width: 34px;
        height: 34px;
    }
}
