/* Super Muffler Inc. - styles
   Palette taken from the shop itself: the red and blue stripes and the
   black-and-white checkerboard on the storefront, the yellow pole sign,
   and the painted block wall. Type: Barlow, inspired by California road signs. */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/barlow-latin-600-normal.woff2") format("woff2"); }

:root {
  --red: #d7261e;
  --red-dark: #b31d16;
  --blue: #2347a0;
  --navy: #0c1a3d;
  --navy-deep: #081230;
  --yellow: #f5c518;
  --wall: #f3f2ee;
  --ink: #1b1e25;
  --muted: #555b68;
  --line: #d9d7d0;
  --white: #fff;
  --ok: #2fb463;

  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --header-h: 72px;
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--notice-h, 0px) + 12px); }
body {
  margin: 0;
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1; margin: 0; letter-spacing: -0.005em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
svg { fill: currentColor; }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.hero :focus-visible, .contact :focus-visible, .site-footer :focus-visible, .vets :focus-visible, .brands :focus-visible, .action-bar :focus-visible, .lightbox :focus-visible { outline-color: var(--yellow); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1.3rem; }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 1.05rem; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .55); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-white { background: var(--white); color: var(--red); }
.btn-white:hover { background: #ffe9e7; }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--white); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-header::before { /* the storefront pinstripes */
  content: ""; display: block; height: 7px;
  background: linear-gradient(var(--red) 0 3px, var(--white) 3px 4px, var(--blue) 4px 7px);
}

