/* ============================================================
   DevNex Infotech — Design System
   Premium / enterprise IT company site
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font: inherit; color: inherit; }

/* ============================================================
   THEMES  (rich, premium, no neon)
   default = Midnight Gold
   ============================================================ */
/* All palettes: WHITE background, one rich SOLID accent, no gradients */
:root,
[data-theme="royal"] {
  --bg:        #ffffff;
  --bg-2:      #f5f6f9;
  --surface:   #ffffff;
  --surface-2: #f3f5f9;
  --line:      #e3e7ef;
  --text:      #14161d;
  --muted:     #59626f;
  --brand:     #1d4ed8;
  --brand-2:   #1d4ed8;
  --brand-ink: #ffffff;
  --glow:      rgba(29,78,216,.18);
  --grad:      #1d4ed8;
}
[data-theme="emerald"] {
  --bg:        #ffffff;
  --bg-2:      #f4f8f5;
  --surface:   #ffffff;
  --surface-2: #f1f6f2;
  --line:      #e1e9e3;
  --text:      #14181a;
  --muted:     #566a60;
  --brand:     #047857;
  --brand-2:   #047857;
  --brand-ink: #ffffff;
  --glow:      rgba(4,120,87,.18);
  --grad:      #047857;
}
[data-theme="crimson"] {
  --bg:        #ffffff;
  --bg-2:      #faf5f6;
  --surface:   #ffffff;
  --surface-2: #f8f2f3;
  --line:      #ecdfe1;
  --text:      #1a1416;
  --muted:     #6e5a5e;
  --brand:     #be123c;
  --brand-2:   #be123c;
  --brand-ink: #ffffff;
  --glow:      rgba(190,18,60,.16);
  --grad:      #be123c;
}
[data-theme="violet"] {
  --bg:        #ffffff;
  --bg-2:      #f7f5fb;
  --surface:   #ffffff;
  --surface-2: #f5f2fb;
  --line:      #e7e2f0;
  --text:      #16141d;
  --muted:     #615a72;
  --brand:     #6d28d9;
  --brand-2:   #6d28d9;
  --brand-ink: #ffffff;
  --glow:      rgba(109,40,217,.16);
  --grad:      #6d28d9;
}
[data-theme="bronze"] {
  --bg:        #ffffff;
  --bg-2:      #f9f6f2;
  --surface:   #ffffff;
  --surface-2: #f7f3ed;
  --line:      #ebe3d8;
  --text:      #1a1712;
  --muted:     #6b6253;
  --brand:     #b45309;
  --brand-2:   #b45309;
  --brand-ink: #ffffff;
  --glow:      rgba(180,83,9,.16);
  --grad:      #b45309;
}

/* ---------- Fonts (switchable) ---------- */
:root {
  --font-head: "Space Grotesk";
  --font-body: "Manrope";
}
[data-font="geometric"] { --font-head: "Outfit"; --font-body: "Plus Jakarta Sans"; }
[data-font="editorial"] { --font-head: "DM Serif Display"; --font-body: "Manrope"; }
[data-font="corporate"] { --font-head: "Plus Jakarta Sans"; --font-body: "Plus Jakarta Sans"; }
[data-font="bold"]      { --font-head: "Sora"; --font-body: "Work Sans"; }

/* ---------- Base ---------- */
body {
  font-family: var(--font-body), system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
  transition: background .5s ease, color .5s ease;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head), system-ui, sans-serif;
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.02em;
}
::selection { background: var(--brand); color: var(--brand-ink); }

/* ---------- Layout ---------- */
.container { width: min(1240px, 92vw); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 90px) 0; }
.bg-2 { background: var(--bg-2); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head), sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}
.eyebrow--center { justify-content: center; }

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-title {
  font-size: clamp(30px, 4vw, 50px); font-weight: 700;
  letter-spacing: -0.025em;
}
.section-title .hl {
  background: var(--grad); -webkit-background-clip: text;
  background-clip: text; color: transparent;
}
.section-sub { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px;
  font-family: var(--font-head), sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: .01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--grad); color: var(--brand-ink);
  box-shadow: 0 10px 30px -8px var(--glow);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -10px var(--glow); }
