/* ============================================================
   MERCER & VOLT — Heritage-home electricians (v7)
   Premium boutique-agency build. Pure CSS/SVG, offline-ready.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  /* brand palette */
  --graphite: #17181c;
  --porcelain: #f5f2ec;
  --cobalt: #1f4fff;
  --cobalt-soft: #5478ff;
  --mist: #c9cdd6;
  --sand: #e7dcc8;

  /* semantic (light theme default) */
  --bg: var(--porcelain);
  --bg-alt: #efe9df;
  --surface: #ffffff;
  --surface-2: #faf7f1;
  --ink: var(--graphite);
  --ink-soft: #4a4d56;
  --ink-faint: #757983;
  --line: #ddd6c9;
  --line-strong: #cabfa9;
  --accent: var(--cobalt);
  --accent-ink: #ffffff;
  --accent-tint: rgba(31, 79, 255, 0.08);
  --shadow-sm: 0 1px 2px rgba(23, 24, 28, 0.06), 0 2px 8px rgba(23, 24, 28, 0.05);
  --shadow-md: 0 8px 30px rgba(23, 24, 28, 0.10), 0 2px 8px rgba(23, 24, 28, 0.06);
  --shadow-lg: 0 24px 60px rgba(23, 24, 28, 0.16);
  --header-bg: rgba(245, 242, 236, 0.72);
  --grid-line: rgba(23, 24, 28, 0.06);

  /* type */
  --display: "Bricolage Grotesque", "Bricolage Grotesque Fallback", Georgia, serif;
  --body: "Spline Sans", "Spline Sans Fallback", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;
  --container: 1180px;
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --radius-xl: 32px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html.dark {
  --bg: var(--graphite);
  --bg-alt: #1d1f25;
  --surface: #202229;
  --surface-2: #24262e;
  --ink: var(--porcelain);
  --ink-soft: #c2c5cf;
  --ink-faint: #8b8f9a;
  --line: #2e313a;
  --line-strong: #3a3e49;
  --accent: var(--cobalt-soft);
  --accent-ink: #0c0d10;
  --accent-tint: rgba(84, 120, 255, 0.14);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 28px 70px rgba(0, 0, 0, 0.6);
  --header-bg: rgba(23, 24, 28, 0.7);
  --grid-line: rgba(245, 242, 236, 0.05);
}

/* ---------- Font fallback metrics (reduce layout shift) ---------- */
@font-face {
  font-family: "Bricolage Grotesque Fallback";
  src: local("Georgia");
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 104%;
}
@font-face {
  font-family: "Spline Sans Fallback";
  src: local("Arial");
  ascent-override: 96%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 100%;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@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;
  }
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
::selection { background: var(--cobalt); color: #fff; }
:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.display {
  font-size: clamp(2.9rem, 8.5vw, 6.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
}
h2.section-title { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.32rem); color: var(--ink-soft); line-height: 1.55; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.container-wide { max-width: 1340px; }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 11vw, 128px); }
.section-pad-sm { padding-block: clamp(48px, 7vw, 80px); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1.5px;
  background: var(--accent);
  display: inline-block;
}

/* cobalt underline sweep on headings */
.sweep {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 0% 0.09em;
  transition: background-size 0.9s var(--ease);
  padding-bottom: 0.04em;
}
.sweep.is-in { background-size: 100% 0.09em; }

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 15px;
  --pad-x: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.005em;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px rgba(31, 79, 255, 0.26); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(31, 79, 255, 0.34); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-lg { --pad-y: 18px; --pad-x: 34px; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand .mark {
  width: 38px; height: 38px;
  flex: 0 0 38px;
}
.brand .amp { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  position: relative;
  padding: 9px 14px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: color 0.2s, background-color 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--accent-tint); }
.nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 12px; }

