/* ─── tokens ───────────────────────────────────────────────────────── */
:root {
  --bg:      #0b0f19;
  --surface: #111827;
  --fg:      #f1f5f9;
  --muted:   #8892a4;
  --border:  #1e293b;
  --accent:  #3b82f6;

  --accent-soft: color-mix(in oklch, var(--accent) 12%, transparent);
  --fg-soft:     color-mix(in oklch, var(--fg) 6%, transparent);

  --font-display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif;
  --font-mono:    ui-monospace, 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-h1: clamp(44px, 6vw, 76px);
  --fs-h2: clamp(32px, 4vw, 48px);
  --fs-h3: 22px;
  --fs-lead: 19px;
  --fs-body: 16px;
  --fs-meta: 13px;

  --gap-xs: 8px;
  --gap-sm: 12px;
  --gap-md: 20px;
  --gap-lg: 32px;
  --gap-xl: 56px;
  --gap-2xl: 96px;
  --container: 1120px;
  --gutter: 32px;

  --radius: 10px;
  --radius-lg: 16px;
}

/* ─── reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }

/* ─── layout primitives ─────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: clamp(56px, 8vw, var(--gap-2xl));
}
.section + .section { border-top: 1px solid var(--border); }
.stack { display: flex; flex-direction: column; }
.stack > * + * { margin-top: var(--gap-md); }
.row { display: flex; align-items: center; gap: var(--gap-md); }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: var(--gap-md); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-lg); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-lg); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-md); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--gap-xl); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--gap-xl); align-items: start; }
@media (max-width: 920px) {
  .grid-2, .grid-3, .grid-4, .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
}

/* ─── type ──────────────────────────────────────────────────────── */
.h1, h1 { font-family: var(--font-display); font-size: var(--fs-h1); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
.h2, h2 { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; margin: 0; }
.h3, h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.005em; margin: 0; }
.lead   { font-size: var(--fs-lead); line-height: 1.55; color: var(--muted); max-width: 60ch; margin: 0; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--gap-md);
}
.meta { font-family: var(--font-mono); font-size: var(--fs-meta); color: var(--muted); }
.num  { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ─── chrome: nav + footer ──────────────────────────────────────── */
.topnav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in oklch, var(--bg) 90%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.topnav-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.topnav .logo { display: inline-flex; align-items: center; }
.topnav .logo img { height: 32px; width: auto; filter: brightness(1.3); }
.topnav nav { display: flex; gap: var(--gap-lg); align-items: center; }
.topnav nav a { font-size: 14px; color: var(--muted); transition: color 0.15s ease; }
.topnav nav a:hover { color: var(--fg); }
.topnav nav a.active { color: var(--fg); }
.pagefoot { padding-block: var(--gap-xl); color: var(--muted); font-size: 13px; border-top: 1px solid var(--border); }
.pagefoot .row-between { flex-wrap: wrap; gap: var(--gap-md); }
.pagefoot .foot-logo { height: 32px; width: 93px; display: block; filter: brightness(1.3); }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; color: var(--fg); font-size: 24px; padding: 4px; }
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .topnav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px var(--gutter); gap: 12px; }
  .topnav nav.open { display: flex; }
}

/* ─── buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.05s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.topnav nav a.btn-primary { color: #fff; }
.btn-primary:hover { background: color-mix(in oklch, var(--accent) 88%, black); }
.btn-secondary { background: transparent; color: var(--fg); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { background: transparent; color: var(--fg); border-color: transparent; padding-inline: 8px; }
.btn-ghost:hover { color: var(--accent); }
.btn-arrow::after { content: '\2192'; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ─── card / surface ────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }
.card-flat { background: transparent; border: 0; padding: 0; }
.card-rule { background: transparent; border: 0; border-top: 1px solid var(--fg); padding: 24px 0 0; border-radius: 0; }

/* ─── feature cell (icon + h3 + p) ──────────────────────────────── */
.feature .feature-mark {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: var(--gap-md);
}
.feature .feature-mark svg { width: 18px; height: 18px; }
.feature h3 { margin-bottom: 6px; }
.feature p  { margin: 0; color: var(--muted); font-size: 15px; }

/* ─── stat (big number + label) ─────────────────────────────────── */
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent);
  font-weight: 600;
}
.stat .stat-label { color: var(--muted); font-size: 14px; margin-top: 8px; max-width: 24ch; }
.stat .stat-unit  { font-size: 0.5em; opacity: 0.7; margin-left: 2px; }

