/* ==========================================================
   HERO
========================================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-background) 100%);
}

.hero__lead {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-md);
}

.hero__actions {
  margin-top: var(--space-lg);
}

.hero__text h1 {
  margin-bottom: 2rem;
  position: relative;
}

.hero__text h1::after {
  content: "";
  display: block;
  width: 72px;
  height: 3px;
  margin-top: 1.25rem;
  background-color: var(--color-secondary);
  border-radius: 999px;
}
/* ==========================================================
   HERO IMAGE
========================================================== */

.hero__image {
  display: flex;
  justify-content: center;
  align-self: start;
}

.hero__image img {
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================
   HERO ANIMATION
========================================================== */

.hero__content {
  animation: fadeUp 0.8s ease;
}

.hero__image {
  animation: fadeUp 1.1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 992px) {
  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero__container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    text-align: center;
  }

  .hero__image {
    order: 1;
    margin: 0 auto;
  }

  .hero__content {
    order: 2;
    margin-top: 0;
  }

  .hero__text {
    margin: 0 auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__image img {
    max-width: 320px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.4rem;
  }

  .hero__text p {
    font-size: 1rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