.btn--ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.btn--light { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn--light:hover { transform: translateY(-3px); border-color: var(--brand); }
.btn .arrow { transition: transform .25s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   HEADER / NAV  (injected)
   ============================================================ */
.topbar {
  background: var(--bg-2); border-bottom: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; }
.topbar a { transition: color .2s; }
.topbar a:hover { color: var(--brand); }
.topbar .tb-left { display: flex; gap: 26px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; color: var(--brand); }
.topbar .soc { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 8px; display: grid; place-items: center; transition: all .25s; }
.topbar .soc:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.topbar .soc svg { width: 14px; height: 14px; color: currentColor; }

.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.nav.scrolled {
  border-color: var(--line);
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  box-shadow: 0 10px 40px -20px rgba(20,22,40,.08);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 90px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--grad); display: grid; place-items: center;
  color: var(--brand-ink); font-family: var(--font-head); font-weight: 700;
  font-size: 20px; box-shadow: 0 8px 22px -8px var(--glow);
  position: relative; overflow: hidden;
}
.brand-mark::after { content: none; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -0.02em; }
.brand-name span { color: var(--brand); }
.brand-tag { display: block; font-family: var(--font-body); font-weight: 500; font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 1px; }
.brand-logo { height: 78px; width: auto; display: block; object-fit: contain; max-width: 240px; }
.brand-logo--footer { height: 90px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 9px 15px; border-radius: 9px;
  font-size: 15px; font-weight: 600; color: var(--muted);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-links a.active { color: var(--brand); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

.theme-toggle {
  width: 42px; height: 42px; border-radius: 11px; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--text); transition: all .25s;
  position: relative;
}
.theme-toggle:hover { border-color: var(--brand); color: var(--brand); }
.theme-toggle svg { width: 19px; height: 19px; }

.nav-burger { display: none; width: 44px; height: 44px; border-radius: 11px; border: 1px solid var(--line); }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; transition: .3s; }
.nav-burger.open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-burger.open span:nth-child(2){ opacity: 0; }
.nav-burger.open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* palette menu */
.palette-menu {
  position: absolute; top: 54px; right: 0; width: 232px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px; box-shadow: 0 30px 70px -20px rgba(20,22,40,.10);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s; z-index: 200;
}
.palette-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.palette-menu h5 { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-family: var(--font-head); }
.swatch-row { display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 11px; cursor: pointer; transition: background .2s; }
.swatch-row:hover { background: var(--surface-2); }
.swatch-row.active { background: var(--surface-2); }
.swatch-dots { display: flex; }
.swatch-dots i { width: 18px; height: 18px; border-radius: 50%; display: block; margin-left: -6px; border: 2px solid var(--line); }
.swatch-row span { font-size: 14px; font-weight: 600; }
.swatch-row .chk { margin-left: auto; color: var(--brand); opacity: 0; }
.swatch-row.active .chk { opacity: 1; }
.font-prev { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-size: 16px; font-weight: 700; color: var(--brand); }
.font-row span small { font-weight: 500 !important; }

.mobile-drawer {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 300;
  background: var(--bg-2); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.8,.2,1);
  padding: 90px 26px 30px; display: flex; flex-direction: column; gap: 6px;
  overflow-y: auto;
}
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer a { padding: 14px 16px; border-radius: 11px; font-weight: 600; font-size: 17px; color: var(--text); transition: background .2s; }
.mobile-drawer a:hover, .mobile-drawer a.active { background: var(--surface); color: var(--brand); }
.scrim { position: fixed; inset: 0; background: rgba(15,18,30,.4); z-index: 250; opacity: 0; visibility: hidden; transition: .3s; backdrop-filter: blur(2px); }
.scrim.open { opacity: 1; visibility: visible; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; padding: clamp(70px,8vw,120px) 0 clamp(80px,9vw,130px); }
.hero-orb { display: none; }
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(color-mix(in srgb,var(--line) 60%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb,var(--line) 60%, transparent) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 9px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--surface);
  font-size: 13.5px; color: var(--muted); margin-bottom: 26px;
}
.hero-badge b { color: var(--text); font-weight: 600; }
.hero-badge .pill { background: var(--grad); color: var(--brand-ink); font-weight: 700; font-size: 11px; padding: 3px 9px; border-radius: 100px; font-family: var(--font-head); }
.hero h1 { font-size: clamp(38px, 5.4vw, 70px); font-weight: 700; letter-spacing: -0.03em; }
.hero h1 .hl { position: relative; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: var(--muted); font-size: clamp(17px,1.4vw,20px); max-width: 540px; margin: 26px 0 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 44px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.hero-trust .avatars { display: flex; }
.hero-trust .avatars i { width: 38px; height: 38px; border-radius: 50%; margin-left: -12px; border: 2px solid var(--bg); background: var(--surface-2); display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--brand); font-family: var(--font-head); }
.hero-stars { color: var(--brand); letter-spacing: 2px; }

