/* ============================================
   HERO
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--space-16);
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__carousel-track {
  position: absolute;
  inset: 0;
}
.hero__carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__carousel-slide.is-active {
  opacity: 1;
}
.hero__carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 249, 246, 0.96) 0%,
    rgba(250, 249, 246, 0.88) 35%,
    rgba(250, 249, 246, 0.5) 60%,
    rgba(250, 249, 246, 0.15) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.hero__eyebrow {
  margin-bottom: var(--space-6);
}

.hero__title {
  margin-bottom: var(--space-6);
  color: var(--color-heading);
}

.hero__title em {
  font-style: italic;
  color: var(--color-primary);
}

.hero__subtitle {
  font-size: var(--fs-lg);
  color: var(--color-text);
  margin-bottom: var(--space-8);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

.hero__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
}
.hero__meta-item { white-space: nowrap; }

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-sm);
  color: var(--color-muted);
}
.hero__meta-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  color: var(--color-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@media (max-width: 768px) {
  .hero__eyebrow { display: none; }
  .hero__meta { display: none; }
  .hero__content { text-align: center; margin-inline: auto; }
  .hero__actions { justify-content: center; }
  .hero { min-height: auto; padding-top: 90px; }
  .hero__overlay {
    background: linear-gradient(
      to bottom,
      rgba(250, 249, 246, 0.95) 0%,
      rgba(250, 249, 246, 0.85) 50%,
      rgba(250, 249, 246, 0.7) 100%
    );
  }
  .hero__bg img { object-position: center top; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; }
}