/* Estimate form (shared markup: overhaul1-build/form_partial.html). Loads after v2.css / shell.css. */
.qf [hidden] { display: none !important; }
.qf { color: var(--ink, #0f0e0a); font-family: var(--f-body, 'Public Sans', system-ui, sans-serif); }
.qf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.qf .qf-group, .qf .qf-field { margin: 0 0 24px; min-width: 0; }
.qf legend, .qf-field > label { display: block; font: 500 16px/1.35 var(--f-body, 'Public Sans', system-ui, sans-serif); color: var(--ink, #0f0e0a); margin: 0 0 10px; padding: 0; text-transform: none; letter-spacing: 0; }
.qf .opt { font-weight: 400; font-size: 14px; color: var(--muted, #525049); }
.qf-options { display: flex; flex-wrap: wrap; gap: 8px; }
.qf-opt { position: relative; display: inline-flex; cursor: pointer; margin: 0; }
.qf-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.qf-opt span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line-2, #cfc9bd); border-radius: 999px; background: var(--white, #fff); font-size: 15px; line-height: 1.2; color: var(--ink, #0f0e0a); user-select: none; }
.qf-opt input[type="checkbox"] + span::before { content: ""; width: 14px; height: 14px; margin-right: 9px; border: 1.5px solid var(--ink-2, #2b2924); border-radius: 3px; flex: 0 0 auto; }
.qf-opt input[type="radio"] + span::before { content: ""; width: 14px; height: 14px; margin-right: 9px; border: 1.5px solid var(--ink-2, #2b2924); border-radius: 50%; flex: 0 0 auto; }
.qf-opt:hover span { border-color: var(--ink-2, #2b2924); }
.qf-opt input:checked + span { background: var(--ink, #0f0e0a); border-color: var(--ink, #0f0e0a); color: #fff; }
.qf-opt input:checked + span::before { border-color: #fff; background: #fff; box-shadow: inset 0 0 0 3px var(--ink, #0f0e0a); }
.qf-opt input:focus-visible + span { outline: 2px solid var(--rust, #bb3f22); outline-offset: 2px; }
.qf .input, .qf .textarea { width: 100%; max-width: 100%; font: 400 16px/1.4 var(--f-body, 'Public Sans', system-ui, sans-serif); color: var(--ink, #0f0e0a); background: var(--bone, #fbfaf8); border: 1px solid var(--line-2, #cfc9bd); border-radius: 4px; padding: 12px 14px; min-height: 48px; box-sizing: border-box; }
.qf .textarea { min-height: 110px; resize: vertical; }
.qf .input:focus, .qf .textarea:focus { outline: 2px solid var(--rust, #bb3f22); outline-offset: 0; border-color: var(--rust, #bb3f22); background: #fff; }
.qf .qf-short { max-width: 220px; }
.qf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qf .qf-row .qf-field { margin-bottom: 24px; }
.qf-err { margin: 8px 0 0; font-size: 15px; line-height: 1.4; color: #a1260d; font-weight: 500; }
.qf-err--form { margin: 0 0 14px; }
.qf .is-invalid .input, .qf .is-invalid .textarea { border-color: #a1260d; border-width: 2px; }
.qf .is-invalid .qf-opt span { border-color: #a1260d; }
.qf-group.is-invalid legend, .qf-field.is-invalid > label { color: #a1260d; }
.qf-summary { margin: 0 0 20px; padding: 12px 14px; border: 2px solid #a1260d; border-radius: 4px; background: #fff4f1; color: #7d1d0a; font-weight: 500; font-size: 15px; }
.qf-summary:focus { outline: 2px solid #a1260d; outline-offset: 2px; }
.qf-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.qf-turnstile { margin: 0 0 14px; }
.qf .qf-submit { width: 100%; justify-content: center; margin-top: 4px; min-height: 52px; font-size: 17px; }
.qf .qf-submit[disabled] { opacity: .7; cursor: progress; }
.qf-success { padding: 28px 24px; border: 1px solid var(--line-2, #cfc9bd); border-radius: 6px; background: var(--white, #fff); color: var(--ink, #0f0e0a); }
.qf-success:focus { outline: 2px solid var(--rust, #bb3f22); outline-offset: 2px; }
.qf-success h3 { margin: 0 0 8px; }
.qf-success p { margin: 0; }
/* Old-template dark band (/buy/): the form sits on a bone card */
.surface-ink .qf, .surface-ink .qf-success { background: var(--c-bone, #f5f1ea); color: var(--ink, #0f0e0a); padding: 28px; border-radius: 6px; }
@media (max-width: 720px) {
  .qf-row { grid-template-columns: 1fr; gap: 0; }
  .qf .qf-short { max-width: none; }
  .surface-ink .qf, .surface-ink .qf-success { padding: 20px 16px; }
}
/* Contact page (form only) */
.contact-page { padding: 56px 0 80px; }
.contact-page__grid { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 720px; }
.contact-page h1 { margin-bottom: 12px; }
.contact-page__lede { font-size: 18px; color: var(--ink-2, #2b2924); margin: 0 0 32px; max-width: 600px; }
.contact-page__phone { margin: 40px 0 0; font-size: 15px; color: var(--muted, #525049); }
@media (max-width: 720px) { .contact-page { padding: 36px 0 56px; } }
