.fy-services {
  position: relative;
  z-index: 12;
  margin-block-start: -95px;
  padding-block: 46px 90px;
  background: transparent;
  overflow: hidden;
}

.fy-services__head {
  margin-block-end: 42px;
}

.fy-services__viewport {
  width: 100%;
  overflow: hidden;
  direction: rtl;
  touch-action: pan-y;
  cursor: grab;
}

.fy-services__viewport.is-dragging {
  cursor: grabbing;
}

.fy-services__track {
  --fy-services-per-view: 3;
  --fy-services-gap: 34px;

  display: flex;
  gap: var(--fy-services-gap);
  direction: rtl;
  transition: transform 450ms ease;
  will-change: transform;
  user-select: none;
}

.fy-service-card {
  flex: 0 0 calc(
    (100% - ((var(--fy-services-per-view) - 1) * var(--fy-services-gap)))
    / var(--fy-services-per-view)
  );
  min-width: 0;
  text-align: center;
  padding: 10px 22px 0;
  overflow: visible;
}

.fy-service-card__icon-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  margin-inline: auto;
  margin-block-end: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.fy-service-card__icon-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10px;
  right: auto;
  width: 74px;
  height: 74px;
  background: #FDEBEE;
  border-radius: 0 10px 40px 10px;
}

.fy-service-card__icon {
  position: absolute;
  z-index: 2;
  left: -6px;
  right: auto;
  bottom: 10px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(25%) sepia(96%) saturate(2838%) hue-rotate(341deg) brightness(94%) contrast(92%);
  pointer-events: none;
}

.fy-service-card__title {
  margin: 0 0 10px;
  color: var(--fy-service-title);
  font-size: var(--fy-feature-title-size);
  line-height: var(--fy-feature-title-line);
  font-weight: var(--fy-feature-title-weight);
}

.fy-service-card__text {
  margin: 0;
  color: var(--fy-muted);
  font-size: var(--fy-feature-text-size);
  line-height: var(--fy-feature-text-line);
  font-weight: var(--fy-feature-text-weight);
}

.fy-services__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-block-start: 36px;
  direction: rtl;
}

.fy-services__dot {
  width: 18px;
  height: 4px;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: var(--fy-soft-line);
  cursor: pointer;
  transition:
    width var(--fy-transition),
    background-color var(--fy-transition);
}

.fy-services__dot.is-active {
  width: 36px;
  background: var(--fy-primary);
}

@media (max-width: 992px) {
  .fy-services {
    margin-block-start: -76px;
    padding-block: 46px 80px;
  }

  .fy-services__track {
    --fy-services-per-view: 2;
    --fy-services-gap: 26px;
  }

  .fy-service-card {
    padding-inline: 18px;
  }
}

@media (max-width: 680px) {
  .fy-services {
    margin-block-start: -62px;
    padding-block: 42px 70px;
  }

  .fy-services__head {
    margin-block-end: 34px;
  }

  .fy-services__track {
    --fy-services-per-view: 1;
    --fy-services-gap: 18px;
  }

  .fy-service-card {
    padding-inline: 8px;
  }

  .fy-service-card__icon-wrap {
    width: 86px;
    height: 86px;
  }

  .fy-service-card__icon-wrap::before {
    left: 8px;
    right: auto;
    width: 70px;
    height: 70px;
    border-radius: 0 10px 38px 10px;
  }

  .fy-service-card__icon {
    left: -5px;
    right: auto;
    bottom: 9px;
    width: 50px;
    height: 50px;
  }

  .fy-services__dot {
    width: 14px;
    height: 4px;
  }

  .fy-services__dot.is-active {
    width: 30px;
  }
}