/* theme toggle */
.theme-toggle {
  width: 42px; height: 42px;
  border-radius: 999px;
  border: 1.5px solid var(--line-strong);
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: background-color 0.2s, border-color 0.2s, transform 0.3s var(--ease);
}
.theme-toggle:hover { background: var(--accent-tint); transform: rotate(18deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .moon { display: none; }
html.dark .theme-toggle .sun { display: none; }
html.dark .theme-toggle .moon { display: block; }

/* hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.hamburger span {
  position: absolute;
  left: 12px; right: 12px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile menu */
.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: var(--space-3) clamp(20px, 5vw, 40px) var(--space-4);
  transform: translateY(-120%);
  transition: transform 0.4s var(--ease);
  z-index: 89;
  box-shadow: var(--shadow-md);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a {
  display: block;
  padding: 15px 4px;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.mobile-menu a.active { color: var(--accent); }
.mobile-menu .btn { margin-top: var(--space-3); }

/* ---------- Current-path motif (signature) ---------- */
.current-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 40%, transparent 100%);
}
.path-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.5;
  stroke-dasharray: 5 7;
  opacity: 0.55;
}
.path-line.faint { stroke: var(--mist); opacity: 0.5; }
html.dark .path-line.faint { stroke: var(--line-strong); }
.pulse-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px var(--cobalt));
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 110px) clamp(64px, 9vw, 120px);
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero-copy { max-width: 640px; }
.hero h1 { margin-top: var(--space-3); }
.hero .lead { margin-top: var(--space-3); max-width: 30em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: var(--space-4); }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--display); font-size: 1.7rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.hero-meta span { font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.02em; }

/* hero visual — heritage room with current path */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-visual .glow {
  position: absolute;
  width: 60%; height: 40%;
  top: 8%; right: -10%;
  background: radial-gradient(circle, var(--accent-tint), transparent 70%);
  filter: blur(20px);
}
.hero-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-md);
  padding: 16px 18px;
  z-index: 3;
}
.hero-card .lbl { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); }
.hero-card .val { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-top: 3px; }
.hero-card.tl { top: 7%; left: 7%; }
.hero-card.br { bottom: 8%; right: 7%; }
.hero-card .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2bbf6f; margin-right: 7px; box-shadow: 0 0 0 3px rgba(43,191,111,0.18); }

/* ---------- Trust strip ---------- */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 36px;
  padding-block: 26px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.trust-item svg { width: 22px; height: 22px; color: var(--accent); flex: 0 0 auto; }

/* ---------- Section heading block ---------- */
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: var(--space-2); }
.section-head p { margin-top: var(--space-2); }
.section-head.center .kicker { justify-content: center; }
.section-head.split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.section-head.split > div { max-width: 620px; }

/* ---------- Service preview cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.svc-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.svc-card .ico {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--accent-tint);
  color: var(--accent);
  display: grid; place-items: center;
  margin-bottom: var(--space-3);
}
.svc-card .ico svg { width: 26px; height: 26px; }
.svc-card h3 { font-size: 1.28rem; }
.svc-card p { margin-top: 10px; font-size: 0.96rem; flex: 1; }
.svc-card .row {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--line);
}
.svc-card .price { font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.svc-card .price small { font-weight: 500; font-size: 0.72rem; color: var(--ink-faint); display: block; letter-spacing: 0.04em; }
.svc-card .go {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.svc-card:hover .go { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateX(3px); }
.svc-card .go svg { width: 18px; height: 18px; }

/* popular badge */
.badge-pop {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 6px 11px;
  border-radius: 999px;
}
.svc-card.popular { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-sm); }
html.dark .svc-card.popular { box-shadow: 0 0 0 1px var(--accent); }

