/* ============================================================
   SiteSolutionBD — Design System
   Art direction: editorial + premium agency
   Type: Fraunces (display serif) / Manrope (sans) / JetBrains Mono (labels)
   Colour: logo blue + deep ink + warm neutral whites

   01. Tokens & reset
   02. Base & typography
   03. Layout utilities
   04. Buttons, labels, forms
   05. Navigation
   06. Hero (home)
   07. Clients strip
   08. Services (editorial list)
   09. Work (editorial portfolio)
   10. Why SiteSolutionBD
   11. Process (timeline)
   12. Outcomes (dark band)
   13. Testimonials (home)
   14. CTA
   15. Page hero (inner pages)
   16. Inner page components
   17. Footer
   18. Floating elements
   19. Reveal animations
   20. Responsive
   ============================================================ */

/* ---------- 01. Tokens & reset ---------- */
:root {
  --blue-600: #0757c7;
  --blue-500: #0a7cff;
  --blue-400: #3e9bff;
  --blue-050: #edf4ff;
  --ink-900: #0a0f1c;
  --ink-800: #101724;
  --ink-700: #1a2333;
  --text-900: #0a0f1c;
  --text-700: #414c60;
  --text-500: #67718a;
  --text-400: #9aa3b7;
  --line: #e5e9f0;
  --line-dark: rgba(255, 255, 255, 0.14);
  --bg-soft: #f6f8fb;
  --bg-white: #ffffff;
  --accent: #c47e0a;
  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Manrope", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
  --shadow-sm: 0 1px 2px rgba(10, 15, 28, 0.05), 0 1px 3px rgba(10, 15, 28, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 15, 28, 0.08);
  --shadow-lg: 0 30px 70px rgba(10, 15, 28, 0.14);
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 12px;
  --header-h: 84px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text-700);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text-900);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-500); text-decoration: none; transition: color 0.25s ease; }
a:hover { color: var(--blue-600); }

img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

section { position: relative; scroll-margin-top: calc(var(--header-h) + 8px); }

::selection { background: rgba(10, 124, 255, 0.18); }

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

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: #c3ccda; border-radius: 10px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--blue-500); }

/* ---------- 02. Base & typography ---------- */
.container { width: 100%; max-width: 1220px; margin-inline: auto; padding-inline: 28px; }
.container-narrow { max-width: 900px; }

.section { padding: 110px 0; }
.section-tight { padding: 76px 0; }
.section-soft { background: var(--bg-soft); }
.section-ink { background: var(--ink-900); color: #b9c2d2; }
.section-ink h2, .section-ink h3, .section-ink h4 { color: #fff; }

.label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label.center::before { display: none; }

.sec-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  margin: 18px 0 0;
  max-width: 22ch;
}
.sec-title em { font-style: italic; color: var(--blue-500); }
.sec-lead { font-size: 18px; color: var(--text-500); max-width: 52ch; margin: 0; }

.sec-head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: end; margin-bottom: 64px; }
.sec-head.centered { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-bottom: 56px; }
.sec-head.centered .sec-lead { margin-inline: auto; }

