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

.home-hero {
  position: relative;
  background: var(--clr-dark);
  overflow: hidden;
  min-height: 580px;
  display: flex;
  flex-direction: column;
  justify-content: center;

  /* BG image (set via CSS variable from PHP) */
  background-image: var(--hero-bg, none);
  background-size: cover;
  background-position: center;
}

/* Overlay when background image is set */
.home-hero[style*="--hero-bg"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(30, 28, 28, 0.78);
  z-index: 0;
}

/* Grid pattern overlay */
.home-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 204, 41, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 204, 41, 0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

/* Radial glow — top right accent */
.home-hero__glow {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 50, 55, 0.22) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Secondary glow — bottom left */
.home-hero__glow::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 204, 41, 0.08) 0%, transparent 65%);
}

.home-hero__inner {
  position: relative;
  z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem);
}

.home-hero__content {
  max-width: 640px;
}

/* Eyebrow */
.home-hero__eyebrow {
  margin-bottom: var(--sp-5);
  color: var(--clr-gold);
}

/* Headline */
.home-hero__title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: var(--fw-black);
  color: var(--clr-white);
  line-height: var(--lh-tight);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-6);
}

/* {{gold}}...{{/gold}} → <em> */
.home-hero__title em {
  font-style: normal;
  color: var(--clr-gold);
}

/* Description */
.home-hero__desc {
  font-size: clamp(var(--fs-base), 2vw, var(--fs-md));
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-loose);
  max-width: 520px;
  margin-bottom: var(--sp-8);
}

/* CTA buttons row */
.home-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Stats bar — pinned to bottom of hero */
.home-hero__stats-bar {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
}

.home-hero__stats {
  display: flex;
  gap: 0;
  padding-block: var(--sp-6);
}

.home-hero__stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  text-align: center;
}

.home-hero__stat--bordered {
  border-left: 0.5px solid rgba(255, 255, 255, 0.10);
}

.home-hero__stat-number {
  font-size: clamp(var(--fs-xl), 3vw, 2.5rem);
  font-weight: var(--fw-black);
  color: var(--clr-gold);
  line-height: 1;
  letter-spacing: -0.02em;
}

.home-hero__stat-label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .home-hero {
    min-height: 480px;
  }

  .home-hero__stats {
    flex-wrap: wrap;
  }

  .home-hero__stat {
    flex: 1 1 40%;
    min-width: 120px;
    padding: var(--sp-3) 0;
  }

  .home-hero__stat--bordered {
    border-left: none;
    border-top: 0.5px solid rgba(255, 255, 255, 0.10);
  }
}

@media (max-width: 480px) {
  .home-hero__ctas {
    flex-direction: column;
  }

  .home-hero__ctas .btn {
    justify-content: center;
    text-align: center;
  }
}