/* ---------- Full services list (services.html) ---------- */
.svc-list { margin-top: var(--space-5); display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.svc-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background-color 0.3s;
}
.svc-row:hover { background: var(--surface-2); }
.svc-row .num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-faint);
  width: 34px;
}
.svc-row .main h3 { font-size: 1.4rem; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.svc-row .main p { margin-top: 7px; font-size: 0.97rem; max-width: 54ch; }
.svc-row .dur {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.86rem; color: var(--ink-faint); font-weight: 500;
  white-space: nowrap;
}
.svc-row .dur svg { width: 16px; height: 16px; }
.svc-row .pricing { text-align: right; }
.svc-row .pricing .amt { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--ink); letter-spacing: -0.02em; }
.svc-row .pricing .free { color: var(--accent); }
.svc-row .pricing .from { font-size: 0.74rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.tag-pop {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: #fff; padding: 4px 9px; border-radius: 999px;
}
.svc-row.popular { background: var(--accent-tint); margin-inline: -16px; padding-inline: 16px; border-radius: var(--radius-m); border-bottom-color: transparent; }
@media (min-width: 821px) {
  .svc-row.popular { margin-inline: -24px; padding-inline: 24px; }
}

/* ---------- Stats / why-us ---------- */
.stats-band {
  background: var(--ink);
  color: var(--porcelain);
  border-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
html.dark .stats-band { border: 1px solid var(--line); }
.stats-band .current-grid { -webkit-mask-image: none; mask-image: none; opacity: 0.5; }
.stats-band-grid {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-5) var(--space-4);
}
.stat .n { font-family: var(--display); font-weight: 800; font-size: clamp(2.6rem, 5vw, 4rem); letter-spacing: -0.03em; line-height: 1; color: #fff; }
.stat .n .unit { color: var(--cobalt-soft); }
.stat .l { margin-top: 10px; font-size: 0.95rem; color: rgba(245,242,236,0.66); max-width: 22ch; }
.stats-head { position: relative; z-index: 2; max-width: 520px; margin-bottom: var(--space-6); }
.stats-head h2 { color: #fff; }
.stats-head .kicker { color: rgba(245,242,236,0.6); }
.stats-head p { color: rgba(245,242,236,0.72); margin-top: var(--space-2); }

/* ---------- Testimonials ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.testi {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
}
.testi .stars { display: flex; gap: 3px; color: var(--accent); margin-bottom: var(--space-2); }
.testi .stars svg { width: 17px; height: 17px; }
.testi blockquote { font-family: var(--display); font-weight: 500; font-size: 1.18rem; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  color: #fff;
  flex: 0 0 auto;
}
.testi .who .nm { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.testi .who .loc { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--ink);
  color: var(--porcelain);
  border-radius: var(--radius-xl);
  padding: clamp(44px, 7vw, 88px);
  overflow: hidden;
  text-align: center;
}
.cta-band h2 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); position: relative; z-index: 2; }
.cta-band p { color: rgba(245,242,236,0.74); margin: var(--space-3) auto 0; max-width: 44ch; position: relative; z-index: 2; }
.cta-band .hero-cta { justify-content: center; position: relative; z-index: 2; }
.cta-band .btn-ghost { color: #fff; border-color: rgba(245,242,236,0.32); }
.cta-band .btn-ghost:hover { border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  padding-top: var(--space-7);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: var(--space-5) var(--space-4);
  padding-bottom: var(--space-6);
}
.footer-brand .brand { margin-bottom: var(--space-3); }
.footer-brand p { font-size: 0.95rem; max-width: 32ch; }
.footer-brand .social { display: flex; gap: 10px; margin-top: var(--space-3); }
.footer-brand .social a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center; color: var(--ink-soft);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.footer-brand .social a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.footer-brand .social svg { width: 18px; height: 18px; }
.footer-col h4 { font-family: var(--body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: var(--space-3); font-weight: 700; }
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 0.95rem; color: var(--ink-soft); transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .ico-line { display: flex; align-items: flex-start; gap: 10px; }
.footer-col .ico-line svg { width: 17px; height: 17px; color: var(--accent); flex: 0 0 auto; margin-top: 3px; }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  padding-block: var(--space-3);
  border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--ink-faint);
}
.footer-bottom .links { display: flex; gap: var(--space-3); }
.footer-bottom a:hover { color: var(--accent); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); margin-top: var(--space-2); max-width: 16ch; }
.page-hero p { margin-top: var(--space-3); max-width: 52ch; }
.breadcrumb { display: flex; gap: 8px; font-size: 0.82rem; color: var(--ink-faint); align-items: center; margin-bottom: var(--space-3); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.5; }

/* ---------- About ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-visual {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, var(--sand), var(--surface));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
html.dark .story-visual { background: linear-gradient(150deg, var(--surface-2), var(--bg-alt)); }
.story-body p + p { margin-top: var(--space-3); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.value {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: var(--space-4);
}
.value .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; margin-bottom: var(--space-3); }
.value .ico svg { width: 24px; height: 24px; }
.value h3 { font-size: 1.18rem; }
.value p { margin-top: 9px; font-size: 0.95rem; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); margin-top: var(--space-5); }
.member {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l);
  padding: var(--space-4); text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.member:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.member .avatar { width: 84px; height: 84px; font-size: 1.9rem; margin: 0 auto var(--space-3); border-radius: 24px; }
.member h3 { font-size: 1.18rem; }
.member .role { color: var(--accent); font-size: 0.88rem; font-weight: 600; margin-top: 4px; }
.member p { margin-top: var(--space-2); font-size: 0.9rem; }

.certs {
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--line);
  align-items: center; justify-content: center;
}
.cert {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: 0.9rem; color: var(--ink-soft);
  background: var(--surface);
}
.cert svg { width: 19px; height: 19px; color: var(--accent); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.tile {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 220px;
  cursor: pointer;
  grid-column: span 4;
}
.tile.wide { grid-column: span 8; }
.tile.tall { grid-row: span 2; min-height: 460px; }
.tile .art { position: absolute; inset: 0; }
.tile .cap {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--space-3);
  background: linear-gradient(to top, rgba(23,24,28,0.82) 0%, rgba(23,24,28,0.15) 55%, transparent 100%);
  color: #fff;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.tile:hover .cap { opacity: 1; }
.tile:hover .art { transform: scale(1.05); }
.tile .art { transition: transform 0.6s var(--ease); }
.tile .cap .t { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.tile .cap .s { font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-top: 4px; }
.tile .cap .pin { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cobalt-soft); margin-bottom: 6px; font-weight: 600; }

/* ---------- Before/After slider ---------- */
.ba-wrap { margin-top: var(--space-5); }
.ba {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: none;
}
.ba .layer { position: absolute; inset: 0; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .layer .label {
  position: absolute; top: 14px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; color: #fff;
  background: rgba(23,24,28,0.7); backdrop-filter: blur(6px);
}
.ba .before .label { left: 14px; }
.ba .after .label { right: 14px; background: var(--accent); }
.ba .handle {
  position: absolute; top: 0; bottom: 0; left: 50%;
  width: 3px; background: #fff; transform: translateX(-50%);
  box-shadow: 0 0 0 1px rgba(23,24,28,0.2);
  z-index: 4;
}
.ba .handle .grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: #fff; box-shadow: var(--shadow-md);
  display: grid; place-items: center; cursor: ew-resize;
  color: var(--graphite);
}
.ba .handle .grip svg { width: 22px; height: 22px; }
.ba input[type="range"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; margin: 0; z-index: 5;
}
.ba-caption { margin-top: var(--space-3); display: flex; gap: var(--space-2); align-items: center; color: var(--ink-faint); font-size: 0.9rem; }
.ba-caption svg { width: 18px; height: 18px; color: var(--accent); }

/* ---------- Projects / case studies ---------- */
.cases { display: flex; flex-direction: column; gap: var(--space-5); margin-top: var(--space-5); }
.case {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(20px, 3vw, 32px);
  overflow: hidden;
}
.case:nth-child(even) { grid-template-columns: 1.1fr 0.9fr; }
.case:nth-child(even) .case-visual { order: 2; }
.case-visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
}
.case-body .area {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.case-body .area svg { width: 15px; height: 15px; }
.case-body h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.case-detail { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-3); }
.case-detail .blk .lbl { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 5px; }
.case-detail .blk p { font-size: 0.96rem; }
.case-outcome {
  display: flex; gap: var(--space-4); margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--line);
}
.case-outcome .o .n { font-family: var(--display); font-weight: 800; font-size: 1.7rem; color: var(--accent); letter-spacing: -0.02em; }
.case-outcome .o .t { font-size: 0.8rem; color: var(--ink-faint); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: var(--space-2); }
.method {
  display: flex; align-items: center; gap: var(--space-3);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: var(--space-3);
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.method:hover { border-color: var(--line-strong); transform: translateX(4px); }
.method .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.method .ico svg { width: 23px; height: 23px; }
.method .lbl { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }
.method .val { font-family: var(--display); font-weight: 700; font-size: 1.1rem; color: var(--ink); margin-top: 2px; }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-4); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.hours-table caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding: var(--space-3) var(--space-3) 0; color: var(--ink); caption-side: top; }
.hours-table td { padding: 13px var(--space-3); border-top: 1px solid var(--line); font-size: 0.94rem; }
.hours-table tr:first-child td { border-top: none; }
.hours-table td:first-child { color: var(--ink-soft); }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }
.hours-table .today { background: var(--accent-tint); }
.hours-table .today td:last-child { color: var(--accent); }