.grad-text { display: none; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- 03. Layout utilities ---------- */
.split { display: grid; gap: 60px; align-items: start; }
.split-2 { grid-template-columns: 1.05fr 0.95fr; }
.split-2-flip { grid-template-columns: 0.95fr 1.05fr; }

.mono { font-family: var(--font-mono); }

/* ---------- 04. Buttons, labels, forms ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 30px;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }

.btn-solid { background: var(--blue-500); color: #fff; box-shadow: 0 8px 22px rgba(10, 124, 255, 0.28); }
.btn-solid:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }

.btn-dark { background: var(--ink-900); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: #fff; transform: translateY(-2px); }

.btn-ghost { border-color: var(--line); color: var(--text-900); background: transparent; }
.btn-ghost:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }

.btn-light { background: #fff; color: var(--ink-900); }
.btn-light:hover { background: var(--bg-soft); color: var(--ink-900); transform: translateY(-2px); }

.btn-ghost-light { border-color: var(--line-dark); color: #fff; }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; transform: translateY(-2px); }

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-lg { padding: 18px 38px; font-size: 16.5px; }
.btn-block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-900);
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.text-link svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.text-link:hover { color: var(--blue-500); border-color: var(--blue-500); }
.text-link:hover svg { transform: translateX(4px); }

.form-field { margin-bottom: 20px; }
.form-label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text-900); margin-bottom: 8px; }
.form-label .req { color: var(--accent); }
.form-control, .form-select, .form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-900);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.form-control:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(10, 124, 255, 0.12);
}
.form-textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: 13px; color: var(--text-500); margin-top: 12px; }

/* ---------- 05. Navigation ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  height: 66px;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(10, 15, 28, 0.05);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { width: 40px; height: 40px; flex: none; border-radius: 10px; }
.brand-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--text-900);
}
.brand-name .tld { color: var(--blue-500); }

.main-nav ul { display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-700);
  border-radius: var(--r-sm);
  transition: color 0.25s ease, background 0.25s ease;
}
.main-nav a:hover { color: var(--blue-600); }
.main-nav a[aria-current="page"] { color: var(--blue-600); font-weight: 600; }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: #fff;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--text-900); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 06. Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 64px) 0 40px;
  background: var(--bg-white);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 52%;
  height: 100%;
  background:
    linear-gradient(180deg, rgba(10, 124, 255, 0.05), transparent 70%),
    radial-gradient(60% 50% at 70% 30%, rgba(10, 124, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }

.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 64px; align-items: center; }

.hero-kicker {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-kicker::before { content: ""; width: 34px; height: 1px; background: var(--blue-500); }

.hero h1 {
  font-size: clamp(2.9rem, 6.2vw, 5.1rem);
  line-height: 1.02;
  color: var(--text-900);
  max-width: 13ch;
}
.hero h1 em {
  font-style: italic;
  color: var(--blue-500);
  position: relative;
}
@media (min-width: 641px) {
  .hero h1 em { white-space: nowrap; }
}

.hero-sub {
  font-size: 19px;
  color: var(--text-500);
  max-width: 46ch;
  margin: 28px 0 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-foot {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-400);
}
.hero-foot .row { display: flex; align-items: center; gap: 10px; }
.hero-foot .sep { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); }

/* Hero stage — browser mockup */
.hero-stage { position: relative; }
.browser {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-white);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots i:nth-child(1){ background:#ff5f57; } .browser-dots i:nth-child(2){ background:#febc2e; } .browser-dots i:nth-child(3){ background:#28c840; }
.browser-url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-500);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 6px 12px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.browser-body { padding: 22px; }
.browser-hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 18px;
}
.browser-hero .b-copy {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.b-copy .tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-500);
}
.b-copy h3 {
  font-size: 21px;
  margin: 10px 0 0;
  color: var(--text-900);
}
.b-copy .bar { height: 6px; border-radius: 3px; background: #dde3ec; margin-top: 14px; }
.b-copy .bar::after { content: ""; display: block; width: 62%; height: 100%; border-radius: 3px; background: var(--blue-500); }

.b-chart {
  background: var(--ink-900);
  border-radius: var(--r-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.b-chart .ch-head { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #8fa0bd; margin-bottom: 14px; }
.b-chart .ch-bars { display: flex; align-items: flex-end; gap: 7px; height: 120px; }
.b-chart .ch-bar { flex: 1; border-radius: 3px 3px 1px 1px; background: rgba(255, 255, 255, 0.14); }
.b-chart .ch-bar.hot { background: var(--blue-500); }
.browser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.b-cell { height: 84px; border-radius: var(--r-sm); background: var(--bg-soft); border: 1px solid var(--line); }
.b-cell.lg { background: linear-gradient(140deg, var(--blue-050), #fff); position: relative; }
.b-cell.lg::after { content: ""; position: absolute; inset: 50% 18% auto 18%; height: 6px; border-radius: 3px; background: var(--blue-500); opacity: 0.55; }

.hero-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 3;
}
.hero-card .v { font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--blue-600); line-height: 1; }
.hero-card .l { font-family: var(--font-sans); font-size: 12px; color: var(--text-500); }
.hc-1 { top: -26px; left: -30px; }
.hc-2 { bottom: -26px; right: -24px; }

/* ---------- 07. Clients strip ---------- */
.clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}
.clients-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; }
.clients-label { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-400); }
.clients-list { display: flex; flex-wrap: wrap; gap: 12px 40px; }
.clients-list span { font-family: var(--font-display); font-size: 19px; color: var(--text-400); transition: color 0.3s ease; }
.clients-list span:hover { color: var(--text-900); }

/* ---------- 08. Services (editorial list) ---------- */
.svc-list { border-top: 1px solid var(--text-900); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1.15fr 1.1fr 130px;
  gap: 28px;
  align-items: center;
  padding: 34px 6px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s ease, padding 0.3s ease;
}
.svc-row::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--blue-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.svc-row:hover { background: var(--bg-soft); padding-left: 16px; padding-right: 16px; }
.svc-row:hover::before { transform: scaleX(1); }
.svc-no { font-family: var(--font-mono); font-size: 13px; color: var(--text-400); }
.svc-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.4vw, 1.9rem); color: var(--text-900); line-height: 1.1; transition: color 0.3s ease; }
.svc-row:hover .svc-title { color: var(--blue-600); }
.svc-desc { font-size: 15px; color: var(--text-500); margin: 0; }
.svc-more {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-700);
  transition: color 0.3s ease;
}
.svc-more svg { width: 15px; height: 15px; transition: transform 0.3s ease; }
.svc-row:hover .svc-more { color: var(--blue-500); }
.svc-row:hover .svc-more svg { transform: translateX(4px); }
.svc-list-foot { margin-top: 40px; }