/* hero visual */
.hero-visual { position: relative; aspect-ratio: 1/1.02; }
.hv-card {
  position: absolute; border-radius: 18px; background: var(--surface);
  border: 1px solid var(--line); box-shadow: 0 30px 70px -30px rgba(20,22,40,.10);
}
.hv-main { inset: 6% 4% 18% 8%; padding: 22px; display: flex; flex-direction: column; overflow: hidden; }
.hv-toolbar { display: flex; gap: 7px; margin-bottom: 18px; }
.hv-toolbar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.hv-toolbar i:first-child { background: var(--brand); }
.code-line { height: 9px; border-radius: 4px; background: var(--surface-2); margin-bottom: 13px; }
.code-line.b { background: color-mix(in srgb, var(--brand) 55%, var(--surface-2)); }
.hv-ring { position: absolute; right: -2%; bottom: 8%; width: 46%; aspect-ratio: 1; border-radius: 18px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 24px 60px -18px var(--glow); animation: float 6s ease-in-out infinite; }
.hv-ring svg { width: 46%; height: 46%; color: var(--brand-ink); }
.hv-stat { position: absolute; left: -3%; bottom: 20%; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; box-shadow: 0 20px 50px -22px rgba(20,22,40,.10); animation: float 7s ease-in-out infinite .6s; }
.hv-stat .n { font-family: var(--font-head); font-weight: 700; font-size: 26px; color: var(--text); }
.hv-stat .l { font-size: 12px; color: var(--muted); }
.hv-stat .n .hl { color: var(--brand); }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-14px); } }

/* ---------- marquee / logos ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 64px; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--font-head); font-weight: 600; font-size: 22px; color: var(--muted); opacity: .65; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.marquee-item svg { width: 22px; height: 22px; color: var(--brand); }
@keyframes scroll-x { to { transform: translateX(calc(-50% - 32px)); } }

/* ============================================================
   STATS
   ============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.stat-card { padding: 34px 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); position: relative; overflow: hidden; }
.stat-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .5s; }
.stat-card:hover::before { transform: scaleX(1); }
.stat-num { font-family: var(--font-head); font-weight: 700; font-size: clamp(38px,4vw,52px); letter-spacing: -0.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); margin-top: 6px; font-size: 15px; }

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.cards-grid.cols-2 { grid-template-columns: repeat(2,1fr); }
.svc-card {
  padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .35s, box-shadow .35s;
}
.svc-card::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb,var(--brand) 5%, transparent); opacity: 0; transition: opacity .4s; pointer-events: none; }
.svc-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb,var(--brand) 50%, var(--line)); box-shadow: 0 30px 60px -30px rgba(20,22,40,.08); }
.svc-card:hover::after { opacity: 1; }
.svc-icon { width: 58px; height: 58px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--brand); margin-bottom: 22px; transition: all .35s; position: relative; z-index: 1; }
.svc-card:hover .svc-icon { background: var(--grad); color: var(--brand-ink); border-color: transparent; transform: rotate(-6deg) scale(1.06); }
.svc-icon svg { width: 28px; height: 28px; }
.svc-card h3 { font-size: 21px; margin-bottom: 11px; position: relative; z-index: 1; }
.svc-card p { color: var(--muted); font-size: 15.5px; position: relative; z-index: 1; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; position: relative; z-index: 1; }
.svc-tags span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 100px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.svc-more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: var(--brand); font-weight: 700; font-size: 14px; font-family: var(--font-head); position: relative; z-index: 1; }
.svc-more svg { width: 16px; height: 16px; transition: transform .25s; }
.svc-card:hover .svc-more svg { transform: translateX(4px); }

/* ============================================================
   FEATURE / WHY US
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 14px; margin-top: 30px; }
.feature-item { display: flex; gap: 16px; padding: 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.feature-item:hover { border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); transform: translateX(6px); }
.feature-item .fi-ic { flex: 0 0 44px; height: 44px; border-radius: 11px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); }
.feature-item .fi-ic svg { width: 22px; height: 22px; }
.feature-item h4 { font-size: 17px; margin-bottom: 4px; }
.feature-item p { color: var(--muted); font-size: 14.5px; }

.visual-panel { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4/3.4; border: 1px solid var(--line); background: var(--surface); }

/* ---------- placeholder (for real photos) ---------- */
.ph {
  position: relative; background: var(--surface-2);
  display: grid; place-items: center; color: var(--muted); overflow: hidden;
}
.ph::after { content: none; }
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.ph-label { position: relative; z-index: 1; font-family: var(--font-head), monospace; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; padding: 7px 14px; border: 1px dashed var(--line); border-radius: 100px; background: color-mix(in srgb,var(--bg) 60%, transparent); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.proc-step { padding: 0 26px; position: relative; }
.proc-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; right: -16px; width: 32px; height: 2px; background: var(--line); }
.proc-num { width: 58px; height: 58px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--brand); margin-bottom: 22px; transition: .35s; }
.proc-step:hover .proc-num { background: var(--grad); color: var(--brand-ink); border-color: transparent; transform: translateY(-4px); }
.proc-step h4 { font-size: 19px; margin-bottom: 9px; }
.proc-step p { color: var(--muted); font-size: 14.5px; }

