/* =========================================================
   WPQuickCare — Design System
   Human-approachable direction (Mercury / Airbnb posture)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Color */
  --bg:            oklch(98% 0.004 240);
  --bg-warm:       oklch(97% 0.008 80);
  --surface:       oklch(100% 0 0);
  --surface-2:     oklch(96% 0.005 240);
  --surface-dark:  oklch(18% 0.022 240);
  --border:        oklch(90% 0.006 240);
  --border-strong: oklch(82% 0.008 240);
  --muted:         oklch(50% 0.018 240);
  --muted-strong:  oklch(38% 0.018 240);
  --fg:            oklch(20% 0.02 240);
  --fg-strong:     oklch(12% 0.02 240);
  --on-dark:       oklch(98% 0.005 240);
  --on-dark-muted: oklch(72% 0.012 240);

  --accent:        oklch(56% 0.12 170);
  --accent-strong: oklch(48% 0.13 170);
  --accent-soft:   oklch(94% 0.04 170);
  --accent-on:     oklch(99% 0.005 170);

  --warn:          oklch(72% 0.16 80);
  --warn-soft:     oklch(95% 0.05 80);
  --danger:        oklch(60% 0.20 25);
  --danger-soft:   oklch(96% 0.04 25);
  --success:       oklch(60% 0.14 150);
  --success-soft:  oklch(94% 0.05 150);

  /* Type */
  --font-display: 'Söhne', 'Avenir Next', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'IBM Plex Mono', Menlo, monospace;

  /* Radii */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* Shadows */
  --sh-hover: 0 10px 30px -10px oklch(20% 0.02 240 / 0.18);
  --sh-card:  0 1px 2px oklch(20% 0.02 240 / 0.04), 0 0 0 1px var(--border);
  --sh-pop:   0 30px 60px -20px oklch(20% 0.02 240 / 0.4);

  /* Layout */
  --container: 1240px;
  --container-narrow: 880px;
  --section-y: clamp(56px, 8vw, 112px);
  --section-y-tight: clamp(40px, 5vw, 72px);

  /* Easing */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- 3. Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-tight); }
.section--dark { background: var(--surface-dark); color: var(--on-dark); }
.section--soft { background: var(--surface-2); }
.section--surface { background: var(--surface); border-block: 1px solid var(--border); }

