/* ==========================================================================
   HRIDAX TECHNOLOGIES — Premium corporate theme
   --------------------------------------------------------------------------
   Base:    hridax.in palette (light, navy, blue, orange)
   Polish:  editorial serif accents, layered shadows, ambient light,
            refined motion, premium component details.
   ========================================================================== */

:root {
  /* Brand */
  --brand-navy: #0b1b3d;
  --brand-navy-deep: #050d22;
  --brand-slate: #0f172a;

  --brand-blue: #2563eb;
  --brand-royal: #1d4ed8;
  --brand-blue-light: #3b82f6;

  --brand-orange: #f97316;
  --brand-orange-deep: #ea580c;
  --brand-amber: #f59e0b;
  --brand-green: #10b981;

  /* Semantic */
  --ink: #0b1b3d;
  --body: #334155;
  --muted: #64748b;
  --muted-dark: #94a3b8;

  --paper: #ffffff;
  --paper-2: #f8fafc;
  --paper-3: #f1f5f9;

  --line: #e2e8f0;
  --line-soft: #eef2f7;

  --radius: 22px;
  --radius-sm: 12px;

  --shadow-xs: 0 1px 2px rgba(11, 27, 61, 0.05);
  --shadow-sm: 0 2px 6px rgba(11, 27, 61, 0.06);
  --shadow: 0 30px 70px -30px rgba(11, 27, 61, 0.32), 0 2px 8px rgba(11, 27, 61, 0.05);
  --shadow-lg: 0 46px 100px -38px rgba(11, 27, 61, 0.38), 0 4px 14px rgba(11, 27, 61, 0.06);
  --shadow-blue: 0 16px 44px -16px rgba(37, 99, 235, 0.45);
  --shadow-orange: 0 18px 48px -16px rgba(249, 115, 22, 0.5);

  --grad-blue: linear-gradient(120deg, #2563eb, #7c9eff);
  --grad-cta: linear-gradient(135deg, #fb923c 0%, #f97316 55%, #ea580c 120%);
  --grad-line: linear-gradient(90deg, var(--brand-blue), var(--brand-orange));

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 130px; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background:
    radial-gradient(1000px 560px at 10% -6%, rgba(37, 99, 235, 0.06), transparent 62%),
    radial-gradient(860px 540px at 104% 4%, rgba(249, 115, 22, 0.05), transparent 60%),
    var(--paper-2);
  background-attachment: fixed;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: var(--brand-blue); color: #fff; }
:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1200px, 92%); margin-inline: auto; }

/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--ink); }

em.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: 0;
  color: var(--brand-blue);
  white-space: nowrap;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-blue); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-line); border-radius: 2px; }
.eyebrow.centered::after { content: ""; width: 28px; height: 2px; background: var(--grad-line); border-radius: 2px; }

.section-title { font-size: clamp(28px, 4vw, 44px); margin-bottom: 16px; font-weight: 800; }
.section-lead { color: var(--muted); font-size: 17px; max-width: 720px; margin-inline: auto; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin: 0 0 46px; }
.section-head.left .section-lead { margin-inline: 0; }

.text-gold { color: var(--brand-blue); }
.text-white { color: #fff; }
.text-muted { color: var(--muted); }

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
section { padding: 112px 0; position: relative; }

.dark { background: var(--paper-2); }
.deep { background: var(--paper-2); }
.light { background: var(--paper); }
.navy { background: var(--brand-navy); }

.grid-bg {
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
}
.navy .grid-bg { background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); }

