/* =========================================================
 * HP Hero Mobile
 * ========================================================= */

.hp-hero-mobile {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
  min-height: calc(100vh - 103px);
  align-content: center;
}

/* === Background === */
.hp-hero-mobile__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hp-hero-mobile__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* === Inner Layout === */
.hp-hero-mobile__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-content: center;
  text-align: left;
  gap: 1.5rem;
}

/* === Image === */
.hp-hero-mobile__image img {
  width: 100%;
  max-width: 640px;
  height: auto;
  /* aspect-ratio: 16 / 9; */
  aspect-ratio: 4 / 3;
  border-radius: 2rem 0;
  object-fit: cover;
  display: block;
}

/* === Heading & Text === */
.hp-hero-mobile__heading {
  color: var(--white);
  font-size: 2.666rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
}

.hp-hero-mobile__text {
  color: var(--white);
  line-height: 1.7;
  max-width: 100%;
  margin: 0 auto;
}

.hp-hero-mobile__text p {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0;
}

/* === CTA Button === */
.hp-hero-mobile .btn {
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  color: var(--almost-black);
}

.hp-hero-mobile__intro {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

/* === Hide on Desktop (≥1024px) === */
@media (min-width: 64rem) {
  .hp-hero-mobile {
    display: none;
  }
}

/* =========================================================
 * Motion: fade + rise (respects reduced motion)
 * ========================================================= */

/* @media (prefers-reduced-motion: no-preference) {
  .hp-hero-mobile__heading,
  .hp-hero-mobile__image,
  .hp-hero-mobile__text,
  .hp-hero-mobile .btn {
    opacity: 0;
    transform: translateY(1rem); 
    animation: heroFadeIn 0.8s ease-out forwards; 
  }

  .hp-hero-mobile__heading {
    animation-delay: 0.1s;
  }
  .hp-hero-mobile__image {
    animation-delay: 0.2s;
  }
  .hp-hero-mobile__text {
    animation-delay: 0.3s;
  }
  .hp-hero-mobile .btn {
    animation-delay: 0.45s;
  }

  @keyframes heroFadeIn {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
} */
