/* ============================================================
   HERO — Full-viewport slider, IAC mirror
============================================================ */

.jaexi-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  padding: 0; /* Reset default section padding */
}

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

/* ---- Slides ---- */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.9s;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.hero-slide--active .hero-slide__bg {
  transform: scale(1);
}

.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 60%,
    rgba(0, 0, 0, 0.70) 100%
  );
}

/* ---- Content ---- */
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-slide__inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---- Slider dots (IAC pattern) ---- */
.hero-dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  padding: 0;
}

.hero-dot--active {
  background: var(--white);
  width: 24px;
}

/* ---- Scroll indicator ---- */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  right: 32px;
  z-index: 10;
}

.hero-scroll__dot {
  animation: hero-scroll-bounce 2s ease-in-out infinite;
}

@keyframes hero-scroll-bounce {
  0%, 100% { cy: 10; opacity: 0.8; }
  50%       { cy: 24; opacity: 0.3; }
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .jaexi-hero {
    height: 90vh;
    min-height: 500px;
  }

  .hero-slide__inner {
    text-align: center;
    padding: 0 20px;
  }

  .hero-scroll { display: none; }
}
