/* Hero section – mobile-first, base width 360px */
.hero {
  position: relative;
  z-index: 1;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  background-image: url("/assets/img/hero-bg.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-display);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  max-width: 90%;
  margin: 0 auto;
}

.hero h2 {
  position: relative;
  z-index: 3;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  max-width: 90%;
  margin: 0 auto;
  color: var(--text-primary);
  font-family: var(--font-display);
}

@media (min-width: 768px) {
  .hero {
    min-height: 80vh;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4rem;
  }
}
