/* ==========================================================================
   VK2 Tech — Global Stylesheet
   Design system + components for all pages
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --brand: #2563eb;
  --brand-dark: #1d4ed8;
  --brand-darker: #1e40af;
  --accent: #06b6d4;
  --accent-soft: #cffafe;

  /* Semantic surfaces (light theme) */
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f6f8fc;
  --surface-3: #eef2f9;
  --ink: #0b1220;
  --text: #1f2937;
  --text-muted: #5b6b83;
  --border: #e3e9f2;
  --brand-tint: #eef4ff;

  /* Feedback */
  --success: #059669;
  --success-tint: #ecfdf5;
  --danger: #dc2626;
  --warning: #d97706;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, .06), 0 1px 3px rgba(11, 18, 32, .08);
  --shadow-md: 0 4px 12px rgba(11, 18, 32, .07), 0 2px 4px rgba(11, 18, 32, .04);
  --shadow-lg: 0 18px 40px -12px rgba(11, 18, 32, .18);
  --shadow-brand: 0 10px 30px -10px rgba(37, 99, 235, .55);

  /* Shape + rhythm */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: 24px;
  --section-y: 88px;

  --t-fast: .18s ease;
  --t: .28s cubic-bezier(.4, 0, .2, 1);

  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "SFMono-Regular", ui-monospace, Consolas, "Liberation Mono", monospace;
}

[data-theme="dark"] {
  --bg: #080d18;
  --surface: #0e1526;
  --surface-2: #111a2e;
  --surface-3: #16203a;
  --ink: #f1f5f9;
  --text: #d7e0ee;
  --text-muted: #93a3bb;
  --border: #1e2b45;
  --brand-tint: #10203f;
  --accent-soft: #0d3b45;
  --success-tint: #06251c;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .5);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, .45);
  --shadow-lg: 0 20px 44px -14px rgba(0, 0, 0, .7);
  --shadow-brand: 0 10px 30px -12px rgba(37, 99, 235, .6);
}

/* --------------------------------------------------------------------------
   2. Reset + base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  -webkit-text-size-adjust: 100%;
}

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

h1, h2, h3, h4, h5 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 750;
}

h1 { font-size: clamp(2.1rem, 4.6vw, 3.35rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.35rem); }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }

strong { color: var(--ink); font-weight: 650; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }

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

::selection { background: var(--brand); color: #fff; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 860px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: 60px; }
.section--soft { background: var(--surface-2); }
.section--line { border-top: 1px solid var(--border); }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stack-sm > * + * { margin-top: .5rem; }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Section heading block */
.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.text-center { margin-inline: auto; }
.section-head p { color: var(--text-muted); font-size: 1.06rem; margin-bottom: 0; }
.section-head h2 { margin-bottom: .45em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-tint);
  border: 1px solid color-mix(in srgb, var(--brand) 18%, transparent);
  padding: 5px 13px;
  border-radius: var(--r-pill);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.lead { font-size: 1.1rem; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  font-family: inherit;
  font-size: .96rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { color: #fff; box-shadow: 0 14px 34px -10px rgba(37, 99, 235, .7); }

.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { color: var(--brand); border-color: var(--brand); }

.btn--light {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: #fff; color: var(--brand-darker); border-color: #fff; }

.btn--white { background: #fff; color: var(--brand-darker); }
.btn--white:hover { color: var(--brand-darker); }

.btn--sm { padding: 9px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 34px; font-size: 1.02rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 650;
  font-size: .94rem;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-fast); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Top contact strip
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: .855rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}
[data-theme="dark"] .topbar { background: #05090f; }

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__contacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a { color: #cbd5e1; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; opacity: .85; }
.topbar__note { display: inline-flex; align-items: center; gap: 7px; color: #94a3b8; }
.topbar__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, .18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .45; } }

/* --------------------------------------------------------------------------
   6. Header / navigation
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t), box-shadow var(--t), background var(--t);
}
.header.is-stuck {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

/* Logo */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo:hover { color: inherit; }
.logo__mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: -.03em;
  box-shadow: var(--shadow-brand);
  flex-shrink: 0;
}
.logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.logo__name { font-weight: 800; font-size: 1.22rem; color: var(--ink); letter-spacing: -.03em; }
.logo__tag { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }

/* Menu */
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu > li { margin: 0; position: relative; }
.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 15px;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__link:hover { color: var(--brand); background: var(--brand-tint); }
.nav__link.is-active { color: var(--brand); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 1px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
}
.nav__caret { width: 14px; height: 14px; transition: transform var(--t-fast); }
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 310px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: .9rem;
  line-height: 1.4;
}
.dropdown a:hover { background: var(--surface-2); color: var(--brand); }
.dropdown a span { display: block; }
.dropdown a b { display: block; color: var(--ink); font-weight: 650; font-size: .93rem; }
.dropdown a small { color: var(--text-muted); font-size: .8rem; }
.dropdown a:hover b { color: var(--brand); }
.dropdown__icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.dropdown__icon svg { width: 17px; height: 17px; }

/* Nav actions */
.nav__actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

/* Hamburger */
.nav__burger { display: none; }
.nav__burger span {
  display: block;
  width: 20px; height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform var(--t), opacity var(--t-fast);
}
.nav__burger span + span { margin-top: 5px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: 92px 96px;
  overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -8%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 62%),
    radial-gradient(760px 420px at 6% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 60%),
    var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 70%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 70%, transparent) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 78%);
  opacity: .55;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 1.12rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero__points {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 550;
  color: var(--text);
  margin: 0;
}
.hero__points svg { width: 17px; height: 17px; color: var(--success); flex-shrink: 0; }

