/* ==========================================================================
   Fenton's Custom & Collision — shared stylesheet
   Palette pulled from logo: crimson red / ink black / paper white
   ========================================================================== */

:root {
  /* Color tokens */
  --red: #c8101b;
  --red-deep: #7a0a12;
  --red-bright: #e3151f;
  --ink: #17150f;
  --ink-soft: #2b2823;
  --paper: #f5f1ea;
  --paper-dim: #ebe5da;
  --white: #ffffff;
  --steel: #4b4f52;
  --steel-light: #8a8e91;
  --line: rgba(23, 21, 15, 0.12);

  /* Type */
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  /* Layout */
  --wrap: 1180px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 8px 24px rgba(23, 21, 15, 0.12);
  --shadow-sm: 0 2px 8px rgba(23, 21, 15, 0.1);
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
}
.eyebrow::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
}

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); transform: translateY(-2px); }
.btn-outline.on-dark { color: var(--white); }
.btn-outline.on-dark:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-block { width: 100%; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
}
.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo { height: 58px; width: auto; }

.main-nav { margin-left: auto; display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-list a {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--red);
  border-color: var(--red);
}

.header-call {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: var(--red);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.header-call:hover { background: var(--red-deep); transform: translateY(-1px); }
.call-number {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 880px) {
  .brand-logo { height: 46px; }
  .nav-toggle { display: flex; }
  .main-nav { position: static; }
  .nav-list {
    position: fixed;
    inset: 84px 0 0 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 24px;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    overflow-y: auto;
  }
  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list a { display: block; padding: 16px 4px; }
  .header-call { padding: 8px 14px; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 26px),
    radial-gradient(ellipse at 80% -10%, rgba(200,16,27,0.35), transparent 55%),
    linear-gradient(180deg, #1d1a13, var(--ink) 70%);
}
.hero-inner {
  padding: 88px 0 76px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); margin: 14px 0 18px; }
.hero h1 em {
  font-style: italic;
  color: var(--red-bright);
}
.hero-lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
  max-width: 540px;
  margin-bottom: 30px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges svg { flex-shrink: 0; }

.hero-ticket {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  position: relative;
}
.hero-ticket::before,
.hero-ticket::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  background: var(--ink);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.hero-ticket::before { left: -11px; }
.hero-ticket::after { right: -11px; }
.ticket-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.94rem;
}
.ticket-row:last-child { border-bottom: none; padding-bottom: 0; }
.ticket-row:first-child { padding-top: 0; }
.ticket-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--steel);
}
.ticket-value { font-weight: 700; text-align: right; }
.ticket-head {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 4px;
  display: block;
}

@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 0 48px; }
  .hero-ticket { max-width: 460px; }
}

/* ==========================================================================
   Section scaffolding
   ========================================================================== */
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2 { color: var(--white); }
.section-paper-dim { background: var(--paper-dim); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 14px; font-size: 1.06rem; color: var(--steel); }
.section-dark .section-head p { color: rgba(255,255,255,0.72); }

.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 64px 0 50px;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 26px),
    radial-gradient(ellipse at 85% 0%, rgba(200,16,27,0.32), transparent 55%);
}
.page-hero h1 { color: var(--white); margin-top: 12px; }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 620px; margin-top: 14px; font-size: 1.08rem; }
.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  gap: 8px;
}
.breadcrumb a:hover { color: var(--white); }

/* ---------- Trust / credentials strip ---------- */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.trust-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 34px;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--steel);
  text-align: center;
}
.trust-strip strong { color: var(--ink); }

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--red);
}
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--paper-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
}
.service-card h3 { margin-bottom: 10px; }
.service-card p { color: var(--steel); margin-bottom: 16px; }
.service-card ul { display: flex; flex-direction: column; gap: 8px; }
.service-card li {
  font-size: 0.94rem;
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
}
.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 2px;
}
.service-card a.card-link {
  margin-top: 6px;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 980px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* ---------- Process strip (repair-order ticket) ---------- */
.process-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.process-step {
  padding: 30px 20px;
  border-right: 1px dashed var(--line);
  position: relative;
}
.process-step:last-child { border-right: none; }
.process-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.08em;
}
.process-step h3 { font-size: 1.04rem; margin: 10px 0 8px; }
.process-step p { font-size: 0.9rem; color: var(--steel); }

