/* Site header — minimal single bar */

:root {
    --site-header-height: 80px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    background: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: none !important;
}

body.homepage-with-notices .site-header {
    top: var(--site-notices-height, 42px);
}

.site-header .top-bar {
    display: none !important;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: var(--site-header-height);
    padding: 10px 0;
}

.site-header__logo {
    flex-shrink: 0;
    display: block;
    line-height: 0;
}

.site-header__logo img {
    max-height: 56px;
    width: auto;
    height: auto;
    display: block;
}

.site-header__nav {
    flex: 1;
    display: none;
    justify-content: center;
}

@media (min-width: 1200px) {
    .site-header__nav {
        display: flex;
    }
}

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

.site-header__menu > li {
    position: relative;
}

.site-header__menu > li > a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a !important;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.site-header__menu > li > a:hover,
.site-header__menu > li.is-active > a {
    color: #00a855 !important;
    background: rgba(0, 200, 104, 0.08);
}

.site-header__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    padding: 6px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.site-header__menu > li:hover .site-header__dropdown,
.site-header__menu > li:focus-within .site-header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-header__dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #555 !important;
    text-decoration: none;
    border-radius: 8px;
}

.site-header__dropdown a:hover {
    color: #00a855 !important;
    background: rgba(0, 200, 104, 0.08);
}

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

.site-header__help {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff !important;
    text-decoration: none;
    background: #00c868;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 200, 104, 0.35);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.site-header__help:hover {
    color: #fff !important;
    background: #00a855;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 200, 104, 0.4);
}

.site-header__track {
    background: transparent;
    color: #0f172a !important;
    border: 1px solid rgba(0, 200, 104, 0.45);
    box-shadow: none;
}

.site-header__track:hover {
    color: #087a42 !important;
    background: rgba(0, 200, 104, 0.08);
    box-shadow: none;
}

.site-header__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: #fff;
    color: #1a1a1a;
    font-size: 20px;
    cursor: pointer;
}

@media (min-width: 1200px) {
    .site-header__toggle {
        display: none;
    }
}

/* Mobile drawer */
.site-header__drawer {
    position: fixed;
    inset: 0;
    z-index: 10060;
    pointer-events: none;
    visibility: hidden;
}

.site-header__drawer.is-open {
    pointer-events: auto;
    visibility: visible;
}

.site-header__drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.site-header__drawer.is-open .site-header__drawer-backdrop {
    opacity: 1;
}

.site-header__drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(320px, 100%);
    height: 100%;
    background: #fff;
    padding: 24px 20px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
}

.site-header__drawer.is-open .site-header__drawer-panel {
    transform: translateX(0);
}

.site-header__drawer-logo {
    display: block;
    margin-bottom: 24px;
}

.site-header__drawer-logo img {
    max-height: 52px;
    width: auto;
}

.site-header__drawer-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: #f1f5f3;
    color: #333;
    font-size: 18px;
    cursor: pointer;
}

.site-header__drawer-menu {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.site-header__drawer-menu a {
    display: block;
    padding: 12px 14px;
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a !important;
    text-decoration: none;
    border-radius: 8px;
}

.site-header__drawer-menu a:hover {
    background: rgba(0, 200, 104, 0.08);
    color: #00a855 !important;
}

.site-header__drawer-sub {
    list-style: none;
    margin: 0 0 8px;
    padding: 0 0 0 12px;
}

.site-header__drawer-sub a {
    font-size: 14px;
    font-weight: 600;
    color: #64748b !important;
}

.site-header__drawer-help {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 8px;
}

/* Legacy overrides */
.site-header .bottom-bar,
.site-header .two-bar,
.site-header .navbar {
    all: unset;
}

.site-header .glass-panel {
    border-radius: 0 !important;
}

/* Page banners below fixed header */
.bannr-section {
    padding-top: calc(var(--site-header-height) + 3rem) !important;
}

body.homepage-with-notices .bannr-section {
    padding-top: calc(var(--site-header-height) + var(--site-notices-height, 42px) + 2rem) !important;
}