.row { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- 4. Type ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  line-height: 1.15;
}
.display-xl { font-size: clamp(44px, 6vw, 76px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; }
.display-l  { font-size: clamp(36px, 4.5vw, 56px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
h1, .h1     { font-size: clamp(32px, 3.6vw, 44px); }
h2, .h2     { font-size: clamp(26px, 2.8vw, 36px); }
h3, .h3     { font-size: 22px; font-weight: 600; }
h4, .h4     { font-size: 18px; font-weight: 600; }
.text-lg    { font-size: 18px; line-height: 1.55; }
.text-sm    { font-size: 14px; }
.text-xs    { font-size: 13px; }
.text-muted { color: var(--muted); }
.text-strong{ color: var(--fg-strong); }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.mono       { font-family: var(--font-mono); }
.tabular    { font-variant-numeric: tabular-nums; }

.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.kicker::before {
  content: "";
  width: 24px; height: 1px;
  background: var(--accent);
}

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 56px;
}
.section-head--left { margin-inline: 0; text-align: left; }
.section-head .kicker { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 18px; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: transform .15s var(--ease), background .15s var(--ease), box-shadow .15s var(--ease), color .15s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--fg-strong);
  color: var(--on-dark);
}
.btn--primary:hover { background: oklch(8% 0.02 240); box-shadow: var(--sh-hover); }

.btn--accent {
  background: var(--accent);
  color: var(--accent-on);
}
.btn--accent:hover { background: var(--accent-strong); box-shadow: var(--sh-hover); }

.btn--secondary {
  background: var(--surface);
  color: var(--fg-strong);
  border-color: var(--border-strong);
}
.btn--secondary:hover { background: var(--surface-2); border-color: var(--fg-strong); }

.btn--ghost {
  color: var(--fg);
  padding-inline: 12px;
}
.btn--ghost:hover { color: var(--accent-strong); }

.btn--lg { padding: 16px 28px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 8px 14px; font-size: 13px; }

.btn--on-dark.btn--secondary {
  background: transparent;
  color: var(--on-dark);
  border-color: oklch(100% 0 0 / 0.2);
}
.btn--on-dark.btn--secondary:hover { background: oklch(100% 0 0 / 0.1); border-color: oklch(100% 0 0 / 0.4); }

.arrow-after::after { content: "→"; transition: transform .2s var(--ease); }
.arrow-after:hover::after { transform: translateX(3px); }

/* ---------- 6. Badges, tags, pills ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.badge--popular { background: oklch(95% 0.06 80); color: oklch(45% 0.13 60); }
.badge--new { background: oklch(94% 0.05 150); color: oklch(40% 0.12 150); }
.badge--neutral { background: var(--surface-2); color: var(--muted-strong); }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 13px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-strong);
  color: var(--fg);
  background: var(--surface);
}
.tag--active { background: var(--fg-strong); color: var(--on-dark); border-color: var(--fg-strong); }

.dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block; background: var(--success);
  position: relative;
}
.dot--live::after {
  content: "";
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--success);
  opacity: 0.5;
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(0.6); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- 7. Cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card--hover:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: var(--sh-hover);
}
.card--soft { background: var(--surface-2); border-color: transparent; }
.card--dark { background: oklch(22% 0.02 240); color: var(--on-dark); border-color: oklch(100% 0 0 / 0.08); }
.card--dark h3, .card--dark h4 { color: var(--on-dark); }
.card--feature {
  padding: 36px;
  display: grid;
  gap: 16px;
}

/* ---------- 8. Icon tiles ---------- */
.icon-tile {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-tile svg { width: 22px; height: 22px; }
.icon-tile--lg { width: 56px; height: 56px; border-radius: 14px; }
.icon-tile--lg svg { width: 28px; height: 28px; }
.icon-tile--dark { background: var(--fg-strong); color: var(--on-dark); }
.icon-tile--soft { background: var(--surface-2); color: var(--fg-strong); }

/* ---------- 9. Top nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: oklch(98% 0.004 240 / 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-block: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
}
.brand__mark {
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--accent);
  color: var(--accent-on);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.nav-links {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--r-sm);
  color: var(--fg);
  font-size: 15px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--surface-2); color: var(--fg-strong); }
.nav-links a.is-active { color: var(--accent-strong); }
.nav-actions { display: flex; gap: 12px; align-items: center; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--fg-strong);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.nav-phone svg { width: 16px; height: 16px; color: var(--accent-strong); }
.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: oklch(20% 0.02 240 / 0.4);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.mobile-drawer.is-open { opacity: 1; pointer-events: auto; }
.mobile-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 88vw);
  background: var(--surface);
  padding: 24px;
  transform: translateX(100%);
  transition: transform .25s var(--ease);
  overflow-y: auto;
}
.mobile-drawer.is-open .mobile-drawer__panel { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mobile-drawer__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-drawer__links a {
  display: block;
  padding: 14px 12px;
  border-radius: var(--r-sm);
  font-size: 18px;
  font-weight: 500;
  color: var(--fg-strong);
}
.mobile-drawer__links a:hover { background: var(--surface-2); }
.mobile-drawer__cta { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 960px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-actions .btn--lg { display: none; }
}

/* ---------- 10. Hero variants ---------- */
.hero {
  padding-block: clamp(48px, 6vw, 88px) clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.hero__inner { display: grid; gap: 56px; align-items: center; }
.hero--split .hero__inner {
  grid-template-columns: 1.1fr 1fr;
}
@media (max-width: 960px) {
  .hero--split .hero__inner { grid-template-columns: 1fr; gap: 40px; }
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--muted-strong);
  margin-bottom: 24px;
}
.hero__eyebrow .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 12px;
}
.hero__title { margin-bottom: 20px; }
.hero__title em { font-style: normal; color: var(--accent-strong); }
.hero__sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 540px;
  line-height: 1.55;
  margin-bottom: 32px;
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero__trust {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted-strong);
}
.hero__trust .check {
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__trust .check svg { width: 16px; height: 16px; color: var(--accent-strong); }

.hero--centered .hero__inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.hero--centered .hero__sub { margin-inline: auto; }
.hero--centered .hero__trust { justify-content: center; }

/* Hero audit form card */
.audit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 30px 60px -30px oklch(20% 0.02 240 / 0.25);
  position: relative;
}
.audit-card__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.audit-card__head .icon-tile { background: var(--accent); color: var(--accent-on); }
.audit-card__title { font-size: 18px; font-weight: 600; color: var(--fg-strong); }
.audit-card__sub { font-size: 13px; color: var(--muted); }
.audit-card .form-field { margin-bottom: 14px; }
.audit-card .btn { width: 100%; padding-block: 14px; }
.audit-card__assure {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

/* Hero illustration card (for service detail / dashboard mock) */
.hero-mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 30px 60px -30px oklch(20% 0.02 240 / 0.25);
}

/* ---------- 11. Forms ---------- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-strong);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  font-size: 15px;
  color: var(--fg-strong);
  transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-field textarea { min-height: 100px; resize: vertical; }
.form-field .hint { font-size: 12px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-success {
  background: var(--success-soft);
  color: oklch(35% 0.14 150);
  padding: 16px;
  border-radius: var(--r-md);
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.form-success.is-visible { display: flex; }

/* ---------- 12. Trust bar ---------- */
.trust-bar { padding-block: 56px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-bar__label { text-align: center; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 24px; font-family: var(--font-mono); }
.trust-bar__logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 56px;
}
.trust-bar__logo {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-strong);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 18px;
  opacity: 0.8;
  transition: opacity .2s;
  letter-spacing: -0.01em;
}
.trust-bar__logo:hover { opacity: 1; }
.trust-bar__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}
.stat-tile {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-tile__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  font-variant-numeric: tabular-nums;
}
.stat-tile__label { font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .trust-bar__logos { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .trust-bar__stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 480px) {
  .trust-bar__logos { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- 13. Service grid ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 1100px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .2s var(--ease);
  position: relative;
}
.service-card:hover { border-color: var(--border-strong); transform: translateY(-3px); box-shadow: var(--sh-hover); }
.service-card h3 { font-size: 18px; font-weight: 600; }
.service-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-strong); font-weight: 600; font-size: 14px;
  margin-top: 4px;
}
.service-card__link::after { content: "→"; transition: transform .2s var(--ease); }
.service-card:hover .service-card__link::after { transform: translateX(3px); }

