/*
 * v18-forms.css · the look of the V18 lead forms (round 20, 24.11.2026; markup build_v18_forms.py, behaviour
 * v18-forms.js). V18 type and palette: white card, house radius, navy labels, fields of 48px (taps of 44 and up),
 * a blue focus ring, the dark pill as the button, the house mono for the small label. Quiet on the approved pages.
 * Check: /contact, any solution page and the home page with ?forms=dry, at 1440 and 375.
 */
.fm-sec{max-width:var(--w,1320px);margin:0 auto;padding:clamp(48px,5vw,88px) var(--g,24px)}
.fm-card{box-sizing:border-box;max-width:760px;padding:clamp(24px,3vw,44px);border-radius:28px;background:#fff;box-shadow:0 0 0 1px #dfe4ee,0 30px 70px -40px rgba(10,43,109,.35)}
.fm-card2{max-width:none;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.4fr);gap:24px clamp(28px,4vw,72px);align-items:start;background:#f5f8fd;box-shadow:none}
.fm-k{margin:0 0 10px;font:500 12px/1.3 var(--mono,ui-monospace,monospace);letter-spacing:.12em;text-transform:uppercase;color:var(--blue,#1f63d6)}
.fm-card h2,.fm-intro h2{margin:0 0 20px;font-size:clamp(26px,2.6vw,40px);line-height:1.08;letter-spacing:-.035em;font-weight:600;color:var(--navy,#0a2b6d);text-wrap:balance}
.fm-lede{margin:0;font-size:18px;line-height:1.5;color:#2c3a58}
.fm{display:grid;gap:14px}
.fm-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.fm-f{display:flex;flex-direction:column;gap:6px;min-width:0}
.fm-f label{font-size:15px;font-weight:600;color:var(--navy,#0a2b6d)}
.fm-opt{font-weight:400;color:#46546f}
.fm-req{color:var(--blue,#1f63d6)}
.fm input[type=text],.fm input[type=email],.fm input[type=tel],.fm select,.fm textarea{box-sizing:border-box;width:100%;min-height:48px;padding:12px 14px;border-radius:12px;border:1.5px solid #c9d3e6;background:#fff;font:400 16px/1.4 var(--sans,system-ui,sans-serif);color:var(--navy,#0a2b6d)}
.fm textarea{resize:vertical;min-height:110px}
.fm input:focus-visible,.fm select:focus-visible,.fm textarea:focus-visible{outline:3px solid var(--blue,#1f63d6);outline-offset:1px;border-color:var(--blue,#1f63d6)}
.fm-consent{display:flex;align-items:flex-start;gap:10px;min-height:44px;font-size:15px;line-height:1.45;color:#2c3a58;cursor:pointer}
.fm-consent input{flex:none;width:20px;height:20px;margin:2px 0 0;accent-color:var(--blue,#1f63d6)}
.fm-consent a{color:var(--blue,#1f63d6);font-weight:600}
.fm-send{justify-self:start;min-height:48px;border:0;cursor:pointer;font-size:16px}
.fm-send[disabled]{opacity:.55;cursor:not-allowed}
.fm-err{margin:0;font-size:15px;line-height:1.5;color:#b3261e}
.fm-err a,.fm-done a{color:var(--blue,#1f63d6);font-weight:600}
.fm-trap{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important}
.fm-cf:empty{display:none}
.fm-done h3{margin:0 0 8px;font-size:24px;letter-spacing:-.02em;color:var(--navy,#0a2b6d)}
.fm-done p{margin:0 0 16px;font-size:17px;line-height:1.5;color:#2c3a58}
.fm-ghost{min-height:44px;padding:0 20px;border-radius:999px;border:1.5px solid var(--navy,#0a2b6d);background:#fff;color:var(--navy,#0a2b6d);font:600 15px/1 var(--sans,system-ui,sans-serif);cursor:pointer}
.fm-ghost:focus-visible,.fm-send:focus-visible{outline:3px solid var(--blue,#1f63d6);outline-offset:3px}
.fm-dry{margin:16px 0 0;padding:14px;border-radius:12px;background:#0a2b6d;color:#e9f0ff;font:500 12.5px/1.5 var(--mono,ui-monospace,monospace);white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto}
/* The home page's subscribe block keeps its own look (v18.css .lb-sub); only the new parts are styled here. */
.fm-sub .fm-consent-s{font-size:14px;font-weight:400;letter-spacing:0;min-height:44px}
.fm-msg{margin:0;font-size:15px}.fm-msg.is-ok{color:#0e7146}.fm-msg.is-err{color:#b3261e}
.fm-sub.is-done div:first-of-type{opacity:.55;pointer-events:none}
@media (max-width:900px){.fm-card2{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.fm-2{grid-template-columns:minmax(0,1fr)}.fm-send{justify-self:stretch}}
/* The hidden attribute wins over the grid of a form and its states (the success swap). */
.fm[hidden],.fm-done[hidden],.fm-err[hidden],.fm-dry[hidden]{display:none!important}
/* Round 21 (24.11.2026, lead methodology): the button row with the quiet booking door, the "More details" fold,
   the next step after success, the Pricing quote form, the Gap check report form, the quiet subscribe blocks at
   article ends and in the footer. */
.fm-acts{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0}
.fm-acts .fm-send{justify-self:auto}
.fm-quiet{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;color:var(--navy,#0a2b6d);font-weight:600;font-size:16px;text-decoration:underline;text-decoration-color:rgba(10,43,109,.35);text-underline-offset:4px}
.fm-quiet:hover{text-decoration-color:currentColor}
.fm-quiet:focus-visible,.fm-more summary:focus-visible{outline:3px solid var(--blue,#1f63d6);outline-offset:3px;border-radius:6px}
.fm-more{border-top:1px solid #dfe4ee;padding-top:4px}
.fm-more summary{display:flex;align-items:center;min-height:44px;cursor:pointer;font-size:15px;font-weight:600;color:var(--navy,#0a2b6d);list-style:none}
.fm-more summary::-webkit-details-marker{display:none}
.fm-more summary:after{content:"+";margin-left:10px;font:500 18px/1 var(--mono,ui-monospace,monospace);color:var(--blue,#1f63d6)}
.fm-more[open] summary:after{content:"−"}
.fm-more-in{display:grid;gap:14px;padding:6px 0 4px}
.fm-next{margin:0}
.fm-book{display:inline-flex;align-items:center;min-height:48px;text-decoration:none}
.fm-quote,.fm-gap{box-sizing:border-box;margin:40px 0 8px;padding:clamp(22px,3vw,36px);border-radius:24px;background:#f5f8fd}
.fm-quote h2,.fm-gap h3{margin:0 0 18px;font-size:clamp(24px,2.2vw,32px);line-height:1.1;letter-spacing:-.03em;font-weight:600;color:var(--navy,#0a2b6d)}
.fm-gap .fm-lede{margin:-6px 0 18px;font-size:16px}
.fm-quote .fm-f label,.fm-gap .fm-f label{margin:0}
.fm-gap[hidden]{display:none}
.fm-end{max-width:var(--w,1320px);margin:0 auto;padding:clamp(40px,5vw,72px) var(--g,24px)}
.fm-end > div{max-width:760px;padding:clamp(22px,3vw,36px);border-radius:24px;background:#f5f8fd}
.fm-sub-end label{font-size:clamp(22px,2vw,28px)}
/* Footer: the same form on the dark footer, quiet. */
.fm-sub-foot{max-width:620px;gap:10px}
.fm-sub-foot label{font-size:18px;font-weight:600;letter-spacing:-.01em;color:#fff}
.fm-sub-foot input{height:48px;font-size:16px;background:#0b1a40;border-color:rgba(160,190,255,.45);color:#fff}
.fm-sub-foot input::placeholder{color:#9fb3d9}
.fm-sub-foot button{height:48px;font-size:16px;background:#fff;color:#0a2b6d}
.fm-sub-foot .fm-consent,.fm-sub-foot small{color:#c7d6f0;font-size:14px}
.fm-sub-foot .fm-consent a{color:#9fc6ff}
.fm-sub-foot .fm-msg.is-ok{color:#7fe0b0}.fm-sub-foot .fm-msg.is-err{color:#ffb4ab}
.fm-sub-foot button:focus-visible,.fm-sub-foot input:focus-visible{outline:3px solid #9fc6ff;outline-offset:2px}
