/* =========================
   HERO SECTION
========================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-slider {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0.9s ease,
    transform 6s ease;
  transform: scale(1.04);
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide__media,
.hero-slide__media img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slide__media {
  position: absolute;
  inset: 0;
}

.hero-slide__media img {
  object-fit: cover;
  object-position: center;
}

/* =========================
   OVERLAY
========================= */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      to right,
      rgba(4, 19, 41, 0.92) 0%,
      rgba(4, 19, 41, 0.76) 42%,
      rgba(4, 19, 41, 0.45) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(4, 19, 41, 0.2) 0%,
      rgba(4, 19, 41, 0.35) 100%
    );
}

/* =========================
   CONTENT
========================= */

.hero-content-wrap {
  position: relative;
  z-index: 4;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 120px;
}

.hero-content {
  max-width: 810px;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-style: italic;
  color: var(--color-white);
  word-break: break-word;
  hyphens: auto;
}

.hero-title span {
  display: block;
  color: var(--color-primary);
}

.hero-description {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

/* =========================
   BUTTONS
========================= */
.btn {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.28s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 12px 28px rgba(var(--color-primary-rgb), 0.22);
}

.btn-primary:hover {
  background: var(--color-hover);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-white);
  border-color: var(--color-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(var(--color-primary-rgb), 0.45);
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.08);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1199px) {
  .hero-content-wrap {
    padding-top: 100px;
    padding-bottom: 110px;
  }

  .hero-content {
    max-width: 660px;
  }

  .hero-title {
    font-size: clamp(38px, 5.4vw, 64px);
  }
}

@media (max-width: 991px) {
  .hero-section,
  .hero-slider,
  .hero-content-wrap {
    min-height: 820px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        to right,
        rgba(4, 19, 41, 0.9) 0%,
        rgba(4, 19, 41, 0.78) 48%,
        rgba(4, 19, 41, 0.58) 100%
      ),
      linear-gradient(
        to bottom,
        rgba(4, 19, 41, 0.2) 0%,
        rgba(4, 19, 41, 0.4) 100%
      );
  }

  .hero-description {
    font-size: 15px;
    max-width: 500px;
  }
}

@media (max-width: 767px) {
  .hero-section,
  .hero-slider,
  .hero-content-wrap {
    min-height: 720px;
  }

  .hero-content-wrap {
    align-items: center;
    padding-top: 92px;
    padding-bottom: 120px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: clamp(34px, 8vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .hero-description {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.7;
  }

  .hero-actions {
    margin-top: 26px;
    gap: 12px;
  }

  .btn {
    min-height: 44px;
    padding: 0 18px;
    font-size: 11px;
  }

  .hero-scroll-indicator {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero-section,
  .hero-slider,
  .hero-content-wrap {
    min-height: 680px;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 46px);
    line-height: 1.05;
  }

  .hero-description {
    font-size: 13px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-slider-controls {
    width: calc(100% - 24px);
    justify-content: center;
  }
}