/* Hero visual: service snapshot card */
.hero__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1);
}
.hero__card:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.hero__card-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
}
.hero__card-bar i {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.hero__card-bar i:first-child { background: #f87171; }
.hero__card-bar i:nth-child(2) { background: #fbbf24; }
.hero__card-bar i:nth-child(3) { background: #34d399; }
.hero__card-bar em {
  margin-left: auto;
  font-style: normal;
  font-size: .74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}
.hero__card-body {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 20px;
  display: grid;
  gap: 12px;
}
.hero__stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 13px 15px;
}
.hero__stat-row .label { display: flex; align-items: center; gap: 10px; font-size: .89rem; font-weight: 600; color: var(--ink); }
.hero__stat-row .ico {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
}
.hero__stat-row .ico svg { width: 16px; height: 16px; }
.pill-ok {
  font-size: .74rem;
  font-weight: 700;
  color: var(--success);
  background: var(--success-tint);
  border: 1px solid color-mix(in srgb, var(--success) 25%, transparent);
  padding: 3px 10px;
  border-radius: var(--r-pill);
}
.meter { height: 6px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* Floating badge on hero card */
.hero__visual { position: relative; }
.hero__badge {
  position: absolute;
  bottom: -22px;
  left: -18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 11px;
  animation: float 5s ease-in-out infinite;
}
.hero__badge strong { display: block; font-size: 1.15rem; line-height: 1.1; }
.hero__badge small { font-size: .76rem; color: var(--text-muted); }
.hero__badge .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.hero__badge .ico svg { width: 19px; height: 19px; }
@keyframes float { 50% { transform: translateY(-10px); } }

/* --------------------------------------------------------------------------
   8. Page hero (inner pages)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-block: 72px 66px;
  background:
    radial-gradient(700px 340px at 80% 0%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 62%),
    var(--surface-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--text-muted); font-size: 1.08rem; max-width: 720px; margin-inline: auto; }

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: .85rem;
  color: var(--text-muted);
}
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 35%, var(--border));
}

.card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand-tint), color-mix(in srgb, var(--accent) 15%, transparent));
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 16%, transparent);
  margin-bottom: 18px;
  transition: background var(--t), color var(--t);
}
.card__icon svg { width: 25px; height: 25px; }
.card--hover:hover .card__icon {
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.card h3 { margin-bottom: .5em; }
.card p { color: var(--text-muted); font-size: .95rem; }

.card__list {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}
.card__list li {
  position: relative;
  padding-left: 22px;
  font-size: .89rem;
  color: var(--text-muted);
  margin-bottom: .35rem;
}
.card__list li::before {
  content: "";
  position: absolute;
  left: 4px; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand);
}

.card__foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.card--flex { display: flex; flex-direction: column; }

/* Compact card — for secondary grids (industries, capability tiles) where the
   point is scanning breadth, not reading depth. */
.card--compact { padding: 22px; }
.card--compact .card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 15px;
}
.card--compact .card__icon svg { width: 21px; height: 21px; }
.card--compact h3 { font-size: 1.02rem; margin-bottom: .38em; }
.card--compact p { font-size: .885rem; line-height: 1.6; }

/* Reserve two title lines so every paragraph in a row starts on the same
   baseline, whether or not that card's heading wraps. Four-up grids are where
   columns get narrow enough for headings to wrap inconsistently. */
@media (min-width: 781px) {
  .card--compact h3,
  .grid-4 > .card h3 { min-height: 2.4em; }
}

/* Featured card variant */
.card--featured {
  background: linear-gradient(160deg, var(--brand-darker), var(--brand) 55%, var(--accent));
  border-color: transparent;
  color: #e8f0ff;
}
.card--featured h3, .card--featured strong { color: #fff; }
.card--featured p, .card--featured .card__list li { color: rgba(255, 255, 255, .82); }
.card--featured .card__icon { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); color: #fff; }
.card--featured .card__list li::before { background: #fff; }
.card--featured .card__foot { border-top-color: rgba(255, 255, 255, .22); }
.card--featured a { color: #fff; }

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .76rem;
  font-weight: 650;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.chip--brand { background: var(--brand-tint); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 22%, transparent); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }

/* Priority chips — theme-aware so they read in light and dark */
.chip--p1 { background: color-mix(in srgb, var(--danger) 12%, var(--surface)); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 32%, transparent); }
.chip--p2 { background: color-mix(in srgb, var(--warning) 13%, var(--surface)); color: var(--warning); border-color: color-mix(in srgb, var(--warning) 32%, transparent); }
.chip--p3 { background: var(--brand-tint); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, transparent); }

/* --------------------------------------------------------------------------
   9b. Data table (SLA matrix)
   -------------------------------------------------------------------------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 580px; font-size: .93rem; }
.table th {
  text-align: left;
  padding: 14px 20px;
  font-size: .78rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.table tr:last-child td { border-bottom: 0; }
.table th:first-child, .table td:first-child { padding-left: 28px; }
.table th:last-child, .table td:last-child { padding-right: 28px; }
.table td.muted { color: var(--text-muted); }

/* --------------------------------------------------------------------------
   10. Stats / trust bar
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 30px 24px; text-align: center; }
.stat__num {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -.035em;
  line-height: 1;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label { font-size: .87rem; color: var(--text-muted); margin-top: 8px; font-weight: 550; }

/* Logo / tech marquee */
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  gap: 46px;
  width: max-content;
  animation: scroll 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 650;
  font-size: .96rem;
  color: var(--text-muted);
  white-space: nowrap;
  padding: 10px 0;
}
.marquee__item svg { width: 20px; height: 20px; color: var(--brand); opacity: .8; }

/* --------------------------------------------------------------------------
   11. Split feature (image/visual + text)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.feature-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 20px; }
.feature-list li { display: flex; gap: 15px; margin: 0; }
.feature-list .ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 11px;
  display: grid;
  place-items: center;
  background: var(--brand-tint);
  color: var(--brand);
  border: 1px solid color-mix(in srgb, var(--brand) 15%, transparent);
}
.feature-list .ico svg { width: 19px; height: 19px; }
.feature-list b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.feature-list span { color: var(--text-muted); font-size: .93rem; }

/* Decorative panel used in place of photography */
.panel {
  border-radius: var(--r-xl);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  display: grid;
  gap: 14px;
}
.panel__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.panel__row .ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  flex-shrink: 0;
}
.panel__row .ico svg { width: 19px; height: 19px; }
.panel__row b { display: block; font-size: .93rem; color: var(--ink); }
.panel__row small { color: var(--text-muted); font-size: .81rem; }
.panel__row .pill-ok { margin-left: auto; }

/* Terminal-style code block */
.terminal {
  background: #0b1220;
  border: 1px solid #1e293b;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-mono);
  font-size: .84rem;
}
.terminal__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: #111a2e;
  border-bottom: 1px solid #1e293b;
}
.terminal__bar i { width: 10px; height: 10px; border-radius: 50%; }
.terminal__bar i:nth-child(1) { background: #f87171; }
.terminal__bar i:nth-child(2) { background: #fbbf24; }
.terminal__bar i:nth-child(3) { background: #34d399; }
.terminal__bar em { margin-left: auto; font-style: normal; color: #64748b; font-size: .76rem; }
.terminal__body { padding: 18px; color: #cbd5e1; line-height: 1.85; overflow-x: auto; }
.terminal__body .c-key { color: #7dd3fc; }
.terminal__body .c-str { color: #86efac; }
.terminal__body .c-dim { color: #64748b; }
.terminal__body .c-warn { color: #fbbf24; }
.terminal__body .c-ok { color: #34d399; }

/* --------------------------------------------------------------------------
   12. Process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; padding-top: 8px; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 34px;
  left: 62px;
  right: -26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--border) 0 7px, transparent 7px 14px);
}
.step h3 { font-size: 1.08rem; margin-bottom: .4em; }
.step p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. Tabs
   -------------------------------------------------------------------------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 620;
  cursor: pointer;
  transition: all var(--t-fast);
}
.tab:hover { border-color: var(--brand); color: var(--brand); }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.tab-panel[hidden] { display: none; }

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform var(--t), box-shadow var(--t);
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.quote__stars { display: flex; gap: 3px; color: #f59e0b; }
.quote__stars svg { width: 17px; height: 17px; }
.quote p { color: var(--text); font-size: .97rem; margin: 0; flex: 1; }
.quote__author { display: flex; align-items: center; gap: 13px; padding-top: 16px; border-top: 1px solid var(--border); }
.quote__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  flex-shrink: 0;
}
.quote__author b { display: block; font-size: .93rem; color: var(--ink); }
.quote__author small { color: var(--text-muted); font-size: .82rem; }

/* --------------------------------------------------------------------------
   15. Accordion / FAQ
   -------------------------------------------------------------------------- */
.accordion { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.acc-item + .acc-item { border-top: 1px solid var(--border); }
.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  background: none;
  border: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 640;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.acc-head:hover { background: var(--surface-2); color: var(--brand); }
.acc-head svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand); transition: transform var(--t); }
.acc-head[aria-expanded="true"] svg { transform: rotate(45deg); }
.acc-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t);
}
.acc-body > div { overflow: hidden; }
.acc-item.is-open .acc-body { grid-template-rows: 1fr; }
.acc-body p { padding: 0 24px 22px; color: var(--text-muted); font-size: .95rem; margin: 0; }

/* --------------------------------------------------------------------------
   16. CTA band
   -------------------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--brand-darker), var(--brand) 48%, var(--accent));
  color: #fff;
  border-radius: var(--r-xl);
  padding: 56px;
  text-align: center;
}
.cta::before, .cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  pointer-events: none;
}
.cta::before { width: 340px; height: 340px; top: -140px; right: -80px; }
.cta::after { width: 250px; height: 250px; bottom: -130px; left: -60px; }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .9); max-width: 620px; margin-inline: auto; font-size: 1.05rem; }
.cta .btn-row { justify-content: center; margin-top: 28px; }
.cta__contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: .94rem;
}
.cta__contacts a { color: #fff; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.cta__contacts a:hover { color: #fff; text-decoration: underline; }
.cta__contacts svg { width: 17px; height: 17px; }

/* --------------------------------------------------------------------------
   17. Forms
   -------------------------------------------------------------------------- */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 640; color: var(--ink); }
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: var(--r-md);
  border: 1.5px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  font-size: .95rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--text-muted) 75%, transparent); }
.field .hint { font-size: .79rem; color: var(--text-muted); }
.field .error { font-size: .79rem; color: var(--danger); font-weight: 600; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }

.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: .87rem; color: var(--text-muted); }
.checkbox input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--brand); flex-shrink: 0; }

