/* ==========================================================================
   Velocity Auto Collision — Home (black + gold theme)
   ========================================================================== */

:root {
  --bg: #000;
  --surface: #232019;
  --surface-2: #17150f;
  --line: rgba(255, 255, 255, 0.14);
  --text: #fff;
  --muted: #cfcac0;

  /* Gold, sampled from the Velocity logo */
  --gold: #e0ac2b;
  --gold-light: #f7dc8a;
  --gold-dark: #a8760f;
  --gold-line: rgba(224, 172, 43, 0.35);
  --gold-glow: rgba(224, 172, 43, 0.4);
  --gold-gradient: linear-gradient(135deg, #f7dc8a 0%, #e0ac2b 42%, #b8841a 78%, #efc95e 100%);
  --gold-text: linear-gradient(180deg, #fbe8a6 0%, #eab93c 48%, #b27c14 100%);
  --on-gold: #0a0806;

  --serif: "Noto Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1120px;
  --gutter: 16px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

::selection { background: var(--gold); color: var(--on-gold); }

.gold-text {
  background: var(--gold-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container {
  width: min(var(--container), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* ---------- Shared ---------- */

.section-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-title strong { font-weight: 700; }
.section-title .dash { margin-right: 0.15em; color: var(--gold); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s, background-position 0.5s, color 0.25s, border-color 0.25s, box-shadow 0.3s;
}
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-gold {
  background-image: var(--gold-gradient);
  background-size: 200% 100%;
  background-position: 0 0;
  color: var(--on-gold);
  font-weight: 700;
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 8px 24px -8px var(--gold-glow); }
.btn-outline {
  border-color: var(--gold);
  padding: 11px 16px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.btn-outline:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--gold);
  transition: color 0.25s;
}
.link-arrow:hover { color: var(--gold-light); }
.link-arrow svg { width: 18px; height: 18px; color: var(--gold); transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

.icon-btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: 2px;
  color: var(--gold);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.icon-btn:disabled { opacity: 0.35; cursor: default; background: transparent; color: var(--gold); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.logo { display: inline-flex; flex-shrink: 0; }
.logo img { width: auto; height: 74px; transition: height 0.35s var(--ease); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background-color 0.35s, padding 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-color: var(--gold-line);
  padding: 8px 0;
}
.site-header.is-scrolled .logo img { height: 56px; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-actions { display: flex; align-items: center; gap: 22px; }

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.header-phone .icon { width: 16px; height: 16px; color: var(--gold); }
.header-phone:hover { color: var(--gold-light); }

.menu-toggle {
  display: grid;
  align-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0 7px;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: #fff; transition: transform 0.3s, background-color 0.3s; }
.menu-toggle:hover span { background: var(--gold); }
.menu-toggle span:nth-child(2) { width: 70%; justify-self: end; }
.menu-toggle:hover span:nth-child(2) { transform: scaleX(1.43); transform-origin: right; }

/* ---------- Nav drawer ---------- */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear 0.5s;
}
.nav-drawer.is-open { visibility: visible; transition: none; }

.nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  transition: opacity 0.4s;
}
.nav-drawer.is-open .nav-backdrop { opacity: 1; }

.nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  width: min(440px, 100%);
  height: 100%;
  padding: 18px 36px 36px;
  background: #0b0a08;
  border-left: 1px solid var(--gold-line);
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  overflow-y: auto;
}
.nav-drawer.is-open .nav-panel { transform: none; }
.nav-panel:focus { outline: none; }

.nav-panel-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 36px; }

.nav-links { list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 26px;
  transition: color 0.25s, padding 0.3s var(--ease);
}
.nav-links a::after { content: "→"; font-family: var(--sans); font-size: 18px; color: var(--gold); opacity: 0.7; }
.nav-links a:hover { color: var(--gold); padding-left: 8px; }

.nav-panel-bottom { margin-top: auto; padding-top: 36px; display: grid; gap: 14px; }
.nav-phone { font-size: 20px; font-weight: 600; color: var(--gold); }
.nav-email { margin-top: -8px; font-size: 14px; color: var(--muted); overflow-wrap: anywhere; transition: color 0.25s; }
.nav-email:hover { color: var(--gold); }
.nav-panel .logo img { height: 52px; }

/* ---------- Hero: three-scene cinematic background ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 92vh;
  min-height: 92svh;
  padding: 150px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

/* One 6s looping clip: collision -> paint booth -> finished car, with
   crossfades and a slow zoom baked in. The poster is the LCP image. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  filter: brightness(0.96) saturate(0.98);
  pointer-events: none;
}
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Dark on the left for legible text, softer on the right so the car stays visible */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.94) 26%, rgba(0, 0, 0, 0.74) 46%, rgba(0, 0, 0, 0.3) 66%, rgba(0, 0, 0, 0) 82%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 30%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.62) 15%, rgba(0, 0, 0, 0) 45%);
}

.hero-content { position: relative; }
.hero-content > * { max-width: 700px; animation: rise 0.9s var(--ease) both; }
.hero-content > :nth-child(2) { animation-delay: 0.08s; }
.hero-content > :nth-child(3) { animation-delay: 0.16s; }
.hero-content > :nth-child(4) { animation-delay: 0.26s; }

.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 4.6vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.hero h1 .gold-text { font-weight: 700; }
.hero-services-line {
  margin-top: 20px;
  font-size: clamp(14px, 1.3vw, 17px);
  color: #d8d2c6;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
}
.hero-services-line span { margin: 0 9px; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Reduced motion: the text stops animating in; the background clip keeps
   looping because it is the hero itself (requested behaviour). */
@media (prefers-reduced-motion: reduce) {
  .hero-content > * { animation: none; }
}

/* ---------- Services ----------
   Default: click-to-switch tabs (also the fallback if Motion does not load).
   .is-sticky (added by main.js): the stage pins while the section scrolls
   and each scroll step reveals the next service.                          */

.services { --steps: 5; --step: 70vh; position: relative; margin-top: 40px; }

.services-inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 600px;
}

.services-media {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 32%;
  right: 0;
  overflow: hidden;
  background: #0b0b0b;
}
.services-media-track { position: absolute; inset: 0; z-index: 0; }
.services-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  filter: brightness(0.8) saturate(0.85);
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 1.4s var(--ease);
}
.services-media img.is-active { opacity: 1; transform: none; }
.services-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.75) 16%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0) 40%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0) 45%);
}

