/*
  Augusta Mobile Mechanic — editorial automotive system
  Palette follows the existing crimson / steel identity in data.py.
*/
:root {
  --brand: #c42a1f;
  --brand-2: #9a2118;
  --accent: #c42a1f;
  --ink: #171613;
  --ink-strong: #0c0d0f;
  --muted: #66615a;
  --bg: #fafaf8;
  --bg-2: #f3f0ea;
  --bg-3: #ebe7df;
  --border: #ded8ce;
  --border-2: #c9c1b5;
  --silver: #66615a;
  --good: #c42a1f;
  --shadow: 0 22px 60px rgba(12, 13, 15, .10);
  --radius: 2px;
  --radius-sm: 2px;
  --radius-lg: 2px;
  --pad: clamp(72px, 9vw, 124px);
  --max: 1240px;
  --content-font: "Inter Tight", "Soehne", system-ui, -apple-system, "Segoe UI", sans-serif;
}

html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.58;
  letter-spacing: -.006em;
}
body::after { opacity: .16; mix-blend-mode: multiply; }
::selection { background: var(--brand); color: #f8f6f2; }

.shell { max-width: var(--max); padding-inline: clamp(20px, 4vw, 48px); }
section { padding-block: var(--pad); }
p { color: var(--muted); line-height: 1.68; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
h1, h2, h3, h4 {
  color: var(--ink-strong);
  font-weight: 520;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(2.9rem, 6.6vw, 6.6rem); line-height: .94; }
h2 { font-size: clamp(2rem, 4.4vw, 4rem); line-height: 1; max-width: 18ch; }
h3 { font-size: clamp(1.35rem, 2.3vw, 2rem); }

/* Navigation */
header.site {
  background: rgba(250, 250, 248, .94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px) saturate(140%);
}
.nav-wrap { min-height: 82px; padding: 14px clamp(20px, 4vw, 48px); max-width: 1360px; }
.brand-logo img { width: 194px; height: 44px; object-fit: contain; object-position: left center; filter: none; }
.nav { gap: 2px; }
.nav-item > a, .nav-item > button {
  color: var(--ink);
  border-radius: 0;
  padding: 12px 11px;
  font-size: 13px;
  font-weight: 600;
}
.nav-item > a:hover, .nav-item > button:hover { color: var(--brand); background: transparent; }
.dropdown {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0;
  box-shadow: var(--shadow);
  min-width: 330px;
  padding: 8px;
}
.dropdown a {
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  color: var(--ink);
  font-size: 13px;
}
.dropdown a:last-child { border-bottom: 0; }
.dropdown a:hover { background: var(--bg-2); color: var(--brand); }
.actions .btn {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: .05em;
  box-shadow: none;
}
.nav-toggle span { background: var(--ink); border-radius: 0; }

/* Hero */
.hero {
  min-height: 610px;
  display: flex;
  align-items: center;
  padding: clamp(86px, 11vw, 150px) 0;
  background: var(--ink-strong);
  color: #f8f6f2;
  overflow: hidden;
}
.hero::before {
  background:
    linear-gradient(90deg, rgba(196, 42, 31, .13) 1px, transparent 1px),
    linear-gradient(rgba(196, 42, 31, .13) 1px, transparent 1px),
    radial-gradient(700px 500px at 82% 25%, rgba(196, 42, 31, .22), transparent 68%);
  background-size: 72px 72px, 72px 72px, auto;
  mask-image: linear-gradient(90deg, transparent 10%, #000 58%);
}
.hero .shell { width: 100%; text-align: left !important; position: relative; }
.hero .shell::after {
  content: "MOBILE SERVICE / CSRA";
  position: absolute;
  right: 48px;
  top: 50%;
  writing-mode: vertical-rl;
  font: 10px/1 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .22em;
  color: rgba(248, 246, 242, .34);
  transform: translateY(-50%);
}
.hero .reveal-stagger { max-width: 980px; }
.hero h1 { color: #f8f6f2; max-width: 13ch; margin-top: 26px !important; margin-bottom: 24px; }
.hero .lead { color: rgba(248, 246, 242, .69); max-width: 62ch !important; margin: 0 0 26px !important; }
.hero .byline-date {
  color: rgba(248, 246, 242, .46) !important;
  font: 11px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chip {
  border-radius: 0;
  padding: 8px 11px;
  background: transparent;
  border-color: rgba(248, 246, 242, .26);
  color: rgba(248, 246, 242, .72);
  font: 10px/1.2 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.chip.brand { background: transparent; color: #f8f6f2; border: 0; padding-left: 34px; position: relative; }
.chip.brand::before { content: ""; position: absolute; left: 0; width: 24px; height: 1px; background: var(--brand); }
.live-status { display: none; }
.hero .row { justify-content: flex-start !important; }

.btn {
  border-radius: 2px;
  box-shadow: none;
  padding: 15px 22px;
  font-weight: 620;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: none; }
.btn.large { padding: 18px 28px; font-size: 1rem; }
.btn.ghost { color: #f8f6f2; border-color: rgba(248, 246, 242, .32); }
.btn.ghost:hover { background: #f8f6f2; border-color: #f8f6f2; color: var(--ink-strong); }

/* Serial trust band */
.section-light { background: var(--ink); }
.hero + .section-light { padding: 0; border-top: 1px solid rgba(248, 246, 242, .12); }
.trust-bar { border-radius: 0; background: rgba(248, 246, 242, .12); }
.trust-bar-item { background: var(--ink); padding: 34px 24px; text-align: left; min-height: 142px; }
.trust-bar-item .icn, .trust-bar-item [data-lucide] { color: var(--brand); width: 22px; height: 22px; margin: 0 0 22px; }
.trust-bar-item .num { color: #f8f6f2; font-size: 1.35rem; font-weight: 520; letter-spacing: -.02em; }
.trust-bar-item .lab {
  color: rgba(248, 246, 242, .46);
  font: 10px/1.5 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

/* Content system */
main > section:not(.hero):not(.section-light) { border-bottom: 1px solid var(--border); }
main > section:nth-of-type(even):not(.section-light) { background: var(--bg-2); }
main > section .shell > h2::before {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--brand);
  margin-bottom: 24px;
}
main > section .shell > .lead { max-width: 780px; }
.direct-answer {
  max-width: 880px;
  border-left: 2px solid var(--brand);
  background: transparent;
  padding: 4px 0 4px 24px;
  color: var(--ink);
}
.grid { gap: 1px; background: var(--border); border: 1px solid var(--border); }
.card {
  border-radius: 0;
  border: 0;
  background: var(--bg);
  padding: clamp(26px, 4vw, 46px);
  gap: 10px;
}
.card:hover { transform: translateY(-2px); box-shadow: none; background: #fff; }
.card h3 { max-width: 18ch; }
.area-grid { gap: 1px; background: var(--border); border: 1px solid var(--border); }
.area-grid a {
  border: 0;
  border-radius: 0;
  background: var(--bg);
  min-height: 76px;
  padding: 22px;
  text-align: left;
  font-size: 14px;
}
.area-grid a:hover { transform: none; background: var(--ink); color: #f8f6f2; }

.fact-table { border-radius: 0; border-color: var(--border-2); background: transparent; }
.fact-table th, .fact-table td { padding: 17px 20px; border-color: var(--border); }
.fact-table thead th {
  background: var(--ink);
  color: #f8f6f2;
  font: 11px/1.4 "SFMono-Regular", Consolas, monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fact-table tbody tr:nth-child(even) { background: var(--bg-2); }
.fact-table .num-col { color: var(--ink); font-weight: 650; }

.acc-item { background: transparent; border: 0; border-top: 1px solid var(--border-2); border-radius: 0; margin: 0; }
.acc-item:last-child { border-bottom: 1px solid var(--border-2); }
.acc-head { padding: 24px 0; font-size: clamp(1rem, 1.5vw, 1.16rem); font-weight: 580; }
.acc-inner { padding-inline: 0 60px; }
.acc-item.active .acc-inner { border-top: 0; padding-top: 0; }
.acc-head .icn, .acc-head [data-lucide] { color: var(--brand); }

.t-rating { display: none; }
.emergency-cta {
  border-radius: 0;
  background: var(--ink-strong);
  box-shadow: none;
  text-align: left;
  padding: clamp(44px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.emergency-cta::after { content: ""; position: absolute; right: 0; top: 0; width: 9px; height: 100%; background: var(--brand); }
.emergency-cta h2 { max-width: 16ch; }
.emergency-cta .row { justify-content: flex-start !important; }

/* Footer and mobile action */
footer.site { background: var(--ink-strong); border-top: 0; padding: 76px 16px 128px; }
footer.site h4 { color: #f8f6f2; font: 11px/1.4 "SFMono-Regular", Consolas, monospace; letter-spacing: .14em; text-transform: uppercase; }
footer.site p, footer.site a, footer.site address { color: rgba(248, 246, 242, .55); }
footer.site a:hover { color: #f8f6f2; }
footer.site .brand-logo img { filter: brightness(0) invert(1); }
footer.site .copyright { border-color: rgba(248, 246, 242, .14); }
.sticky-call { bottom: 12px; width: min(820px, calc(100vw - 24px)); }
.sticky-call .bar { border-radius: 2px; background: rgba(12, 13, 15, .95); border-color: rgba(248, 246, 242, .18); padding: 7px; }
.sticky-call .btn { border-radius: 1px; }

@media (max-width: 1024px) {
  .nav { gap: 0; }
  .nav-item > a, .nav-item > button { padding-inline: 8px; font-size: 12px; }
  .brand-logo img { width: 166px; }
}

@media (max-width: 768px) {
  .nav-wrap { min-height: 70px; }
  .nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 24px;
  }
  .nav-item > a, .nav-item > button { color: var(--ink); padding: 13px 0; border-bottom: 1px solid var(--border); }
  .dropdown { min-width: 0; border: 0; box-shadow: none; padding: 0 0 8px 16px; }
  .dropdown a { border: 0; padding: 8px 0; color: var(--muted); }
  .hero { min-height: auto; padding-block: 82px; }
  .hero .shell, .hero .reveal-stagger, .hero .reveal-stagger > * { width: 100%; min-width: 0; max-width: 100%; }
  .hero .shell::after { display: none; }
  .hero h1 { font-size: clamp(2.55rem, 11.4vw, 4.5rem); max-width: 10.5ch; overflow-wrap: normal; }
  .hero .lead, .hero .byline-date { overflow-wrap: anywhere; }
  .hero .row { flex-direction: column; align-items: stretch !important; }
  .hero .row { width: 100%; max-width: 100%; }
  .hero .btn { width: 100%; }
  .hero .row[style*="gap:20px"] { display: none; }
  .trust-bar-item { padding: 26px 18px; min-height: 125px; }
  .grid { display: grid; grid-template-columns: 1fr; }
  .fact-table { font-size: 14px; }
  .fact-table th, .fact-table td { padding: 13px 10px; }
  footer.site { padding-bottom: 166px; }
  .sticky-call .bar { grid-template-columns: 1fr 1fr; }
  .sticky-call .btn { min-width: 0; padding-inline: 10px; font-size: .82rem; }
  #shareLoc { display: none; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand-logo img { width: 154px; height: 38px; }
  h1 { letter-spacing: -.045em; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .trust-bar-item .num { font-size: 1.05rem; }
  .emergency-cta { padding: 38px 24px; }
}
