/* Rewired Repair. Palette: lime #b6f23a (only on ink), ink #15171c, text-green #4f700a (on white), bg #f3f4f6. */
:root {
  --lime: #b6f23a; --ink: #15171c; --ink-2: #1f232b; --ink-3: #2a2f38; --green: #4f700a; --green-bg: #eef5dc;
  --bg: #f3f4f6; --white: #fff; --line: #e1e4e8; --line-2: #c7ccd3; --muted: #565c66; --muted-d: #b9bfc8;
  --radius: 16px; --radius-sm: 10px; --gutter: 20px;
  --font: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 12px; }
h2 { font-size: clamp(1.55rem, 4.6vw, 2.15rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.site-header :focus-visible, .hero :focus-visible, .page-head :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--lime); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 720px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.muted-d { color: var(--muted-d); }
.lime { color: var(--lime); }
a.lime:hover { color: #fff; }
.small { font-size: 14px; }
.fine { font-size: 0.875rem; color: var(--muted); margin-top: 12px; }
.opt { font-weight: 400; color: var(--muted); }

/* Draft strip + header */
.draft-strip { background: var(--ink-3); color: #e9ecef; font-size: 12px; text-align: center; padding: 5px var(--gutter); letter-spacing: 0.02em; }
.site-header { background: var(--ink); color: #fff; border-bottom: 1px solid var(--ink-3); }
.header-in { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 16px; padding-bottom: 12px; }
.logo { display: block; line-height: 0; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.nav a { color: #e7eaee; text-decoration: none; font-weight: 500; font-size: 15px; padding: 6px 0; }
.nav a:hover { color: var(--lime); }
.nav .btn { display: none; padding: 0 18px; color: var(--ink); }
.nav .btn:hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 12px; font: 700 16px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, background-color .12s ease, border-color .12s ease; }
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--ink) !important; }
.btn-lime:hover { background: #c6f75f; }
.btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, 0.38); }
.btn-ghost:hover { border-color: var(--lime); }
.btn-ink { background: var(--ink); color: #fff !important; }
.btn-ink:hover { background: #2a2f38; }
.btn-pay { background: var(--ink); color: var(--lime) !important; }
.btn-pay:hover { background: #262a33; }
.btn-pay[disabled] { opacity: 0.6; cursor: progress; }
.btn-text { background: none; border: 0; color: var(--ink); padding: 0 6px; min-height: 44px; font-weight: 600; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* Hero + dark page heads share the grid texture from the cover photo */
.hero, .page-head, .cta-band { background-color: var(--ink); color: #fff;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px; background-position: center top; }
.hero-in { text-align: center; padding-top: 44px; padding-bottom: 52px; }
.eyebrow { color: var(--lime); text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.eyebrow-d { color: var(--lime); font-weight: 700; letter-spacing: .1em; }
.hero h1 { font-size: clamp(2.15rem, 8.4vw, 4rem); line-height: 1.04; letter-spacing: -0.025em; margin: 0 auto 16px; max-width: 14ch; }
.hero h1 .lime { display: block; }
.lede { color: #d3d8de; font-size: 1.075rem; max-width: 38ch; margin: 0 auto 26px; }
.lede-d { color: #d3d8de; max-width: 46ch; margin: 0 auto 8px; }
.hero-cta { display: flex; flex-direction: column; align-items: stretch; gap: 12px; max-width: 320px; margin: 0 auto; }
.chips { list-style: none; padding: 0; margin: 28px auto 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: #e3e7eb; font-size: 15px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; }
.ic { width: 18px; height: 18px; color: var(--lime); flex: none; }
.page-head { padding: 36px 0 34px; }
.page-head h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }

/* Sections */
.band { padding: 48px 0; }
.band-white { background: var(--white); }
.band-q { padding-top: 24px; }
.h-center { text-align: center; }
.sub-center { text-align: center; color: var(--muted); max-width: 48ch; margin: 0 auto 20px; }
.link-strong { font-weight: 700; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.band-white .card { background: var(--bg); border-color: transparent; }
.two { display: grid; gap: 16px; }
.two + .sub-center { margin-top: 20px; margin-bottom: 0; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: var(--lime); font-weight: 700; margin-bottom: 12px; }
.price-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.price-tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border-radius: 14px; background: var(--bg); color: var(--ink); text-decoration: none; border: 2px solid transparent; }
.price-tile:hover { border-color: var(--ink); color: var(--ink); }
.pt-label { font-weight: 600; }
.pt-from { color: var(--muted); font-size: 14px; }
.pt-from strong { color: var(--green); font-size: 1.25rem; display: block; }
.tier-card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tier-card p { color: var(--muted); margin: 0; }
.tag { display: inline-block; white-space: nowrap; background: var(--green-bg); color: #3b5407; border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; }
.towns { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.towns li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.band-white .towns li { background: var(--white); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.cta-band { padding: 52px 0; }
.cta-in { text-align: center; }
.cta-in p { color: #d3d8de; }
.cta-mark { width: 64px; height: 64px; border-radius: 18px; background: var(--lime); color: var(--ink); margin: 0 auto 18px; padding: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: #e7eaee; padding: 40px 0 24px; border-top: 1px solid var(--ink-3); }
.footer-grid { display: grid; gap: 24px; text-align: center; }
.footer-logo { height: 30px; width: auto; margin: 0 auto 12px; }
.foot-h { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--lime); margin-bottom: 8px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--lime); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.foot-base { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ink-3); font-size: 13px; text-align: center; }

/* Prices */
.search-box { max-width: 560px; margin: 0 auto 10px; }
.lbl { display: block; font-weight: 600; margin-bottom: 6px; }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.filters a, .filters button { font: 600 14px var(--font); border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); border-radius: 999px; padding: 7px 14px; text-decoration: none; cursor: pointer; min-height: 36px; }
.filters [aria-pressed="true"], .filters [aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.model-grid { display: grid; gap: 14px; margin: 8px 0 22px; }
.model-card h3 { margin-bottom: 8px; }
.ptable { width: 100%; border-collapse: collapse; font-size: 15px; }
.ptable th, .ptable td { padding: 9px 4px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.ptable thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.ptable tbody th { font-weight: 600; }
.ptable tr.sub th, .ptable tr.sub td { border-top: 0; }
.ptable .num { text-align: right; white-space: nowrap; }
.ptable .num a { font-weight: 700; }
.legend p { margin-bottom: 8px; }

/* Prose pages */
.prose h2 { font-size: 1.35rem; margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.prose table { margin-bottom: 14px; }

/* Forms */
.form .field { margin: 0 0 16px; border: 0; padding: 0; min-width: 0; }
.form label, .form legend { display: block; font-weight: 600; margin-bottom: 6px; padding: 0; }
.sub-lbl { margin-top: 10px; }
input[type=text], input:not([type]), input[type=search], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 48px; font: 16px var(--font); color: var(--ink); background: var(--white);
  border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(79, 112, 10, 0.3); outline-offset: 0; border-color: var(--green); }
[aria-invalid="true"] { border-color: #b42318 !important; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.row2 { display: grid; gap: 0 14px; }
.seg, .checks { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label, .checks label { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 14px; margin: 0; min-height: 44px; cursor: pointer; }
.seg label:has(input:checked), .checks label:has(input:checked) { border-color: var(--ink); background: var(--green-bg); }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex: none; }
.choice2 { display: grid; grid-template-columns: 1fr; gap: 10px; }
.choice { display: flex !important; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px; cursor: pointer; margin: 0 !important; }
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: #fafbf7; }
.choice span { display: flex; flex-direction: column; gap: 2px; }
.choice small { font-weight: 400; color: var(--muted); font-size: 13.5px; line-height: 1.35; }
.agree { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; }
.agree input { margin-top: 2px; }
.alert { background: #fdeceb; border: 1px solid #f1b3ad; color: #8a1c13; border-radius: 12px; padding: 12px 14px; margin-bottom: 16px; font-weight: 500; }
.alert-ok { background: var(--green-bg); border-color: #c7dd97; color: #2f4306; }
.terms-box { background: var(--bg); border-radius: 12px; padding: 16px; margin: 16px 0; }
.terms-box h3 { font-size: 1rem; }
.terms-box ul { margin: 0 0 12px; padding-left: 18px; font-size: 14.5px; color: #33383f; }
.terms-box li { margin-bottom: 4px; }
.cf-turnstile { margin: 0 -14px 16px; min-height: 65px; display: flex; justify-content: center; } /* widget is a fixed 300px: let it use the card padding on 360px phones */

/* Quote */
.progress { height: 6px; border-radius: 99px; background: #dfe2e6; overflow: hidden; }
.progress-bar { height: 100%; width: 16.6%; background: var(--green); border-radius: 99px; transition: width .2s ease; }
.progress-label { text-align: center; font-size: 13px; color: var(--muted); margin: 8px 0 12px; }
.qcard { padding: 22px 20px; }
.qstep h2 { font-size: 1.45rem; text-align: center; outline: none; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.tile { font: 600 16px var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; min-height: 64px; padding: 10px; cursor: pointer; }
.tile:hover, .opt-row:hover { border-color: var(--ink); }
.list { display: flex; flex-direction: column; gap: 8px; }
.opt-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; font: 500 16px var(--font); color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2); border-radius: 12px; min-height: 52px; padding: 10px 14px; cursor: pointer; }
.opt-row .from { color: var(--muted); font-size: 14px; white-space: nowrap; }
.opt-row .from strong { color: var(--green); }
.crumb { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: -4px; }
.tier-pick { display: grid; gap: 12px; }
.tier-opt { display: block; width: 100%; text-align: left; font: inherit; color: var(--ink); background: var(--white); border: 1.5px solid var(--line-2); border-radius: 14px; padding: 16px; cursor: pointer; }
.tier-opt:hover { border-color: var(--ink); }
.tier-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.tier-name { font-weight: 700; font-size: 1.15rem; }
.tier-price { font-weight: 700; font-size: 1.3rem; color: var(--green); }
.tier-opt p { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; }
.tier-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.stock { display: inline-block; white-space: nowrap; font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px; background: #eef0f3; color: #3c424b; }
.big { font-weight: 700; font-size: 1.1rem; text-align: center; }
.h-small { font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.money { margin: 16px 0 0; }
.money div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.money dt { color: #3c424b; }
.money dd { margin: 0; font-weight: 600; }
.money .due { background: var(--ink); color: #fff; border-radius: 12px; padding: 14px 16px; margin: 8px 0; border: 0; }
.money .due dt { color: #fff; font-weight: 600; }
.money .due dd { color: var(--lime); font-size: 1.25rem; font-weight: 700; }
.sum-head { text-align: center; margin-bottom: 4px; }
.sum-tier { margin: 14px 0 0; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14.5px; }
.sum-tier p { margin: 0 0 4px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px !important; }
.admin-banner { margin-bottom: 12px; }
.qnav { display: flex; justify-content: center; margin-top: 10px; }
.stack { margin-top: 18px; }
.ticks { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 8px; margin-bottom: 8px; }
.ticks .ic { color: var(--green); margin-top: 3px; }
.spinner { width: 36px; height: 36px; border-radius: 50%; border: 4px solid rgba(255,255,255,.2); border-top-color: var(--lime); margin: 0 auto 14px; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Admin */
.admin-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.admin .filters { justify-content: flex-start; margin: 4px 0 16px; }
.admin-list { display: grid; gap: 10px; }
.arow { display: block; color: var(--ink); text-decoration: none; padding: 14px 16px; }
.arow:hover { border-color: var(--ink); color: var(--ink); }
.arow.flagged { border-color: #e7a19a; }
.arow-top { display: flex; justify-content: space-between; gap: 8px; }
.arow-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 6px; font-size: 14px; }
.pill { display: inline-block; white-space: nowrap; border-radius: 999px; padding: 2px 10px; font-size: 12.5px; font-weight: 700; background: #eef0f3; color: #3c424b; }
.pill-b-requested, .pill-k-quote { background: #fff1d6; color: #7a4b00; }
.pill-b-scheduled { background: #e3edff; color: #1d4294; }
.pill-b-done, .pill-p-paid { background: var(--green-bg); color: #2f4306; }
.pill-b-cancelled, .pill-p-expired, .pill-p-refunded, .pill-flag { background: #fdeceb; color: #8a1c13; }
.kv { display: grid; gap: 0; margin: 12px 0 0; }
.kv div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* Wider screens */
@media (min-width: 480px) {
  .hero-cta { flex-direction: row; justify-content: center; max-width: none; }
  .chips { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 10px 22px; }
  .row2 { grid-template-columns: 1fr 1fr; }
  .choice2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 760px) {
  body { font-size: 17px; }
  .two { grid-template-columns: 1fr 1fr; gap: 20px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .price-tiles { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; text-align: left; }
  .footer-logo { margin: 0 0 12px; }
  .foot-links { justify-content: flex-start; }
  .qcard { padding: 30px 32px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .band { padding: 64px 0; }
  .hero-in { padding-top: 76px; padding-bottom: 84px; }
  .page-head { padding: 52px 0 48px; }
}
@media (min-width: 900px) {
  .header-in { flex-direction: row; justify-content: space-between; padding-top: 16px; padding-bottom: 16px; }
  .logo img { height: 40px; }
  .nav { gap: 28px; }
  .nav .btn { display: inline-flex; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.admin-title { font-size: 1.3rem; margin-bottom: 8px; }
