/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__video,
.hero__fallback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video {
  position: absolute;
  inset: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.65) 50%,
    rgba(10, 22, 40, 0.4) 100%
  );
}

/* ---- Content ---- */

.hero__content {
  position: relative;
  z-index: var(--z-base);
  max-width: 800px;
  padding-top: var(--navbar-height);
  padding-bottom: var(--space-16);
}

/* Label */
.hero__label {
  display: inline-block;
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-lime);
  text-transform: uppercase;
  letter-spacing: var(--letter-spacing-wider);
  margin-bottom: var(--space-4);
}

/* Title */
.hero__title {
  font-size: var(--text-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: var(--line-height-tight);
  word-spacing: 0.12em;
  margin-bottom: var(--space-8);
}

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

/* Search bar CTA */
.hero__search-bar {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--color-dark);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  text-decoration: none;
  box-shadow: var(--shadow-lg);
  transition: transform 200ms ease, box-shadow 200ms ease;
  margin-bottom: var(--space-10);
  max-width: 100%;
}

.hero__search-bar:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.hero__search-icon {
  flex-shrink: 0;
  color: var(--color-blue);
  opacity: 0.6;
}

.hero__search-bar strong {
  font-weight: var(--font-weight-bold);
}

.hero__search-arrow {
  flex-shrink: 0;
  color: var(--color-lime);
  margin-left: var(--space-2);
}

/* Benefits list */
.hero__benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.hero__benefit {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed);
}

.hero__benefit strong {
  color: var(--color-white);
  font-weight: var(--font-weight-bold);
}

.hero__benefit-icon {
  flex-shrink: 0;
  color: var(--color-lime);
  margin-top: 2px;
}

/* ---- Responsive ---- */

@media (max-width: 767px) {
  .hero {
    min-height: auto;
    padding-bottom: var(--space-10);
  }

  .hero__content {
    padding-top: calc(var(--navbar-height) + var(--space-8));
  }

  .hero__label {
    font-size: var(--text-base);
  }

  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__search-bar {
    font-size: var(--text-sm);
    padding: var(--space-3) var(--space-4);
  }

  .hero__benefit {
    font-size: var(--text-base);
  }
}

@media (min-width: 1024px) {
  .hero__content {
    max-width: 900px;
  }

  .hero__label {
    font-size: var(--text-xl);
  }

  .hero__title {
    font-size: clamp(3.5rem, 5.5vw, 4.5rem);
  }

  .hero__benefit {
    font-size: var(--text-xl);
  }
}

@media (min-width: 1280px) {
  .hero__content {
    max-width: 1000px;
  }
}