/* --------------------------------------------------------------------------
   BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  letter-spacing: 0.01em; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease, color 0.24s ease, border-color 0.24s ease;
  white-space: nowrap; position: relative; overflow: hidden;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-gold {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 24px 56px -14px rgba(249, 115, 22, 0.62); }

.btn-ghost { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand-blue); color: var(--brand-blue); transform: translateY(-3px); box-shadow: var(--shadow-blue); }

.btn-outline-dark { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,0.6); }
.btn-outline-dark:hover { background: var(--brand-navy); color: #fff; transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-navy { background: var(--brand-slate); color: #fff; box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--brand-navy); transform: translateY(-3px); box-shadow: var(--shadow); }

.btn-gold::after, .btn-navy::after, .btn-ghost::after {
  content: ""; position: absolute; top: 0; left: -140%; width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg); transition: left 0.65s ease;
}
.btn-gold:hover::after, .btn-navy:hover::after, .btn-ghost:hover::after { left: 150%; }

.btn-lg { padding: 17px 40px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13.5px; }

/* --------------------------------------------------------------------------
   HEADER — floating glass pill
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: transparent; padding-top: 10px;
  transition: background 0.3s ease;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: 1240px; margin-inline: auto; width: 96%;
  background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(226, 232, 240, 0.9); border-radius: 18px;
  padding: 10px 22px; box-shadow: var(--shadow-xs);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled .header-inner { box-shadow: 0 18px 46px -20px rgba(11, 27, 61, 0.32); background: rgba(255, 255, 255, 0.96); }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; border-radius: 12px; box-shadow: var(--shadow-sm); background: #fff; padding: 2px; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 18px; letter-spacing: 0.08em; color: var(--brand-navy); line-height: 1; }
.brand-name small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: 0.38em; color: var(--brand-blue); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a:not(.btn) {
  font-size: 14.5px; font-weight: 600; color: #475569; position: relative; padding: 6px 0; transition: color 0.2s;
}
.main-nav a:not(.btn):hover { color: var(--brand-blue); }
.main-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad-line); border-radius: 2px; transition: width 0.25s ease;
}
.main-nav a:not(.btn):hover::after,
.main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--brand-blue); }
.main-nav .btn-nav { padding: 11px 22px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--brand-navy); margin: 3px auto; border-radius: 2px; transition: 0.25s; }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero { padding: 200px 0 118px; overflow: hidden; background: linear-gradient(180deg, #ffffff 0%, #eef4fb 130%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(680px 440px at 84% 8%, rgba(37, 99, 235, 0.1), transparent 62%),
    radial-gradient(760px 560px at 4% 96%, rgba(249, 115, 22, 0.08), transparent 60%);
}

.hero-grid { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 40px; align-items: center; position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid rgba(37, 99, 235, 0.24); background: rgba(255, 255, 255, 0.9);
  color: var(--brand-blue); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 28px;
  box-shadow: 0 10px 30px -16px rgba(37, 99, 235, 0.35);
}
.hero-eyebrow svg { color: var(--brand-orange); }

.hero h1 { font-size: clamp(34px, 4.6vw, 58px); color: var(--brand-navy); margin-bottom: 24px; font-weight: 800; letter-spacing: -0.03em; }
.hero h1 .gold { color: var(--brand-blue); }
.hero p.lead { color: var(--muted); font-size: 18px; max-width: 560px; margin-bottom: 38px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 28px; }

.hero-note { font-size: 13.5px; color: var(--muted); display: flex; align-items: center; gap: 9px; font-weight: 500; }
.hero-note svg { width: 16px; height: 16px; color: var(--brand-green); }

.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .avs { display: flex; }
.hero-trust .avs span {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 11px; color: #fff; border: 2px solid #fff;
  margin-left: -8px;
}
.hero-trust .avs span:first-child { margin-left: 0; }
.hero-trust p { font-size: 12.5px; color: var(--muted); font-weight: 600; line-height: 1.45; }
.hero-trust p b { color: var(--brand-navy); }

/* Hero growth visual */
.ring-wrap { position: relative; display: flex; align-items: center; justify-content: center; min-height: 520px; }
.orbit-glow {
  position: absolute; width: min(560px, 100%); aspect-ratio: 1; z-index: 0;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.16), transparent 64%);
  filter: blur(8px);
}
.orbit-ring {
  position: absolute; width: min(560px, 100%); aspect-ratio: 1; z-index: 1;
  background: conic-gradient(from 200deg, transparent 0 12%, rgba(37, 99, 235, 0.5) 24%, rgba(37, 99, 235, 0.05) 40%, transparent 52%, rgba(249, 115, 22, 0.45) 72%, transparent 86%);
  -webkit-mask: radial-gradient(closest-side, transparent 69%, #000 70% 71.5%, transparent 72.5%);
  mask: radial-gradient(closest-side, transparent 69%, #000 70% 71.5%, transparent 72.5%);
  animation: spin 30s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.ring-card {
  position: relative; width: 100%; max-width: 470px; padding: 34px; z-index: 2;
  border-radius: 28px; border: 1px solid rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 44px 90px -36px rgba(11, 27, 61, 0.38), 0 3px 10px rgba(11, 27, 61, 0.05);
  animation: floaty 7s ease-in-out infinite;
}
.ring-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-line); border-radius: 28px 28px 0 0; opacity: 0.9;
}
.rc-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.rc-top .eyebrow { margin-bottom: 0; }
.rc-chip {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-blue); background: #eff6ff; border: 1px solid #bfdbfe; padding: 6px 12px; border-radius: 999px;
}
.ring-card .big { font-family: var(--font-head); font-weight: 800; font-size: clamp(27px, 3.2vw, 36px); color: var(--brand-navy); letter-spacing: -0.02em; }
.ring-card .big em { font-style: normal; color: var(--brand-blue); }
.ring-card p { color: var(--muted); font-size: 14px; margin-top: 8px; }
.rc-bars { display: flex; flex-direction: column; gap: 13px; margin: 24px 0 6px; }
.rc-row { display: grid; grid-template-columns: 100px 1fr auto; align-items: center; gap: 12px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rc-row b { font-family: var(--font-head); color: var(--brand-navy); font-size: 12px; }
.track { height: 8px; border-radius: 999px; background: #eaf0f7; overflow: hidden; box-shadow: inset 0 1px 2px rgba(11, 27, 61, 0.08); }
.track i { display: block; height: 100%; border-radius: 999px; background: var(--grad-blue); }
.rc-row:nth-child(3) .track i, .rc-row:nth-child(5) .track i { background: var(--grad-cta); }
.ring-card .divider { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); margin: 24px 0; }
.ring-card .mini-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); }
.ring-card .mini-row strong { color: var(--brand-navy); }