/* ---------- 09. Work (editorial portfolio) ---------- */
.work-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 28px; }
.work-col { display: grid; gap: 28px; align-content: start; }
.work-item { display: block; }
.work-figure {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.work-figure .ph {
  display: grid;
  place-items: center;
  width: 100%;
}
.work-figure .ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10, 15, 28, 0.55));
  transition: background 0.4s ease;
}
.work-item:hover .ph svg { transform: scale(1.04); }
.work-item:hover .ph::after { background: linear-gradient(180deg, transparent 45%, rgba(10, 15, 28, 0.6)); }
.work-figure .ph svg { width: 100%; height: 100%; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.3, 1); }
.work-figure .badge-result {
  position: absolute;
  left: 18px; bottom: 18px;
  z-index: 2;
  background: rgba(10, 15, 28, 0.78);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border-radius: var(--r-sm);
}
.work-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 2px 0;
}
.work-meta h3 { font-size: 21px; margin: 0; }
.work-meta .ind { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-400); }
.work-services { font-size: 13.5px; color: var(--text-500); padding: 2px 2px 0; }
.work-cta { margin-top: 48px; text-align: center; }

/* ---------- 10. Why SiteSolutionBD ---------- */
.why-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 72px; align-items: start; }
.why-statement .sec-title { font-size: clamp(2.1rem, 4.2vw, 3.2rem); max-width: 18ch; }
.why-statement p { margin-top: 24px; color: var(--text-500); font-size: 17px; }
.why-list { border-top: 1px solid var(--line); }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.why-no { font-family: var(--font-mono); font-size: 13px; color: var(--blue-500); padding-top: 6px; }
.why-item h3 { font-size: 20px; margin: 0 0 6px; }
.why-item p { font-size: 15px; color: var(--text-500); margin: 0; max-width: 46ch; }

