@import url("/assets/brand-colors.css");

.site-header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-bottom: 1px solid #dfe5e9;
  font: 720 1rem/1.4 Inter, system-ui, sans-serif;
}

.site-header *, .site-header *::before { box-sizing: border-box; }
.site-header .site-header-inner {
  width: min(1160px, calc(100% - 36px));
  min-height: 76px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .site-brand { flex: none; }
.site-header .site-brand img { display: block; width: 155px; height: auto; }
.site-header .site-links { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 26px); }
.site-header .site-links a {
  margin: 0;
  padding: 8px 0;
  color: #132e4b;
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.site-header .site-links a:hover, .site-header .site-links a[aria-current="page"] { color: var(--b2b-orange); }
.site-header .site-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35em; }
.site-header .site-links .site-contact {
  padding: 10px 14px;
  color: #fff;
  background: var(--b2b-orange);
  border-radius: 6px;
}
.site-header .site-links .site-contact:hover { color: #fff; background: var(--b2b-orange-hover); }
.site-header a:focus-visible, .site-header button:focus-visible {
  outline: 2px solid var(--b2b-orange);
  outline-offset: 3px;
}
.site-header .site-menu-toggle {
  display: none;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #dfe5e9;
  border-radius: 6px;
  background: #fff;
  color: #132e4b;
  font: inherit;
}

@media (max-width: 1160px) {
  .site-header .site-header-inner { flex-wrap: wrap; min-height: 68px; }
  .site-header .site-brand img { width: 135px; }
  .site-header .site-links { width: 100%; flex-wrap: wrap; padding-bottom: 12px; }
  .site-header[data-menu-ready] .site-menu-toggle { display: block; }
  .site-header[data-menu-ready] .site-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 16px;
    background: #fff;
    border-bottom: 1px solid #dfe5e9;
    box-shadow: 0 10px 20px #132e4b18;
  }
  .site-header[data-menu-ready] .site-links.is-open { display: flex; }
  .site-header .site-links a { padding: 10px 4px; white-space: normal; }
  .site-header .site-links .site-contact { align-self: flex-start; margin-top: 6px; }
}