.services-nav { position: relative; z-index: 1; width: 400px; }
.services-nav .section-title { margin-bottom: 24px; }

.service-list-wrap { position: relative; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 15px 14px;
  background: rgba(0, 0, 0, 0.35);
  border: 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 17px;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, color 0.35s;
}
.service-tab b { font-weight: 700; }
.service-tab .arrow { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s var(--ease); }
.service-tab:hover { background: rgba(255, 255, 255, 0.08); }
.service-tab:hover .arrow { transform: translateX(4px); }
.service-tab.is-active { background: var(--gold-gradient); border-color: var(--gold); color: var(--on-gold); }
.service-tab.is-active .arrow { transform: translateX(4px); }

.service-rail,
.service-highlight,
.services-meta { display: none; }

.services-card {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  width: 400px;
  background: rgba(24, 22, 17, 0.95);
  border-top: 2px solid var(--gold);
}
.service-panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 28px 26px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.45s, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.service-panel.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.service-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.25; }
.service-panel h3 strong { font-weight: 700; }
.service-panel p { margin: 14px 0 22px; font-size: 14px; color: var(--muted); }
.service-panel .link-arrow { margin-top: 26px; }

/* ----- Sticky scroll mode ----- */

.services.is-sticky {
  margin-top: 0;
  height: calc(100vh + var(--steps) * var(--step));
  height: calc(100svh + var(--steps) * var(--step));
}
.services.is-sticky .services-stage {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  height: 100vh;
  height: 100svh;
  padding: 92px 0 28px;
}
.services.is-sticky .services-inner { min-height: 0; height: min(680px, 100%); }

/* Motion drives these, so the CSS transitions are switched off */
.services.is-sticky .services-media img { transform: none; transition: none; }
.services.is-sticky .services-media img.is-active { z-index: 2; }
.services.is-sticky .services-media img.is-prev { z-index: 1; opacity: 1; }
.services.is-sticky .service-panel { transform: none; transition: none; }

.services.is-sticky .services-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}
.services-count { display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--serif); }
.services-count-current { display: inline-block; min-width: 1.35em; font-size: 34px; font-weight: 700; line-height: 1; color: var(--gold); }
.services-count-total { font-size: 15px; color: #9a9384; }

.services-bar { display: none; }
.services-bar span,
.service-rail span {
  position: absolute;
  inset: 0;
  background: var(--gold);
}
.services-bar span { transform-origin: left center; transform: scaleX(0); }
.service-rail span { transform-origin: center top; transform: scaleY(0); }

.services-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a9384;
}
.services-hint-mouse {
  position: relative;
  width: 16px;
  height: 24px;
  border: 1.5px solid var(--gold-line);
  border-radius: 8px;
}
.services-hint-mouse::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 5px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--gold);
  animation: services-wheel 1.6s var(--ease) infinite;
}
@keyframes services-wheel {
  0% { opacity: 0; transform: translateY(-2px); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(7px); }
}

/* Desktop: vertical progress rail + gold highlight that slides between services */
@media (min-width: 901px) {
  .services.is-sticky .service-list-wrap { padding-left: 16px; }
  .services.is-sticky .service-rail {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    overflow: hidden;
    background: var(--line);
  }
  .services.is-sticky .service-highlight {
    display: block;
    position: absolute;
    top: 0;
    left: 16px;
    right: 0;
    z-index: 0;
    height: 58px;
    background: var(--gold-gradient);
    box-shadow: 0 12px 30px -14px var(--gold-glow);
    pointer-events: none;
  }
  .services.is-sticky .service-tab { position: relative; z-index: 1; background: transparent; }
  .services.is-sticky .service-tab:hover:not(.is-active) { background: rgba(255, 255, 255, 0.06); }
  .services.is-sticky .service-tab.is-active { background: transparent; }
  .services.is-sticky .services-meta { padding-left: 16px; }
}

/* ---------- Testimonials ---------- */

.testimonials {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  min-height: 600px;
  margin-top: 40px;
}

.testimonials-media { position: absolute; inset: 0 22% 0 0; overflow: hidden; }
.testimonials-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; filter: brightness(0.7) saturate(0.8); }
.testimonials-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, #000 0%, rgba(0, 0, 0, 0.55) 22%, rgba(0, 0, 0, 0) 55%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 45%);
}

.testimonials-title { position: relative; z-index: 1; margin-top: 40px; text-align: right; }

.testimonial-card {
  position: relative;
  z-index: 1;
  width: 400px;
  padding: 30px 28px 26px;
  background: rgba(24, 22, 17, 0.96);
  border-top: 2px solid var(--gold);
}

