/* ==========================================================================
   SIEMENS-STYLE HERO BANNER SLIDER (FULL WIDTH, SLIDABLE, HIGH-CONTRAST)
   Responsive Design for Desktop, Tablet, and Mobile Viewports
   ========================================================================== */

.hero-slider-section {
  position: relative;
  width: 100%;
  height: calc(88vh - var(--header-height));
  min-height: 580px;
  background-color: var(--color-slate-900);
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(1.04);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

/* Dark Gradient Overlay for Maximum Text Visibility & Contrast */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 55%, rgba(15, 23, 42, 0.4) 100%);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 4.5rem;
}

.hero-slide-text {
  max-width: 780px;
  color: #FFFFFF;
}

.hero-status-pill-wrap {
  margin-bottom: 1rem;
}

.hero-slide-title {
  color: #FFFFFF;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-slide-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #F1F5F9;
  line-height: 1.65;
  margin-bottom: 2.25rem;
  max-width: 680px;
  font-weight: 400;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-slide-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Slider Controls (Prev & Next Navigation Arrows) */
.hero-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
}

.hero-slider-nav:hover {
  background: var(--color-gold);
  color: #FFFFFF;
  border-color: var(--color-gold);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(224, 135, 19, 0.4);
}

.hero-slider-nav.prev {
  left: 2rem;
}

.hero-slider-nav.next {
  right: 2rem;
}

/* Slider Bottom Bar & Pagination Dots */
.hero-slider-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(180deg, transparent 0%, rgba(15, 23, 42, 0.95) 100%);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats-row-inline {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.hero-stat-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #E2E8F0;
}

.hero-stat-pill strong {
  font-size: 1.25rem;
  font-family: var(--font-heading);
}

.hero-slider-dots {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-dot.active {
  background: var(--color-gold);
  width: 32px;
  border-radius: 999px;
  border-color: var(--color-gold);
}

/* ==========================================================================
   TABLET RESPONSIVENESS (768px - 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slider-section {
    min-height: 540px;
    height: calc(85vh - var(--header-height));
  }

  .hero-slide-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
  }

  .hero-slide-subtitle {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
  }

  .hero-slider-nav {
    width: 44px;
    height: 44px;
    font-size: 1.05rem;
  }

  .hero-slider-nav.prev {
    left: 1rem;
  }

  .hero-slider-nav.next {
    right: 1rem;
  }

  .hero-stats-row-inline {
    gap: 1.25rem;
  }
}

@media (max-width: 900px) {
  .hero-stats-row-inline {
    display: none;
  }
}

/* ==========================================================================
   MOBILE RESPONSIVENESS (< 768px)
   Prevents header clipping, centers content cleanly, eliminates dead space
   ========================================================================== */
@media (max-width: 768px) {
  .hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 580px;
    padding: 0;
    overflow: hidden;
  }

  @supports (height: 100svh) {
    .hero-slider-section {
      height: clamp(560px, calc(100svh - 100px), 660px);
    }
  }

  .hero-slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 560px;
  }

  .hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
  }

  .hero-slide-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.82) 50%, rgba(15, 23, 42, 0.96) 100%);
  }

  .hero-slide-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 1.5rem;
    padding-bottom: 4.25rem;
    height: 100%;
    width: 100%;
  }

  .hero-slide-text {
    width: 100%;
    max-width: 100%;
  }

  .hero-status-pill-wrap {
    margin-bottom: 0.65rem;
  }

  .status-indicator {
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }

  .hero-slide-title {
    font-size: clamp(1.45rem, 5.5vw, 1.95rem);
    line-height: 1.22;
    margin-top: 0;
    margin-bottom: 0.75rem;
    letter-spacing: -0.015em;
  }

  .hero-slide-subtitle {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: #E2E8F0;
    max-width: 100%;
  }

  .hero-slide-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
  }

  .hero-slide-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    font-size: 0.925rem;
  }

  /* Dock navigation arrows neatly into bottom-right controls area */
  .hero-slider-nav {
    top: auto;
    bottom: 0.6rem;
    transform: none;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .hero-slider-nav:hover {
    transform: none;
    background: var(--color-gold);
    border-color: var(--color-gold);
  }

  .hero-slider-nav.prev {
    left: auto;
    right: 3.6rem;
  }

  .hero-slider-nav.next {
    right: 1rem;
  }

  .hero-slider-bottom-bar {
    padding: 0.75rem 0;
  }

  .hero-slider-dots {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-slider-section {
    min-height: 520px;
    height: 540px;
  }

  @supports (height: 100svh) {
    .hero-slider-section {
      height: clamp(520px, calc(100svh - 95px), 620px);
    }
  }

  .hero-slide-content {
    min-height: 520px;
    padding-top: 1rem;
    padding-bottom: 3.75rem;
  }

  .hero-slide-title {
    font-size: clamp(1.35rem, 5.5vw, 1.7rem);
    line-height: 1.2;
    margin-bottom: 0.65rem;
  }

  .hero-slide-subtitle {
    font-size: 0.84rem;
    line-height: 1.45;
    margin-bottom: 1.15rem;
  }

  .status-indicator {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  .hero-slide-actions .btn {
    padding: 0.7rem 1rem;
    font-size: 0.875rem;
  }
}