/* ─── pill / badge / tag ────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── form field ────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--muted); }
.input, .textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--fg);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.textarea { min-height: 96px; resize: vertical; line-height: 1.55; }

/* ─── log list ───────────────────────────────────────────────────── */
.log-row { display: grid; grid-template-columns: 120px 1fr 100px; gap: var(--gap-lg); padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline; }
.log-row .meta { color: var(--muted); }
.log-row h3 { font-size: 19px; }
.log-row .pull { text-align: right; }

/* ─── divider ───────────────────────────────────────────────────── */
.rule  { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* ─── hero variants ─────────────────────────────────────────────── */
.hero {
  padding-block: clamp(80px, 12vw, 160px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(59,130,246,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.08) 1px, transparent 1px),
    radial-gradient(ellipse 70% 60% at 50% 40%, rgba(59,130,246,0.12), transparent),
    radial-gradient(ellipse 50% 40% at 70% 70%, rgba(59,130,246,0.06), transparent),
    linear-gradient(to bottom, rgba(11,15,25,0.1), rgba(11,15,25,0.92));
  background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%;
}
.hero > .container { position: relative; z-index: 1; }
.hero-center { text-align: center; max-width: 64ch; margin-inline: auto; }
.hero h1 { margin-bottom: var(--gap-md); }
.hero .lead { margin-bottom: var(--gap-lg); }
.hero-cta { display: inline-flex; gap: var(--gap-sm); flex-wrap: wrap; }
.hero-center .hero-cta { justify-content: center; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap-2xl); align-items: center; }
@media (max-width: 920px) { .hero-split { grid-template-columns: 1fr; } }

/* ─── image placeholder ────────────────────────────────────────── */
.ph-img {
  background: linear-gradient(135deg, var(--accent-soft), var(--fg-soft)), var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ph-img.square { aspect-ratio: 1 / 1; }
.ph-img.wide { aspect-ratio: 16 / 9; }

/* ─── client logos row ─────────────────────────────────────────── */
.client-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-lg) var(--gap-xl);
  align-items: center;
  justify-content: center;
}
.client-logos img {
  height: 98px;
  width: auto;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.client-logos img:hover {
  opacity: 1;
}

/* ─── service card (homepage) ─────────────────────────────────────── */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-card:hover {
  border-color: color-mix(in oklch, var(--accent) 30%, var(--border));
  transform: translateY(-2px);
}
.service-card .service-icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
}
.service-card .service-icon svg { width: 20px; height: 20px; }
.service-card h3 { font-size: 18px; font-weight: 600; margin: 0; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ─── value proposition ─────────────────────────────────────────── */
.value-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.value-item .value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.value-item h3 { font-size: 17px; font-weight: 600; margin: 0 0 4px; }
.value-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ─── hero gradient text ────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--accent), color-mix(in oklch, var(--accent) 70%, white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── fade-in animation ─────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── news section ──────────────────────────────────────────────── */
.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.news-card:hover { border-color: color-mix(in oklch, var(--accent) 30%, var(--border)); }
.news-card .news-img { aspect-ratio: 16/9; background: var(--border); }
.news-card .news-body { padding: 24px; }
.news-card .news-cat { font-family: var(--font-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.news-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
.news-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ─── service detail (services page) ──────────────────────────────── */
.service-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.service-detail:hover {
  border-color: color-mix(in oklch, var(--accent) 30%, var(--border));
}
.service-detail .service-content .service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.service-detail .service-content h3 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.service-detail .service-content p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}
.service-detail .service-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-detail .service-icon-lg {
  width: 80px; height: 80px;
  display: grid; place-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--accent);
  background: var(--accent-soft);
}
.service-detail .service-icon-lg svg { width: 36px; height: 36px; }

/* ─── Category tabs ────────────────────────────────────────────── */
.category-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  margin: 0 auto 48px;
}
.category-tab {
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.category-tab:hover { color: var(--fg); }
.category-tab.active {
  background: var(--accent);
  color: white;
}
.service-group { display: none; }
.service-group.active { display: block; }

/* ─── Contact form ─────────────────────────────────────────────── */
.contact-form { max-width: 560px; }
.contact-form .field { margin-bottom: 20px; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field label { font-size: 13px; color: var(--muted); margin-bottom: 6px; display: block; }
.contact-form .input, .contact-form .textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border);
  border-radius: var(--radius); background: var(--surface);
  color: var(--fg); font: inherit; font-size: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.contact-form .input:focus, .contact-form .textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.contact-form .textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.contact-form .submit-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 8px; }