.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px;
  padding: 12px 18px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 22px 50px -20px rgba(11, 27, 61, 0.4);
  font-size: 12.5px; font-weight: 600; color: var(--brand-navy);
}
.float-chip svg { width: 18px; height: 18px; color: var(--brand-blue); flex: none; }
.float-chip b { font-family: var(--font-head); font-size: 14px; color: var(--brand-orange); }
.fc-a { top: 4%; left: -6%; animation: floaty 6s ease-in-out infinite; }
.fc-b { bottom: 12%; right: -7%; animation: floaty 7s ease-in-out 1.2s infinite; }
.fc-c { bottom: -4%; left: 6%; animation: floaty 8s ease-in-out 0.6s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero 3D depth layers */
.hero-grid { perspective: 1400px; }
.ring-wrap { transform-style: preserve-3d; will-change: transform; }
.hero-3d-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  z-index: 0; pointer-events: none; will-change: transform;
  filter: drop-shadow(0 26px 40px rgba(11, 27, 61, 0.16));
}

/* --------------------------------------------------------------------------
   VERTICALS MARQUEE
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; position: relative; padding: 0; border-block: 1px solid var(--line);
  background: #ffffff;
  -webkit-mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 60px; padding: 26px 30px 26px 0;
  font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: 0.18em;
  text-transform: uppercase; color: #8ba0bd; white-space: nowrap;
}
.marquee-track span::after {
  content: "✦"; color: var(--brand-orange); font-size: 11px; letter-spacing: 0; padding-left: 60px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   STATS — navy band
   -------------------------------------------------------------------------- */
.stats-band {
  background:
    radial-gradient(620px 340px at 50% -40%, rgba(59, 130, 246, 0.2), transparent 70%),
    linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  border-block: 1px solid rgba(249, 115, 22, 0.6); position: relative; overflow: hidden;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 52px 0; }
.stat { text-align: center; position: relative; }
.stat::before {
  content: ""; display: block; width: 40px; height: 3px; margin: 0 auto 18px; border-radius: 3px;
  background: var(--grad-line); box-shadow: 0 0 18px rgba(249, 115, 22, 0.5);
}
.stat h3 {
  font-size: clamp(28px, 3.2vw, 42px); font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 30%, #b9cbf0 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat h3 span { color: var(--brand-orange); }
.stat p { color: #94a3b8; font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 8px; font-weight: 700; }

/* --------------------------------------------------------------------------
   CARDS / GRIDS
   -------------------------------------------------------------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  position: relative; border-radius: var(--radius); padding: 32px;
  border: 1px solid var(--line); background: #fff;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: var(--grad-line); border-radius: var(--radius) var(--radius) 0 0; opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover { transform: translateY(-7px); border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-lg); }
.card:hover::before { opacity: 1; }
.card h3 { color: var(--brand-navy); font-size: 18.5px; margin: 20px 0 10px; }
.card p { color: var(--muted); font-size: 14.5px; }
.card .card-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; color: var(--brand-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 10px 24px -12px rgba(37, 99, 235, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card .card-icon svg { width: 26px; height: 26px; }
.card:hover .card-icon { transform: scale(1.06); box-shadow: 0 16px 32px -14px rgba(37, 99, 235, 0.5); }
.card .card-link { display: inline-flex; align-items: center; gap: 7px; margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--brand-blue); }
.card .card-link svg { width: 15px; height: 15px; transition: transform 0.2s; }
.card:hover .card-link svg { transform: translateX(4px); }

.card-light {
  background: #fff; border: 1px solid var(--line); color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.card-light h3 { color: var(--brand-navy); }
.card-light:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* --------------------------------------------------------------------------
   PHILOSOPHY
   -------------------------------------------------------------------------- */
.philosophy { text-align: center; }
.philosophy .neq { font-size: clamp(32px, 4.6vw, 54px); font-family: var(--font-head); font-weight: 800; color: var(--brand-navy); letter-spacing: -0.02em; }
.philosophy .neq del { color: var(--brand-orange); text-decoration-thickness: 4px; }
.philosophy .neq ins {
  text-decoration: none; background: linear-gradient(120deg, #eff6ff, #dbeafe);
  padding: 0 14px; border-radius: 12px; color: var(--brand-royal);
}

.pill-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 38px; }
.pill {
  border: 1px solid #bfdbfe; background: #eff6ff;
  color: var(--brand-blue); padding: 11px 22px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: #dbeafe; }
.pill.light-pill { border-color: #bfdbfe; background: #eff6ff; color: var(--brand-blue); }

/* --------------------------------------------------------------------------
   GROWTH SYSTEM PIPELINE
   -------------------------------------------------------------------------- */
.pipeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; counter-reset: step; }
.pipe-step {
  counter-increment: step; position: relative;
  border: 1px solid var(--line); border-radius: 18px;
  background: #fff; padding: 24px 18px; min-height: 128px; overflow: hidden;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.pipe-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--brand-blue);
  display: block; margin-bottom: 10px; letter-spacing: 0.08em;
}
.pipe-step::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 2px;
  background: var(--grad-line); opacity: 0; transition: opacity 0.25s ease;
}
.pipe-step:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow); }
.pipe-step:hover::after { opacity: 1; }
.pipe-step h4 { color: var(--brand-navy); font-size: 14.5px; margin-bottom: 5px; }
.pipe-step p { color: var(--muted); font-size: 12.5px; line-height: 1.55; }
.pipe-arrow { display: none; }

/* --------------------------------------------------------------------------
   AI + HUMAN APPROACH
   -------------------------------------------------------------------------- */
