/* ========================================
   HERO
======================================== */

.hero {
  display: flex;
  justify-content: center;
  align-items: center;

  min-height: 70vh;
  padding: 90px 20px;

  text-align: center;

  background:
    linear-gradient(
      rgba(253, 251, 249, 0.78),
      rgba(212, 178, 149, 0.48)
    ),
    url("../images/hero.jpg");

  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;

  opacity: 0;
  transform: translateY(20px);

  animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
  max-width: 900px;
  margin: 0 auto 30px;

  color: var(--color-dark);

  font-size: clamp(2.2rem, 6vw, 4rem);
  line-height: 1.28;
  font-weight: 700;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 35px;

  color: var(--color-dark);

  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: stretch;

  gap: 14px;

  max-width: 420px;
  margin: 0 auto;
}

.hero-buttons .btn {
  width: 100%;
}


/* ========================================
   DESKTOP
======================================== */

@media (min-width: 768px) {
  .hero {
    min-height: 75vh;
    padding: 120px 20px;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
    align-items: center;

    max-width: none;
  }

  .hero-buttons .btn {
    width: auto;
  }
}


@media (min-width: 1024px) {
  .hero {
    min-height: 80vh;
    padding: 140px 20px;
  }

  .hero p {
    font-size: 1.15rem;
  }
}