:root{--type-section-heading:clamp(2rem,3.35vw,3.25rem);--type-subheading:clamp(1.35rem,2vw,2.1rem);--type-body:1rem;--type-overline:.75rem}
.page-home h2{font-size:var(--type-section-heading)}
.home-estimate-fields{grid-template-columns:1fr;gap:14px}
.home-contact-strip .strip-inner{grid-template-columns:minmax(0,638px) 380px;justify-content:start;gap:clamp(32px,5vw,64px)}
.home-estimate-form{width:min(100%,380px);justify-self:start;padding:22px}
.home-contact-strip .home-contact-copy h2{font-size:var(--type-section-heading);line-height:1.1;text-wrap:balance}
.home-contact-strip .home-contact-copy .eyebrow{font-size:var(--type-overline)}
.home-contact-strip .home-contact-copy p{font-size:var(--type-body)}
.home-estimate-title{margin:0 0 8px;color:var(--ink);font-size:var(--type-subheading);line-height:1.2;letter-spacing:-.025em}
.home-estimate-form .home-estimate-subtitle{margin:0 0 18px;color:var(--muted);font-size:var(--type-body);line-height:1.45}
.home-estimate-fields input:not([type="checkbox"]){margin-top:0}
.home-estimate-form .button[type="submit"]{background:var(--orange);color:var(--ink)}
.home-estimate-form .button[type="submit"]:hover{background:var(--orange-text);color:#fff}
.estimate-dialog{width:min(460px,calc(100vw - 24px));max-width:460px}
.estimate-dialog.estimate-dialog-details{width:min(790px,calc(100vw - 24px));max-width:790px}
.estimate-step[hidden],.form-demo-notice[hidden]{display:none!important}
.estimate-lead-fields{display:grid;gap:14px}
.estimate-dialog .estimate-lead-fields label{display:block;margin:0;font-size:.8rem;font-weight:800}
.estimate-dialog .field-optional{color:var(--muted);font-size:.68rem;font-weight:500}
.estimate-dialog .estimate-lead-fields input{min-height:46px;margin-top:6px;font-size:.9rem}
.estimate-step[data-estimate-step="lead"] .button{width:100%;justify-content:space-between;min-height:50px;margin-top:18px}
.estimate-success-icon{display:grid;place-items:center;width:42px;height:42px;margin:3px 0 14px;border-radius:50%;background:#e5f4e5;color:#245e35;font-size:1.4rem;font-weight:800}
.estimate-step-details form{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:19px 24px;align-items:start}
.estimate-step-details .work-picker legend{line-height:1.4}
.estimate-step-details .estimate-fields{gap:12px}
.estimate-details-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;grid-column:1/-1;padding-top:17px;border-top:1px solid var(--line)}
.estimate-details-actions .button{min-height:48px}
.estimate-skip{border:0;background:transparent;color:var(--ink);font:inherit;font-size:.8rem;font-weight:800;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.estimate-step-details .dialog-status{grid-column:1/-1;margin:0}
.estimate-success-lead{margin:0 0 7px;color:#245e35;font-size:.95rem;font-weight:800;line-height:1.4}
@media(max-width:850px){.home-contact-strip .strip-inner{grid-template-columns:1fr;gap:25px}.home-estimate-form{justify-self:start;width:min(100%,390px)}}
@media(max-width:700px){.estimate-dialog.estimate-dialog-details{width:calc(100vw - 16px)}.estimate-step-details form{grid-template-columns:1fr;gap:15px}.estimate-details-actions{grid-column:auto}.estimate-step-details .dialog-status{grid-column:auto}}
@media(max-width:540px){.home-estimate-fields{gap:10px}.estimate-details-actions .button{width:100%;justify-content:space-between}}

/* The first-step photo control shares the input width and keeps file selection optional. */
.lead-photo-row{position:relative;min-width:0}
.estimate-dialog .lead-photo-attach,.home-estimate-form .lead-photo-attach{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:47px;padding:9px 13px;border:3px double var(--ink);border-radius:4px;background:#fff;color:var(--ink);font-size:.9rem;font-weight:800;line-height:1.2;cursor:pointer}
.estimate-dialog .lead-photo-attach:hover,.home-estimate-form .lead-photo-attach:hover{background:var(--steel)}
.estimate-dialog .lead-photo-row input[type="file"],.home-estimate-form .lead-photo-row input[type="file"]{position:absolute;width:1px;height:1px;min-height:0;margin:0;padding:0;opacity:0;overflow:hidden;clip-path:inset(50%)}
.lead-photo-row:focus-within .lead-photo-attach{outline:3px solid var(--orange);outline-offset:3px}
.lead-photo-summary{display:block;margin-top:5px;color:var(--muted);font-size:.72rem;line-height:1.3}
.lead-photo-summary:empty{display:none}
.lead-photo-summary[data-error="true"]{color:#a23c17}
.estimate-dialog .estimate-lead-fields>input{display:block;width:100%;min-width:0;min-height:47px;margin:0;padding:10px 12px;border:1px solid #9caeb3;border-radius:4px;background:#fff;color:var(--ink);font:inherit;font-size:.9rem}
.estimate-step[data-estimate-step="lead"] .consent-row{margin-top:13px}
/* Photo attach control: two fine grey outlines with a visible inset gap. */
.estimate-dialog .estimate-lead-fields .lead-photo-attach,
.home-estimate-form .home-estimate-fields .lead-photo-attach{position:relative;display:flex;align-items:center;justify-content:center;min-height:47px;width:100%;margin:0;padding:10px 16px;border:1px solid #9caeb3;border-radius:4px;background:#fff;color:var(--ink);text-align:center;line-height:1.25;cursor:pointer}
.estimate-dialog .estimate-lead-fields .lead-photo-attach::before,
.home-estimate-form .home-estimate-fields .lead-photo-attach::before{content:"";position:absolute;inset:4px;border:1px solid #9caeb3;border-radius:2px;pointer-events:none}
