/* =========================================
   HOME PAGE HERO ONLY
========================================= */

.home-page .hero {
  position: relative;
  min-height: 520px;
  padding: 0;
  overflow: hidden;

  display: flex;
  align-items: center;     /* vertical centering */
}

/* Background image */
.home-page .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* ✅ FIX: keep the important part of the image visible */
  object-position: center 65%;

  z-index: 1;
}

/* Dark overlay */
.home-page .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.45)
  );
  z-index: 2;
}

/* Content layer */
.home-page .hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;

  max-width: 760px;
  margin: 0 auto;
  padding: 28px 20px;

  text-align: center;
}

/* ✅ FIX: tighten hero typography (less “spread out”) */
.home-page .hero-copy h1 {
  margin: 0 0 12px;
  line-height: 1.12;
  letter-spacing: 0.2px;
}

.home-page .hero-copy p {
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.4;
  color: rgba(255,255,255,0.85);
}

/* Buttons */
.home-page .hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;        /* tighter */
  flex-wrap: wrap;
}

/* Optional: slightly reduce hero height on very wide screens */
@media (min-width: 1200px) {
  .home-page .hero {
    min-height: 560px;
  }
}

/* Mobile tuning */
@media (max-width: 520px) {
  .home-page .hero-copy {
    padding: 22px 16px;
  }
  .home-page .hero-actions {
    gap: 10px;
  }
}
