/* Header-only layout: shared 1280px content width is supplied by home-layout.css. */
.site-header .nav-row { min-height: 80px; gap: 36px; flex-wrap: nowrap; }
.site-header .hero-brand { flex: 0 0 208px; }
.site-header .hero-brand img { width: 208px; height: auto; max-width: 100%; }
.site-header #navigation { display: flex; position: static; align-items: center; justify-content: flex-start; flex: 0 0 auto; gap: 26px; padding: 0; background: transparent; border: 0; box-shadow: none; }
.site-header #navigation a { display: inline-flex; align-items: center; position: relative; min-height: 44px; padding: 0; font-size: 15px; line-height: 1.5; font-weight: 500; color: #334862; white-space: nowrap; transition: color .16s ease; }
.site-header #navigation a:hover, .site-header #navigation a.active { color: #1764ff; }
.site-header #navigation a.active::after { display: block; content: ''; position: absolute; bottom: 0; left: 50%; right: auto; width: 22px; height: 2px; border-radius: 2px; background: #1764ff; transform: translateX(-50%); }
.site-header .nav-actions { flex: 0 0 auto; margin-left: auto; }
.site-header .compact { min-height: 44px; padding: 10px 17px; gap: 9px; font-size: 14px; font-weight: 600; border-radius: 9px; }
.site-header .compact .icon { width: 21px; height: 21px; }
.site-header .compact:hover { transform: none; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #1764ff; outline-offset: 4px; border-radius: 5px; }
.site-header .menu-toggle { display: none; }
@media (max-width: 1040px) {
  .site-header .nav-row { min-height: 76px; gap: 20px; }
  .site-header .nav-actions { order: 2; }
  .site-header .menu-toggle { order: 3; display: flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; margin-left: 0; flex-shrink: 0; background: transparent; border: 1px solid #dce6f1; border-radius: 9px; color: #142640; cursor: pointer; }
  .site-header .menu-toggle span { display: block; width: 19px; height: 2px; background: currentColor; }
  .site-header #navigation { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 16px max(32px, calc((100% - 1280px) / 2)); background: #f8fbff; border-bottom: 1px solid #dce6f1; box-shadow: 0 12px 24px #1426400d; }
  .site-header #navigation.open { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; }
  .site-header #navigation a { padding: 10px 12px; }
  .site-header #navigation a.active { background: #eaf2ff; border-radius: 8px; }
  .site-header #navigation a.active::after { display: none; }
}
@media (max-width: 700px) {
  .site-header .nav-row { min-height: 72px; gap: 16px; }
  .site-header .hero-brand { flex-basis: 160px; }
  .site-header .hero-brand img { width: 160px; height: auto; }
  .site-header .nav-actions { display: none; }
  .site-header .menu-toggle { margin-left: auto; }
  .site-header #navigation { padding: 12px 20px; }
  .site-header #navigation.open { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px; }
}
@media (prefers-reduced-motion: reduce) { .site-header #navigation a { transition: none; } }