.quads { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.quad { border-left: 3px solid var(--brand-blue); padding: 10px 0 10px 24px; transition: border-color 0.25s ease, transform 0.25s ease; }
.quad:hover { border-color: var(--brand-orange); transform: translateX(4px); }
.quad .tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-orange); }
.quad h3 { font-size: 24px; color: var(--brand-navy); margin: 6px 0 6px; }
.quad p { color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   TESTIMONIALS
   -------------------------------------------------------------------------- */
.testi-card {
  position: relative; border-radius: var(--radius); padding: 32px 30px; border: 1px solid var(--line);
  background: #fff; display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease; overflow: hidden;
}
.testi-card::before {
  content: "“"; position: absolute; top: 6px; right: 22px;
  font-family: var(--font-serif); font-size: 84px; line-height: 1; color: rgba(37, 99, 235, 0.08); pointer-events: none;
}
.testi-card:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-lg); }
.testi-stars { color: var(--brand-amber); letter-spacing: 3px; font-size: 15px; }
.testi-card blockquote { font-size: 15.5px; color: #475569; line-height: 1.8; font-weight: 500; }
.testi-meta { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line-soft); padding-top: 18px; }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-orange));
  color: #ffffff; font-family: var(--font-head); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-blue);
}
.testi-meta .t-name { color: var(--brand-navy); font-weight: 700; font-size: 14.5px; }
.testi-meta .t-role { color: var(--muted); font-size: 12.5px; }

/* --------------------------------------------------------------------------
   BLOG CARDS
   -------------------------------------------------------------------------- */
.blog-card {
  display: flex; flex-direction: column; gap: 18px; overflow: hidden;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff;
  padding: 28px; transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}