@media (max-width: 920px) {
  .process-strip { grid-template-columns: 1fr 1fr; }
  .process-step { border-right: none; border-bottom: 1px dashed var(--line); }
  .process-step:nth-child(even) { border-left: 1px dashed var(--line); }
}
@media (max-width: 560px) {
  .process-strip { grid-template-columns: 1fr; }
  .process-step:nth-child(even) { border-left: none; }
}

/* ---------- Towing artwork banner ---------- */
.towing-art {
  display: block;
  max-width: 760px;
  width: 100%;
  margin: 0 auto 48px;
}
.towing-art img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---------- About teaser / two-col content ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media {
  background: var(--paper-dim);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel-light);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.split p { margin-top: 14px; color: var(--steel); }
.split p + p { margin-top: 10px; }
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
}
.stars { color: var(--red); letter-spacing: 2px; margin-bottom: 12px; font-size: 0.9rem; }
.testimonial p.quote { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 14px; }
.testimonial cite { font-family: var(--font-mono); font-size: 0.78rem; color: var(--steel); font-style: normal; }
@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); margin-top: 8px; }
.cta-band .btn-outline { color: var(--white); }
.cta-band .btn-outline:hover { background: var(--white); color: var(--red); border-color: var(--white); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-slot {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: var(--paper-dim);
  border: 1.5px dashed var(--steel-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--steel);
  text-align: center;
  padding: 18px;
}
.gallery-slot svg { color: var(--steel-light); }
.gallery-slot span { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; }
@media (max-width: 980px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ---------- Before / After comparison slider ---------- */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.ba-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}
.ba-compare {
  position: relative;
  aspect-ratio: 620/382;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink);
  user-select: none;
  -webkit-user-select: none;
}
.ba-compare img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ba-after-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.25);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-sm);
}
.ba-divider::before {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  z-index: 1;
}
.ba-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin-top: 10px;
  background: transparent;
  cursor: ew-resize;
}
.ba-slider::-webkit-slider-runnable-track {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.ba-slider::-moz-range-track {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}
.ba-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  margin-top: -8px;
  cursor: ew-resize;
}
.ba-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  cursor: ew-resize;
}
.ba-caption {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--steel);
}
.ba-caption strong { color: var(--ink); }

@media (max-width: 760px) {
  .ba-grid { grid-template-columns: 1fr; }
}

/* ---------- Shop photo grid + lightbox ---------- */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.shop-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: none;
  padding: 0;
  background: var(--paper-dim);
  cursor: pointer;
  position: relative;
}
.shop-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}
.shop-thumb:hover img,
.shop-thumb:focus-visible img {
  transform: scale(1.06);
}
@media (max-width: 980px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

.lightbox {
  border: none;
  padding: 0;
  background: transparent;
  max-width: 92vw;
  max-height: 92vh;
}
.lightbox::backdrop {
  background: rgba(23, 21, 15, 0.88);
}
.lightbox img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: fixed;
  top: 18px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
}
.lightbox-close:hover { background: var(--white); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-soft);
}
.field .hint { font-size: 0.78rem; color: var(--steel); }
input, textarea, select {
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--red); }
textarea { min-height: 120px; resize: vertical; }
fieldset { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 18px; }
legend { font-size: 0.84rem; font-weight: 700; padding: 0 6px; }
.radio-row { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.radio-row label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.radio-row input { width: auto; }
.form-note { font-size: 0.84rem; color: var(--steel); margin-top: 14px; }
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}
.form-status.is-success { display: block; background: #e7f3e8; color: #1e5e2a; }
.form-status.is-error { display: block; background: #fbe7e7; color: var(--red-deep); }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
}

/* ---------- Contact info / map ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.info-ticket {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 28px;
}
.info-ticket h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.info-ticket .ticket-row a { color: var(--red); font-weight: 700; }

/* Highlight today's row in the Shop Hours ticket on the Contact page */
.ticket-row.is-today {
  background: rgba(200, 16, 27, 0.07);
  margin: 0 -28px;
  padding: 11px 28px;
  border-radius: 6px;
}
.ticket-row.is-today .ticket-label {
  color: var(--red);
  font-weight: 700;
}
.ticket-row.is-today .ticket-value {
  color: var(--red);
  font-size: 1.08em;
}
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 0;
  width: 100%;
  min-height: 380px;
}
@media (max-width: 920px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 404 ---------- */
.error-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
}
.error-hero .wrap { text-align: center; }
.error-code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 16vw, 8rem);
  color: var(--red);
  line-height: 1;
}

