.home-services {
  padding: 72px 0;
  background: var(--cream);
}

.home-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.home-service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 12px 35px rgba(23, 52, 50, 0.1);
}

.home-service-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.home-service-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
}

.home-service-content h2 {
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
}

.home-service-content p {
  flex: 1;
}

.home-service-content .button {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .home-service-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
  }

  .home-service-card {
    display: grid;
    grid-template-columns: minmax(240px, 42%) 1fr;
  }

  .home-service-card img {
    height: 100%;
    aspect-ratio: auto;
  }
}

@media (max-width: 620px) {
  .home-services {
    padding: 52px 0;
  }

  .home-service-card {
    display: flex;
  }

  .home-service-card img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .home-service-content {
    padding: 24px;
  }
}