/* ============================================================
   TECH STACK
   ============================================================ */
.tech-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 16px; }
.tech-chip { aspect-ratio: 1.15/1; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; transition: .3s; }
.tech-chip:hover { transform: translateY(-6px); border-color: color-mix(in srgb,var(--brand) 50%, var(--line)); background: var(--surface-2); }
.tech-chip svg { width: 34px; height: 34px; color: var(--brand); transition: transform .3s; }
.tech-chip:hover svg { transform: scale(1.12); }
.tech-chip span { font-size: 13px; font-weight: 600; color: var(--muted); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.work-card { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: .35s; position: relative; }
.work-card:hover { transform: translateY(-8px); border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); box-shadow: 0 36px 70px -34px rgba(20,22,40,.09); }
.work-thumb { aspect-ratio: 16/10; position: relative; }
.work-cat { position: absolute; top: 16px; left: 16px; z-index: 2; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 100px; background: color-mix(in srgb,var(--bg) 70%, transparent); backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--brand); }
.work-body { padding: 26px 28px 30px; }
.work-body h3 { font-size: 22px; margin-bottom: 9px; }
.work-body p { color: var(--muted); font-size: 15px; }
.work-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.work-meta span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.work-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--brand); font-weight: 700; font-family: var(--font-head); font-size: 14px; }
.work-link svg { width: 16px; height: 16px; transition: transform .25s; }
.work-card:hover .work-link svg { transform: translate(3px,-3px); }

/* filters */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { padding: 9px 18px; border-radius: 100px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-weight: 600; font-size: 14px; transition: .25s; }
.filter-btn:hover { color: var(--text); border-color: var(--brand); }
.filter-btn.active { background: var(--grad); color: var(--brand-ink); border-color: transparent; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card { padding: 32px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 20px; transition: .3s; }
.testi-card:hover { border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); transform: translateY(-6px); }
.testi-stars { color: var(--brand); letter-spacing: 2px; font-size: 15px; }
.testi-quote { font-size: 16.5px; line-height: 1.7; color: var(--text); }
.testi-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--brand); }
.testi-foot .nm { font-weight: 700; font-size: 15px; font-family: var(--font-head); }
.testi-foot .rl { color: var(--muted); font-size: 13px; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { position: relative; border-radius: 28px; overflow: hidden; padding: clamp(48px,6vw,80px); background: var(--surface); border: 1px solid var(--line); }
.cta-band { background: var(--surface-2); }
.cta-band .orb { display: none; }
.cta-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(28px,3.4vw,44px); font-weight: 700; max-width: 640px; }
.cta-inner p { color: var(--muted); margin-top: 14px; font-size: 18px; max-width: 520px; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: .3s; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-7px); border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); box-shadow: 0 30px 60px -32px rgba(20,22,40,.08); }
.blog-thumb { aspect-ratio: 16/9; position: relative; }
.blog-body { padding: 24px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.blog-meta { display: flex; gap: 12px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 13px; }
.blog-tag { color: var(--brand); font-weight: 700; }
.blog-card h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.25; }
.blog-card p { color: var(--muted); font-size: 14.5px; }
.blog-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.blog-author { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; }
.blog-author .a-ava { width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 12px; color: var(--brand); font-weight: 700; }
.blog-read { color: var(--brand); font-size: 13px; font-weight: 700; font-family: var(--font-head); }

