.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--text-strong);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--overlay-home);
  z-index: 1;
}

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

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 12px;
  animation: fadeIn 1s ease-in-out;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.15;
  margin: 0;
}

.hero p {
  font-size: 1.2rem;
  margin: 10px auto 0;
  max-width: 680px;
}

.page-hero {
  min-height: 65vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--text-strong);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-page);
  z-index: 1;
}

.page-hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  margin: 0;
}

.page-hero p {
  font-size: 1.15rem;
  margin: 10px auto 0;
}
