/* Shared Sunwave header. Self-contained layout; no legacy header rules. */
body.has-site-header { padding-top:0; }
.sw-header { position:sticky; top:0; z-index:50; background:#fff; color:#0f2a3a; border-bottom:1px solid #e3e9ec; }
.sw-header__inner { position:relative; max-width:1160px; margin:auto; min-height:96px; padding:8px 20px; display:flex; align-items:center; flex-wrap:nowrap; gap:18px; }
.sw-header__brand { flex:0 0 132px; display:flex; align-items:center; }
.sw-header__logo { display:block; width:132px; height:80px; object-fit:contain; }
.sw-nav { display:flex; align-items:center; justify-content:flex-end; flex:1 1 auto; min-width:0; gap:3px; }
.sw-nav__link { display:inline-flex; align-items:center; justify-content:center; flex:0 0 auto; min-height:40px; padding:8px 8px; border-radius:9px; color:#0f2a3a; font-size:15px; line-height:1.25; font-weight:600; white-space:nowrap; text-decoration:none; }
.sw-nav__link:hover,.sw-nav__link.is-active { background:#e7f3f3; opacity:1; }
.sw-nav__cta { display:inline-flex; align-items:center; justify-content:center; min-height:42px; flex:0 0 auto; padding:10px 14px; margin-left:5px; border-radius:10px; background:#0f2a3a; color:#fff; white-space:nowrap; font-size:14px; line-height:1.2; font-weight:600; }
.sw-nav__badge { color:#775514; font-size:inherit; }
.sw-languages { display:flex; align-items:center; gap:4px; flex:0 0 auto; }
.sw-language { width:36px; height:40px; display:inline-flex; justify-content:center; align-items:center; gap:8px; border-radius:7px; color:#0f2a3a; }
.sw-language.is-active { background:#edf6f6; box-shadow:inset 0 0 0 1px #168b87; }
.sw-language img { width:24px; height:16px; object-fit:cover; border-radius:2px; }
.sw-language__code,.sw-languages--mobile { display:none; }
.sw-header__toggle { display:none; }
.sw-header :is(a,button):focus-visible { outline:3px solid #168b87; outline-offset:3px; }
@media (min-width:821px) and (max-width:1180px) {
 .sw-header__inner { min-height:84px; padding:6px 16px; gap:12px; }
 .sw-header__brand { flex-basis:108px; }
 .sw-header__logo { width:108px; height:72px; }
 .sw-nav { gap:2px; }
 .sw-nav__link { padding:8px 6px; font-size:14px; }
 .sw-nav__cta { display:none; }
 .sw-language { width:32px; }
}
@media (max-width:820px) {
 .sw-header__inner { min-height:80px; padding:6px 16px; justify-content:space-between; gap:16px; }
 .sw-header__brand { flex-basis:120px; }
 .sw-header__logo { width:120px; height:68px; }
 .sw-header__toggle { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px; flex:0 0 44px; width:44px; height:44px; padding:0; border:1px solid #becbd1; border-radius:11px; background:#fff; color:#0f2a3a; cursor:pointer; }
 .sw-header__toggle span { display:block; width:19px; height:2px; background:currentColor; transition:transform .18s ease,opacity .18s ease; }
 .sw-header__toggle[aria-expanded="true"] span:first-child { transform:translateY(7px) rotate(45deg); }
 .sw-header__toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; }
 .sw-header__toggle[aria-expanded="true"] span:last-child { transform:translateY(-7px) rotate(-45deg); }
 .sw-languages--desktop { display:none; }
 .sw-nav { position:absolute; top:calc(100% + 8px); left:16px; right:16px; display:none; flex-direction:column; align-items:stretch; gap:3px; padding:16px; max-height:calc(100dvh - 104px); overflow:auto; overscroll-behavior:contain; border:1px solid #dce5e8; border-radius:16px; background:#fff; box-shadow:0 16px 32px #0f2a3a20; }
 .sw-nav.is-open { display:flex; }
 .sw-nav__link { justify-content:flex-start; min-height:44px; padding:10px 12px; font-size:16px; }
 .sw-nav__cta { min-height:44px; margin:8px 0 0; font-size:15px; }
 .sw-languages--mobile { display:flex; padding-bottom:12px; margin-bottom:6px; border-bottom:1px solid #e3e9ec; gap:8px; }
 .sw-languages--mobile .sw-language { width:76px; height:44px; }
 .sw-language__code { display:inline; font-size:14px; font-weight:600; }
}
@media (prefers-reduced-motion:reduce) { .sw-header__toggle span { transition:none; } }