.form-note {
  margin-top: 16px;
  font-size: .82rem;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.form-note svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--brand); }

.form-status {
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: var(--r-md);
  font-size: .92rem;
  display: none;
  gap: 11px;
  align-items: flex-start;
}
.form-status.is-visible { display: flex; }
.form-status svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 2px; }
.form-status--ok { background: var(--success-tint); color: var(--success); border: 1px solid color-mix(in srgb, var(--success) 28%, transparent); }
.form-status--err { background: color-mix(in srgb, var(--danger) 8%, transparent); color: var(--danger); border: 1px solid color-mix(in srgb, var(--danger) 28%, transparent); }
.form-status b { color: inherit; }

/* Contact info tiles */
.contact-tile {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color var(--t), transform var(--t);
}
.contact-tile:hover { border-color: var(--brand); transform: translateY(-3px); }
.contact-tile .ico {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
}
.contact-tile .ico svg { width: 21px; height: 21px; }
.contact-tile h3 { font-size: 1rem; margin-bottom: .25em; }
.contact-tile a { font-weight: 650; font-size: 1.02rem; word-break: break-word; }
.contact-tile small { display: block; color: var(--text-muted); font-size: .84rem; margin-top: 4px; }

/* --------------------------------------------------------------------------
   18. Pricing / engagement models
   -------------------------------------------------------------------------- */
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--best { border-color: var(--brand); box-shadow: var(--shadow-brand); }
.price-card__flag {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  white-space: nowrap;
}
.price-card h3 { margin-bottom: .3em; }
.price-card .price-tag { font-size: 1.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.price-card .price-tag span { font-size: .88rem; font-weight: 550; color: var(--text-muted); letter-spacing: 0; }
.price-card > p { color: var(--text-muted); font-size: .93rem; }
.price-list { list-style: none; padding: 0; margin: 20px 0 26px; flex: 1; }
.price-list li {
  display: flex;
  gap: 10px;
  font-size: .91rem;
  color: var(--text);
  margin-bottom: .6rem;
}
.price-list svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 3px; color: var(--success); }

