/* Motorplex mockup styles */
:root {
  --ink: #15171a;
  --black: #000;
  --concrete: #e9eaec;
  --paper: #ffffff;
  --red: #b51f2b;
  --red-dark: #8f1620;
  --steel: #5d636b;
  --line: #d3d6da;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 18px; line-height: 1.55; color: var(--ink); background: var(--concrete); }
img { max-width: 100%; display: block; }
a { color: var(--red); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #f2b705; outline-offset: 3px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 10px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; margin: 0 0 .4em; letter-spacing: .005em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.55rem; font-weight: 600; }
p { margin: 0 0 1em; max-width: 68ch; }

/* ---------- top strip */
.topstrip { background: var(--ink); color: #c9ccd1; font-size: .92rem; }
.topstrip .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; justify-content: space-between; padding: 7px 0; }
.topstrip a { color: #fff; text-decoration: none; font-weight: 600; }
.topstrip a:hover { text-decoration: underline; }
.topstrip .links { display: flex; gap: 22px; }

/* ---------- header: logo and call buttons, then the department bar */
.site-header { background: var(--black); }
.bar1 { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px 0; }
.logo { flex-shrink: 0; }
.logo img { height: 70px; width: auto; }
.head-actions { display: flex; gap: 10px; }
.head-actions .btn { padding: 12px 18px; font-size: 1.1rem; }

.deptbar { background: var(--ink); border-top: 1px solid #2a2d33; border-bottom: 3px solid var(--red); position: sticky; top: 0; z-index: 50; }
.dept .short { display: none; }
.dept { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.dept > li { position: relative; }
.dept > li > a, .dept > li > details > summary {
  display: block; color: #fff; text-decoration: none; font: 600 1.12rem/1 var(--display); letter-spacing: .02em;
  padding: 17px 16px 15px; cursor: pointer; list-style: none; white-space: nowrap; border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.dept > li:first-child > a, .dept > li:first-child > details > summary { padding-left: 0; }
.dept > li > details > summary::-webkit-details-marker { display: none; }
.dept > li > details > summary::after { content: ""; display: inline-block; margin-left: 7px; border: 5px solid transparent; border-top-color: currentColor; transform: translateY(2px); }
.dept > li > details[open] > summary::after { transform: translateY(-3px) rotate(180deg); }
.dept > li > a:hover, .dept > li > details > summary:hover, .dept > li > details[open] > summary, .dept > li > a[aria-current="page"] { border-bottom-color: #fff; }
.dept .menu { position: absolute; top: 100%; left: 0; min-width: 300px; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 18px 40px rgba(0,0,0,.25); padding: 8px 0; list-style: none; margin: 0; z-index: 70; }
.dept .menu a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; font-weight: 500; }
.dept .menu a:hover { background: var(--concrete); color: var(--red); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1.2rem/1 var(--display); letter-spacing: .02em; text-decoration: none; padding: 16px 24px; border-radius: 4px; border: 2px solid transparent; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--concrete); }
.btn-ghost { border-color: #fff; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- home hero */
.hero { position: relative; color: #fff; background: #000; min-height: min(78vh, 760px); display: grid; align-items: end; overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 48%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.6), transparent 45%); }
.hero .wrap { position: relative; z-index: 1; padding: 120px 0 64px; }
.hero h1 { max-width: 11ch; }
.hero .lede { font-size: 1.3rem; max-width: 40ch; color: #e4e6e9; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero .facts { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.3); font-size: 1rem; color: #d6d9dd; }
.hero .facts strong { color: #fff; font: 600 1.25rem var(--display); display: block; letter-spacing: .02em; }

/* ---------- sections */
section { padding: 84px 0; }
.on-white { background: var(--paper); }
.on-dark { background: var(--ink); color: #e9eaec; }
.on-dark h2, .on-dark h3 { color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head p { margin: 0; color: var(--steel); }

/* service board: real shop photos for the main jobs, then the full list */
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.job { background: var(--paper); border-radius: 6px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; border: 1px solid var(--line); }
.job img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.job div { padding: 16px 18px 20px; }
.job h3 { margin: 0 0 6px; font-size: 1.45rem; }
.job p { margin: 0; color: var(--steel); font-size: 1rem; }
.job:hover h3 { color: var(--red); }
.alljobs { margin-top: 34px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 30px; border-top: 2px solid var(--ink); padding-top: 22px; }
.alljobs h3 { font-size: 1.25rem; margin-bottom: 8px; }
.alljobs ul { list-style: none; padding: 0; margin: 0 0 22px; }
.alljobs li a { display: block; padding: 6px 0; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.alljobs li a:hover { color: var(--red); }

/* performance feature */
.perf { display: grid; grid-template-columns: 1.15fr 1fr; gap: 54px; align-items: center; }
.perf .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.perf .shots img { border-radius: 6px; aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.perf .shots img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; }
.big-number { font: 700 clamp(4rem, 9vw, 7.5rem)/.9 var(--display); color: #fff; margin: 0 0 10px; }
.big-number small { font-size: .26em; line-height: 1.2; display: block; color: #b9bdc3; font-weight: 600; letter-spacing: .03em; margin-top: 8px; }
.perf ul { padding-left: 1.1em; margin: 0 0 24px; }

/* trust band */
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; }
.trust > div { padding: 28px 30px; }
.trust > div + div { border-left: 1px solid var(--line); }
.trust strong { font: 700 2.6rem/1 var(--display); color: var(--red); display: block; margin-bottom: 8px; }
.trust p { margin: 0; color: var(--steel); }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 46px; }
.reviews blockquote { margin: 0; background: var(--paper); border-left: 4px solid var(--red); padding: 22px 26px; border-radius: 0 6px 6px 0; font-size: 1.08rem; }
.reviews cite { display: block; margin-top: 10px; color: var(--steel); font-style: normal; font-size: .95rem; }

/* other businesses */
.sisters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sister { position: relative; border-radius: 6px; overflow: hidden; min-height: 320px; display: flex; align-items: end; color: #fff; text-decoration: none; background: #000; }
.sister img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.sister div { position: relative; padding: 22px 24px; }
.sister h3 { font-size: 2rem; margin: 0 0 4px; }
.sister p { margin: 0; color: #e3e5e8; }
.sister:hover img { opacity: .5; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.about img { border-radius: 6px; }
.placeholder { border: 2px dashed var(--steel); border-radius: 6px; padding: 18px 20px; color: var(--steel); font-size: .98rem; margin-top: 18px; background: rgba(255,255,255,.6); }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; margin: 0 0 24px; }
.visit dt { font-weight: 600; }
.visit dd { margin: 0; }
.visit iframe { width: 100%; height: 100%; min-height: 380px; border: 0; border-radius: 6px; }

/* footer */
.site-footer { background: var(--black); color: #b9bdc3; padding: 56px 0 30px; font-size: .98rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; }
.site-footer h3 { color: #fff; font-size: 1.25rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .logo img { height: 64px; margin-bottom: 14px; }
.site-footer .legal { max-width: none; border-top: 1px solid #2c2f34; margin-top: 40px; padding-top: 20px; font-size: .9rem; }

/* mobile call/text bar */
.callbar { display: none; }

/* ---------- inner pages */
.page-hero { position: relative; background: #000; color: #fff; overflow: hidden; }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero .wrap { position: relative; padding: 84px 0 60px; }
.crumbs { font-size: .95rem; margin-bottom: 18px; color: #cfd2d6; }
.crumbs a { color: #fff; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.page-hero .lede { font-size: 1.25rem; max-width: 46ch; color: #e4e6e9; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.page-body { display: grid; grid-template-columns: 1fr 340px; gap: 54px; align-items: start; }
.page-body h2 { font-size: 2.2rem; margin-top: 1.2em; }
.page-body h2:first-child { margin-top: 0; }
.page-body ul { padding-left: 1.1em; }
.page-body li { margin-bottom: 6px; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.photo-row img { border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.side { position: sticky; top: 76px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 6px; padding: 24px; }
.side h3 { margin-bottom: 10px; }
.side .btn { width: 100%; justify-content: center; margin-top: 10px; }
.side .hours { font-size: .98rem; color: var(--steel); margin: 16px 0 0; }
.rates { width: 100%; border-collapse: collapse; margin: 10px 0 26px; background: var(--paper); border-radius: 6px; overflow: hidden; }
.rates th, .rates td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.rates th { font: 600 1.15rem var(--display); background: var(--ink); color: #fff; letter-spacing: .02em; }
.rates td:last-child { font: 700 1.4rem var(--display); color: var(--red); text-align: right; white-space: nowrap; }
.note { font-size: .95rem; color: var(--steel); }
.brands { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0 !important; }
.brands li { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 6px 12px; font-weight: 600; margin: 0; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ---------- responsive */
@media (max-width: 1080px) {
  .board { grid-template-columns: repeat(2, 1fr); }
  .alljobs { grid-template-columns: 1fr 1fr; }
  .perf, .about, .visit, .page-body { grid-template-columns: 1fr; }
  .side { position: static; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .bar1 { justify-content: center; padding: 10px 0; }
  .head-actions { display: none; }
  .logo img { height: 54px; }
  .deptbar { position: relative; }
  .deptbar .wrap { width: 100%; }
  .dept { justify-content: center; padding: 2px 4px; }
  .dept .long { display: none; }
  .dept .short { display: inline; }
  .dept > li > a, .dept > li > details > summary, .dept > li:first-child > details > summary { padding: 13px 8px 11px; font-size: 1.1rem; }
  .dept > li > details > summary::after { margin-left: 4px; }
  .dept .menu { position: fixed; left: 0; right: 0; min-width: 0; max-height: 65vh; overflow-y: auto; border-top-width: 3px; }
  .dept .menu a { padding: 13px 22px; border-bottom: 1px solid var(--line); }
}
@media (max-width: 680px) {
  body { font-size: 17px; padding-bottom: 64px; }
  .topstrip .hide-sm { display: none; }
  section { padding: 60px 0; }
  .hero { min-height: 0; }
  .hero .wrap { padding: 90px 0 44px; }
  .hero .actions .btn { flex: 1 1 100%; justify-content: center; }
  .board, .alljobs, .trust, .reviews, .sisters, .related, .site-footer .cols { grid-template-columns: 1fr; }
  .trust > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .photo-row { grid-template-columns: 1fr; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60; }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px 10px; color: #fff; text-decoration: none; font: 600 1.25rem var(--display); }
  .callbar a:first-child { background: var(--red); }
  .callbar a:last-child { background: var(--ink); }
  .callbar svg { width: 20px; height: 20px; fill: currentColor; }
}
