/* Shared two-row header. The original logo image and menu labels remain intact. */
.site-header {
  border-top: 0;
  border-bottom: 1px solid #ccd9ed;
  background: #fff;
}
.site-header .header-inner {
  display: grid;
  grid-template-columns: clamp(280px, 24vw, 345px) minmax(0, 1fr);
  grid-template-rows: 57px 70px;
  gap: 0;
  max-width: none;
  min-height: 127px;
  padding: 0;
}
.site-header .header-inner > .brand {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: none;
  padding: 12px 22px;
  border-right: 1px solid #dce5f2;
  background: #fff;
}
.site-header .header-inner .brand-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
}
.site-header .header-phone-strip {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-self: stretch;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  column-gap: 12px;
  row-gap: 2px;
  padding-block: 8px;
  padding-inline: clamp(20px, 3vw, 52px);
  background: #1e58b3;
}
.site-header .header-service-labels {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.site-header .header-phone-divider { color: #fff; font-size: 15px; line-height: 1; }
.site-header .header-phone-strip a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: .025em;
  line-height: 1.3;
  white-space: nowrap;
}
.site-header .header-phone-strip svg { flex: 0 0 16px; }
.site-header .header-phone-strip a:hover,
.site-header .header-phone-strip a:focus-visible { text-decoration: underline; text-underline-offset: 4px; }
.site-header .header-inner > .menu-toggle { display: none; }
.site-header #navigation,
.site-header #navigation.is-open {
  grid-column: 2;
  grid-row: 2;
  position: static;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  flex: initial;
  min-width: 0;
  gap: 0;
  padding: 0 clamp(12px, 2vw, 34px);
  border: 0;
  background: #fff;
  font-size: 14px;
}
.site-header #navigation > a.nav-item {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 12px clamp(5px, .7vw, 12px);
  border: 0;
  background: #fff;
  color: #173b7d;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.site-header #navigation > a.nav-item:not(.nav-contact):hover,
.site-header #navigation > a.nav-item:not(.nav-contact):focus-visible { background: #edf4ff; color: #174a9c; }
.site-header #navigation > a.nav-item:not(.nav-contact)[aria-current]::after {
  content: '';
  position: absolute;
  inset-inline: 8px;
  bottom: 0;
  height: 3px;
  background: #1e58b3;
}
.site-header #navigation > a.nav-item.nav-contact,
.site-header #navigation > a.nav-item.nav-contact[aria-current] {
  align-self: center;
  min-height: 48px;
  margin-left: 6px;
  padding: 12px 16px;
  border-radius: 3px;
  background: #1e58b3;
  color: #fff;
}
.site-header #navigation > a.nav-item.nav-contact:hover,
.site-header #navigation > a.nav-item.nav-contact:focus-visible { background: #174a9c; color: #fff; }

@media (max-width: 1350px) {
  .site-header .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: minmax(51px, auto) 68px;
    min-height: 119px;
  }
  .site-header .header-phone-strip { grid-column: 1 / 3; grid-row: 1; padding: 8px 20px; column-gap: 16px; }
  .site-header .header-service-labels { font-size: 12px; gap: 4px; }
  .site-header .header-phone-strip a { font-size: 14px; }
  .site-header .header-inner > .brand {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    padding: 9px 18px;
    border-right: 0;
  }
  .site-header .header-inner .brand-logo { width: min(280px, calc(100vw - 128px)); }
  .site-header .header-inner > .menu-toggle {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 96px;
    padding: 10px 16px;
    border: 0;
    border-left: 1px solid #dce5f2;
    background: #fff;
    color: #173b7d;
    font-size: 12px;
    font-weight: 700;
  }
  .site-header .header-inner > .menu-toggle span { font-size: 22px; line-height: 1; }
  .site-header #navigation,
  .site-header #navigation.is-open {
    grid-column: auto;
    grid-row: auto;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 101;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - 140px);
    overflow-y: auto;
    padding: 12px 20px 20px;
    border-bottom: 1px solid #ccd9ed;
    box-shadow: 0 12px 24px #102d6326;
    background: #fff;
    font-size: 14px;
  }
  .site-header #navigation { display: none; }
  .site-header #navigation.is-open { display: flex; }
  .site-header #navigation > a.nav-item {
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px 14px;
    border-bottom: 1px solid #e1e9f4;
  }
  .site-header #navigation > a.nav-item:not(.nav-contact)[aria-current]::after {
    inset: 10px auto 10px 0;
    width: 3px;
    height: auto;
  }
  .site-header #navigation > a.nav-item.nav-contact,
  .site-header #navigation > a.nav-item.nav-contact[aria-current] {
    align-self: stretch;
    min-height: 48px;
    margin: 12px 0 0;
    padding-inline: 14px;
    border-bottom: 0;
  }
}

@media (max-width: 360px) {
  .site-header .header-phone-strip { padding-inline: 12px; column-gap: 10px; }
  .site-header .header-service-labels { font-size: 11px; }
  .site-header .header-inner > .brand { padding-inline: 12px; }
  .site-header .header-inner .brand-logo { width: min(205px, calc(100vw - 112px)); }
  .site-header .header-inner > .menu-toggle { min-width: 88px; padding-inline: 12px; }
}
@media (max-width: 600px) {
  .site-header .header-phone-divider { display: none; }
}
