.hero-parallax {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-parallax,
.hero-parallax__swiper,
.hero-parallax .swiper-wrapper,
.hero-parallax .swiper-slide {
  min-height: clamp(360px, 72vh, 760px);
}

.hero-parallax .swiper-slide {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-parallax__image {
  position: absolute;
  inset: 0;
  width: 112%;
  height: 124%;
  left: -6%;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  will-change: transform;
  z-index: -2;
}

.hero-parallax .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .46), rgba(0, 0, 0, .1) 52%, rgba(0, 0, 0, .36));
  z-index: -1;
}

.hero-parallax__content {
  width: min(1120px, calc(100% - 32px));
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}

.hero-parallax__content h1,
.hero-parallax__content h2 {
  max-width: 780px;
  font-size: clamp(2.4rem, 7vw, 6rem);
  line-height: .95;
  margin: 0;
  color: inherit;
}

.hero-parallax__content p {
  max-width: 560px;
  margin: 22px 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-parallax__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  padding: 13px 24px;
  border: 1px solid rgba(255, 255, 255, .82);
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .9rem;
  background: rgba(0, 0, 0, .24);
  backdrop-filter: blur(4px);
  transition: background .2s ease, color .2s ease;
}

.hero-parallax__cta:hover {
  background: #fff;
  color: #111;
}

.hero-parallax .swiper-pagination-bullet {
  width: 34px;
  height: 3px;
  border-radius: 0;
  background: rgba(255, 255, 255, .72);
  opacity: 1;
}

.hero-parallax .swiper-pagination-bullet-active {
  background: #fff;
}

.hero-parallax__nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 50%;
  background: rgba(0, 0, 0, .25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.hero-parallax__nav:hover {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.hero-parallax__nav--prev {
  left: clamp(14px, 3vw, 44px);
}

.hero-parallax__nav--next {
  right: clamp(14px, 3vw, 44px);
}

.hero-parallax__nav svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 767px) {
  .hero-parallax,
  .hero-parallax__swiper,
  .hero-parallax .swiper-wrapper,
  .hero-parallax .swiper-slide {
    min-height: 480px;
  }

  .hero-parallax__image {
    width: 118%;
    height: 112%;
    left: -9%;
    background-position: center top;
  }

  .hero-parallax .swiper-slide::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .56));
  }

  .hero-parallax__content {
    align-self: flex-end;
    padding-bottom: 44px;
  }

  .hero-parallax__nav {
    width: 42px;
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-parallax__image {
    transform: none !important;
  }
}
