/* Garage Door Repair in Spokane Valley, WA - fast, plain, call-first */
:root {
  --bg: #f4f1ea;
  --card: #fff;
  --ink: #111;
  --muted: #3a3a3a;
  --line: #d4cfc4;
  --accent: #c1121f;
  --accent-dark: #8a0c16;
  --call: #e8b923;
  --call-ink: #111;
  --ok: #1b4332;
  --max: 920px;
  --header-h: 58px;
  --bot-h: 48px;
  --yel: #f2b705;
  --prose: 920px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: calc(var(--bot-h) + env(safe-area-inset-bottom, 0px) + 12px);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

button,
.call-btn,
.btn,
.pick,
.botbar a,
.faq summary {
  border-radius: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #111;
  color: #fff;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 3px solid #e8b923;
}
.topbar .wrap {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-width: 0;
}
.wm {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
  flex: 1 1 auto;
  width: auto;
  max-width: none;
}
.wm:hover { text-decoration: none; color: #fff; }
.wm-mark {
  width: 28px;
  height: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  flex: 0 0 auto;
}
.wm-mark i { display: block; background: #e8b923; }
.wm-t {
  display: block;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.05;
  color: #fff;
}
.wm-s {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: #f3e6b8;
  font-weight: 650;
}
.hdr-cta {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  gap: 0;
}
.call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--call);
  color: var(--call-ink);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 0;
  font-size: 16px;
  line-height: 1.15;
  white-space: nowrap;
  border: 2px solid #e8b923;
  max-width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  text-align: center;
}
.call-btn:hover { filter: brightness(1.05); color: #111; }
.call-btn.block,
.call-btn.lg {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  font-size: 18px;
  padding: 14px 18px;
  min-height: 52px;
  line-height: 1.2;
  border-radius: 0;
  white-space: normal;
  text-align: center;
}

.nav {
  background: #1c1c1c;
  border-bottom: 1px solid #333;
}
.nav .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding-top: 8px;
  padding-bottom: 8px;
  overflow: visible;
}
.nav a {
  color: #f0e6c8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 650;
  padding: 4px 0;
  white-space: nowrap;
}
.nav-break { display: none; }
@media (max-width: 879px) {
  .nav .wrap { column-gap: 8px; row-gap: 2px; }
  .nav a:nth-child(1) { order: 1; }
  .nav a:nth-child(2) { order: 2; }
  .nav a:nth-child(3) { order: 3; }
  .nav a:nth-child(4) { order: 4; }
  .nav a:nth-child(6) { order: 5; }
  .nav a:nth-child(7) { order: 6; }
  .nav-break {
    display: block;
    order: 7;
    flex-basis: 100%;
    width: 0;
    height: 0;
    overflow: hidden;
  }
  .nav a:nth-child(5) { order: 8; }
  .nav a:nth-child(8) { order: 9; }
  .nav a:nth-child(9) { order: 10; }
  .nav a:nth-child(10) { order: 11; }
  .nav a:nth-child(11) { order: 12; }
}
@media (max-width: 389px) {
  .nav .wrap { column-gap: 6px; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 340px) {
  .nav .wrap { column-gap: 4px; padding-left: 6px; padding-right: 6px; }
}

.botbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--call);
  border-top: 2px solid #111;
  display: flex;
  align-items: stretch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.botbar a.bot-call {
  flex: 1 1 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  color: #111;
  font-weight: 800;
  line-height: 1.1;
  border-radius: 0;
  box-sizing: border-box;
  min-height: 48px;
  height: 48px;
  padding: 8px 12px;
  font-size: 16px;
  background: #e8b923;
  border: 0;
  white-space: nowrap;
}

.hero {
  background: #1a1a1a;
  color: #fff;
  padding: 28px 0 32px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: start;
}
.hero h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 6vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.hero .lede { font-size: 20px; margin: 0 0 16px; color: #f3e6b8; }
.hero .note { margin: 12px 0 0; color: #ddd; font-size: 15px; }
.hero a:not(.call-btn) { color: #e8b923; }
.eyebrow {
  color: #e8b923;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.facts { list-style: none; margin: 18px 0 0; padding: 12px 0 0; border-top: 2px solid #333; }
.facts li {
  margin: 0 0 8px;
  padding-left: 10px;
  border-left: 3px solid #e8b923;
  color: #f3e6b8;
  font-size: 16px;
}
.hero .hero-btns { display: block; width: auto; }
.hero .hero-btns .call-btn {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 18px;
  background: #e8b923;
  color: #111;
  border: 2px solid #e8b923;
  white-space: normal;
}
.hero figure.photo { margin: 16px 0 0; }
.hero figcaption { color: #ddd; }

.pagehead {
  background: #222;
  color: #fff;
  padding: 22px 0 20px;
}
.pagehead h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 5.4vw, 36px);
  line-height: 1.15;
  font-weight: 800;
}
.pagehead p { margin: 0 0 12px; color: #f3e6b8; }
.pagehead .answer {
  font-size: 19px;
  line-height: 1.5;
  color: #fff;
  border-left: 4px solid #e8b923;
  padding: 4px 0 4px 12px;
  margin: 0 0 12px;
}
.pagehead .call-btn { margin-top: 4px; }

.crumbs { font-size: 13px; padding: 10px 0 0; color: #555; }
.crumbs a { color: #333; }

main { padding: 24px 0 96px; }
h2 {
  font-size: 24px;
  line-height: 1.2;
  margin: 28px 0 10px;
  font-weight: 800;
  padding-bottom: 6px;
  border-bottom: 2px solid #111;
}
main .call-steps h2,
.box.callout h2,
.reach h2 { border-bottom: 0; padding-bottom: 0; }
h3 { font-size: 18px; margin: 18px 0 8px; font-weight: 800; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 14px; padding-left: 1.2em; }
li { margin: 0 0 6px; }

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 16px 0;
  align-items: stretch;
}
.card {
  background: #fff;
  border: 2px solid #111;
  border-radius: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card h2, .card h3 { margin-top: 0; border: 0; padding: 0; }
.card .more { font-weight: 700; margin-top: auto; margin-bottom: 0; }

.box {
  background: var(--card);
  border: 2px solid #111;
  border-radius: 0;
  padding: 16px;
  margin: 16px 0;
}
.box.warn { background: #fff6d8; border-color: #b8860b; }
.box.safe { background: #e8f5ee; border-color: var(--ok); }
.box.callout { background: #111; color: #fff; text-align: center; }
.box.callout p { color: #f3e6b8; }
.box.callout a:not(.call-btn) { color: var(--call); }

figure.photo { margin: 16px 0 24px; background: transparent; }
figure.photo img { width: 100%; height: auto; display: block; border: 3px solid #111; }
figure.photo.parts img {
  object-fit: contain;
  background: #fff;
  max-height: 280px;
  margin: 0 auto;
}
figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }

.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 8px 0 18px;
}
.strip figure.photo { margin: 0; }
.strip figure.photo img { width: 100%; height: 140px; object-fit: cover; }
.strip figure.photo.parts img { object-fit: contain; background: #fff; height: 140px; }

.area-map { max-width: var(--prose); margin: 0 0 12px; }
.area-map img { display: block; width: 100%; height: auto; border: 3px solid #111; }
.area-map figcaption { font-size: 14px; color: var(--muted); margin-top: 6px; }

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 2px solid #111;
  margin: 12px 0 18px;
  font-size: 16px;
}
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
th { background: #111; color: #fff; }
tr:last-child td { border-bottom: 0; }

.reach { border: 3px solid #111; background: #fff; padding: 14px 14px 16px; margin: 18px 0; }
.reach h2 { margin-top: 0; }
.reach-row { display: block; margin-top: 10px; }
.reach-row .call-btn {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-height: 52px;
  padding: 14px 18px;
  font-size: 18px;
  white-space: normal;
}

.faq details {
  background: #fff;
  border: 2px solid #111;
  border-radius: 0;
  margin: 0 0 8px;
  padding: 10px 12px;
}
.faq summary { font-weight: 750; cursor: pointer; }
.faq details p { margin: 8px 0 4px; }

.picker { margin: 8px 0 18px; }
.picker-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 10px 0 0;
  align-items: stretch;
}
.pick {
  display: block;
  background: #fff;
  color: #111;
  border: 2px solid #111;
  border-radius: 0;
  padding: 12px;
  min-height: 96px;
  text-decoration: none;
}
.pick strong { display: block; font-size: 17px; line-height: 1.25; }
.pick span { display: block; font-size: 14px; color: #3a3a3a; margin-top: 4px; font-weight: 400; }
.pick:hover, .pick:focus { background: #fff6d8; }
.pick.call { grid-column: 1 / -1; background: #e8b923; text-align: center; min-height: 0; }
.pick.call span { color: #111; }

.call-steps ol { list-style: none; counter-reset: step; padding: 0; margin: 0 0 12px; }
.call-steps li {
  counter-increment: step;
  position: relative;
  background: #fff;
  border: 2px solid #111;
  border-radius: 0;
  padding: 10px 12px 10px 54px;
  margin: 0 0 8px;
  min-height: 48px;
}
.call-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 42px;
  background: #e8b923;
  color: #111;
  font-weight: 800;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid #111;
}

footer {
  background: #111;
  color: #ddd;
  padding: 22px 0 96px;
  font-size: 15px;
}
footer a { color: #f3e6b8; }
footer h2 {
  color: #fff;
  font-size: 16px;
  margin: 16px 0 8px;
  border: 0;
  padding: 0;
}
.ftr {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px 28px;
}
.ftr nav a { display: block; margin: 0 0 6px; text-decoration: none; }
.ftr nav a:hover { text-decoration: underline; }
.ftr-phone {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #e8b923;
  text-decoration: none;
  margin: 10px 0 8px;
  background: transparent;
  border: 0;
  padding: 0;
}
.ftr p { color: #ddd; }
.ftr-legal { margin-top: 18px; }
footer .ai-box {
  border: 1px solid #444;
  padding: 12px;
  margin-top: 18px;
  color: #ccc;
  font-size: 13px;
  line-height: 1.45;
}
footer .ai-box strong { color: #fff; }
a[href^="tel:"] { font-weight: 800; }

.sitemap-list { columns: 1; font-size: 15px; }
.sitemap-list a { display: block; margin: 0 0 6px; }

@media (min-width: 560px) {
  .picker-grid { grid-template-columns: 1fr 1fr; }
  .sitemap-list { columns: 2; }
}
@media (min-width: 640px) {
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .strip { grid-template-columns: 1fr 1fr 1fr; }
  body { font-size: 18px; }
  .brand, .wm-t { font-size: 16px; }
}
@media (min-width: 820px) {
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
  .card-grid.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .picker-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 860px) {
  .ftr { grid-template-columns: 1.35fr 1fr 0.85fr 1.15fr; }
}
@media (min-width: 960px) {
  .botbar { display: none; }
  body { padding-bottom: 0; }
  footer { padding-bottom: 28px; }
}
@media (max-width: 879px) {
  .wm-t { font-size: 14px; }
  .wm-s { font-size: 11px; }
  .hdr-cta .call-btn {
    font-size: 13px;
    padding: 8px 8px;
    min-height: 40px;
    white-space: nowrap;
    line-height: 1.1;
  }
  .nav a { font-size: 13px; }
  .hero { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 389px) {
  .nav a { font-size: 12px; }
}
@media (max-width: 340px) {
  .nav a { font-size: 11.5px; }
}
@media (max-width: 359px) {
  .wm-t { font-size: 12px; }
  .wm-s { font-size: 10px; }
  .hdr-cta .call-btn,
  .botbar a.bot-call { font-size: 12px; padding-left: 6px; padding-right: 6px; }
}