/* ---------- 14. Feature rows ---------- */
.feature-rows { display: grid; gap: 80px; }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row--flip .feature-row__media { order: 2; }
.feature-row__copy h3 { margin-bottom: 16px; }
.feature-row__copy p { color: var(--muted); font-size: 17px; margin-bottom: 24px; line-height: 1.6; }
.feature-row__list { display: grid; gap: 12px; margin-bottom: 28px; }
.feature-row__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
}
.feature-row__list li svg {
  width: 20px; height: 20px;
  color: var(--accent-strong);
  margin-top: 1px;
  flex-shrink: 0;
}
.feature-row__media {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 24px;
  position: relative;
  box-shadow: 0 30px 60px -30px oklch(20% 0.02 240 / 0.18);
}
@media (max-width: 900px) {
  .feature-rows { gap: 56px; }
  .feature-row { grid-template-columns: 1fr; gap: 32px; }
  .feature-row--flip .feature-row__media { order: 0; }
}

/* ---------- 15. Process steps ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent-strong);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.process-step__num::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.process-step h3 { font-size: 18px; margin-bottom: 8px; }
.process-step p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
@media (max-width: 1000px) { .process-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .process-steps { grid-template-columns: 1fr; } }

/* ---------- 16. Results / stats ---------- */
.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.result-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.result-card__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--fg-strong);
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}
.result-card__num small { font-size: 0.45em; color: var(--accent-strong); font-weight: 600; }
.result-card__label { font-size: 15px; color: var(--fg); font-weight: 600; margin-bottom: 6px; }
.result-card__source { font-size: 12px; color: var(--muted); }

@media (max-width: 900px) { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .results-grid { grid-template-columns: 1fr; } }

/* ---------- 17. Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: grid;
  gap: 24px;
}
.testimonial__stars {
  display: flex; gap: 2px;
  color: oklch(72% 0.16 80);
}
.testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial blockquote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-strong);
}
.testimonial blockquote::before { content: "“"; color: var(--accent-strong); margin-right: 2px; }
.testimonial blockquote::after { content: "”"; color: var(--accent-strong); margin-left: 2px; }
.testimonial__author {
  display: flex; gap: 12px; align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.avatar--lg { width: 64px; height: 64px; font-size: 22px; }
.testimonial__name { font-size: 15px; font-weight: 600; color: var(--fg-strong); }
.testimonial__role { font-size: 13px; color: var(--muted); }

@media (max-width: 1000px) { .testimonial-grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; } }

/* ---------- 18. Pricing ---------- */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  display: grid;
  gap: 24px;
  position: relative;
}
.pricing-card--featured {
  background: var(--surface-dark);
  color: var(--on-dark);
  border-color: transparent;
  box-shadow: 0 30px 60px -30px oklch(20% 0.02 240 / 0.4);
}
.pricing-card--featured h3 { color: var(--on-dark); }
.pricing-card__name { font-size: 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.pricing-card__price {
  font-family: var(--font-display);
  font-size: clamp(40px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.pricing-card__price small { font-size: 16px; font-weight: 500; color: var(--muted); }
.pricing-card--featured .pricing-card__price small { color: var(--on-dark-muted); }
.pricing-card__starts { font-size: 13px; color: var(--muted); margin-top: -16px; }
.pricing-card--featured .pricing-card__starts { color: var(--on-dark-muted); }
.pricing-card__desc { font-size: 14.5px; color: var(--muted); }
.pricing-card--featured .pricing-card__desc { color: var(--on-dark-muted); }
.pricing-list { display: grid; gap: 12px; }
.pricing-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14.5px;
}
.pricing-list li svg {
  width: 18px; height: 18px; color: var(--accent);
  margin-top: 2px; flex-shrink: 0;
}
.pricing-card--featured .pricing-list li svg { color: oklch(70% 0.14 170); }
.pricing-card .btn { width: 100%; }

@media (max-width: 1000px) {
  .pricing-table { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ---------- 19. FAQ accordion ---------- */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: grid;
  gap: 4px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-weight: 600;
  font-size: 17px;
  color: var(--fg-strong);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-strong);
  flex-shrink: 0;
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__body {
  padding: 0 0 24px;
  color: var(--muted-strong);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 680px;
}

/* ---------- 20. CTA band ---------- */
.cta-band {
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -50% -20% auto auto;
  width: 540px; height: 540px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  opacity: 0.18;
  pointer-events: none;
}
.cta-band h2 { color: var(--on-dark); margin-bottom: 16px; }
.cta-band p { color: var(--on-dark-muted); font-size: 17px; margin-bottom: 24px; max-width: 540px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band__side {
  display: flex; flex-direction: column; gap: 16px;
  font-size: 14px;
  position: relative;
}
.cta-band__side .check {
  display: flex; gap: 10px; align-items: center;
  color: var(--on-dark-muted);
}
.cta-band__side .check svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; gap: 32px; padding: 40px 28px; } }

/* ---------- 21. Locations grid ---------- */
.location-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 1100px) { .location-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .location-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .location-grid { grid-template-columns: 1fr; } }

.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  gap: 12px;
  transition: all .2s var(--ease);
}
.location-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.location-card__city {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--fg-strong);
  letter-spacing: -0.01em;
}
.location-card__state { font-size: 13px; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.08em; }
.location-card__meta { font-size: 13px; color: var(--muted-strong); margin-top: 4px; display: flex; gap: 16px; flex-wrap: wrap; }
.location-card__meta span strong { color: var(--fg-strong); font-weight: 600; font-variant-numeric: tabular-nums; }
.location-card__cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 4px;
}
.location-card__cta::after { content: "→"; transition: transform .2s; }
.location-card:hover .location-card__cta::after { transform: translateX(3px); }

