/* Homepage inspection wizard — independent of the CRM. */
.hero:has(.inspection-form){padding:0;background:#fff}
.hero:has(.inspection-form) .hero-grid{width:100%;max-width:none;gap:0;align-items:stretch;grid-template-columns:7fr 5fr}
.hero:has(.inspection-form) .hero-copy{grid-column:2;grid-row:1;padding:30px 16px 32px;min-width:0}
.inspection-intro h1,.inspection-intro .inspection-title{font-size:clamp(1.75rem,2.5vw,2.5rem);line-height:1.15;margin-bottom:10px;color:var(--dark);letter-spacing:-.04em}
.hero .inspection-intro p{margin:0 0 20px;font-size:1.125rem;font-weight:700;color:var(--green)}
.hero:has(.inspection-form) .hero-photo{grid-column:1;grid-row:1;height:auto;min-height:640px;border-radius:0}
.hero:has(.inspection-form) .hero-photo>img{position:absolute;inset:0;height:100%;object-position:52% center}
.inspection-sr-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.inspection-form{background:white;border:1px solid var(--line);border-radius:4px;box-shadow:0 12px 35px #0c3e6009;overflow:hidden}.inspection-progress{list-style:none;display:grid;grid-template-columns:1fr 1.45fr 1.05fr;gap:7px;padding:0;margin:0;border-bottom:4px solid var(--dark);background:white}
.inspection-progress li{display:flex;align-items:center;justify-content:center;text-align:center;padding:14px 8px;font-size:.65rem;font-weight:700;line-height:1.4;text-transform:uppercase;color:var(--muted);background:#f0eee9;border-radius:3px 3px 0 0}
.inspection-progress li[aria-current]{color:white;background:var(--dark)}
.inspection-progress li>span{display:none}
.inspection-body{padding:30px 32px}.inspection-body h2{font-size:1.35rem;letter-spacing:-.03em;margin-bottom:20px;color:var(--dark)}.inspection-body h2:focus{outline:none}.inspection-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.inspection-fields label{min-width:0;position:relative;font-size:.75rem;font-weight:600;display:block}.inspection-fields .full{grid-column:1/-1}.inspection-fields input,.inspection-fields select,.inspection-fields textarea{display:block;width:100%;min-width:0;border:1px solid #c9c9c5;border-radius:4px;padding:10px 12px;margin-top:5px;font-size:.875rem;line-height:1.4;background:#fff;color:var(--ink);min-height:54px}.inspection-fields textarea{resize:vertical;min-height:96px}.inspection-fields input:focus,.inspection-fields select:focus,.inspection-fields textarea:focus{outline:2px solid var(--dark);outline-offset:2px}.inspection-fields [aria-invalid=true]{border-color:#a22c2c}.optional-label{font-weight:400;color:var(--muted)}.inspection-actions{display:flex;gap:12px;margin-top:22px}.inspection-actions .btn{flex:1;min-height:48px}.inspection-actions .btn:disabled{opacity:.55;cursor:not-allowed;transform:none}.inspection-form [hidden]{display:none!important}.hero .inspection-help{font-size:.9rem;margin:0 0 18px;line-height:1.55}.hero .inspection-preview-note,.inspection-preview-note{font-size:.75rem;line-height:1.55;color:var(--muted);background:var(--paper);padding:12px;margin:16px 0;border-radius:4px;max-width:none}.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 14px;font-size:.85rem}.calendar-toolbar button{width:36px;height:36px;background:white;border:1px solid var(--line);border-radius:4px;color:var(--dark)}.calendar-toolbar button:disabled{opacity:.35;cursor:default}.inspection-days{display:grid;grid-template-columns:repeat(5,1fr);gap:7px}.inspection-days button{background:white;border:1px solid var(--line);border-radius:4px;padding:12px 3px;color:var(--dark);font-size:.75rem}.inspection-days button strong{display:block;font-size:1.25rem}.inspection-days button span{display:block;text-transform:uppercase;font-size:.65rem}.inspection-times{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.inspection-times button{padding:12px;background:white;border:1px solid var(--line);border-radius:4px;font-size:.85rem;color:var(--dark)}.inspection-days button[aria-pressed=true],.inspection-times button[aria-pressed=true]{color:white;background:var(--dark);border-color:var(--dark)}.inspection-callback{background:none;border:0;border-bottom:1px solid #c7beb0;color:var(--dark);padding:10px 0;font-size:.85rem;text-align:left}.inspection-review-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 8px;gap:15px}.inspection-review-heading h3{font-size:1rem;margin:0;letter-spacing:-.02em}.inspection-review-heading button{border:0;background:none;color:var(--dark);text-decoration:underline;font-size:.8rem}.inspection-review{font-size:.875rem;line-height:1.7;white-space:pre-line;overflow-wrap:anywhere}.hero .inspection-error{color:#a22c2c;font-size:.85rem;margin:16px 0 0}.hero .inspection-status{font-size:.85rem;margin:14px 0 0;color:var(--dark)}.inspection-status:empty{display:none}

.inspection-fields input::placeholder,.inspection-fields textarea::placeholder{color:var(--ink);opacity:1}
.inspection-form [data-panel="0"] input,.inspection-form [data-panel="0"] select,.inspection-form [data-panel="0"] textarea{margin-top:0;padding:14px 16px;font-size:.9375rem}
.inspection-actions{margin-top:30px}
@media(min-width:1600px){.hero:has(.inspection-form) .hero-copy{padding:36px 32px;max-width:760px}}
@media(max-width:1100px){.hero:has(.inspection-form) .hero-grid{grid-template-columns:1fr 1fr}.inspection-body{padding:24px}.inspection-fields{gap:18px}.inspection-intro h1,.inspection-intro .inspection-title{font-size:1.875rem}}
@media(max-width:760px){.hero:has(.inspection-form) .hero-grid{grid-template-columns:1fr}.hero:has(.inspection-form) .hero-copy{grid-column:1;grid-row:1;padding:26px 20px}.hero:has(.inspection-form) .hero-photo{grid-column:1;grid-row:2;min-height:320px}.inspection-intro h1,.inspection-intro .inspection-title{font-size:1.875rem}.inspection-body{padding:22px 18px}.inspection-progress li{font-size:.6rem;padding:13px 6px}.inspection-fields{gap:16px 12px}.inspection-form [data-panel="0"] input,.inspection-form [data-panel="0"] select,.inspection-form [data-panel="0"] textarea{font-size:1rem;padding:12px}.inspection-days{gap:5px}}
@media(max-width:380px){.inspection-fields{grid-template-columns:1fr}.inspection-progress li{font-size:.55rem}.inspection-body{padding:18px 14px}}

/* Balanced desktop hero: share the header's content width instead of stretching media across an ultrawide screen. */
@media(min-width:761px){
 .hero:has(.inspection-form){background:var(--paper);padding:24px 0}
 .hero:has(.inspection-form) .hero-grid{width:calc(100% - 64px);max-width:1440px;margin-inline:auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}
 .hero:has(.inspection-form) .hero-copy{max-width:none;padding:24px 28px}
 .hero:has(.inspection-form) .hero-photo{min-height:560px}
 .inspection-intro h1,.inspection-intro .inspection-title{font-size:clamp(1.65rem,2.15vw,2.125rem);line-height:1.15;margin-bottom:8px}
 .hero .inspection-intro p{font-size:1rem;line-height:1.45;margin:0 0 12px;max-width:none}
 .hero .inspection-intro p:last-child{font-size:.875rem;font-weight:500;margin-bottom:16px}
 .inspection-body{padding:20px}
 .inspection-body h2{font-size:1.2rem;margin-bottom:16px}
 .inspection-fields{gap:12px}
 .inspection-form [data-panel="0"] input,.inspection-form [data-panel="0"] select,.inspection-form [data-panel="0"] textarea{padding:11px 12px;min-height:46px;font-size:1rem}
 .inspection-form [data-panel="0"] textarea{min-height:68px;height:68px}
 .inspection-actions{margin-top:16px}
 .inspection-actions .btn{min-height:46px;padding:10px 18px}
 .inspection-progress li{padding:11px 6px}
 .hero:has(.hero-slideshow) .photo-caption{left:24px;right:24px;bottom:24px;align-items:flex-start}
 .photo-caption .badge{flex-shrink:0}
 .hero:has(.hero-slideshow) .photo-caption strong{font-size:1rem;line-height:1.4}
 .hero:has(.hero-slideshow) .photo-caption small{font-size:.8rem;line-height:1.5;margin-top:6px}
}
/* Normalize native select rendering on Safari and Windows as well as Chromium. */
.inspection-form .inspection-fields select{appearance:none;-webkit-appearance:none;height:48px;padding-right:36px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%230c3e60' stroke-width='1.5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center}
@media(min-width:761px) and (max-width:1050px){
 .hero:has(.inspection-form) .hero-grid{width:calc(100% - 32px);grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr)}
 .hero:has(.inspection-form) .hero-copy{padding:20px}
}
@media(min-width:951px) and (max-height:850px){
 .hero:has(.inspection-form){padding-block:12px}
 .hero:has(.inspection-form) .hero-copy{padding:12px 24px}
 .hero:has(.inspection-form) .hero-photo{min-height:520px}
 .inspection-body{padding:16px}
 .inspection-body h2{margin-bottom:12px}
 .inspection-fields{gap:10px}
 .inspection-form [data-panel="0"] textarea{min-height:56px;height:56px}
 .inspection-actions{margin-top:12px}
 .inspection-intro h1,.inspection-intro .inspection-title{font-size:1.75rem}
}