.t-slides { display: grid; }
.t-slide {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.45s, transform 0.45s var(--ease), visibility 0s linear 0.45s;
}
.t-slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.t-avatar {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--on-gold);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
}
.t-name { margin-top: 18px; font-family: var(--serif); font-size: 20px; }
.t-stars { margin-top: 4px; color: var(--gold); letter-spacing: 3px; font-size: 16px; }
.t-slide blockquote { margin: 14px 0 0; font-size: 14px; color: var(--muted); }

.t-controls { display: flex; gap: 10px; margin: 26px 0 30px; }

/* ---------- Latest works: before / after ---------- */

.works { margin-top: 110px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.works-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 440px);
  align-items: end;
  gap: 24px 60px;
}
.works-intro > p { font-size: 15px; color: var(--muted); }
.works-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
}
.works-stat svg { width: 34px; height: 34px; color: var(--gold); flex-shrink: 0; }
.works-stat strong { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.1; color: var(--gold); }
.works-stat span { font-size: 13px; color: #9a9a9a; }

.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.ba-card {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 18px;
  background: linear-gradient(180deg, #17150f 0%, #0b0a08 100%);
  border: 1px solid rgba(224, 172, 43, 0.2);
  border-radius: 12px;
  transition: border-color 0.35s, box-shadow 0.35s;
}
.ba-card:hover {
  border-color: rgba(224, 172, 43, 0.6);
  box-shadow: 0 24px 60px -28px var(--gold-glow);
}

.ba-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 16px; }
.ba-year { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: #8f8f8f; }
.ba-title { margin-top: 2px; font-family: var(--serif); font-size: 20px; font-weight: 700; line-height: 1.2; }
.ba-service { margin-top: 5px; font-size: 13px; color: var(--muted); }

.ba-time { flex-shrink: 0; text-align: right; }
.ba-time-label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8f8f8f; }
.ba-time-value { display: block; margin-top: 2px; font-family: var(--serif); font-size: 17px; font-weight: 700; line-height: 1; white-space: nowrap; }
.ba-time-value b { font-size: 34px; color: var(--gold); margin-right: 2px; }

/* Compare slider: the "before" photo sits on top, clipped at --pos */
.ba-compare {
  --pos: 50%;
  position: relative;
  aspect-ratio: 1152 / 896;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: var(--gold);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
}
.ba-handle:focus-visible { outline: none; }
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--on-gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s;
}
.ba-knob svg { width: 20px; height: 20px; }
.ba-compare:hover .ba-knob,
.ba-compare.is-dragging .ba-knob,
.ba-handle:focus-visible .ba-knob { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 0 0 4px rgba(224, 172, 43, 0.3), 0 6px 20px rgba(0, 0, 0, 0.45); }
.ba-handle:focus-visible .ba-knob { box-shadow: 0 0 0 3px #fff, 0 6px 20px rgba(0, 0, 0, 0.45); }

.ba-badge {
  position: absolute;
  top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  pointer-events: none;
  transition: opacity 0.3s;
}
.ba-badge-before { left: 12px; background: rgba(0, 0, 0, 0.78); color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.ba-badge-after { right: 12px; background: var(--gold-gradient); color: var(--on-gold); }
.ba-compare.hide-before .ba-badge-before,
.ba-compare.hide-after .ba-badge-after { opacity: 0; }

.ba-hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  padding: 7px 12px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
  transform: translateX(-50%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.4s;
}
.ba-compare.is-touched .ba-hint { opacity: 0; }

.ba-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ba-tags li {
  padding: 5px 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: #e6dcc4;
}

.works-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 24px;
  padding: 20px 24px;
  border: 1px solid var(--gold-line);
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(224, 172, 43, 0.1), rgba(224, 172, 43, 0) 60%), #0b0a08;
}
.works-cta p { font-family: var(--serif); font-size: 18px; color: var(--muted); }
.works-cta strong { color: var(--gold); }

/* ---------- Contact ---------- */

.contact { margin-top: 90px; }

.map-wrap {
  position: relative;
  height: 600px;
  margin-top: 24px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--gold-line);
}
/* Standard Google map (default colors, place card and zoom controls) */
.map-frame {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 320px;
  right: 0;
  overflow: hidden;
}
.map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 34px;
  width: 320px;
  padding: 36px 30px;
  background: var(--surface-2);
  border-right: 1px solid var(--gold-line);
}
.contact-panel h3 { font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.3; }
.contact-panel h3 strong { font-weight: 700; }
.contact-panel address { margin-top: 12px; font-style: normal; font-size: 14px; color: var(--muted); line-height: 1.7; }
.contact-panel .link-arrow { margin-top: 14px; font-size: 14px; }

.contact-list { margin: 12px 0 0; font-size: 14px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0 0 10px; font-weight: 700; overflow-wrap: anywhere; }
.contact-list dd:last-child { margin-bottom: 0; }
.contact-list a { color: var(--gold); transition: color 0.25s; }
.contact-list a:hover { color: var(--gold-light); }

.hours { margin: 12px 0 0; font-size: 14px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0 0 14px; font-weight: 700; color: var(--gold); }
.hours dd:last-child { margin-bottom: 0; }

/* ---------- Insurance ---------- */

.insurance { margin-top: 110px; }

.insurance-body { position: relative; margin-top: 24px; }