/* ---------- 22. Blog cards ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  display: grid;
  gap: 16px;
  transition: transform .2s var(--ease);
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card__cover {
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  background: var(--surface-2);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
}
.blog-card__cover-art {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-soft), oklch(96% 0.005 240));
  color: var(--accent-strong);
}
.blog-card__cover-art--alt {
  background: linear-gradient(135deg, oklch(94% 0.04 80), oklch(96% 0.005 240));
  color: oklch(45% 0.13 60);
}
.blog-card__cover-art--alt2 {
  background: linear-gradient(135deg, oklch(94% 0.05 280), oklch(96% 0.005 240));
  color: oklch(45% 0.15 280);
}
.blog-card__cover-art svg { width: 80px; height: 80px; opacity: 0.55; }
.blog-card__meta { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.blog-card__meta .tag { padding: 4px 10px; font-size: 12px; }
.blog-card__title { font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--fg-strong); }
.blog-card__excerpt { font-size: 15px; color: var(--muted); line-height: 1.55; }
.blog-card__byline { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--muted-strong); }

.blog-card--featured {
  grid-column: 1 / -1;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.blog-card--featured .blog-card__cover { aspect-ratio: 4 / 3; }
.blog-card--featured .blog-card__title { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.blog-card--featured .blog-card__excerpt { font-size: 17px; }
@media (max-width: 900px) { .blog-card--featured { grid-template-columns: 1fr; padding: 24px; } }

/* ---------- 23. Article (blog-detail) ---------- */
.article-hero { padding-block: 64px 32px; }
.article-hero__inner { max-width: 760px; margin-inline: auto; text-align: left; }
.article-hero__title { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; margin: 16px 0 24px; }
.article-hero__meta { display: flex; gap: 24px; align-items: center; font-size: 14px; color: var(--muted-strong); flex-wrap: wrap; }
.article-hero__meta .author { display: flex; align-items: center; gap: 10px; }
.article-cover {
  max-width: 1080px;
  margin: 0 auto 56px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--accent-soft), oklch(96% 0.005 240));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-strong);
}
.article-cover svg { width: 120px; height: 120px; opacity: 0.4; }

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  gap: 80px;
  max-width: 1080px;
  margin-inline: auto;
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.toc__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 600;
  font-family: var(--font-mono);
  margin-bottom: 16px;
}
.toc ul { display: grid; gap: 8px; }
.toc a {
  display: block;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--muted-strong);
  border-left: 2px solid var(--border);
  transition: all .15s;
}
.toc a:hover, .toc a.is-active { color: var(--accent-strong); border-color: var(--accent); }

