.services-section {
  padding: 64px 0 53px;
  text-align: center;
  background-color: #F2F3EF;
}

.services-header {
  position: relative;
  max-width: 696px;
  margin: 0 auto 60px;
}

.services-title {
  margin: 0 0 11px;
  font-family: HarlowDuoSerifPlain, serif;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--Primary-teal);
}

.services-subtitle {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--Neutral-100);
}

.services-decor {
  position: absolute;
  top: -40px;
  right: -128px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-item {
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-image-wrapper {
  aspect-ratio: 148 / 177;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 6px;
}

.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover .service-image {
  transform: scale(1.05);
}

.service-name {
  margin: 15px 0 0;
  font-family: HarlowDuoSerifPlain, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--Neutral-50);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-decor {
    display: none;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-section {
    padding: 32px 0;
  }

  .services-header {
    margin: 0 auto 24px;
  }

  .services-title {
    margin: 0 0 4px;
    font-size: 28px;
  }

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

  .service-image-wrapper {
    width: 100%;
    height: auto;
    aspect-ratio: 51 / 61;
    margin-bottom: 10px;
  }

  .service-name {
    font-size: 24px;
  }
}
