.services-section {
  min-height: 100vh;
  padding-block: 40px;
  background-color: #f5f5f5;
}

.services-section__title {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  margin-block-end: 40px;
}

.services-section__list {
  display: flex;
  gap: 20px;

  perspective: 200px;
}

.services-section__item {
  width: calc(33.33% - 40px);
  height: fit-content;
  padding: 16px;

  flex: 0 1 calc(33.33% - 40px);
  display: flex;
  flex-direction: column;
  background-color: #fff;

  transition: all 340ms linear;
}

.services-section__item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: filter 340ms linear;
}

.services-section__item-title {
  font-size: 20px;
  font-weight: 600;
  text-align: center;

  width: 100%;
  padding-block-end: 16px;
  margin: 16px auto;
  border-block-end: 1px solid #e5e5e5;
}

.services-section__item:hover,
.services-section__item:active {
  transform: translateZ(10px);
}

.services-section__item:hover .services-section__item-img,
.services-section__item:active .services-section__item-img {
  filter: brightness(1.4);
}

/* Responsive */
@media (max-width: 640px) {
  .services-section__list {
    flex-direction: column;
  }

  .services-section__item {
    width: 100%;
  }
}