.insurance-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 22px 14px 56px;
  border-top: 1px solid var(--gold-line);
}
.insurance-content h3 { font-family: var(--serif); font-weight: 400; font-size: 18px; }
.insurance-content h3 strong { font-weight: 700; }
.insurance-content > p { margin-top: 16px; font-size: 14px; color: var(--muted); max-width: 720px; }
.insurance-content .providers-label { margin-top: 30px; font-family: var(--serif); font-size: 17px; color: #fff; }

.insurance-content .btn { margin-top: 18px; }

.providers {
  display: grid;
  grid-template-columns: repeat(6, auto);
  align-items: center;
  justify-content: space-between;
  gap: 26px 28px;
  margin: 26px 0 40px;
  padding: 0;
  list-style: none;
}
.ins {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
  opacity: 0.92;
  transition: opacity 0.25s, transform 0.25s, color 0.25s;
}
.ins:hover { opacity: 1; color: var(--gold); transform: translateY(-2px); }
.ins svg { width: 18px; height: 18px; flex-shrink: 0; }
.ins small { display: block; font-size: 6.5px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; font-weight: 600; }

.ins-geico { font-family: var(--sans); font-weight: 900; font-size: 22px; letter-spacing: 0.02em; }
.ins-allstate { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.ins-statefarm { font-weight: 800; font-style: italic; font-size: 16px; letter-spacing: -0.03em; }
.ins-farmbureau { font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ins-farmbureau .fb-mark { font-size: 15px; font-weight: 900; font-style: italic; letter-spacing: -0.06em; border-bottom: 2px solid currentColor; }
.ins-progressive { font-weight: 800; font-style: italic; font-size: 16px; letter-spacing: 0.02em; }
.ins-shelter { font-weight: 400; font-size: 24px; letter-spacing: -0.02em; }
.ins-amfam { display: block; font-weight: 800; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; }
.ins-usaa { font-weight: 800; font-size: 16px; }
.ins-sedgwick { font-weight: 500; font-size: 15px; letter-spacing: -0.02em; }
.ins-liberty { display: block; font-family: var(--serif); font-size: 13px; }
.ins-travelers { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; }
.ins-travelers svg { color: var(--gold); }

.insurance-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42%;
  overflow: hidden;
}
.insurance-media img { width: 100%; height: 100%; object-fit: cover; }
.insurance-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.1) 70%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 30%);
}

/* ---------- Footer ---------- */

.site-footer { margin-top: 110px; padding: 40px 0 28px; border-top: 1px solid var(--gold-line); }
.site-footer .logo img { height: 76px; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px 28px;
}
.footer-info { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 32px; font-size: 14px; }
.footer-contact { display: grid; justify-items: end; gap: 3px; text-align: right; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-phone { font-weight: 600; color: var(--gold); }
.footer-phone:hover { color: var(--gold-light); }
.footer-email { color: var(--muted); overflow-wrap: anywhere; transition: color 0.25s; }
.footer-email:hover { color: var(--gold); }

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #8a8a8a;
}

/* ---------- Scroll reveal ---------- */

/* --reveal-delay is set by main.js to stagger cards that enter the viewport together */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease) var(--reveal-delay, 0ms), transform 0.9s var(--ease) var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1140px) and (min-width: 901px) {
  .ba-grid { gap: 14px; }
  .ba-card { padding: 16px 14px 14px; }
  .ba-title { font-size: 17px; }
  .ba-time-value { font-size: 15px; }
  .ba-time-value b { font-size: 28px; }
}

@media (max-width: 1024px) {
  .providers { grid-template-columns: repeat(4, auto); }
  .insurance-media { width: 36%; }
}

@media (max-width: 900px) {
  .hero { min-height: 82vh; min-height: 82svh; padding: 130px 0 64px; }
  .hero-video { object-position: 62% center; }

  /* Services: heading + list, then image with card below */
  .services-inner { flex-direction: column; align-items: stretch; min-height: 0; }
  .services-nav { width: auto; order: 1; }
  .services-media { position: relative; left: auto; order: 2; height: 360px; margin-top: 28px; }
  .services-media::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 55%); }
  .services-card { position: relative; order: 3; width: auto; margin: -70px 16px 0; }

  /* Sticky on phones/tablets: heading, service chips, progress, then photo with card */
  .services.is-sticky { --step: 60vh; }
  .services.is-sticky .services-stage { align-items: stretch; padding: 84px 0 14px; }
  .services.is-sticky .services-inner { height: 100%; }
  .services.is-sticky .services-nav .section-title { font-size: 30px; margin-bottom: 12px; }
  .services.is-sticky .service-list {
    position: relative;
    display: flex;
    gap: 8px;
    margin: 0 calc(var(--gutter) * -1);
    padding: 0 var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .services.is-sticky .service-list::-webkit-scrollbar { display: none; }
  .services.is-sticky .service-list li { flex: none; }
  .services.is-sticky .service-tab {
    width: auto;
    padding: 9px 14px;
    border: 1px solid var(--gold-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 14px;
    white-space: nowrap;
  }
  .services.is-sticky .service-tab.is-active { background: var(--gold-gradient); border-color: var(--gold); }
  .services.is-sticky .service-tab .arrow { display: none; }
  .services.is-sticky .services-meta { margin-top: 12px; }
  .services.is-sticky .services-count-current { font-size: 22px; }
  .services.is-sticky .services-count-total { font-size: 13px; }
  .services.is-sticky .services-bar { display: block; position: relative; flex: 1; height: 2px; overflow: hidden; background: var(--line); }
  .services.is-sticky .services-hint { display: none; }
  .services.is-sticky .services-media { flex: 1; min-height: 0; height: auto; margin-top: 12px; }
  .services.is-sticky .services-card { margin: -84px 10px 0; }
  .services.is-sticky .service-panel { padding: 22px 20px 20px; }
  .services.is-sticky .service-panel p { margin: 10px 0 16px; }
  .services.is-sticky .service-panel .link-arrow { margin-top: 14px; }

  /* Testimonials: title, image, card overlapping */
  .testimonials { align-items: stretch; min-height: 0; gap: 0; }
  .testimonials-title { order: 1; margin: 0 0 24px; text-align: left; }
  .testimonials-media { position: relative; inset: auto; order: 2; height: 340px; }
  .testimonials-media::after { background: linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0) 50%); }
  .testimonial-card { order: 3; width: auto; margin: -70px 16px 0; }

  .works { margin-top: 80px; }
  .works-head { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; margin-top: 36px; }

  /* Contact: map on top, info below */
  .contact { margin-top: 80px; }
  .map-wrap { height: auto; }
  .map-frame { position: relative; left: auto; height: 360px; }
  .contact-panel { position: relative; width: auto; flex-direction: row; flex-wrap: wrap; gap: 28px 60px; justify-content: flex-start; padding: 30px 24px; }

  .insurance { margin-top: 80px; }
  .insurance-media { position: relative; width: auto; height: 240px; }
  .insurance-media::after { background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 60%), linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0) 40%); }
  .insurance-content { max-width: none; padding-bottom: 20px; }
}