/* --------------------------------------------------------------------------
   19. Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: #a7b4c8;
  padding-block: 66px 0;
  font-size: .93rem;
}
[data-theme="dark"] .footer { background: #05090f; border-top: 1px solid var(--border); }
.footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer a { color: #a7b4c8; }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 46px;
}
.footer__about p { max-width: 330px; margin-bottom: 20px; }
.footer .logo__name { color: #fff; }
.footer .logo__tag { color: #7c8ba4; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: .6rem; }

.footer__contact li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 1rem; }
.footer__contact svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px; color: var(--accent); }
.footer__contact b { display: block; color: #fff; font-weight: 600; }
.footer__contact small { color: #7c8ba4; font-size: .82rem; }

.socials { display: flex; gap: 10px; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.socials a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-block: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .87rem;
  color: #7c8ba4;
}
.footer__bottom ul { display: flex; gap: 22px; }
.footer__bottom ul li { margin: 0; }

/* --------------------------------------------------------------------------
   20. Floating WhatsApp enquiry button
   -------------------------------------------------------------------------- */
.wa-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #fff;
  box-shadow: 0 10px 26px -6px rgba(37, 211, 102, .55);
  transition: transform var(--t), box-shadow var(--t);
}
.wa-fab:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 16px 32px -8px rgba(37, 211, 102, .7); }
.wa-fab svg { width: 31px; height: 31px; position: relative; z-index: 1; }