.article-body { font-size: 17px; line-height: 1.75; color: var(--fg); }
.article-body > * + * { margin-top: 1em; }
.article-body h2 {
  font-size: 28px; font-weight: 700; margin-top: 56px; margin-bottom: 16px; letter-spacing: -0.015em;
}
.article-body h3 { font-size: 22px; font-weight: 600; margin-top: 36px; margin-bottom: 12px; }
.article-body p { color: var(--fg); }
.article-body ul { padding-left: 0; list-style: none; }
.article-body ul li { padding-left: 28px; position: relative; margin-block: 8px; }
.article-body ul li::before {
  content: ""; position: absolute; left: 4px; top: 12px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-size: 19px;
  color: var(--fg-strong);
  font-style: italic;
}
.article-body code {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--surface-2);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--fg-strong);
}
.article-body pre {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding: 24px;
  border-radius: var(--r-md);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.6;
  margin: 24px 0;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body img, .article-body figure { border-radius: var(--r-md); overflow: hidden; margin: 32px 0; }
.article-body .callout {
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
  border-radius: var(--r-md);
  margin: 32px 0;
  font-size: 16px;
}
.article-body .callout strong { color: var(--accent-strong); }

.inline-cta {
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 32px;
  margin: 48px 0;
  display: grid;
  gap: 16px;
}
.inline-cta h3 { color: var(--on-dark); margin: 0; }
.inline-cta p { color: var(--on-dark-muted); margin: 0; font-size: 15px; }
.inline-cta .btn { justify-self: start; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .toc { position: static; }
}

/* ---------- 24. Team grid ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .team-grid { grid-template-columns: 1fr; } }

.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  text-align: left;
}
.team-card .avatar { width: 56px; height: 56px; font-size: 20px; margin-bottom: 16px; }
.team-card__name { font-size: 17px; font-weight: 600; color: var(--fg-strong); }
.team-card__role { font-size: 14px; color: var(--accent-strong); font-weight: 500; margin-top: 2px; }
.team-card__bio { font-size: 14px; color: var(--muted-strong); line-height: 1.55; margin-top: 12px; }

/* ---------- 25. Values cards ---------- */
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .values-grid { grid-template-columns: 1fr; } }
.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.value-card .icon-tile { margin-bottom: 16px; }
.value-card h4 { font-size: 16px; margin-bottom: 6px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ---------- 26. Booking calendar ---------- */
.booking {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.booking__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.booking__title { font-size: 17px; font-weight: 600; color: var(--fg-strong); }
.booking__sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.booking__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.booking__day {
  padding: 14px 4px;
  text-align: center;
  border-radius: var(--r-sm);
  background: var(--surface-2);
  cursor: pointer;
  transition: all .15s;
  border: 1px solid transparent;
}
.booking__day:hover { background: var(--surface); border-color: var(--border-strong); }
.booking__day.is-active { background: var(--accent); color: var(--accent-on); }
.booking__day-name { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); font-weight: 600; }
.booking__day.is-active .booking__day-name { color: var(--accent-on); opacity: 0.85; }
.booking__day-num { font-size: 18px; font-weight: 600; color: var(--fg-strong); margin-top: 2px; }
.booking__day.is-active .booking__day-num { color: var(--accent-on); }
.booking__slots-label { font-size: 13px; color: var(--muted); margin-bottom: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); }
.booking__slots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
.booking__slot {
  padding: 12px;
  text-align: center;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.booking__slot:hover { border-color: var(--fg-strong); }
.booking__slot.is-active { background: var(--fg-strong); color: var(--on-dark); border-color: var(--fg-strong); }
@media (max-width: 600px) { .booking__slots { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 27. Sticky CTA bar (mobile) ---------- */
.sticky-cta {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 80;
  box-shadow: 0 20px 40px -10px oklch(20% 0.02 240 / 0.4);
  transform: translateY(120%);
  transition: transform .25s var(--ease);
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__copy { font-size: 14px; font-weight: 600; min-width: 0; }
.sticky-cta__copy small { display: block; font-size: 12px; opacity: 0.8; font-weight: 400; }
.sticky-cta .btn { flex-shrink: 0; padding: 10px 16px; font-size: 13px; }
@media (max-width: 768px) { .sticky-cta { display: flex; } }

/* ---------- 28. Modals ---------- */
.modal-backdrop {
  position: fixed; inset: 0;
  background: oklch(20% 0.02 240 / 0.55);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
}
.modal-backdrop.is-open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--surface);
  border-radius: var(--r-xl);
  width: 100%;
  max-width: 480px;
  padding: 36px;
  position: relative;
  box-shadow: var(--sh-pop);
  transform: translateY(20px) scale(0.96);
  transition: transform .25s var(--ease);
}
.modal-backdrop.is-open .modal { transform: translateY(0) scale(1); }
.modal__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--fg-strong);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .15s;
}
.modal__close:hover { background: var(--border); }
.modal__close svg { width: 18px; height: 18px; }
.modal__icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.modal__icon svg { width: 28px; height: 28px; }
.modal h3 { font-size: 22px; margin-bottom: 8px; }
.modal p { color: var(--muted); margin-bottom: 24px; font-size: 15px; }
.modal .form-field { margin-bottom: 14px; }
.modal .btn { width: 100%; margin-top: 6px; }
.modal__assure { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }

/* ---------- 29. Footer ---------- */
.site-footer {
  background: var(--surface-dark);
  color: var(--on-dark);
  padding-block: 80px 32px;
  margin-top: 0;
}
.site-footer h4 { color: var(--on-dark); font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-mono); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 48px;
  margin-bottom: 64px;
}
.footer-brand { display: grid; gap: 16px; max-width: 320px; }
.footer-brand .brand { color: var(--on-dark); }
.footer-brand p { color: var(--on-dark-muted); font-size: 14px; line-height: 1.55; }
.footer-links { display: grid; gap: 10px; }
.footer-links a {
  color: var(--on-dark-muted);
  font-size: 14px;
  transition: color .15s;
}
.footer-links a:hover { color: var(--on-dark); }
.footer-newsletter { display: grid; gap: 12px; }
.footer-newsletter p { color: var(--on-dark-muted); font-size: 14px; margin-bottom: 8px; }
.footer-newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  background: oklch(100% 0 0 / 0.06);
  padding: 4px;
  border-radius: var(--r-md);
  border: 1px solid oklch(100% 0 0 / 0.1);
}
.footer-newsletter input {
  background: transparent;
  border: 0;
  padding: 10px 12px;
  color: var(--on-dark);
  font-size: 14px;
}
.footer-newsletter input::placeholder { color: var(--on-dark-muted); }
.footer-newsletter input:focus { outline: 0; }
.footer-newsletter button {
  background: var(--accent);
  color: var(--accent-on);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: 13px;
}
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding-top: 32px;
  border-top: 1px solid oklch(100% 0 0 / 0.08);
  font-size: 13px;
  color: var(--on-dark-muted);
  flex-wrap: wrap;
}
.footer-bottom .legal { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--on-dark); }

