/* =========================================
   HERO SECTION
   ========================================= */

.hero {
  position: relative;
  min-height: 620px;
  height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  background: #071b33;
  color: #ffffff;
}

/* =========================================
   CAROUSEL
   ========================================= */

.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =========================================
   DARK OVERLAY
   ========================================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background:
    linear-gradient(
      90deg,
      rgba(4, 20, 38, 0.88) 0%,
      rgba(4, 20, 38, 0.68) 32%,
      rgba(4, 20, 38, 0.20) 68%,
      rgba(4, 20, 38, 0.05) 100%
    );
}

/* Slight bottom darkening */
.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(4, 20, 38, 0.45) 0%,
      transparent 35%
    );
}

/* =========================================
   HERO CONTENT
   ========================================= */

.hero-content {
  position: relative;
  z-index: 3;

  width: min(1200px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 90px 0 100px;
}

.hero-kicker {
  margin: 0 0 16px;

  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: #d4ad62;
  font-weight: 600;
}

.hero-content h1 {
  max-width: 720px;

  margin: 0;

  font-size: clamp(48px, 5.3vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 500;

  color: #ffffff;
}

.hero-text {
  max-width: 570px;

  margin: 26px 0 0;

  font-size: 16px;
  line-height: 1.6;

  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-top: 28px;
}

/* =========================================
   HERO BUTTONS
   ========================================= */

.hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 44px;
  padding: 0 20px;

  text-decoration: none;

  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  background: #cba35c;
  color: #071b33;

  border: 1px solid #cba35c;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.hero-actions .button:hover {
  background: #e0bd78;
  border-color: #e0bd78;
}

.hero-actions .button-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-actions .button-secondary:hover {
  background: #ffffff;
  color: #071b33;
}

/* =========================================
   CAROUSEL CONTROLS
   ========================================= */

.hero-controls {
  position: absolute;
  z-index: 5;

  right: 28px;
  bottom: 24px;

  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-arrow {
  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;

  background: rgba(7, 27, 51, 0.45);
  color: #ffffff;

  border: 1px solid rgba(255, 255, 255, 0.35);

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.hero-arrow:hover {
  background: rgba(7, 27, 51, 0.8);
  border-color: #ffffff;
}

.hero-arrow span {
  font-size: 24px;
  line-height: 1;
}

/* =========================================
   DOTS
   ========================================= */

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.hero-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.45);

  cursor: pointer;

  transition:
    width 0.25s ease,
    background 0.25s ease;
}

.hero-dot.is-active {
  width: 20px;
  border-radius: 10px;
  background: #ffffff;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

  .hero {
    min-height: 620px;
    height: calc(100svh - 64px);
    max-height: 780px;
  }

  .hero-media {
    object-position: 62% center;
  }

  .hero-overlay {
    background:
      linear-gradient(
        180deg,
        rgba(4, 20, 38, 0.42) 0%,
        rgba(4, 20, 38, 0.35) 25%,
        rgba(4, 20, 38, 0.82) 72%,
        rgba(4, 20, 38, 0.94) 100%
      );
  }

  .hero-content {
    width: calc(100% - 36px);

    justify-content: flex-end;

    padding:
      100px 0 92px;
  }

  .hero-kicker {
    margin-bottom: 10px;

    font-size: 9px;
    letter-spacing: 0.18em;
  }

  .hero-content h1 {
    max-width: 360px;

    font-size: clamp(38px, 11vw, 54px);
    line-height: 0.98;
  }

  .hero-text {
    max-width: 360px;

    margin-top: 18px;

    font-size: 13px;
    line-height: 1.5;
  }

  .hero-actions {
    margin-top: 20px;
    gap: 8px;
  }

  .hero-actions .button {
    min-height: 40px;
    padding: 0 14px;

    font-size: 9px;
  }

  .hero-controls {
    right: 16px;
    bottom: 18px;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
  }

}