/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 64px 0 0;
}

/* Hero Carousel */
.hero-carousel { position: absolute; inset: 0; z-index: 0; touch-action: pan-y; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: contain; filter: contrast(1.03) saturate(1.05); }


.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.03) saturate(1.05); }
.hero-bg-blur {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    /* Bottom vignette — darkens the full image evenly */
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.15) 0%,
      rgba(0, 0, 0, 0.45) 60%,
      rgba(0, 0, 0, 0.65) 100%
    ),
    /* Top-left accent tint — retains brand identity without fighting the vignette */
    linear-gradient(135deg, rgba(0, 48, 135, 0.10) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-md);
  width: 100%;
}
.hero-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--sp-md);
}
.hero-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 900px;
  margin-bottom: var(--sp-md);
}
.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: var(--sp-lg);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--primary);
  padding: 16px 32px;
  border-radius: var(--rd-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background var(--duration-fast) ease, transform var(--duration-fast) var(--ease-out-quart), box-shadow var(--duration-fast) ease;
  position: relative;
  overflow: hidden;
}
.hero-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, oklch(58% 0.25 230 / 0.08));
  opacity: 0;
  transition: opacity var(--duration-med) ease;
}
.hero-cta:hover { background: rgba(255,255,255,0.92); transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.15); }
.hero-cta:hover::after { opacity: 1; }
.hero-cta:active { transform: translateY(-1px); }

.hero-dots {
  position: absolute;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.hero-dot.active { background: #fff; }
.hero-dot:hover { transform: scale(1.3); }

/* Hero stagger */
.stagger-hero .hero-label,
.stagger-hero .hero-title,
.stagger-hero .hero-desc,
.stagger-hero .hero-cta-wrap {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.stagger-hero.visible .hero-label { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-hero.visible .hero-title { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.stagger-hero.visible .hero-desc { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger-hero.visible .hero-cta-wrap { opacity: 1; transform: translateY(0); transition-delay: 0.55s; }

/* ===== Mobile Responsive (page-index) ===== */
@media (max-width: 768px) {
  .hero {
    padding: 56px 0 0;
    min-height: 100svh;
  }
  .hero-slide img {
    object-fit: cover;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  .hero-desc {
    font-size: clamp(0.9375rem, 2vw, 1.05rem);
    max-width: 100%;
  }
  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
    font-size: 0.9375rem;
  }
  .hero-dots {
    bottom: 80px;
  }
}
@media (max-width: 480px) {
  .hero {
    padding: 48px 0 0;
  }
  .hero-dots {
    bottom: 64px;
    gap: 8px;
  }
  .hero-dot {
    width: 8px;
    height: 8px;
  }
}