/* Scratch & Dent Motors: shop-floor palette (primer gray, graphite, candy red, masking tape). */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url(../fonts/barlow-condensed-700.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url(../fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: italic; font-display: swap; src: url(../fonts/barlow-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url(../fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url(../fonts/barlow-600.woff2) format("woff2"); }

:root {
	--primer: #E4E6E9;
	--panel: #F6F7F8;
	--ink: #1C2127;
	--ink-2: #4A525C;
	--line: #C5CAD1;
	--brand: #ED1C24;   /* the red in the shop's logo: accents only */
	--candy: #D1161E;   /* button red, a shade deeper than the logo for readable white text */
	--candy-dk: #A8111A;
	--steel: #245A7A;
	--tape: #D8C79F;
	--tape-ink: #3A3222;
	--graphite: #262C33;
	--f-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-body: "Barlow", "Segoe UI", system-ui, sans-serif;
	--wrap: 1180px;
	--r: 5px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--primer); color: var(--ink); font: 400 1.0625rem/1.6 var(--f-body); }
@media (min-width: 900px) { body { font-size: 1.125rem; } }
img, svg { max-width: 100%; height: auto; }
a { color: var(--steel); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--steel); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.05; margin: 0 0 .45em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r); }
.skip:focus { top: 12px; }
.ico { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fb { fill: currentColor; stroke: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45em; font: 600 1.15rem/1 var(--f-head); letter-spacing: .01em; padding: .8em 1.25em; border-radius: var(--r); border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-lg { font-size: 1.25rem; padding: .85em 1.35em; }
.btn-block { display: flex; width: 100%; }
.btn-candy { background: var(--candy); color: #fff; }
.btn-candy:hover { background: var(--candy-dk); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }

/* Header */
.site-head { background: var(--panel); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.admin-bar .site-head { top: 32px; }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.brand { display: block; width: 256px; flex: none; padding: 6px 0; }
.logo { display: block; width: 100%; height: auto; }
.site-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list > li { position: relative; }
.nav-list a { display: block; padding: 10px 12px; font: 600 1.15rem/1.1 var(--f-head); color: var(--ink); text-decoration: none; border-radius: var(--r); }
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-menu-ancestor > a { color: var(--candy); }
.nav-list .sub-menu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 14px 30px -12px rgba(28, 33, 39, .35); display: none; }
.nav-list li:hover > .sub-menu, .nav-list li:focus-within > .sub-menu { display: block; }
.nav-list .sub-menu a { font: 500 1rem/1.3 var(--f-body); padding: 7px 10px; }
.nav-list .sub-menu a:hover { background: var(--primer); color: var(--ink); }
.nav-list > li:nth-child(2) > .sub-menu { display: none; grid-template-columns: 1fr 1fr; min-width: 360px; }
.nav-list > li:nth-child(2):hover > .sub-menu, .nav-list > li:nth-child(2):focus-within > .sub-menu { display: grid; }
.head-call { display: inline-flex; align-items: center; gap: .4em; background: var(--candy); color: #fff; font: 700 1.2rem/1 var(--f-head); padding: .7em 1em; border-radius: var(--r); text-decoration: none; white-space: nowrap; }
.head-call:hover { background: var(--candy-dk); color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--r); width: 46px; height: 46px; color: var(--ink); cursor: pointer; }
.nav-toggle .ico { width: 24px; height: 24px; }
.nav-toggle .ico-close, .nav-toggle[aria-expanded="true"] .ico-menu { display: none; }
.nav-toggle[aria-expanded="true"] .ico-close { display: inline; }

@media (max-width: 1040px) {
	.head-row { gap: 12px; min-height: 66px; }
	.brand { width: 178px; }
	.nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
	.head-call span { display: none; }
	.head-call { padding: 0; width: 46px; height: 46px; justify-content: center; }
	.head-call .ico { width: 22px; height: 22px; }
	.site-nav { position: fixed; inset: 66px 0 0 0; background: var(--panel); overflow-y: auto; padding: 12px 20px 120px; display: none; margin: 0; }
	.admin-bar .site-nav { top: 112px; }
	.site-nav.is-open { display: block; }
	.nav-list { flex-direction: column; }
	.nav-list a { font-size: 1.4rem; padding: 12px 4px; }
	.nav-list .sub-menu, .nav-list > li:nth-child(2) > .sub-menu { display: grid; grid-template-columns: 1fr 1fr; position: static; box-shadow: none; border: 0; padding: 0 0 8px; background: none; min-width: 0; }
	.nav-list .sub-menu a { font-size: 1rem; padding: 6px 4px; color: var(--ink-2); }
}

/* Hero */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.answer { font-size: 1.12em; line-height: 1.55; border-left: 4px solid var(--brand); padding-left: 16px; max-width: 62ch; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-status, .ticket-status { display: inline-flex; align-items: center; gap: .5em; font-weight: 500; color: var(--ink-2); margin: 0; }
.hero-status::before, .ticket-status::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #8A929C; }
.is-open::before { background: #2E8540; box-shadow: 0 0 0 3px rgba(46, 133, 64, .18); }

/* Damage picker */
.picker { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 18px; }
.picker-q { font: 700 1.7rem/1.1 var(--f-head); margin: 0; }
.picker-help { color: var(--ink-2); margin: 2px 0 6px; }
.picker-car { display: block; width: 100%; overflow: visible; }
.car-body { fill: #D3D7DC; stroke: var(--ink); stroke-width: 2.5; stroke-linejoin: round; }
.car-glass { fill: #A9BAC7; stroke: var(--ink); stroke-width: 2; }
.car-line { fill: none; stroke: var(--ink); stroke-width: 1.4; opacity: .55; }
.car-frame { stroke: var(--ink-2); stroke-width: 5; stroke-dasharray: 10 6; opacity: .5; }
.car-tire { fill: var(--ink); }
.car-rim { fill: #9AA2AB; stroke: #D3D7DC; stroke-width: 3; }
.zone path { fill: rgba(237, 28, 36, 0); stroke: transparent; stroke-width: 2.5; transition: fill .15s, stroke .15s; cursor: pointer; }
.zone:hover path, .zone:focus path, .zone.is-hot path { fill: rgba(237, 28, 36, .22); stroke: var(--brand); stroke-dasharray: 7 5; }
.zone:focus { outline: none; }
.zone:focus-visible path { stroke: var(--steel); stroke-dasharray: none; stroke-width: 3.5; }
.tape-row { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 6px; }
.tape { display: inline-block; background: var(--tape); color: var(--tape-ink); font: 600 1.02rem/1 var(--f-head); padding: 7px 12px 6px; text-decoration: none; transform: rotate(-1.2deg);
	clip-path: polygon(2% 0, 98% 3%, 100% 30%, 97% 55%, 100% 82%, 98% 100%, 3% 97%, 0 70%, 3% 45%, 0 18%); transition: background-color .15s, transform .15s; }
.tape-row li:nth-child(even) .tape { transform: rotate(1deg); }
.tape:hover, .tape.is-hot { background: var(--candy); color: #fff; transform: rotate(0); }

/* Facts band */
.facts { background: var(--graphite); color: #E9EBEE; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row p { margin: 0; padding: 22px 20px 22px 18px; border-left: 1px solid rgba(255, 255, 255, .16); font-size: .98rem; line-height: 1.4; }
.facts-row p:first-child { border-left: 0; padding-left: 0; }
.facts-row strong { display: block; font: 700 1.45rem/1.1 var(--f-head); color: #fff; margin-bottom: 2px; }

/* Bands */
.band { padding: 76px 0; }
.band-panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: end; margin-bottom: 34px; }
.band-head h2 { margin: 0; }
.band-head p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.split-form > div:first-child { position: sticky; top: 110px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }

/* Service ledger */
.ledger { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-bottom: 1px solid var(--line); }
.ledger li { border-top: 1px solid var(--line); }
.ledger a { display: grid; grid-template-columns: 11rem 1fr; gap: 18px; padding: 18px 0 18px 14px; text-decoration: none; color: var(--ink); position: relative; }
.ledger a::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; background: var(--line); transition: background-color .15s; }
.ledger a:hover::before, .ledger a:focus-visible::before { background: var(--brand); }
.ledger-name { font: 700 1.4rem/1.1 var(--f-head); }
.ledger a:hover .ledger-name { color: var(--candy); }
.ledger-text { color: var(--ink-2); font-size: .98rem; line-height: 1.5; }

/* Steps (a real sequence, so numbered) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 14px; }
.steps li:first-child { border-top-color: var(--brand); }
.steps li::before { content: counter(step); display: block; font: 700 2.6rem/1 var(--f-head); color: var(--brand); margin-bottom: 8px; }
.steps h3 { font-size: 1.3rem; margin-bottom: .3em; }
.steps p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* Spec sheet + reviews */
.spec { margin: 0 0 18px; border-top: 1px solid var(--line); }
.spec div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 600 1.1rem/1.4 var(--f-head); color: var(--ink-2); }
.spec dd { margin: 0; }
.reviews { display: grid; gap: 20px; }
.review { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.review blockquote { margin: 0 0 10px; font-style: italic; font-size: 1.12em; line-height: 1.5; }
.review blockquote p { margin: 0; }
.review blockquote p::before { content: "\201C"; font: 700 2.4rem/0 var(--f-head); color: var(--candy); vertical-align: -.38em; margin-right: 4px; }
.review figcaption { color: var(--ink-2); font-size: .95rem; }
.reviews-more { margin: 0; font-size: .98rem; }

/* Before / after */
.ba-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.ba { margin: 0; }
.ba-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: var(--ink); }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); }
.ba-range { width: 100%; margin-top: 8px; accent-color: var(--candy); }
.ba figcaption { color: var(--ink-2); font-size: .95rem; }


/* Photos */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 6px; background: #CBD0D6; }
.photo figcaption { font-size: .92rem; line-height: 1.45; color: var(--ink-2); margin-top: 8px; }
.photo-set { display: grid; gap: 18px; margin: 0 0 2em; }
.photo-set-2, .photo-set-3 { grid-template-columns: 1fr 1fr; }
.photo-set-3 .photo:first-child { grid-column: 1 / -1; }
.photo-set-1 .photo img { max-height: 560px; object-fit: cover; }
.photo-set-3 .photo:first-child img { max-height: 460px; object-fit: cover; }
.photo-set-3 .photo:not(:first-child) img { aspect-ratio: 4 / 3; object-fit: cover; }
.band-work { background: var(--graphite); color: #E9EBEE; }
.band-work .band-head p { color: #C9CED4; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-grid .photo img { aspect-ratio: 1; object-fit: cover; }
.work-grid .photo figcaption { color: #C9CED4; }
.ba-more { margin-top: 32px; }
.ba-more .ba figcaption { color: #C9CED4; }
@media (max-width: 1040px) { .work-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
	.work-grid, .photo-set-2, .photo-set-3 { grid-template-columns: 1fr; }
}

/* Service areas: a distance sign */
.signboard { list-style: none; margin: 18px 0 0; padding: 10px 18px; background: var(--graphite); border-radius: 10px; box-shadow: inset 0 0 0 3px var(--graphite), inset 0 0 0 5px #E9EBEE; columns: 2; column-gap: 28px; }
.signboard li { break-inside: avoid; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.signboard a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 2px; color: #fff; text-decoration: none; font: 600 1.28rem/1.1 var(--f-head); }
.signboard a:hover .sb-city { text-decoration: underline; text-underline-offset: .2em; }
.sb-dist { color: var(--tape); font-weight: 600; white-space: nowrap; }
.signboard a:focus-visible { outline-color: var(--tape); }

/* Map facade */
.mapbox { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #D9DDE2; min-height: 260px; }
.mapbox-tall { min-height: 440px; }
.mapbox-wide { min-height: 380px; }
.mapbox-face { position: absolute; inset: 0; }
.mapbox-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-road { fill: none; stroke: #F6F7F8; stroke-width: 9; }
.m-major { stroke: #fff; stroke-width: 15; }
.m-block { fill: #CBD0D6; }
.m-pin { fill: var(--brand); stroke: #fff; stroke-width: 4; }
.mapbox-copy { position: absolute; left: 16px; right: 16px; bottom: 16px; background: var(--panel); border-radius: var(--r); padding: 14px 16px; box-shadow: 0 10px 24px -14px rgba(28, 33, 39, .5); }
.mapbox-addr { font-weight: 600; margin: 0 0 10px; line-height: 1.35; }
.mapbox-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.mapbox-actions .btn { font-size: 1.05rem; padding: .65em 1em; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* FAQ */
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-of-type { border-top: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; font: 600 1.3rem/1.25 var(--f-head); padding: 16px 40px 16px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
	background: linear-gradient(var(--candy), var(--candy)) center / 100% 2.5px no-repeat, linear-gradient(var(--candy), var(--candy)) center / 2.5px 100% no-repeat; transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 18px; color: var(--ink-2); max-width: 68ch; }

/* Estimate form: a repair order */
.estimate { background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 8px 8px; padding: 28px 26px 22px; position: relative; margin-top: 10px; }
.estimate::before { content: ""; position: absolute; left: -1px; right: -1px; top: -10px; height: 10px; background: radial-gradient(circle at 7px 10px, transparent 5px, var(--panel) 5.5px) 0 0 / 14px 10px repeat-x; }
.estimate-title { font-size: 1.9rem; }
.estimate-note { color: var(--ink-2); font-size: .98rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.field { margin: 0 0 14px; border: 0; padding: 0; }
.field label, .field legend { display: block; font: 600 1.08rem/1.3 var(--f-head); margin-bottom: 5px; }
.opt { font: 400 .9rem var(--f-body); color: var(--ink-2); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
	width: 100%; font: 400 1rem/1.4 var(--f-body); color: var(--ink); background: #fff; border: 1.5px solid #9AA1AA; border-radius: 4px; padding: 11px 12px; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(36, 90, 122, .35); border-color: var(--steel); }
.field.has-error input, .field.has-error textarea { border-color: var(--candy); }
.field-error { display: block; color: var(--candy); font-size: .92rem; margin-top: 4px; }
.pref { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.pref legend { width: 100%; }
.pref label { display: inline-flex; align-items: center; gap: 6px; font: 400 1rem var(--f-body); margin: 0; }
.pref input { accent-color: var(--candy); width: 18px; height: 18px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.estimate-actions { margin: 16px 0 8px; }
.estimate-actions .btn { width: 100%; font-size: 1.25rem; }
.estimate-actions .btn[disabled] { opacity: .6; cursor: progress; }
.estimate-status { margin: 0; font-weight: 500; }
.estimate-status.is-ok { color: #1D6B32; background: #E3F1E6; padding: 12px 14px; border-radius: 4px; }
.estimate-status.is-error { color: var(--candy); }
.estimate-privacy { font-size: .88rem; color: var(--ink-2); margin: 10px 0 0; }
.cf-turnstile { margin: 6px 0 4px; }

/* Inner pages */
.page-head { background: var(--panel); border-bottom: 1px solid var(--line); padding: 26px 0 30px; }
.page-head h1 { margin: 0; max-width: 26ch; }
.crumbs ol { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .92rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9AA1AA; }
.crumbs a { color: var(--ink-2); }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 60px; padding-top: 40px; padding-bottom: 80px; align-items: start; }
.page-grid.is-contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.side { position: sticky; top: 100px; }
.admin-bar .side { top: 132px; }
.prose { max-width: 70ch; }
.prose > .answer { margin-bottom: 1.6em; }
.prose h2 { margin-top: 1.7em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--brand); }
.prose ol li::marker { font-family: var(--f-head); font-weight: 700; }
.prose .faq-list { margin-top: 2.4em; }
.route-note { color: var(--ink-2); font-size: .95rem; border-top: 1px dashed var(--line); padding-top: 10px; }
.svc-index, .city-index { list-style: none !important; padding: 0 !important; border-bottom: 1px solid var(--line); }
.svc-index li, .city-index li { border-top: 1px solid var(--line); padding: 14px 0 12px; margin: 0; }
.svc-index h3 { margin: 0 0 4px; font-size: 1.4rem; }
.svc-index h3 a { color: var(--ink); text-decoration: none; }
.svc-index h3 a:hover { color: var(--candy); }
.svc-index p { margin: 0; color: var(--ink-2); }
.city-index a { font: 700 1.35rem var(--f-head); color: var(--ink); text-decoration: none; margin-right: 10px; }
.city-index a:hover { color: var(--candy); }
.city-index span { color: var(--ink-2); font-size: .95rem; }
.svc-picks a { font-weight: 600; }
.prose .mapbox { margin-top: 12px; }
.contact-map { padding-bottom: 80px; margin-top: -40px; }

/* Repair-order ticket */
.ticket { background: var(--panel); border: 1px solid var(--line); border-radius: 0 0 8px 8px; padding: 22px 22px 16px; position: relative; display: grid; gap: 10px; margin-top: 10px; }
.ticket::before { content: ""; position: absolute; left: -1px; right: -1px; top: -10px; height: 10px; background: radial-gradient(circle at 7px 10px, transparent 5px, var(--panel) 5.5px) 0 0 / 14px 10px repeat-x; }
.ticket-head { border-bottom: 1px dashed var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.ticket-title { font: 700 1.7rem/1.1 var(--f-head); margin: 0 0 4px; }
.ticket-status { font-size: .95rem; }
.ticket .btn { font-size: 1.1rem; }
.ticket-facts { margin: 8px 0 0; display: grid; gap: 12px; font-size: .97rem; }
.ticket-facts div { display: grid; grid-template-columns: 24px 1fr; gap: 8px; }
.ticket-facts dt { color: var(--candy); padding-top: 3px; }
.ticket-facts dd { margin: 0; line-height: 1.45; }

/* Footer */
.site-foot { background: var(--ink); color: #C9CED4; padding: 60px 0 0; font-size: .97rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--tape); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.3fr .9fr; gap: 36px; }
.foot-logo { margin: 0 0 4px; max-width: 250px; }
.foot-logo img { display: block; width: 100%; height: auto; }
.foot-tag { font: 600 .95rem/1.2 var(--f-head); letter-spacing: .04em; color: #9AA1AA; margin: 0 0 16px; }
.foot-name, .foot-h { font: 700 1.35rem/1.1 var(--f-head); color: #fff; margin: 0 0 12px; }
.site-foot address { font-style: normal; margin-bottom: 1em; line-height: 1.6; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.foot-2col { columns: 2; column-gap: 20px; }
.foot-profiles li { margin-bottom: 8px; }
.foot-profiles a { display: inline-flex; align-items: center; gap: 8px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 18px; padding-bottom: 22px; font-size: .9rem; }
.foot-base p { margin: 0; }

/* Mobile estimate dock */
.dock { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.dock { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); }
	.dock a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px 8px; color: #fff; text-decoration: none; font: 600 .98rem/1 var(--f-head); }
	.dock .ico { width: 22px; height: 22px; }
	.dock-main { background: var(--candy); }
}

/* Responsive */
@media (max-width: 1040px) {
	.hero-grid { grid-template-columns: 1fr; gap: 34px; }
	.hero h1 { max-width: 16ch; }
	.steps { grid-template-columns: repeat(3, 1fr); }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.page-grid, .page-grid.is-contact { grid-template-columns: 1fr; gap: 36px; }
	.side { position: static; }
	.facts-row { grid-template-columns: 1fr 1fr; }
	.facts-row p:nth-child(3) { border-left: 0; padding-left: 0; }
	.facts-row p:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .16); }
}
@media (max-width: 760px) {
	.hero { padding: 30px 0 44px; }
	.hero-actions .btn { width: 100%; }
	.split-form > div:first-child { position: static; }
	.band { padding: 54px 0; }
	.band-head, .split { grid-template-columns: 1fr; gap: 18px; }
	.split { gap: 36px; }
	.ledger { grid-template-columns: 1fr; }
	.ledger a { grid-template-columns: 1fr; gap: 4px; }
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { display: grid; grid-template-columns: 52px 1fr; column-gap: 8px; border-top-width: 2px; padding: 14px 0; }
	.steps li::before { grid-row: span 2; font-size: 2.2rem; }
	.spec div { grid-template-columns: 1fr; gap: 2px; }
	.signboard { columns: 1; }
	.field-row { grid-template-columns: 1fr; }
	.facts-row { grid-template-columns: 1fr; }
	.facts-row p, .facts-row p:nth-child(3) { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); padding: 14px 0; }
	.facts-row p:first-child { border-top: 0; }
	.foot-grid { grid-template-columns: 1fr; }
	.mapbox-tall { min-height: 340px; }
	.estimate { padding: 22px 18px 18px; }
	.contact-map { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Visual sitemap */
.page-grid.is-full { grid-template-columns: minmax(0, 1fr); }
.smap-page > .answer { margin-bottom: 40px; }
.smap-tree { position: relative; margin-bottom: 64px; }
.smap-root { width: max-content; max-width: 100%; margin: 0 auto; text-align: center; background: var(--ink); color: #C9CED4; border-radius: 8px; padding: 16px 30px 14px; position: relative; }
.smap-root a { display: block; font: 700 1.9rem/1.1 var(--f-head); color: #fff; text-decoration: none; }
.smap-root a:hover { text-decoration: underline; text-underline-offset: .15em; }
.smap-root span { font-size: .95rem; }
.smap-root::after { content: ""; position: absolute; left: 50%; bottom: -30px; width: 2px; height: 30px; background: var(--ink-2); }
.smap-top { list-style: none; margin: 30px 0 0; padding: 30px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.smap-top::before { content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 2px; background: var(--ink-2); }
.smap-top li { position: relative; background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--ink); border-radius: 0 0 8px 8px; padding: 14px 16px 16px; }
.smap-top li::before { content: ""; position: absolute; left: 50%; top: -33px; width: 2px; height: 30px; background: var(--ink-2); }
.smap-top li > a:first-child { font: 700 1.35rem/1.15 var(--f-head); color: var(--ink); text-decoration: none; display: block; margin-bottom: 4px; }
.smap-top li > a:first-child:hover { color: var(--candy); }
.smap-top span { display: block; color: var(--ink-2); font-size: .93rem; line-height: 1.4; }
.smap-jump { display: inline-block; margin-top: 8px; font-size: .9rem; }
.smap-branches { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; margin-bottom: 64px; }
.smap-branch h2 { margin-bottom: 2px; }
.smap-branch h2 a { color: var(--ink); text-decoration: none; }
.smap-branch h2 a:hover { color: var(--candy); }
.smap-sub { color: var(--ink-2); margin-bottom: 18px; }
.smap-list { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--ink-2); }
.smap-list li { position: relative; padding: 10px 0 10px 8px; border-bottom: 1px solid var(--line); }
.smap-list li:last-child { border-bottom: 0; }
.smap-list li::before { content: ""; position: absolute; left: -22px; top: 1.3em; width: 20px; height: 2px; background: var(--ink-2); }
.smap-list li::after { content: ""; position: absolute; left: -3px; top: calc(1.3em - 3px); width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.smap-list a { font: 700 1.25rem/1.2 var(--f-head); color: var(--ink); text-decoration: none; }
.smap-list a:hover { color: var(--candy); text-decoration: underline; text-underline-offset: .15em; }
.smap-list span { display: block; color: var(--ink-2); font-size: .94rem; line-height: 1.45; margin-top: 2px; }
.smap-list-areas li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; }
.smap-list-areas span { grid-column: 1; }
.smap-list-areas em { grid-column: 2; grid-row: 1; font: 600 1.1rem var(--f-head); font-style: normal; color: var(--graphite); background: var(--tape); padding: 3px 9px 2px; white-space: nowrap; }
.smap-extra { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px 28px 20px; }
.smap-extra h2 { font-size: 1.6rem; }
.smap-extra ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.smap-extra a { font: 700 1.15rem var(--f-head); }
.smap-extra span { display: block; color: var(--ink-2); font-size: .92rem; line-height: 1.4; margin-top: 2px; }
@media (max-width: 1040px) {
	.smap-top { grid-template-columns: repeat(3, 1fr); }
	.smap-branches { grid-template-columns: 1fr; gap: 48px; }
	.smap-extra ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
	.smap-root { margin: 0; text-align: left; }
	.smap-root::after { left: 22px; }
	.smap-top { grid-template-columns: 1fr; padding: 0 0 0 22px; margin-left: 22px; border-left: 2px solid var(--ink-2); gap: 12px; margin-top: 30px; padding-top: 0; }
	.smap-top::before { display: none; }
	.smap-top li::before { left: -24px; top: 22px; width: 22px; height: 2px; }
	.smap-extra ul { grid-template-columns: 1fr; }
}
