.services {
  padding: 24px 0;
}
.services__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
}
.services__description {
  text-align: center;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (width < 768px) {
  .services__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

.services-card {
  padding: 24px;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0px 8px 24px 0px rgba(104, 125, 149, 0.06);
  display: flex;
  gap: 16px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.services-card--has-bg {
  min-height: 470px;
}
.services-card__icon {
  flex: 0 0 clamp(48px, 4.5vw, 64px);
  width: clamp(48px, 4.5vw, 64px);
  height: clamp(48px, 4.5vw, 64px);
  border: 8px solid #fff;
  background: var(--color-midblue);
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  position: relative;
  z-index: 2;
}
.services-card__icon img {
  width: clamp(20px, 2vw, 24px);
  height: clamp(20px, 2vw, 24px);
}
.services-card__title {
  margin-bottom: 4px;
  position: relative;
  z-index: 2;
}
.services-card__description {
  color: var(--color-text-muted);
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}
.services-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(7px, 1vw, 9px);
  position: relative;
  z-index: 2;
}
.services-card__image {
  padding-bottom: 200px;
}
.services-card__image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 75%);
}
.services-card__image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
@media (width < 1080px) {
  .services-card__icon {
    border: 0;
  }
}
@media (width < 992px) {
  .services-card {
    flex-direction: column;
  }
}
@media (width < 768px) {
  .services-card {
    padding: 16px;
    border-radius: 20px;
  }
  .services-card--has-bg {
    min-height: 375px;
  }
  .services-card__image {
    padding-bottom: 150px;
  }
}