/* holiday notice: the yellow of the pole sign, above the pinstripes */
.notice { order: -1; background: var(--yellow); color: var(--ink); }
.notice-row { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; padding-block: 6px; }
.notice-icon { width: 20px; height: 20px; flex: none; }
.notice-text { font-size: .95rem; line-height: 1.35; text-align: center; }
.notice-text strong { font-weight: 600; }
.notice-extra { display: none; }
.notice-close {
  flex: none; width: 36px; height: 36px; margin-right: -8px;
  display: grid; place-items: center;
  border: 0; border-radius: var(--radius); background: transparent; cursor: pointer;
  font-size: 1.5rem; line-height: 1;
}
.notice-close:hover { background: rgba(27, 30, 37, .1); }
@media (max-width: 559px) {
  .notice-icon, .notice-reopen { display: none; }
  .notice-text { text-align: left; font-size: .9rem; }
}
@media (min-width: 900px) {
  .notice-extra { display: inline; font-weight: 600; }
}
.header-row { display: flex; align-items: center; gap: 16px; height: calc(var(--header-h) - 8px); }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; }
.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; }
.lang-btn { border: 0; background: transparent; padding: 7px 10px; font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1; cursor: pointer; min-width: 40px; min-height: 36px; }
.lang-btn[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.btn-call { min-height: 42px; padding: 8px 12px; }
.btn-call span { display: none; }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; display: grid; place-items: center; cursor: pointer; border-radius: var(--radius); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

.nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line);
  padding: 8px clamp(18px, 4vw, 40px) 16px;
  box-shadow: 0 18px 30px -18px rgba(12, 26, 61, .35);
}
.nav a { text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.35rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nav a:last-child { border-bottom: 0; }

@media (min-width: 560px) {
  .btn-call span { display: inline; }
}
@media (min-width: 1060px) {
  :root { --header-h: 80px; }
  .brand img { height: 60px; }
  .menu-btn { display: none; }
  .nav { display: flex; gap: 22px; margin-left: 28px; }
  .nav a { font-size: 1.15rem; padding: 6px 0; border: 0; border-bottom: 2px solid transparent; }
  .nav a:hover { border-bottom-color: var(--red); }
}

/* ---------- hero + 3D ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: var(--white); }
.hero-3d { position: absolute; inset: 0; z-index: 0; }
.x3d-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .7s ease; }
.hero.is-3d .x3d-canvas { opacity: 1; }
.hero-grid { position: relative; z-index: 1; display: grid; pointer-events: none; }
.hero-copy, .stage-ui, .x3d-panel { pointer-events: auto; }

.hero-copy { padding-top: 30px; max-width: 34rem; }
.hero-where { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 500; color: rgba(255, 255, 255, .82); font-size: 1rem; }
.hero h1 { margin-top: 14px; font-size: clamp(2.6rem, 9.5vw, 4.5rem); line-height: .94; text-wrap: balance; }
.hero-lede { margin-top: 16px; font-size: 1.15rem; line-height: 1.5; color: rgba(255, 255, 255, .86); max-width: 32rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-estimate { margin-top: 14px; font-weight: 600; font-size: 1.05rem; color: var(--white); padding-left: 12px; border-left: 3px solid var(--yellow); max-width: 30rem; }
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--white); text-decoration: none; font-size: 1rem; }
.hero-rating:hover span:last-child { text-decoration: underline; }
.stars { color: var(--yellow); letter-spacing: 2px; font-size: 1.15rem; }

.status { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: #8b93a7; flex: none; }
.status[data-state="open"] .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(47, 180, 99, .22); }
.status[data-state="soon"] .status-dot { background: var(--yellow); box-shadow: 0 0 0 4px rgba(245, 197, 24, .22); }
.status[data-state="closed"] .status-dot { background: var(--red); }

.hero-stage { position: relative; display: flex; flex-direction: column; }
.stage-car { position: relative; height: clamp(300px, 86vw, 440px); }
.x3d-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.stage-ui { padding-bottom: 26px; }
.stage-hint { font-size: .98rem; color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 6px 14px 6px 6px;
  border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .06); color: var(--white);
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; line-height: 1;
  cursor: pointer;
}
.chip:hover { border-color: rgba(255, 255, 255, .7); }
.chip-num { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-weight: 800; font-size: 1rem; }
.chip[aria-pressed="true"] { background: var(--white); color: var(--navy); border-color: var(--white); }

/* labels that float on the 3D parts */
.hero-3d.is-focus .x3d-label:not(.is-active) { opacity: 0; pointer-events: none; }
.x3d-label { position: absolute; left: 0; top: 0; z-index: 2; width: 0; height: 0; padding: 0; border: 0; background: none; color: var(--white); cursor: pointer; opacity: 0; transition: opacity .4s; will-change: transform; }
.x3d-label.is-visible { opacity: 1; }
.x3d-label.is-off { opacity: 0; pointer-events: none; }
.x3d-dot {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--red); border: 2px solid var(--white);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1rem; line-height: 1;
  box-shadow: 0 0 0 6px rgba(215, 38, 30, .28);
  transition: transform .2s, background-color .2s, color .2s;
}
.x3d-label:hover .x3d-dot, .x3d-label.is-active .x3d-dot { background: var(--white); color: var(--red); transform: translate(-50%, -50%) scale(1.12); }
.x3d-name {
  position: absolute; left: 20px; top: calc(-13px + var(--ny, 0px)); white-space: nowrap;
  padding: 3px 9px; border-radius: 4px;
  background: rgba(8, 18, 48, .88); border: 1px solid rgba(255, 255, 255, .18);
  font-family: var(--display); font-weight: 600; font-size: 1rem; line-height: 1.25;
  display: none;
}

