/*
 * Micro Filer Core — component styles.
 * Uses theme.json presets when present (--wp--preset--*), with accessible fallbacks
 * so the components remain usable under any theme.
 */
:root {
	--mf-ink: var(--wp--preset--color--ink, #0e2a3b);
	--mf-text: var(--wp--preset--color--text, #1a1f24);
	--mf-muted: var(--wp--preset--color--muted, #5b6b75);
	--mf-action: var(--wp--preset--color--action, #00729c);
	--mf-action-strong: var(--wp--preset--color--action-strong, #0b5c7a);
	--mf-brand: var(--wp--preset--color--brand, #00b0f0);
	--mf-tint: var(--wp--preset--color--brand-tint, #e6f7fd);
	--mf-line: var(--wp--preset--color--line, #d5dce0);
	--mf-subtle: var(--wp--preset--color--subtle, #f5f7f6);
	--mf-surface: var(--wp--preset--color--surface, #fff);
	--mf-on-ink: var(--wp--preset--color--on-ink, #fff);
	--mf-success: var(--wp--preset--color--success, #1f7a4d);
	--mf-error: var(--wp--preset--color--error, #b42318);
	--mf-warning: var(--wp--preset--color--warning, #8a5a00);
	--mf-radius: 10px;
	--mf-shadow: 0 1px 2px rgb(14 42 59 / .06), 0 4px 16px rgb(14 42 59 / .06);
	--mf-gap: clamp(1rem, 2.5vw, 1.5rem);
}

.screen-reader-text { border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; white-space: nowrap; }

/* Buttons */
.mf-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background-color .12s ease, color .12s ease, border-color .12s ease; }
.mf-button--primary { background: var(--mf-brand); color: var(--mf-ink); }
.mf-button--primary:hover { background: #33c0f3; color: var(--mf-ink); }
.mf-button--secondary { background: transparent; color: var(--mf-ink); border-color: var(--mf-ink); }
.mf-button--secondary:hover { background: var(--mf-ink); color: var(--mf-on-ink); }
.mf-button--small { min-height: 44px; padding: .5rem 1rem; font-size: .9375rem; }
.mf-button:active { transform: translateY(1px); }
.mf-button[aria-busy="true"] { opacity: .7; cursor: progress; }
.mf-link { color: var(--mf-action); font-weight: 600; }
:where(.mf-button, .mf-link, .mf-faq__q, .mf-choice input, .mf-field :is(input, select, textarea)):focus-visible { outline: 3px solid var(--mf-action); outline-offset: 2px; }

.mf-icon { width: 1.5rem; height: 1.5rem; flex: none; }
.mf-hint { color: var(--mf-muted); font-size: .9375rem; }
.mf-block__heading { margin-top: 0; }

/* Cards */
.mf-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.mf-card { position: relative; background: var(--mf-surface); border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 1.5rem; box-shadow: var(--mf-shadow); display: flex; flex-direction: column; gap: .5rem; transition: box-shadow .12s ease; }
.mf-card:hover { box-shadow: 0 8px 32px rgb(14 42 59 / .12); }
.mf-card__icon { display: inline-flex; width: 3rem; height: 3rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--mf-ink); color: var(--mf-brand); }
.mf-card__title { margin: .5rem 0 0; font-size: 1.25rem; }
.mf-card__title a { color: var(--mf-ink); text-decoration: none; }
.mf-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--mf-radius); } /* whole card clickable, single link */
.mf-card__title a:focus-visible { outline: none; }
.mf-card:has(a:focus-visible) { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-card__text { margin: 0; color: var(--mf-text); }
.mf-card__price { margin: auto 0 0; padding-top: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mf-ink); }

/* Pricing tables */
.mf-pricing__service { margin-top: 2rem; }
.mf-table-wrap { overflow-x: auto; margin: 1rem 0; border: 1px solid var(--mf-line); border-radius: var(--mf-radius); }
.mf-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--mf-surface); }
.mf-table caption { text-align: left; padding: 1rem 1rem .5rem; font-weight: 700; color: var(--mf-ink); }
.mf-table th, .mf-table td { text-align: left; vertical-align: top; padding: .875rem 1rem; border-top: 1px solid var(--mf-line); }
.mf-table thead th { background: var(--mf-subtle); font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; color: var(--mf-muted); }
.mf-table__sub { display: block; font-weight: 400; color: var(--mf-muted); font-size: .9375rem; margin-top: .25rem; }
.mf-table__price { white-space: nowrap; font-weight: 700; color: var(--mf-ink); }
.mf-price--pending { color: var(--mf-warning); font-weight: 600; }
@media (max-width: 639px) {
	.mf-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.mf-table tr { display: block; border-top: 1px solid var(--mf-line); padding: .75rem 0; }
	.mf-table th, .mf-table td { display: block; border: 0; padding: .25rem 1rem; }
	.mf-table__price { white-space: normal; }
}

/* Service facts */
.mf-columns { display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.mf-list li { display: flex; gap: .625rem; align-items: flex-start; }
.mf-list--check .mf-icon { color: var(--mf-success); }
.mf-list--cross .mf-icon { color: var(--mf-error); }
.mf-facts__section { margin-block: clamp(2rem, 5vw, 3rem); }

/* Steps */
.mf-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); counter-reset: none; }
.mf-steps__item { background: var(--mf-subtle); border-radius: var(--mf-radius); padding: 1.25rem; }
.mf-steps__num { display: inline-flex; width: 2.25rem; height: 2.25rem; align-items: center; justify-content: center; border-radius: 999px; background: var(--mf-ink); color: var(--mf-brand); font-weight: 700; }
.mf-steps__item p { margin: .75rem 0 0; }

/* Price card (service hero) */
.mf-price-card { background: var(--mf-ink); color: var(--mf-on-ink); border-radius: 16px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 8px 32px rgb(14 42 59 / .18); }
.mf-price-card__label { margin: 0; text-transform: uppercase; letter-spacing: .08em; font-size: .8125rem; color: #9fe3fa; }
.mf-price-card__price { margin: .25rem 0 0; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 700; font-variant-numeric: tabular-nums; }
.mf-price-card .mf-price--pending { color: #fff; }
.mf-price-card__band { margin: .25rem 0 1rem; color: #d7eef6; }
.mf-price-card__facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.mf-price-card__facts li { display: flex; gap: .5rem; align-items: center; }
.mf-price-card__facts .mf-icon { color: var(--mf-brand); }
.mf-price-card__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mf-price-card .mf-button--secondary { color: #fff; border-color: #fff; }
.mf-price-card .mf-button--secondary:hover { background: #fff; color: var(--mf-ink); }
.mf-price-card :focus-visible { outline-color: var(--mf-brand); }

/* FAQs */
.mf-faq { border-bottom: 1px solid var(--mf-line); }
.mf-faq__q { cursor: pointer; list-style: none; padding: 1.125rem 2.5rem 1.125rem 0; position: relative; font-weight: 600; font-size: 1.0625rem; color: var(--mf-ink); }
.mf-faq__q::-webkit-details-marker { display: none; }
.mf-faq__q::after { content: ""; position: absolute; right: .5rem; top: 50%; width: .625rem; height: .625rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-75%) rotate(45deg); transition: transform .2s; }
.mf-faq[open] .mf-faq__q::after { transform: translateY(-25%) rotate(-135deg); }
.mf-faq__a { padding: 0 0 1.25rem; max-width: 68ch; }

/* Forms */
.mf-form { display: grid; gap: 1.25rem; max-width: 760px; }
.mf-form__row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.mf-field { display: grid; gap: .375rem; }
.mf-field label, .mf-assistant legend { font-weight: 600; color: var(--mf-ink); }
.mf-field :is(input, select, textarea) { width: 100%; min-height: 48px; padding: .625rem .75rem; border: 2px solid var(--mf-muted); border-radius: 8px; font: inherit; color: var(--mf-text); background: var(--mf-surface); box-sizing: border-box; }
.mf-field textarea { min-height: 8rem; resize: vertical; }
.mf-field--error :is(input, select, textarea) { border-color: var(--mf-error); }
.mf-error { color: var(--mf-error); font-weight: 600; margin: 0; }
.mf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mf-alert { border-radius: var(--mf-radius); padding: 1rem 1.25rem; margin-bottom: 1.5rem; border-left: 6px solid; }
.mf-alert h3 { margin-top: 0; }
.mf-alert--success { background: #ecf6f0; border-color: var(--mf-success); }
.mf-alert--error { background: #fdf0ef; border-color: var(--mf-error); }
.mf-alert--error a { color: var(--mf-error); font-weight: 600; }
.mf-alert:focus { outline: 3px solid var(--mf-action); outline-offset: 2px; }
[hidden] { display: none !important; }

/* Eligibility assistant */
.mf-assistant { background: var(--mf-subtle); border-radius: 16px; padding: clamp(1.25rem, 4vw, 2.5rem); }
.mf-assistant__form { display: grid; gap: 1.5rem; }
.mf-assistant fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.mf-assistant legend { margin-bottom: .75rem; font-size: 1.0625rem; }
.mf-choices { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mf-choice { position: relative; }
.mf-choice input, .mf-field .mf-choice input { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem; min-height: 0; padding: 0; border: 0; accent-color: var(--mf-action); margin: 0; }
.mf-choice label { display: block; min-height: 48px; padding: .75rem 1rem .75rem 2.875rem; border: 2px solid var(--mf-line); border-radius: 10px; background: var(--mf-surface); cursor: pointer; box-sizing: border-box; }
.mf-choice input:checked + label { border-color: var(--mf-action); background: var(--mf-tint); }
.mf-assistant__result { background: var(--mf-surface); border: 2px solid var(--mf-action); border-radius: var(--mf-radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.mf-assistant__result--refer, .mf-assistant__result--uncertain { border-color: var(--mf-warning); }
.mf-assistant__service { font-size: 1.25rem; font-weight: 700; margin: .25rem 0; }
.mf-assistant__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.mf-assistant__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 0; }

/* Related / CTA / review */
.mf-service-cta { background: var(--mf-tint); border-radius: var(--mf-radius); padding: 1.5rem; margin-block: 2.5rem; }
.mf-service-cta h2 { margin-top: 0; font-size: 1.375rem; }
.mf-related ul { padding-left: 1.25rem; }
.mf-review { border-top: 1px solid var(--mf-line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .9375rem; }
.mf-review__meta { display: grid; gap: .5rem 2rem; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 1rem; }
.mf-review__meta dt { font-weight: 600; color: var(--mf-muted); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.mf-review__meta dd { margin: 0; }
.mf-review__sources-title { font-size: 1rem; }

/* Breadcrumbs */
.mf-breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .9375rem; }
.mf-breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: .5rem; color: var(--mf-muted); }
.mf-breadcrumbs a { color: var(--mf-action); }
.mf-breadcrumbs [aria-current] { color: var(--mf-muted); }

/* Trust strip */
.mf-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-weight: 600; color: var(--mf-ink); }
.mf-trust li { display: flex; align-items: center; gap: .5rem; }
.mf-trust li::before { content: ""; width: .5rem; height: .5rem; border-radius: 999px; background: var(--mf-brand); }

/* Contact & disclosure */
.mf-contact dl { display: grid; gap: 1rem; margin: 0; }
.mf-contact dt { font-weight: 600; color: var(--mf-ink); }
.mf-contact dd { margin: 0; }
.mf-contact address { font-style: normal; }
.mf-disclosure { font-size: .875rem; }

/* Sticky CTA (mobile only) */
.mf-sticky-cta { display: none; }
@media (max-width: 767px) {
	.mf-sticky-cta { display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: var(--mf-surface); border-top: 1px solid var(--mf-line); box-shadow: 0 -4px 16px rgb(14 42 59 / .1); }
	.mf-sticky-cta--js { transform: translateY(110%); transition: transform .2s ease; }
	.mf-sticky-cta--js.is-visible { transform: none; }
	.mf-sticky-cta__text { margin: 0; display: grid; font-size: .9375rem; line-height: 1.3; }
	.mf-sticky-cta__text span { color: var(--mf-muted); }
	body:has(.mf-sticky-cta) { padding-bottom: 5rem; }
	.mf-consent-open .mf-sticky-cta { display: none; }
}

/* Consent dialog */
.mf-consent { position: fixed; z-index: 50; left: 16px; right: 16px; bottom: 16px; max-width: 30rem; background: var(--mf-surface); color: var(--mf-text); border: 1px solid var(--mf-line); border-radius: 16px; padding: 1.25rem 1.5rem; box-shadow: 0 8px 32px rgb(14 42 59 / .2); }
.mf-consent__title { margin: 0 0 .5rem; font-size: 1.125rem; }
.mf-consent__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mf-consent__actions .mf-button { flex: 1 1 12rem; }

.mf-editor-placeholder { padding: 1rem; border: 1px dashed var(--mf-line); color: var(--mf-muted); }

@media (prefers-reduced-motion: reduce) {
	.mf-button, .mf-card, .mf-faq__q::after, .mf-sticky-cta--js { transition: none !important; }
}

/* ------------------------------------------------------------------ */
/* Lead form (Get a quote / Ask a question)                            */
/* ------------------------------------------------------------------ */
.mf-js .mf-nojs-only { display: none !important; }
html:not(.mf-js) .mf-js-only { display: none !important; }
.mf-lead { max-width: 760px; }
.mf-lead__title { margin-top: 0; }
.mf-lead__intro { color: var(--mf-muted); margin-top: -.25rem; }
.mf-lead__tabs { display: flex; flex-wrap: wrap; gap: .25rem; padding: .25rem; margin: 1.25rem 0 1.5rem; background: var(--mf-subtle); border: 1px solid var(--mf-line); border-radius: 999px; width: fit-content; max-width: 100%; box-sizing: border-box; }
.mf-lead__tab { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .5rem 1.25rem; border-radius: 999px; color: var(--mf-ink); font-weight: 600; text-decoration: none; border: 2px solid transparent; }
.mf-lead__tab:hover { background: var(--mf-surface); }
.mf-lead__tab[aria-selected="true"], .mf-lead__tab[aria-current="true"] { background: var(--mf-ink); color: var(--mf-on-ink); }
.mf-lead__tab:focus-visible { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-lead__form { max-width: none; }
.mf-lead__group { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 1.25rem; }
.mf-lead__legend { font-size: 1.125rem; font-weight: 700; color: var(--mf-ink); padding: 0; margin-bottom: .25rem; }
.mf-lead__contact { border-top: 1px solid var(--mf-line); padding-top: 1.25rem; }
.mf-lead__question { border: 0; padding: 0; margin: 0; min-width: 0; }
.mf-lead__question legend { font-weight: 600; color: var(--mf-ink); padding: 0; margin-bottom: .375rem; }
.mf-lead__question:focus { outline: none; }
.mf-field--error.mf-lead__question { border-left: 4px solid var(--mf-error); padding-left: .875rem; }
.mf-choices--stack { grid-template-columns: 1fr; }
.mf-field .mf-button { justify-self: start; }
.mf-lead__note { margin: 0 0 .5rem; padding: .625rem .875rem; border-radius: 8px; background: #fff8e6; border-left: 4px solid var(--mf-warning); color: var(--mf-text); }
.mf-lead__lookup-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.mf-lead__lookup-row input { flex: 1 1 14rem; width: auto; }
.mf-lead__lookup-msg { margin: .25rem 0 0; color: var(--mf-muted); }
.mf-lead__lookup-list { list-style: none; margin: .5rem 0 0; padding: 0; display: grid; gap: .5rem; }
.mf-lead__lookup-list li { display: grid; grid-template-columns: 1fr auto; gap: .125rem .75rem; align-items: center; padding: .625rem .875rem; border: 1px solid var(--mf-line); border-radius: 8px; background: var(--mf-surface); }
.mf-lead__lookup-name { font-weight: 600; color: var(--mf-ink); }
.mf-lead__lookup-meta { grid-column: 1; color: var(--mf-muted); font-size: .9375rem; }
.mf-lead__lookup-list .mf-button { grid-column: 2; grid-row: 1 / span 2; }
.mf-lead__company { padding: .875rem 1rem; border: 2px solid var(--mf-action); border-radius: 10px; background: var(--mf-tint); }
.mf-lead__company:focus { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-lead__company p { margin: 0 0 .25rem; }
.mf-lead__company-label { font-size: .875rem; color: var(--mf-muted); text-transform: uppercase; letter-spacing: .04em; }
.mf-lead__company-name { font-weight: 700; color: var(--mf-ink); }
.mf-lead__company-warn { color: var(--mf-error); font-weight: 600; }
.mf-lead__company .mf-button { margin-top: .5rem; }
.mf-lead__checkout { padding: 1rem 1.125rem; border-radius: 10px; background: var(--mf-tint); border: 1px solid var(--mf-line); }
.mf-lead__checkout-title { margin-top: 0; }
.mf-lead__checkout-list { list-style: none; padding: 0; margin: 0 0 .5rem; display: grid; gap: .5rem; }
.mf-lead__checkout-list li { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.mf-lead__more { border: 1px solid var(--mf-line); border-radius: 10px; padding: 0 1rem; background: var(--mf-surface); }
.mf-lead__more[open] { padding-bottom: 1rem; }
.mf-lead__more summary { cursor: pointer; min-height: 48px; display: flex; align-items: center; font-weight: 600; color: var(--mf-action-strong); }
.mf-lead__more summary:focus-visible { outline: 3px solid var(--mf-action); outline-offset: 2px; border-radius: 6px; }
.mf-lead__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.mf-lead__actions .mf-button { min-width: min(100%, 18rem); }
.mf-button[aria-busy="true"]::before { content: ""; width: 1rem; height: 1rem; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: mf-spin .8s linear infinite; }
@keyframes mf-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mf-button[aria-busy="true"]::before { animation: none; border-right-color: currentColor; opacity: .5; } }
.mf-button:disabled { cursor: progress; }
.mf-lead__result:focus { outline: none; }
.mf-lead__success:focus { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-lead__next { padding-left: 1.25rem; }
.mf-lead [hidden] { display: none !important; }
@media (max-width: 480px) {
	.mf-lead__tabs { width: 100%; border-radius: 12px; }
	.mf-lead__tab { flex: 1 1 0; padding: .5rem .75rem; border-radius: 10px; text-align: center; }
	.mf-lead__actions .mf-button { width: 100%; }
	.mf-lead__lookup-list li { grid-template-columns: 1fr; }
	.mf-lead__lookup-list .mf-button { grid-column: 1; grid-row: auto; justify-self: start; }
}

/* ---------------- Homepage components (finder, packages, inclusions, guides) ---------------- */
:where(.mf-button, .mf-finder__option label, .mf-finder__result, .mf-package, .mf-guide-card, .mf-chip) { box-sizing: border-box; }
.mf-button--outline { background: transparent; color: var(--mf-ink); border-color: var(--mf-ink); }
.mf-button--outline:hover { background: var(--mf-ink); color: var(--mf-on-ink); }
.mf-chip { display: inline-block; vertical-align: middle; margin-left: .25rem; padding: .125rem .5rem; border-radius: 999px; font-size: .75rem; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.mf-chip--pending { background: #fff8e6; color: var(--mf-warning); border: 1px solid #f0d79a; }
.mf-checks, .mf-dashes { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.mf-checks li, .mf-dashes li { position: relative; padding-left: 1.75rem; }
.mf-checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem; background: var(--mf-success); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%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='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/contain no-repeat; }
.mf-dashes li { color: var(--mf-muted); }
.mf-dashes li::before { content: ""; position: absolute; left: .2rem; top: .75em; width: .75rem; height: 2px; background: var(--mf-muted); }

/* Service finder */
.mf-finder__options { border: 0; margin: 0; padding: 0; display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.mf-finder__option { position: relative; }
.mf-finder__option input { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--mf-action); }
.mf-finder__option label { display: flex; align-items: center; min-height: 56px; height: 100%; padding: .75rem 1rem .75rem 3rem; border: 2px solid var(--mf-line); border-radius: var(--mf-radius); background: var(--mf-surface); color: var(--mf-ink); font-weight: 600; cursor: pointer; transition: border-color .12s ease, background-color .12s ease; }
.mf-finder__option label:hover { border-color: var(--mf-action); }
.mf-finder__option input:checked + label { border-color: var(--mf-action); background: var(--mf-tint); }
.mf-finder__option input:focus-visible + label { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-finder__submit { margin-top: 1rem; }
.mf-finder__results { margin-top: 1.25rem; }
.mf-finder__result { background: var(--mf-surface); border: 1px solid var(--mf-line); border-left: 4px solid var(--mf-brand); border-radius: var(--mf-radius); padding: 1.25rem 1.5rem; box-shadow: var(--mf-shadow); }
.mf-finder__title { margin: 0 0 .5rem; font-size: 1.25rem; }
.mf-finder__result p { margin: 0 0 .75rem; max-width: 70ch; }
.mf-finder__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 0 !important; }

/* Service cards: extra lines */
.mf-card__suits { margin: 0; font-size: .9375rem; color: var(--mf-muted); }
.mf-card__suits strong { color: var(--mf-ink); }
.mf-card__benefit { margin: 0; font-weight: 500; color: var(--mf-ink); }

/* Package cards */
.mf-packages__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.mf-package { background: var(--mf-surface); border: 1px solid var(--mf-line); border-radius: 12px; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; box-shadow: var(--mf-shadow); }
.mf-package--featured { border: 2px solid var(--mf-action); }
.mf-package__name { margin: 0; font-size: 1.25rem; }
.mf-package__name a { color: var(--mf-ink); text-decoration: none; }
.mf-package__name a:hover { text-decoration: underline; }
.mf-package__price { margin: 0; font-size: 1.375rem; font-weight: 700; color: var(--mf-ink); font-variant-numeric: tabular-nums; }
.mf-package__price.mf-price--pending { font-size: 1rem; font-weight: 600; color: var(--mf-muted); }
.mf-package__suits, .mf-package__meta, .mf-package__excluded { margin: 0; font-size: .9375rem; }
.mf-package__excluded { color: var(--mf-muted); padding-left: 1.75rem; position: relative; }
.mf-package__excluded::before { content: ""; position: absolute; left: .2rem; top: .7em; width: .75rem; height: 2px; background: var(--mf-muted); }
.mf-package__cta { margin: auto 0 0; padding-top: .5rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.mf-package__cta .mf-button { width: 100%; }
.mf-packages__note { margin-top: 1rem; }

/* What's included */
.mf-included { display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.mf-included__col { border-top: 3px solid var(--mf-brand); padding-top: 1rem; }
.mf-included__title { margin: 0 0 1rem; font-size: 1.125rem; }
.mf-included__title a { color: var(--mf-ink); }
.mf-included__sub { margin: 1.25rem 0 .5rem; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mf-muted); }

/* Featured guides */
.mf-guides { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--mf-gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.mf-guide-card { background: var(--mf-surface); border: 1px solid var(--mf-line); border-radius: var(--mf-radius); padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.mf-guide-card__title { margin: 0; font-size: 1.0625rem; line-height: 1.35; }
.mf-guide-card__title a { color: var(--mf-ink); }
.mf-guide-card__text { margin: 0; color: var(--mf-text); font-size: .9375rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mf-guide-card__date { margin: auto 0 0; color: var(--mf-muted); font-size: .875rem; }

.mf-sticky-cta .mf-button { flex: none; white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
	.mf-finder__option label { transition: none; }
}

/* ---------------- Site assistant (chat widget) ---------------- */
.mf-chat { position: fixed; right: 16px; bottom: 16px; z-index: 45; font-size: 1rem; }
.mf-chat :where(*, *::before, *::after) { box-sizing: border-box; }
.mf-chat__launcher { display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .625rem 1.125rem .625rem .875rem; border-radius: 999px; background: var(--mf-ink); color: var(--mf-on-ink); font-weight: 600; text-decoration: none; box-shadow: 0 6px 24px rgb(14 42 59 / .25); }
.mf-chat__launcher:hover { background: #163f57; color: #fff; }
.mf-chat__launcher:focus-visible { outline: 3px solid var(--mf-brand); outline-offset: 3px; }
.mf-chat__launcher .mf-icon { color: var(--mf-brand); }
.mf-chat.is-open .mf-chat__launcher { display: none; }
.mf-chat__panel { position: absolute; right: 0; bottom: 0; width: min(380px, calc(100vw - 32px)); height: min(600px, calc(100vh - 32px)); display: flex; flex-direction: column; background: var(--mf-surface); border: 1px solid var(--mf-line); border-radius: 16px; box-shadow: 0 12px 48px rgb(14 42 59 / .25); overflow: hidden; }
.mf-chat__panel[hidden] { display: none; }
.mf-chat__head { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; padding: 1rem 1rem .75rem; background: var(--mf-ink); color: var(--mf-on-ink); }
.mf-chat__title { margin: 0; font-size: 1.0625rem; color: #fff; }
.mf-chat__sub { margin: .25rem 0 0; font-size: .8125rem; color: #d7eef6; }
.mf-chat__close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -.5rem -.5rem 0 0; border: 0; border-radius: 999px; background: transparent; color: #fff; cursor: pointer; }
.mf-chat__close:hover { background: rgb(255 255 255 / .12); }
.mf-chat__close:focus-visible { outline: 3px solid var(--mf-brand); outline-offset: -3px; }
/* WhatsApp: brand green only on the icon; text colours meet AA contrast. */
.mf-chat__wa { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; padding: .625rem 1rem; background: #e9f9ef; border-bottom: 1px solid #bfe9cf; }
.mf-chat__wa-link { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: .375rem 1rem .375rem .5rem; border-radius: 999px; background: #fff; border: 2px solid #25d366; color: #0b5132; font-weight: 700; font-size: .9375rem; text-decoration: none; }
.mf-chat__wa-link:hover { background: #25d366; color: var(--mf-ink); }
.mf-chat__wa-link:focus-visible { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-chat__wa-icon { flex: none; color: #128c4a; }
.mf-chat__wa-link:hover .mf-chat__wa-icon { color: var(--mf-ink); }
.mf-chat__wa-note { margin: 0; font-size: .75rem; color: #1e4d33; }
.mf-chat__action--whatsapp { border-color: #25d366; color: #0b5132; background: #fff; }
.mf-chat__action--whatsapp::before { content: ""; width: 1rem; height: 1rem; margin-right: .375rem; border-radius: 999px; background: #25d366; }
.mf-chat__action--whatsapp:hover { background: #e9f9ef; }
.mf-chat__log { position: relative; flex: 1 1 auto; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; background: var(--mf-subtle); }
.mf-chat__log:focus-visible { outline: 3px solid var(--mf-action); outline-offset: -3px; }
.mf-chat__msg { max-width: 88%; padding: .625rem .875rem; border-radius: 14px; font-size: .9375rem; line-height: 1.45; }
.mf-chat__msg p { margin: 0 0 .5rem; }
.mf-chat__msg p:last-child { margin-bottom: 0; }
.mf-chat__msg--bot { align-self: flex-start; background: var(--mf-surface); border: 1px solid var(--mf-line); border-bottom-left-radius: 4px; color: var(--mf-text); }
.mf-chat__msg--user { align-self: flex-end; background: var(--mf-ink); color: var(--mf-on-ink); border-bottom-right-radius: 4px; }
.mf-chat__actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .625rem; }
.mf-chat__action { display: inline-flex; align-items: center; min-height: 44px; padding: .375rem .875rem; border: 2px solid var(--mf-action); border-radius: 999px; color: var(--mf-action-strong); font-weight: 600; font-size: .875rem; text-decoration: none; background: var(--mf-surface); }
.mf-chat__action:hover { background: var(--mf-tint); }
.mf-chat__action--quote, .mf-chat__action--question { background: var(--mf-brand); border-color: var(--mf-brand); color: var(--mf-ink); }
.mf-chat__action--quote:hover, .mf-chat__action--question:hover { background: #33c0f3; }
.mf-chat__typing { margin: 0; font-size: .875rem; color: var(--mf-muted); font-style: italic; }
.mf-chat__chips { display: flex; flex-wrap: nowrap; gap: .5rem; padding: .625rem 1rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 1rem; scrollbar-width: thin; background: var(--mf-surface); border-top: 1px solid var(--mf-line); }
.mf-chat__chips .mf-chat__chip { flex: none; white-space: nowrap; scroll-snap-align: start; }
.mf-chat__chips:empty { display: none; }
.mf-chat__chip { min-height: 44px; padding: .375rem .875rem; border: 1px solid var(--mf-line); border-radius: 999px; background: var(--mf-surface); color: var(--mf-ink); font: inherit; font-size: .875rem; cursor: pointer; text-align: left; }
.mf-chat__chip:hover { border-color: var(--mf-action); background: var(--mf-tint); }
.mf-chat__chip:focus-visible, .mf-chat__action:focus-visible { outline: 3px solid var(--mf-action); outline-offset: 2px; }
.mf-chat__form { display: flex; gap: .5rem; padding: .75rem 1rem .25rem; background: var(--mf-surface); }
.mf-chat__form input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: .5rem .75rem; border: 2px solid var(--mf-muted); border-radius: 10px; font: inherit; font-size: 1rem; }
.mf-chat__form input:focus-visible { outline: 3px solid var(--mf-action); outline-offset: 1px; }
.mf-chat__form .mf-button { flex: none; }
.mf-chat__privacy { margin: 0; padding: .25rem 1rem .75rem; font-size: .75rem; color: var(--mf-muted); background: var(--mf-surface); }

@media (max-width: 781px) {
	/* Sit above the mobile sticky quote bar when it is showing. */
	body:has(.mf-sticky-cta.is-visible) .mf-chat { bottom: calc(84px + env(safe-area-inset-bottom)); }
	.mf-chat__launcher { padding: .625rem; }
	.mf-chat__launcher-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
	.mf-chat.is-open { inset: 0; right: 0; bottom: 0; }
	.mf-chat.is-open .mf-chat__panel { position: fixed; inset: auto 0 0 0; width: 100%; height: min(85vh, 640px); border-radius: 16px 16px 0 0; }
}
.mf-consent-open .mf-chat { display: none; }
@media print { .mf-chat { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mf-chat * { transition: none !important; } }
