/* Wytafy V35 – targeted layout repair after V34.
   Keep visual system, quick-request behavior, themes and calculator logic intact. */

/* Space between hero's trust indicators and the restored quick inquiry.
   The old -58px overlap was clipping the last line at large viewports. */
@media (min-width:761px) {
  .v32-home > .v34-quick-request,
  .v32-home > .v34-quick-request.custom-open {
    margin-top:-18px!important;
  }
  .v32-home .hero-trust {position:relative; z-index:2;}
}
@media (max-width:760px) {
  .v32-home > .v34-quick-request,
  .v32-home > .v34-quick-request.custom-open {
    margin-top:-18px!important;
  }
}

/* Give the primary quick form a defined separation from the next section,
   without a floating color stripe or an oversized empty spacer. */
.v32-home > .v34-quick-request {isolation:isolate;}
.v32-home > .v34-quick-request + .services {padding-top:clamp(66px,5vw,86px)!important;}
@media(max-width:760px){
  .v32-home > .v34-quick-request + .services {padding-top:58px!important;}
}

/* Do not crop the FAQ answers and legal explanatory paragraph with the
   rounded outer calculator mask. The calculator's main UI has its own shell. */
.v32-home .pricing .v32-calculator .care-estimator {
  background:transparent!important;
  border:none!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:visible!important;
  margin:0!important;
  padding:0!important;
}
.v32-home .pricing .v32-calculator .care-estimator::before {display:none!important;}

/* Equal comfortable inset for disclosures, and legible long legal copy. */
.v32-home .pricing .v32-calculator .care-benefits-extra,
.v32-home .pricing .v32-calculator .care-legal {
  margin-left:clamp(16px,2.2vw,30px)!important;
  margin-right:clamp(16px,2.2vw,30px)!important;
  max-width:none!important;
  min-width:0;
  box-sizing:border-box;
}
.v32-home .pricing .v32-calculator .care-benefits-extra {
  margin-top:25px!important;
  padding-top:22px!important;
  border-top:1px solid rgba(62,52,42,.15)!important;
  gap:22px;
}
.v32-home .pricing .v32-calculator .care-benefits-extra details {
  min-width:0;
  padding:0 0 13px!important;
}
.v32-home .pricing .v32-calculator .care-benefits-extra summary {
  font-size:.95rem!important;
  line-height:1.52!important;
  padding:5px 2px 10px 0!important;
  overflow-wrap:break-word;
}
.v32-home .pricing .v32-calculator .care-benefits-extra details p {
  margin:0 0 10px!important;
  padding:0!important;
  color:#566576;
  font-size:.89rem!important;
  line-height:1.64!important;
}
.v32-home .pricing .v32-calculator .care-legal {
  display:block;
  width:auto!important;
  margin-top:16px!important;
  margin-bottom:6px!important;
  padding:0 0 14px!important;
  font-size:.8rem!important;
  line-height:1.75!important;
  overflow-wrap:break-word;
  color:#5a6978!important;
}
.v32-home .pricing .v32-calculator .care-legal a {text-underline-offset:3px;}

html[data-theme="dark"] .v32-home .pricing .v32-calculator .care-benefits-extra {border-top-color:rgba(196,212,226,.19)!important;}
html[data-theme="dark"] .v32-home .pricing .v32-calculator .care-benefits-extra details p,
html[data-theme="dark"] .v32-home .pricing .v32-calculator .care-legal {color:#b9cad6!important;}
@media (max-width:760px) {
  .v32-home .pricing .v32-calculator .care-benefits-extra,
  .v32-home .pricing .v32-calculator .care-legal {
    margin-left:16px!important;
    margin-right:16px!important;
  }
  .v32-home .pricing .v32-calculator .care-benefits-extra {gap:12px!important;}
  .v32-home .pricing .v32-calculator .care-benefits-extra details {
    padding:0 14px!important;
  }
  .v32-home .pricing .v32-calculator .care-benefits-extra details p {
    padding:0 0 14px 22px!important;
  }
  .v32-home .pricing .v32-calculator .care-legal {
    font-size:.82rem!important;
    line-height:1.68!important;
  }
}

/* Intentional, stable one-pixel header boundary, no gradient strip or blur. */
html[data-theme="light"] .site-header,
html[data-theme="light"] .site-header.scrolled {
  border-bottom:1px solid rgba(38,49,54,.07)!important;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.scrolled {
  border-bottom:1px solid rgba(244,249,254,.09)!important;
}

/* Keep the help launcher from covering the actual request-submit button
   while the large quick-request form is in the visitor's viewport. */
@media(min-width:761px){
  body.wy-quickbar-inview .wy-help-launch {
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }
}