/* ---------- 11. Process (timeline) ---------- */
.process-rail { border-left: 1px solid var(--text-900); margin-left: 40px; }
.process-item { position: relative; padding: 0 0 0 48px; margin-bottom: 56px; }
.process-item:last-child { margin-bottom: 0; }
.process-item::before {
  content: "";
  position: absolute;
  left: -7px; top: 8px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--blue-500);
}
.process-no { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-500); }
.process-item h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: 10px 0 8px; color: var(--text-900); }
.process-item p { font-size: 15.5px; color: var(--text-500); max-width: 54ch; margin: 0; }
.section-ink .process-rail { border-left-color: #fff; }
.section-ink .process-item::before { background: var(--ink-900); border-color: var(--blue-400); }
.section-ink .process-item h3 { color: #fff; }

/* ---------- 12. Outcomes (dark band) ---------- */
.outcomes { position: relative; overflow: hidden; background: var(--ink-900); color: #b9c2d2; }
.outcomes::before {
  content: "";
  position: absolute;
  top: -40%;
  left: 60%;
  width: 50%;
  height: 180%;
  background: radial-gradient(60% 60% at 50% 50%, rgba(10, 124, 255, 0.22), transparent 70%);
  pointer-events: none;
}
.outcomes .container { position: relative; z-index: 1; }
.outcomes-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.outcomes-head .sec-title { color: #fff; }
.outcomes-head .sec-lead { color: #8fa0bd; }
.outcomes-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); }
.outcome {
  background: var(--ink-800);
  padding: 34px 36px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  transition: background 0.35s ease;
}
.outcome:hover { background: var(--ink-700); }
.outcome .client { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue-400); }
.outcome h3 { font-size: 22px; color: #fff; margin: 0; line-height: 1.25; }
.outcome .metric { font-family: var(--font-display); font-weight: 600; font-size: 30px; color: #fff; }
.outcome .metric .d { color: var(--blue-400); font-size: 13px; font-family: var(--font-mono); display: block; margin-top: 4px; }

/* ---------- 13. Testimonials (home) ---------- */
.t-featured { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; margin-bottom: 72px; }
.t-mark { font-family: var(--font-display); font-size: 120px; line-height: 0.6; color: var(--blue-050); font-weight: 600; }
.t-featured blockquote { margin: 0; }
.t-featured blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  line-height: 1.3;
  color: var(--text-900);
  margin: 0 0 26px;
}
.t-person { display: flex; align-items: center; gap: 16px; }
.t-person .avatar {
  width: 52px; height: 52px; flex: none;
  border-radius: 50%;
  background: var(--blue-050);
  color: var(--blue-600);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
}
.t-person strong { display: block; font-family: var(--font-sans); font-size: 15px; color: var(--text-900); }
.t-person .role { font-size: 13px; color: var(--text-500); }

.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t-card { border-top: 1px solid var(--text-900); padding: 22px 2px 0; }
.t-card .q {
  font-size: 15px;
  color: var(--text-700);
  margin: 0 0 20px;
  line-height: 1.7;
}
.t-card .stars { display: flex; gap: 3px; margin-bottom: 18px; }
.t-card .stars svg { width: 14px; height: 14px; color: var(--accent); }
.t-card .t-person .avatar { width: 40px; height: 40px; font-size: 14px; }

/* ---------- 14. CTA ---------- */
.cta { background: var(--ink-900); padding: 120px 0; position: relative; overflow: hidden; }
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 60% at 20% 100%, rgba(10, 124, 255, 0.22), transparent 70%),
    radial-gradient(40% 50% at 85% 0%, rgba(10, 124, 255, 0.12), transparent 70%);
}
.cta .container { position: relative; z-index: 1; }
.cta-inner { max-width: 820px; }
.cta .label { color: var(--blue-400); }
.cta-title {
  font-size: clamp(2.5rem, 5.6vw, 4.4rem);
  color: #fff;
  margin: 20px 0 24px;
  max-width: 16ch;
}
.cta-title em { font-style: italic; color: var(--blue-400); }
.cta-sub { color: #8fa0bd; font-size: 18px; max-width: 50ch; margin: 0 0 40px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 15. Page hero (inner pages) ---------- */
.page-hero {
  background: var(--bg-white);
  border-bottom: 1px solid var(--line);
  padding: calc(var(--header-h) + 72px) 0 72px;
}
.page-hero .breadcrumb { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-400); display: flex; gap: 10px; margin-bottom: 34px; }
.page-hero .breadcrumb a { color: var(--text-400); }
.page-hero .breadcrumb a:hover { color: var(--blue-500); }
.page-hero .breadcrumb .sep { color: var(--blue-500); }
.page-hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.2rem);
  color: var(--text-900);
  margin: 0 0 22px;
  max-width: 20ch;
}
.page-hero h1 em { font-style: italic; color: var(--blue-500); }
.page-hero .lead { font-size: 18px; color: var(--text-500); max-width: 56ch; margin: 0; }
.page-hero > .container > p:not(.lead) { font-size: 18px; color: var(--text-500); max-width: 56ch; margin: 0; }
.page-hero .label { margin-bottom: 22px; }

/* ---------- 16. Inner page components ---------- */
.intro-img { position: relative; border-radius: var(--r-md); overflow: hidden; }
.intro-img img { width: 100%; height: 100%; object-fit: cover; }
.intro-img .card-floating {
  position: absolute;
  left: 18px; bottom: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.intro-img .card-floating .num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--blue-600); }
