.desktop-nav .services-group { position: relative; }
.desktop-nav .services-trigger { display: inline-flex; align-items: center; gap: 7px; }

.services-trigger::after,
.mobile-services > summary::after {
  content: "";
  width: 5px;
  height: 5px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: translateY(-2px) rotate(45deg);
}

.desktop-nav .services-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 1;
  min-width: 164px;
  padding-top: 12px;
}

.desktop-nav .services-group:hover > .services-menu,
.desktop-nav .services-group:focus-within > .services-menu { display: block; }

.services-menu-panel {
  padding: 5px;
  border: 1px solid #274451;
  border-radius: 8px;
  background: #0a1721;
  box-shadow: 0 12px 26px rgb(0 0 0 / 35%);
}

.desktop-nav .services-menu a {
  display: block;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: none;
}

.desktop-nav .services-menu a:is(:hover, :focus-visible) { background: #112b38; }
.site-header .header-cta {
  color: #73eee9;
  border-color: rgb(92 240 238 / 48%);
  border-radius: 60px;
}
.site-header .header-cta:hover { background: rgb(92 240 238 / 10%); }
.site-header .menu-toggle { gap: 4px; }

@media (max-width: 980px) {
  .site-header .mobile-nav:not([hidden]) {
    position: absolute;
    inset: 100% 0 auto auto;
    width: min(310px, calc(100% - 24px));
    max-height: calc(100dvh - 84px);
    padding: 12px 18px 18px;
    border: 1px solid #274451;
    border-right: 0;
    border-radius: 0 0 0 10px;
    box-shadow: 0 16px 36px rgb(0 0 0 / 45%);
    overscroll-behavior-y: contain;
  }

  .mobile-services > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 44px;
    padding: 13px 12px;
    border-bottom: 1px solid rgb(255 255 255 / 7%);
    color: #e1f1fe;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }

  .mobile-services > summary::-webkit-details-marker { display: none; }
  .mobile-services[open] > summary,
  .mobile-services > summary.active { color: var(--cyan); }
  .mobile-services[open] > summary::after { transform: translateY(1px) rotate(225deg); }

  .mobile-services-submenu {
    margin: 4px 0 4px 12px;
    border-left: 1px solid #274451;
  }

  .site-header .mobile-services-submenu a { display: block; min-height: 44px; }
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.footer-social-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #274451;
  border-radius: 7px;
  background: #0c1b26;
}

.footer-social-icon > a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
}
.footer-social-icon > a:is(:hover, :focus-visible) { background: #153344; }
.footer-social-icon img { opacity: .88; }

@media (max-width: 680px) {
  .footer .footer-social { width: 100%; justify-content: flex-end; }
}
