.section__services {
  position: relative;
  width: 100%;
}
.section__services__body {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.section__services__title {
  flex: 1;
  max-width: 400px;
}
.section__services__text {
  padding-top: 20px;
  flex: 1;
}
.section__services__text a:not([class]) {
  text-decoration: underline;
  font-weight: 500;
}
.section__services__hero {
  position: relative;
  width: 100%;
}
.section__services__slider {
  padding: 0 36px;
  position: relative;
  max-width: 1322px;
  margin: 0 auto;
  overflow: visible !important;
}
.section__services__wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  will-change: transform;
}
.section__services__slide {
  position: relative;
  aspect-ratio: 3.5/6;
  width: 100%;
  max-width: 350px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}
.section__services__slide__line {
  content: "";
  position: absolute;
  top: 32px;
  left: 32px;
  width: 50px;
  height: 2px;
  background: var(--color-white);
  z-index: 1;
}
.section__services__slide::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-black-50);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.section__services__slide::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 27%, rgba(0, 0, 0, 0) 100%);
  z-index: 1;
  pointer-events: none;
}
.section__services__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.section__services__link {
  font-size: var(--font-size-32);
  font-family: var(--font-varela);
  color: var(--color-white);
  line-height: 1.2;
  letter-spacing: -0.01em;
  width: 100%;
  display: grid;
  grid-template-columns: auto 18px;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}
.section__services__link .icon {
  width: 18px;
  height: 12px;
  margin-bottom: 8px;
}
.section__services__link .icon use {
  color: var(--color-white);
}
.section__services__inner {
  position: absolute;
  top: calc(50% - 34px);
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 100vw;
  max-width: 1560px;
  display: flex;
  justify-content: space-between;
  padding: 0 26px;
  pointer-events: none;
  z-index: 1;
}
.section__services__hero .section__services__next,
.section__services__hero .section__services__prev {
  pointer-events: all;
  background: var(--color-white);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--color-main);
  border: none;
  cursor: pointer;
}
.section__services__hero .section__services__next .icon,
.section__services__hero .section__services__prev .icon {
  width: 16px;
  height: 18px;
}
.section__services__hero .section__services__next.swiper-button-disabled,
.section__services__hero .section__services__prev.swiper-button-disabled{
  color: var(--color-lightgray);
}
.section__services__hero .section__services__prev .icon {
  rotate: 180deg;
}
.section__services__scrollbar {
  position: relative;
  margin: 36px auto 0;
  height: 4px;
  max-width: 1250px;
  background: var(--color-extralight-gray);
  border-radius: 2px;
  overflow: hidden;
}
.section__services__scrollbar .swiper-scrollbar-drag,
.section__services__scrollbar__drag {
  background: var(--color-main);
  height: 4px;
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: 0;
  will-change: transform, width;
}
@media (max-width: 1280px) {
  .section__services__text {
    padding-top: 0;
  }
  .section__services__slider {
    max-width: 1132px;
  }
  .section__services__slide {
    aspect-ratio: 3.4/4.5;
    max-width: 340px;
    padding: 24px;
  }
  .section__services__slide__line {
    top: 24px;
    left: 24px;
  }
  .section__services__link {
    font-size: var(--font-size-28);
  }
  .section__services__hero .section__services__next,
  .section__services__hero .section__services__prev {
    width: 56px;
    height: 56px;
  }
}
@media (max-width: 992px) {
  .section__services__body {
    margin-bottom: 36px;
    gap: 16px;
    flex-direction: column;
  }
  .section__services__slide {
    width: auto;
    max-width: none;
  }
  .section__services__link {
    font-size: var(--font-size-24);
  }
  .section__services__inner {
    padding: 0 12px;
  }
  .section__services__hero .section__services__next,
  .section__services__hero .section__services__prev {
    width: 48px;
    height: 48px;
  }
}
@media (max-width: 660px) {
  .section__services__slider {
    padding: 0 20px;
  }
}
@media (max-width: 560px) {
  .section__services__link {
    font-size: var(--font-size-20);
  }
  .section__services__inner {
    padding: 0;
  }
  .section__services__hero .section__services__next,
  .section__services__hero .section__services__prev {
    width: 36px;
    height: 36px;
  }
  .section__services__hero .section__services__next .icon,
  .section__services__hero .section__services__prev .icon {
    width: 12px;
    height: 14px;
  }
}
@media (any-hover: hover) {
  .section__services__slide:hover::before {
    opacity: 1;
  }
  .section__services__hero .section__services__next:not(.swiper-button-disabled):hover,
  .section__services__hero .section__services__prev:not(.swiper-button-disabled):hover {
    color: var(--color-white);
    background: var(--color-main);
  }
}
