/* ══════════════════════════════════════
   HERO SLIDER (GSAP animated)
   ══════════════════════════════════════ */
.hero-slider {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: default;
  position: relative;
}

.hero-slider__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0 var(--container-padding) 40px;
  min-height: 0;
  position: relative;
}

/* ── Left: Title + subtitle ── */
.hero-slider__left {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  position: relative;
  z-index: 4;
  justify-content: flex-end;
  padding-bottom: var(--space-md);
}

.hero-slider__title {
  font-family: var(--font-heading);
  font-size: clamp(48px, 10vw, 160px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  overflow: hidden;
  position: relative;
  margin-bottom: var(--space-sm);
  white-space: nowrap;
}

.hero-slider__title span {
  display: inline-block;
  will-change: transform;
}

.hero-slider__footer {
  flex-shrink: 0;
}

.hero-slider__sub {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  text-transform: uppercase;
}

/* ── Right: Images carousel ── */
.hero-slider__right {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-slider__images {
  width: 100%;
  height: 100%;
  position: relative;
}

.hero-slider__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  aspect-ratio: 1.35;
  overflow: hidden;
  will-change: transform, filter, opacity;
  contain: layout style;
  border-radius: var(--radius-lg);
}

.hero-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
}

/* ── Custom cursor ── */
.hero-slider__cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  will-change: transform;
  z-index: 10;
  color: rgba(255, 255, 255, 0.6);
  font-size: 24px;
  font-weight: 400;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media screen and (min-width: 768px) {
  .hero-slider__body {
    padding: 0 56px 56px;
  }

  .hero-slider__slide {
    width: 78%;
  }

  .hero-slider__cursor {
    width: 88px;
    height: 88px;
  }
}

@media screen and (min-width: 1024px) {
  .hero-slider__body {
    flex-direction: row;
  }

  .hero-slider__left {
    width: 45%;
    flex-shrink: 0;
    z-index: auto;
    justify-content: flex-end;
    padding-bottom: 56px;
  }

  .hero-slider__right {
    position: static;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .hero-slider__slide {
    width: 88%;
  }
}

@media (max-width: 768px) {
  .hero-slider__slide {
    width: 90%;
  }

  .hero-slider__title {
    font-size: clamp(40px, 12vw, 80px);
  }

  .hero-slider__cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider__slide,
  .hero-slider__title span {
    will-change: auto;
  }
}