.intro-img .card-floating small { font-size: 12px; color: var(--text-500); line-height: 1.4; }

.check-list li { display: flex; gap: 12px; margin-bottom: 14px; font-weight: 500; color: var(--text-700); }
.check-list li svg { width: 19px; height: 19px; flex: none; margin-top: 3px; color: var(--blue-500); }

/* Service cards (services page overview) */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--text-900); border-left: 1px solid var(--line); }
.svc-card {
  position: relative;
  background: var(--bg-white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 32px 30px;
  transition: background 0.3s ease;
}
.svc-card:hover { background: var(--bg-soft); }
.svc-card h3 { font-size: 22px; margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--text-500); margin-bottom: 22px; }
.svc-ico {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: var(--blue-050);
  color: var(--blue-600);
  margin-bottom: 20px;
}
.svc-ico svg { width: 22px; height: 22px; }
.svc-foot { display: flex; justify-content: space-between; align-items: center; }
.svc-num { font-family: var(--font-mono); font-size: 12px; color: var(--text-400); }

/* Why list (home uses .why-item; these are kept for about) */
.stats-mini { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.stats-mini div { padding: 12px 20px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; }
.stats-mini .num { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--blue-600); display: block; }
.stats-mini .lbl { font-size: 12px; color: var(--text-500); }

/* Portfolio page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter-btn {
  padding: 9px 20px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-700);
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s ease;
}
.filter-btn:hover { border-color: var(--blue-500); color: var(--blue-600); }
.filter-btn.active { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }

.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.p-item { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--bg-soft); border: 1px solid var(--line); aspect-ratio: 16 / 10; display: block; }
.p-item .thumb { position: absolute; inset: 0; overflow: hidden; }
.p-item .thumb::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,28,0) 50%, rgba(10,15,28,.72) 100%);
}
.p-item .thumb svg { width: 100%; height: 100%; transition: transform 0.9s cubic-bezier(0.2,0.7,0.3,1); }
.p-item:hover .thumb svg { transform: scale(1.05); }
.p-item .p-overlay { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; color: #fff; }
.p-item .p-cat { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-400); margin-bottom: 8px; }
.p-item h3 { font-size: 22px; color: #fff; margin: 0 0 4px; }
.p-item p { font-size: 13.5px; color: #c6cede; margin: 0; }
.p-item .p-link { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--text-900); display: grid; place-items: center; opacity: 0; transform: scale(0.7); transition: all 0.3s ease; z-index: 3; }
.p-item:hover .p-link { opacity: 1; transform: scale(1); }
.p-item .p-link:hover { background: var(--blue-500); color: #fff; }
.p-item .p-link svg { width: 17px; height: 17px; }
.p-item.hide { display: none; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.price-card {
  position: relative;
  background: var(--bg-white);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  background: var(--ink-900);
  color: #b9c2d2;
  position: relative;
  z-index: 1;
}
.price-card.featured .price-name { color: var(--blue-400); }
.price-card.featured .price-amt { color: #fff; }
.price-card.featured .price-per { color: #8fa0bd; }
.price-card.featured .price-feats li { color: #b9c2d2; border-bottom-color: rgba(255,255,255,0.12); }
.price-card.featured .price-feats li.off { color: #55607a; }
.price-card.featured .price-feats li.off svg { color: #3d475e; }
.price-flag { position: absolute; top: -1px; left: 36px; background: var(--blue-500); color: #fff; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 14px; border-radius: 0 0 var(--r-sm) var(--r-sm); }
.price-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.price-amt { font-family: var(--font-display); font-weight: 600; font-size: 46px; color: var(--text-900); letter-spacing: -0.02em; margin-bottom: 6px; }
.price-amt .cur { font-size: 24px; vertical-align: 14px; color: var(--text-400); }
.price-per { font-size: 14px; color: var(--text-500); margin-bottom: 26px; }
.price-feats { flex: 1; margin-bottom: 30px; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 0; font-size: 14.5px; color: var(--text-700); border-bottom: 1px solid var(--line); }
.price-feats li svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--blue-500); }
.price-feats li.off { color: var(--text-400); text-decoration: line-through; }
.price-feats li.off svg { color: #c6cdd9; }
.price-card.featured .btn-solid { background: #fff; color: var(--ink-900); box-shadow: none; }
.price-card.featured .btn-solid:hover { background: var(--blue-050); color: var(--blue-600); }

.billing-toggle { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; }
.billing-toggle .lbl { font-size: 14.5px; font-weight: 500; color: var(--text-500); }
.billing-toggle .lbl.active { color: var(--text-900); font-weight: 600; }
.billing-toggle .save { font-size: 11px; font-weight: 700; color: var(--blue-600); background: var(--blue-050); padding: 3px 9px; border-radius: var(--r-sm); }
.switch { position: relative; width: 54px; height: 28px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; border-radius: 999px; background: var(--line); transition: background 0.3s ease; cursor: pointer; }
.switch .track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(10,15,28,0.2); transition: transform 0.3s ease; }
.switch input:checked + .track { background: var(--blue-500); }
.switch input:checked + .track::after { transform: translateX(26px); }
.price-amount { transition: opacity 0.2s ease; }
.price-amount.switching { opacity: 0; }

.compare-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 15px 18px; text-align: left; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-soft); color: var(--text-900); font-family: var(--font-sans); font-weight: 600; font-size: 14px; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--bg-soft); }
.compare-table td:first-child { font-weight: 600; color: var(--text-900); }
.compare-table td.yes { color: var(--blue-600); }
.compare-table td.no { color: #c2c9d6; }

/* FAQ */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 2px;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 19px;
  color: var(--text-900);
  transition: color 0.25s ease;
}
.faq-q:hover { color: var(--blue-600); }
.faq-q .ico { width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--line); color: var(--text-700); display: grid; place-items: center; transition: all 0.3s ease; }
.faq-q .ico svg { width: 14px; height: 14px; }
.faq-item.open .faq-q { color: var(--blue-600); }
.faq-item.open .faq-q .ico { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 0 24px; font-size: 15.5px; color: var(--text-500); max-width: 70ch; }

