:root {
  --silk: #edf1ec;
  --paper: #f8faf7;
  --ink: #142019;
  --ink-soft: #46554c;
  --mask: #17462f;
  --mask-deep: #0f3322;
  --copper: #b5692c;
  --copper-light: #e8ad74;
  --line: #c9d3cb;
  --radius: 6px;
  --wrap: 1120px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--silk);
}

h1, h2, h3 { margin: 0; line-height: 1.1; }
h1, h2 { font-stretch: 68%; font-weight: 800; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.75rem, 7vw, 5.25rem); line-height: 0.98; }
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }

.skip {
  position: absolute; left: 1rem; top: -4rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--copper); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-block;
  font: 700 1rem/1 var(--font);
  text-decoration: none;
  padding: .95rem 1.35rem;
  border-radius: var(--radius);
  background: var(--mask);
  color: #fff;
  border: 2px solid var(--mask);
  cursor: pointer;
}
.btn:hover { background: var(--mask-deep); border-color: var(--mask-deep); }
.btn-ghost { background: transparent; color: var(--mask); }
.btn-ghost:hover { background: var(--mask); color: #fff; }
.btn-small { padding: .55rem .9rem; font-size: .9375rem; }

/* Header */
.top { border-bottom: 1px solid var(--line); background: var(--silk); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.brand { font-weight: 800; font-stretch: 75%; font-size: 1.35rem; text-decoration: none; letter-spacing: .005em; }
.brand span { font-weight: 500; }
.top nav { display: flex; align-items: center; gap: 1.4rem; }
.top nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .9375rem; color: var(--ink-soft); }
.top nav a:not(.btn):hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 8vw, 6rem);
}
.lede { margin-top: 1.4rem; font-size: 1.1875rem; color: var(--ink-soft); max-width: 36em; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.facts { list-style: none; padding: 0; margin: 2.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; color: var(--ink-soft); font-size: .9375rem; }
.facts strong { color: var(--ink); }

/* Repair ticket */
.ticket {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--copper);
  border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.3rem;
}
.ticket-head { font-size: .875rem; color: var(--ink-soft); }
.ticket-job { font-size: 1.5rem; font-weight: 800; font-stretch: 75%; margin-top: .2rem; line-height: 1.15; }
.ticket dl { margin: 1.1rem 0 0; }
.ticket dl div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: .6rem 0; border-top: 1px dashed var(--line);
}
.ticket dt { font-weight: 600; }
.ticket dt small { display: block; font-weight: 400; font-size: .8125rem; color: var(--ink-soft); }
.ticket dd { margin: 0; font-weight: 800; font-size: 1.5rem; font-stretch: 80%; color: var(--copper); font-variant-numeric: tabular-nums; }
.ticket-note { margin-top: .6rem; font-size: .8125rem; color: var(--ink-soft); }