.contact-form .submit-note { font-size: 13px; color: var(--muted); }

/* ─── Contact info card ────────────────────────────────────────── */
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info .contact-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-info .contact-item:last-child { border-bottom: none; }
.contact-info .contact-icon {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 10px;
  color: var(--accent); flex-shrink: 0;
}
.contact-info .contact-icon svg { width: 18px; height: 18px; }
.contact-info .contact-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 4px; }
.contact-info .contact-value { font-size: 16px; color: var(--fg); }
.contact-info .contact-value a { color: var(--accent); }
.contact-info .contact-value a:hover { text-decoration: underline; }

/* ─── Success toast ────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  background: var(--surface); border: 1px solid var(--accent);
  border-radius: var(--radius); padding: 16px 24px;
  color: var(--fg); font-size: 14px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(100px); opacity: 0;
  transition: all 0.3s ease;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ─── Process steps (about page) ──────────────────────────────── */
.process-step { display: flex; gap: 24px; align-items: flex-start; }
.process-num { font-family: var(--font-display); font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; opacity: 0.3; flex-shrink: 0; width: 60px; text-align: center; }
.process-step h3 { font-size: 20px; font-weight: 600; margin: 0 0 6px; }
.process-step p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ─── Abstract visual (replaces image placeholders) ────────────── */
.abstract-visual {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.abstract-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(59,130,246,0.15), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(59,130,246,0.08), transparent 40%),
    linear-gradient(135deg, rgba(59,130,246,0.03) 25%, transparent 25%),
    linear-gradient(225deg, rgba(59,130,246,0.03) 25%, transparent 25%);
}
.abstract-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(59,130,246,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}

/* ─── Skip to content link ─────────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 1000;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 8px;
  outline: 3px solid color-mix(in oklch, var(--accent) 60%, white);
  outline-offset: 2px;
}

/* ─── Cookie consent banner ────────────────────────────────────── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.cookie-banner.show {
  transform: translateY(0);
  opacity: 1;
}
.cookie-content {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  font-size: 14px;
  color: var(--muted);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}
.cookie-content p { margin: 0; flex: 1; }
.cookie-content a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-dismiss {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}
.cookie-dismiss:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.cookie-btn {
  padding: 8px 20px;
  border-radius: var(--radius);
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
.cookie-btn:hover {
  background: color-mix(in oklch, var(--accent) 88%, black);
}

/* ─── Testimonial card ─────────────────────────────────────────── */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testimonial-card .testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  font-style: italic;
}
.testimonial-card .testimonial-quote::before { content: '\201C'; color: var(--accent); font-size: 28px; line-height: 0.8; }
.testimonial-card .testimonial-quote::after { content: '\201D'; color: var(--accent); font-size: 28px; line-height: 0.8; }
.testimonial-card .testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}
.testimonial-card .testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testimonial-card .testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}
.testimonial-card .testimonial-role {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

/* ─── Client logo lazy loading ─────────────────────────────────── */
.client-logos img[loading="lazy"] {
  transition: opacity 0.2s ease;
}

/* ─── Focus-visible styles ─────────────────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── Responsive extras ──────────────────────────────────────── */
@media (max-width: 768px) {
  .service-detail {
    grid-template-columns: 1fr !important;
    padding: 28px;
    gap: 24px;
  }
  .service-detail .service-icon-lg { width: 60px; height: 60px; border-radius: 14px; }
  .service-detail .service-icon-lg svg { width: 28px; height: 28px; }
  .category-tabs { flex-wrap: wrap; width: 100%; justify-content: center; }
  .contact-form .field-row { grid-template-columns: 1fr; }
  .contact-info { padding: 24px; }
}

/* ─── Print styles ───────────────────────────────────────────────── */
@media print {
  .topnav,
  .pagefoot,
  .cookie-banner,
  .toast,
  .hero::before,
  .nav-toggle { display: none !important; }
  body {
    background: #fff !important;
    color: #000 !important;
    font-size: 12pt;
  }
  .section + .section { border-top-color: #ccc; }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 10pt;
    color: #555;
  }
  .hero { padding-block: 24pt; }
  .card, .service-card, .testimonial-card, .contact-info {
    border-color: #ccc;
    box-shadow: none;
  }
  h1, h2, h3, .gradient-text { color: #000 !important; }
}

/* ─── Reduced motion ─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }
}
