/* Assessment-only full-width photographic hero. */
.ka-background-hero{position:relative;isolation:isolate;display:flex;align-items:center;box-sizing:border-box;width:100%;margin-left:0;min-height:620px;padding:54px max(24px,calc((100% - 1152px)/2));overflow:hidden;background:#f7f8f9}
.ka-background-hero .ka-background-copy{position:relative;z-index:2;width:42%;max-width:490px}
.ka-background-hero .service-hero-image{position:absolute;inset:0;width:100%;height:100%;margin:0;z-index:0}
.ka-background-hero .service-hero-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center center;border-radius:0}
.ka-background-hero::after{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,rgba(247,248,249,.99) 0%,rgba(247,248,249,.96) 24%,rgba(247,248,249,.78) 37%,rgba(247,248,249,.08) 55%,transparent 65%);pointer-events:none}
.ka-background-hero h1{font-size:clamp(32px,3.35vw,46px);line-height:1.12;margin:12px 0 22px}
.ka-background-hero .ka-hero-question{font-size:clamp(24px,2.4vw,30px);margin:0 0 18px}
.ka-background-hero .eyebrow{font-size:11px;line-height:1.6}
.ka-background-hero .ka-price-note{max-width:345px}
.ka-background-hero .button{font-size:15px}
.ka-assessment-context h2{font-size:clamp(25px,2.7vw,34px)}
@media(max-width:900px){
.ka-background-hero{display:block;min-height:0;padding:calc(56.28vw + 20px) 20px 30px}
.ka-background-hero .ka-background-copy{width:100%;max-width:620px;margin:auto}
.ka-background-hero .service-hero-image{height:56.28vw;margin:0}
.ka-background-hero .service-hero-image img{object-fit:cover;object-position:center top}
.ka-background-hero::after{background:linear-gradient(180deg,transparent calc(56.28vw - 35px),#f7f8f9 calc(56.28vw + 1px))}
.ka-background-hero h1{font-size:34px;margin:10px 0 18px}
.ka-background-hero .ka-hero-question{font-size:26px}
.ka-background-hero .ka-hero-price{margin-top:16px}
}

/* Shift the desktop composition right, cropping the far curtain. */
@media(min-width:901px){
.ka-background-hero .service-hero-image{left:9%;right:-9%;width:100%}
.ka-background-hero::after{background:linear-gradient(90deg,rgba(247,248,249,.99) 0%,rgba(247,248,249,.97) 26%,rgba(247,248,249,.82) 36%,rgba(247,248,249,.08) 43%,transparent 48%)}
}

.ka-background-hero .ka-hero-question{margin-bottom:12px}
.ka-background-hero .ka-hero-answer{font-size:19px;line-height:1.4;margin:0 0 18px;max-width:390px}
@media(max-width:900px){.ka-background-hero .ka-hero-answer{font-size:19px;max-width:none}}

/* Give the deliverables button a clear landing below the sticky masthead. */
#assessment-findings{scroll-margin-top:140px}
.ka-deliverables>.lede{max-width:850px;margin-bottom:26px}
.ka-deliverables-options details>p{margin-bottom:20px}
.ka-deliverables-scope{max-width:960px;margin:26px 0 0}
@media(max-width:760px){#assessment-findings{scroll-margin-top:170px}}

/* Sage panel separates the assessment inclusions from adjacent content. */
.ka-deliverables{background:#eaf0e5;margin:12px 0 36px;padding:36px;border-top:0;border-radius:4px}
.ka-deliverables>.lede{color:#293536}
.ka-deliverables .ka-deliverables-options{max-width:none}
.ka-deliverables .ka-deliverables-options details{border-color:#bacab2}
.ka-deliverables .ka-deliverables-options summary::after{color:#395e4a}
.ka-deliverables .ka-deliverables-scope{color:#40523f}
@media(max-width:760px){.ka-deliverables{padding:26px 20px;margin:8px 0 28px}}

/* Insurance support: paid assessment reports and free repair quotations. */
.ka-background-hero .ka-insurance-link{font-size:.9rem;line-height:1.4;margin:16px 0 0;max-width:380px}
.ka-insurance-panel{background:#eaf0e5;border-left:5px solid #9c4a32;padding:32px;margin:0 0 36px;scroll-margin-top:140px}
.ka-insurance-panel h2{font-size:clamp(25px,2.7vw,34px);max-width:30ch}
.ka-insurance-panel>p{max-width:78ch}
.ka-insurance-panel .eyebrow{color:#9c4a32;font-weight:600}
.ka-insurance-panel .actions{gap:12px;flex-wrap:wrap}
@media(max-width:760px){.ka-insurance-panel{padding:26px 20px;scroll-margin-top:170px}.ka-insurance-panel .actions{flex-direction:column;align-items:stretch}.ka-insurance-panel .button{width:100%}}

/* A quiet ruled statement follows the question, matching the property-manager quote treatment. */
.ka-background-hero .ka-hero-question{font-weight:400}
.ka-background-hero .ka-hero-statement{margin:18px 0;padding-left:18px;border-left:3px solid #c39a4e;max-width:44ch}
.ka-background-hero .ka-hero-statement .ka-hero-answer{font-size:20px;line-height:1.5;font-weight:400;color:#293536;margin:0 0 9px}
.ka-background-hero .ka-hero-support{font-size:16px;line-height:1.5;font-weight:400;margin:0;color:#293536}

/* Reuse the former homepage inspection scene within the assessment content. */
.ka-assessment-context-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:center}
.ka-assessment-context-image{margin:0}
.ka-assessment-context-image img{display:block;width:100%;height:auto;border-radius:4px}
@media(max-width:900px){.ka-assessment-context-layout{grid-template-columns:1fr;gap:20px}}

/* Match the 32px image inset below breadcrumbs on other service pages. */
@media(min-width:761px){.ka-background-hero{margin-top:32px}}

/* Match the approved testing-hero breathing space without moving its title. */
.service-design .ka-background-hero .ka-hero-question{margin:56px 0 24px!important}
.service-design .ka-background-hero .ka-hero-statement{margin:24px 0 28px!important}
@media(max-width:760px){
 .service-design .ka-background-hero .ka-hero-question{margin:32px 0 20px!important}
 .service-design .ka-background-hero .ka-hero-statement{margin:20px 0 24px!important}
}
