.site-header {
  --header-blue: #123e79;
  --header-ink: #0c2b55;
  --header-orange: #ff8b38;
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fff;
  color: var(--header-ink);
  border-bottom: 1px solid #dce5ef;
  box-shadow: 0 4px 18px #102f5312;
}

.site-header .contact-bar { background: var(--header-blue); color: white; }
.site-header .contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 20px;
  min-height: 35px;
  padding-block: 4px;
  font-size: .875rem;
}
.site-header .contact-links { display: flex; flex-wrap: wrap; gap: 3px 22px; }
.site-header .contact-links a { text-underline-offset: 3px; text-decoration-color: #ffffff82; }

.site-header .bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px clamp(16px, 2.4vw, 34px);
  min-height: 93px;
  padding-block: 12px;
}
.site-header .brand { gap: 12px; width: max-content; }
.site-header .brand img { width: 59px; height: 59px; }
.site-header .brand strong {
  color: var(--header-blue);
  font-size: 1.85rem;
  line-height: 1;
  letter-spacing: .035em;
  font-weight: 900;
}
.site-header .brand small {
  color: var(--header-ink);
  font-size: .875rem;
  letter-spacing: .11em;
  font-weight: 750;
  margin-top: 5px;
}
.site-header nav {
  justify-content: flex-end;
  gap: 4px 8px;
  padding-right: clamp(10px, 1.6vw, 24px);
  border-right: 1px solid #dce5ef;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 11px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 5px;
}
.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  background: #eaf1fb;
  color: var(--header-blue);
  text-decoration: none;
}
.site-header .quote-button {
  color: #102541;
  background: var(--header-orange);
  border-radius: 6px;
  white-space: nowrap;
  padding-inline: 18px;
}
.site-header .quote-button:hover { background: #ffa35f; }

@media (min-width: 861px) {
  html { scroll-padding-top: 145px; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 16px; }
  .site-header { position: relative; }
  .site-header .bar { grid-template-columns: 1fr auto; }
  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    border-right: 0;
    border-top: 1px solid #dce5ef;
    padding: 7px 0 0;
  }
}
@media (max-width: 520px) {
  .site-header .bar { column-gap: 8px; }
  .site-header .brand { gap: 5px; }
  .site-header .brand img { width: 43px; height: 43px; }
  .site-header .brand strong { font-size: 1.32rem; }
  .site-header .brand small { font-size: .7rem; letter-spacing: .07em; }
  .site-header .quote-button { padding-inline: 9px; font-size: .875rem; }
  .site-header nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .site-header nav a { padding-inline: 8px; }
}
