.site-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: relative;
    z-index: 1000;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.site-header__brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-header__brand .custom-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-header__brand img {
    display: block;
    width: 150px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

.site-header__name {
    color: #202124;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-header__name:hover {
    color: #1a73e8;
}

.site-header__nav {
    display: flex;
    align-items: center;
}

.menu--primary {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu--primary>li {
    margin: 0;
    padding: 0;
}

.menu--primary>li>a {
    display: block;
    padding: 10px 14px;
    color: #202124;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.menu--primary>li>a:hover {
    color: #1a73e8;
    background: #f1f6ff;
}

.menu--primary>li.current-menu-item>a,
.menu--primary>li.current_page_item>a,
.menu--primary>li.current-menu-ancestor>a {
    color: #1a73e8;
    background: #e8f0fe;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    transition: background-color 0.25s ease;
}

.menu-toggle:hover {
    background: #f1f3f4;
}

.menu-toggle:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #202124;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 900px) {
    .site-header__inner {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 14px 20px;
    }
    .site-header__brand {
        margin-right: auto;
    }
    .site-header__brand .custom-logo {
        width: 130px;
        max-height: 60px;
    }
    .menu-toggle {
        display: flex;
        flex-shrink: 0;
    }
    .site-header__nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #ffffff;
        border-top: 1px solid #eaeaea;
        border-bottom: 1px solid #eaeaea;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }
    .site-header__nav.is-open {
        display: block;
    }
    .menu--primary {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 2px;
        padding: 10px 15px;
    }
    .menu--primary>li {
        width: 100%;
    }
    .menu--primary>li>a {
        display: block;
        width: 100%;
        padding: 12px 15px;
        color: #202124;
        font-size: 15px;
        font-weight: 500;
        text-align: left;
        border-radius: 6px;
    }
    .menu--primary>li>a:hover {
        color: #1a73e8;
        background: #f1f6ff;
    }
    .menu--primary>li.current-menu-item>a,
    .menu--primary>li.current_page_item>a {
        color: #1a73e8;
        background: #e8f0fe;
    }
    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}

@media (max-width: 600px) {
    .site-header__brand img {
        width: 70px;
    }
    .site-header__inner {
        padding: 12px 15px;
    }
    .site-header__brand .custom-logo {
        width: 120px;
        max-height: 55px;
    }
    .site-header__name {
        font-size: 21px;
    }
    .menu-toggle {
        width: 40px;
        height: 40px;
    }
    .menu-toggle span {
        width: 22px;
    }
    .menu--primary {
        padding: 8px 12px;
    }
    .menu--primary>li>a {
        padding: 11px 12px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .site-header__brand img {
        width: 70px;
    }
    .site-header__inner {
        padding: 10px 12px;
    }
    .site-header__brand .custom-logo {
        width: 105px;
    }
    .menu--primary>li>a {
        padding: 10px 12px;
    }
}