.lead-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(220px,290px); gap:32px; padding-block:32px 56px; }
.lead-form { border:1px solid var(--line); padding:24px; }
.lead-form fieldset { padding:0; margin:0; min-width:0; border:0; }
.lead-form [hidden] { display:none !important; }
.lead-section > legend { width:100%; padding:0 0 9px; margin-bottom:16px; border-bottom:1px solid var(--line); font-size:20px; color:var(--navy); font-weight:750; }
.lead-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lead-span { grid-column:1 / -1; }
.lead-field,.lead-options > legend { display:block; font-weight:650; }
.lead-field > span,.lead-options > legend > span,.lead-details summary > span { font-size:13px; color:var(--muted); font-weight:400; }
.lead-field > #budget-label { font-size:inherit; color:inherit; font-weight:inherit; }
.lead-options > legend { padding:0; margin-bottom:4px; }
.lead-choices { display:flex; flex-wrap:wrap; gap:6px 10px; }
.lead-choices label { display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:5px 10px; border:1px solid var(--line); border-radius:3px; cursor:pointer; }
.lead-choices label:has(input:checked) { background:var(--mist); border-color:var(--navy); }
.lead-choices input { margin:0; accent-color:var(--navy); }
.lead-form input:not([type=checkbox]),.lead-form select,.lead-form textarea { display:block; width:100%; min-height:44px; margin-top:5px; padding:8px 10px; font:inherit; font-weight:400; color:var(--ink); background:white; border:1px solid #8ba2b1; border-radius:3px; }
.lead-form textarea { resize:vertical; }
.lead-form :is(input,select,textarea,button,summary):focus-visible { outline:3px solid var(--orange); outline-offset:2px; }
.lead-form button { cursor:pointer; font:inherit; font-weight:700; }
.lead-details { margin:22px 0 26px; border:1px solid var(--line); }
.lead-details > summary { min-height:44px; padding:10px 14px; background:var(--mist); color:var(--navy); font-weight:750; cursor:pointer; }
.lead-details > .lead-grid { padding:14px; }
.lead-visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.lead-captcha { display:flex; gap:10px; align-items:center; max-width:300px; margin-block:5px; }
.lead-captcha input#lead-key { margin:0; min-width:0; }
.lead-captcha button { display:grid; place-items:center; min-height:44px; padding:2px; background:white; border:1px solid #8ba2b1; }
.lead-form .lead-consent { display:flex; align-items:center; gap:8px; min-height:44px; margin:12px 0; }
.lead-consent input { width:18px; height:18px; flex:none; }
@media(max-width:760px) { .lead-layout { grid-template-columns:1fr; gap:16px; } }
@media(max-width:500px) { .lead-form { padding:16px; } .lead-grid { grid-template-columns:1fr; } }
.lead-float { position:fixed; z-index:5; right:max(16px,env(safe-area-inset-right)); bottom:max(16px,env(safe-area-inset-bottom)); }
.lead-home { padding-bottom:72px; }
.listing-lead { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:20px; }
