.hero {
  position: relative;
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  min-height: 540px;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.88) 0%, rgba(26,26,26,0.62) 100%);
  z-index: 1;
}

.slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slider__img--active {
  opacity: 1;
}

.hero__container {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--color-white);
  max-width: 900px;
  margin: 0 auto;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  margin-bottom: 3rem;
}

.hero__title--subtitle {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  font-weight: 400;
}

.hero__subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  opacity: 0.92;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.hero__actions > a,
.hero__actions > button {
  flex: 1 1 0;
  max-width: 280px;
}

.hero__scroll {
  position: absolute;
  bottom: var(--spacing-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
  z-index: 2;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

@media (max-width: 768px) {
  .hero__actions {
    margin-bottom: 0;
  }

  .hero__actions > a,
  .hero__actions > button {
    flex: none;
    width: 100%;
    max-width: 340px;
  }

  .hero__scroll {
    display: none;
  }
}