/* Expanding ring — draws the eye without being a popup */
.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: wa-ping 2.6s cubic-bezier(0, 0, .2, 1) infinite;
}
@keyframes wa-ping {
  0%   { transform: scale(1);   opacity: .5; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

.wa-fab__label {
  position: absolute;
  right: calc(100% + 12px);
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-size: .82rem;
  font-weight: 650;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  transition: opacity var(--t), transform var(--t);
  pointer-events: none;
}
[data-theme="dark"] .wa-fab__label { background: var(--surface-3); }
.wa-fab:hover .wa-fab__label,
.wa-fab:focus-visible .wa-fab__label { opacity: 1; transform: none; }

/* Inline WhatsApp button (contact tiles, CTA rows) */
.btn--whatsapp { background: #25d366; color: #fff; border-color: transparent; box-shadow: 0 8px 22px -8px rgba(37, 211, 102, .6); }
.btn--whatsapp:hover { background: #1eb955; color: #fff; }

/* --------------------------------------------------------------------------
   21. Back to top — sits above the WhatsApp button so the two never overlap
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 27px;
  bottom: 90px;
  z-index: 90;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-darker));
  color: #fff;
  cursor: pointer;
  box-shadow: var(--shadow-brand);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--t), transform var(--t), visibility var(--t);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }

/* --------------------------------------------------------------------------
   22. Scroll reveal
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   22. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root { --section-y: 68px; }

  .hero__grid { grid-template-columns: 1fr; gap: 60px; }
  .hero__card { transform: none; }
  .hero__badge { left: auto; right: 14px; bottom: -20px; }
  .split { grid-template-columns: 1fr; gap: 42px; }
  .split--reverse .split__media { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 34px 26px; }
  .step:nth-child(2)::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 900px) {
  .hide-sm { display: none; }

  .nav__burger {
    display: inline-grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--ink);
    cursor: pointer;
  }

  .nav__menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(340px, 88vw);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 92px 20px 30px;
    background: var(--surface);
    border-left: 1px solid var(--border);
    box-shadow: -18px 0 44px rgba(11, 18, 32, .16);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform var(--t);
    z-index: 99;
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__link { padding: 13px 14px; font-size: 1rem; justify-content: space-between; }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--brand-tint); }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--border);
    border-radius: 0;
    margin: 2px 0 8px 14px;
    padding: 0 0 0 6px;
    min-width: 0;
    display: none;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown.is-open .nav__caret { transform: rotate(180deg); }
  .dropdown__icon { display: none; }
  .dropdown a { padding: 9px 10px; }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 13, 24, .5);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t), visibility var(--t);
    z-index: 98;
  }
  .nav-overlay.is-open { opacity: 1; visibility: visible; }

  body.nav-locked { overflow: hidden; }
}

@media (max-width: 780px) {
  body { font-size: 16px; }
  :root { --gutter: 18px; --section-y: 58px; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step::after { display: none !important; }
  .form-grid { grid-template-columns: 1fr; }
  .cta { padding: 40px 24px; }
  .form-card { padding: 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .topbar__inner { justify-content: center; }
  .topbar__note { display: none; }
  .hero { padding-block: 56px 70px; }
  .hero__badge { display: none; }

  .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .wa-fab svg { width: 28px; height: 28px; }
  .wa-fab__label { display: none; }        /* no hover state on touch */
  .to-top { width: 42px; height: 42px; right: 21px; bottom: 78px; }
  .to-top svg { width: 18px; height: 18px; }
  .btn-row .btn { flex: 1 1 100%; }
  .card { padding: 24px; }
  .section-head { margin-bottom: 36px; }
}

@media (max-width: 420px) {
  .topbar__contacts { gap: 14px; font-size: .8rem; }
  .logo__mark { width: 38px; height: 38px; }
  .logo__name { font-size: 1.1rem; }
}

/* --------------------------------------------------------------------------
   23. Motion + print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .topbar, .header, .to-top, .cta, .footer__bottom { display: none; }
  body { color: #000; background: #fff; }
  .card, .panel { break-inside: avoid; border-color: #ccc; }
}