@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- 30. Breadcrumbs ---------- */
.breadcrumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--muted);
  margin-bottom: 24px;
  font-family: var(--font-mono);
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--fg-strong); }
.breadcrumb__sep { color: var(--border-strong); }
.breadcrumb__current { color: var(--fg-strong); }

/* ---------- 31. Live metrics widget (used in service detail / hero mock) ---------- */
.metrics-board {
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: 24px;
  display: grid;
  gap: 18px;
}
.metrics-board__head { display: flex; justify-content: space-between; align-items: center; }
.metrics-board__title { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); }
.metrics-board__live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--success); font-family: var(--font-mono); }
.metrics-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.metric-tile {
  background: oklch(100% 0 0 / 0.05);
  border: 1px solid oklch(100% 0 0 / 0.08);
  border-radius: var(--r-sm);
  padding: 14px;
}
.metric-tile__label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--on-dark-muted); font-family: var(--font-mono); margin-bottom: 6px; }
.metric-tile__value { font-size: 22px; font-weight: 700; font-family: var(--font-display); font-variant-numeric: tabular-nums; }
.metric-tile__delta { font-size: 11px; color: var(--success); font-family: var(--font-mono); margin-top: 4px; }
.metric-tile__delta--down { color: oklch(75% 0.16 25); }

.metrics-events {
  background: oklch(100% 0 0 / 0.04);
  border-radius: var(--r-sm);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
}
.metrics-events__row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
}
.metrics-events__time { color: var(--on-dark-muted); }
.metrics-events__type { font-weight: 700; }
.metrics-events__type--ok { color: var(--success); }
.metrics-events__type--warn { color: oklch(78% 0.16 80); }
.metrics-events__type--blocked { color: oklch(72% 0.14 280); }
.metrics-events__detail { color: oklch(85% 0.01 240); }

/* ---------- 32. Map mock ---------- */
.map-mock {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  aspect-ratio: 21 / 9;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 40px 40px;
}
.map-mock__pin {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--surface);
  box-shadow: 0 4px 12px oklch(20% 0.02 240 / 0.18);
  transform: translate(-50%, -50%);
}
.map-mock__pin::after {
  content: "";
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  opacity: 0.4;
  animation: pulse 2s ease-out infinite;
}

/* ---------- 33. Quick highlight pill ---------- */
.highlight-row {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  padding: 14px 20px;
  background: var(--accent-soft);
  border-radius: var(--r-md);
  font-size: 14px;
  color: oklch(35% 0.13 170);
  font-weight: 500;
}
.highlight-row strong { font-weight: 700; color: var(--accent-strong); }

/* ---------- 34. Utilities ---------- */
.flex-1 { flex: 1; }
.hidden { display: none !important; }
.mt-0  { margin-top: 0 !important; }
.mt-2  { margin-top: 8px; }
.mt-3  { margin-top: 12px; }
.mt-4  { margin-top: 16px; }
.mt-6  { margin-top: 24px; }
.mt-8  { margin-top: 32px; }
.mt-12 { margin-top: 48px; }
.mb-0  { margin-bottom: 0 !important; }
.mb-2  { margin-bottom: 8px; }
.mb-4  { margin-bottom: 16px; }
.mb-6  { margin-bottom: 24px; }
.mb-8  { margin-bottom: 32px; }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ---------- 35. Services mega-menu ---------- */
.nav-mega { position: relative; }
.nav-mega__trigger {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--fg); font-size: 15px; font-weight: 500;
  transition: background .15s, color .15s;
}
.nav-mega__trigger svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nav-mega__trigger:hover { background: var(--surface-2); color: var(--fg-strong); }
.nav-mega.is-open .nav-mega__trigger { background: var(--surface-2); color: var(--fg-strong); }
.nav-mega.is-open .nav-mega__trigger svg { transform: rotate(180deg); }
.nav-mega__trigger.is-active { color: var(--accent-strong); }
.nav-mega__panel {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(-8px);
  width: min(920px, 92vw);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-pop);
  padding: 28px;
  opacity: 0; pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
  z-index: 120;
}
.nav-mega.is-open .nav-mega__panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-mega__panel::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-mega__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.1fr; gap: 14px 24px; }
.nav-mega__cat {
  font-family: var(--font-mono); font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted);
  padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px solid var(--border);
}
.nav-mega__link { display: block; padding: 7px 8px; border-radius: var(--r-sm); font-size: 14px; font-weight: 500; color: var(--fg); transition: background .12s, color .12s; }
.nav-mega__link:hover { background: var(--surface-2); color: var(--accent-strong); }
.nav-mega__feature {
  background: var(--surface-dark); color: var(--on-dark);
  border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px;
}
.nav-mega__feature h4 { color: var(--on-dark); font-size: 16px; }
.nav-mega__feature p { font-size: 13px; color: var(--on-dark-muted); flex: 1; }
@media (max-width: 1140px) { .nav-mega__panel { width: min(720px, 92vw); } .nav-mega__grid { grid-template-columns: repeat(2, 1fr); } .nav-mega__feature { grid-column: 1 / -1; flex-direction: row; align-items: center; } .nav-mega__feature p { display: none; } }

