/* ================================================================
   Panacea — Hero Slider (Homepage)
   Aesthetic: cinematic full-viewport · editorial typography
   ================================================================ */

/* ── Slider wrapper ─────────────────────────────────────────────── */
.hero-slider {
  height: 70vh !important;
  position: relative !important;
  overflow: hidden !important;
}

/* ── Slide: cover fill ─────────────────────────────────────────── */
.hero-slide {
  background-size: cover !important;
  background-position: center !important;
}

/* ── Progress bar — resets per-slide via CSS animation ─────────── */
@keyframes hs-progress {
  from { width: 0; }
  to   { width: 100%; }
}

.hero-slide.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #02a650, #00d464);
  z-index: 10;
  animation: hs-progress 5s linear forwards;
}

/* ── Directional gradient overlay ──────────────────────────────── */
.hs-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      108deg,
      rgba(1, 10, 3, 0.90) 0%,
      rgba(1, 10, 3, 0.72) 30%,
      rgba(1, 10, 3, 0.38) 58%,
      rgba(1, 10, 3, 0.10) 100%
    ),
    linear-gradient(
      to top,
      rgba(1, 10, 3, 0.75) 0%,
      rgba(1, 10, 3, 0.20) 22%,
      transparent 42%
    );
}

/* ── Slide content ─────────────────────────────────────────────── */
.hs-content {
  position: absolute;
  bottom: 128px;
  left: 56px;
  right: 48%;
  z-index: 2;
  opacity: 0;
  transform: translateY(24px);
}

@keyframes hs-content-in {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-slide.active .hs-content {
  animation: hs-content-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

/* Eyebrow */
.hs-eyebrow {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #02a650;
  margin: 0 0 20px;
}
.hs-eyebrow::before {
  content: '';
  display: none;
  width: 28px;
  height: 1px;
  background: #02a650;
  flex-shrink: 0;
}

/* Headline */
.hs-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700;
  line-height: 1.06;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}
.hs-title em {
  font-style: italic;
  color: #02a650;
}

/* Subtext */
.hs-sub {
  font-family: 'Work Sans', sans-serif;
  font-size: clamp(14px, 1.35vw, 17px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.78;
  margin: 0 0 36px;
  max-width: 440px;
}

/* CTA button */
.hs-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #013d1d;
  background: #ffffff;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.24s ease, color 0.24s ease, gap 0.24s ease;
}
.hs-btn span {
  display: inline-block;
  transition: transform 0.24s ease;
}
.hs-btn:hover {
  background: #02a650;
  color: #fff;
  gap: 15px;
}
.hs-btn:hover span {
  transform: translateX(3px);
}

/* ── Bottom bar: dots + arrows ─────────────────────────────────── */
.hs-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 56px 36px;
}

/* Dots container — override old positioning */
.hs-dots {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex !important;
  align-items: center;
  gap: 8px;
}

/* Individual dot — override old styles */
.hs-dots .slider-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.30) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer;
  transition:
    background 0.28s ease,
    width 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}
.hs-dots .slider-dot.active {
  background: #02a650 !important;
  width: 28px !important;
}
.hs-dots .slider-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.65) !important;
}

/* Arrow nav group */
.hs-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hide old nav wrapper — replaced by .hs-nav inside .hs-bottom-bar */
.slider-nav-left {
  display: none !important;
}

/* Arrow buttons */
.hs-arrow {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: #fff !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  transition:
    background 0.24s ease,
    border-color 0.24s ease,
    transform 0.24s ease !important;
}
.hs-arrow:hover {
  background: #02a650 !important;
  border-color: #02a650 !important;
  transform: scale(1.08) !important;
}

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hs-content {
    right: 40%;
    left: 48px;
    bottom: 112px;
  }
}

@media (max-width: 860px) {
  .hs-content {
    right: 20%;
    left: 40px;
    bottom: 100px;
  }
  .hs-bottom-bar {
    padding: 0 40px 28px;
  }
}

@media (max-width: 680px) {
  .hero-slider {
    min-height: 600px !important;
  }
  .hs-content {
    right: 24px;
    left: 24px;
    bottom: 96px;
  }
  .hs-bottom-bar {
    padding: 0 24px 24px;
  }
  .hs-btn {
    font-size: 10.5px;
    padding: 12px 22px;
  }
}

@media (max-width: 420px) {
  .hs-content {
    bottom: 86px;
  }
  .hs-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 12px !important;
  }
}
