/* ==========================================================
   3M Automarine – demo site
   Palette: car lacquer navy + parking-garage concrete + bay-line yellow
   ========================================================== */

:root {
  --lacquer: #0D1B2E;     /* deep automotive paint */
  --graphite: #1C2A3B;
  --concrete: #DADFE4;    /* covered car park floor */
  --pearl: #F4F6F8;
  --steel: #5E6B7C;
  --steel-light: #A9B4C2;
  --bay: #F5C400;         /* parking bay line */
  --wa: #128043;          /* WhatsApp action (AA contrast with white) */
  --wa-hover: #0E6A37;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.12rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.1rem);
  --step-hero: clamp(3rem, 1.6rem + 7.2vw, 8.4rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --bar-h: 0px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--lacquer);
  background: var(--pearl);
  font-variation-settings: "wdth" 100;
  padding-bottom: var(--bar-h);
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--bay); color: var(--lacquer); padding: .6rem 1rem; font-weight: 700; border-radius: var(--radius-s);
}
.skip-link:focus { top: 1rem; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-title {
  font-size: var(--step-3);
  line-height: 1.05;
  font-weight: 760;
  font-variation-settings: "wdth" 118;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.section-intro { margin-top: 1rem; color: var(--steel); max-width: 38rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem;
  border-radius: var(--radius-s);
  font: 650 var(--step-0)/1.1 var(--font);
  font-variation-settings: "wdth" 108;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-call { background: var(--bay); color: var(--lacquer); }
.btn-call:hover { background: #FFD633; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-small { min-height: 42px; padding: .5rem 1rem; font-size: var(--step--1); }
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff;
  transition: background-color .3s, box-shadow .3s, color .3s;
}
.site-header[data-state="solid"] {
  background: rgba(13, 27, 46, .96);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto;
  min-height: 76px;
}
.wordmark { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.wordmark-name { font-weight: 800; font-size: 1.2rem; font-variation-settings: "wdth" 125; letter-spacing: -0.01em; }
.wordmark-place { font-size: .8rem; color: var(--steel-light); }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.75rem; }
.site-nav ul a {
  text-decoration: none; font-weight: 550; font-size: .98rem; padding-block: .4rem;
  background: linear-gradient(var(--bay), var(--bay)) 0 100% / 0 2px no-repeat;
  transition: background-size .25s;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { background-size: 100% 2px; }

.menu-toggle {
  display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; cursor: pointer;
  border-radius: var(--radius-s);
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 24px; height: 2px; background: currentColor; margin-inline: auto; position: relative;
  transition: transform .25s, background-color .25s;
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-toggle { display: block; }
  .site-nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.25rem;
    padding: 1.5rem var(--gutter) 2rem; background: var(--lacquer);
    box-shadow: 0 20px 40px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .9rem 0; font-size: 1.15rem; border-bottom: 1px solid rgba(255,255,255,.08); background: none; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 100svh; min-height: max(640px, 100svh);
  display: grid; grid-template-rows: 1fr auto;
  color: #fff; background: var(--lacquer);
  overflow: hidden;
}
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%;
  animation: hero-settle 2.2s cubic-bezier(.2,.7,.2,1) both;
}
.hero-shade {
  background:
    linear-gradient(90deg, rgba(13,27,46,.92) 0%, rgba(13,27,46,.65) 38%, rgba(13,27,46,.15) 70%),
    linear-gradient(0deg, rgba(13,27,46,.95) 0%, rgba(13,27,46,0) 40%);
}
.hero-content {
  align-self: end;
  width: min(100% - 2 * var(--gutter), 1360px); margin-inline: auto;
  padding-top: 120px; padding-bottom: clamp(2rem, 5vw, 3.5rem);
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--concrete); font-size: var(--step--1); margin-bottom: 1rem;
  animation: rise .9s .2s cubic-bezier(.2,.7,.2,1) both;
}
/* parking bay hatch */
.hero-kicker::before {
  content: ""; width: 44px; height: 12px; flex: none;
  background: repeating-linear-gradient(-55deg, var(--bay) 0 6px, transparent 6px 11px);
}
.hero-title {
  font-size: var(--step-hero);
  font-weight: 850;
  font-variation-settings: "wdth" 125;
  line-height: .92;
  letter-spacing: -0.035em;
  max-width: 11ch;
  animation: rise 1s .3s cubic-bezier(.2,.7,.2,1) both;
}
.hero-lead {
  margin-top: 1.25rem; max-width: 34rem; font-size: var(--step-1); line-height: 1.45; color: #E3E8EE;
  animation: rise 1s .45s cubic-bezier(.2,.7,.2,1) both;
}
.hero .cta-row { margin-top: 2rem; animation: rise 1s .6s cubic-bezier(.2,.7,.2,1) both; }

.hero-facts {
  margin: 0; display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(13,27,46,.6); backdrop-filter: blur(6px);
}
.hero-facts > div { padding: 1.1rem var(--gutter); border-left: 1px solid rgba(255,255,255,.1); }
.hero-facts > div:first-child { border-left: 0; }
.hero-facts dt { font-size: .8rem; color: var(--steel-light); }
.hero-facts dd { margin: .15rem 0 0; font-weight: 600; font-size: .98rem; }
.hero-facts dd span { font-weight: 400; color: var(--steel-light); }
.hero-facts a { text-decoration: none; }
.hero-facts a:hover { text-decoration: underline; }

@keyframes hero-settle { from { transform: scale(1.07); filter: brightness(.6); } to { transform: none; filter: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 720px) {
  .hero-facts { grid-template-columns: 1fr; }
  .hero-facts > div { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); padding-block: .8rem; }
  .hero-facts > div:first-child { border-top: 0; }
  .hero-shade { background: linear-gradient(0deg, rgba(13,27,46,.97) 0%, rgba(13,27,46,.75) 50%, rgba(13,27,46,.35) 100%); }
  .hero .btn { flex: 1 1 100%; }
}

/* ---------- About ---------- */
.about { background: var(--pearl); }
.about-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.about-text p { margin-top: 1.25rem; max-width: 36rem; color: #2E3B4C; }
.about-text .section-title { max-width: 18ch; }
.about-figure { margin: 0; position: relative; }
.about-figure img { border-radius: var(--radius-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.about-figure::before {
  content: ""; position: absolute; left: -18px; top: 12%; bottom: 12%; width: 8px;
  background: repeating-linear-gradient(-55deg, var(--bay) 0 6px, transparent 6px 11px);
}
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure img { aspect-ratio: 16 / 11; }
  .about-figure::before { display: none; }
}

/* Small "sample image" caption used on stock photos */
figcaption, .g-sample {
  font-size: .78rem; color: var(--steel);
}
.about-figure figcaption { margin-top: .5rem; }

/* ---------- Services (tabs) ---------- */
.services { background: var(--concrete); }
.svc { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.svc-list { display: flex; flex-direction: column; border-top: 1px solid rgba(13,27,46,.18); }
.svc-list [role="tab"] {
  appearance: none; background: none; border: 0; border-bottom: 1px solid rgba(13,27,46,.18);
  text-align: left; padding: 1rem .25rem 1rem 1.25rem; cursor: pointer;
  font: 600 var(--step-1)/1.2 var(--font); font-variation-settings: "wdth" 106; color: var(--steel);
  position: relative; transition: color .2s, padding .25s;
}
.svc-list [role="tab"]::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 0; translate: 0 -50%;
  background: var(--bay); transition: height .25s;
}
.svc-list [role="tab"]:hover { color: var(--lacquer); }
.svc-list [role="tab"][aria-selected="true"] { color: var(--lacquer); padding-left: 1.6rem; }
.svc-list [role="tab"][aria-selected="true"]::before { height: 60%; }

.svc-panel {
  display: grid; grid-template-columns: 1fr; background: var(--pearl); border-radius: var(--radius-m); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(13,27,46,.45);
}
.svc-panel:not([hidden]) { animation: panel-in .45s cubic-bezier(.2,.7,.2,1); }
.svc-panel img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.svc-body { padding: clamp(1.5rem, 3.5vw, 2.5rem); }
.svc-body h3 { font-size: var(--step-2); font-weight: 760; font-variation-settings: "wdth" 115; letter-spacing: -0.015em; }
.svc-body dl { margin: 1.25rem 0 0; display: grid; grid-template-columns: 11rem 1fr; gap: .9rem 1.5rem; }
.svc-body dt { font-weight: 650; color: var(--steel); font-size: .95rem; padding-top: .1rem; }
.svc-body dd { margin: 0; max-width: 38rem; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc-list {
    flex-direction: row; overflow-x: auto; gap: .5rem; border: 0; padding-bottom: .5rem;
    scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter);
  }
  .svc-list::-webkit-scrollbar { display: none; }
  .svc-list [role="tab"] {
    flex: none; white-space: nowrap; border: 1px solid rgba(13,27,46,.25); border-radius: 999px;
    padding: .65rem 1.1rem; font-size: .98rem; scroll-snap-align: start; min-height: 44px;
  }
  .svc-list [role="tab"]::before { display: none; }
  .svc-list [role="tab"][aria-selected="true"] { background: var(--lacquer); color: #fff; border-color: var(--lacquer); padding-left: 1.1rem; }
  .svc-body dl { grid-template-columns: 1fr; gap: .2rem; }
  .svc-body dd + dt { margin-top: .8rem; }
  .svc-panel img { aspect-ratio: 16 / 10; }
}

/* ---------- Before / After (the memorable moment) ---------- */
.ba { color: #fff; }
section.ba { background: var(--lacquer); }
.ba .section-intro { color: var(--steel-light); }
.sample-note {
  display: flex; gap: .75rem; max-width: 52rem; margin-bottom: 2rem;
  padding: 1rem 1.25rem; border-radius: var(--radius-s);
  background: rgba(245,196,0,.1); border: 1px solid rgba(245,196,0,.45);
  color: #F1E6B8; font-size: .95rem; line-height: 1.5;
}
.sample-note strong { color: var(--bay); white-space: nowrap; }

.ba-stage { display: grid; gap: 1.25rem; }
div.ba {
  --pos: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-m);
  aspect-ratio: 16 / 9; background: var(--graphite);
  touch-action: pan-y; user-select: none; cursor: ew-resize;
}
div.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-before {
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  filter: grayscale(.55) sepia(.35) brightness(.68) contrast(.82) blur(.6px);
}
/* dust/grime overlay on the "before" side */
div.ba::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35  0 0 0 0 .3  0 0 0 0 .22  0 0 0 .9 -.25'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply; opacity: .85;
}
.ba-handle {
  position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 4px; translate: -50% 0;
  background: var(--bay); box-shadow: 0 0 0 1px rgba(13,27,46,.25);
  pointer-events: none;
}
.ba-grip {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  width: 54px; height: 54px; border-radius: 50%; background: var(--bay);
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  display: grid; place-items: center;
}
.ba-grip::before {
  content: ""; width: 26px; height: 12px;
  background:
    conic-gradient(from 225deg at 30% 50%, var(--lacquer) 0 90deg, transparent 0) 0 0 / 50% 100% no-repeat,
    conic-gradient(from 45deg at 70% 50%, var(--lacquer) 0 90deg, transparent 0) 100% 0 / 50% 100% no-repeat;
}
div.ba:has(.ba-range:focus-visible) .ba-grip { outline: 3px solid #fff; outline-offset: 3px; }
.ba-range {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; pointer-events: none;
}
.ba-tag {
  position: absolute; z-index: 2; top: 1rem; padding: .35rem .75rem; border-radius: var(--radius-s);
  font-weight: 650; font-size: .9rem; background: rgba(13,27,46,.75); backdrop-filter: blur(4px);
}
.ba-tag-before { left: 1rem; }
.ba-tag-after { right: 1rem; background: var(--bay); color: var(--lacquer); }

.ba-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.ba-caption { font-size: var(--step-1); font-weight: 650; font-variation-settings: "wdth" 112; }
.ba-picks { display: flex; flex-wrap: wrap; gap: .5rem; }
.ba-picks button {
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer;
  font: 600 .95rem/1 var(--font); color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.3);
  transition: background-color .2s, color .2s, border-color .2s;
}
.ba-picks button:hover { border-color: #fff; }
.ba-picks button[aria-pressed="true"] { background: #fff; color: var(--lacquer); border-color: #fff; }

@media (max-width: 640px) {
  div.ba { aspect-ratio: 4 / 5; }
  .ba-grip { width: 48px; height: 48px; }
  .ba-picks { width: 100%; }
  .ba-picks button { flex: 1 1 auto; }
}

/* ---------- Gallery ---------- */
.gallery { background: var(--pearl); }
.gallery-grid {
  list-style: none; display: grid; gap: clamp(.6rem, 1.5vw, 1rem);
  grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px);
}
.gallery-grid li { min-width: 0; }
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid li:nth-child(2) { grid-row: span 2; }
.gallery-grid button {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--radius-s); overflow: hidden; background: var(--concrete);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery-grid button:hover img, .gallery-grid button:focus-visible img { transform: scale(1.04); }
.gallery-grid span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; text-align: left;
  color: #fff; font: 600 .95rem/1.2 var(--font);
  background: linear-gradient(0deg, rgba(13,27,46,.85), rgba(13,27,46,0));
}
@media (max-width: 860px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery-grid li:nth-child(2) { grid-row: span 1; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-auto-rows: 160px; }
}

/* Lightbox */
.lightbox {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(8, 16, 28, .96); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: lb-in .25s ease-out; }
.lightbox::backdrop { background: rgba(8,16,28,.7); }
.lightbox figure { margin: 0; padding: 4.5rem 4.5rem 2rem; display: grid; gap: .9rem; justify-items: center; max-width: 100%; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 10rem); width: auto; object-fit: contain; border-radius: var(--radius-s); }
.lightbox figcaption { color: var(--concrete); font-size: 1rem; }
.lb-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
  background: rgba(13,27,46,.6); color: #fff; font: 400 2rem/1 var(--font); cursor: pointer;
  display: grid; place-items: center;
}
.lb-btn:hover { background: var(--bay); color: var(--lacquer); border-color: var(--bay); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 640px) {
  .lightbox figure { padding: 4.5rem .75rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}

/* ---------- Why ---------- */
.why { background: var(--concrete); }
.why-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.why-list { list-style: none; margin-top: 2rem; display: grid; gap: 0; }
.why-list li { padding: 1.4rem 0; border-top: 1px solid rgba(13,27,46,.18); display: grid; grid-template-columns: 16rem 1fr; gap: 1.5rem; }
.why-list li:last-child { border-bottom: 1px solid rgba(13,27,46,.18); }
.why-list h3 { font-size: var(--step-1); font-weight: 700; font-variation-settings: "wdth" 110; line-height: 1.25; }
.why-list p { color: #2E3B4C; }
.why-list a { font-weight: 600; text-underline-offset: 3px; }

.steps-card {
  background: var(--lacquer); color: #fff; border-radius: var(--radius-m);
  padding: clamp(1.75rem, 3.5vw, 2.5rem); position: sticky; top: 100px;
}
.steps-card h3 { font-size: var(--step-2); font-weight: 760; font-variation-settings: "wdth" 115; }
.steps { list-style: none; counter-reset: s; margin: 1.5rem 0 2rem; display: grid; gap: 1.25rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; gap: .25rem 1rem; color: #D6DDE5; }
.steps li::before {
  content: counter(s); grid-row: span 2;
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid var(--bay); color: var(--bay); font-weight: 800;
}
.steps strong { color: #fff; display: block; }
.steps-card .btn { width: 100%; }

@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
  .steps-card { position: static; }
}
@media (max-width: 640px) {
  .why-list li { grid-template-columns: 1fr; gap: .4rem; }
}

/* ---------- Contact ---------- */
.contact { background: var(--graphite); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact address { font-style: normal; margin-top: 1.5rem; color: #D6DDE5; display: grid; gap: .5rem; }
.contact-name { color: #fff; font-weight: 650; }
.contact-hint { color: var(--steel-light); font-size: .95rem; }
.contact-phone { margin: 1.75rem 0 1.25rem; }
.contact-phone a {
  font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 120; letter-spacing: -0.02em;
  text-decoration: none; line-height: 1;
}
.contact-phone a:hover { color: var(--bay); }
.hours { margin-top: 2.25rem; border-collapse: collapse; width: 100%; max-width: 26rem; font-size: .98rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--bay); font-weight: 700; }
.hours-source { margin-top: .75rem; font-size: .82rem; color: var(--steel-light); max-width: 26rem; }
.map { border-radius: var(--radius-m); overflow: hidden; min-height: 420px; background: var(--lacquer); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.25); }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 320px; }
  .contact .btn { flex: 1 1 100%; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--lacquer); color: var(--steel-light); padding-block: 2.5rem; font-size: .92rem; }
.footer-inner { display: grid; gap: .4rem; }
.footer-brand { color: #fff; font-weight: 800; font-variation-settings: "wdth" 125; font-size: 1.1rem; }
.footer-note { margin-top: .6rem; font-size: .82rem; }

/* ---------- Mobile contact bar ---------- */
.contact-bar { display: none; }
@media (max-width: 720px) {
  :root { --bar-h: 72px; }
  .contact-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: rgba(13,27,46,.97); box-shadow: 0 -8px 24px rgba(0,0,0,.25);
  }
  .contact-bar a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 54px; border-radius: var(--radius-s); text-decoration: none;
    font: 700 1rem/1 var(--font);
  }
  .contact-bar svg { width: 1.3em; height: 1.3em; }
  .cb-wa { background: var(--wa); color: #fff; }
  .cb-call { background: var(--bay); color: var(--lacquer); }
}

/* ---------- v2 fixes ---------- */
/* Anchors land below the fixed header */
html { scroll-padding-top: 84px; }

/* Representative-demo stamp on the before/after image */
.ba-stamp {
  position: absolute; z-index: 2; left: 50%; bottom: 1rem; translate: -50% 0;
  padding: .4rem .8rem; border-radius: var(--radius-s);
  background: rgba(13,27,46,.85); color: #fff; font-size: .85rem; font-weight: 600;
  white-space: nowrap; pointer-events: none;
}
.ba-tag { font-size: .82rem; }
@media (max-width: 640px) {
  .ba-stamp { font-size: .78rem; bottom: .75rem; }
  .ba-tag { top: .75rem; padding: .3rem .55rem; }
  .ba-tag-before { left: .75rem; } .ba-tag-after { right: .75rem; }
}

/* Mobile: keep the sticky contact bar from hiding hero facts, footer and lightbox controls */
@media (max-width: 720px) {
  .hero { min-height: calc(100svh - var(--bar-h)); }
  html { scroll-padding-bottom: calc(var(--bar-h) + 12px); }
  body:has(.lightbox[open]) .contact-bar { display: none; }
  .site-footer { padding-bottom: 1.5rem; }
}

/* Larger tap target for the inline phone link in hero facts */
.hero-facts a { display: inline-block; padding-block: .35rem; }