/* form */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--space-3); }
.field label { display: block; font-size: 0.86rem; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  font-size: 0.97rem;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); background: var(--surface);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #e0413f; }
.field .err { display: none; color: #e0413f; font-size: 0.82rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.form-success {
  display: none;
  background: var(--accent-tint);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-m);
  padding: var(--space-4);
  text-align: center;
}
.form-success.show { display: block; animation: pop 0.5s var(--ease); }
.form-success .ck { width: 56px; height: 56px; margin: 0 auto var(--space-2); }
.form-success h3 { font-size: 1.3rem; }
.form-success p { margin-top: 8px; }
@keyframes pop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* map placeholder */
.map-box {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line);
  margin-top: var(--space-4);
  background: var(--surface-2);
}
.map-pin {
  position: absolute; top: 44%; left: 50%; transform: translate(-50%,-100%);
  z-index: 3;
}
.map-pin svg { width: 44px; height: 44px; filter: drop-shadow(0 6px 12px rgba(23,24,28,0.3)); }
.map-pin .pulse {
  position: absolute; bottom: -2px; left: 50%; transform: translateX(-50%);
  width: 18px; height: 6px; border-radius: 50%;
  background: rgba(31,79,255,0.3);
  animation: pinpulse 2s var(--ease) infinite;
}
@keyframes pinpulse { 0%,100% { transform: translateX(-50%) scale(1); opacity: 0.6; } 50% { transform: translateX(-50%) scale(1.6); opacity: 0.2; } }
.map-chip {
  position: absolute; bottom: 16px; left: 16px; z-index: 3;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: 12px 16px; box-shadow: var(--shadow-md); font-size: 0.88rem;
}
.map-chip .nm { font-family: var(--display); font-weight: 700; color: var(--ink); }
.map-chip .ad { color: var(--ink-faint); font-size: 0.82rem; margin-top: 2px; }

