.services {
  margin-bottom: 144px;
  padding: 0 var(--padding-x);
  display: flex;
  flex-direction: column;
}
.services h2 {
  margin-bottom: 48px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.services__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  border-radius: 24px;
  color: white;
}
.services__card:nth-child(1) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card1.webp') lightgray 50% / cover no-repeat;
}
.services__card:nth-child(2) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card2.webp') lightgray 50% / cover no-repeat;
}
.services__card:nth-child(3) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card3.webp') lightgray 50% / cover no-repeat;
}
.services__card:nth-child(4) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card4.webp') lightgray 50% / cover no-repeat;
}
.services__card:nth-child(5) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card5.webp') lightgray 50% / cover no-repeat;
}
.services__card:nth-child(6) {
  background: linear-gradient(180deg, rgba(27, 14, 0, 0.00) 0%, rgba(27, 14, 0, 0.70) 100%), url('/wp-content/themes/cleanon/assets/images/service_card6.webp') lightgray 50% / cover no-repeat;
}
.services__card-price {
  top: 16px;
  right: 16px;
}
.services__card-texts {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.services__additional {
  margin-bottom: 48px;
}
.services__additional h5 {
  margin-bottom: 24px;
}
.services__additional-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.services__additional-card {
  aspect-ratio: 26 / 17;
  background-color: var(--bg_beige);
  border-radius: 16px;
  color: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 32px;
  flex-shrink: 0;
  transition: all .3s ease-out;
  cursor: pointer;
  text-decoration: none;
}
.services__additional-card:hover {
  background-color: var(--dark_beige);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58, 51, 46, 0.12);
}
.services__additional-card p {
  text-align: center;
  text-wrap: wrap;
}
.services__additional-card span {
  width: 100%;
  text-align: center;
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  box-shadow: 0 5px 15px 0 rgba(58, 51, 46, 0.15);
}

.promos {
  width: 100%;
  height: 714px;
  display: flex;
  margin-bottom: 100px;
}
.promos__content {
  width: 100%;
  padding: 0 var(--padding-x);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg_beige);
}
.promos__content h2 {
  margin-top: 16px;
  margin-bottom: 24px;
}
.promos__badge {
  width: fit-content;
  padding: 12px 24px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.promos__content p {
  margin-bottom: 24px;
}
.promos__photo {
  width: 100%;
}
.promos__photo img {
  width: auto;
  height: 100%;
  object-fit: cover;
}


@media screen and (max-width: 1920px) {
  .services__additional-card {
    aspect-ratio: unset;
  }
}

@media (max-width: 768px) {
  /* ─── SERVICES GRID ── стовпчик ─── */
  .services {
    margin-bottom: 64px;
    padding: 0 16px;
  }
  .services h2 {
    margin-bottom: 32px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }
  .services__card {
    aspect-ratio: unset;
    min-height: 220px;
    border-radius: 16px;
  }

  /* ─── ДОДАТКОВІ ПОСЛУГИ ── горизонтальний скрол ─── */
  .services__additional {
    margin-bottom: 32px;
  }
  .services__additional h5 {
    margin-bottom: 16px;
  }
  .services__additional-cards {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 16px;
    margin-left: -16px;
    margin-right: -16px;
    padding: 0 16px;
    grid-template-columns: unset;
  }
  .services__additional-cards::-webkit-scrollbar {
    display: none;
  }
  .services__additional-card {
    flex-shrink: 0;
    width: 160px;
    padding: 20px 16px;
    gap: 12px;
    border-radius: 12px;
  }

  /* ─── PROMOS ─── */
  .promos {
    flex-direction: column;
    height: auto;
    margin-bottom: 64px;
  }
  .promos__content {
    padding: 64px 16px;
  }
  .promos__photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
  }
  .promos__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}