/* Cristal homepage hero v3 + progressive homeowner lead capture.
   Loaded after home-lead.css and home-hero-v2.css. No shared/global selectors. */

.ccs-home .ccs-home-hero-v3{
  min-height:clamp(650px,76vh,780px);
  background:#062b27;
}

.ccs-home .ccs-home-hero-v3::before{
  width:520px;
  height:520px;
  left:-110px;
  bottom:-250px;
  opacity:.68;
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-video{
  object-position:center 48%;
  filter:saturate(.94) contrast(1.04) brightness(.9);
  transform:scale(1.01);
}

.ccs-home .ccs-home-hero-v3 .ccs-home-video-overlay{
  background:
    linear-gradient(90deg,rgba(2,29,26,.96) 0%,rgba(2,29,26,.9) 30%,rgba(2,29,26,.64) 49%,rgba(2,29,26,.25) 70%,rgba(2,29,26,.08) 100%),
    linear-gradient(0deg,rgba(1,18,16,.58) 0%,rgba(1,18,16,.05) 48%,rgba(1,18,16,.15) 100%);
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-inner{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  width:min(calc(100% - clamp(64px,12vw,240px)),1520px);
  min-height:inherit;
  margin-inline:auto;
  padding:clamp(112px,9vw,148px) 0 clamp(145px,11vw,180px);
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-copy{
  width:min(100%,780px);
  max-width:none;
  padding:0;
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-copy h1{
  max-width:760px;
  margin-top:20px;
  font-size:clamp(52px,5.1vw,74px);
  line-height:.98;
  letter-spacing:-.058em;
  text-wrap:balance;
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-intro{
  max-width:620px;
  margin-top:22px;
  font-size:clamp(17px,1.2vw,19.5px);
  line-height:1.62;
  color:rgba(247,255,252,.86);
}

.ccs-home .ccs-home-hero-v3 .ccs-home-hero-actions{
  margin-top:30px;
  gap:22px;
}

.ccs-home .ccs-home-hero-v3 .ccs-home-btn-primary{
  min-height:60px;
  padding:0 19px 0 25px;
  border-radius:15px;
  font-size:15px;
  box-shadow:0 20px 50px rgba(0,0,0,.22);
}

.ccs-home .ccs-home-hero-v3 .ccs-home-btn-primary b{
  width:31px;
  height:31px;
  border-radius:9px;
  font-size:14px;
}

.ccs-home .ccs-home-hero-v3 .ccs-home-provider-link{
  font-size:14px;
}

.ccs-home .ccs-home-hero-microcopy{
  margin:12px 0 0;
  color:rgba(236,255,249,.68);
  font-size:11.5px;
  font-weight:750;
  letter-spacing:.01em;
}

.ccs-home .ccs-home-hero-trust-v3{
  gap:10px 18px;
  margin-top:24px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.14);
  max-width:670px;
}

.ccs-home .ccs-home-hero-trust-v3>span{
  color:rgba(247,255,252,.82);
  font-size:12px;
}

/* Progressive request starter */
.ccs-home .ccs-home-lead-capture{
  position:relative;
  z-index:5;
  margin-top:-88px;
  padding:0 0 36px;
  scroll-margin-top:96px;
}

.ccs-home .ccs-home-lead-shell,
.ccs-home .ccs-home-trust-bar-shell{
  width:min(calc(100% - clamp(40px,6vw,96px)),1420px);
  margin-inline:auto;
}

.ccs-home .ccs-home-lead-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  overflow:hidden;
  border:1px solid #d9e7e3;
  border-radius:26px;
  background:#fff;
  box-shadow:0 30px 80px rgba(21,69,59,.15);
}

.ccs-home .ccs-home-lead-main{
  min-width:0;
  padding:34px 38px 32px;
}

.ccs-home .ccs-home-lead-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) 150px;
  align-items:end;
  gap:28px;
  padding-bottom:24px;
  border-bottom:1px solid #e5eeeb;
}

.ccs-home .ccs-home-lead-kicker,
.ccs-home .ccs-home-lead-trust-kicker{
  display:block;
  margin-bottom:7px;
  color:#17816c;
  font-size:10px;
  font-weight:900;
  letter-spacing:.105em;
  text-transform:uppercase;
}

.ccs-home .ccs-home-lead-head h2{
  margin:0;
  color:#133c38;
  font-size:clamp(27px,2.5vw,38px);
  line-height:1.08;
  letter-spacing:-.045em;
}

.ccs-home .ccs-home-lead-head p{
  max-width:680px;
  margin:8px 0 0;
  color:#607773;
  font-size:13.5px;
  line-height:1.62;
}

.ccs-home .ccs-home-lead-progress{
  display:grid;
  gap:8px;
  padding-bottom:3px;
}

.ccs-home .ccs-home-lead-progress>span{
  text-align:right;
  color:#718681;
  font-size:10.5px;
  font-weight:850;
}

.ccs-home .ccs-home-lead-progress>div{
  height:7px;
  overflow:hidden;
  border-radius:999px;
  background:#e7f0ed;
}

.ccs-home .ccs-home-lead-progress i{
  display:block;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#087f6c,#4fc3a7);
  transition:width .25s ease;
}

.ccs-home .ccs-home-lead-errors{
  margin:18px 0 -4px;
  padding:13px 15px;
  border:1px solid #f1c9c6;
  border-radius:13px;
  background:#fff5f4;
  color:#8a332f;
}

.ccs-home .ccs-home-lead-errors strong{font-size:12.5px}
.ccs-home .ccs-home-lead-errors ul{margin:6px 0 0;padding-left:18px;font-size:11.5px;line-height:1.55}

.ccs-home .ccs-home-lead-step{
  padding-top:24px;
}

.ccs-home .ccs-home-lead-step[hidden]{display:none!important}

.ccs-home .ccs-home-lead-step-title{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  gap:12px;
  align-items:start;
  margin-bottom:18px;
}

.ccs-home .ccs-home-lead-step-title>span{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:11px;
  background:#eaf7f3;
  color:#13816a;
  font-size:10px;
  font-weight:900;
  letter-spacing:.06em;
}

.ccs-home .ccs-home-lead-step-title div{display:grid;gap:3px}
.ccs-home .ccs-home-lead-step-title strong{color:#173e3a;font-size:16px;line-height:1.25}
.ccs-home .ccs-home-lead-step-title small{color:#70837f;font-size:11.5px;line-height:1.5}

.ccs-home .ccs-home-lead-fields{
  display:grid;
  gap:14px;
}

.ccs-home .ccs-home-lead-fields-2{
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.ccs-home .ccs-home-lead-step label{
  display:grid;
  gap:7px;
  color:#294c46;
  font-size:11.5px;
  font-weight:820;
}

.ccs-home .ccs-home-lead-step label>span{
  display:flex;
  align-items:baseline;
  gap:6px;
}

.ccs-home .ccs-home-lead-step label em{
  color:#8a9a96;
  font-size:9.5px;
  font-style:normal;
  font-weight:700;
}

.ccs-home .ccs-home-lead-step input,
.ccs-home .ccs-home-lead-step select,
.ccs-home .ccs-home-lead-step textarea{
  width:100%;
  min-height:52px;
  padding:0 14px;
  border:1px solid #cfdeda;
  border-radius:12px;
  outline:0;
  background:#fff;
  color:#163d38;
  font:inherit;
  font-size:15px;
  font-weight:650;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease;
}

.ccs-home .ccs-home-lead-step textarea{
  min-height:96px;
  padding-top:12px;
  padding-bottom:12px;
  resize:vertical;
  line-height:1.55;
  font-weight:550;
}

.ccs-home .ccs-home-lead-step input:focus,
.ccs-home .ccs-home-lead-step select:focus,
.ccs-home .ccs-home-lead-step textarea:focus{
  border-color:#5cb7a3;
  box-shadow:0 0 0 4px rgba(8,127,108,.09);
}

.ccs-home .ccs-home-lead-step [aria-invalid="true"]{
  border-color:#ca625b;
  background:#fff9f8;
  box-shadow:0 0 0 3px rgba(202,98,91,.08);
}

.ccs-home .ccs-home-lead-textarea{margin-top:14px}

.ccs-home .ccs-home-lead-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:19px;
}

.ccs-home .ccs-home-lead-nav-end{justify-content:flex-end}

.ccs-home .ccs-home-lead-next,
.ccs-home .ccs-home-lead-submit,
.ccs-home .ccs-home-lead-back{
  min-height:49px;
  border:0;
  border-radius:12px;
  font:inherit;
  font-size:12.5px;
  font-weight:900;
  cursor:pointer;
}

.ccs-home .ccs-home-lead-next,
.ccs-home .ccs-home-lead-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:0 18px;
  background:#087f6c;
  color:#fff;
  box-shadow:0 10px 24px rgba(8,127,108,.16);
}

.ccs-home .ccs-home-lead-next:hover,
.ccs-home .ccs-home-lead-submit:hover{background:#066c5c}

.ccs-home .ccs-home-lead-submit:disabled{opacity:.7;cursor:wait}

.ccs-home .ccs-home-lead-back{
  padding:0 8px;
  background:transparent;
  color:#58716b;
}

.ccs-home .ccs-home-lead-privacy{
  margin:13px 0 0;
  color:#7a8d88;
  font-size:10.5px;
  line-height:1.55;
}

.ccs-home .ccs-home-lead-privacy a{
  color:#176f5d;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:2px;
}

.ccs-home .ccs-home-honeypot{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
}

.ccs-home .ccs-home-lead-trust{
  padding:34px 28px;
  border-left:1px solid #d9e8e3;
  background:linear-gradient(180deg,#eff9f6 0%,#f7fbfa 100%);
}

.ccs-home .ccs-home-lead-trust h3{
  margin:0;
  color:#153f3a;
  font-size:23px;
  line-height:1.15;
  letter-spacing:-.035em;
}

.ccs-home .ccs-home-lead-trust-list{
  display:grid;
  gap:16px;
  margin-top:23px;
}

.ccs-home .ccs-home-lead-trust-list>div{
  display:grid;
  grid-template-columns:27px minmax(0,1fr);
  gap:10px;
  align-items:start;
}

.ccs-home .ccs-home-lead-trust-list i{
  display:grid;
  place-items:center;
  width:27px;
  height:27px;
  border-radius:50%;
  background:#d8f1e9;
  color:#0e7d65;
  font-size:11px;
  font-style:normal;
  font-weight:900;
}

.ccs-home .ccs-home-lead-trust-list span{display:grid;gap:3px}
.ccs-home .ccs-home-lead-trust-list strong{color:#244943;font-size:12px;line-height:1.35}
.ccs-home .ccs-home-lead-trust-list small{color:#6d827d;font-size:10.5px;line-height:1.55}

.ccs-home .ccs-home-lead-review{
  margin:24px 0 0;
  padding:18px 0 0;
  border-top:1px solid #d5e7e2;
}

.ccs-home .ccs-home-lead-review>div{color:#e5a91b;font-size:12px;letter-spacing:2px}
.ccs-home .ccs-home-lead-review p{margin:9px 0 10px;color:#3f5c56;font-size:11.5px;line-height:1.6}
.ccs-home .ccs-home-lead-review footer{display:flex;align-items:center;gap:8px;color:#617772;font-size:9.5px}
.ccs-home .ccs-home-lead-review footer strong{color:#244943;font-size:10.5px}
.ccs-home .ccs-home-lead-review footer span{color:#17816c;font-weight:800}

/* stronger trust strip below the starter form */
.ccs-home .ccs-home-trust-bar-v2{
  padding:18px 0 26px;
  background:#fff;
}

.ccs-home .ccs-home-trust-bar-shell{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border-top:1px solid #e2ece9;
  border-bottom:1px solid #e2ece9;
}

.ccs-home .ccs-home-trust-bar-v2 article{
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-height:92px;
  padding:18px 22px;
  border-right:1px solid #e2ece9;
}

.ccs-home .ccs-home-trust-bar-v2 article:last-child{border-right:0}
.ccs-home .ccs-home-trust-bar-v2 article>span{display:grid;place-items:center;width:30px;height:30px;border-radius:9px;background:#edf8f5;color:#157a65;font-size:10px;font-weight:900}
.ccs-home .ccs-home-trust-bar-v2 article div{display:grid;gap:3px}
.ccs-home .ccs-home-trust-bar-v2 strong{color:#21443e;font-size:12px;line-height:1.35}
.ccs-home .ccs-home-trust-bar-v2 small{color:#71847f;font-size:10.5px;line-height:1.5}

.ccs-home .ccs-home-final-actions-v2{
  display:grid;
  justify-items:start;
  gap:9px;
}

.ccs-home .ccs-home-final-actions-v2 small{
  color:#70847f;
  font-size:10.5px;
  font-weight:700;
}

@media(max-width:1100px){
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-inner{width:min(calc(100% - 64px),1440px)}
  .ccs-home .ccs-home-lead-card{grid-template-columns:minmax(0,1fr) 290px}
  .ccs-home .ccs-home-lead-main{padding:30px}
  .ccs-home .ccs-home-lead-trust{padding:30px 23px}
  .ccs-home .ccs-home-trust-bar-shell{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ccs-home .ccs-home-trust-bar-v2 article:nth-child(2){border-right:0}
  .ccs-home .ccs-home-trust-bar-v2 article:nth-child(-n+2){border-bottom:1px solid #e2ece9}
}

@media(max-width:860px){
  .ccs-home .ccs-home-hero-v3{
    min-height:680px;
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-video-overlay{
    background:
      linear-gradient(0deg,rgba(2,29,26,.97) 0%,rgba(2,29,26,.86) 56%,rgba(2,29,26,.32) 100%),
      linear-gradient(90deg,rgba(2,29,26,.45),rgba(2,29,26,.08));
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-video{object-position:58% center}
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-inner{
    width:min(calc(100% - 40px),760px);
    align-items:flex-end;
    padding:170px 0 112px;
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-copy h1{font-size:clamp(47px,9vw,64px)}
  .ccs-home .ccs-home-lead-capture{margin-top:-55px}
  .ccs-home .ccs-home-lead-shell,.ccs-home .ccs-home-trust-bar-shell{width:min(calc(100% - 32px),760px)}
  .ccs-home .ccs-home-lead-card{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-trust{border-top:1px solid #d9e8e3;border-left:0}
  .ccs-home .ccs-home-lead-trust-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:620px){
  .ccs-home .ccs-home-hero-v3{
    min-height:620px;
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-inner{
    width:min(calc(100% - 28px),620px);
    padding:138px 0 92px;
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-kicker-light{font-size:9.5px}
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-copy h1{
    margin-top:16px;
    font-size:clamp(40px,11.6vw,52px);
    letter-spacing:-.052em;
  }
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-intro{margin-top:16px;font-size:15.5px;line-height:1.55}
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-actions{margin-top:22px;gap:7px}
  .ccs-home .ccs-home-hero-v3 .ccs-home-btn-primary{min-height:55px;font-size:13.5px}
  .ccs-home .ccs-home-hero-microcopy{font-size:10.5px}
  .ccs-home .ccs-home-hero-trust-v3{display:grid;grid-template-columns:1fr;margin-top:17px;padding-top:15px;gap:8px}
  .ccs-home .ccs-home-hero-trust-v3>span{font-size:10.8px}

  .ccs-home .ccs-home-lead-capture{margin-top:-34px;padding-bottom:24px;scroll-margin-top:78px}
  .ccs-home .ccs-home-lead-shell,.ccs-home .ccs-home-trust-bar-shell{width:min(calc(100% - 20px),620px)}
  .ccs-home .ccs-home-lead-card{border-radius:19px}
  .ccs-home .ccs-home-lead-main{padding:23px 18px 20px}
  .ccs-home .ccs-home-lead-head{grid-template-columns:1fr;gap:15px;padding-bottom:18px}
  .ccs-home .ccs-home-lead-head h2{font-size:28px}
  .ccs-home .ccs-home-lead-head p{font-size:12.5px}
  .ccs-home .ccs-home-lead-progress{grid-template-columns:auto 1fr;align-items:center;gap:10px}
  .ccs-home .ccs-home-lead-progress>span{text-align:left;white-space:nowrap;font-size:9.5px}
  .ccs-home .ccs-home-lead-step{padding-top:20px}
  .ccs-home .ccs-home-lead-fields-2{grid-template-columns:1fr}
  .ccs-home .ccs-home-lead-step input,.ccs-home .ccs-home-lead-step select{min-height:51px;font-size:16px}
  .ccs-home .ccs-home-lead-step textarea{font-size:16px}
  .ccs-home .ccs-home-lead-nav{align-items:stretch}
  .ccs-home .ccs-home-lead-next,.ccs-home .ccs-home-lead-submit{flex:1;min-height:51px}
  .ccs-home .ccs-home-lead-back{min-width:68px}
  .ccs-home .ccs-home-lead-trust{padding:24px 18px}
  .ccs-home .ccs-home-lead-trust h3{font-size:21px}
  .ccs-home .ccs-home-lead-trust-list{grid-template-columns:1fr;gap:13px}
  .ccs-home .ccs-home-lead-review{display:none}
  .ccs-home .ccs-home-trust-bar-v2{padding-top:8px}
  .ccs-home .ccs-home-trust-bar-shell{grid-template-columns:1fr}
  .ccs-home .ccs-home-trust-bar-v2 article{min-height:78px;padding:14px 8px;border-right:0;border-bottom:1px solid #e2ece9!important}
  .ccs-home .ccs-home-trust-bar-v2 article:last-child{border-bottom:0!important}
  .ccs-home .ccs-home-trust-bar-v2 strong{font-size:11.5px}
  .ccs-home .ccs-home-trust-bar-v2 small{font-size:10px}
  .ccs-home .ccs-home-final-actions-v2{width:100%}
  .ccs-home .ccs-home-final-actions-v2 .ccs-home-btn{width:100%;justify-content:center}
}

@media(max-width:390px){
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-inner{width:calc(100% - 22px)}
  .ccs-home .ccs-home-hero-v3 .ccs-home-hero-copy h1{font-size:39px}
  .ccs-home .ccs-home-lead-shell,.ccs-home .ccs-home-trust-bar-shell{width:calc(100% - 14px)}
  .ccs-home .ccs-home-lead-main{padding-inline:15px}
}

@media(prefers-reduced-motion:reduce){
  .ccs-home .ccs-home-lead-progress i{transition:none}
}