/* featured blog */
.blog-featured { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); margin-bottom: 40px; }
.blog-featured .bf-thumb { position: relative; min-height: 340px; }
.blog-featured .bf-body { padding: clamp(30px,4vw,52px); display: flex; flex-direction: column; justify-content: center; }
.blog-featured .bf-body h2 { font-size: clamp(26px,2.6vw,36px); margin: 16px 0 16px; }
.blog-featured .bf-body p { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px,7vw,100px) 0 clamp(48px,5vw,72px); border-bottom: 1px solid var(--line); }
.page-hero .hero-orb.o1 { width: 460px; height: 460px; top: -200px; right: -100px; opacity: .18; }
.page-hero .container { position: relative; z-index: 2; }
.crumbs { display: flex; gap: 9px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.crumbs a:hover { color: var(--brand); }
.crumbs .sep { opacity: .5; }
.page-hero h1 { font-size: clamp(36px,5vw,62px); font-weight: 700; letter-spacing: -0.03em; max-width: 900px; }
.page-hero h1 .hl { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: var(--muted); font-size: clamp(17px,1.4vw,20px); max-width: 640px; margin-top: 22px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; align-items: stretch; }
.price-card { padding: 36px 32px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; position: relative; transition: .35s; }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 36px 70px -34px rgba(20,22,40,.08); }
.price-card.popular { border-color: var(--brand); background: var(--surface-2); }
.price-card.popular::before { content: "Most Popular"; position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--grad); color: var(--brand-ink); font-family: var(--font-head); font-weight: 700; font-size: 12px; padding: 6px 16px; border-radius: 100px; white-space: nowrap; }
.price-name { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.price-desc { color: var(--muted); font-size: 14.5px; margin: 8px 0 24px; }
.price-amt { display: flex; align-items: flex-end; gap: 6px; margin-bottom: 6px; }
.price-amt .cur { font-size: 22px; font-weight: 700; color: var(--muted); }
.price-amt .val { font-family: var(--font-head); font-weight: 700; font-size: 48px; letter-spacing: -0.03em; }
.price-amt .per { color: var(--muted); font-size: 15px; margin-bottom: 9px; }
.price-feats { display: flex; flex-direction: column; gap: 13px; margin: 26px 0 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.price-feats li { display: flex; gap: 11px; align-items: flex-start; font-size: 15px; color: var(--text); }
.price-feats li svg { flex: 0 0 19px; height: 19px; color: var(--brand); margin-top: 2px; }
.price-feats li.off { color: var(--muted); opacity: .6; }
.price-feats li.off svg { color: var(--muted); }
.price-card .btn { width: 100%; justify-content: center; margin-top: auto; }

/* ============================================================
   TEAM / VALUES (about)
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: .3s; }
.team-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); }
.team-photo { aspect-ratio: 1/1; position: relative; }
.team-info { padding: 20px 22px 24px; }
.team-info .nm { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.team-info .rl { color: var(--brand); font-size: 13.5px; font-weight: 600; margin-top: 3px; }
.team-socials { display: flex; gap: 8px; margin-top: 14px; }
.team-socials a { width: 32px; height: 32px; border-radius: 9px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.team-socials a:hover { border-color: var(--brand); color: var(--brand); }
.team-socials svg { width: 15px; height: 15px; }

.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { padding: 30px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.value-card:hover { border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); transform: translateY(-5px); }
.value-card .vc-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); margin-bottom: 20px; }
.value-card .vc-ic svg { width: 26px; height: 26px; }
.value-card h3 { font-size: 19px; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: 15px; }

/* ============================================================
   CAREERS
   ============================================================ */
.job-list { display: flex; flex-direction: column; gap: 16px; }
.job-card { display: flex; align-items: center; gap: 24px; padding: 26px 30px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: .3s; flex-wrap: wrap; }
.job-card:hover { transform: translateX(6px); border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); }
.job-main { flex: 1; min-width: 240px; }
.job-main h3 { font-size: 20px; margin-bottom: 6px; }
.job-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.job-tags span { font-size: 12.5px; font-weight: 600; padding: 5px 12px; border-radius: 100px; background: var(--surface-2); color: var(--muted); }
.perk-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.perk { padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.perk .p-ic { color: var(--brand); margin-bottom: 14px; } .perk .p-ic svg { width: 28px; height: 28px; }
.perk h4 { font-size: 17px; margin-bottom: 7px; }
.perk p { color: var(--muted); font-size: 14px; }

/* ============================================================
   CONTACT / FORMS
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 30px; }
.ci-card { display: flex; gap: 16px; padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); transition: .3s; }
.ci-card:hover { border-color: color-mix(in srgb,var(--brand) 40%, var(--line)); transform: translateX(5px); }
.ci-card .ci-ic { flex: 0 0 48px; height: 48px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); }
.ci-card .ci-ic svg { width: 22px; height: 22px; }
.ci-card .ci-l { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ci-card .ci-v { font-size: 16px; font-weight: 600; margin-top: 3px; word-break: break-word; }

.form-card { padding: clamp(28px,3.4vw,42px); border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; color: var(--text); font-family: var(--font-head); }
.field label .req { color: var(--brand); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--glow); }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb,var(--muted) 70%, transparent); }
.field.error input, .field.error textarea, .field.error select { border-color: #e5484d; }
.field .err-msg { color: #ff6b6e; font-size: 12.5px; margin-top: 6px; display: none; }
.field.error .err-msg { display: block; }
.form-note { color: var(--muted); font-size: 13px; margin-top: 8px; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: color-mix(in srgb,var(--brand) 14%, var(--surface)); border: 1px solid var(--brand); color: var(--text); font-size: 15px; margin-bottom: 20px; align-items: center; gap: 12px; }
.form-success.show { display: flex; }
.form-success svg { width: 22px; height: 22px; color: var(--brand); flex: 0 0 22px; }

.map-frame { border-radius: 22px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 21/8; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); overflow: hidden; transition: border-color .3s; }
.faq-item.open { border-color: color-mix(in srgb,var(--brand) 45%, var(--line)); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; font-family: var(--font-head); font-weight: 600; font-size: 17px; text-align: left; }
.faq-q .ic { flex: 0 0 26px; height: 26px; border-radius: 8px; background: var(--surface-2); display: grid; place-items: center; color: var(--brand); transition: .3s; }
.faq-item.open .faq-q .ic { background: var(--grad); color: var(--brand-ink); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a p { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; }

/* ============================================================
   ARTICLE / BLOG POST
   ============================================================ */
.article-wrap { width: min(820px, 92vw); margin-inline: auto; }
.article-hero { width: min(1080px, 92vw); margin: 0 auto clamp(36px,5vw,56px); }
.article-cover { aspect-ratio: 16/7; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); }
.article-head { width: min(820px, 92vw); margin: 0 auto clamp(28px,4vw,40px); }
.article-title { font-size: clamp(32px,4.4vw,52px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; margin: 18px 0 24px; }
.article-byline { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); }
.article-byline .ab-ava { width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; color: var(--brand); }
.article-byline .ab-nm { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.article-byline .ab-meta { color: var(--muted); font-size: 13.5px; }
.article-byline .ab-share { margin-left: auto; display: flex; gap: 8px; }
.article-byline .ab-share a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.article-byline .ab-share a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }
.article-byline .ab-share svg { width: 16px; height: 16px; }

.article-body { font-size: 18px; line-height: 1.8; color: var(--text); }
.article-body > p { margin-bottom: 26px; color: #2a2f3a; }
.article-body .lead-p { font-size: 21px; line-height: 1.65; color: var(--text); font-weight: 500; margin-bottom: 30px; }
.article-body h2 { font-size: clamp(26px,2.6vw,34px); font-weight: 700; margin: 46px 0 18px; letter-spacing: -0.02em; }
.article-body h3 { font-size: 22px; font-weight: 600; margin: 34px 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 26px 4px; display: flex; flex-direction: column; gap: 12px; }
.article-body li { position: relative; padding-left: 30px; color: #2a2f3a; }
.article-body ul li::before { content: ""; position: absolute; left: 6px; top: 12px; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); }
.article-body ol { counter-reset: ol; }
.article-body ol li { counter-increment: ol; }
.article-body ol li::before { content: counter(ol); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 7px; background: var(--surface-2); color: var(--brand); font-family: var(--font-head); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.article-body blockquote { margin: 34px 0; padding: 26px 30px; border-left: 4px solid var(--brand); background: var(--surface-2); border-radius: 0 14px 14px 0; font-family: var(--font-head); font-size: 22px; font-weight: 500; line-height: 1.5; color: var(--text); }
.article-body blockquote cite { display: block; margin-top: 14px; font-family: var(--font-body); font-size: 14px; font-style: normal; font-weight: 600; color: var(--muted); }
.article-body figure { margin: 34px 0; }
.article-body figure .ph { aspect-ratio: 16/9; border-radius: 16px; border: 1px solid var(--line); }
.article-body figcaption { text-align: center; color: var(--muted); font-size: 13.5px; margin-top: 12px; }
.article-body .callout { display: flex; gap: 16px; padding: 22px 24px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); margin: 30px 0; }
.article-body .callout .co-ic { flex: 0 0 26px; height: 26px; color: var(--brand); margin-top: 2px; }
.article-body .callout p { margin: 0; font-size: 16px; color: var(--text); }
.article-body .callout strong { font-family: var(--font-head); }
.article-body a.inline { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-tags { display: flex; gap: 10px; flex-wrap: wrap; margin: 44px 0; padding-top: 30px; border-top: 1px solid var(--line); }
.article-tags span { font-size: 13px; font-weight: 600; padding: 7px 15px; border-radius: 100px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.author-card { display: flex; gap: 20px; padding: 30px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.author-card .ac-ava { width: 66px; height: 66px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--brand); }
.author-card .ac-nm { font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.author-card .ac-rl { color: var(--brand); font-size: 13.5px; font-weight: 600; margin: 2px 0 8px; }
.author-card .ac-bio { color: var(--muted); font-size: 14.5px; flex: 1; min-width: 220px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); padding-top: 70px; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 50px; }
.footer-about p { color: var(--muted); font-size: 15px; margin: 20px 0 24px; max-width: 320px; }
.footer-soc { display: flex; gap: 10px; }
.footer-soc a { width: 40px; height: 40px; border-radius: 11px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: .25s; }
.footer-soc a:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-3px); }
.footer-soc svg { width: 17px; height: 17px; }
.foot-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.foot-contact a { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; transition: color .2s; }
.foot-contact a:hover { color: var(--brand); }
.foot-contact a svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--brand); }
.foot-contact a span { overflow-wrap: anywhere; }
.footer-col h5 { font-family: var(--font-head); font-size: 14px; letter-spacing: .04em; margin-bottom: 20px; text-transform: uppercase; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--muted); font-size: 15px; transition: .2s; display: inline-flex; align-items: center; gap: 8px; }
.footer-col a:hover { color: var(--brand); padding-left: 4px; }
.footer-news p { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.news-form { display: flex; gap: 10px; }
.news-form input { flex: 1; padding: 13px 15px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.news-form input:focus { outline: none; border-color: var(--brand); }
.news-form button { width: 48px; flex: 0 0 48px; border-radius: 11px; background: var(--grad); color: var(--brand-ink); display: grid; place-items: center; transition: .25s; }
.news-form button:hover { transform: translateY(-2px); }
.news-form button svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; gap: 14px; }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--brand); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

/* back to top */
.to-top { position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 13px; background: var(--grad); color: var(--brand-ink); display: grid; place-items: center; z-index: 90; box-shadow: 0 14px 34px -10px var(--glow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .3s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 20px; height: 20px; }

/* scroll progress */
.scroll-bar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: var(--grad); z-index: 400; transition: width .1s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 520px; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .cards-grid, .testi-grid, .blog-grid, .value-grid { grid-template-columns: repeat(2,1fr); }
  .tech-grid { grid-template-columns: repeat(4,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); gap: 36px 0; }
  .proc-step:not(:last-child)::after { display: none; }
  .team-grid, .perk-grid { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .blog-featured { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-burger { display: block; }
  .topbar .tb-left .tb-item.hide-sm { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats-grid, .cards-grid, .cards-grid.cols-2, .testi-grid, .blog-grid, .value-grid, .work-grid, .team-grid, .perk-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3,1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .topbar .tb-left { gap: 14px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

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