.services-page {
  margin-top: 100px;
  padding: 0 16px;
}

.services-page__header {
  position: relative;
  margin-bottom: 16px;
}

.services-page__title {
  margin: 0;
  font-size: 24px;
  line-height: 110%;
}

.services-page__count {
  position: absolute;
  right: 0;
  bottom: 0;
  font-size: 12px;
  line-height: 110%;
  color: #21232580;
}

.services-page__categories {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.services-page__category {
  display: flex;
  align-items: flex-start;
  border-top: 1px solid #ececec;
}

.services-page__category-name {
  flex: 0 0 188px;
  padding-top: 8px;
  font-size: 14px;
}

.services-page__list {
  flex: 1;
}

.services-page__item {
  border-bottom: 1px solid #ececec;
}

.services-page__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-size: 14px;
}

.services-page__row:hover {
  background: #EFEFEF;
}

.services-page__icon {
  flex-shrink: 0;
  font-size: 16px;
  transition: transform 0.2s ease;
}

.services-page__item.is-open .services-page__icon {
  transform: rotate(135deg);
}

.services-page__details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 0;
}

.services-page__details[hidden] {
  display: none;
}

.services-page__detail-row {
  display: flex;
}

.services-page__detail-label {
  flex: 0 0 80px;
  font-size: 10px;
  color: #212325;
}

.services-page__detail-value {
  flex: 1;
  font-size: 12px;
  color: #212325;
}

@media (max-width: 900px) {
  .services-page {
    padding: 0 32px;
  }

  .services-page__header {
    margin-bottom: 64px;
  }

  .services-page__title {
    font-size: 48px;
    line-height: 110%;
  }

  .services-page__count {
    font-size: 20px;
  }

  .services-page__category {
    flex-direction: column;
    align-items: stretch;
    border-top: none;
  }

  .services-page__category-name {
    flex: none;
    display: flex;
    align-items: center;
    height: 52px;
    padding: 0;
    margin-bottom: 32px;
    font-size: 28px;
  }

  .services-page__list {
    border-top: 1px solid #ececec;
  }

  .services-page__row {
    padding: 16px 0;
  }

  .services-page__row span {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .services-page {
    padding: 0 20px;
  }

  .services-page__title {
    font-size: 26px;
  }

  .services-page__count {
    font-size: 14px;
  }

  .services-page__category-name {
    height: auto;
    margin-bottom: 16px;
    font-size: 18px;
  }

  .services-page__row span {
    font-size: 16px;
  }
}