.hero {
  position: relative;
  height: min(100vh, 58rem);
  min-height: 38rem;
  overflow: hidden;
  background: #d6d0c8;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  filter: brightness(0.82);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.08) 38%,
    rgba(0, 0, 0, 0.26)
  );
}

.hero-text {
  position: absolute;
  top: 70%;
  left: 50%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 48rem;
  text-align: center;
  transform: translate(-50%, -50%);
}

.hero-eyebrow {
  margin-bottom: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-text h1 {
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(1rem, 5.2vw, 2.6rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-description {
  max-width: 36rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: 2rem;
}

.button--hero {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  min-height: 3.85rem;
  padding-inline: 2.2rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 920px) {
  .hero {
    height: 78vh;
    min-height: 32rem;
  }

  .hero-bg img {
    object-position: center;
  }

  .hero-text h1 {
    max-width: 100%;
    font-size: clamp(2.2rem, 8vw, 3.8rem);
  }
}

@media (min-width: 1024px) {
  .hero {
    height: 82vh;
    /* min-height: 44rem; */
  }
}

@media (max-width: 640px) {
  .hero {
    height: 90vh;
    /* min-height: 28rem; */
  }

  .hero-text {
    top: 72%;
    padding-inline: 1.25rem;
  }

  .hero-text h1 {
    font-size: 1.65rem;
    line-height: 1.14;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    margin-top: 1.5rem;
  }

  .button--hero {
    min-height: 3.35rem;
    padding-inline: 1.5rem;
  }
}