/* Mobile services accordion in drawer */
.drawer-acc { border-radius: var(--r-sm); overflow: hidden; }
.drawer-acc > summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 12px; font-size: 18px; font-weight: 500; color: var(--fg-strong);
  cursor: pointer; list-style: none;
}
.drawer-acc > summary::-webkit-details-marker { display: none; }
.drawer-acc > summary svg { width: 18px; height: 18px; transition: transform .2s var(--ease); color: var(--muted); }
.drawer-acc[open] > summary svg { transform: rotate(180deg); }
.drawer-acc__body { padding: 0 12px 10px; display: flex; flex-direction: column; }
.drawer-acc__cat { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 12px 8px 4px; }
.drawer-acc__body a { padding: 9px 8px; font-size: 15px; font-weight: 500; color: var(--fg); border-radius: var(--r-sm); }
.drawer-acc__body a:hover { background: var(--surface-2); }

/* ---------- 36. "Which service" quiz ---------- */
.quiz { max-width: 720px; margin-inline: auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--sh-card); overflow: hidden; }
.quiz__bar { height: 4px; background: var(--surface-2); }
.quiz__bar-fill { height: 100%; width: 20%; background: var(--accent); transition: width .3s var(--ease); }
.quiz__body { padding: clamp(28px, 4vw, 48px); }
.quiz__step { display: none; }
.quiz__step.is-active { display: block; animation: quizfade .3s var(--ease); }
@keyframes quizfade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.quiz__qnum { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-strong); margin-bottom: 10px; }
.quiz__q { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.02em; color: var(--fg-strong); margin-bottom: 22px; line-height: 1.2; }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt {
  display: flex; align-items: center; gap: 12px; text-align: left; width: 100%;
  padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md);
  background: var(--surface); font-size: 15px; font-weight: 500; color: var(--fg);
  transition: border-color .12s, background .12s, transform .08s;
}
.quiz__opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.quiz__opt:active { transform: scale(0.99); }
.quiz__opt span.mono { width: 26px; height: 26px; flex-shrink: 0; border-radius: 7px; background: var(--surface-2); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.quiz__result { display: none; }
.quiz__result.is-active { display: block; animation: quizfade .3s var(--ease); }
.quiz__result-eyebrow { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-strong); margin-bottom: 12px; }
.quiz__result h3 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; }
.quiz__back { margin-top: 18px; font-size: 13px; color: var(--muted); font-weight: 500; }
.quiz__back:hover { color: var(--accent-strong); text-decoration: underline; }

/* ---------- 37. Service-page helpers ---------- */
.problem-band { background: var(--surface-dark); color: var(--on-dark); border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.problem-band__stat { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: clamp(56px, 9vw, 104px); line-height: 0.92; color: var(--accent); font-variant-numeric: tabular-nums; }
.problem-band__statlabel { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--on-dark-muted); margin-top: 10px; max-width: 240px; }
.problem-band h2 { color: var(--on-dark); margin-bottom: 14px; }
.problem-band p { color: var(--on-dark-muted); font-size: 17px; line-height: 1.6; }
.problem-band cite { display: block; margin-top: 14px; font-style: normal; font-size: 13px; font-family: var(--font-mono); color: var(--on-dark-muted); }
@media (max-width: 760px) { .problem-band { grid-template-columns: 1fr; gap: 20px; text-align: left; } }