.x3d-panel {
  margin-top: 14px;
  background: rgba(8, 18, 48, .94);
  border: 1px solid rgba(255, 255, 255, .16); border-left: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 16px 18px 18px;
}
.x3d-panel article { display: none; }
.x3d-panel article.is-active { display: block; }
.panel-num { font-family: var(--display); font-weight: 800; color: var(--red); font-size: 1rem; }
.x3d-panel h2 { font-size: 1.7rem; margin: 2px 0 6px; }
.x3d-panel p:not(.panel-num) { color: rgba(255, 255, 255, .86); font-size: 1rem; line-height: 1.5; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

@media (min-width: 700px) {
  .x3d-name { display: block; }
}
@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 24px;
    min-height: clamp(600px, calc(100svh - var(--header-h) - var(--notice-h, 0px) - 24px), 820px);
  }
  .hero-copy { align-self: center; padding: 48px 0; }
  /* keep the headline readable when the camera zooms in on a part */
  .hero-3d::after {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, var(--navy) 0%, rgba(12, 26, 61, .92) 30%, rgba(12, 26, 61, 0) 46%);
  }
  .hero h1 { font-size: clamp(3.4rem, 5.4vw, 5rem); }
  .stage-car { height: auto; flex: 1; min-height: 380px; }
  .stage-ui { padding-bottom: 30px; }
  .x3d-panel { position: absolute; top: 26px; right: 0; width: min(360px, 60%); margin: 0; }
}

/* the checkerboard band at the base of the storefront wall */
.checker {
  height: 24px;
  background: conic-gradient(#15171c 25%, #fff 0 50%, #15171c 0 75%, #fff 0) 0 0 / 24px 24px;
}

/* ---------- quick facts ---------- */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-list { display: grid; grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
.facts-list li { display: flex; gap: 14px; align-items: flex-start; }
.facts-list svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--red); color: var(--white); flex: none; }
.facts-list strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.3rem; line-height: 1.15; }
.facts-list span { color: var(--muted); font-size: .98rem; }
@media (min-width: 640px) { .facts-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) {
  .facts-list { grid-template-columns: repeat(5, 1fr); gap: 18px 20px; }
  .facts-list li { gap: 10px; }
  .facts-list svg { width: 34px; height: 34px; padding: 7px; }
  .facts-list span { font-size: .92rem; line-height: 1.45; display: block; margin-top: 2px; }
  .facts-list .nowrap-lines { white-space: nowrap; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { margin-bottom: clamp(28px, 4vw, 44px); max-width: 44rem; }
.section-head h2, .visit-info h2, .score h2, .contact-copy h2 { font-size: clamp(2.2rem, 5vw, 3.3rem); text-wrap: balance; }
.section-head p { margin-top: 12px; font-size: 1.15rem; color: var(--muted); }

/* services */
.services { background: var(--wall); }
.service-list { display: grid; grid-template-columns: 1fr; gap: 30px 40px; }
.service { border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; }
.service h3 { font-weight: 600; font-size: 1.75rem; line-height: 1.05; }
.service p { margin-top: 8px; color: var(--muted); max-width: 36rem; }
.see-part {
  margin-top: 12px; padding: 4px 0; border: 0; background: none; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--blue);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px;
  display: inline-flex; align-items: center; gap: 8px;
}
.see-part::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--red); box-shadow: inset 0 0 0 3px var(--wall), inset 0 0 0 9px var(--red); }
.see-part:hover { color: var(--red); }
@media (min-width: 720px) { .service-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .service-list { grid-template-columns: repeat(3, 1fr); } }

/* veterans */
.vets { background: var(--red); color: var(--white); }
.vets-row { display: grid; grid-template-columns: auto 1fr; gap: 14px 18px; align-items: center; padding-block: 30px; }
.vets-star { width: 46px; height: 46px; color: var(--white); }
.vets h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.vets p { margin-top: 6px; color: rgba(255, 255, 255, .92); }
.vets .btn { grid-column: 1 / -1; justify-self: start; }
@media (min-width: 760px) {
  .vets-row { grid-template-columns: auto 1fr auto; }
  .vets .btn { grid-column: auto; }
}

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; gap: 8px; }
.gallery li.g-tall { grid-row: span 2; }
.g-item { width: 100%; height: 100%; padding: 0; border: 0; background: #ddd; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; display: block; }
.g-item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 12px; } }
@media (min-width: 1060px) { .gallery { grid-auto-rows: 250px; } }