@media (max-width: 640px) {
  .site-header .logo img, .site-header.is-scrolled .logo img { height: 52px; }
  .site-header { padding: 12px 0; }
  .header-actions { gap: 10px; }
  .header-phone span { display: none; }
  .header-phone { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--gold-line); border-radius: 2px; }
  .header-phone .icon { width: 18px; height: 18px; }

  .hero { min-height: 80vh; min-height: 80svh; padding: 112px 0 48px; }
  .hero-video { object-position: 66% center; }
  .hero h1 { font-size: clamp(34px, 10vw, 46px); }
  .hero-content > * { max-width: none; }
  .hero-services-line { margin-top: 16px; font-size: 14px; }
  .hero-services-line span { margin: 0 6px; }
  .hero-actions { gap: 10px; margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 calc(50% - 5px); padding: 14px 12px; font-size: 13.5px; }

  .service-tab { font-size: 16px; padding: 14px 12px; }
  .services-media, .testimonials-media { height: 260px; }
  .services-card, .testimonial-card { margin-inline: 8px; }
  .service-panel, .testimonial-card { padding: 24px 20px 22px; }

  .eyebrow { font-size: 11px; letter-spacing: 0.14em; gap: 10px; }
  .eyebrow::before { width: 20px; }
  .ba-card { padding: 16px 14px 14px; }
  .ba-title { font-size: 18px; }
  .ba-time-value b { font-size: 30px; }
  .ba-knob { width: 40px; height: 40px; }
  .works-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .works-cta p { font-size: 17px; }

  .map-frame { height: 300px; }
  .contact-panel { flex-direction: column; }

  .providers { grid-template-columns: repeat(3, auto); gap: 24px 16px; }
  .insurance-content { padding-inline: 4px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-info { flex-direction: column; align-items: flex-start; }
  .footer-contact { justify-items: start; text-align: left; }
}

@media (max-width: 420px) {
  .site-header .logo img, .site-header.is-scrolled .logo img { height: 44px; }
  .header-actions { gap: 6px; }
  .header-actions .btn { padding: 11px 12px; }
  .hide-xs { display: none; }
  .header-phone, .menu-toggle { width: 38px; height: 38px; }
}

/* Narrow Android phones (360px): three insurance logos per row push past the
   screen edge, so drop to two. */
@media (max-width: 380px) {
  .providers { grid-template-columns: repeat(2, auto); gap: 22px 16px; }
}

/* ==========================================================================
   Request an estimate form (homepage, Web3Forms)
   ========================================================================== */

.estimate {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: 56px;
  margin-top: 110px;
  scroll-margin-top: 90px;
}

.estimate-intro { position: sticky; top: 120px; }
.estimate-lead { margin-top: 18px; font-size: 15px; color: var(--muted); }
.estimate-points { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.estimate-points li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: #e7e1d3; }
.estimate-points svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--gold); }
.estimate-call { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--gold-line); font-size: 14px; color: var(--muted); }
.estimate-call a { font-weight: 700; color: var(--gold); }
.estimate-call a:hover { color: var(--gold-light); }

.estimate-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
  padding: 34px 32px 30px;
  border: 1px solid var(--gold-line);
  border-top: 2px solid var(--gold);
  border-radius: 16px;
  background: radial-gradient(90% 60% at 100% 0%, rgba(224, 172, 43, 0.09), transparent 60%), #0e0d0b;
}

