/* ==========================================================================
 * Extreme forms — the multi-step engine (quote request, contact).
 *
 * A white card with the logo's slanted corner: "Step 1 of 4" over a progress
 * bar in the logo's arc gradient, one wide italic uppercase question per
 * step, service tiles with a radio dot on the left (amber for extreme
 * cleaning), answer chips as pills (red for an emergency), 52px fields, a
 * green slanted Continue button and Back as plain text.
 *
 * The Continue label is set by the script (textContent), so its slant is a
 * skewed ::before layer behind straight text, not a skewed button.
 * Text elements carry .exf so their margins outrank `.ex p/h3/ul { margin: 0 }`.
 * ======================================================================== */

.exf {
	--exf-brand: var(--ex-brand, #244688);
	--exf-ink: var(--ex-ink-text, #0d1830);
	--exf-dim: var(--ex-ink-dim, #46536f);
	--exf-line: var(--ex-line-light, #dde3ee);
	--exf-soft: #f0f4fb;
	--exf-bad: #b5473a;
	--exf-cut: var(--ex-cut, 22px);
	--exf-ease: var(--ex-ease, cubic-bezier(.2, .7, .2, 1));
	position: relative; display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 520px;
	scroll-margin-top: 100px; border-radius: 4px; background: #fff; overflow: hidden;
	clip-path: polygon(0 0, calc(100% - var(--exf-cut)) 0, 100% var(--exf-cut), 100% 100%, 0 100%);
	font: 400 16px/1.55 var(--ex-font, "Mona Sans", system-ui, sans-serif); color: var(--exf-ink); text-align: left;
}
.exf.is-single { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.exf *, .exf *::before, .exf *::after { box-sizing: border-box; }
.exf svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.exf__sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* rail (pop-up only; the inline quote form hides it) */
.exf__rail { position: relative; display: flex; flex-direction: column; gap: 26px; padding: 34px 26px; background: var(--ex-ink, #070f22); color: var(--ex-text-dim, #b3c0dc); }
.exf .exf__rail-h { margin: 0; font-size: 22px; font-weight: 850; font-stretch: 115%; font-style: italic; line-height: 1.05; text-transform: uppercase; color: #fff; }
.exf .exf__nav { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.exf__nav li { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 12px; padding: 8px 0; font-size: 14px; line-height: 1.3; color: rgba(255, 255, 255, .5); }
.exf__nav li.is-open { cursor: pointer; }
.exf__nav li i { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; font-size: 12px; font-style: normal; font-weight: 700; }
.exf__nav li.is-done { color: rgba(255, 255, 255, .8); }
.exf__nav li.is-done i { border-color: var(--ex-green, #7ccc45); background: var(--ex-green, #7ccc45); color: var(--ex-green-ink, #0a2410); }
.exf__nav li.is-on { color: #fff; font-weight: 600; }
.exf__nav li.is-on i { border-color: #fff; background: #fff; color: var(--exf-ink); }
.exf .exf__trust { display: grid; gap: 10px; margin: auto 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .14); list-style: none; font-size: 13.5px; }
.exf__trust li { display: flex; gap: 10px; }
.exf__trust li::before { content: ""; flex: none; width: 14px; height: 8px; margin-top: 5px; border-left: 2px solid var(--ex-green, #7ccc45); border-bottom: 2px solid var(--ex-green, #7ccc45); transform: rotate(-45deg); }

/* panel */
.exf__form { position: relative; display: flex; flex-direction: column; min-width: 0; padding: clamp(22px, 3vw, 36px); }
.exf__top { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
/* "Step 2 of 2": kept for screen readers (aria-live), not shown; the bar shows progress */
.exf__count { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.exf__saved { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 12.5px; font-weight: 600; color: #1e7a4c; white-space: nowrap; }
.exf__saved[hidden] { display: none; }
.exf__saved::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* the bar sits on the step row when the engine prints it inside .exf__top, below it otherwise */
.exf__bar { display: block; flex: 1; height: 5px; margin: -14px 0 26px; border-radius: 5px; background: #e7ebf3; overflow: hidden; }
.exf__top .exf__bar { margin: 0; }
/* directly in the form's column, flex: 1 made it 0px tall (desktop, phone) or tall (tablet) */
.exf__form > .exf__bar { flex: none; }
.exf__bar b { display: block; height: 100%; width: 25%; border-radius: inherit; background: var(--ex-arc, linear-gradient(90deg, #2a54a6, #55b4e8, #72c33c)); transition: width .4s var(--exf-ease); }
.exf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.exf__step { min-width: 0; margin: 0; padding: 0; border: 0; }
.exf__step[hidden] { display: none; }
.exf__step.in-next { animation: exf-in-next .35s var(--exf-ease); }
.exf__step.in-prev { animation: exf-in-prev .35s var(--exf-ease); }
@keyframes exf-in-next { from { opacity: 0; transform: translateX(12px); } }
@keyframes exf-in-prev { from { opacity: 0; transform: translateX(-12px); } }
.exf .exf__h { display: block; float: none; width: 100%; margin: 0 0 22px; padding: 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 850; font-stretch: 115%; font-style: italic; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; color: var(--exf-ink); outline: none; }
.exf .exf__help { margin: -10px 0 22px; max-width: 56ch; color: var(--exf-dim); }
.exf__fields { display: flex; flex-wrap: wrap; gap: 18px 12px; }
.exf__f { flex: 1 1 100%; min-width: 0; }
.exf__f.is-half { flex: 1 1 calc(50% - 6px); }
.exf__f[hidden], .exf__sub[hidden] { display: none; }
.exf .exf__label { display: block; margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--exf-ink); }
.exf .exf__fhelp { margin: -4px 0 10px; font-size: 13.5px; color: var(--exf-dim); }
.exf .exf__opt-tag { font-weight: 400; color: var(--exf-dim); }
.exf input[type=text], .exf input[type=email], .exf input[type=tel], .exf textarea, .exf select { width: 100%; height: 52px; margin: 0; padding: 0 14px; border: 1.5px solid var(--exf-line); border-radius: 4px; background: #fff; box-shadow: none; font: 400 16px/1.4 var(--ex-font, sans-serif); color: var(--exf-ink); transition: border-color .2s; }
.exf textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; }
.exf input::placeholder, .exf textarea::placeholder { color: #7a869f; }
.exf input:focus, .exf textarea:focus, .exf select:focus { outline: 2px solid var(--exf-brand); outline-offset: 1px; border-color: var(--exf-brand); }
.exf__f--postcode input { letter-spacing: .03em; text-transform: uppercase; }
.exf__f--postcode input::placeholder { text-transform: none; }
.exf__f.is-bad input, .exf__f.is-bad textarea, .exf__f.is-bad select { border-color: var(--exf-bad); }
.exf .exf__ferr { margin: 8px 0 0; font-size: 13.5px; font-weight: 600; color: var(--exf-bad); }
.exf__ferr[hidden], .exf__note[hidden], .exf .exf__pc[hidden] { display: none; }
.exf .exf__pc { display: flex; gap: 8px; margin: 8px 0 0; font-size: 13.5px; }
.exf__pc.is-in { color: #1e7a4c; }
.exf__pc.is-out { color: #9a5b00; }

/* choices: list rows and tiles carry a radio dot on the left */
.exf__opts { display: grid; gap: 12px; }
.exf__opt { position: relative; display: block; margin: 0; cursor: pointer; }
.exf__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.exf__opt span { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px 20px 18px 56px; border: 1.5px solid var(--exf-line); border-radius: 4px; background: #fff; color: var(--exf-ink); transition: border-color .2s, background-color .2s, color .2s; }
.exf__opt b { font-size: 18px; font-weight: 700; line-height: 1.3; }
.exf__opt small { font-size: 14px; line-height: 1.4; color: var(--exf-dim); }
.exf__opt span > svg { display: none; }
.exf__opt span > i { position: absolute; left: 20px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border: 2px solid #b9c3d6; border-radius: 50%; background: #fff; transition: border-color .2s, background .2s; }
.exf__f[data-multi="1"] .exf__opt span > i { border-radius: 4px; }
.exf__opt:hover span { border-color: var(--exf-brand); }
.exf__opt input:focus-visible + span { outline: 2px solid var(--exf-brand); outline-offset: 2px; }
.exf__opt input:checked + span { border-color: var(--exf-brand); background: var(--exf-soft); }
.exf__opt input:checked + span > i { border-color: var(--exf-brand); background: radial-gradient(circle, var(--exf-brand) 0 5px, #fff 6px); }
.exf__f[data-multi="1"] .exf__opt input:checked + span > i { background: var(--exf-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.exf__opt--extreme input:checked + span { border-color: #c98a00; background: #fff8e6; }
.exf__opt--extreme input:checked + span > i { border-color: #c98a00; background: radial-gradient(circle, #c98a00 0 5px, #fff 6px); }
.exf__f--tiles .exf__opts, .exf__f--list .exf__opts { grid-template-columns: minmax(0, 1fr); }

/* chips: pills */
.exf__f--chips .exf__opts, .exf__f--row .exf__opts { display: flex; flex-wrap: wrap; gap: 10px; }
.exf__f--chips .exf__opt span, .exf__f--row .exf__opt span { display: inline-block; padding: 11px 18px; border-radius: 999px; }
.exf__f--chips .exf__opt span > i, .exf__f--row .exf__opt span > i, .exf__f--chips .exf__opt small, .exf__f--row .exf__opt small { display: none; }
.exf__f--chips .exf__opt b, .exf__f--row .exf__opt b { font-size: 15px; font-weight: 600; }
.exf__f--chips .exf__opt input:checked + span, .exf__f--row .exf__opt input:checked + span { background: var(--exf-brand); border-color: var(--exf-brand); color: #fff; }
.exf__f--chips .exf__opt--emergency input:checked + span, .exf__f--row .exf__opt--emergency input:checked + span { background: var(--ex-red, #c62f2a); border-color: var(--ex-red, #c62f2a); }
.exf__f--row { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: center; gap: 8px 18px; padding-bottom: 16px; border-bottom: 1px solid var(--exf-line); }
.exf .exf__f--row .exf__label { margin: 0; }
.exf .exf__f--row .exf__ferr { grid-column: 2; margin: 0; }
.exf .exf__group { margin: 14px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--exf-dim); }

/* notes under an answer; an emergency note is the red alert */
.exf .exf__note { display: flex; gap: 12px; align-items: flex-start; margin: 16px 0 0; padding: 14px 16px; border-radius: 4px; background: #fff8e6; font-size: 15px; color: #6b4a00; max-width: 64ch; }
.exf .exf__note--emergency { background: #fdecea; color: #7a1712; }
.exf .exf__note--emergency::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 9v4M12 17h.01M10.3 3.9 1.8 18a2 2 0 0 0 1.7 3h17a2 2 0 0 0 1.7-3L13.7 3.9a2 2 0 0 0-3.4 0z'/%3E%3C/svg%3E") center / contain no-repeat; }

/* consent */
/* line-height 1.5 = 22.5px, so the 22px box sits level with the first line */
.exf__check { position: relative; display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 15px; line-height: 1.5; color: var(--exf-ink); }
.exf__check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.exf__check i { flex: none; width: 22px; height: 22px; margin-top: 0; border: 2px solid #b9c3d6; border-radius: 4px; transition: background-color .2s, border-color .2s; }
.exf__check input:checked + i { border-color: var(--exf-brand); background: var(--exf-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4L18 8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.exf__check input:focus-visible + i { outline: 2px solid var(--exf-brand); outline-offset: 2px; }
.exf__check a { color: var(--exf-brand); text-decoration: underline; }
.exf__f.is-bad .exf__check i { border-color: var(--exf-bad); }
/* one-line switch (layout "toggle"): text left, switch right */
.exf__check--toggle { align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 8px 14px 8px 16px; border: 1.5px solid var(--exf-line); border-radius: 4px; background: #fff; font-weight: 500; }
.exf__check--toggle span { flex: 1 1 auto; min-width: 0; }
.exf__check--toggle i { position: relative; width: 46px; height: 28px; border: 0; border-radius: 99px; background: #c9d1e0; }
.exf__check--toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(7, 15, 34, .3); transition: transform .2s; }
.exf__check--toggle input:checked + i { border: 0; background: var(--exf-brand); }
.exf__check--toggle input:checked + i::after { transform: translateX(18px); }
.exf__check--toggle:has(input:checked) { border-color: var(--exf-brand); }
.exf__f.is-bad .exf__check--toggle { border-color: var(--exf-bad); }
.exf__f--toggle + .exf__f--toggle { margin-top: -8px; }

/* uploads: dashed drop box */
.exf__drop { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 96px; padding: 16px; border: 2px dashed #c2cbdc; border-radius: 4px; background: #fff; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.exf__drop:hover, .exf__drop.is-over { border-color: var(--exf-brand); background: var(--exf-soft); }
.exf__drop svg { width: 24px; height: 24px; color: var(--exf-brand); }
.exf__drop b { font-size: 15px; font-weight: 600; color: var(--exf-ink); }
.exf__drop small { font-size: 12.5px; color: var(--exf-dim); }
.exf__drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.exf__f.is-bad .exf__drop { border-color: var(--exf-bad); }
.exf__cat { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; font-size: 14px; color: var(--exf-dim); }
.exf__cat[hidden] { display: none; }
.exf .exf__cat select { width: auto; height: 42px; font-size: 14px; }
.exf .exf__files { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.exf__files li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 10px; border: 1.5px solid var(--exf-line); border-radius: 4px; }
.exf__files li.is-busy { opacity: .7; }
.exf__ext { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 4px; background: var(--exf-soft); font-size: 10.5px; font-style: normal; font-weight: 700; color: var(--exf-brand); }
.exf__files span { display: grid; min-width: 0; }
.exf__files span b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--exf-ink); }
.exf__files small { font-size: 12.5px; color: var(--exf-dim); }
.exf .exf__files button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--exf-dim); cursor: pointer; }
.exf .exf__files button:hover { background: var(--exf-soft); color: var(--exf-ink); }
.exf__files button svg { width: 16px; height: 16px; }
.exf__prog { display: block; width: 60px; height: 4px; border-radius: 2px; background: var(--exf-line); overflow: hidden; }
.exf__prog b { display: block; width: 0; height: 100%; background: var(--exf-brand); transition: width .2s; }

/* errors and buttons */
.exf .exf__err { margin: 20px 0 0; padding: 12px 14px; border-radius: 4px; background: #fdecea; font-size: 14.5px; color: #7a1712; }
.exf__err[hidden] { display: none; }
.exf__nav-btns { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 24px; }
.exf .exf__back { height: auto; min-height: 48px; padding: 12px 8px; border: 0; background: none; box-shadow: none; font: 600 16px/1 var(--ex-font, sans-serif); letter-spacing: 0; text-transform: none; color: var(--exf-dim); cursor: pointer; }
.exf .exf__back:hover, .exf .exf__back:focus-visible { background: none; color: var(--exf-ink); }
.exf__back[hidden] { display: none; }
.exf .exf__next { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-left: auto; height: 56px; padding: 0 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: 700 16px/1 var(--ex-font, sans-serif); font-stretch: 108%; letter-spacing: 0; text-transform: none; color: var(--ex-green-ink, #0a2410); cursor: pointer; white-space: nowrap; }
.exf .exf__next::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: var(--ex-green, #7ccc45); transform: skewX(-10deg); transition: background-color .2s; }
.exf .exf__next:hover, .exf .exf__next:focus-visible { background: transparent; color: var(--ex-green-ink, #0a2410); }
.exf .exf__next:hover::before, .exf .exf__next:focus-visible::before { background: var(--ex-green-hi, #94dc62); }
.exf .exf__next:focus-visible { outline: 2px solid var(--exf-brand); outline-offset: 4px; }
.exf__next::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.exf.is-busy .exf__next { pointer-events: none; opacity: .65; }
.exf.is-busy .exf__next::after { -webkit-mask: none; mask: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; background: none; animation: exf-spin .7s linear infinite; }
@keyframes exf-spin { to { transform: rotate(360deg); } }
.exf__later { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--exf-line); font-size: 14px; }
.exf .exf__later-btn { padding: 0; border: 0; background: none; font: 500 14px var(--ex-font, sans-serif); color: var(--exf-brand); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.exf .exf__later-btn:hover, .exf .exf__later-btn:focus { background: none; color: var(--exf-ink); }
.exf__later-row { display: flex; gap: 8px; margin-top: 10px; max-width: 460px; }
.exf__later-row[hidden] { display: none; }
.exf .exf__later-row input { height: 44px; }
.exf .exf__later-row button { flex: none; padding: 0 16px; border: 1.5px solid var(--exf-brand); border-radius: 4px; background: #fff; font: 600 14px var(--ex-font, sans-serif); color: var(--exf-brand); cursor: pointer; }
.exf .exf__later-msg { margin: 8px 0 0; color: var(--exf-dim); }
.exf__later-msg:empty { display: none; }

/* done: centred, big slanted reference */
.exf__done { padding-top: 40px; text-align: center; animation: exf-in-next .4s var(--exf-ease); }
.exf__done[hidden] { display: none; }
.exf__done-ic { display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px; background: var(--ex-green, #7ccc45); color: var(--ex-green-ink, #0a2410); transform: skewX(-8deg); }
.exf__done-ic svg { width: 30px; height: 30px; stroke-width: 2.6; transform: skewX(8deg); }
.exf .exf__ref { display: inline-block; margin: 0 0 22px; padding: 8px 22px; border: 2px solid var(--exf-brand); font-size: 40px; font-weight: 880; font-stretch: 125%; font-style: italic; line-height: 1.1; color: var(--exf-brand); transform: skewX(-8deg); }
.exf .exf__ref:empty { display: none; }
.exf__done .exf__h { margin-bottom: 8px; font-size: 24px; font-style: normal; font-stretch: 100%; font-weight: 800; text-transform: none; }
.exf__done-text { color: var(--exf-dim); }
.exf .exf__done-text p { margin: 0 auto 10px; max-width: 52ch; }
.exf .exf__done-text ol { display: grid; margin: 12px auto 0; padding: 0; max-width: 520px; list-style: none; counter-reset: d; text-align: left; }
.exf__done-text li { counter-increment: d; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--exf-line); }
.exf__done-text li::before { content: counter(d); flex: none; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--exf-soft); font-size: 12px; font-weight: 700; color: var(--exf-brand); }
.exf__done-note { max-width: 520px; margin: 22px auto 0; padding: 16px 18px; border-radius: 4px; background: var(--exf-soft); text-align: left; }
.exf .exf__done-note p { margin: 0; color: var(--exf-ink); }
.exf.is-done .exf__nav-btns, .exf.is-done .exf__later, .exf.is-done .exf__top, .exf.is-done .exf__bar { display: none; }

/* optional step skip, opening screen, sub-headings, repeated blocks (engine features) */
.exf .exf__skip { display: inline-flex; align-items: center; gap: 10px; margin: -8px 0 20px; padding: 10px 16px; border: 1.5px solid var(--exf-brand); border-radius: 999px; background: #fff; font: 600 14.5px/1.3 var(--ex-font, sans-serif); color: var(--exf-brand); cursor: pointer; }
.exf .exf__skip:hover, .exf .exf__skip:focus-visible { background: var(--exf-brand); color: #fff; }
.exf__skip svg { width: 18px; height: 18px; flex: none; }
.exf.is-intro .exf__step, .exf.is-intro .exf__nav-btns, .exf.is-intro .exf__top, .exf.is-intro .exf__bar, .exf.is-intro .exf__later, .exf.is-intro .exf__err { display: none; }
.exf__intro { display: none; }
.exf.is-intro .exf__intro { display: block; }
.exf .exf__intro-text p { margin: 0 0 12px; color: var(--exf-dim); }
.exf .exf__intro-pts { display: grid; gap: 10px; margin: 22px 0 26px; padding: 0; list-style: none; }
.exf__intro-pts li { font-weight: 600; }
.exf .exf__start { position: relative; isolation: isolate; height: 56px; padding: 0 28px; border: 0; background: transparent; font: 700 16px/1 var(--ex-font, sans-serif); color: var(--ex-green-ink, #0a2410); cursor: pointer; }
.exf .exf__start::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 3px; background: var(--ex-green, #7ccc45); transform: skewX(-10deg); }
.exf__sub { flex: 1 1 100%; margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--exf-line); }
.exf__fields > .exf__sub:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.exf .exf__sub-h { margin: 0; font-size: 18px; font-weight: 700; color: var(--exf-ink); }
.exf .exf__sub-t { margin: 6px 0 0; color: var(--exf-dim); }
.exf__items { display: grid; gap: 14px; }
.exf__item { padding: 18px; border: 1.5px solid var(--exf-line); border-radius: 4px; }
.exf__item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.exf .exf__item-h { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--exf-brand); }
.exf__item-fields { display: flex; flex-wrap: wrap; gap: 14px 12px; }
.exf .exf__remove, .exf .exf__add { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1.5px solid var(--exf-line); border-radius: 999px; background: #fff; font: 600 13.5px/1.2 var(--ex-font, sans-serif); color: var(--exf-ink); cursor: pointer; }
.exf .exf__add { margin-top: 12px; border-style: dashed; border-color: var(--exf-brand); color: var(--exf-brand); }
.exf__remove svg, .exf__add svg { width: 15px; height: 15px; flex: none; }
.exf__remove[hidden], .exf__add[hidden] { display: none; }

/* ═════════ pop-up: quote form in a dialog (desktop card, full-height sheet on phones) ═════════ */
html.expop-lock, html.expop-lock body { overflow: hidden; }
.expop { position: fixed; inset: 0; z-index: 99990; display: grid; place-items: center; padding: 24px; }
.expop[hidden] { display: none; }
.expop__scrim { position: absolute; inset: 0; background: rgba(4, 9, 22, .78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.expop.is-open .expop__scrim { opacity: 1; }
.expop__panel { position: relative; display: flex; flex-direction: column; width: min(1100px, 100%); height: min(800px, calc(100dvh - 48px)); background: #fff; overflow: hidden; outline: none; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .7); clip-path: polygon(0 0, calc(100% - var(--ex-cut, 22px)) 0, 100% var(--ex-cut, 22px), 100% 100%, 0 100%); opacity: 0; transform: translateY(28px) scale(.98); transition: opacity .3s, transform .45s var(--ex-ease, ease); }
.expop.is-open .expop__panel { opacity: 1; transform: none; }

.expop__head { position: relative; flex: none; display: flex; align-items: center; gap: 20px; padding: 16px 20px 16px 26px; background: var(--ex-ink, #070f22); color: #fff; }
.expop__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--ex-arc); }
.expop .expop__logo { flex: none; width: auto; max-width: none; height: 40px; }
.expop__title { min-width: 0; padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .16); }
.ex .expop__h { margin: 0; font: italic 850 24px/1 var(--ex-font); font-stretch: 118%; text-transform: uppercase; color: #fff; }
.ex .expop__sub { margin: 4px 0 0; font-size: 13.5px; color: var(--ex-text-dim, #b3c0dc); }
.ex .expop__sub--offer { display: flex; align-items: center; gap: 7px; margin-top: 6px; font-weight: 700; line-height: 1.25; color: var(--ex-green-hi, #94dc62); }
.ex .expop__sub--offer b { display: grid; place-items: center; flex: none; width: 20px; height: 20px; background: var(--ex-green, #7ccc45); font-size: 12px; font-weight: 900; font-style: italic; color: var(--ex-green-ink, #0a2410); transform: skewX(-12deg); }
.expop__call { display: flex; align-items: center; gap: 10px; margin-left: auto; font-weight: 800; font-stretch: 108%; white-space: nowrap; color: #fff; }
.expop__call i { width: 9px; height: 9px; border-radius: 50%; background: var(--ex-green); animation: ex-pulse 2.2s infinite; }
.expop__call span { display: flex; flex-direction: column; line-height: 1.15; }
.expop__call small { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ex-green); }
.expop .expop__x { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background-color .2s, transform .3s var(--ex-ease); }
.expop .expop__x:hover, .expop .expop__x:focus-visible { background: rgba(255, 255, 255, .1); transform: rotate(90deg); }
.expop__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.expop__call + .expop__x { margin-left: 4px; }
.expop__title + .expop__x { margin-left: auto; }

.ex .expop__offer { flex: none; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 26px; background: linear-gradient(90deg, #8fdc58, var(--ex-green)); font-size: 14.5px; font-weight: 700; color: var(--ex-green-ink, #0a2410); }
.expop__offer b { display: grid; place-items: center; flex: none; width: 28px; height: 28px; background: var(--ex-green-ink, #0a2410); font-size: 15px; font-weight: 900; font-style: italic; color: var(--ex-green-hi, #94dc62); transform: skewX(-12deg); }

.expop__body { display: flex; flex: 1; min-height: 0; overflow: hidden; }
.expop .exf { flex: 1; height: 100%; min-height: 0; clip-path: none; border-radius: 0; }
.expop .exf__rail { padding-top: 30px; }
.expop .exf__form { min-height: 0; overflow: auto; overscroll-behavior: contain; }
/* the bar has flex: 1 for the inline layout's row; in the scrolling column it would grow tall */
.expop .exf__form > .exf__bar { flex: none; }

/* ═════════ responsive ═════════ */
@media (max-width: 960px) {
	.exf { grid-template-columns: minmax(0, 1fr); }
	.exf__rail { display: none; }
}
@media (max-width: 640px) {
	.exf { min-height: 0; }
	.exf__form { padding: 22px 18px; }
	.exf__f.is-half { flex-basis: 100%; }
	.exf__f--row { grid-template-columns: 1fr; }
	.exf .exf__f--row .exf__ferr { grid-column: 1; }
	.exf__opt b { font-size: 17px; }
	.exf__opt span { padding: 16px 16px 16px 52px; }
	.exf__opt span > i { left: 18px; }
	/* phones: a full-height sheet that slides up */
	.expop { padding: 0; place-items: stretch; }
	.expop__panel { width: 100%; height: 100%; height: 100dvh; clip-path: none; box-shadow: none; opacity: 1; transform: translateY(100%); transition: transform .42s var(--ex-ease, ease); }
	.expop.is-open .expop__panel { transform: none; }
	.expop__head { gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) 12px 10px 16px; }
	.expop .expop__logo { height: 30px; }
	.expop__title { padding-left: 12px; }
	.ex .expop__h { font-size: 19px; }
	.ex .expop__sub { font-size: 12px; }
	.expop__call { display: none; }
	.ex .expop__offer { padding: 9px 16px; font-size: 13px; line-height: 1.3; }
	.expop .exf__form { padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
	.exf *, .expop * { animation: none !important; transition: none !important; }
}

/* Site address look-up (ex-address.js): suggestions under the field */
.exf [data-key="address"] { position: relative; }
.exf__geo { position: absolute; left: 0; right: 0; z-index: 20; margin: 4px 0 0; padding: 4px 0; list-style: none; background: #fff; border: 1.5px solid var(--exf-ink); border-radius: 4px; box-shadow: 0 14px 34px -12px rgba(7, 15, 34, .35); max-height: 300px; overflow-y: auto; }
.exf__geo[hidden] { display: none; }
.exf__geo li { display: flex; flex-direction: column; gap: 1px; min-height: 48px; justify-content: center; margin: 0; padding: 8px 14px; cursor: pointer; line-height: 1.3; }
.exf__geo li b { font-weight: 600; color: var(--exf-ink); }
.exf__geo li span { font-size: 14px; color: var(--exf-dim); }
.exf__geo li:hover, .exf__geo li[aria-selected="true"] { background: var(--exf-soft); }
.exf__geo li.exf__geo-by { display: block; min-height: 0; padding: 4px 14px 2px; cursor: default; font-size: 11px; color: #8a94a8; text-align: right; background: none; }
.exf__geo-by a { color: inherit; }