/* brands: logo tiles; yellow logos sit on the checkerboard black */
.brands { background: var(--navy); color: var(--white); }
.brands-row { padding-block: 36px 40px; display: grid; gap: 18px; justify-items: center; }
.brands h2 { font-weight: 600; font-size: 1.4rem; color: rgba(255, 255, 255, .8); text-align: center; }
.brand-list { width: 100%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.brand-list li {
  flex: 0 0 calc((100% - 16px) / 3); height: 74px; padding: 10px 12px;
  display: grid; place-items: center; background: var(--white); border-radius: var(--radius);
}
.brand-list li.is-dark { background: #15171c; }
.brand-list img { max-width: 100%; max-height: 52px; width: auto; height: auto; object-fit: contain; }
@media (min-width: 760px) {
  .brand-list { gap: 12px; }
  .brand-list li { flex-basis: calc((100% - 48px) / 5); height: 96px; padding: 14px 20px; }
  .brand-list img { max-height: 66px; }
}

/* reviews */
.reviews { background: var(--wall); }
.reviews-grid { display: grid; gap: 40px; }
.score-num { font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 9rem); line-height: .85; margin-top: 22px; }
.stars-lg { font-size: 1.8rem; margin-top: 6px; }
.score-sub { color: var(--muted); margin-top: 4px; }
.score-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.review-list { display: grid; gap: 16px; }
.review { background: var(--white); border-radius: var(--radius); padding: 22px 24px; border-left: 4px solid var(--yellow); }
.review blockquote { margin: 0; font-size: 1.15rem; line-height: 1.5; }
.review-by { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; color: var(--muted); font-size: .95rem; }
.review-by strong { color: var(--ink); font-size: 1rem; }
@media (min-width: 960px) { .reviews-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

/* social + videos */
.social-list { display: grid; gap: 12px; }
.social-card {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  padding: 18px 20px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none;
}
.social-card:hover { border-color: var(--ink); }
.social-card svg { grid-row: span 2; width: 34px; height: 34px; }
.social-name { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.1; }
.social-handle { color: var(--muted); }
.video-grid {
  display: flex; gap: 16px; align-items: flex-start;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding-bottom: 12px; margin-bottom: 18px;
}
.video-grid > .video-card { flex: 0 0 min(340px, 86vw); scroll-snap-align: start; }
.video-card { position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.video-card button { position: absolute; inset: 0; border: 0; padding: 0; background: none; cursor: pointer; color: var(--white); }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.video-card .play::before { content: ""; border-left: 20px solid var(--white); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 5px; }
.video-card .v-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(transparent, rgba(8, 18, 48, .9)); font-family: var(--display); font-weight: 600; font-size: 1.15rem; text-align: left; }
.video-card:not(.is-ig) iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card.is-ig { aspect-ratio: auto; background: transparent; overflow: visible; min-height: 420px; }
.video-card.is-ig .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important; }
.video-card.is-ig blockquote { margin: 0; padding: 20px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); }
@media (min-width: 760px) { .social-list { grid-template-columns: repeat(3, 1fr); } }

