:root {
  --steel: #202931;
  --slate: #44525d;
  --paper: #f3f5f6;
  --rust: #c95f2f;
  --oil: #161b20;
  --mist: #d8e0e6;
  --ink: #12181d;
  --line: rgba(18, 24, 29, 0.14);
  --shadow: 0 24px 64px rgba(18, 24, 29, 0.16);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Verdana, Geneva, sans-serif;
  background:
    linear-gradient(180deg, #f7f8f8 0%, #e8edf1 44%, #dbe1e5 100%);
}
img { display: block; width: 100%; max-width: 100%; }
.page-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(247, 248, 248, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.back-link {
  text-decoration: none;
  color: var(--ink);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 700;
}
.switcher {
  display: grid;
  gap: 0.35rem;
  justify-items: end;
  font-size: 0.82rem;
}
.switcher span,
.section-tag,
.badge-box figcaption,
.service-card figcaption {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--rust);
}
.switcher select {
  min-width: min(360px, 72vw);
  padding: 0.9rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  font: inherit;
}
.garage-page {
  width: min(1280px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 1rem 0 2rem;
  display: grid;
  gap: 1rem;
}
.work-order,
.order-sheet,
.badge-box,
.bay-layout,
.checklist-panel,
.clipboard,
.service-card,
.contact-card,
.map-card {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.work-order,
.bay-layout,
.footer-row {
  display: grid;
  gap: 1rem;
}
.work-order { grid-template-columns: 1.15fr 0.85fr; border: none; box-shadow: none; }
.order-sheet,
.clipboard,
.contact-card {
  border-radius: 30px;
  background: rgba(255,255,255,0.84);
}
.order-sheet {
  padding: 1.4rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(225,231,235,0.94));
}
h1,h2,strong { font-family: "Arial Black", Gadget, sans-serif; letter-spacing: 0.02em; }
h1,h2,p,li,dd,dt,span,figcaption { overflow-wrap: anywhere; }
h1 { margin: 0 0 0.9rem; font-size: clamp(3rem, 7vw, 5.7rem); line-height: 0.9; max-width: 8ch; }
h2 { margin: 0 0 0.7rem; font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 0.95; }
p,li,dd,dt,span,figcaption { line-height: 1.7; }
.lead { margin: 0; max-width: 33rem; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 1.2rem 0 0;
}
.service-grid div {
  padding: 0.9rem;
  border-radius: 20px;
  background: #f7f9fa;
  border: 1px solid rgba(18,24,29,0.08);
}
dt { font-weight: 800; color: var(--slate); }
dd { margin: 0.25rem 0 0; }
.badge-box,
.service-card {
  border-radius: 28px;
  overflow: hidden;
  background: rgba(255,255,255,0.84);
}
.badge-box {
  padding: 1rem;
  display: grid;
  gap: 0.7rem;
  background: linear-gradient(180deg, rgba(32,41,49,0.96), rgba(68,82,93,0.94));
  color: #eff3f5;
}
.badge-box img {
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px;
  background: linear-gradient(135deg, #8898a3, #dde5ea);
}
.badge-box figcaption,
.badge-box p { color: #e6edf1; }
.bay-layout {
  grid-template-columns: 1.25fr 0.75fr;
  align-items: stretch;
}
.bay-photo {
  min-height: 500px;
  border-radius: 34px;
  object-fit: cover;
  background: linear-gradient(135deg, #9ba9b4, #e3eaee);
}
.checklist-panel {
  padding: 1.2rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(32,41,49,0.95), rgba(22,27,32,0.96));
  color: #eef2f5;
}
.checklist-panel .section-tag,
.checklist-panel p,
.checklist-panel li { color: #dce6ec; }
.checklist-panel ul { margin: 1rem 0 0; padding-left: 1.2rem; }
.detail-run {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1rem;
}
.clipboard {
  padding: 1.25rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(224,230,235,0.86));
}
.service-card {
  display: grid;
  gap: 0.7rem;
  padding: 1rem;
}
.service-card img {
  min-height: 230px;
  border-radius: 18px;
  object-fit: cover;
  background: linear-gradient(135deg, #8d9ea9, #e3eaee);
}
.narrow,.wide,.receipt { grid-column: 2; }
.wide { transform: translateX(-2rem); background: rgba(246,248,249,0.92); }
.receipt { transform: translateX(1.25rem); background: linear-gradient(180deg, rgba(216,224,230,0.82), rgba(255,255,255,0.92)); }
.footer-row { grid-template-columns: 0.92fr 1.08fr; }
.contact-card { padding: 1.2rem; }
.contact-card p { margin: 0.3rem 0; }
.map-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: 30px;
  background: linear-gradient(180deg, #edf2f4, #d9e2e7);
}
.yard-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 17%, rgba(18,24,29,0.08) 17% 19%, transparent 19% 45%, rgba(201,95,47,0.18) 45% 48%, transparent 48% 72%, rgba(18,24,29,0.08) 72% 74%, transparent 74%),
    linear-gradient(transparent 0 24%, rgba(18,24,29,0.08) 24% 26%, transparent 26% 48%, rgba(68,82,93,0.14) 48% 52%, transparent 52% 78%, rgba(18,24,29,0.08) 78% 80%, transparent 80%);
}
.pin {
  position: absolute;
  left: 56%;
  top: 46%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--rust);
  transform: translate(-50%, -50%);
}
.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 68%;
  width: 18px;
  height: 18px;
  background: var(--rust);
  transform: translateX(-50%) rotate(45deg);
}
.map-chip {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  font-weight: 700;
}
@media (max-width: 980px) {
  .work-order,.bay-layout,.detail-run,.footer-row { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .narrow,.wide,.receipt { grid-column: auto; transform: none; }
  .bay-photo { min-height: 320px; }
}
@media (max-width: 760px) {
  .page-header { position: static; display: grid; }
  .switcher { justify-items: start; }
  .garage-page { width: min(100% - 0.75rem, 1280px); }
}
