/* Shared service navigation, without changing the page compositions. */
.services-nav { position: relative; color: var(--teal); }
.services-nav-row { display: flex; align-items: center; }
.services-nav-link { white-space: nowrap; }
.services-nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 44px; padding: 0; border: 0;
  border-radius: 8px; background: var(--white); color: var(--teal);
}
.services-nav-toggle:hover { color: var(--gold); }
.services-nav-chevron {
  width: 7px; height: 7px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg);
  transition: transform .18s ease;
}
.services-nav-toggle[aria-expanded="true"] .services-nav-chevron { transform: translateY(2px) rotate(225deg); }
.services-nav-panel[hidden] { display: none !important; }
.services-nav-panel { position: absolute; top: 100%; left: -18px; width: 276px; padding-top: 10px; z-index: 2; }
.services-nav-list {
  margin: 0; padding: 8px; list-style: none; background: var(--white);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 12px 30px rgb(32 86 93 / .12);
  animation: services-menu-enter .18s ease-out;
}
.desktop-nav .services-nav-list a {
  display: block; padding: 12px 14px; border-radius: 7px;
  line-height: 1.5; color: var(--teal); text-decoration: none;
}
.desktop-nav .services-nav-list a:is(:hover,:focus-visible),
.desktop-nav .services-nav-list a[aria-current="page"] {
  text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px;
}
@keyframes services-menu-enter { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 800px) {
  .mobile-menu .services-nav-row { border-bottom: 1px solid var(--line); }
  .mobile-menu .services-nav-link { flex: 1; border-bottom: 0; }
  .mobile-menu .services-nav-toggle { width: 44px; height: 48px; flex-shrink: 0; }
  .mobile-menu .services-nav-panel { position: static; width: auto; padding: 8px 0 12px 14px; }
  .mobile-menu .services-nav-list { border: 0; border-left: 2px solid var(--gold); border-radius: 0; box-shadow: none; padding: 0 0 0 14px; }
  .mobile-menu .services-nav-list a { font-size: 16px; line-height: 1.5; padding: 12px 0; border-bottom: 0; color: var(--teal); }
  .mobile-menu .services-nav-list a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-nav-list { animation: none; }
  .services-nav-chevron { transition: none; }
}
