.home-banner {
  position: relative;
  width: 100%;
  height: clamp(500px, 48vw, 820px);
  overflow: hidden;
  background: #e9e9e9;
}

.home-banner-track,
.home-banner-slide,
.home-banner-link {
  width: 100%;
  height: 100%;
}

.home-banner-slide {
  position: absolute;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .9s ease, visibility .9s ease;
}

.home-banner-slide.is-active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.home-banner-link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-banner-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.home-banner-slide.is-active .home-banner-image {
  transform: scale(1);
}

.home-banner-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
}

.home-banner-text {
  max-width: 650px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

.home-banner-text h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 500;
  line-height: 1.25;
}

.home-banner-text p {
  margin: 0;
  font-size: 18px;
  line-height: 1.8;
}

.home-banner-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  width: 48px;
  height: 70px;
  padding: 0;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, .2);
  font-size: 27px;
  line-height: 70px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color .25s ease;
}

.home-banner-arrow:hover { background: rgba(0, 0, 0, .55); }
.home-banner-prev { left: 20px; }
.home-banner-next { right: 20px; }

.home-banner-dots {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 30px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.home-banner-dot {
  width: 36px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, .7);
  cursor: pointer;
}

.home-banner-dot.is-active { background: #b38d54; }

.home-banner.is-single .home-banner-arrow,
.home-banner.is-single .home-banner-dots { display: none; }

@media (max-width: 768px) {
  .home-banner {
    height: 58vw;
    min-height: 260px;
    max-height: 460px;
  }

  .home-banner-content { padding: 0 22px; }
  .home-banner-text h2 { margin-bottom: 10px; font-size: 28px; }
  .home-banner-text p { font-size: 14px; }
  .home-banner-arrow { display: none; }
  .home-banner-dots { bottom: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-banner-slide,
  .home-banner-image { transition: none; }
}
