/* Reuse the site's Inter typography, primary blue, borders and button shapes. */
.wts-site-header {
  --nav-primary: #137fec;
  --nav-text: #111418;
  --nav-muted: #526579;
  --nav-border: #e2e8f0;
}

.wts-navigation {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
  color: var(--nav-text);
}

.wts-navigation .wts-nav-item {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}

.wts-navigation a:hover,
.wts-navigation summary:hover,
.wts-services[open] > summary {
  color: var(--nav-primary);
}

.wts-nav-placeholder { cursor: default; }
.wts-services > summary { cursor: pointer; list-style: none; }
.wts-services > summary::-webkit-details-marker { display: none; }
.wts-nav-chevron { width: 18px; height: 18px; transition: transform .18s ease; }
.wts-services[open] .wts-nav-chevron { transform: rotate(180deg); }

.wts-services-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  width: min(calc(100% - 48px), 1152px);
  max-height: calc(100vh - 100px);
  max-height: calc(100dvh - 100px);
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(-50%);
  padding: 30px 36px;
  border: 1px solid var(--nav-border);
  border-radius: 0 0 16px 16px;
  background: #fff;
  box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
}

.wts-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 64px;
}

.wts-service-group { min-width: 0; }
.wts-service-group h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  color: var(--nav-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.015em;
}

.wts-service-icon { width: 24px; height: 24px; flex: 0 0 24px; color: var(--nav-primary); }
.wts-service-group ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wts-service-group li,
.wts-service-group p { margin: 0; color: var(--nav-muted); font-size: 14px; line-height: 1.65; }

.wts-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 0;
  border: 1px solid var(--nav-border);
  border-radius: 12px;
  background: #fff;
  color: var(--nav-text);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  cursor: pointer;
}

.wts-menu-toggle:hover,
.wts-menu-toggle[aria-expanded="true"] { border-color: rgba(19, 127, 236, .35); background: rgba(19, 127, 236, .07); color: var(--nav-primary); }
.wts-menu-toggle .mobile-menu-icon { position: relative; display: block; width: 20px; height: 14px; }
.wts-menu-toggle .mobile-menu-icon span { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 999px; background: currentColor; transition: transform .18s ease, opacity .18s ease, top .18s ease; }
.wts-menu-toggle .mobile-menu-icon span:first-child { top: 0; }
.wts-menu-toggle .mobile-menu-icon span:nth-child(2) { top: 6px; }
.wts-menu-toggle .mobile-menu-icon span:last-child { top: 12px; }
.wts-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:first-child { top: 6px; transform: rotate(45deg); }
.wts-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:nth-child(2) { opacity: 0; }
.wts-menu-toggle[aria-expanded="true"] .mobile-menu-icon span:last-child { top: 6px; transform: rotate(-45deg); }
.wts-menu-toggle:focus-visible,
.wts-navigation a:focus-visible,
.wts-navigation summary:focus-visible { outline: 3px solid rgba(19, 127, 236, .3); outline-offset: 4px; border-radius: 8px; }

@media (min-width: 1024px) {
  .wts-navigation { margin-left: auto; }
  .wts-site-header .mobile-header-cta { display: none !important; }
}

@media (max-width: 1023px) {
  .wts-menu-toggle { display: inline-flex; margin-left: auto; }
  .wts-site-header .mobile-header-cta + .wts-menu-toggle { margin-left: 8px; }
  .wts-site-header .mobile-header-cta { display: inline-flex !important; }
  .wts-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    max-height: calc(100vh - 96px);
    max-height: calc(100dvh - 96px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px 16px 20px;
    border-top: 1px solid #f0f2f4;
    border-bottom: 1px solid var(--nav-border);
    background: #fff;
    box-shadow: 0 18px 32px rgba(15, 23, 42, .12);
  }
  .wts-site-header[data-menu-open="true"] .wts-navigation { display: block; }
  .wts-navigation .wts-nav-item { min-height: 48px; padding: 12px; border-radius: 10px; font-size: 15px; font-weight: 600; }
  .wts-services > summary { justify-content: space-between; }
  .wts-services[open] > summary { background: rgba(19, 127, 236, .08); }
  .wts-services-panel { position: static; width: auto; max-height: none; overflow: visible; padding: 24px 12px; border: 0; border-radius: 0; transform: none; box-shadow: none; }
  .wts-services-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .wts-service-group h3 { gap: 10px; font-size: 16px; }
  .wts-service-group li, .wts-service-group p { font-size: 14px; overflow-wrap: break-word; }
}

@media (prefers-reduced-motion: reduce) {
  .wts-nav-chevron, .wts-menu-toggle .mobile-menu-icon span { transition: none; }
}

/* Real service links, with comfortable touch targets and current-page state. */
.wts-service-group li a { display: block; padding-block: 5px; text-decoration: none; }
.wts-service-group a[aria-current="page"] { color: var(--nav-primary); font-weight: 700; }
@media (max-width: 1023px) {
  .wts-service-group li a { display: flex; min-height: 44px; align-items: center; }
}