.estimate-botcheck { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field--full { grid-column: 1 / -1; }
.field label,
.field legend { font-size: 13px; font-weight: 600; color: #e7e1d3; }
.field label span[aria-hidden],
.field legend span[aria-hidden] { color: var(--gold); }
.field-hint { margin-left: 6px; font-weight: 400; color: #8d877a; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: #080706;
  color: #fff;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: #6f6a5f; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(224, 172, 43, 0.4); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 172, 43, 0.18);
  background: #0b0a08;
}
/* Only flag errors after the visitor has interacted with the field */
.field input:user-invalid,
.field select:user-invalid { border-color: #d9534f; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e0ac2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field select:invalid { color: #8d877a; }
.field select option,
.field select optgroup { background: #0e0d0b; color: #fff; }
.field select optgroup { color: var(--gold); font-style: normal; font-weight: 700; }

/* Yes / No / Not sure pills */
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: inline-block;
  padding: 11px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  font-size: 14px;
  color: #d8d2c6;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s;
}
.choice:hover span { border-color: rgba(224, 172, 43, 0.5); }
.choice input:checked + span { border-color: var(--gold); background: var(--gold-gradient); color: var(--on-gold); font-weight: 700; }
.choice input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.estimate-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 4px; }
.estimate-submit .btn { position: relative; min-width: 240px; }
.estimate-privacy { font-size: 12.5px; color: #8d877a; }

.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(10, 8, 6, 0.3);
  border-top-color: var(--on-gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.estimate-form.is-sending .btn-spinner { display: inline-block; }
.estimate-form.is-sending .btn { pointer-events: none; opacity: 0.85; }
@keyframes spin { to { transform: rotate(360deg); } }

.estimate-result:empty { display: none; }
.estimate-result {
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14.5px;
  line-height: 1.5;
}
.estimate-result.is-success { border: 1px solid rgba(224, 172, 43, 0.5); background: rgba(224, 172, 43, 0.1); color: #f3e3b3; }
.estimate-result.is-error { border: 1px solid rgba(217, 83, 79, 0.55); background: rgba(217, 83, 79, 0.1); color: #f2c4c2; }
.estimate-result a { font-weight: 700; color: var(--gold); text-decoration: underline; }

@media (max-width: 900px) {
  .estimate { grid-template-columns: minmax(0, 1fr); gap: 32px; margin-top: 80px; }
  .estimate-intro { position: static; }
}

@media (max-width: 640px) {
  .estimate-form { grid-template-columns: minmax(0, 1fr); padding: 26px 18px 22px; }
  .estimate-submit .btn { width: 100%; min-width: 0; }
  .field input,
  .field select,
  .field textarea { font-size: 16px; } /* stops iOS zooming into fields */
}

/* ==========================================================================
   Repair authorization links (external form, opens in a new tab)
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.ext-icon { width: 13px; height: 13px; flex-shrink: 0; opacity: 0.85; }

/* Header: sits beside Request Estimate; below 1100px the drawer carries it instead */
.header-authorize {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: #e7e1d3;
  transition: color 0.25s;
}
.header-authorize:hover { color: var(--gold); }
@media (max-width: 1100px) { .header-authorize { display: none; } }

/* Drawer item: external arrow instead of the internal one */
.nav-links a[data-authorize]::after { content: "\2197"; }

/* Homepage estimate section */
.estimate-authorize { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.estimate-authorize p { margin-bottom: 12px; font-size: 13.5px; color: var(--muted); }
.estimate-authorize .btn { gap: 9px; }

/* ==========================================================================
   Services page (services.html)
   ========================================================================== */

/* Height of the fixed header once scrolled; the category bar sticks below it */
:root { --header-h: 73px; }

html.page-services { scroll-padding-top: 150px; }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.btn-lg { padding: 16px 26px; font-size: 15px; }

/* ---------- Hero: one full-bleed image, content layered over it ---------- */

.svc-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 86vh;
  min-height: 86svh;
  padding: 150px 0 60px;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center; /* keeps the car + technician on the right in view */
  filter: brightness(0.96) saturate(0.98);
  animation: hero-zoom 18s var(--ease) both;
}
/* Left-to-right scrim for legible text, plus top and bottom fades so the header
   and the stats blend into the image instead of sitting on a separate block */
.svc-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.95) 24%, rgba(0, 0, 0, 0.78) 42%, rgba(0, 0, 0, 0.32) 62%, rgba(0, 0, 0, 0) 80%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 32%),
    linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.7) 15%, rgba(0, 0, 0, 0) 45%);
}

.svc-hero-inner { position: relative; }
.svc-hero-inner > * { max-width: 580px; animation: rise 0.9s var(--ease) both; }
.svc-hero-inner > :nth-child(2) { animation-delay: 0.06s; }
.svc-hero-inner > :nth-child(3) { animation-delay: 0.12s; }
.svc-hero-inner > :nth-child(4) { animation-delay: 0.2s; }
.svc-hero-inner > :nth-child(5) { animation-delay: 0.28s; }
.svc-hero-inner > :nth-child(6) { animation-delay: 0.36s; }

.breadcrumb { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 13px; color: #9a9384; }
.breadcrumb a { color: var(--muted); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--gold); }

.page-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(48px, 6.6vw, 96px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 6px 40px rgba(0, 0, 0, 0.6);
}
.page-title .gold-text { font-weight: 700; }
.page-lead { max-width: 540px; margin-top: 20px; font-size: clamp(15px, 1.3vw, 17px); color: #d8d2c6; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7); }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(224, 172, 43, 0.3);
}
.hero-stats li { display: flex; gap: 11px; padding: 20px 14px 0; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.hero-stats li:first-child { padding-left: 0; border-left: 0; }
.hero-stats svg { width: 19px; height: 19px; margin-top: 5px; flex-shrink: 0; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-stats strong { display: block; font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--gold); }
.hero-stats span { display: block; margin-top: 6px; font-size: 12.5px; color: #b3ac9d; }

/* ---------- Sticky category bar ---------- */

.svc-catbar {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: rgba(9, 8, 6, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.svc-catbar-inner { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.svc-cat-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 13px 10px;
  border-left: 1px solid var(--line);
  font-size: 13.5px;
  text-align: center;
  color: #b9b2a2;
  transition: color 0.3s, background-color 0.3s;
}
.svc-cat-link:first-child { border-left: 0; }
.svc-cat-link .num { font-family: var(--serif); font-size: 12.5px; font-weight: 700; letter-spacing: 0.1em; color: #6f6a5f; transition: color 0.3s; }
.svc-cat-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.svc-cat-link:hover { color: #fff; background: rgba(255, 255, 255, 0.04); }
.svc-cat-link.is-active { color: #fff; }
.svc-cat-link.is-active .num { color: var(--gold); }
.svc-cat-link.is-active::after { transform: scaleX(1); }

/* ---------- Alternating service rows ---------- */

.svc-rows { display: grid; gap: 22px; padding-top: 58px; }

.svc-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid rgba(224, 172, 43, 0.18);
  border-radius: 16px;
  background: linear-gradient(130deg, #131210 0%, #0a0908 65%);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.svc-row:hover { border-color: rgba(224, 172, 43, 0.4); box-shadow: 0 24px 60px -34px var(--gold-glow); }

.svc-row-media { position: relative; margin: 0; min-height: 240px; overflow: hidden; }
.svc-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; filter: brightness(0.88) saturate(0.92); transition: transform 1.2s var(--ease); }
.svc-row:hover .svc-row-media img { transform: scale(1.04); }
.svc-row-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%, rgba(10, 9, 8, 0.9) 100%);
}
.svc-row--reverse .svc-row-media { order: 2; }
.svc-row--reverse .svc-row-media::after { background: linear-gradient(270deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 40%, rgba(10, 9, 8, 0.9) 100%); }

.svc-row-body { position: relative; padding: 28px 34px 28px 104px; }
.svc-ghost {
  position: absolute;
  top: 26px;
  left: 26px;
  font-family: var(--serif);
  font-size: 62px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(224, 172, 43, 0.45);
  user-select: none;
}
.svc-row-body .eyebrow { margin-bottom: 8px; }
.svc-row-body .section-title { font-size: clamp(25px, 2.5vw, 33px); }
.svc-row-intro { max-width: 520px; margin-top: 9px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

.svc-list { display: grid; gap: 8px 22px; margin: 16px 0 0; padding: 0; list-style: none; }
.svc-list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; line-height: 1.4; color: #e7e1d3; }
.svc-list li strong { font-weight: 700; color: #fff; }
.svc-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}
.svc-list--icons svg { width: 19px; height: 19px; stroke-width: 1.5; }
.svc-list li:hover svg { transform: translateX(3px); }
.svc-list--icons li:hover svg { transform: scale(1.08); }

/* Estimating row carries an extra highlighted card */
.svc-row--estimate { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.15fr) minmax(0, 0.72fr); }
.svc-row--estimate .svc-row-body { padding-right: 24px; }
.svc-estimate {
  align-self: center;
  margin: 28px 28px 28px 0;
  padding: 26px 24px;
  border: 1px solid var(--gold-line);
  border-radius: 14px;
  background: radial-gradient(100% 80% at 0% 0%, rgba(224, 172, 43, 0.18), transparent 60%), #0b0a08;
}
.svc-estimate-icon { width: 34px; height: 34px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-estimate h3 { margin-top: 14px; font-family: var(--serif); font-size: 26px; font-weight: 700; line-height: 1.1; }
.svc-estimate p { margin-top: 10px; font-size: 13px; color: var(--muted); }
.svc-estimate .btn { width: 100%; margin-top: 18px; }

/* ---------- Process band ---------- */

.svc-process {
  margin-top: 90px;
  padding: 72px 0;
  border-top: 1px solid var(--gold-line);
  border-bottom: 1px solid var(--gold-line);
  background: radial-gradient(60% 100% at 18% 0%, rgba(224, 172, 43, 0.1), transparent 60%), #0d0c0a;
}
.svc-process-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 32px; }
.svc-process-head .section-title { font-size: clamp(28px, 3.4vw, 42px); }
.svc-process-tag { font-size: 12px; font-weight: 600; line-height: 1.9; letter-spacing: 0.16em; text-align: right; text-transform: uppercase; color: #cfc7b3; }

.svc-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 48px 0 0; padding: 0; list-style: none; }
.svc-steps li { padding: 0 22px; border-left: 1px solid var(--line); }
.svc-steps li:first-child { padding-left: 0; border-left: 0; }
.svc-step-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: rgba(224, 172, 43, 0.07);
  transition: background-color 0.35s, transform 0.4s var(--ease);
}
.svc-step-icon svg { width: 24px; height: 24px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.svc-steps li:hover .svc-step-icon { background: rgba(224, 172, 43, 0.16); transform: translateY(-4px); }
.svc-step-num { display: block; margin-top: 18px; font-family: var(--serif); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); }
.svc-steps h3 { margin-top: 6px; font-family: var(--serif); font-size: 17px; line-height: 1.3; }
.svc-steps p { margin-top: 8px; font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ---------- Before / after band ---------- */

.svc-ba { padding: 64px 0; background: #14130f; border-bottom: 1px solid var(--gold-line); }
.svc-ba-inner { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: 44px; }
.svc-ba .section-title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; }
.svc-ba-text p { margin-top: 14px; font-size: 15px; color: var(--muted); }
.svc-ba-text .link-arrow { margin-top: 18px; font-size: 14px; }
.svc-ba-media { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--gold-line); border-radius: 14px; }
.svc-ba-media img { display: block; width: 100%; height: auto; }
.svc-ba-media figcaption {
  position: absolute;
  top: 10px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #cfc7b3;
}

/* ---------- CTA ---------- */

.svc-cta { margin-top: 90px; }
.svc-cta-box {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(40px, 6vw, 80px);
  border: 1px solid var(--gold-line);
  border-radius: 18px;
  background: radial-gradient(80% 120% at 0% 0%, rgba(224, 172, 43, 0.18), transparent 55%), #0b0a08;
}
.svc-cta-box::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: -1;
  border: 1px solid rgba(224, 172, 43, 0.12);
  border-radius: 12px;
  pointer-events: none;
}
.svc-cta-bg { position: absolute; top: 0; right: 0; bottom: 0; left: 42%; z-index: -2; }
.svc-cta-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; filter: brightness(0.75) saturate(0.85); }
.svc-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0b0a08 0%, rgba(11, 10, 8, 0.8) 32%, rgba(11, 10, 8, 0.15) 100%);
}
.svc-cta-content { max-width: 580px; }
.svc-cta .section-title { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; }
.svc-cta-lead { margin-top: 18px; font-size: 16px; color: var(--muted); }
.svc-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 30px; }
.svc-cta-phone { font-weight: 600; color: var(--gold); }
.svc-cta-phone:hover { color: var(--gold-light); }
.svc-cta-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 13px; color: #d4ccb8; }
.svc-cta-points li { display: inline-flex; align-items: center; gap: 8px; }
.svc-cta-points svg { width: 17px; height: 17px; color: var(--gold); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Footer links (both pages) ---------- */

.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-links a { color: #8a8a8a; transition: color 0.25s; }
.footer-links a:hover,
.footer-links a[aria-current="page"] { color: var(--gold); }

/* ---------- Services page responsive ---------- */

@media (max-width: 1100px) {
  .svc-row-body { padding: 36px 32px 36px 104px; }
  .svc-ghost { top: 32px; left: 26px; font-size: 58px; }
  .svc-row--estimate { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
  .svc-row--estimate .svc-estimate { grid-column: 1 / -1; margin: 0 32px 32px; }
  .svc-row--estimate .svc-row-body { padding-right: 32px; }
}

@media (max-width: 900px) {
  .svc-hero { min-height: 76vh; min-height: 76svh; padding: 128px 0 52px; }
  .svc-hero-bg { object-position: 68% center; }
  .svc-hero-scrim {
    background:
      linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.62) 56%, rgba(0, 0, 0, 0.25) 84%),
      linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 34%),
      linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.75) 16%, rgba(0, 0, 0, 0) 48%);
  }
  .svc-hero-inner > * { max-width: none; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .hero-stats li:nth-child(n + 3) { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }

  .svc-catbar-inner { display: flex; gap: 0; overflow-x: auto; scrollbar-width: none; }
  .svc-catbar-inner::-webkit-scrollbar { display: none; }
  .svc-cat-link { flex: none; min-width: 148px; }

  .svc-rows { padding-top: 40px; gap: 18px; }
  .svc-row,
  .svc-row--estimate { grid-template-columns: minmax(0, 1fr); }
  .svc-row-media { min-height: 0; height: 220px; }
  .svc-row--reverse .svc-row-media { order: 0; }
  .svc-row-media::after,
  .svc-row--reverse .svc-row-media::after { background: linear-gradient(0deg, rgba(10, 9, 8, 0.85) 0%, rgba(0, 0, 0, 0) 55%); }
  .svc-row-body { padding: 30px 26px 32px 90px; }
  .svc-ghost { top: 26px; left: 22px; font-size: 48px; }
  .svc-row--estimate .svc-estimate { margin: 0 26px 30px; }

  .svc-process { margin-top: 64px; padding: 56px 0; }
  .svc-process-head { flex-direction: column; align-items: flex-start; }
  .svc-process-tag { text-align: left; }
  .svc-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; margin-top: 34px; }
  .svc-steps li:nth-child(odd) { padding-left: 0; border-left: 0; }

  .svc-ba-inner { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .svc-cta { margin-top: 64px; }
}