/* Price list: the board */
.board {
  background-color: var(--mask);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' fill='none' stroke='%231d5238' stroke-width='3'%3E%3Cpath d='M0 40h70l30 30h140M0 120h40l20-20h60l40 40h80M60 240v-60l30-30h60M200 0v50l-20 20M140 240v-30l20-20h80'/%3E%3Ccircle cx='70' cy='40' r='5'/%3E%3Ccircle cx='180' cy='70' r='5'/%3E%3Ccircle cx='60' cy='180' r='5'/%3E%3Ccircle cx='160' cy='190' r='5'/%3E%3C/svg%3E");
  color: #eef4ef;
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.board h2 { color: #fff; }
.section-lede { margin-top: .9rem; max-width: 40em; color: #c3d6ca; }
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.price-group {
  background: var(--mask-deep);
  border: 1px solid #2a6447;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.2rem;
}
.price-group h3 { color: #fff; font-size: 1.25rem; font-stretch: 80%; font-weight: 800; }
.applies { font-size: .875rem; color: #9fbcaa; margin-top: .15rem; }
.price-group table { width: 100%; border-collapse: collapse; margin-top: .8rem; }
.price-group th, .price-group td { padding: .55rem 0; border-top: 1px solid #24583e; vertical-align: baseline; }
.price-group th { text-align: left; font-weight: 500; padding-right: 1rem; }
.price-group td { text-align: right; white-space: nowrap; font-weight: 800; color: var(--copper-light); font-variant-numeric: tabular-nums; }
.aside { font-size: .875rem; color: #9fbcaa; margin-top: .6rem; }
.also { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid #2a6447; max-width: 46em; }
.also h3 { color: #fff; }
.also p { margin-top: .4rem; color: #c3d6ca; }

/* How it works */
.how { padding-block: clamp(3.5rem, 8vw, 6rem); }
.steps {
  list-style: none; counter-reset: step; padding: 0;
  margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
}
.steps li { counter-increment: step; border-top: 3px solid var(--ink); padding-top: 1rem; }
.steps li::before {
  content: counter(step);
  display: block; font-weight: 800; font-stretch: 70%; font-size: 2.5rem; line-height: 1; color: var(--copper); margin-bottom: .6rem;
}
.steps p { margin-top: .45rem; color: var(--ink-soft); font-size: 1rem; }
.mailin { margin-top: 2.5rem; padding: 1.1rem 1.3rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); max-width: 46em; }

/* Policies */
.faq { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.faq-list { margin-top: 2rem; max-width: 50em; border-bottom: 1px solid var(--line); }
details { border-top: 1px solid var(--line); }
summary {
  cursor: pointer; list-style: none;
  padding: 1.05rem 2.5rem 1.05rem 0; position: relative;
  font-weight: 700; font-size: 1.0625rem;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 500; color: var(--copper);
}
details[open] summary::after { content: "−"; }
details p { padding: 0 2.5rem 1.2rem 0; color: var(--ink-soft); max-width: 42em; }

/* Reviews */
.reviews { padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.reviews[hidden] { display: none; }
.section-intro { margin-top: .9rem; color: var(--ink-soft); }
.reviews > div { margin-top: 2rem; }

/* Quote form */
.quote { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 6rem); }
.quote-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.quote-copy p { margin-top: 1rem; color: var(--ink-soft); max-width: 28em; }
form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
fieldset.field { border: 0; padding: 0; margin: 0; }
legend { padding: 0; margin-bottom: .35rem; }
label, legend { font-weight: 600; font-size: .9375rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .75rem .85rem;
  border: 1.5px solid #aebbb1; border-radius: var(--radius);
  background: #fff; width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 3px solid var(--copper); outline-offset: 1px; border-color: var(--ink); }
textarea { resize: vertical; }
.radio { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; margin-right: 1.25rem; padding: .35rem 0; }
.radio input { width: auto; accent-color: var(--mask); }
[aria-invalid="true"] { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-status { font-weight: 600; }
.form-status.ok { color: var(--mask); }
.form-status.err { color: #b3261e; }
button[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.foot { background: var(--ink); color: #c8d2cb; padding-block: 2rem; font-size: .9375rem; }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; align-items: baseline; }
.foot .brand { color: #fff; font-size: 1.15rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .quote-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .top nav a:not(.btn) { display: none; }
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  form { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 100%; text-align: center; }
}

/* Links inside the dark price board */
.applies a { color: #d6e6dc; text-underline-offset: 3px; }
.applies a:hover { color: #fff; }

/* Service pages */
.svc-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) 2rem; }
.svc-hero h1, .svc-hero .lede { max-width: 54rem; }
.crumbs { font-size: .9375rem; color: var(--ink-soft); margin-bottom: 1rem; }
.crumbs a { color: var(--ink-soft); }
.svc-prices { padding-bottom: 2.5rem; }
.svc-card { max-width: 40rem; color: #eef4ef; }
.svc-card h2 { color: #fff; font-size: 1.5rem; }
.svc-card .aside { margin-top: .8rem; }
.svc-body { padding-bottom: 2.5rem; }
.svc-body > * { max-width: 46rem; }
.svc-body h2, .svc-faq h2, .svc-more h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2rem; }
.svc-body h2:first-child { margin-top: 0; }
.svc-body p, .svc-body ul { margin-top: .7rem; color: var(--ink-soft); }
.svc-body li { margin-top: .3rem; }
.svc-faq { padding-bottom: 2.5rem; }
.svc-faq .faq-list { margin-top: 1rem; }
.svc-more { padding-bottom: clamp(3rem, 7vw, 5rem); }
.svc-links { list-style: none; padding: 0; margin: 1rem 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.svc-links a { display: inline-block; padding: .55rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; font-weight: 600; background: var(--paper); }
.svc-links a:hover { border-color: var(--mask); color: var(--mask); }

/* Footer repair links */
.foot-links { padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid #2b3a31; }
.foot-head { color: #fff; font-weight: 700; }
.foot-links ul { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; }
.foot-links a, .foot a { color: #c8d2cb; }
.foot-links a:hover { color: #fff; }

/* Price list search and filter */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.price-tools { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; margin-top: 2rem; position: sticky; top: 0; z-index: 2; padding: .75rem 0; background: var(--mask); }
.price-tools[hidden] { display: none; }
.price-tools input { flex: 1 1 18rem; max-width: 28rem; border-color: #2a6447; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { font: 600 .9375rem/1 var(--font); padding: .6rem .9rem; border-radius: 999px; border: 1.5px solid #4f8a6c; background: transparent; color: #eef4ef; cursor: pointer; }
.chip:hover { border-color: #eef4ef; }
.chip[aria-pressed="true"] { background: var(--copper-light); border-color: var(--copper-light); color: var(--ink); }
.kind-head { color: #fff; font-size: 1.5rem; font-stretch: 75%; font-weight: 800; margin-top: 2.25rem; }
.kind-head + .price-grid { margin-top: 1rem; }
.kind-note { color: #c3d6ca; margin-top: .3rem; }
.kind-note + .price-grid { margin-top: 1rem; }
.kind-head[hidden], .kind-note[hidden], .price-grid[hidden], .price-group[hidden], .price-empty[hidden] { display: none; }
#prices tr[hidden] { display: none; }
.price-empty { margin-top: 2rem; font-weight: 600; color: #fff; }
.price-empty a { color: var(--copper-light); }
.two-price thead td, .two-price thead th { border-top: 0; padding: .2rem 0 .3rem; font-size: .8125rem; font-weight: 600; color: #9fbcaa; text-align: right; }
.two-price td + td { padding-left: .9rem; }
.two-price td:not(:first-child) { width: 3.6rem; }
.two-price .from { display: block; font-size: .75rem; font-weight: 600; color: #9fbcaa; }
