/* ============================================
   HERO — Dark Gold Cinematic Slider
   ============================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 700px;
  overflow: hidden;
  background: var(--bg-deepest);
}

/* Slider Container */
.hero__slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Individual Slide */
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.4s cubic-bezier(0.25, 1, 0.5, 1);
  padding-top: 180px;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

/* Media Background */
.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__video,
.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition: transform 2s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
  filter: brightness(0.65) saturate(0.8) sepia(0.1);
}

.hero__slide.active .hero__video,
.hero__slide.active .hero__image {
  transform: scale(1.02);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(26, 31, 20, 0.45) 0%,
      rgba(26, 31, 20, 0.15) 40%,
      rgba(26, 31, 20, 0.75) 100%);
  z-index: 1;
}

/* Snow Particles */
.hero__snow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Content Layout */
.hero__content {
  position: relative;
  z-index: 4;
  text-align: left;
  max-width: 720px;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin-top: -20px;
}

.hero__label {
  font-family: var(--font-accent);
  font-size: 10px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--primary-300);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.3s;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(35, 139, 69, 0.08);
  border: 1px solid rgba(35, 139, 69, 0.28);
  padding: 8px 20px;
}

.hero__label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--primary-400);
  opacity: 0.7;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 4.2rem);
  font-weight: var(--weight-light);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: #FFFFFF;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.hero__title-italic {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--primary-300);
  text-transform: none;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-style: normal;
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  font-weight: var(--weight-regular);
  line-height: 1.6;
  color: rgba(245, 240, 232, 0.85);
  max-width: 580px;
  margin: 0 0 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.7s;
}

.hero__buttons {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.9s;
}

.hero__buttons .btn {
  border-radius: 9999px !important;
  padding: 14px 32px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero__buttons .btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(35, 139, 69, 0.28) !important;
}

.hero__buttons .btn--secondary {
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.hero__buttons .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15) !important;
}

/* Active Slide Animations */
.hero__slide.active .hero__label,
.hero__slide.active .hero__title,
.hero__slide.active .hero__subtitle {
  opacity: 1;
  transform: translateY(0);
}

.hero__slide.active .hero__buttons {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Slide Controls */
.hero__controls {
  position: absolute;
  left: clamp(24px, 5vw, 80px);
  bottom: clamp(24px, 5vw, 80px);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.hero__control {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 139, 69, 0.35);
  background: rgba(0, 68, 27, 0.4);
  color: rgba(229, 245, 224, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-premium);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__control:hover {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.hero__control svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5px;
  transition: transform 0.3s ease;
}

.hero__control--prev:hover svg {
  transform: translateX(-2px);
}

.hero__control--next:hover svg {
  transform: translateX(2px);
}

/* Scroll Down Indicator */
.hero__scroll-down {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: clamp(24px, 5vw, 80px);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__scroll-text {
  font-family: var(--font-accent);
  font-size: 9px;
  font-weight: var(--weight-semibold);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(65, 171, 93, 0.65);
  writing-mode: vertical-lr;
  animation: pulseOpacity 2s infinite ease-in-out;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(35, 139, 69, 0.18);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-500);
  transform: translateY(-100%);
  animation: scrollLineDraw 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scrollLineDraw {
  0% {
    transform: translateY(-100%);
  }

  50% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

@keyframes pulseOpacity {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero__controls {
    left: 40px;
    bottom: 40px;
  }

  .hero__scroll-down {
    right: 40px;
    bottom: 40px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 100vh;
    height: 100dvh;
    min-height: unset;
  }

  .hero__slide {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 130px;
    padding-bottom: 0;
  }

  .hero .hero__content {
    margin-top: 0;
    /* margin-bottom: 0; */
    padding: 0 24px;
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 100%;
  }

  .hero .hero__label {
    display: flex !important;
  }

  .hero .hero__title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 7.5vw, 2.2rem);
    line-height: 1.15;
    font-weight: 300;
    text-transform: none;
    text-align: left;
    margin-bottom: 12px;
    width: 100%;
    transform: none;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  }

  .hero .hero__title-italic {
    display: block;
    font-style: italic;
    color: var(--primary-300);
    text-transform: none;
  }

  .hero .hero__subtitle {
    font-family: var(--font-body) !important;
    font-size: 0.95rem;
    font-style: normal !important;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 28px;
    text-align: left;
    margin-left: 0;
    margin-right: auto;
    max-width: 90%;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  }

  .hero .hero__buttons {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    display: flex !important;
    flex-direction: row !important;
    /* Side-by-side buttons */
    width: calc(100% - 48px);
    max-width: 440px;
    gap: 12px;
    margin: 0;
    justify-content: center;
  }

  .hero__slide.active .hero__buttons {
    transform: translateX(-50%) translateY(0) !important;
  }

  .hero .hero__buttons .btn {
    flex: 1;
    width: auto;
    padding: 14px 16px !important;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    border-radius: 100px !important;
    /* Pills! */
    text-align: center;
    justify-content: center;
  }

  .hero__controls {
    display: none !important;
    /* Hide arrows on mobile to match screenshot */
  }

  .hero__scroll-down {
    display: none !important;
  }
}