/* Service pages: hero lead form, in-page navigation, process stepper, FAQ tools, review grid, mobile quote bar. */
.entry h2 { scroll-margin-top: calc(var(--tap-hh, 66px) + 72px); }

/* ---------- Hero with lead form ---------- */
.page-head--service .ph-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.page-head--service .ph-copy .hero-proof { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--slate); }
.page-head--service .ph-copy .hero-proof li { display: flex; align-items: center; gap: 10px; }
.page-head--service .ph-copy .hero-proof svg { flex: none; color: var(--cloth); }
.hero-lead { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--foil); border-radius: var(--radius); padding: clamp(20px, 2.6vw, 30px); box-shadow: 0 14px 36px rgba(21, 43, 38, .1); }
.hl-title { margin: 0 0 .25em; font: 600 1.4rem/1.2 var(--serif); color: var(--cloth-deep); }
.hl-sub { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.hl-for { display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px; background: var(--paper-2); color: var(--slate); font-size: 13.5px; }
.hl-form .hl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.hl-form .hl-grid p { margin: 0 0 12px; }
.hl-form .is-wide { grid-column: 1 / -1; }
.hl-form label { display: block; margin-bottom: 5px; font: 600 13.5px/1.2 var(--sans); }
.hl-opt { font-weight: 400; color: var(--muted); }
.hl-form input[type=text], .hl-form input[type=email], .hl-form select, .hl-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 400 16px/1.4 var(--sans); }
.hl-form textarea { resize: vertical; min-height: 84px; }
.hl-form input:focus, .hl-form select:focus, .hl-form textarea:focus { border-color: var(--cloth); outline: 2px solid rgba(31, 61, 54, .15); outline-offset: 0; }
.hl-form > p { margin: 0; }
.hl-form .btn { width: 100%; }
.hl-fine { margin: 10px 0 0 !important; font-size: 12.5px; color: var(--muted); }
.hl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hero-lead .lead-msg { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--radius); font-weight: 500; }
.hero-lead .lead-msg[hidden] { display: none; }
.hero-lead .lead-msg.is-ok { background: #e4f1ea; color: #1d5a3c; }
.hero-lead .lead-msg.is-error { background: #fbe9e7; color: #8a2a1e; }
.hl-form.is-sending .btn { opacity: .7; pointer-events: none; }
.hl-form.is-done { display: none; }
@media (max-width: 960px) { .page-head--service .ph-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hl-form .hl-grid { grid-template-columns: 1fr; } }

/* ---------- On this page: sticky navigation ---------- */
.pg-nav { position: sticky; top: var(--tap-hh, 66px); z-index: 90; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.pg-nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--wrap); display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.pg-nav ul::-webkit-scrollbar { display: none; }
.pg-nav li { flex: none; margin: 0; }
.pg-nav a { display: block; padding: 14px 14px 12px; border-bottom: 3px solid transparent; color: var(--muted); font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.pg-nav a:hover { color: var(--ink); }
.pg-nav a[aria-current="true"] { color: var(--cloth-deep); border-bottom-color: var(--foil); }
.pg-nav a:focus-visible { outline: 2px solid var(--cloth); outline-offset: -2px; }
.pg-prog { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: var(--foil); transition: width .1s linear; }

/* ---------- Process stepper ---------- */
.entry > .steps-ui { margin-top: 1em; }
.steps-ui { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 18px; align-items: start; }
.su-src { display: none; }
.su-tabs { display: flex; flex-direction: column; gap: 8px; }
.su-tabs button { display: flex; align-items: center; gap: 12px; padding: 11px 14px; text-align: left; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); font: 600 15px/1.3 var(--sans); cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.su-tabs button:hover { border-color: var(--cloth); }
.su-tabs button[aria-selected="true"] { background: var(--cloth); border-color: var(--cloth); color: #fff; }
.su-tabs button:focus-visible, .su-nav button:focus-visible, .faq-all:focus-visible { outline: 3px solid var(--foil); outline-offset: 2px; }
.su-n { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); color: var(--cloth-deep); font-size: 13px; }
.su-tabs button[aria-selected="true"] .su-n { background: var(--foil); }
.su-panel { padding: clamp(18px, 2.5vw, 28px); background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--foil); border-radius: var(--radius); }
.su-count { margin: 0 0 6px; color: var(--foil); font: 600 12.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.su-title { margin: 0 0 .4em; font-size: 1.3rem; }
.su-text { margin: 0 0 16px; }
.su-bar { height: 4px; margin-bottom: 16px; background: var(--paper-2); border-radius: 2px; overflow: hidden; }
.su-bar i { display: block; height: 100%; width: 0; background: var(--foil); transition: width .25s ease; }
.su-nav { display: flex; gap: 10px; }
.su-nav .btn[disabled] { opacity: .45; cursor: default; }
@media (max-width: 800px) {
	.steps-ui { grid-template-columns: 1fr; }
	.su-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
	.su-tabs button { flex: none; }
}

/* ---------- FAQ tools ---------- */
.faq-tools { margin: 0 0 10px; text-align: right; }
.faq-all { background: none; border: 0; padding: 6px 0; color: var(--cloth); font: 600 14px/1 var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Three reviews: grid on desktop, swipe slider on small screens ---------- */
@media (min-width: 900px) {
	.rv-3 .rv-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
	.rv-3 .rv-track .review { flex: none; }
	.rv-3 .rv-ctrl { display: none; }
}

/* ---------- Mobile quote bar ---------- */
.pg-cta { display: none; }
@media (max-width: 782px) {
	.pg-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(21, 43, 38, .12); transform: translateY(110%); transition: transform .2s ease; }
	.pg-cta.is-on { transform: none; }
	.pg-cta .btn { width: 100%; }
	body.is-service { padding-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .pg-cta, .su-bar i, .pg-prog { transition: none; } }

/* ---------- Compact hero (2026-11-01): shorter first screen on every service page ---------- */
.page-head--service { padding: 20px 0 clamp(24px, 3vw, 34px); }
.page-head--service .crumbs { margin-bottom: 14px; }
.page-head--service h1 { max-width: 26ch; margin: 0 0 .35em; font-size: clamp(1.85rem, 1.3rem + 1.7vw, 2.55rem); line-height: 1.12; }
.page-head--service h1::after { width: 44px; margin-top: 12px; }
.page-head--service .lead { max-width: 52ch; font-size: 1.05rem; line-height: 1.5; }
.page-head--service .pg-updated { margin: 8px 0 0; font-size: 13px; }
.page-head--service .ph-copy .hero-proof { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; margin: 16px 0 0; padding: 14px 0 0; font-size: 14px; }
.page-head--service .ph-copy .hero-proof li { gap: 8px; }
.page-head--service .ph-copy .hero-proof svg { width: 16px; height: 16px; }
.page-head--service .ph-grid { align-items: center; gap: clamp(24px, 3.5vw, 48px); }

/* Hero lead form, tighter */
.page-head--service .hero-lead { padding: 20px 22px 18px; }
.page-head--service .hl-title { margin: 0 0 .2em; font-size: 1.25rem; }
.page-head--service .hl-sub { margin: 0 0 12px; font-size: 14px; line-height: 1.45; }
.page-head--service .hl-for { display: none; }
.page-head--service .hl-form .hl-grid p { margin: 0 0 10px; }
.page-head--service .hl-form label { margin-bottom: 4px; font-size: 13px; }
.page-head--service .hl-form label[for="hl-msg"] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-head--service .hl-form input[type=text], .page-head--service .hl-form input[type=email], .page-head--service .hl-form select, .page-head--service .hl-form textarea { padding: 10px 12px; }
.page-head--service .hl-form textarea { min-height: 56px; }
.page-head--service .hl-form .btn { padding: 12px 20px; }
.page-head--service .hl-fine { margin: 8px 0 0 !important; font-size: 12px; }

@media (max-width: 900px) {
	.page-head--service { padding: 16px 0 24px; }
	.page-head--service .ph-grid { align-items: start; gap: 22px; }
	.page-head--service .hl-sub { display: none; }
}

/* Optional note folds away until asked for (field still submits with the form) */
.page-head--service .hl-note { margin: 0 0 10px; }
.page-head--service .hl-note summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; font: 600 13px/1.2 var(--sans); color: var(--cloth); }
.page-head--service .hl-note summary::-webkit-details-marker { display: none; }
.page-head--service .hl-note summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1.5px solid var(--cloth); border-radius: 50%; font-size: 14px; line-height: 1; }
.page-head--service .hl-note[open] summary::before { content: "\2212"; }
.page-head--service .hl-note summary:focus-visible { outline: 2px solid var(--cloth); outline-offset: 3px; }
.page-head--service .hl-note .hl-opt { font-weight: 400; color: var(--muted); }
.page-head--service .hl-note textarea { margin-top: 8px; min-height: 72px; }