/* ---------- Privacy / legal content ---------- */
.legal-content { max-width: 760px; }
.legal-content h2 { margin-top: 42px; margin-bottom: 14px; font-size: 1.4rem; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--ink-soft); margin-bottom: 14px; }
.legal-content ul { padding-left: 4px; }
.legal-content li { padding-left: 22px; position: relative; }
.legal-content li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 7px; height: 7px; background: var(--red); border-radius: 2px;
}
.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--steel);
  margin-bottom: 36px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.78);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { height: 50px; width: auto; margin-bottom: 14px; filter: none; }
.footer-brand p { font-size: 0.92rem; max-width: 280px; margin-bottom: 18px; }
.footer-col h2 {
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.92rem; transition: color 0.15s ease; }
.footer-col a:hover { color: var(--white); }
.footer-contact address p { font-size: 0.92rem; margin-bottom: 8px; }
.footer-contact a { color: var(--white); font-weight: 600; }
.footer-contact .phone-alt {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 0.82em;
  font-weight: 600;
  margin-left: 2px;
}

/* ---------- Vendor / industry-partner logo strip ---------- */
.vendor-strip {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.vendor-strip .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.vendor-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
}
.vendor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px 52px;
}
.vendor-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  transition: transform 0.2s ease;
}
.vendor-logos a:hover,
.vendor-logos a:focus-visible {
  transform: scale(1.05);
}
.vendor-logos img {
  max-height: 40px;
  max-width: 150px;
  width: auto;
  height: auto;
  display: block;
  filter: grayscale(1);
  opacity: 0.55;
  transition: filter 0.2s ease, opacity 0.2s ease;
}
.vendor-logos a:hover img,
.vendor-logos a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

@media (max-width: 600px) {
  .vendor-logos {
    flex-wrap: nowrap;
    width: 100%;
    gap: 8px;
  }
  .vendor-logos a {
    flex: 1 1 0;
    min-width: 0;
    height: 32px;
  }
  .vendor-logos img {
    max-height: 32px;
    max-width: 100%;
    width: auto;
    height: auto;
  }
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.social-links a:hover { background: var(--red); border-color: var(--red); }

/* Mask-based icon — lets a flat PNG (e.g. Yelp's icon) inherit currentColor
   so it matches the inline-SVG Facebook/Google icons exactly. */
.icon-mask {
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: var(--mask-src);
  mask-image: var(--mask-src);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 22px 0;
  font-size: 0.84rem;
}
.footer-bottom-left { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.footer-bottom-left a:hover { color: var(--white); }

/* Cloudflare badge hover effect — opacity + scale only, per spec */
.cf-badge { display: inline-flex; align-items: center; }
.cf-badge img {
  opacity: 0.65;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.cf-badge:hover img,
.cf-badge:focus-visible img {
  opacity: 1;
  transform: scale(1.05);
}

@media (max-width: 920px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 28px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom {
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex: 1 1 50%;
    min-width: 0;
  }
  .cf-badge { flex-shrink: 0; }
}
