/* V6.2 Homepage visual polish — premium Bay Area conversion hero + leaner hero image delivery */
.hero.hero-conversion{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 !important;
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(104deg,rgba(3,16,29,.985) 0%,rgba(5,22,40,.94) 39%,rgba(8,31,53,.82) 68%,rgba(10,35,58,.68) 100%),
    url('/assets/hero-home-desktop.webp') center center/cover no-repeat !important;
  background:
    linear-gradient(104deg,rgba(3,16,29,.985) 0%,rgba(5,22,40,.94) 39%,rgba(8,31,53,.82) 68%,rgba(10,35,58,.68) 100%),
    image-set(
      url('/assets/hero-home-desktop.avif') type('image/avif'),
      url('/assets/hero-home-desktop.webp') type('image/webp')
    ) center center/cover no-repeat !important;
}
.hero.hero-conversion::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 82% 18%,rgba(232,200,107,.26),transparent 28%),
    radial-gradient(circle at 24% 80%,rgba(16,74,116,.28),transparent 30%),
    linear-gradient(180deg,rgba(2,12,22,.04),rgba(2,12,22,.22));
}
.hero.hero-conversion::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:88px;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(2,12,22,0),rgba(2,12,22,.24));
}
.hero.hero-conversion .hero-conversion-inner{
  position:relative;
  z-index:1;
  width:100% !important;
  max-width:1260px !important;
  margin:0 auto !important;
  padding:52px 28px 56px !important;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) 446px !important;
  gap:48px !important;
  align-items:start !important;
}
.hero.hero-conversion .hero-content{
  max-width:730px !important;
  margin:0 !important;
  padding:4px 0 0 !important;
}
.hero.hero-conversion .eyebrow{
  margin-bottom:18px !important;
  padding:9px 14px !important;
  border:1px solid rgba(232,200,107,.58) !important;
  background:rgba(255,255,255,.115) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.16);
  backdrop-filter:blur(8px);
}
.hero.hero-conversion h1{
  max-width:790px !important;
  margin:0 0 18px !important;
  font-size:clamp(46px,5.2vw,72px) !important;
  line-height:.965 !important;
  letter-spacing:-.058em !important;
  text-shadow:0 10px 34px rgba(0,0,0,.42);
}
.hero.hero-conversion .hero-sub{
  max-width:700px !important;
  margin:0 0 21px !important;
  color:#edf4fb !important;
  font-size:18px !important;
  line-height:1.58 !important;
  text-shadow:0 2px 18px rgba(0,0,0,.34);
}
.hero.hero-conversion .hero-actions{
  margin:20px 0 18px !important;
  gap:12px !important;
}
.hero.hero-conversion .hero-actions .btn{
  min-height:50px !important;
  padding:14px 19px !important;
  border-radius:15px !important;
  font-size:14px !important;
  box-shadow:0 16px 34px rgba(0,0,0,.18);
}
.hero.hero-conversion .hero-actions .btn-primary{
  box-shadow:0 18px 36px rgba(201,155,50,.34);
}
.hero.hero-conversion .hero-actions .ghost,
.hero.hero-conversion .hero-actions .btn-light{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.38) !important;
  background:rgba(255,255,255,.12) !important;
  box-shadow:0 16px 34px rgba(0,0,0,.16);
  backdrop-filter:blur(8px);
}
.hero.hero-conversion .trust-row{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:11px !important;
  max-width:740px !important;
  margin-top:15px !important;
}
.hero.hero-conversion .trust-row span{
  position:relative;
  display:flex !important;
  align-items:center !important;
  gap:10px;
  min-height:42px !important;
  padding:10px 14px 10px 16px !important;
  border:1px solid rgba(255,255,255,.32) !important;
  border-radius:999px !important;
  background:rgba(255,255,255,.94) !important;
  color:#082038 !important;
  font-size:12px !important;
  font-weight:900 !important;
  box-shadow:0 14px 32px rgba(3,13,24,.16);
}
.hero.hero-conversion .trust-row span::before{
  content:"";
  flex:0 0 auto;
  width:8px;
  height:8px;
  border-radius:999px;
  background:linear-gradient(135deg,#c99b32,#e8c86b);
  box-shadow:0 0 0 4px rgba(232,200,107,.18);
}
.hero.hero-conversion .hero-form-wrap{
  width:100% !important;
  max-width:446px !important;
  margin:0 !important;
  justify-self:end !important;
  align-self:start !important;
}
.hero.hero-conversion .offer-intake-card{
  position:relative;
  width:100% !important;
  max-width:446px !important;
  margin:0 !important;
  padding:24px 24px 22px !important;
  border:1px solid rgba(201,155,50,.38) !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,rgba(255,255,255,.995),rgba(250,252,255,.985)) !important;
  box-shadow:0 30px 78px rgba(3,13,24,.46), inset 0 1px 0 rgba(255,255,255,.95);
}
.hero.hero-conversion .offer-intake-card::before{
  content:"";
  position:absolute;
  left:22px;
  right:22px;
  top:0;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg,#c99b32,#e8c86b,#c99b32);
}
.hero.hero-conversion .offer-intake-card .form-kicker{
  margin-bottom:6px !important;
  color:#8a641a !important;
}
.hero.hero-conversion .offer-intake-card h2{
  margin:0 0 8px !important;
  color:#071b2f !important;
  font-size:23px !important;
  line-height:1.08 !important;
  letter-spacing:-.035em;
}
.hero.hero-conversion .offer-intake-card p{
  margin-bottom:14px !important;
  font-size:13px !important;
  line-height:1.45 !important;
}
.hero.hero-conversion .offer-intake-card .form-grid.compact{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:11px 12px !important;
}
.hero.hero-conversion .offer-intake-card .field{
  margin-bottom:0 !important;
}
.hero.hero-conversion .offer-intake-card .field.full{
  grid-column:1/-1 !important;
}
.hero.hero-conversion .offer-intake-card label{
  margin-bottom:5px !important;
  font-size:12px !important;
}
.hero.hero-conversion .offer-intake-card input,
.hero.hero-conversion .offer-intake-card select,
.hero.hero-conversion .offer-intake-card textarea{
  padding:11px 12px !important;
  border-radius:11px !important;
  background:#f7fafc !important;
  font-size:14px !important;
}
.hero.hero-conversion .offer-intake-card input:focus,
.hero.hero-conversion .offer-intake-card select:focus,
.hero.hero-conversion .offer-intake-card textarea:focus{
  background:#fff !important;
}
.hero.hero-conversion .offer-intake-card textarea{
  min-height:74px !important;
}
.hero.hero-conversion .offer-intake-card .consent{
  margin:12px 0 14px !important;
  font-size:10.7px !important;
  line-height:1.38 !important;
}
.hero.hero-conversion .offer-intake-card .consent input{
  margin-top:1px !important;
}
.hero.hero-conversion .offer-intake-card .submit{
  min-height:46px !important;
  border-radius:13px !important;
  font-size:12px !important;
  letter-spacing:.085em !important;
  box-shadow:0 16px 32px rgba(6,23,40,.24);
}
.hero.hero-conversion .offer-intake-card .form-note{
  margin-top:10px !important;
  font-size:11px !important;
}
.authority-strip{
  position:relative;
  overflow:hidden;
  padding:18px 22px !important;
  background:linear-gradient(90deg,#061728,#0b263f 58%,#102f4b) !important;
  border-top:1px solid rgba(255,255,255,.08);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.authority-strip::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 22% 50%,rgba(232,200,107,.16),transparent 34%);
}
.authority-strip>div{
  position:relative;
  z-index:1;
  max-width:1240px !important;
  font-size:15px !important;
  line-height:1.52 !important;
}
@media(max-width:1080px){
  .hero.hero-conversion .hero-conversion-inner{
    grid-template-columns:minmax(0,1fr) 410px !important;
    gap:30px !important;
    padding:44px 22px 48px !important;
  }
  .hero.hero-conversion h1{
    font-size:clamp(42px,5vw,62px) !important;
  }
}
@media(max-width:980px){
  .hero.hero-conversion .hero-conversion-inner{
    grid-template-columns:1fr !important;
    gap:24px !important;
    padding:40px 18px 38px !important;
  }
  .hero.hero-conversion .hero-content,
  .hero.hero-conversion .hero-form-wrap{
    width:100% !important;
    max-width:760px !important;
    margin:0 auto !important;
    justify-self:center !important;
  }
  .hero.hero-conversion .offer-intake-card{
    max-width:760px !important;
  }
}
@media(max-width:640px){
  .hero.hero-conversion{
    background:
      linear-gradient(104deg,rgba(3,16,29,.985) 0%,rgba(5,22,40,.94) 39%,rgba(8,31,53,.82) 68%,rgba(10,35,58,.68) 100%),
      url('/assets/hero-home-mobile.webp') 58% center/cover no-repeat !important;
    background:
      linear-gradient(104deg,rgba(3,16,29,.985) 0%,rgba(5,22,40,.94) 39%,rgba(8,31,53,.82) 68%,rgba(10,35,58,.68) 100%),
      image-set(
        url('/assets/hero-home-mobile.avif') type('image/avif'),
        url('/assets/hero-home-mobile.webp') type('image/webp')
      ) 58% center/cover no-repeat !important;
  }
  .hero.hero-conversion .hero-conversion-inner{
    padding:34px 16px 32px !important;
  }
  .hero.hero-conversion h1{
    font-size:clamp(35px,10.5vw,48px) !important;
    line-height:.99 !important;
  }
  .hero.hero-conversion .hero-sub{
    font-size:16px !important;
    line-height:1.52 !important;
  }
  .hero.hero-conversion .hero-actions .btn{
    width:100% !important;
  }
  .hero.hero-conversion .trust-row,
  .hero.hero-conversion .offer-intake-card .form-grid.compact{
    grid-template-columns:1fr !important;
  }
  .hero.hero-conversion .trust-row span{
    justify-content:flex-start !important;
    text-align:left !important;
  }
  .authority-strip>div{
    font-size:14px !important;
  }
}