/* visit */
.visit { background: var(--wall); }
.visit-grid { display: grid; gap: 28px; }
.storefront { margin: 0; }
.storefront img { border-radius: var(--radius); width: 100%; }
.storefront figcaption { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.visit-info .status { margin-top: 14px; }
.status-lg { font-size: 1.1rem; }
.visit-info address { margin-top: 12px; font-size: 1.2rem; line-height: 1.4; }
.hours { width: 100%; max-width: 26rem; border-collapse: collapse; margin-top: 18px; }
.hours th, .hours td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today { background: var(--white); box-shadow: inset 4px 0 0 var(--red); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; }
.hours tr.is-holiday td { color: var(--red); }
.hours .hours-off { font-weight: 600; }
.hours .hours-why { font-weight: 400; }
.dropoff { margin-top: 12px; font-size: .98rem; color: var(--muted); max-width: 26rem; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.map { border-radius: var(--radius); overflow: hidden; background: #dfe3ea; min-height: 300px; }
.map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }
.visit-info { order: -1; }
@media (min-width: 960px) {
  .visit-grid { grid-template-columns: 7fr 5fr; gap: 40px 56px; align-items: start; }
  .visit-info { order: 0; }
  .map { grid-column: 1 / -1; height: 360px; }
}

/* contact */
.contact { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; gap: 32px; }
.contact-copy p { margin-top: 14px; font-size: 1.15rem; color: rgba(255, 255, 255, .86); max-width: 30rem; }
/* estimate note: the shop's own "call or visit for an estimate" rule, marked like a highlighter */
.estimate-note { margin-top: 24px; background: var(--yellow); color: var(--ink); border-radius: var(--radius); padding: 18px 20px 20px; max-width: 30rem; }
.contact-copy .estimate-note p { margin: 0 0 14px; color: var(--ink); font-size: 1.1rem; line-height: 1.45; }
.estimate-note strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.6rem; line-height: 1.05; margin-bottom: 4px; }
.lead-form { display: grid; grid-template-columns: 1fr; gap: 16px 18px; background: var(--white); color: var(--ink); border-radius: 10px; padding: clamp(20px, 4vw, 34px); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label, .pref legend { font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.2; }
.opt { font-family: var(--text); font-weight: 400; font-size: .9rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #bfc3cd; border-radius: var(--radius); background: var(--white);
  font-size: 1rem;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(35, 71, 160, .25); outline-offset: 0; }
.field input[aria-invalid="true"], .check input[aria-invalid="true"] { border-color: var(--red); outline: 2px solid rgba(215, 38, 30, .35); }
.pref { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 18px; }
.pref legend { width: 100%; margin-bottom: 6px; padding: 0; }
.pref label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--text); font-weight: 500; font-size: 1rem; cursor: pointer; min-height: 32px; }
.pref input, .check input { width: 20px; height: 20px; accent-color: var(--red); margin: 0; flex: none; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; line-height: 1.45; cursor: pointer; }
.check input { margin-top: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 4px; }
.small { font-size: .9rem; color: var(--muted); max-width: 26rem; }
.form-status:empty { display: none; }
.form-status { padding: 12px 14px; border-radius: var(--radius); font-weight: 500; }
.form-status[data-state="ok"] { background: #e7f6ed; color: #135b31; border: 1px solid #a9dcbc; }
.form-status[data-state="error"] { background: #fdeceb; color: #8d1a14; border: 1px solid #f2b5b1; }
.form-status[data-state="sending"] { background: #eef1f8; color: var(--navy); }
.form-status a { font-weight: 600; }
@media (min-width: 640px) {
  .lead-form { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }

/* footer */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .85); padding-top: 48px; }
.footer-grid { display: grid; gap: 28px; }
.footer-logo { width: 170px; height: auto; }
.site-footer h2 { font-weight: 600; font-size: 1.25rem; color: var(--white); margin-bottom: 8px; }
.site-footer p { margin-top: 8px; }
.site-footer a { color: var(--white); }
.footer-links { display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-block: 18px 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .92rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.25fr .8fr; } }

/* mobile action bar */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(2, 1fr);
  background: var(--navy-deep); border-top: 3px solid var(--red);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.action-bar a:first-child { background: var(--red); }
.action-bar svg { width: 20px; height: 20px; }
body { padding-bottom: calc(61px + env(safe-area-inset-bottom)); }
@media (min-width: 760px) {
  .action-bar { display: none; }
  body { padding-bottom: 0; }
}

/* lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(5, 10, 26, .96); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; grid-template-rows: 1fr auto; }
.lightbox::backdrop { background: rgba(5, 10, 26, .8); }
.lightbox img { max-width: 92vw; max-height: 80vh; width: auto; height: auto; border-radius: var(--radius); align-self: end; }
.lightbox p { padding: 12px 20px 24px; text-align: center; }
.lb-btn { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: var(--white); width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
