/* ================================================================
   HERO SLIDER
   Full-width animated hero — replaces static .hero section.
   ================================================================ */
.hero-slider {
  position: relative;
  width: 100%;
  height: 92vh;
  min-height: 580px;
  max-height: 820px;
  overflow: hidden;
  background: var(--color-primary-dark, #0a2f5e);
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide is positioned absolute and hidden by default */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
}

.hero-slide--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

/* Dark gradient overlay — left side darker for text contrast */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5, 30, 80, 0.80) 0%,
    rgba(5, 30, 80, 0.48) 52%,
    rgba(5, 30, 80, 0.12) 100%
  );
}

/* Text content — vertically centered, left-aligned */
.hero-slide__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-slide__headline {
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-white, #fff);
  margin: 0 0 1rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-slide__subtext {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 480px;
}

.hero-slide__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Dot indicators ── */
.hero-slider__dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 10;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition, 0.25s ease),
              transform var(--transition, 0.25s ease);
}

.hero-dot--active,
.hero-dot:hover {
  background: var(--color-white, #fff);
  transform: scale(1.25);
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-slider {
    height: 82vw;
    min-height: 360px;
    max-height: 540px;
  }

  .hero-slide__content {
    max-width: 100%;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }

  .hero-slide__headline {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
  }
}
