/* =====================================================================
   quote-form.css — the estimate-request forms (/get-quote, /quick-quote,
   /get-quote-thanks). They are pages of THIS site, framed by the site's own
   pages (`.form-embed-wrap iframe`, `.form-embed iframe`), and post straight
   to Liberanto Office (see assets/quote-form.js).

   The look is the old app form's, 1:1 (forest/charcoal on white, Nunito,
   hairline borders): the visitor must not notice the move (14.11.2026).
   ===================================================================== */

@font-face{font-family:'Nunito';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:300 800;font-display:swap;src:url(/assets/fonts/nunito-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}

:root {
  --qf-ink: #1A1814;
  --qf-ink-hover: #2c2a26;
  --qf-text: #2c2a26;
  --qf-text-2: #4a4742;
  --qf-muted: #6b6760;
  --qf-placeholder: #3d3d3d;
  --qf-line: #e8e2d5;
  --qf-hover: #fafaf7;
  --qf-error: #e11d48;
  --qf-error-line: #fb7185;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: #fff; }
body {
  color: var(--qf-text);
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
.qf-main { max-width: 576px; width: 100%; margin: 0 auto; padding: 32px 16px; }

/* ---- form ---- */
.qf-form { display: grid; gap: 14px; }
.qf-field { position: relative; }
.qf-input {
  display: block; width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--qf-text);
  background: #fff;
  border: 0.5px solid var(--qf-ink); border-radius: 8px;
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .15s, box-shadow .15s;
}
.qf-input::placeholder { font-weight: 300; font-size: 15px; color: var(--qf-placeholder); opacity: 1; }
.qf-input:focus { box-shadow: 0 0 0 2px rgba(26, 24, 20, .10); }
select.qf-input {
  padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%236b6760' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'/%3E%3C/svg%3E") no-repeat right 14px center / 16px 16px;
}
select.qf-input:invalid { font-weight: 300; font-size: 15px; color: var(--qf-placeholder); }
select.qf-input option { color: var(--qf-text); font-weight: 400; }
.qf-field.has-error .qf-input,
.qf-field.has-error .qf-picker-btn { border-color: var(--qf-error-line); }
.qf-err { display: none; margin: 4px 0 0; font-size: 12px; color: var(--qf-error); }
.qf-field.has-error .qf-err { display: block; }

/* Honeypot — off screen for people, bots fill it. */
.qf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---- services multi-select ---- */
.qf-picker-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  width: 100%; padding: 12px 14px; text-align: left;
  font: inherit; font-size: 16px; line-height: 1.5; color: var(--qf-text);
  background: #fff; border: 0.5px solid var(--qf-ink); border-radius: 8px;
  cursor: pointer; transition: box-shadow .15s, border-color .15s;
}
.qf-picker-btn[aria-expanded="true"] { box-shadow: 0 0 0 2px rgba(26, 24, 20, .10); }
.qf-picker-btn:focus-visible { outline: none; box-shadow: 0 0 0 2px rgba(26, 24, 20, .18); }
.qf-picker-label.is-empty { font-weight: 300; font-size: 15px; color: var(--qf-placeholder); }
.qf-chev { width: 16px; height: 16px; flex: none; color: var(--qf-muted); transition: transform .15s; }
.qf-picker-btn[aria-expanded="true"] .qf-chev { transform: rotate(180deg); }
.qf-panel {
  margin-top: 6px; background: #fff;
  border: 0.5px solid var(--qf-ink); border-radius: 8px;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
  overflow: hidden;
}
/* No JS: the list stays open and the button (useless without JS) hides. */
.js .qf-panel:not(.is-open) { display: none; }
html:not(.js) .qf-picker-btn { display: none; }
html:not(.js) .qf-panel { margin-top: 0; }
.qf-opt {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; cursor: pointer; font-size: 15px; color: var(--qf-text);
  transition: background .12s;
}
.qf-opt + .qf-opt { border-top: 1px solid var(--qf-line); }
.qf-opt:hover { background: var(--qf-hover); }

.qf-check { width: 16px; height: 16px; margin: 0; flex: none; accent-color: var(--qf-ink); cursor: pointer; }

/* ---- SMS consent (A2P 10DLC wording — do not edit the text) ---- */
.qf-consent {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 4px;
  font-size: 14px; line-height: 1.625; color: var(--qf-text-2); cursor: pointer;
}
.qf-consent .qf-check { margin-top: 4px; }
.qf-consent b { font-weight: 600; }

/* ---- button ---- */
.qf-btn {
  display: block; margin: 26px auto 0;
  padding: 14px 40px;
  font: inherit; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; color: #fff;
  background: var(--qf-ink); border: 0; border-radius: 8px; cursor: pointer;
  transition: background .18s, box-shadow .18s;
}
.qf-btn:hover { background: var(--qf-ink-hover); box-shadow: 0 10px 15px -3px rgba(0,0,0,.25), 0 4px 6px -4px rgba(0,0,0,.25); }
.qf-btn:focus-visible { outline: 2px solid var(--qf-ink); outline-offset: 3px; }
.qf-btn:disabled { opacity: .6; cursor: not-allowed; box-shadow: none; }

/* ---- send failed ---- */
.qf-alert {
  margin: 0 0 18px; padding: 12px 16px;
  font-size: 14px; line-height: 1.5; color: #78350f;
  background: #fffbeb; border: 1px solid #fcd34d; border-radius: 8px;
}
.qf-alert a { color: inherit; font-weight: 700; }

/* ---- footer ---- */
.qf-foot { margin-top: 24px; padding-top: 16px; text-align: center; font-size: 13px; color: var(--qf-muted); }
.qf-foot a { color: inherit; text-decoration: none; transition: color .15s; }
.qf-foot a:hover { color: var(--qf-ink); text-decoration: underline; }
.qf-foot span { margin: 0 8px; color: #D6CFC0; }

/* ---- quick-quote (whole-house paid landing): its own warmer look ---- */
.qf--quick .qf-main { padding: 24px 16px; }
.qf--quick .qf-input { padding: 13px 14px; font-size: 15px; background: #faf7f0; color: #1f1b16; border: 1.5px solid #d6cfc0; }
.qf--quick .qf-input:focus { border-color: #4a4238; box-shadow: none; }
.qf--quick .qf-field.has-error .qf-input { border-color: #c8102e; }
.qf--quick select.qf-input { background-color: #faf7f0; }
.qf--quick .qf-consent { font-size: 12.5px; line-height: 1.4; color: #6b6457; margin-top: 0; }
.qf--quick .qf-consent .qf-check { margin-top: 2px; }
.qf--quick .qf-btn { width: 100%; margin-top: 4px; padding: 14px 28px; background: #c8102e; letter-spacing: 0; }
.qf--quick .qf-btn:hover { background: #a00c24; box-shadow: none; }
.qf-note { margin: 0; font-size: 12.5px; color: #6b6457; }

/* ---- thank-you ---- */
.qf-ty { padding: 40px 0; text-align: center; }
.qf-ty-check {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%;
  background: var(--qf-ink); color: #fff; display: flex; align-items: center; justify-content: center;
}
.qf-ty-check svg { width: 32px; height: 32px; }
.qf-ty h1 { margin: 0 0 20px; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; color: var(--qf-text); }
.qf-ty p { max-width: 448px; margin: 0 auto 20px; font-size: 16px; line-height: 1.625; color: var(--qf-text-2); }
.qf-ty p.qf-ty-small { font-size: 14px; color: var(--qf-muted); }
.qf-ty a { font-weight: 600; color: var(--qf-ink); text-decoration: none; }
.qf-ty a:hover { text-decoration: underline; }
