.contact-hero__slider {
  position: relative;
  width: min(100%, 1190px);
  aspect-ratio: 1694 / 548;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 15px;
  background: #f5e7dd;
}
.contact-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0.6s ease;
}
.contact-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}
.contact-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-hero__arrow {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 58px;
  border: 0;
  border-radius: 8px;
  background: #ec7028bd;
  color: #fff;
  font-size: 36px;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 0.2s;
}
.contact-hero__arrow--prev {
  left: 16px;
}
.contact-hero__arrow--next {
  right: 16px;
}
.contact-hero__slider:hover .contact-hero__arrow,
.contact-hero__slider:focus-within .contact-hero__arrow {
  opacity: 1;
}
.contact-hero__dots {
  position: absolute;
  z-index: 2;
  bottom: 16px;
  left: 50%;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}
.contact-hero__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffffa8;
  box-shadow: 0 1px 4px #0006;
}
.contact-hero__dots button.is-active {
  width: 28px;
  border-radius: 8px;
  background: #fff;
}
@media (max-width: 700px) {
  .contact-hero__slider {
    aspect-ratio: 4/3;
  }
  .contact-hero__arrow {
    width: 30px;
    height: 42px;
    font-size: 27px;
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .contact-hero__slide,
  .contact-hero__arrow {
    transition: none;
  }
}