@media (max-width: 640px) {
  :root { --header-h: 69px; }

  .svc-hero { min-height: 75vh; min-height: 75svh; padding: 108px 0 40px; }
  .svc-hero-bg { object-position: 64% center; }
  .svc-hero-scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.5) 34%, rgba(0, 0, 0, 0.82) 70%, #000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.25) 72%);
  }
  .page-title { font-size: clamp(42px, 12vw, 60px); }
  .page-lead { margin-top: 16px; font-size: 14.5px; }
  .page-hero-actions { gap: 10px; margin-top: 24px; }
  .page-hero-actions .btn { flex: 1 1 calc(50% - 5px); padding: 14px 14px; font-size: 14px; }
  .hero-stats { margin-top: 28px; }
  .hero-stats li { gap: 9px; padding: 16px 10px 0; }
  .hero-stats svg { width: 17px; height: 17px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { margin-top: 4px; font-size: 11.5px; }

  .svc-cat-link { min-width: 132px; font-size: 13px; }

  .svc-row-body { padding: 26px 20px 28px; }
  .svc-ghost { position: static; display: block; margin-bottom: 6px; font-size: 42px; }
  .svc-list,
  .svc-list--two { grid-template-columns: minmax(0, 1fr); }
  .svc-row--estimate .svc-estimate { margin: 0 20px 24px; }

  .svc-steps { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .svc-steps li { padding-left: 0; border-left: 0; }

  .svc-ba { padding: 48px 0; }
  .svc-cta-bg { left: 0; }
  .svc-cta-bg img { opacity: 0.28; }
  .svc-cta-bg::after { background: linear-gradient(180deg, rgba(11, 10, 8, 0.6), #0b0a08 85%); }
  .svc-cta-actions .btn { flex: 1 1 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  :root { --header-h: 61px; }
}
