/* ========== SERVICES SECTION – cards like products ========== */

.services-section {
  padding: 50px 0 70px;
  background-color: #f3f3f3; /* чуть светлее, чтобы отделиться от #B9B9B9 */
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */

.services-header {
  text-align: center;
  margin-bottom: 34px;
}

.services-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #777777;
  margin-bottom: 6px;
}

.services-title {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.services-intro {
  max-width: 680px;
  margin: 0 auto;
  font-size: 0.96rem;
  color: #444444;
  line-height: 1.5;
}

/* Grid */

.services-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Card */

.service-card {
  height: 100%;
}

.service-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background-color: #ffffff;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.service-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.14);
}

/* Image */

.service-image-wrap {
  position: relative;
  overflow: hidden;
  /* max-height: 190px; */
  height: 220px;
}

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

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

/* Content */

.service-content {
  min-height: 268px;
  padding: 16px 18px 18px 18px;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 6px;
}

.service-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #111111;
}

.service-desc {
  font-size: 0.9rem;
  color: #555555;
  line-height: 1.45;
}

.service-cta {
  margin-top: 10px;
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: #ff2c7a;
  color: #ffffff;
  font-size: 0.8rem;
  text-transform: lowercase;
}

/* Responsive */

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

}

@media (max-width: 700px) {
  .services-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-content {
    min-height: auto;
  }

  .service-image-wrap {
    /* max-height: 220px; */
  }
}
