.services {
  padding-top: var(--sp);
  overflow: hidden;
}

.services__title {
  margin-bottom: var(--title-mb);
}

.services__slider {
  position: relative;
  overflow: hidden;
}

.services__items .item {
  display: flex;
  width: 816px;
  min-height: 500px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
  border-radius: var(--border-radius);
  -webkit-clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%, 0 87px);
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%, 0 87px);
  overflow: hidden;
}

.services__items .item__image {
  width: 40%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: left top;
  object-position: left top;
}

.services__items .item__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 60%;
  padding: 32px;
  background: var(--primary-1);
  color: var(--secondary-1);
}

.services__items .item__title {
  margin-bottom: 8px;
  letter-spacing: -0.24px;
}

.services__items .item__text {
  margin-bottom: 35px;
}

.services__items .item__btn {
  position: relative;
  z-index: 3;
  max-width: 240px;
  margin-top: auto;
}

.services__items .item__number {
  font: 700 139.846px/100% var(--heading-font-family);
  position: absolute;
  right: 0;
  bottom: 0;
  transform: translate(7%, 17%);
  opacity: 0.2;
  /* 139.846px */
  letter-spacing: -1.398px;
  text-transform: uppercase;
  z-index: 1;
}

.services__items .swiper-slide {
  height: auto;
}

@media (max-width: 1260px) {
  .services__items .item {
    width: 630px;
    min-height: 430px;
  }

  .services__items .item__number {
    font-size: 90px;
  }
}

@media (max-width: 760px) {
  .services__items .item {
    flex-direction: column;
    width: 100%;
    -webkit-clip-path: polygon(101px 0, 100% 0, 100% 100%, 0 100%, 0 87px);
    clip-path: polygon(101px 0, 100% 0, 100% 100%, 0 100%, 0 87px);
  }

  .services__items .item__image {
    flex: 0 0 430px;
    width: 100%;
    height: 430px;
    -o-object-position: 10% 17%;
    object-position: 10% 17%;
    border-radius: 0 20px 0 0;
  }

  .services__items .item__content {
    flex: 1 1 auto;
    width: 100%;
    padding: 75px 16px 32px;
    border-radius: 0 0 20px 20px;
  }

  .services__items .item__title {
    font-size: 20px;
    font-family: var(--heading-font-family);
    letter-spacing: -0.2px;
  }

  .services__items .item__text {
    margin-bottom: 24px;
  }

  .services__items .item__btn {
    height: 50px;
  }

  .services__items .item__number {
    font-size: 125px;
    right: -4px;
    bottom: -16px;
  }
}