/* NEWWEBSITE blue — hero visual refinement / 2026-11-11
   Original full-resolution 1672x941 family photo, mirrored with transform.
   Designed for three clear zones: photo / message / lead form. */
.hero {
  position: relative;
  isolation: isolate;
  background: #081321 !important;
  min-height: 565px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 56%;
  height: 100%;
  z-index: 0;
  background: url('/assets/images/family-hero.webp') no-repeat 49% center / cover;
  transform: scaleX(-1);
  transform-origin: center;
  filter: brightness(1.11) contrast(1.015) saturate(1.025);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 63%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 63%, transparent 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg,
    rgba(8,19,33,0) 0%,
    rgba(8,19,33,.035) 27%,
    rgba(8,19,33,.52) 37%,
    rgba(8,19,33,.90) 47%,
    #081321 59%,
    #081321 100%);
}
.hero > .wrap {
  position: relative;
  z-index: 2;
  width: min(1700px,calc(100% - 72px));
  max-width: none;
  min-height: 565px;
  display: grid;
  grid-template-columns: minmax(0,30.5fr) minmax(0,38fr) minmax(350px,31.5fr);
  gap: clamp(20px,2.3vw,44px);
  align-items: center;
  padding: 35px 0 42px;
}
.hero-copy {
  grid-column: 2;
  min-width: 0;
  padding: 0;
  max-width: 550px;
}
.hero-copy .kicker {
  font-size: 10.5px;
  line-height: 1.45;
  letter-spacing: .18em;
  font-weight: 750;
}
.hero-copy h1 {
  font-size: clamp(35px,2.7vw,49px)!important;
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 19px 0 20px;
  max-width: 100%;
  text-wrap: balance;
}
.hero-copy h1 .gold { display: inline; }
.hero-copy > p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 510px;
  color: #e1e9f5;
}
.hero-copy .proof {
  display: grid!important;
  grid-template-columns: repeat(2,minmax(0,1fr))!important;
  column-gap: 15px!important;
  row-gap: 15px!important;
  margin-top: 27px!important;
}
.hero-copy .proof > span { gap: 10px; align-items: center; min-width: 0; }
.hero-copy .proof-icon { width: 26px; height: 26px; flex: none; }
.hero-copy .proof-label { font-size: 12px; line-height: 1.42; }
.hero .lead {
  grid-column: 3;
  width: 100%;
  max-width: 400px;
  min-width: 0;
  justify-self: end;
  margin: 0;
  transform: none!important;
  background: rgba(15,23,37,.97)!important;
  border: 1px solid rgba(110,168,234,.64);
  border-radius: 12px;
  padding: 24px 24px 22px;
  box-shadow: 0 18px 55px rgba(0,0,0,.22);
}
.hero .lead input:not([type=checkbox]),.hero .lead select { background:#1c2635; }
.hero .lead label:has(input[type=checkbox]) { font-size: 12px!important; line-height: 1.6!important; color:#d7e5f7!important; }
.hero .lead .notice { font-size: 11.5px!important; line-height: 1.62!important; color:#cbd9eb!important; }
@media (min-width: 1600px) {
  .hero > .wrap { grid-template-columns: minmax(0,36fr) minmax(0,34fr) minmax(370px,30fr); }
  .hero-copy h1 { font-size: clamp(42px,2.6vw,50px)!important; }
}
@media (min-width: 1201px) and (max-width: 1450px) {
  .hero > .wrap { grid-template-columns: minmax(0,27fr) minmax(0,41fr) minmax(340px,32fr); gap:22px; }
  .hero-copy h1 { font-size: clamp(34px,3vw,44px)!important; }
  .hero::after { width: 57%; }
  .hero::before { background:linear-gradient(90deg,transparent 0%,rgba(8,19,33,.18) 27%,rgba(8,19,33,.82) 41%,#081321 57%); }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero { min-height: 650px; }
  .hero::after {
    width: 100%;height: 310px;inset: 0 0 auto 0;
    background-position: center 43%;
    -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 55%,transparent 100%);
    mask-image: linear-gradient(180deg,#000 0%,#000 55%,transparent 100%);
  }
  .hero::before { background: linear-gradient(180deg,rgba(8,19,33,.05),rgba(8,19,33,.56) 190px,#081321 325px); }
  .hero > .wrap {
    grid-template-columns: minmax(0,1fr) minmax(320px,380px);
    width:calc(100% - 54px);gap:30px;
    min-height:650px;padding:265px 0 35px;
  }
  .hero-copy { grid-column:1; }
  .hero .lead { grid-column:2; }
  .hero-copy h1 { font-size:clamp(35px,4.2vw,45px)!important; }
}
@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero::after {
    width:100%;height:330px;inset:0 0 auto 0;
    background-size:cover;background-position: center 39%;
    -webkit-mask-image: linear-gradient(180deg,#000 0%,#000 61%,transparent 100%);
    mask-image: linear-gradient(180deg,#000 0%,#000 61%,transparent 100%);
  }
  .hero::before { background:linear-gradient(180deg,rgba(8,19,33,.02),rgba(8,19,33,.35) 225px,#081321 345px); }
  .hero > .wrap {
    display:grid;grid-template-columns:1fr;gap:30px;
    width:calc(100% - 44px);padding:285px 0 36px;min-height:0;
  }
  .hero-copy,.hero .lead { grid-column:1; }
  .hero-copy { max-width:680px; }
  .hero-copy h1 { font-size:clamp(36px,5.3vw,46px)!important; }
  .hero .lead { justify-self:center;max-width:540px; }
  .hero-copy .proof { grid-template-columns:repeat(4,minmax(0,1fr))!important; }
}
@media (max-width: 560px) {
  .hero::after { height:255px;background-position:center 37%; }
  .hero::before { background:linear-gradient(180deg,rgba(8,19,33,.05),rgba(8,19,33,.27) 150px,#081321 270px); }
  .hero > .wrap { width:calc(100% - 32px);padding:235px 0 30px;gap:24px; }
  .hero-copy h1 { font-size:clamp(32px,7.8vw,41px)!important;margin:13px 0 16px; }
  .hero-copy > p { font-size:13px;line-height:1.6; }
  .hero-copy .proof { grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:12px!important;margin-top:19px!important; }
  .hero .lead { padding:20px 19px; }
}
