/* ============================================================
   hero.css — Section 1 hero + form-page hero
   ============================================================ */

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex; align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 18%; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(27,42,74,0.92) 0%,
    rgba(27,42,74,0.70) 45%,
    rgba(27,42,74,0.20) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 48px 24px; width: 100%; }
.hero-content { max-width: 560px; color: var(--white); }
.hero-script { font-family: var(--script); font-size: 56px; color: var(--white); line-height: 1; margin-bottom: 6px; }
.hero-serif { font-family: var(--serif); font-size: 22px; color: var(--gold); font-weight: 700; margin-bottom: 18px; }

.badge-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.badge-row img { height: 38px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.pill-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50px;
  padding: 7px 14px; font-size: 12.5px; color: var(--white); font-weight: 600; white-space: nowrap;
}

.trust-signals { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 26px; font-size: 13.5px; color: rgba(255,255,255,.9); }
.trust-signals span { display: inline-flex; align-items: center; gap: 6px; }

.hero-ctas { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.hero-ctas .btn { width: 100%; justify-content: flex-start; padding-left: 22px; }

/* sub-hero used on interior/form pages */
.page-hero {
  background: var(--navy); color: var(--white);
  padding: 70px 0 60px; position: relative; text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(30px, 5vw, 46px); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 19px; max-width: 680px; margin: 0 auto; }
.page-hero .eyebrow { margin-bottom: 14px; display: inline-block; }

/* mobile hero: photo on top, content on white below */
@media (max-width: 820px) {
  .hero { display: block; min-height: 0; }
  .hero-bg { position: relative; height: 46vh; }
  .hero-bg img { object-position: center 28%; }
  .hero-overlay {
    background: linear-gradient(to bottom,
      rgba(27,42,74,0.25) 0%,
      rgba(27,42,74,0.55) 60%,
      rgba(27,42,74,0.95) 100%);
  }
  .hero-inner { padding: 0; }
  .hero-content {
    max-width: none; color: var(--body);
    background: var(--white); padding: 30px 24px 36px; margin-top: -1px;
  }
  .hero-script { color: var(--navy); font-size: 40px; }
  .hero-serif { color: var(--gold); font-size: 19px; }
  /* white brand logos sit on a navy chip so they stay visible on the white mobile hero */
  .badge-row img { filter: none; background: var(--navy); padding: 7px 10px; border-radius: 6px; height: 34px; box-sizing: content-box; }
  .badge-row { gap: 12px; }
  /* dark logos/pills need readable variants on white */
  .pill-badge { border-color: var(--navy); color: var(--navy); }
  .trust-signals { color: var(--muted); }
  .hero-ctas { max-width: none; }
  .hero-ctas .btn--dark { background: var(--navy); }
}