/* Testimonials page */
.tpage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.tpage-card { background: #fff; padding: 34px 32px; }
.tpage-card .stars { display: flex; gap: 3px; margin-bottom: 16px; }
.tpage-card .stars svg { width: 14px; height: 14px; color: var(--accent); }
.tpage-card .quote { font-size: 15px; color: var(--text-700); margin-bottom: 22px; line-height: 1.7; }
.tpage-person { display: flex; align-items: center; gap: 14px; }
.tpage-person .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-050); color: var(--blue-600); font-weight: 700; display: grid; place-items: center; border: 1px solid var(--line); }
.tpage-person strong { display: block; font-size: 15px; color: var(--text-900); }
.tpage-person small { font-size: 13px; color: var(--text-500); }

/* About */
.mission-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); }
.mission-card { background: #fff; padding: 36px 32px; }
.mission-card .svc-ico { margin-bottom: 20px; }
.mission-card h3 { font-size: 21px; margin-bottom: 8px; }
.mission-card p { font-size: 14.5px; color: var(--text-500); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: left; }
.team-card .avatar { position: relative; aspect-ratio: 1; border-radius: var(--r-md); background: var(--bg-soft); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; margin-bottom: 18px; }
.team-card .avatar span { font-family: var(--font-display); font-weight: 600; font-size: 44px; color: var(--blue-500); }
.team-card .avatar .socials { position: absolute; bottom: 14px; display: flex; gap: 8px; opacity: 0; transform: translateY(10px); transition: all 0.35s ease; }
.team-card:hover .avatar .socials { opacity: 1; transform: none; }
.team-card .avatar .socials a { width: 34px; height: 34px; border-radius: var(--r-sm); background: rgba(255,255,255,0.92); color: var(--text-900); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.team-card .avatar .socials a:hover { background: var(--blue-500); color: #fff; }
.team-card .avatar .socials svg { width: 15px; height: 15px; }
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-card p { font-size: 13.5px; color: var(--text-500); }

.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.value-chip { background: #fff; padding: 30px 26px; }
.value-chip .svc-ico { margin-bottom: 16px; }
.value-chip h3 { font-size: 17px; color: var(--text-900); }
.value-chip p { font-size: 13px; color: var(--text-500); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 1px; background: var(--line); }
.contact-card { background: #fff; display: flex; gap: 18px; padding: 24px; }
.contact-card .svc-ico { width: 44px; height: 44px; margin: 0; flex: none; }
.contact-card .svc-ico svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 16px; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: 14.5px; color: var(--text-500); }
.contact-card a:hover { color: var(--blue-600); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 48px; box-shadow: var(--shadow-sm); }
.map-wrap { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); line-height: 0; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; filter: grayscale(0.4); }

.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.show { display: block; }
.form-success .tick { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 50%; background: var(--blue-050); display: grid; place-items: center; }
.form-success .tick svg { width: 34px; height: 34px; color: var(--blue-600); }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--text-500); max-width: 420px; margin: 0 auto 26px; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--ink-900); color: #8fa0bd; padding-top: 84px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 22px; font-weight: 500; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-name .tld { color: var(--blue-400); }
.footer-brand p { font-size: 14.5px; margin: 18px 0 24px; max-width: 300px; }
.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  color: #c6cede;
  transition: all 0.3s ease;
}
.social-links a:hover { background: var(--blue-500); color: #fff; border-color: var(--blue-500); transform: translateY(-2px); }
.social-links svg { width: 17px; height: 17px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #8fa0bd; font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; }
.footer-contact li svg { width: 18px; height: 18px; flex: none; color: var(--blue-400); margin-top: 3px; }
.footer-contact a { color: #8fa0bd; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 13.5px; color: #67738c; }
.footer-bottom .mini-nav { display: flex; gap: 20px; }
.footer-bottom a { color: #67738c; }
.footer-bottom a:hover { color: #fff; }

/* ---------- 18. Floating elements ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1fae54; color: #fff;
  box-shadow: 0 10px 30px rgba(31, 174, 84, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.wa-float:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 14px 40px rgba(31, 174, 84, 0.45); }
.wa-float svg { width: 28px; height: 28px; }

.to-top {
  position: fixed; right: 26px; bottom: 94px; z-index: 899;
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--ink-900); color: #fff; border: 1px solid transparent;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.35s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-500); }
.to-top svg { width: 17px; height: 17px; }

/* ---------- 19. Reveal animations ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.3, 1); transition-delay: var(--rd, 0s); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }
@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; }
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- 19b. Compatibility (legacy inner-page classes) ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.section-ink .eyebrow, .section-dark .eyebrow { color: var(--blue-400); }
.grad-text { font-style: italic; color: var(--blue-500); }

.section-muted { background: var(--bg-soft); }
.section-dark { background: var(--ink-900); color: #b9c2d2; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .sec-head p { color: #8fa0bd; }

.sec-head.center { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-bottom: 56px; }
.sec-head.center .eyebrow { justify-content: center; }
.sec-head.center .eyebrow::before { display: none; }
.sec-head.center .sec-lead { margin-inline: auto; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14.5px;
  color: var(--text-900);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.link-arrow:hover { color: var(--blue-600); }
.link-arrow:hover svg { transform: translateX(4px); }

.btn-primary { background: var(--blue-500); color: #fff; box-shadow: 0 8px 22px rgba(10, 124, 255, 0.28); }
.btn-primary:hover { background: var(--blue-600); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--line); color: var(--text-900); background: transparent; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); transform: translateY(-2px); }
.btn-ghost-dark { border-color: var(--line-dark); color: #fff; }
.btn-ghost-dark:hover { border-color: rgba(255, 255, 255, 0.5); color: #fff; transform: translateY(-2px); }

.cta-band { background: var(--ink-900); padding: 110px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(50% 60% at 20% 100%, rgba(10, 124, 255, 0.2), transparent 70%),
    radial-gradient(40% 50% at 85% 0%, rgba(10, 124, 255, 0.12), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; }
.cta-inner h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.6rem); color: #fff; margin: 0 0 18px; }
.cta-inner h2 em { font-style: italic; color: var(--blue-400); }
.cta-inner p { color: #8fa0bd; font-size: 17px; margin: 0 0 36px; max-width: 52ch; }
.cta-inner { max-width: 820px; }
.cta-inner .cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-inner.cta-center { text-align: center; }

.svc-card-dark { background: var(--bg-white); border: 1px solid var(--line); }
.svc-card-dark h3 { color: var(--text-900); }
.svc-card-dark p { color: var(--text-500); }

.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: center; }
.stat-box .icon { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: var(--r-sm); display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: var(--blue-400); }
.stat-box .icon svg { width: 22px; height: 22px; }
.stat-box .num { font-family: var(--font-display); font-weight: 600; font-size: 1.6rem; color: #fff; }
.stat-box .lbl { font-size: 13.5px; color: #8fa0bd; margin-top: 6px; }

/* ---------- 19c. Dynamic CMS components ---------- */
.work-figure img { width: 100%; height: 100%; object-fit: cover; }

.hero-dyn {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 64px;
  background: var(--ink-900);
  color: #c6cede;
  overflow: hidden;
}
.hero-dyn .hd-track { position: relative; width: 100%; min-height: 88vh; }
.hero-dyn .hd-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.hero-dyn .hd-slide.is-active { opacity: 1; visibility: visible; }
.hero-dyn .hd-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-dyn .hd-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(10,15,28,.94), rgba(10,15,28,.55)); }
.hero-dyn.single .hd-overlay { background: linear-gradient(120deg, rgba(10,15,28,.88), rgba(10,15,28,.62)); }
.hero-dyn .container { position: relative; z-index: 2; }
.hero-dyn .hd-inner { max-width: 760px; }
.hero-dyn .hd-eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 24px;
}
.hero-dyn .hd-title {
  font-size: clamp(2.6rem, 5.8vw, 4.8rem);
  color: #fff;
  margin: 0 0 22px;
  max-width: 15ch;
}
.hero-dyn .hd-title em { font-style: italic; color: var(--blue-400); }
.hero-dyn .hd-desc { font-size: 19px; color: #8fa0bd; max-width: 48ch; margin: 0 0 36px; }
.hero-dyn .hd-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dyn .hd-nav {
  position: absolute; bottom: 34px; left: 0; right: 0; z-index: 5;
  display: flex; align-items: center; justify-content: center; gap: 22px;
}
.hero-dyn .hd-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-dark); background: rgba(255,255,255,.04);
  color: #fff; font-size: 20px; display: grid; place-items: center;
  transition: all 0.25s ease;
}
.hero-dyn .hd-arrow:hover { background: var(--blue-500); border-color: var(--blue-500); }
.hero-dyn .hd-dots { display: flex; gap: 8px; }
.hero-dyn .hd-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: #4a5670; padding: 0; transition: all 0.25s ease; }
.hero-dyn .hd-dot.active { width: 26px; border-radius: 6px; background: var(--blue-500); }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 72px; }
  .hero::before { width: 100%; }
  .hero h1 { max-width: 16ch; }
  .hero-stage { max-width: 640px; }
  .hc-1 { left: -8px; }
  .hc-2 { right: -8px; }
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-col { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 70px 1fr 1fr; }
  .svc-more { display: none; }
}