.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .deliverables { grid-template-columns: 1fr; } }
.deliverable { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; }
.deliverable--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.deliverable__tier { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-strong); margin-bottom: 8px; }
.deliverable__price { font-family: var(--font-display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg-strong); margin-bottom: 4px; }
.deliverable__price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.deliverable__desc { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.deliverable ul { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.deliverable li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
.deliverable li svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: var(--accent-strong); }

.beforeafter { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
@media (max-width: 700px) { .beforeafter { grid-template-columns: 1fr; } .beforeafter__arrow { transform: rotate(90deg); justify-self: center; } }
.ba-card { border-radius: var(--r-lg); padding: 28px; text-align: center; }
.ba-card--before { background: var(--surface-2); border: 1px solid var(--border); }
.ba-card--after { background: var(--accent-soft); border: 1px solid var(--accent); }
.ba-card__label { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 10px; }
.ba-card--after .ba-card__label { color: var(--accent-strong); }
.ba-card__num { font-family: var(--font-display); font-size: clamp(40px, 6vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; color: var(--fg-strong); font-variant-numeric: tabular-nums; }
.ba-card--after .ba-card__num { color: var(--accent-strong); }
.ba-card__sub { font-size: 13px; color: var(--muted); margin-top: 8px; }
.beforeafter__arrow svg { width: 32px; height: 32px; color: var(--accent); }

.checklist-mock { display: flex; flex-direction: column; gap: 2px; }
.checklist-mock__row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; }
.checklist-mock__row svg { width: 18px; height: 18px; flex-shrink: 0; }
.checklist-mock__row--pass svg { color: var(--success); }
.checklist-mock__row--fail svg { color: var(--danger); }
.checklist-mock__row--fail { background: var(--danger-soft); }
.checklist-mock__tag { margin-left: auto; font-family: var(--font-mono); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: var(--r-pill); }
.checklist-mock__row--pass .checklist-mock__tag { background: var(--success-soft); color: var(--success); }
.checklist-mock__row--fail .checklist-mock__tag { background: oklch(60% 0.20 25 / 0.16); color: var(--danger); }

/* ---------- 37b. Service-page form + related grids ---------- */
.svc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; max-width: 1080px; margin-inline: auto; }
@media (max-width: 880px) { .svc-form-grid { grid-template-columns: 1fr; gap: 36px; } }
.form-select { width: 100%; padding: 12px 14px; border: 1px solid var(--border-strong); border-radius: var(--r-md); background: var(--surface); font-size: 15px; color: var(--fg-strong); transition: border-color .15s, box-shadow .15s; }
.form-select:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }

/* ---------- 38. Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- 39. Alert / emergency variants (Fix & Recover) ---------- */
.btn--danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn--danger:hover { background: oklch(54% 0.21 25); box-shadow: var(--sh-hover); }
.pill--alert { background: var(--danger-soft) !important; color: var(--danger) !important; }
.problem-band--alert { border-color: oklch(60% 0.20 25 / 0.35); background: var(--danger-soft); }
.problem-band--alert .problem-band__stat { color: var(--danger); }
.cta-band--alert { background: linear-gradient(135deg, oklch(32% 0.10 25), oklch(22% 0.06 25)); }
.metrics-board--alert { border-color: oklch(60% 0.20 25 / 0.45); }
.metrics-board__live--alert { color: oklch(82% 0.14 25); }
.dot--alert { background: var(--danger); }
.dot--alert::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--danger); opacity: 0.5; animation: pulse 2s ease-out infinite;
}
.checklist-mock__row--progress { background: oklch(96% 0.03 90); }
.checklist-mock__row--progress svg { color: oklch(60% 0.14 80); }
.checklist-mock__row--progress .checklist-mock__tag { background: oklch(60% 0.14 80 / 0.16); color: oklch(48% 0.12 80); }
.metrics-board__foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid oklch(100% 0 0 / 0.08); font-family: var(--font-mono); font-size: 11px; color: var(--on-dark-muted); }
.metric-tile__delta--up { color: var(--success); }
.price-inline { margin-top: auto; font-size: 14px; color: var(--muted-strong); }
.price-inline strong { color: var(--accent-strong); font-size: 18px; font-family: var(--font-mono); }
.cat-group { margin-bottom: 48px; }
.cat-group__label { display:flex; align-items:center; gap:10px; font-weight:700; font-size:18px; margin-bottom:20px; letter-spacing:-0.01em; }
.cat-group__label .pill { display:inline-flex; align-items:center; justify-content:center; width:26px; height:26px; padding:0; background:var(--accent-soft); color:var(--accent-strong); border-radius:8px; font-size:13px; font-weight:700; }
.svc-cat { display:grid; gap:12px; align-content:start; }
.svc-cat .service-card__link { margin-top:auto; }

/* À-la-carte / project pricing */
.proj-head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.proj-head h3 { margin: 12px 0 10px; letter-spacing: -0.02em; }
.proj-head p { color: var(--muted); font-size: 16px; }
.proj-pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
.proj-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 8px; }
.proj-group__head { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; letter-spacing: -0.01em; padding: 14px 14px 12px; }
.proj-group__head .pill { display:inline-flex; align-items:center; justify-content:center; width:24px; height:24px; padding:0; background:var(--accent-soft); color:var(--accent-strong); border-radius:7px; font-size:12px; font-weight:700; }
.proj-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 14px; border-radius: 10px; text-decoration: none; transition: background .15s ease; }
.proj-row:hover { background: var(--surface-2); }
.proj-row + .proj-row { border-top: 1px solid var(--border); }
.proj-row__name { color: var(--fg-strong); font-weight: 500; font-size: 15px; line-height: 1.35; }
.proj-row__price { flex: none; color: var(--accent-strong); font-weight: 700; font-family: var(--font-mono); font-size: 16px; white-space: nowrap; }
.proj-row__price small { color: var(--muted); font-weight: 500; font-size: 12px; font-family: var(--font-body); }
@media (max-width: 900px) { .proj-pricing { grid-template-columns: 1fr; } }
