.services-nav-disclosure { display: flex; align-items: center; }
.site-header .services-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.services-nav-chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #0F6B6F;
  border-bottom: 1.5px solid #0F6B6F;
  transform: translateY(-2px) rotate(45deg);
}

.services-nav-toggle[aria-expanded="true"] .services-nav-chevron {
  transform: translateY(2px) rotate(225deg);
}

.services-nav-panel {
  position: absolute;
  top: 100%;
  right: 3%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100dvh - 112px);
  overflow-y: auto;
  padding: 28px;
  border: 1px solid #E9EEF1;
  background: #ffffff;
  color: #1F2A30;
  box-shadow: 0 8px 16px rgb(22 61 87 / 5%);
}

.services-nav-panel[hidden] { display: none; }
.services-nav-intro { padding-right: 12px; }
.services-nav-intro h2 { margin: 0 0 14px; color: #163D57; font-size: 1.25rem; line-height: 1.3; }
.services-nav-intro p { margin: 0; font-size: 0.875rem; font-weight: 400; line-height: 1.7; }
.services-nav-links { min-width: 0; }

.site-header .services-nav-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  min-height: 46px;
  padding: 12px 8px;
  color: #163D57;
  opacity: 1;
  border-bottom: 1px solid #E9EEF1;
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: left;
}

.services-nav-links small {
  display: block;
  margin-top: 4px;
  color: #1F2A30;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.6;
}

.services-nav-arrow { flex-shrink: 0; color: #2D8D93; }
.site-header .services-nav-links a:hover { color: #0F6B6F; background: #F8FAFB; }
.site-header .services-nav-links .services-nav-all { border: 0; margin-top: 10px; color: #0F6B6F; }
.services-nav-toggle:focus-visible,
.services-nav-links a:focus-visible { outline: 2px solid #0F6B6F; outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .services-nav-chevron { transition: transform 180ms ease; }
  .services-nav-links a { transition: color 180ms ease, background-color 180ms ease; }
  .services-nav-arrow { transition: transform 180ms ease; }
  .services-nav-links a:hover .services-nav-arrow { transform: translateX(3px); }
}

@media (max-width: 1120px) {
  .services-nav-disclosure { display: block; width: 100%; }
  .site-header .services-nav-toggle { width: 100%; padding: 12px 14px; justify-content: space-between; }
  .services-nav-panel {
    position: static;
    width: 100%;
    max-height: none;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0 14px 10px;
    border: 0;
    border-left: 2px solid #2D8D93;
    box-shadow: none;
  }
  .services-nav-intro { display: none; }
  .site-header.nav-open .services-nav-links a { padding: 10px 8px; font-size: 0.875rem; }
  .site-header.nav-open .site-nav,
  .home-redesign .site-header.nav-open .site-nav { max-height: calc(100dvh - 112px); }
}

@media (max-width: 700px) {
  .site-header.nav-open .site-nav,
  .home-redesign .site-header.nav-open .site-nav {
    max-height: calc(100dvh - 172px - env(safe-area-inset-bottom, 0px));
  }
}