.blog-card:hover { transform: translateY(-6px); border-color: rgba(37, 99, 235, 0.35); box-shadow: var(--shadow-lg); }
.blog-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); background: #eff6ff; border: 1px solid #bfdbfe; padding: 5px 12px; border-radius: 999px; }
.blog-card h3 { font-size: 19px; color: var(--brand-navy); }
.blog-card p { color: var(--muted); font-size: 14px; }
.blog-link { display: inline-flex; align-items: center; gap: 10px; color: var(--brand-blue); font-weight: 700; font-size: 14px; margin-top: auto; }
.blog-link span {
  display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid #bfdbfe; background: #eff6ff; transition: background 0.25s ease, transform 0.25s ease;
}
.blog-link svg { width: 15px; height: 15px; transition: none; }
.blog-card:hover .blog-link span { background: var(--brand-blue); border-color: var(--brand-blue); transform: translateX(3px); }
.blog-card:hover .blog-link span svg { color: #fff; }

/* --------------------------------------------------------------------------
   CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  border-radius: 28px; overflow: hidden; position: relative;
  background: linear-gradient(130deg, var(--brand-navy) 0%, var(--brand-navy-deep) 72%);
  border: 1px solid rgba(249, 115, 22, 0.4); padding: 72px 64px;
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(560px 340px at 50% -20%, rgba(59, 130, 246, 0.22), transparent 70%),
    radial-gradient(300px 220px at 12% 110%, rgba(249, 115, 22, 0.2), transparent 70%);
}
.cta-band .cta-orb {
  position: absolute; width: 420px; height: 420px; border-radius: 50%; pointer-events: none;
  border: 1px dashed rgba(255, 255, 255, 0.1); top: 50%; left: 50%; transform: translate(-50%, -50%);
  animation: spin 40s linear infinite;
}
.cta-band h2 { font-size: clamp(27px, 3.6vw, 42px); color: #fff; margin-bottom: 14px; position: relative; font-weight: 800; }
.cta-band p { color: #cbd5e1; max-width: 620px; margin: 0 auto 34px; position: relative; }
.cta-band .btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; position: relative; }
.cta-band .eyebrow { color: #fbbf24; justify-content: center; }
.cta-band .eyebrow::before, .cta-band .eyebrow.centered::after { background: #fbbf24; }
.cta-band .cta-kickers { margin-top: 26px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; position: relative; }
.cta-band .cta-kickers span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: #94a3b8; font-weight: 600; }
.cta-band .cta-kickers svg { width: 15px; height: 15px; color: var(--brand-green); }

/* --------------------------------------------------------------------------
   CONTACT
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: start; }
.contact-item {
  display: flex; gap: 16px; padding: 18px; margin-bottom: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-xs); transition: transform 0.24s ease, box-shadow 0.24s ease;
}
.contact-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-item .ci-ic { flex: none; width: 48px; height: 48px; border-radius: 13px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe; color: var(--brand-blue); box-shadow: inset 0 1px 0 #fff; }
.contact-item .ci-ic svg { width: 22px; height: 22px; }
.contact-item h4 { color: var(--brand-navy); font-size: 16px; margin-bottom: 3px; }
.contact-item p, .contact-item a { color: var(--muted); font-size: 14.5px; }
.contact-item a:hover { color: var(--brand-blue); }

.form-card {
  position: relative; border-radius: var(--radius); padding: 40px; border: 1px solid var(--line); background: #fff;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-line); }
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--brand-navy); margin-bottom: 8px; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: 14px;
  border: 1px solid var(--line); background: #f8fafc; color: var(--brand-navy);
  font-family: var(--font-body); font-size: 14.5px; transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand-blue); background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.field select {
  appearance: none; background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
  background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer;
}
.field select:focus { background-image: linear-gradient(45deg, transparent 50%, var(--brand-blue) 50%), linear-gradient(135deg, var(--brand-blue) 50%, transparent 50%); }
.field textarea { min-height: 120px; resize: vertical; }
.field .err { color: #dc2626; font-size: 12.5px; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #ef4444; background: #fef2f2; }

.form-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; text-align: center; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background:
    radial-gradient(720px 400px at 18% -10%, rgba(37, 99, 235, 0.12), transparent 65%),
    radial-gradient(640px 420px at 100% 10%, rgba(249, 115, 22, 0.07), transparent 65%),
    linear-gradient(180deg, #0b1b3d, #050d22);
  border-top: 4px solid var(--brand-orange); padding: 80px 0 0; overflow: hidden;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-about .brand-name { color: #fff; }
.footer-about .brand-name small { color: var(--brand-orange); }
.footer-about p { color: #94a3b8; font-size: 14px; margin-top: 18px; max-width: 300px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12); color: #cbd5e1; background: rgba(255, 255, 255, 0.04); transition: 0.22s;
}
.footer-social a:hover { color: #fff; background: var(--brand-blue); border-color: var(--brand-blue); transform: translateY(-3px); box-shadow: var(--shadow-blue); }
.footer-social svg { width: 17px; height: 17px; }

.footer-col h4 { color: #fff; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 22px; }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: #94a3b8; font-size: 14px; font-weight: 500; transition: color 0.2s, padding-left 0.2s; }
.footer-col a:hover { color: #fff; padding-left: 5px; }

.footer-news p { color: #94a3b8; font-size: 14px; margin-bottom: 18px; }
.news-form { display: flex; gap: 10px; }
.news-form input {
  flex: 1; padding: 13px 18px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 14px;
}
.news-form input::placeholder { color: #94a3b8; }
.news-form input:focus { outline: none; border-color: var(--brand-orange); }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { color: #94a3b8; font-size: 13.5px; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a { color: #94a3b8; font-size: 13.5px; }
.footer-bottom a:hover { color: #fff; }

/* --------------------------------------------------------------------------
   PAGE HERO (inner pages)
   -------------------------------------------------------------------------- */
.page-hero { padding: 190px 0 92px; overflow: hidden; text-align: center; background: linear-gradient(180deg, #ffffff 0%, #eef4fb 130%); position: relative; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-3d {
  position: absolute; right: -1%; top: 50%; transform: translateY(-50%);
  width: min(430px, 44vw); height: auto; z-index: 0; opacity: 0.6;
  pointer-events: none; user-select: none;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(680px 380px at 50% -10%, rgba(37, 99, 235, 0.1), transparent 70%),
    radial-gradient(520px 300px at 88% 110%, rgba(249, 115, 22, 0.07), transparent 70%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(32px, 5vw, 54px); color: var(--brand-navy); margin-bottom: 18px; font-weight: 800; letter-spacing: -0.03em; }
.page-hero p { color: var(--muted); font-size: 17.5px; max-width: 680px; margin: 0 auto; }

.crumb { display: inline-flex; gap: 8px; align-items: center; justify-content: center; font-size: 12px; color: var(--muted); letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 22px; font-weight: 700; }
.crumb a:hover { color: var(--brand-blue); }
.crumb .dot { color: var(--brand-orange); }

/* --------------------------------------------------------------------------
   SERVICES PAGE
   -------------------------------------------------------------------------- */
.service-block {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: center;
  padding: 44px 0; position: relative;
  border-bottom: 1px solid transparent; border-image: linear-gradient(90deg, transparent, #d7e0ec, transparent) 1;
}
.service-block:last-of-type { border-bottom: 0; }
.service-block .left .num { font-family: var(--font-head); font-weight: 800; font-size: 13px; color: var(--brand-orange); letter-spacing: 0.14em; display: inline-block; margin-bottom: 10px; background: linear-gradient(120deg, #fff7ed, #ffedd5); padding: 6px 14px; border-radius: 999px; border: 1px solid #fed7aa; }
.service-block h2 { font-size: clamp(24px, 3vw, 34px); color: var(--brand-navy); margin-bottom: 14px; font-weight: 800; }
.service-block .left p { color: var(--muted); font-size: 15px; margin-bottom: 22px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-tag { font-size: 12.5px; color: var(--brand-royal); border: 1px solid #bfdbfe; background: #eff6ff; padding: 6px 14px; border-radius: 999px; font-weight: 600; }
.service-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.service-bullets li { display: flex; gap: 10px; align-items: flex-start; color: #475569; font-size: 14.5px; font-weight: 500; }
.service-bullets li svg { width: 16px; height: 16px; color: var(--brand-green); flex: none; margin-top: 3px;
  border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 50%; padding: 3px; box-sizing: content-box; }

/* --------------------------------------------------------------------------
   PRICING
   -------------------------------------------------------------------------- */
.price-card {
  position: relative; border-radius: 24px; padding: 38px 32px; display: flex; flex-direction: column;
  border: 1px solid var(--line); background: #fff; transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.price-card.featured {
  border: 2px solid var(--brand-orange);
  background: linear-gradient(170deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
  box-shadow: var(--shadow-orange);
}
.price-card .popular {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--grad-cta); color: #fff;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; white-space: nowrap; box-shadow: var(--shadow-orange);
}
.price-card h3 { color: var(--brand-navy); font-size: 21px; margin-bottom: 6px; font-weight: 800; }
.price-card .plan-for { color: var(--muted); font-size: 13.5px; }
.price { font-family: var(--font-head); font-size: 42px; font-weight: 800; color: var(--brand-navy); margin: 22px 0 4px; letter-spacing: -0.02em; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-note { color: var(--muted); font-size: 12.5px; margin-bottom: 24px; }
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-card ul li { display: flex; gap: 10px; align-items: flex-start; color: #475569; font-size: 14.5px; }
.price-card ul li svg { width: 16px; height: 16px; color: var(--brand-green); flex: none; margin-top: 3px; border: 1px solid #a7f3d0; background: #ecfdf5; border-radius: 50%; padding: 3px; box-sizing: content-box; }
.price-card .btn { margin-top: auto; }

/* Featured (dark) card overrides */
.price-card.featured h3 { color: #fff; }
.price-card.featured .plan-for { color: #94a3b8; }
.price-card.featured .price { color: #fff; }
.price-card.featured .price small { color: #94a3b8; }
.price-card.featured .price-note { color: #94a3b8; }
.price-card.featured ul li { color: #cbd5e1; }
.price-card.featured ul li svg { color: #34d399; border-color: rgba(52, 211, 153, 0.4); background: rgba(52, 211, 153, 0.12); }
.price-card.featured .btn-ghost { border-color: rgba(255,255,255,0.25); background: rgba(255,255,255,0.06); color: #fff; }
.price-card.featured .btn-ghost:hover { border-color: #fff; background: #fff; color: var(--brand-navy); }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; margin-bottom: 14px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.open { border-color: rgba(37, 99, 235, 0.45); box-shadow: var(--shadow); }
.faq-item button {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  padding: 22px 24px; color: var(--brand-navy); font-family: var(--font-head); font-size: 16px; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item button .faq-ic { flex: none; width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--line); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; font-size: 15px; transition: transform 0.25s, background 0.25s; }
.faq-item.open button .faq-ic { transform: rotate(45deg); background: #eff6ff; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p { padding: 0 24px 24px; color: var(--muted); font-size: 14.5px; }

/* --------------------------------------------------------------------------
   ARTICLE / BLOG POST
   -------------------------------------------------------------------------- */
.article-wrap { max-width: 780px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; margin-bottom: 34px; color: var(--muted); font-size: 13.5px; }
.article-meta .blog-tag { margin: 0; }
.article-byline { display: flex; align-items: center; gap: 12px; margin-bottom: 40px; justify-content: center; }
.article-byline .testi-avatar { width: 48px; height: 48px; font-size: 15px; }
.article-byline .t-name { color: var(--brand-navy); font-weight: 700; font-size: 14.5px; }
.article-byline .t-role { color: var(--muted); font-size: 12.5px; }

.article-body { padding-bottom: 20px; }
.article-body h2 { color: var(--brand-navy); font-size: clamp(22px, 3vw, 28px); margin: 48px 0 14px; font-weight: 800; }
.article-body h3 { color: var(--brand-navy); font-size: 19px; margin: 34px 0 10px; }
.article-body p, .article-body li { color: #475569; font-size: 16px; line-height: 1.85; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 20px; }
.article-body ul li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.article-body ul li::before {
  content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-blue);
  margin-top: 10px; box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.article-body ol { margin: 0 0 20px; padding-left: 22px; }
.article-body ol li { list-style: decimal; margin-bottom: 12px; color: #475569; }
.article-body blockquote {
  position: relative; border: 0; background: linear-gradient(120deg, #f1f6ff, #eaf2ff);
  padding: 22px 26px 22px 34px; border-radius: 16px; margin: 28px 0; color: #334155; font-size: 15.5px;
}
.article-body blockquote::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 4px;
  background: var(--grad-blue);
}
.article-body .callout {
  position: relative; border: 1px solid rgba(37, 99, 235, 0.25); background: #f1f6ff;
  border-radius: 16px; padding: 20px 24px; margin: 28px 0; overflow: hidden;
}
.article-body .callout::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-line); }
.article-body .callout strong { color: var(--brand-royal); }
.article-body .callout p { margin: 0 0 8px; }
.article-body .callout p:last-child { margin: 0; }

/* --------------------------------------------------------------------------
   REVEAL / PROGRESS
   -------------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

#progressBar {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%; z-index: 300;
  background: var(--grad-line); box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
  transition: width 0.1s linear; pointer-events: none;
}

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
  .float-chip.fc-a { left: -2%; }
  .float-chip.fc-b { right: -2%; }
}

@media (max-width: 1024px) {
  .pipeline { grid-template-columns: repeat(3, 1fr); }
  .quads { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .ring-wrap { display: none; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .service-block { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .stats-grid { gap: 16px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .page-hero-3d { display: none; }
  .main-nav {
    position: fixed; top: 88px; right: 4%; left: 4%; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: #fff; border: 1px solid var(--line);
    border-radius: 18px; padding: 18px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: 0.28s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: none; }
  .main-nav a:not(.btn) { padding: 13px 6px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
  .main-nav a:not(.btn)::after { display: none; }
  .main-nav .btn-nav { margin-top: 14px; justify-content: center; }
  section { padding: 80px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .quads { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .cta-band { padding: 48px 26px; }
  .form-row { grid-template-columns: 1fr; }
  .service-bullets { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 160px 0 84px; }
  .page-hero { padding: 156px 0 72px; }
}

@media (max-width: 560px) {
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .hero-cta .btn { width: 100%; }
  .pipe-step { min-height: auto; }
  .stats-grid { padding: 40px 0; }
  .marquee-track span { font-size: 11.5px; padding: 20px 22px 20px 0; gap: 70px; }
}

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

/* ==========================================================================
   SERVICE DETAIL PAGES
   ========================================================================== */
.svc-layout { display: grid; grid-template-columns: 250px 1fr; gap: 52px; align-items: start; }

.svc-toc {
  position: sticky; top: 118px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff;
  padding: 22px; box-shadow: var(--shadow-xs);
}
.svc-toc h4 { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.svc-toc a {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin: 2px -10px;
  border-radius: 10px; font-size: 13.5px; font-weight: 600; color: #475569; transition: 0.2s;
}
.svc-toc a span { font-family: var(--font-head); font-size: 11px; font-weight: 800; color: var(--brand-orange); }
.svc-toc a:hover, .svc-toc a.active { color: var(--brand-blue); background: #f0f6ff; }
.svc-toc .toc-cta { margin-top: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }

.svc-content { min-width: 0; }
.svc-content section { padding: 0; }
.svc-block { padding: 26px 0; }
.svc-block + .svc-block { border-top: 1px solid var(--line-soft); }

.svc-kicker { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-orange); margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.svc-kicker::before { content: ""; width: 24px; height: 2px; background: var(--grad-line); border-radius: 2px; }
.svc-block h2 { font-size: clamp(23px, 3vw, 30px); font-weight: 800; margin-bottom: 14px; }
.svc-block > p, .svc-block > div > p { color: #475569; font-size: 15.5px; line-height: 1.85; margin-bottom: 14px; }
.svc-block p:last-child { margin-bottom: 0; }

.hl-card {
  display: flex; gap: 14px; padding: 18px 20px; margin: 22px 0;
  border: 1px solid rgba(37, 99, 235, 0.22); background: linear-gradient(120deg, #f1f6ff, #f8fbff);
  border-radius: 16px; font-size: 15px; color: #334155; line-height: 1.7;
}
.hl-card svg { flex: none; width: 22px; height: 22px; color: var(--brand-blue); margin-top: 3px; }
.hl-card p { margin: 0 !important; }

.table-wrap {
  margin: 22px 0; overflow-x: auto; border: 1px solid var(--line); border-radius: 16px;
  background: #fff; box-shadow: var(--shadow-xs);
}
.info-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14px; }
.info-table th {
  text-align: left; font-family: var(--font-head); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #64748b; background: #f8fafc; padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}
.info-table td { padding: 14px 18px; border-bottom: 1px solid var(--line-soft); color: #475569; vertical-align: top; }
.info-table tbody tr:last-child td { border-bottom: 0; }
.info-table tbody tr:hover { background: #f9fbfe; }
.info-table td:first-child { font-weight: 600; color: var(--brand-navy); }
.info-table td strong { color: var(--brand-navy); }
.info-table .price-col { white-space: nowrap; font-weight: 700; color: var(--brand-royal); }

.proc { counter-reset: pc; display: flex; flex-direction: column; gap: 20px; margin: 24px 0 6px; }
.proc-item { counter-increment: pc; display: grid; grid-template-columns: 52px 1fr; gap: 18px; }
.proc-item::before {
  content: counter(pc, decimal-leading-zero);
  width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--brand-blue);
  background: linear-gradient(145deg, #eff6ff, #dbeafe); border: 1px solid #bfdbfe;
  box-shadow: inset 0 1px 0 #fff;
}
.proc-item:nth-child(3n)::before { color: var(--brand-orange); background: linear-gradient(145deg, #fff7ed, #ffedd5); border-color: #fed7aa; }
.proc-item h3 { font-size: 16.5px; margin: 4px 0 6px; }
.proc-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

.kv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.kv-card {
  border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 20px;
  box-shadow: var(--shadow-xs);
}
.kv-card b { display: block; font-family: var(--font-head); font-size: 15px; color: var(--brand-navy); margin-bottom: 5px; }
.kv-card span { font-size: 13.5px; color: var(--muted); }

.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.who-list li { display: flex; gap: 11px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-size: 14.5px; color: #475569; font-weight: 500; }
.who-list svg { flex: none; width: 17px; height: 17px; color: var(--brand-green); margin-top: 3px; }

/* --------------------------------------------------------------------------
   GROWTH SYSTEMS / AUDIT / VERTICALS (strategy-driven pages)
   -------------------------------------------------------------------------- */
.sys-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 34px 0 6px; }
.sys-card { border: 1px solid var(--line); border-radius: 18px; padding: 24px 20px; background: #fff; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; }
.sys-card .sys-num { font-family: var(--font-head); font-size: 12px; font-weight: 800; color: var(--brand-blue); letter-spacing: 0.1em; }
.sys-card h3 { font-family: var(--font-head); font-size: 21px; color: var(--brand-navy); margin: 10px 0 4px; }
.sys-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.sys-card ul { margin: 0; padding: 0; list-style: none; }
.sys-card li { font-size: 12.5px; color: #475569; padding: 5px 0; border-bottom: 1px dashed var(--line-soft); }
.sys-card li:last-child { border-bottom: 0; }

.funnel { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 38px auto 0; }
.funnel span { background: #fff; border: 1px solid var(--line); color: var(--brand-navy); font-weight: 700; font-size: 13.5px; padding: 11px 18px; border-radius: 999px; box-shadow: var(--shadow-xs); }
.funnel b { color: var(--brand-orange); font-weight: 800; }
.funnel .funnel-end { background: linear-gradient(120deg, var(--brand-navy), var(--brand-navy-deep)); color: #fff; border-color: transparent; }

.audit-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 36px; align-items: start; }
.audit-col h3 { font-family: var(--font-head); font-size: 17px; color: var(--brand-navy); margin-bottom: 14px; }

.svc-card { border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow-xs); }
.svc-card .svc-card-kicker { color: var(--brand-orange); font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.svc-card h3 { color: var(--brand-navy); font-size: 17px; line-height: 1.45; font-family: var(--font-head); margin-bottom: 10px; }
.svc-card p { color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.svc-card .svc-card-sell { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--brand-blue); font-weight: 600; font-size: 13px; }

@media (max-width: 1024px) {
  .sys-grid { grid-template-columns: repeat(3, 1fr); }
  .audit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sys-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .sys-grid { grid-template-columns: 1fr; }
  .funnel span { padding: 9px 14px; font-size: 12.5px; }
}

.price-compare { margin: 24px 0; }
.price-compare .df-cmp {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 0;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff;
}
.df-cmp > div { padding: 16px 18px; border-right: 1px solid var(--line-soft); }
.df-cmp > div:last-child { border-right: 0; }
.df-cmp .cmp-head { background: #f8fafc; font-family: var(--font-head); font-weight: 700; color: var(--brand-navy); font-size: 14px; }
.df-cmp .cmp-head.feat { background: linear-gradient(120deg, #eff6ff, #dbeafe); color: var(--brand-blue); }
.df-cmp .cmp-cell { font-size: 13px; color: #475569; min-height: 52px; }
.df-cmp .cmp-cell.feat { font-weight: 600; color: var(--brand-navy); }

.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 26px; }

.svc-cta-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 24px 28px; border-radius: 18px; background: linear-gradient(120deg, var(--brand-navy), var(--brand-navy-deep)); color: #fff; margin-top: 28px; }
.svc-cta-note b { font-family: var(--font-head); font-size: 17px; }
.svc-cta-note p { color: #cbd5e1; font-size: 13.5px; margin-top: 4px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.tag-row a.tech-tag { transition: 0.2s; }
.tag-row a.tech-tag:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); transform: translateY(-2px); }

@media (max-width: 1024px) {
  .svc-layout { grid-template-columns: 1fr; }
  .svc-toc { position: static; margin-bottom: 8px; }
  .svc-toc nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .svc-toc a { margin: 0; padding: 8px 12px; background: #f8fafc; }
  .svc-toc .toc-cta { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .kv-grid { grid-template-columns: 1fr 1fr; }
  .who-list { grid-template-columns: 1fr 1fr; }
  .df-cmp { grid-template-columns: 1fr 1fr; }
  .df-cmp > div:nth-child(2) { border-right: 0; }
}

@media (max-width: 620px) {
  .home-hero-sub { padding: 12px 0; }
  .who-list, .kv-grid, .related-grid { grid-template-columns: 1fr; }
  .df-cmp { grid-template-columns: 1fr; }
  .df-cmp > div { border-right: 0; border-bottom: 1px solid var(--line-soft); }
  .df-cmp > div:last-child { border-bottom: 0; }
  .svc-cta-note { padding: 20px; }
}

@media (max-width: 480px) {
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-name small { font-size: 8.5px; letter-spacing: 0.3em; }
  .header-inner { padding: 8px 14px; gap: 12px; }
  .nav-toggle { width: 40px; height: 40px; }
  section { padding: 64px 0; }
  .hero { padding: 142px 0 64px; }
  .page-hero { padding: 136px 0 58px; }
  .cta-band { padding: 42px 20px; }
  .cta-band .btn-row .btn { width: 100%; }
  .form-card, .card, .price-card, .testi-card { padding: 26px 22px; }
  .section-lead { font-size: 15.5px; }
  .eyebrow { font-size: 10px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom nav { flex-wrap: wrap; justify-content: center; gap: 16px; }
  .news-form { flex-wrap: wrap; }
  .news-form input { min-width: 0; flex: 1 1 100%; }
  .news-form .btn { width: 100%; }
  .tag-row { gap: 7px; }
  .tag-row a.tech-tag { font-size: 12px; padding: 8px 13px; }
  .svc-toc nav a { flex: 1 1 auto; }
  .df-cmp .cmp-head { font-size: 13px; }
  .proc-item { gap: 24px; }
  em.accent { white-space: normal; }
  .marquee-track span { font-size: 10.5px; padding: 16px 16px 16px 0; gap: 50px; }
  .faq-item button { padding: 18px 18px; }
  .article-body .table-wrap { margin: 0 -14px; padding: 0 14px; }
}