/* ============================================================
   hero.css — Hero Component and Variants
   ============================================================ */

/* ========== 6. HEROES ========== */

.hero {
  background: var(--hero-gradient);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: var(--hero-glow-1);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: 20%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--hero-glow-2);
  pointer-events: none;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #faf9fc;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-align: left;
  max-width: none;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #ac328a, #805aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero — Split variant (text + image side by side) */
.hero--split .hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero--split .hero__content {
  padding-bottom: 1rem;
}

/* Hero — Centered variant */
.hero--centered {
  text-align: center;
}

.hero--centered h1 {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 0.8rem;
}

.hero--teal {
  background: linear-gradient(135deg, #0d7a6e 0%, #159486 100%);
}

.hero--charcoal {
  background: linear-gradient(135deg, #1a1625 0%, #2d1f3d 100%);
}

/* Hero — Compact variant (sub-pages) */
.hero--compact {
  padding: 56px 0 48px;
}

/* Hero sub-elements */
.hero__sub {
  font-size: 1.08rem;
  color: rgba(250, 249, 252, 0.65);
  margin-bottom: 1.5rem;
  max-width: 470px;
  line-height: 1.7;
}

.hero--centered .hero__sub {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(172, 50, 138, 0.2);
  border: 1px solid rgba(172, 50, 138, 0.35);
  color: #e8a0d8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero__badge strong {
  color: #fff;
}

.hero__eyebrow {
  display: inline-block;
  background: rgba(21, 148, 134, 0.25);
  border: 1px solid rgba(21, 148, 134, 0.4);
  color: rgba(250, 249, 252, 0.9);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__stat {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(250, 249, 252, 0.85);
}

.hero__stat-sep {
  color: rgba(250, 249, 252, 0.35);
  font-size: 1.2rem;
}

.hero__stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
}

.hero__stat-label {
  font-size: 0.76rem;
  color: rgba(250, 249, 252, 0.45);
  margin-top: 0.1rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.hero__deadline {
  font-size: 0.82rem;
  color: rgba(250, 249, 252, 0.45);
  margin: 0;
}

.hero__price {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  margin-top: 12px;
}

.hero__image {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero__image img {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  display: block;
}

.hero__pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero__pill {
  background: rgba(21, 148, 134, 0.2);
  border: 1px solid rgba(21, 148, 134, 0.35);
  color: rgba(250, 249, 252, 0.85);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
}


/* ── Mobile responsive ── */

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 2rem;
  }

  .hero--split .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero h1 {
    font-size: 1.75rem;
    text-align: left;
  }

  .hero__sub {
    font-size: 0.95rem;
    max-width: none;
  }

  .hero__badge {
    font-size: 0.72rem;
    padding: 0.3rem 0.8rem;
  }

  .hero__image {
    max-height: 220px;
    overflow: hidden;
    border-radius: 12px;
  }

  .hero__image img {
    max-width: 100%;
    max-height: 220px;
    aspect-ratio: auto;
    border-radius: 12px;
  }

  .hero__pills {
    gap: 0.4rem;
  }

  .hero__pill {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .hero__stats {
    gap: 0.5rem;
  }

  .hero__stat-num {
    font-size: 1.4rem;
  }

  .hero__stat-label {
    font-size: 0.7rem;
  }

  .hero__actions {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero__actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero--split .hero__content {
    padding-bottom: 0;
  }
}
