:root {
  --navy: #111214;
  --navy-2: #9e1b14;
  --ink: #14171f;
  --muted: #3f4756;
  --paper: #fbfaf6;
  --alt: #eef1f5;
  --line: #c9d0db;
  --gold: #ffd60a;
  --gold-ink: #111214;
  --red: #b3261e;
  --brand-red: #d42a1f;
  --focus: #1d5fd1;
  --radius: 12px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: "Archivo", "Atkinson Hyperlegible", system-ui, sans-serif;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
a { color: var(--navy-2); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--gold-ink); padding: 10px 16px; border-radius: 8px;
  font-weight: 700;
}
.skip:focus { top: 12px; }
main:focus { outline: none; }

/* Top bar */
.topbar { background: var(--navy); color: #fff; font-size: 1rem; }
.topbar-in { display: flex; flex-wrap: wrap; gap: 4px 28px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar p { margin: 0; }
.topbar a { color: var(--gold); font-weight: 700; }
.topbar a:hover { color: #fff; }

/* Header */
.site-header { background: #fff; border-bottom: 4px solid var(--brand-red); position: relative; z-index: 50; }
@media (min-width: 1061px) {
  .site-header { position: sticky; top: 0; }
  html { scroll-padding-top: 96px; }
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 34px; height: 46px; border: 4px solid var(--navy); border-radius: 8px; position: relative; flex: none;
  background: linear-gradient(135deg, transparent 46%, var(--gold) 46%, var(--gold) 54%, transparent 54%);
}
.brand-1 { display: block; font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.25rem; line-height: 1.1; }
.brand-2 { display: block; font-size: .95rem; color: var(--muted); line-height: 1.2; }
.menu-btn {
  display: none; font: inherit; font-weight: 700; background: var(--navy); color: #fff;
  border: 0; border-radius: 8px; padding: 10px 16px; min-height: 44px; cursor: pointer;
}
#site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 4px; align-items: center; }
#site-nav a {
  display: inline-block; padding: 10px 10px; text-decoration: none; color: var(--ink); border-radius: 8px;
  font-size: 1rem; font-weight: 700; min-height: 44px;
}
#site-nav a:hover { background: var(--alt); }
#site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 4px; text-underline-offset: 8px; }
#site-nav .nav-cta { background: var(--gold); color: var(--gold-ink); padding: 10px 16px; margin-left: 4px; }
#site-nav .nav-cta:hover { background: #ffc300; }

@media (max-width: 1060px) {
  .js .menu-btn { display: inline-block; }
  .js #site-nav { display: none; width: 100%; }
  .js #site-nav.open { display: block; }
  #site-nav ul { flex-direction: column; align-items: stretch; padding: 8px 0; }
  #site-nav a { display: block; }
  #site-nav .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* Buttons */
.btn {
  display: inline-block; font-weight: 700; text-decoration: none; border-radius: 10px;
  padding: 14px 22px; min-height: 48px; border: 2px solid transparent; font-size: 1.05rem; line-height: 1.2;
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.btn-primary:hover { background: #ffc300; border-color: #ffc300; color: var(--gold-ink); }
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--navy); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Hero */
.hero, .page-hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.hero::after, .page-hero::after {
  content: ""; position: absolute; right: -80px; top: -60px; width: 340px; height: 520px;
  border: 22px solid rgba(212, 42, 31, .28); border-radius: 48px; transform: rotate(18deg); pointer-events: none;
}
.hero h1, .page-hero h1 { color: #fff; }
.hero .hl { color: var(--gold); display: inline-block; }
.hero-in { display: grid; gap: 32px; padding-top: 64px; padding-bottom: 72px; position: relative; z-index: 1; }
@media (min-width: 900px) { .hero-in { grid-template-columns: 1.6fr 1fr; align-items: center; } }
.page-hero .wrap { padding-top: 48px; padding-bottom: 52px; position: relative; z-index: 1; }
.kicker { text-transform: uppercase; letter-spacing: .12em; font-weight: 700; font-size: .9rem; color: var(--gold); margin-bottom: .6em; }
.lede { font-size: clamp(1.15rem, 2vw, 1.35rem); max-width: 40em; color: #e8edf5; }
.hero-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 24px; border-top: 8px solid var(--gold); }
.hero-card-h { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.hero-card p { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.hero-card p:last-child { border-bottom: 0; margin-bottom: 0; }
.hc-name { font-weight: 700; }
.hero-card a { font-weight: 700; font-size: 1.15rem; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--alt); }
.two-col { display: grid; gap: 40px; }
@media (min-width: 860px) { .two-col { grid-template-columns: 1fr 1fr; } }

.svc-grid, .repair-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 16px; }
.svc-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.svc-card {
  display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; background: #fff;
  border: 2px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink);
}
.svc-card:hover { border-color: var(--navy); }
.svc-t { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.2rem; color: var(--navy); }
.svc-d { color: var(--muted); font-size: 1rem; flex: 1; }
.svc-go { font-size: 1.4rem; color: var(--navy); }

.repair-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.repair-grid li { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--brand-red); border-radius: 8px; padding: 18px 20px; }
.repair-grid p { margin: 0; color: var(--muted); }

.steps { padding-left: 1.3em; }
.steps li { margin-bottom: .7em; }
.check { list-style: none; padding: 0; }
.check li { padding-left: 1.8em; position: relative; margin-bottom: .5em; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--navy); font-weight: 700; }

/* Stores */
.store-grid { display: grid; gap: 20px; }
@media (min-width: 760px) { .store-grid:not(.one) { grid-template-columns: 1fr 1fr; } }
.store { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.store-phone a { font-size: 1.35rem; font-weight: 700; }
address { font-style: normal; margin-bottom: 1em; }
.hours { border-collapse: collapse; width: 100%; font-size: 1rem; }
.hours caption { text-align: left; font-weight: 700; padding-bottom: 6px; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-top: 1px solid var(--line); }
.hours th { font-weight: 400; }
.hours td { text-align: right; font-weight: 700; }

/* CTA band */
.cta-band { background: var(--gold); color: var(--gold-ink); }
.cta-band h2 { color: var(--gold-ink); }
.cta-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; padding-top: 44px; padding-bottom: 44px; }
.cta-in p { margin: 0; }
.cta-band .btn-primary { background: var(--navy); color: #fff; border-color: var(--navy); }
.cta-band .btn-primary:hover { background: var(--ink); border-color: var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: #e9ecf2; padding-top: 48px; font-size: 1rem; }
.site-footer a { color: var(--gold); }
.site-footer a:hover { color: #fff; }
.foot-grid { display: grid; gap: 28px; }
@media (min-width: 800px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-brand { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.15rem; color: #fff; }
.foot-h { color: #fff; font-size: 1.1rem; }
.foot-legal { border-top: 1px solid #343a46; margin-top: 28px; padding-top: 16px; padding-bottom: 24px; font-size: .95rem; }
.foot-legal p { margin: 0; }

/* Quote form */
.form-layout { align-items: start; }
@media (min-width: 860px) { .form-layout { grid-template-columns: 1.7fr 1fr; } }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.side { background: var(--alt); border-radius: var(--radius); padding: 24px; }
.side h2 { font-size: 1.4rem; }
.field { margin-bottom: 22px; }
.field > label, .field legend { display: block; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req { color: var(--red); margin-left: 3px; }
.help { color: var(--muted); font-size: 1rem; margin: 0 0 8px; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="url"],
.field input[type="number"], .field input[type="date"], .field input[type="time"], .field input[type="datetime-local"],
.field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 2px solid #6b7486; border-radius: 8px; padding: 12px 14px; min-height: 50px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { border-color: var(--focus); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--red); }
.choice { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-weight: 400; cursor: pointer; }
.choice input { width: 24px; height: 24px; accent-color: var(--navy); margin: 0; flex: none; }
.err { color: var(--red); font-weight: 700; font-size: 1rem; margin: 6px 0 0; }
.err:empty { display: none; }
.err:not(:empty)::before { content: "⚠ "; }
.form-error { background: #fdecea; border-left: 6px solid var(--red); padding: 14px 16px; border-radius: 6px; color: #5b130f; }
.form-error:empty { display: none; }
.submit-row { margin-top: 8px; }
.submit-row .btn { width: 100%; }
@media (min-width: 560px) { .submit-row .btn { width: auto; } }
.btn[disabled] { opacity: .65; cursor: wait; }
.thanks { border-left: 8px solid var(--gold); padding: 8px 0 8px 20px; }
.thanks h2 { margin-bottom: .4em; }
.skeleton span { display: block; height: 50px; background: var(--alt); border-radius: 8px; margin-bottom: 22px; }
.skeleton span:nth-child(3) { width: 70%; }
.note { color: var(--muted); font-size: 1rem; }

@media (prefers-reduced-motion: no-preference) {
  .svc-card, .btn, #site-nav a { transition: background-color .15s, border-color .15s, color .15s; }
}
@media (forced-colors: active) {
  .btn, .svc-card, .store, .form-panel { border: 2px solid CanvasText; }
}
/* Logo */
.brand-logo { display: block; height: 64px; width: auto; }
@media (max-width: 520px) { .brand-logo { height: 50px; } }
.hero .hl { color: var(--gold); }
