/* Header layout is independent of section headers and their navigation. */
:root { --site-header-height: 88px; }
.site-header {
  min-height: var(--site-header-height); padding: 10px 24px;
  display: grid; grid-template-columns: 180px minmax(0, 1fr) auto; gap: 22px;
  z-index: 500; background: #1d1e20ed; align-items: center;
}
.site-header .logo { display: block; width: 180px; height: 66px; overflow: visible; }
.site-header .logo img {
  width: 180px; height: 92px; max-width: none; object-fit: contain;
  transform: translate(0, -13px);
  filter: grayscale(1) brightness(2.2) contrast(1.08) drop-shadow(0 0 3px #dcecff45);
}
.site-header nav { width: auto; order: initial; }
.site-menu { display: flex; justify-content: center; align-items: center; gap: clamp(10px, 1.5vw, 24px); padding: 0; border: 0; border-radius: 0; }
.site-menu a, .site-menu button {
  color: #d2cfd2; white-space: nowrap; font: 12px Arial, sans-serif;
  padding: 12px 0; border: 0; border-radius: 0; background: none; text-decoration: none; cursor: pointer;
}
.site-menu a:first-child { color: #d2cfd2; background: none; }
.site-menu a:hover, .site-menu button:hover { color: #ff8db9; }
.site-header-right { display: flex; gap: 16px; align-items: center; justify-content: flex-end; }
.site-header .langs { border: 1px solid #ffffff12; border-radius: 99px; padding: 3px; gap: 0; background: #ffffff04; }
.site-header .langs button { border-radius: 99px; padding: 8px 9px; font-size: 10px; color: #aaa5ac; cursor: pointer; }
.site-header .langs button[aria-pressed="true"] { color: #fff; background: #f45a9a; box-shadow: 0 0 14px #f45a9a50; }
.site-audience { display: flex; flex-shrink: 0; padding: 3px; border-color: #f45a9a66; }
.site-audience a { padding: 10px 13px; font-size: 11px; color: #cbc6cb; white-space: nowrap; }
.site-audience a:first-child { color: #cbc6cb; background: none; }
.site-audience a[aria-current="page"] { background: #f45a9a29; color: #fff; }
.site-header a:focus-visible, .site-header button:focus-visible { outline: 2px solid #ff8db9; outline-offset: 4px; }
.actions { flex-wrap: wrap; }
.section[id], .sector[id] { scroll-margin-top: calc(var(--site-header-height) + 18px); }
footer img { filter: grayscale(1) brightness(2.2) contrast(1.08); }
#reviews-dialog .lead { font-size: 16px; }
@media (max-width: 1190px) {
  :root { --site-header-height: 132px; }
  .site-header { grid-template-columns: 180px 1fr; gap: 0 16px; padding: 8px 20px; }
  .site-header-right { grid-column: 2; grid-row: 1; }
  .site-menu { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 28px; overflow-x: auto; }
  .site-menu a, .site-menu button { padding: 9px 0; }
}
@media (max-width: 600px) {
  :root { --site-header-height: 132px; }
  .site-header { grid-template-columns: 114px minmax(0, 1fr); gap: 0 8px; padding: 6px 12px; }
  .site-header .logo { width: 114px; height: 66px; }
  .site-header .logo img { width: 128px; height: 76px; transform: translate(-7px, -5px); }
  .site-header-right { gap: 5px; flex-wrap: wrap; }
  .site-header .langs button { padding: 6px 8px; font-size: 9px; }
  .site-audience a { padding: 7px 9px; font-size: 10px; }
  .site-menu { justify-content: flex-start; gap: 23px; padding: 0 1px 4px; min-width: 0; scrollbar-width: thin; }
  .site-menu a, .site-menu button { font-size: 11px; }
}
