.hs-wrap {
  position: relative;
  width: 100%;
  height: var(--hs-height, 100vh);
  min-height: 320px;
  overflow: hidden;
  background: #111;
}

.hs-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
  pointer-events: none;
}

.hs-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.06);
  transition: transform 7000ms ease-out;
}

.hs-slide.is-active img {
  transform: scale(1);
}

.hs-slide-link {
  position: absolute;
  inset: 0;
  display: block;
}

.hs-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}

.hs-caption {
  position: absolute;
  left: 6%;
  bottom: 10%;
  max-width: 600px;
  color: #fff;
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 700ms ease 250ms, transform 700ms ease 250ms;
  pointer-events: none;
}

.hs-slide.is-active .hs-caption {
  transform: translateY(0);
  opacity: 1;
}

.hs-caption h2 {
  margin: 0;
  font-size: clamp(20px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,.45);
}

.hs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,.35);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms ease;
}

.hs-arrow:hover {
  background: rgba(0,0,0,.6);
}

.hs-prev { left: 18px; }
.hs-next { right: 18px; }

.hs-dots {
  position: absolute;
  right: 6%;
  bottom: 8%;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.hs-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms ease, transform 200ms ease;
}

.hs-dot.is-active {
  background: #fff;
  transform: scale(1.25);
}

@media (max-width: 640px) {
  .hs-arrow { width: 36px; height: 36px; font-size: 13px; }
  .hs-caption { left: 5%; right: 5%; bottom: 12%; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hs-slide, .hs-slide img, .hs-caption {
    transition: none !important;
  }
}
