.services-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  padding: 0;
  border-radius: 10px;
}

.services-trigger:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.35);
  outline-offset: 2px;
}

.services-caret {
  font-size: 0.72rem;
  color: #64748b;
  transition: transform 0.2s ease;
  position: relative;
  top: -1px;
}

.services-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.12);
  padding: 10px;
  display: none;
  z-index: 1200;
}

.services-option {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
}

.services-option + .services-option {
  margin-top: 6px;
}

.services-option:hover,
.services-option:focus-visible {
  background: #eff6ff;
}

.services-option-title {
  display: block;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.services-option-subtitle {
  display: block;
  margin-top: 2px;
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.35;
}

.services-menu.is-open .services-dropdown,
.services-menu:hover .services-dropdown,
.services-menu:focus-within .services-dropdown {
  display: block;
}

.services-menu.is-open .services-caret,
.services-menu:hover .services-caret,
.services-menu:focus-within .services-caret {
  transform: rotate(180deg);
}

@media (max-width: 700px) {
  .services-dropdown {
    min-width: 260px;
  }
}
