.site-header {
    position: sticky;
    top: 14px;
    z-index: 20;
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 14px;
    margin: 14px auto 0;
    width: min(var(--max-width), calc(100% - 42px));
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(2, 7, 17, .68);
    backdrop-filter: blur(24px) saturate(125%);
    box-shadow: var(--shadow-soft);
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled { background: rgba(2,7,17,.86); border-color: var(--line-strong); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-official { background: white; border-radius: 999px; padding: 6px 13px 6px 8px; box-shadow: inset 0 0 0 1px rgba(7,19,41,.08); }
.brand-official img { width: 230px; height: auto; }
.footer-brand img { width: 248px; background: white; border-radius: 16px; padding: 8px; }
.site-nav { display: flex; align-items: center; gap: 5px; }
.site-nav > a { padding: 9px 11px; border-radius: 999px; color: var(--muted-strong); font-weight: 700; font-size: .89rem; transition: color .2s ease, background .2s ease, transform .2s ease; }
.site-nav > a:hover { color: var(--white); background: rgba(255,255,255,.075); transform: translateY(-1px); }
.nav-cta { background: linear-gradient(135deg, var(--blue-soft), var(--purple)) !important; color: white !important; box-shadow: 0 10px 30px rgba(42,125,255,.26); }
.menu-button { display: none; border: 1px solid var(--line); color: var(--text); background: rgba(255,255,255,.06); border-radius: 999px; padding: 9px 14px; }
.language-switcher { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.05); }
.language-link { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; color: var(--muted); font-weight: 800; font-size: .74rem; }
.language-link.is-active { background: white; color: var(--ink); }
.site-footer { width: min(var(--max-width), calc(100% - 42px)); margin: 78px auto 28px; padding: 26px; display: flex; justify-content: space-between; gap: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.045); backdrop-filter: blur(18px); }
.site-footer p { max-width: 680px; margin: 16px 0 8px; }
.site-footer small { color: var(--muted); }
.footer-links { display: grid; gap: 10px; min-width: 190px; }
.footer-links a { color: var(--muted-strong); }
@media (max-width: 1020px) { .site-header { border-radius: 26px; align-items: flex-start; } .brand-official img { width: 200px; } .menu-button { display: inline-flex; } .site-nav { display: none; position: absolute; top: 72px; right: 14px; left: 14px; padding: 14px; border: 1px solid var(--line); border-radius: 22px; background: rgba(3,7,18,.96); flex-direction: column; align-items: stretch; } .site-nav.is-open { display: flex; } .site-footer { flex-direction: column; } }
@media (max-width: 620px) { main, .site-header, .site-footer { width: min(var(--max-width), calc(100% - 28px)); } .brand-official img { width: 174px; } }


/* v6 refined identity lockup */
.brand-official,
.footer-brand,
.brand-dashboard,
.auth-logo {
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    padding: 8px 13px 8px 9px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 34px rgba(0,0,0,.22);
    backdrop-filter: blur(16px);
}
.brand-mark { width: 38px !important; height: 38px !important; object-fit: contain; flex: 0 0 auto; }
.brand-copy { display: grid; gap: 0; line-height: 1; min-width: 0; }
.brand-copy strong { font-size: 1.05rem; color: var(--white); letter-spacing: .055em; font-weight: 950; }
.brand-copy small { margin-top: 4px; color: var(--muted-strong); font-size: .68rem; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.footer-brand { width: fit-content; }
.footer-brand .brand-mark { width: 44px !important; height: 44px !important; }
.footer-brand .brand-copy strong { font-size: 1.18rem; }
.footer-brand .brand-copy small { font-size: .72rem; }
.site-header::after { content:""; position:absolute; inset: 1px; border-radius: inherit; pointer-events:none; background: linear-gradient(110deg, transparent, rgba(255,255,255,.08), transparent); opacity:.45; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); }
@media (max-width: 720px) { .brand-copy small { display: none; } .brand-copy strong { font-size: .98rem; } }

/* v7 cleaner identity: no white rectangular logo blocks */
.brand-official,
.footer-brand,
.brand-dashboard,
.auth-brand,
.auth-logo {
    background: rgba(255,255,255,.055) !important;
    border: 1px solid rgba(255,255,255,.14) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 16px 42px rgba(0,0,0,.22) !important;
}
.brand-official { padding: 7px 13px 7px 8px; }
.brand-official .brand-mark { width: 36px !important; height: 36px !important; border-radius: 10px; }
.site-header { width: min(var(--content-wide), calc(100% - 48px)); }
.site-nav > a { font-size: .86rem; padding: 9px 10px; }
.footer-brand img { background: transparent; }
@media (max-width: 620px) { .site-header, .site-footer { width: min(var(--max-width), calc(100% - 28px)); } }
