.services-menu {
  position: relative;
}

.services-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.services-toggle:hover,
.services-toggle:focus-visible,
.services-menu.open .services-toggle {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.dropdown-arrow {
  font-size: 1rem;
  line-height: 1;
  transition: transform .2s;
}

.services-menu.open .dropdown-arrow {
  transform: rotate(180deg);
}

.services-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 11px);
  left: -22px;
  width: 330px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 35px rgba(11, 31, 102, .16);
}

.services-menu.open .services-dropdown {
  display: grid;
}

.services-dropdown a {
  padding: 11px 13px;
  border-left: 3px solid transparent;
  color: var(--ink);
  font-size: .86rem;
  line-height: 1.35;
}

.services-dropdown a:hover,
.services-dropdown a:focus-visible {
  background: var(--sky);
  border-left-color: var(--blue);
  color: var(--navy);
}

@media (max-width: 960px) {
  .services-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .services-dropdown {
    position: static;
    width: 100%;
    margin: 3px 0 8px;
    padding: 5px 0 5px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    box-shadow: none;
  }

  .services-dropdown a {
    padding: 10px 12px;
  }
}
