/* Shared navigation: native disclosures and a compact, crawlable service directory. */
.nx-header .nav {
  position: relative;
}
.nx-header .navlinks {
  gap: clamp(15px, 1.6vw, 25px);
}
.nx-header .nav-menu > summary {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 62px;
  padding: 18px 0;
}
.nx-header .nav-menu > summary span {
  display: inline-block;
  margin: 0;
  transition: transform 160ms ease;
}
.nx-header .nav-menu[open] > summary span {
  transform: rotate(180deg);
}
.nx-header .nx-nav-menu {
  position: static;
}
.nx-header .nx-nav-panel {
  position: absolute;
  z-index: 30;
  inset: calc(100% - 3px) 0 auto;
  width: 100%;
  padding: 25px 29px 28px;
  max-height: calc(100dvh - 150px);
  overflow: auto;
  overscroll-behavior: contain;
  color: #18372f;
  background: #fff;
  border: 1px solid #dce7e1;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 24px 48px #0b2b2724;
}
.nx-header .nx-nav-panel a {
  display: block;
  border: 1px solid transparent;
  border-radius: 9px;
  padding: 9px 11px;
  color: #173b32;
  line-height: 1.45;
  text-decoration: none;
}
.nx-header .nx-nav-panel a:hover,
.nx-header .nx-nav-panel a[aria-current="page"] {
  color: #047857;
  background: #edf8f1;
  border-color: #d6eade;
}
.nx-header .nav-menu > summary:focus-visible,
.nx-header .nx-nav-panel a:focus-visible {
  outline: 3px solid #059669;
  outline-offset: 4px;
}
.nx-header .nx-nav-panel strong,
.nx-header .nx-nav-panel small {
  display: block;
  font-size: 14px;
}
.nx-header .nx-nav-panel strong {
  color: inherit;
  font-weight: 700;
}
.nx-header .nx-nav-panel small {
  margin-top: 4px;
  color: #5b6d67;
  font-weight: 400;
}
.nx-header .nx-nav-overview {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e0e9e4;
}
.nx-header .nx-nav-overview > a {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #047857;
  font-size: 16px;
  font-weight: 750;
  white-space: nowrap;
}
.nx-header .nx-nav-overview > a:hover {
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nx-header .nx-nav-overview p {
  max-width: 580px;
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #5b6d67;
}
.nx-header .nx-nav-columns {
  display: grid;
  gap: 28px;
}
.nx-header .nx-nav-columns--types,
.nx-header .nx-nav-columns--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nx-header .nx-nav-columns--locations {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.nx-header .nx-nav-group {
  min-width: 0;
}
.nx-header .nx-nav-group h3,
.nx-header .nx-nav-kicker {
  margin: 0 0 13px;
  padding-left: 11px;
  color: #0d7457;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.5;
}
.nx-header .nx-nav-items {
  display: grid;
  gap: 2px;
}
.nx-header .nx-nav-panel--locations a {
  padding-top: 7px;
  padding-bottom: 7px;
}
.nx-header .nx-nav-panel--locations small {
  margin-top: 1px;
}
.nx-header .nx-nav-panel--formation {
  width: min(710px, 100%);
  inset-inline-start: auto;
  inset-inline-end: 0;
}
.nx-header .nx-nav-formation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}
.nx-header .nx-nav-formation a {
  padding: 20px;
  background: #f4f9f6;
  border-color: #dce9e0;
}
.nx-header .nx-nav-formation strong {
  margin-bottom: 9px;
  font-size: 19px;
  letter-spacing: -0.025em;
}
.nx-header .nx-nav-note {
  margin: 18px 0 0;
  padding-left: 11px;
  color: #5b6d67;
  font-size: 14px;
  line-height: 1.65;
}
.nx-header .nx-explore-menu .service-dropdown {
  right: 0;
  left: auto;
}
@media (min-width: 1081px) and (max-width: 1240px) {
  .nx-header .nav {
    gap: 16px;
  }
  .nx-header .navlinks {
    gap: 14px;
  }
  .nx-header .navlinks > a:not(.btn),
  .nx-header .nav-menu > summary {
    font-size: 14px;
  }
  .nx-header .navlinks > .btn {
    padding-inline: 19px;
  }
  .nx-header .brand strong {
    font-size: 21px;
  }
}
@media (max-width: 1080px) {
  .nx-header .navlinks {
    padding-bottom: 88px;
    gap: 0;
    max-height: calc(100dvh - 80px);
    overscroll-behavior: contain;
  }
  .nx-header .nav-menu {
    border-bottom: 1px solid #e4ece7;
  }
  .nx-header .nav-menu > summary {
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 16px 1px;
  }
  .nx-header .nx-nav-panel {
    position: static;
    width: 100%;
    max-height: none;
    margin: 0 0 15px;
    padding: 19px 16px;
    overflow: visible;
    border-radius: 12px;
    box-shadow: none;
    background: #f7faf8;
  }
  .nx-header .nx-nav-overview {
    display: block;
    margin-bottom: 17px;
    padding-bottom: 15px;
  }
  .nx-header .nx-nav-overview > a {
    white-space: normal;
  }
  .nx-header .nx-nav-overview p {
    margin-top: 7px;
  }
  .nx-header .nx-nav-columns--types,
  .nx-header .nx-nav-columns--services,
  .nx-header .nx-nav-columns--locations {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 16px;
  }
  .nx-header .nx-nav-group h3,
  .nx-header .nx-nav-kicker {
    padding-left: 9px;
  }
  .nx-header .nx-nav-panel a {
    padding: 10px 9px;
  }
  .nx-header .nx-nav-note {
    padding-left: 0;
  }
  .nx-header .nx-explore-menu .service-dropdown {
    margin-bottom: 15px;
  }
}
@media (max-width: 620px) {
  .nx-header .navlinks {
    padding-inline: 22px;
  }
  .nx-header .nx-nav-columns--types,
  .nx-header .nx-nav-columns--services,
  .nx-header .nx-nav-columns--locations,
  .nx-header .nx-nav-formation {
    grid-template-columns: 1fr;
  }
  .nx-header .nx-nav-columns {
    gap: 24px;
  }
  .nx-header .nx-nav-panel {
    padding: 19px 13px;
  }
  .nx-header .nx-nav-formation a {
    padding: 17px;
  }
  .nx-header .nx-nav-group + .nx-nav-group {
    border-top: 1px solid #dce7e1;
    padding-top: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nx-header .nav-menu > summary span {
    transition: none;
  }
}

/* Seven regional columns on desktop; disclosure scrolling preserves all links. */
@media (min-width: 1081px) {
  .nx-header .nx-nav-panel--locations { padding-inline: 20px; }
  .nx-header .nx-nav-panel--locations .nx-nav-group > h3 { min-height: 44px; line-height: 1.45; font-size: 14px; }
  .nx-header .nx-nav-panel--locations a { padding-inline: 6px; }
  .nx-header .nx-nav-panel--locations strong { font-size: 14px; line-height: 1.4; }
  .nx-header .nx-nav-panel--locations small { font-size: 14px; line-height: 1.4; }
}