/* ---------- Checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.checkout-main { min-width: 0; }
.co-section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 32px); margin-bottom: var(--space-3); }
.co-section .co-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-3); }
.co-section .co-head .step-n {
  width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 0.9rem; flex: 0 0 auto;
}
.co-section .co-head h2 { font-size: 1.3rem; }

/* time pills */
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.slot {
  padding: 12px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--radius-s);
  cursor: pointer; font-weight: 600; font-size: 0.92rem; background: var(--bg);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.slot:hover { border-color: var(--accent); transform: translateY(-2px); }
.slot.selected { background: var(--accent); color: #fff; border-color: var(--accent); }
.slot.sold { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.slot.sold:hover { border-color: var(--line); transform: none; }

/* payment tabs */
.pay-tabs { display: flex; gap: 8px; margin-bottom: var(--space-3); flex-wrap: wrap; border-bottom: 1px solid var(--line); padding-bottom: var(--space-3); }
.pay-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--bg); cursor: pointer; font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.pay-tab:hover { border-color: var(--line-strong); }
.pay-tab.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.pay-tab svg { width: 18px; height: 18px; }
.pay-panel { display: none; }
.pay-panel.active { display: block; animation: fade 0.3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.redirect-note {
  display: flex; gap: 14px; align-items: center;
  background: var(--bg); border: 1.5px dashed var(--line-strong); border-radius: var(--radius-m);
  padding: var(--space-3);
}
.redirect-note .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.redirect-note .ico svg { width: 24px; height: 24px; }
.redirect-note p { font-size: 0.9rem; }
.redirect-note strong { color: var(--ink); }

.card-visual {
  background: linear-gradient(135deg, var(--graphite), #2a2c34);
  border-radius: var(--radius-m);
  padding: var(--space-3) var(--space-4);
  color: #fff;
  margin-bottom: var(--space-3);
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-visual .chip { width: 40px; height: 30px; border-radius: 6px; background: linear-gradient(135deg, var(--sand), #c9a76a); }
.card-visual .cv-num { font-family: var(--display); font-size: 1.25rem; letter-spacing: 0.12em; }
.card-visual .cv-row { display: flex; justify-content: space-between; font-size: 0.78rem; }
.card-visual .cv-row .lbl { color: rgba(245,242,236,0.5); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.card-visual .brand-glow { position: absolute; top: -30%; right: -10%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(31,79,255,0.4), transparent 70%); }

/* order summary */
.order-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(20px, 3vw, 28px); position: sticky; top: 92px; }
.order-summary h2 { font-size: 1.2rem; margin-bottom: var(--space-3); }
.os-item { display: flex; gap: 14px; padding-bottom: var(--space-3); margin-bottom: var(--space-3); border-bottom: 1px solid var(--line); }
.os-item .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; flex: 0 0 auto; }
.os-item .ico svg { width: 24px; height: 24px; }
.os-item .nm { font-family: var(--display); font-weight: 700; font-size: 1.02rem; color: var(--ink); line-height: 1.2; }
.os-item .meta { font-size: 0.82rem; color: var(--ink-faint); margin-top: 4px; }
.os-line { display: flex; justify-content: space-between; font-size: 0.94rem; margin-bottom: 11px; color: var(--ink-soft); }
.os-line.discount { color: #2bbf6f; }
.os-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: var(--space-3); border-top: 1px solid var(--line); margin-top: var(--space-1); }
.os-total .lbl { font-weight: 600; color: var(--ink); }
.os-total .amt { font-family: var(--display); font-weight: 800; font-size: 1.9rem; color: var(--ink); letter-spacing: -0.02em; }
.promo-row { display: flex; gap: 8px; margin: var(--space-3) 0; }
.promo-row input { flex: 1; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--bg); font-size: 0.9rem; }
.promo-row button { padding: 11px 18px; border-radius: var(--radius-s); border: none; background: var(--ink); color: var(--bg); font-weight: 600; cursor: pointer; font-size: 0.9rem; }
.promo-msg { font-size: 0.84rem; margin-top: 4px; min-height: 1.2em; }
.promo-msg.ok { color: #2bbf6f; }
.promo-msg.no { color: #e0413f; }

.secure-row { display: flex; align-items: center; gap: 10px; margin-top: var(--space-3); padding: var(--space-3); background: var(--bg); border-radius: var(--radius-m); font-size: 0.86rem; color: var(--ink-soft); }
.secure-row svg { width: 22px; height: 22px; color: #2bbf6f; flex: 0 0 auto; }
.gateways { display: flex; flex-wrap: wrap; gap: 7px; margin-top: var(--space-3); }
.gw-chip {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 6px 10px; border-radius: 6px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft);
}
.demo-note { font-size: 0.78rem; color: var(--ink-faint); text-align: center; margin-top: var(--space-3); font-style: italic; }

/* spinner */
.spinner { width: 20px; height: 20px; border: 2.5px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn.loading { pointer-events: none; }

/* ---------- Success ---------- */
.success-wrap { max-width: 680px; margin-inline: auto; text-align: center; padding-block: clamp(48px, 8vw, 96px); }
.success-check {
  width: 96px; height: 96px; margin: 0 auto var(--space-4);
  border-radius: 50%; background: var(--accent-tint);
  display: grid; place-items: center;
}
.success-check svg { width: 52px; height: 52px; }
.success-check .ck-circle { stroke: var(--accent); stroke-width: 3; fill: none; stroke-dasharray: 166; stroke-dashoffset: 166; animation: drawc 0.7s var(--ease) forwards; }
.success-check .ck-tick { stroke: var(--accent); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawc 0.4s var(--ease) 0.6s forwards; }
@keyframes drawc { to { stroke-dashoffset: 0; } }
.success-wrap h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.success-wrap .lead { margin: var(--space-3) auto 0; }
.ref-box {
  display: inline-flex; flex-direction: column; gap: 4px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m);
  padding: var(--space-3) var(--space-5); margin-top: var(--space-4);
}
.ref-box .lbl { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.ref-box .ref { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--accent); letter-spacing: 0.02em; }
.success-summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: var(--space-4); margin-top: var(--space-5); text-align: left; }
.success-summary .os-line:last-child { margin-bottom: 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--space-3); margin-top: var(--space-5); text-align: left; }
.step-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-m); padding: var(--space-3); }
.step-item .n { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-family: var(--display); font-weight: 700; margin-bottom: var(--space-2); }
.step-item h3 { font-size: 1.05rem; }
.step-item p { font-size: 0.88rem; margin-top: 6px; }

/* ---------- Sticky mobile book bar ---------- */
.mobile-book {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  display: none;
  align-items: center; justify-content: space-between; gap: var(--space-2);
  padding: 12px clamp(16px, 4vw, 24px);
  background: var(--header-bg);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 20px rgba(23,24,28,0.1);
}
.mobile-book .mb-info .lbl { font-size: 0.72rem; color: var(--ink-faint); }
.mobile-book .mb-info .val { font-family: var(--display); font-weight: 700; color: var(--ink); font-size: 0.98rem; }
.mobile-book .btn { --pad-y: 13px; --pad-x: 22px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }
.reveal[data-d="5"] { transition-delay: 0.40s; }

/* ---------- Misc ---------- */
.divider-pulse { height: 1px; background: var(--line); margin-block: var(--space-6); }
.note-line { font-size: 0.86rem; color: var(--ink-faint); margin-top: var(--space-3); }
.center-cta { text-align: center; margin-top: var(--space-6); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; order: -1; }
  .story-grid, .contact-grid, .checkout-grid { grid-template-columns: 1fr; }
  .case, .case:nth-child(even) { grid-template-columns: 1fr; }
  .case:nth-child(even) .case-visual { order: -1; }
  .case-visual { order: -1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .order-summary { position: static; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
  .nav-right .btn-book-desktop { display: none; }
  .mobile-book { display: flex; }
  body { padding-bottom: 72px; }
  .gallery-grid { grid-template-columns: repeat(6, 1fr); }
  .tile, .tile.wide { grid-column: span 6; }
  .tile.tall { grid-row: span 1; min-height: 240px; }
  .svc-row { grid-template-columns: auto 1fr; gap: var(--space-2) var(--space-3); }
  .svc-row .dur { grid-column: 2; }
  .svc-row .pricing { grid-column: 2; text-align: left; display: flex; align-items: center; gap: 16px; }
  .pay-tabs { gap: 6px; }
  .pay-tab { padding: 9px 12px; font-size: 0.84rem; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero-meta { gap: 16px 24px; }
  .stats-band, .cta-band { padding: 32px 22px; }
  .case-outcome { flex-direction: column; gap: var(--space-3); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
