/* MapleWP — main stylesheet.
   Layout: single column, sections alternate paper and white; content width 1160px, prose 68ch.
   Palette: pine (trust, primary actions) + maple red (brand mark, small accents only). Light theme by design. */

@font-face { font-family: "Bricolage Grotesque"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/bricolage-700.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/plex-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/plex-600.woff2") format("woff2"); }

:root {
	--ink: #16201b;
	--body: #2c3630;
	--muted: #56625b;
	--line: #dde2da;
	--paper: #f6f7f3;
	--mist: #edf2ec;
	--white: #ffffff;
	--pine: #1f4d3a;
	--pine-deep: #163a2b;
	--pine-soft: #e3ede6;
	--maple: #b8322a;
	--maple-soft: #f8e7e4;
	--focus: #2f6fd6;

	--f-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--f-body: "IBM Plex Sans", -apple-system, "Segoe UI", system-ui, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: 1.5rem;
	--step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
	--step-4: clamp(2.1rem, 1.4rem + 3vw, 3.4rem);

	--radius: 12px;
	--wrap: 1160px;
	--gutter: clamp(16px, 4vw, 32px);
	color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 var(--step-0)/1.65 var(--f-body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-deep); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; margin: 0 0 0.5em; }
h1 { font: 700 var(--step-4)/1.05 var(--f-display); letter-spacing: -0.02em; }
h2 { font: 700 var(--step-3)/1.15 var(--f-display); letter-spacing: -0.01em; }
h3 { font: 600 var(--step-1)/1.3 var(--f-body); }
p, ul, ol { margin: 0 0 1em; }
p, li, figcaption, .hero__lede { text-wrap: pretty; } /* Avoids a lone word or price on the last line. */
strong { color: var(--ink); font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(760px + 2 * var(--gutter)); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 600 1rem/1 var(--f-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--primary { background: var(--pine); color: var(--white); }
.btn--primary:hover { background: var(--pine-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn--ghost:hover { background: var(--pine-soft); color: var(--pine-deep); }
.btn--light { background: var(--white); color: var(--pine-deep); }
.btn--light:hover { background: var(--mist); color: var(--pine-deep); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn--emergency { background: var(--white); color: var(--maple); border-color: var(--maple); }
.btn--emergency:hover { background: var(--maple-soft); color: #962620; }
.site-header__actions { gap: 10px; }
.btn { white-space: nowrap; }
.menu__panel .btn + .btn { margin-top: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); flex: none; }
.logo__word { font: 700 1.375rem/1 var(--f-display); letter-spacing: -0.01em; }
.logo__word span { color: var(--pine); }
.logo--light { color: var(--white); }
.logo--light .logo__word span { color: #9fd3b8; }
.nav { flex: 1; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav__list > li > a, .dd__toggle { display: block; padding: 8px 12px; border-radius: 8px; color: var(--body); text-decoration: none; font-size: 0.98rem; cursor: pointer; }
.nav__list > li > a:hover, .dd__toggle:hover { background: var(--mist); color: var(--ink); }
.nav__list a[aria-current="page"], .dd__toggle.is-current { color: var(--pine); font-weight: 600; }
.dd { position: relative; }
.dd__toggle { list-style: none; display: flex; align-items: center; gap: 6px; }
.dd__toggle::-webkit-details-marker { display: none; }
.dd__caret { width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .15s; }
.dd[open] .dd__caret { transform: rotate(-135deg) translateY(-1px); }
.dd__panel { position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-30%); display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 8px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(22, 32, 27, .14); padding: 18px 20px; width: max-content; z-index: 30; }
.dd__label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.dd__group ul { list-style: none; margin: 0; padding: 0; }
.dd__group a { display: block; padding: 7px 10px; margin-inline: -10px; border-radius: 8px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.dd__group a:hover { background: var(--mist); }
.dd__group a[aria-current="page"] { color: var(--pine); font-weight: 600; }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.site-header__phone { font-weight: 600; text-decoration: none; white-space: nowrap; }
.dd__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 20px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 4px; }
.dd__foot a { color: var(--pine); font-weight: 600; text-decoration: none; padding: 4px 0; }
.dd__foot a:hover { text-decoration: underline; }
.dd__label--sub { margin-top: 6px; }
.dd__label a { color: inherit; text-decoration: none; }
.menu { display: none; position: relative; margin-left: auto; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; }
.menu__bars::before, .menu__bars::after { content: ""; position: absolute; left: 0; }
.menu__bars::before { top: -5px; } .menu__bars::after { top: 5px; }
.menu__panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(320px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(22, 32, 27, .14); padding: 12px; }
.menu__panel ul { list-style: none; margin: 0 0 10px; padding: 0; }
.menu__panel .dd__label { padding: 8px 12px 0; }
.menu__main { border-top: 1px solid var(--line); padding-top: 8px !important; }
.menu__panel { max-height: calc(100vh - 90px); overflow-y: auto; }
.menu__panel a:not(.btn) { display: block; padding: 10px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); }
.menu__panel a:not(.btn):hover { background: var(--mist); }
.menu__panel .btn { width: 100%; }

@media (max-width: 1080px) {
	.nav, .site-header__phone { display: none; }
	.site-header__actions { margin-left: auto; }
	.menu { display: block; margin-left: 0; }
	.site-header__inner { gap: 10px; }
}

/* Hero */
.hero { background: var(--white); border-bottom: 1px solid var(--line); }
.hero__inner { padding-block: clamp(40px, 7vw, 88px) clamp(36px, 6vw, 72px); }
.hero h1 { max-width: 20ch; }
.hero--home h1 { max-width: 16ch; font-size: clamp(2.4rem, 1.5rem + 3.8vw, 4rem); }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--maple); margin-bottom: 14px; }
.hero__lede { font-size: var(--step-1); max-width: 58ch; color: var(--body); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero__trust { font-size: var(--step--1); color: var(--muted); margin: 0; }
.hero__trust strong { color: var(--ink); }

/* Content building blocks */
.content { display: block; }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.section--tint { background: var(--mist); }
.section__head { max-width: 68ch; margin-bottom: 32px; }
.section__head p { color: var(--muted); font-size: 1.125rem; }
.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: 0.35em; }
.lead { font-size: var(--step-1); color: var(--ink); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split > * { min-width: 0; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; min-width: 0; }
.section--white .card { background: var(--paper); }
.card h3 { margin-bottom: 6px; }
.card p { margin: 0; color: var(--muted); }
.card--link { display: block; text-decoration: none; position: relative; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--pine); transform: translateY(-2px); }
.card--link h3 { color: var(--ink); padding-right: 28px; }
.card__more { position: absolute; top: 20px; right: 20px; color: var(--pine); font-size: 1.25rem; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px; border-left: 2.5px solid var(--pine); border-bottom: 2.5px solid var(--pine); transform: rotate(-45deg); }
.crosses li::before { border: 0; width: 12px; height: 12px; top: 0.5em; background: linear-gradient(45deg, transparent 43%, var(--maple) 43%, var(--maple) 57%, transparent 57%), linear-gradient(-45deg, transparent 43%, var(--maple) 43%, var(--maple) 57%, transparent 57%); transform: none; }

.note { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; max-width: 72ch; }
.note--warn { border-left-color: var(--maple); }
.note p:last-child { margin-bottom: 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.stat { border-top: 3px solid var(--pine); padding-top: 12px; }
.stat b { display: block; font: 700 var(--step-3)/1.1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: var(--step--1); }

/* Offers */
.offers { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; }
.offers--single { max-width: 460px; }
.offer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; min-width: 0; }
.offer--featured { border: 2px solid var(--pine); box-shadow: 0 12px 32px rgba(31, 77, 58, .12); }
.offer__name { font: 600 0.95rem/1.3 var(--f-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 10px; }
.offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.offer__amount { font: 700 2.5rem/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.offer__from, .offer__unit { color: var(--muted); font-size: 1rem; }
.offer__summary { color: var(--body); }
.offer .ticks { flex: 1; font-size: 0.97rem; }
.offer .btn { margin-top: 8px; align-self: flex-start; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps:has(> li:nth-child(5)) { grid-template-columns: repeat(3, minmax(0, 1fr)); } /* 6-step lists: two rows of three */
@media (max-width: 900px) { .steps, .steps:has(> li:nth-child(5)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps, .steps:has(> li:nth-child(5)) { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; min-width: 0; }
.section--white .steps li { background: var(--paper); }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pine); color: var(--white); font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; }
.steps h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.steps p { margin: 0; color: var(--muted); font-size: 0.97rem; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
table { border-collapse: collapse; width: 100%; font-size: 0.97rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--mist); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { color: var(--ink); font-weight: 600; }
.compare__us { background: var(--pine-soft); color: var(--ink); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--pine); color: #e4efe8; border-radius: 18px; padding: clamp(28px, 5vw, 48px); margin-block: clamp(40px, 6vw, 72px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-band > div { max-width: 60ch; min-width: 0; }
.cta-band h2 { color: var(--white); margin-bottom: 8px; }
.cta-band p { margin: 0; }

/* FAQ */
.faq { background: var(--white); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 600; color: var(--ink); position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.5rem; color: var(--pine); font-weight: 400; }
.faq__item[open] summary::after { content: "−"; }
.faq__item p { margin: 0 0 18px; color: var(--body); max-width: 68ch; }

/* Forms */
.lead-form { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 4vw, 32px); scroll-margin-top: 90px; }
.section--white .lead-form { background: var(--paper); }
.lead-form__title { font: 700 var(--step-2)/1.2 var(--f-display); margin-bottom: 18px; }
.lead-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin-bottom: 18px; }
@media (max-width: 600px) { .lead-form__grid { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; padding: 11px 12px; border: 1px solid #c7cfc6; border-radius: 8px; background: var(--white); color: var(--ink); width: 100%; min-width: 0; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--pine); outline: 3px solid rgba(31, 77, 58, .18); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--maple); }
.lead-form__status { margin: 12px 0 0; font-weight: 600; min-height: 1.4em; }
.lead-form__status.is-error { color: var(--maple); }
.lead-form__status.is-ok { color: var(--pine); }
.lead-form__fine { font-size: var(--step--1); color: var(--muted); margin: 6px 0 0; }

/* Footer */
.site-footer { background: var(--ink); color: #b9c4bd; margin-top: 0; padding-top: 56px; font-size: 0.95rem; }
.site-footer a { color: #dfe8e2; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.site-footer__brand p { max-width: 38ch; margin-top: 14px; }
.site-footer__col h2 { font: 600 0.8rem/1 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: #8fa197; margin: 6px 0 14px; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 9px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #2c3a33; padding-block: 20px 28px; font-size: var(--step--1); color: #8fa197; }
.site-footer__legal p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

.post-summary { border-bottom: 1px solid var(--line); padding-block: 20px; }

/* Four-up card rows: 4 columns wide, 2 on tablets, 1 on phones. */
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: minmax(0, 1fr); } }

.table-wrap { margin-bottom: 20px; }
.table-wrap + p, .table-wrap + .prose { margin-top: 20px; }

/* Phones: icon-only menu button so the logo, "Site down?" and menu fit on one line. */
@media (max-width: 560px) {
	.menu__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.menu summary { padding: 12px 13px; }
	/* Phones: the two header buttons get their own row so both stay visible. */
	.site-header__inner { flex-wrap: wrap; min-height: 0; padding-block: 10px; row-gap: 10px; }
	.menu { margin-left: auto; position: static; }
	.menu__panel { right: var(--gutter); }
	.site-header__actions { order: 3; width: 100%; margin-left: 0; gap: 8px; }
	.site-header__actions .btn { flex: 1; padding: 0 10px; }
}

/* ---------- v2 components ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Breadcrumbs */
.crumbs { font-size: var(--step--1); color: var(--muted); margin-bottom: 18px; grid-column: 1 / -1; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--pine); }
.crumbs [aria-current] { color: var(--ink); }

/* Hero with a price next to the H1 */
.hero__inner--price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); gap: 24px clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .hero__inner--price { grid-template-columns: minmax(0, 1fr); } }
.hero__price { border: 2px solid var(--pine); border-radius: var(--radius); padding: 22px 24px; background: var(--white); align-self: center; }
.hero__price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 0 0 6px; }
.hero__price-name { width: 100%; font-size: var(--step--1); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.hero__price-amount { font: 700 clamp(2.4rem, 1.8rem + 2vw, 3.2rem)/1 var(--f-display); color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__price-from, .hero__price-unit { color: var(--muted); }
.hero__price-row + .hero__price-row { margin-top: 12px; }
.hero__price-note { margin: 8px 0 0; color: var(--body); font-size: 0.97rem; }
.hero__updated { color: var(--muted); font-size: var(--step--1); margin-top: -4px; }

/* ProofBar */
.proofbar { font-weight: 600; color: var(--ink); text-align: center; margin: 0; padding: 14px var(--gutter); }

/* RescueStrip */
.rescue-band { background: var(--white); border-bottom: 1px solid var(--line); padding-block: 16px; }
.rescue { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; background: var(--maple-soft); border: 1px solid #ebc9c4; border-left: 5px solid var(--maple); border-radius: var(--radius); padding: 16px 20px; }
.rescue__text { margin: 0; color: var(--ink); max-width: 62ch; }
.rescue__text strong { color: #8f2620; }
.rescue__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* HealthCheckCTA */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: var(--radius); padding: 20px 24px; }
.callout p { margin: 0; max-width: 64ch; }

/* GuaranteeBlock */
.guarantees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .guarantees { grid-template-columns: minmax(0, 1fr); } }
.guarantees__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 22px 56px; position: relative; }
.section--white .guarantees__item { background: var(--paper); }
.guarantees__item::before { content: ""; position: absolute; left: 22px; top: 27px; width: 16px; height: 9px; border-left: 3px solid var(--pine); border-bottom: 3px solid var(--pine); transform: rotate(-45deg); }
.guarantees__item h3 { margin-bottom: 6px; }
.guarantees__item p { margin: 0; color: var(--muted); }

/* Guarantee box on a service page */
.guarantee { background: var(--pine-soft); border: 2px solid var(--pine); border-radius: var(--radius); padding: 22px 26px; max-width: 72ch; }
.guarantee__label { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pine-deep); margin: 0 0 6px; }
.guarantee__text { font: 700 var(--step-2)/1.3 var(--f-display); color: var(--ink); margin: 0; }

/* Offer card extras */
.offer__typical { font-size: 0.95rem; color: var(--muted); margin: -2px 0 10px; }
.offer .btn { margin-top: 8px; align-self: flex-start; }

/* CTA band: two buttons */
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.cta-band :focus-visible { outline-color: var(--white); }

/* Related links */
.related h2 { font-size: var(--step-2); }
.related__more { margin: 18px 0 0; }

/* Services hub */
.service-group + .service-group { margin-top: 40px; }
.service-group h2 { font-size: var(--step-2); }

/* Forms */
.field--check { flex-direction: row; align-items: center; gap: 10px; }
.field--check input { width: 20px; height: 20px; accent-color: var(--pine); flex: none; }
.field--check label { font-weight: 400; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { position: relative; }
.lead-form.is-sent .lead-form__grid, .lead-form.is-sent button, .lead-form.is-sent .lead-form__fine { display: none; }
.lead-form.is-sent .lead-form__status { font-size: var(--step-1); }

/* Contact block */
.contact-block { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-block__phone { display: flex; flex-direction: column; margin: 0 0 8px; }
.contact-block__phone span { font-size: var(--step--1); color: var(--muted); }
.contact-block__phone a { font: 700 var(--step-2)/1.2 var(--f-display); text-decoration: none; }
.contact-block__reply { font-weight: 600; color: var(--ink); margin: 10px 0 0; }
.stack > * + * { margin-top: 20px; }

/* Guides */
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 28px; }
.toc__title { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.25em; }
.toc li { margin-bottom: 4px; }
.prose h2[id] { scroll-margin-top: 90px; }
.prose .callout, .prose .guarantee, .prose .rescue { margin-block: 28px; }

/* Case studies */
.pull-quote { border-left: 4px solid var(--line); padding-left: 18px; color: var(--muted); }
.result-figure { font: 700 var(--step-4)/1 var(--f-display); color: var(--pine); margin: 0 0 6px; }

/* Health-check report */
.report { display: grid; gap: 16px; }
.report__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.report__item h2 { font-size: var(--step-2); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.report__item p:last-child { margin-bottom: 0; }
.status { font: 600 var(--step--1)/1 var(--f-body); padding: 6px 10px; border-radius: 999px; border: 1px solid currentColor; }
.status--pass { color: var(--pine); background: var(--pine-soft); }
.status--warn { color: #7a5200; background: #fbf1da; }
.status--fail { color: #8f2620; background: var(--maple-soft); }
.report-score { border: 2px solid var(--pine); border-radius: var(--radius); padding: 22px 26px; background: var(--white); }
.report-score__label { margin: 0; color: var(--muted); font-weight: 600; }
.report-score__value { font: 700 3.4rem/1 var(--f-display); color: var(--ink); margin: 6px 0 0; }
.report-score__value span { font-size: 1.25rem; color: var(--muted); }

/* Footer: brand, Services, Company, then Partners / Free tools / Legal stacked */
.site-footer__grid { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); }
.site-footer__stack { display: flex; flex-direction: column; gap: 22px; }
.site-footer__tm { max-width: 90ch; }

/* Homepage rows */
.row-link { margin: 20px 0 0; }
.results { list-style: none; padding: 0; margin: 28px 0 24px; display: grid; gap: 12px; }
.results a { display: block; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--pine); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 20px; color: var(--ink); text-decoration: none; font-size: var(--step-1); }
.results a:hover { border-color: var(--pine); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 20px; }
.stack > .stats { margin-top: 40px; }
.guarantee-notes { margin-top: 16px; }
.guarantee-notes p { margin: 0; padding: 14px 18px; background: var(--pine-soft); border-radius: var(--radius); color: var(--ink); }

/* Emergency intake */
.hero--compact .hero__inner { padding-block: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 36px); }
.input--big { font-size: 1.125rem !important; padding: 14px 14px !important; }
.lead-form--urgent, .lead-form[data-form-type="urgent"] { border: 2px solid var(--maple); }
.lead-form[data-form-type="urgent"] .btn--primary { background: var(--maple); }
.lead-form[data-form-type="urgent"] .btn--primary:hover { background: #962620; }
.urgent-next { list-style: none; counter-reset: next; padding: 0; margin: 0 0 20px; }
.urgent-next li { counter-increment: next; position: relative; padding: 0 0 16px 44px; }
.urgent-next li::before { content: counter(next); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--maple); color: var(--white); display: grid; place-items: center; font-weight: 600; font-size: 0.9rem; }
.urgent-next strong { display: block; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #8f2620; background: var(--maple-soft); border-radius: 999px; padding: 6px 12px; font-size: var(--step--1); margin-bottom: 14px; }
.live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--maple); }
.hero--compact + .content > .section:first-child { padding-top: clamp(24px, 3vw, 36px); }

/* Fields in one row line up at the input, even when one label wraps. */
.lead-form__grid { align-items: end; }
.field--check { align-items: flex-start; }
.field--check input { margin-top: 3px; }
.field--check input[aria-invalid="true"] { outline: 2px solid var(--maple); outline-offset: 2px; }
.field--check + .field--check { margin-top: -6px; }

.lead-form button[type="submit"]:disabled { opacity: .45; cursor: not-allowed; }
.field__help { font-size: var(--step--1); color: var(--muted); margin: 2px 0 0; }
.lead-form__note { margin: -8px 0 18px; padding: 10px 14px; background: var(--maple-soft); border-radius: 8px; color: var(--ink); font-size: 0.95rem; }
/* The status line only takes space when it has a message, so the form ends with the same padding it starts with. */
.lead-form__status:empty { margin: 0; min-height: 0; }
.lead-form > :last-child { margin-bottom: 0; }
.lead-form.is-sending button[type="submit"]:disabled { opacity: .75; cursor: progress; }