@media (max-width: 900px) {
  .sec-head { grid-template-columns: 1fr; gap: 24px; }
  .outcomes-head { grid-template-columns: 1fr; gap: 20px; }
  .outcomes-list { grid-template-columns: 1fr; }
  .t-featured { grid-template-columns: 1fr; gap: 32px; }
  .t-grid { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { order: -1; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .tpage-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .mission-cards, .values-row { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 16px 24px 28px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 30px 60px rgba(10, 15, 28, 0.12);
  }
  .nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 18px; font-size: 16px; border-radius: var(--r-sm); }
  .nav-cta .btn { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 76px 0; }
  .container { padding-inline: 20px; }
  .hero { padding-top: calc(var(--header-h) + 48px); min-height: auto; }
  .hero h1 { font-size: 2.5rem; }
  .hero-sub { font-size: 17px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-card { padding: 11px 14px; }
  .hero-card .v { font-size: 19px; }
  .hc-1 { top: -18px; }
  .hc-2 { bottom: -18px; }
  .browser-hero { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 46px 1fr; gap: 14px; padding: 26px 2px; }
  .svc-desc { grid-column: 2; }
  .svc-row:hover { padding-left: 8px; padding-right: 8px; }
  .work-col { grid-template-columns: 1fr; }
  .outcome { min-height: 0; padding: 28px 24px; }
  .process-rail { margin-left: 20px; }
  .process-item { padding-left: 34px; }
  .t-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 30px 22px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .page-hero .breadcrumb { margin-bottom: 24px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .team-grid, .tpage-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions .btn { font-size: 14.5px; }
  .clients-list { gap: 10px 24px; }
}