/* =====================================================================
   Go Up Solutions: design system v7 (Nov 2026)
   Premium IT & business software. Dark navy + electric blue, Sora / Inter.
   Colours that the admin "Logo & colours" panel can change are variables:
   --brand (primary) and --navy (secondary / dark sections).
   ===================================================================== */
:root {
  --brand: #168bff;
  --brand-600: #147de6;
  --brand-700: #1067bd;
  --brand-50: #e8f3ff;
  --brand-rgb: 22, 139, 255;
  --cyan: #37c5f5;
  --cyan-rgb: 55, 197, 245;
  --navy: #071426;
  --navy-2: #0b1e35;
  --navy-800: #05101f;
  --navy-900: #030a14;
  --navy-rgb: 7, 20, 38;
  --navy-900-rgb: 3, 10, 20;

  --ink: #15263d;
  --text: #3a4b63;
  --muted: #64748b;
  --light: #f5f8fc;
  --white: #ffffff;
  --d-text: #dce7f5;
  --d-muted: #8ea3bf;
  --line: rgba(21, 38, 61, .09);
  --line-strong: rgba(21, 38, 61, .16);
  --d-line: rgba(220, 231, 245, .1);
  --d-line-strong: rgba(220, 231, 245, .18);

  --glass-d: rgba(14, 33, 58, .55);
  --glass-l: rgba(255, 255, 255, .72);
  --blur: saturate(160%) blur(18px);

  --shadow-sm: 0 1px 2px rgba(7, 20, 38, .05);
  --shadow: 0 1px 2px rgba(7, 20, 38, .04), 0 12px 32px -16px rgba(7, 20, 38, .18);
  --shadow-lg: 0 30px 60px -28px rgba(7, 20, 38, .35);
  --glow: 0 0 0 1px rgba(var(--brand-rgb), .35), 0 18px 50px -18px rgba(var(--brand-rgb), .55);

  --r-sm: 10px;
  --r: 18px;
  --r-lg: 26px;
  --container: 1280px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 76px;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-d: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-family: var(--font-d); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--brand); color: #fff; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container.narrow { max-width: 920px; }
.section { position: relative; padding-block: clamp(72px, 9vw, 128px); }
.section.tight { padding-block: clamp(52px, 6vw, 88px); }
.section.light { background: var(--light); }
.section.white { background: var(--white); }
.section.dark, .dark { background: var(--navy); color: var(--d-text); }
.section.dark-2 { background: var(--navy-2); color: var(--d-text); }
.dark h1, .dark h2, .dark h3, .dark h4, .dark-2 h1, .dark-2 h2, .dark-2 h3, .dark-2 h4 { color: #fff; }
.dark .muted, .dark-2 .muted { color: var(--d-muted); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split.reverse > :first-child { order: 2; }
.center { text-align: center; }
.muted { color: var(--muted); }
.stack > * + * { margin-top: 16px; }

/* Section seams: soft gradient edge between dark and light */
.section.dark + .section.light::before, .section.dark + .section.white::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .35), transparent);
}

/* ---------- Typography ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px;
  font: 600 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand);
}
.kicker::before { content: ""; width: 26px; height: 1.5px; background: linear-gradient(90deg, var(--brand), var(--cyan)); border-radius: 2px; }
.dark .kicker, .dark-2 .kicker { color: var(--cyan); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2, .h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.08; letter-spacing: -.035em; margin-bottom: 18px; }
.section-head p { font-size: 17.5px; color: var(--muted); margin: 0; }
.dark .section-head p, .dark-2 .section-head p { color: var(--d-muted); }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 32px; }
.section-head.row > div { max-width: 680px; }
.lead { font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.65; color: var(--muted); }
.dark .lead, .dark-2 .lead { color: var(--d-muted); }
.grad { background: linear-gradient(100deg, var(--brand) 10%, var(--cyan) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.text-grad { background: linear-gradient(100deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; white-space: nowrap; cursor: pointer; position: relative; isolation: isolate; overflow: hidden;
  transition: transform .3s var(--ease), translate .35s var(--ease), box-shadow .3s var(--ease), background-color .3s, border-color .3s, color .3s;
  translate: var(--bx, 0px) var(--by, 0px);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { color: #fff; background: var(--brand); box-shadow: 0 10px 30px -10px rgba(var(--brand-rgb), .7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, var(--brand) 20%, var(--cyan) 50%, var(--brand) 80%); background-size: 220% 100%; background-position: 100% 0; transition: background-position .7s var(--ease); }
.btn-primary:hover { translate: var(--bx, 0px) calc(var(--by, 0px) - 2px); box-shadow: 0 18px 40px -12px rgba(var(--brand-rgb), .85), inset 0 1px 0 rgba(255,255,255,.3); }
.btn-primary:hover::before { background-position: 0 0; }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-700); translate: var(--bx, 0px) calc(var(--by, 0px) - 2px); }
.dark .btn-ghost, .dark-2 .btn-ghost, .btn-ghost.on-dark { color: #fff; background: rgba(255,255,255,.04); border-color: var(--d-line-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.dark .btn-ghost:hover, .dark-2 .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: rgba(var(--cyan-rgb), .6); color: #fff; background: rgba(var(--brand-rgb), .12); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--brand-700); }
.dark .link-arrow, .dark-2 .link-arrow { color: var(--cyan); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
a:hover > .link-arrow .icon, .link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Icon tile ---------- */
.ico {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none;
  color: var(--brand); background: linear-gradient(145deg, rgba(var(--brand-rgb), .12), rgba(var(--cyan-rgb), .08));
  border: 1px solid rgba(var(--brand-rgb), .18); transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .3s;
}
.ico .icon { width: 22px; height: 22px; }
.dark .ico, .dark-2 .ico { color: var(--cyan); background: rgba(var(--brand-rgb), .12); border-color: rgba(var(--cyan-rgb), .2); }

/* ---------- Header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 210; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--cyan)); pointer-events: none; }
.site-header { position: fixed; inset: 0 0 auto; z-index: 200; transition: background .35s, box-shadow .35s, border-color .35s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .nav-open .site-header { background: rgba(7, 20, 38, .78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-bottom-color: var(--d-line); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.nav-shell { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 46px; width: auto; max-width: 190px; object-fit: contain; }
.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav a, .nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 999px; white-space: nowrap;
  font: 500 14.5px/1 var(--font); color: rgba(220, 231, 245, .82); background: none; border: 0; cursor: pointer; transition: color .25s, background .25s;
}
.nav a:hover, .nav .nav-trigger:hover, .has-menu:focus-within > .nav-trigger, .has-menu.open > .nav-trigger { color: #fff; background: rgba(255,255,255,.06); }
.nav a[aria-current="page"], .nav .is-current > .nav-trigger { color: #fff; }
.nav > ul > li > a[aria-current="page"]::after, .nav .is-current > .nav-trigger::after { content: ""; position: absolute; }
.nav > ul > li { position: relative; }
.nav > ul > li > a[aria-current="page"], .nav .is-current > .nav-trigger { box-shadow: inset 0 -2px 0 var(--brand); border-radius: 10px 10px 4px 4px; }
.nav-trigger .icon { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-menu:hover > .nav-trigger .icon, .has-menu.open > .nav-trigger .icon { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 16px); left: 50%; min-width: 320px; padding: 10px; border-radius: 20px;
  background: rgba(9, 24, 44, .94); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--d-line-strong); box-shadow: 0 30px 60px -20px rgba(0,0,0,.65);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: 50% 0;
  transition: opacity .25s var(--ease), transform .35s var(--ease), visibility .25s;
}
.mega::before { content: ""; position: absolute; inset: -18px 0 auto; height: 18px; }
.mega.wide { min-width: 600px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.has-menu:hover > .mega, .has-menu:focus-within > .mega, .has-menu.open > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.nav .mega a { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 14px; white-space: normal; color: var(--d-text); }
.nav .mega a:hover, .nav .mega a[aria-current="page"] { background: rgba(var(--brand-rgb), .12); box-shadow: none; }
.mega .ico { width: 36px; height: 36px; border-radius: 10px; }
.mega .ico .icon { width: 18px; height: 18px; }
.mega strong { display: block; font: 600 14px/1.3 var(--font); color: #fff; }
.mega small { display: block; margin-top: 3px; font-size: 12.5px; line-height: 1.45; color: var(--d-muted); }
.nav-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--d-line-strong); background: rgba(255,255,255,.04); color: #fff; cursor: pointer; place-items: center; }
.menu-toggle .icon { width: 20px; height: 20px; }
.nav .nav-mobile-cta { display: none; }

/* ---------- Ambient light (dark sections) ---------- */
.glow-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.glow-bg::before, .glow-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(90px); }
.glow-bg::before { width: 60vw; height: 60vw; max-width: 900px; max-height: 900px; right: -18vw; top: -24vw; background: radial-gradient(circle, rgba(var(--brand-rgb), .32), transparent 62%); }
.glow-bg::after { width: 46vw; height: 46vw; max-width: 700px; max-height: 700px; left: -16vw; bottom: -26vw; background: radial-gradient(circle, rgba(var(--cyan-rgb), .16), transparent 62%); }
.grid-lines { position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(rgba(220,231,245,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(220,231,245,.045) 1px, transparent 1px);
  background-size: 72px 72px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.light-sweep { position: absolute; inset: 0; pointer-events: none; z-index: 0; background: conic-gradient(from 200deg at 70% 30%, transparent 0deg, rgba(var(--cyan-rgb), .07) 40deg, transparent 90deg); animation: sweep 14s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.z1 { position: relative; z-index: 1; }

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 90% at 70% 0%, var(--navy-2) 0%, var(--navy) 55%); color: var(--d-text); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 110px); }
.hero .split { grid-template-columns: 1fr 1.08fr; gap: clamp(28px, 4vw, 64px); }
.hero h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.02; letter-spacing: -.045em; font-weight: 600; color: #fff; margin-bottom: 24px; }
.hero h1 .w { display: inline-block; }
.hero .lead { max-width: 540px; margin-bottom: 34px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--d-line); }
.hero-badges li { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--d-muted); }
.hero-badges .icon { width: 17px; height: 17px; color: var(--cyan); }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; margin-bottom: 26px; border-radius: 999px; border: 1px solid var(--d-line-strong); background: rgba(255,255,255,.03); font-size: 13px; color: var(--d-text); }
.hero-tag b { padding: 4px 10px; border-radius: 999px; background: rgba(var(--brand-rgb), .18); color: var(--cyan); font-weight: 600; font-size: 12px; letter-spacing: .04em; }

/* 3D stage */
.stage { position: relative; perspective: 1600px; min-height: 520px; }
.stage-inner { position: relative; height: 100%; min-height: inherit; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(8deg); transition: transform .8s var(--ease); }
.stage .dash { position: absolute; inset: 40px 0 40px 6%; }
.layer { position: absolute; transform-style: preserve-3d; }
.float { animation: bob 8s ease-in-out infinite; }
.float.d2 { animation-delay: -2.6s; }
.float.d3 { animation-delay: -5.2s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.fcard {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 16px;
  background: rgba(13, 34, 60, .78); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
  border: 1px solid var(--d-line-strong); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  color: var(--d-text); font-size: 13px; white-space: nowrap;
}
.fcard .ico { width: 36px; height: 36px; border-radius: 11px; }
.fcard .ico .icon { width: 18px; height: 18px; }
.fcard strong { display: block; font: 600 14px/1.25 var(--font); color: #fff; }
.fcard span { color: var(--d-muted); font-size: 12px; }
.fcard .ok { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }
.nodes-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.nodes-svg path { fill: none; stroke: url(#ng); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 18s linear infinite; }
.nodes-svg circle { fill: var(--cyan); }
@keyframes dash { to { stroke-dashoffset: -200; } }

/* ---------- Dashboard component (visual identity) ---------- */
.dash {
  display: grid; grid-template-columns: 58px 1fr; border-radius: 20px; overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 38, 66, .92), rgba(9, 24, 44, .96));
  border: 1px solid var(--d-line-strong);
  box-shadow: 0 50px 100px -40px rgba(0,0,0,.75), 0 0 0 1px rgba(var(--brand-rgb), .08), inset 0 1px 0 rgba(255,255,255,.07);
  color: var(--d-text); font-size: 12px; line-height: 1.4; text-align: left;
}
.dash-side { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 0; background: rgba(3, 10, 20, .35); border-right: 1px solid var(--d-line); }
.dash-side .lg { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--brand), var(--cyan)); margin-bottom: 10px; display: grid; place-items: center; color: #fff; font: 700 13px/1 var(--font-d); }
.dash-side i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--d-muted); }
.dash-side i.on { background: rgba(var(--brand-rgb), .18); color: var(--cyan); }
.dash-side .icon { width: 17px; height: 17px; }
.dash-main { padding: 16px 18px 18px; min-width: 0; }
.dash-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dash-top b { font: 600 15px/1.2 var(--font-d); color: #fff; }
.dash-top .chip { margin-left: auto; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--d-line); color: var(--d-muted); white-space: nowrap; }
.chip.blue { background: rgba(var(--brand-rgb), .16); color: #9fd0ff; border-color: rgba(var(--brand-rgb), .3); }
.chip.green { background: rgba(52, 211, 153, .12); color: #6ee7b7; border-color: rgba(52, 211, 153, .25); }
.chip.amber { background: rgba(251, 191, 36, .12); color: #fcd34d; border-color: rgba(251, 191, 36, .25); }
.dash-search { flex: 1; max-width: 220px; height: 28px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--d-line); display: flex; align-items: center; gap: 6px; padding: 0 10px; color: var(--d-muted); font-size: 11px; }
.dash-search .icon { width: 13px; height: 13px; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.kpi { padding: 11px 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--d-line); min-width: 0; }
.kpi small { display: block; color: var(--d-muted); font-size: 10.5px; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi b { display: block; font: 600 17px/1.15 var(--font-d); color: #fff; letter-spacing: -.02em; }
.kpi em { font-style: normal; font-size: 10.5px; color: #6ee7b7; }
.dgrid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 10px; }
.dcard { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.035); border: 1px solid var(--d-line); min-width: 0; }
.dcard h5 { font: 600 11.5px/1.2 var(--font); color: var(--d-text); margin: 0 0 10px; display: flex; justify-content: space-between; letter-spacing: 0; }
.dcard h5 span { color: var(--d-muted); font-weight: 500; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 92px; position: relative; }
.bars i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--cyan), rgba(var(--brand-rgb), .55)); transform-origin: bottom; opacity: .9; }
.bars i:nth-child(odd) { background: linear-gradient(180deg, rgba(var(--brand-rgb), .9), rgba(var(--brand-rgb), .3)); }
.spark { width: 100%; height: 92px; }
.spark path.l { fill: none; stroke: var(--cyan); stroke-width: 2; }
.spark path.a { fill: url(#sg); stroke: none; }
.rows { display: grid; gap: 6px; }
.row { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 9px; background: rgba(255,255,255,.03); min-width: 0; }
.row .av { width: 22px; height: 22px; border-radius: 50%; flex: none; background: linear-gradient(135deg, rgba(var(--brand-rgb), .7), rgba(var(--cyan-rgb), .7)); display: grid; place-items: center; font-size: 9.5px; font-weight: 700; color: #fff; }
.row .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--d-text); font-size: 11.5px; }
.row .t small { display: block; color: var(--d-muted); font-size: 10px; }
.row .chip { padding: 3px 8px; font-size: 10px; }
.demo-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 12px; color: var(--d-muted); }
.demo-note .icon { width: 14px; height: 14px; }

/* ---------- Value props ---------- */
.values-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; overflow: hidden; }
.vp { padding: 34px 30px 36px; position: relative; transition: background .4s; }
.vp + .vp { border-left: 1px solid var(--line); }
.vp h3 { font-size: 18.5px; margin: 22px 0 10px; }
.vp p { font-size: 15px; color: var(--muted); margin: 0; }
.vp::after { content: ""; position: absolute; inset: auto 30px 0; height: 2px; background: linear-gradient(90deg, var(--brand), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.vp:hover { background: var(--light); }
.vp:hover::after { transform: scaleX(1); }
.vp:hover .ico { transform: translateY(-3px) rotate(-6deg); background: var(--brand); color: #fff; }

/* ---------- Cards ---------- */
.card { position: relative; padding: 30px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); height: 100%; transition: transform .45s var(--ease), translate .45s var(--ease), rotate .5s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.light .card { background: #fff; }
.card h3 { font-size: 19px; margin: 20px 0 10px; }
.card p { font-size: 15px; color: var(--muted); margin: 0; }
.card .link-arrow { margin-top: 18px; }
.card.hover:hover, a.card:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .35); }
.card.hover:hover .ico, a.card:hover .ico { transform: translateY(-2px) rotate(-6deg); background: var(--brand); color: #fff; border-color: transparent; }
a.card { display: flex; flex-direction: column; color: inherit; }
a.card p { flex: 1; }
.dark .card, .dark-2 .card { background: rgba(255,255,255,.03); border-color: var(--d-line); box-shadow: none; }
.dark .card p, .dark-2 .card p { color: var(--d-muted); }
.dark .card.hover:hover, .dark-2 .card.hover:hover { border-color: rgba(var(--cyan-rgb), .35); background: rgba(var(--brand-rgb), .07); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); }
/* illuminated border on hover */
.lit { position: relative; }
.lit::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .45s;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 0%), rgba(var(--cyan-rgb), .8), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.lit:hover::before { opacity: 1; }
.card-row { display: flex; gap: 18px; align-items: flex-start; }
.card-row h3 { margin-top: 2px; }

/* ---------- Services bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); gap: 22px; }
.svc { display: flex; flex-direction: column; color: inherit; padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); transition: transform .45s var(--ease), translate .45s var(--ease), rotate .5s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.svc:hover { translate: 0 -6px; box-shadow: var(--shadow-lg); border-color: rgba(var(--brand-rgb), .35); }
.svc:hover .ico { transform: rotate(-6deg); background: var(--brand); color: #fff; border-color: transparent; }
.svc .num { font: 600 13px/1 var(--font-d); color: var(--muted); letter-spacing: .04em; }
.svc-top { display: flex; justify-content: space-between; align-items: center; }
.svc h3 { font-size: 21px; margin: 22px 0 10px; }
.svc p { font-size: 15px; color: var(--muted); margin: 0 0 18px; }
.ticks { display: grid; gap: 8px; margin: 0 0 22px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.ticks li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; border-radius: 50%; background: rgba(var(--brand-rgb), .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23168bff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/9px no-repeat; }
.svc .link-arrow { margin-top: auto; }
.svc.flag { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1.1fr; gap: 30px; align-items: center; padding: 38px; background: radial-gradient(120% 120% at 100% 0%, var(--navy-2), var(--navy) 60%); border-color: transparent; color: var(--d-text); overflow: hidden; }
.svc.flag h3 { color: #fff; font-size: clamp(24px, 2.3vw, 32px); }
.svc.flag p { color: var(--d-muted); }
.svc.flag .ticks li { color: var(--d-text); }
.svc.flag .ticks li::before { background-color: rgba(var(--cyan-rgb), .15); }
.svc.flag .num { color: var(--cyan); }
.svc.flag .ico { color: var(--cyan); background: rgba(var(--brand-rgb), .14); border-color: rgba(var(--cyan-rgb), .25); }
.svc.flag .link-arrow { color: var(--cyan); }
.svc.flag .flag-tag { display: inline-block; margin-left: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(var(--brand-rgb), .2); color: #9fd0ff; font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.svc.flag .dash { transform: perspective(1200px) rotateY(-10deg) rotateX(4deg); transition: transform .8s var(--ease); font-size: 11px; }
.svc.flag:hover .dash { transform: perspective(1200px) rotateY(-4deg) rotateX(2deg) translateY(-4px); }
.svc.flag:hover { box-shadow: 0 40px 80px -36px rgba(var(--brand-rgb), .55); }

/* ---------- CRM showcase ---------- */
.crm { position: relative; overflow: hidden; }
.crm-wrap { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.crm-tabs { display: grid; gap: 4px; position: sticky; top: calc(var(--header-h) + 24px); }
.crm-tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid transparent; background: none; color: var(--d-muted); font: 500 14.5px/1.2 var(--font); text-align: left; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.crm-tab .icon { width: 18px; height: 18px; }
.crm-tab:hover { color: #fff; background: rgba(255,255,255,.04); }
.crm-tab[aria-selected="true"] { color: #fff; background: rgba(var(--brand-rgb), .14); border-color: rgba(var(--brand-rgb), .35); }
.crm-tab[aria-selected="true"] .icon { color: var(--cyan); }
.crm-stage { perspective: 1800px; }
.crm-stage .dash { grid-template-columns: 58px 1fr; min-height: 470px; transform: rotateX(4deg); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.crm-panel { display: none; animation: panelIn .55s var(--ease); }
.crm-panel.on { display: block; }
.no-js .crm-panel:first-of-type, .edit-mode .crm-panel:first-of-type { display: block; }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tbl { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.tbl th { text-align: left; font-weight: 500; color: var(--d-muted); padding: 8px 10px; border-bottom: 1px solid var(--d-line); white-space: nowrap; }
.tbl td { padding: 9px 10px; border-bottom: 1px solid rgba(220,231,245,.05); color: var(--d-text); white-space: nowrap; }
.tbl td.r, .tbl th.r { text-align: right; }
.kanban { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kcol { padding: 10px; border-radius: 12px; background: rgba(255,255,255,.025); border: 1px solid var(--d-line); min-width: 0; }
.kcol > b { display: flex; justify-content: space-between; font-size: 11px; color: var(--d-muted); font-weight: 600; margin-bottom: 8px; }
.kitem { padding: 9px 10px; border-radius: 9px; background: rgba(255,255,255,.05); margin-bottom: 7px; font-size: 11.5px; color: var(--d-text); }
.kitem small { display: block; color: var(--d-muted); font-size: 10px; margin-top: 3px; }
.doc { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.doc-paper { padding: 18px; border-radius: 12px; background: #f5f8fc; color: #15263d; font-size: 11.5px; }
.doc-paper .dh { display: flex; justify-content: space-between; align-items: start; margin-bottom: 14px; }
.doc-paper b { font: 600 15px/1.2 var(--font-d); }
.doc-paper table { width: 100%; border-collapse: collapse; }
.doc-paper td { padding: 6px 0; border-bottom: 1px solid #e3e9f2; }
.doc-paper td.r { text-align: right; }
.doc-paper .tot { display: flex; justify-content: space-between; margin-top: 10px; font-weight: 700; font-size: 13px; }
.qr-box { display: grid; place-items: center; padding: 16px; border-radius: 12px; background: #fff; }
.qr-box svg { width: 120px; height: 120px; }
.meter { height: 7px; border-radius: 99px; background: rgba(255,255,255,.07); overflow: hidden; margin-top: 6px; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--cyan)); transform-origin: left; }
.legend { display: grid; gap: 10px; }
.legend > div { font-size: 11.5px; }
.legend > div > span { display: flex; justify-content: space-between; color: var(--d-text); }
.donut { width: 130px; height: 130px; margin: 6px auto 0; }
.donut circle { fill: none; stroke-width: 14; }
.crm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 28px; }

/* ---------- Industry cards ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.ind { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3.6; color: #fff; isolation: isolate; background: var(--navy); box-shadow: var(--shadow); }
.ind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; z-index: -2; }
.ind::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,20,38,.05) 20%, rgba(7,20,38,.55) 55%, rgba(7,20,38,.94) 100%); transition: background .5s; }
.ind:hover img { filter: brightness(1.08) saturate(1.1); }
.ind:hover::after { background: linear-gradient(180deg, rgba(7,20,38,.15) 0%, rgba(7,20,38,.7) 45%, rgba(7,20,38,.96) 100%); }
.ind-body { position: absolute; inset: auto 0 0; padding: 24px; }
.ind .ico { position: absolute; top: 18px; left: 18px; background: rgba(7,20,38,.55); color: #fff; border-color: rgba(255,255,255,.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ind:hover .ico { background: var(--brand); border-color: transparent; transform: rotate(-6deg); }
.ind h3 { color: #fff; font-size: 21px; margin: 0 0 8px; }
.ind p { font-size: 14px; color: rgba(220,231,245,.85); margin: 0; max-height: 0; opacity: 0; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.ind:hover p, .ind:focus-visible p { max-height: 80px; opacity: 1; margin-bottom: 12px; }
.ind .go { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--cyan); }
.ind .go .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.ind:hover .go .icon { transform: translateX(4px); }
.ind-arrow { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: transform .5s var(--ease), background .3s; }
.ind-arrow .icon { width: 17px; height: 17px; }
.ind:hover .ind-arrow { transform: rotate(45deg); background: var(--brand); border-color: transparent; }

/* ---------- Why / workflow visual ---------- */
.why-list { display: grid; gap: 4px; }
.why-item { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.why-item:last-child { border-bottom: 0; }
.why-item .n { font: 600 13px/1 var(--font-d); color: var(--brand); padding-top: 5px; width: 26px; flex: none; }
.why-item h3 { font-size: 18px; margin: 0 0 6px; }
.why-item p { margin: 0; font-size: 15px; color: var(--muted); }
.flow { position: relative; aspect-ratio: 1 / .92; border-radius: var(--r-lg); background: radial-gradient(100% 100% at 30% 0%, var(--navy-2), var(--navy) 70%); overflow: hidden; box-shadow: var(--shadow-lg); }
.flow .grid-lines { -webkit-mask-image: none; mask-image: none; opacity: .7; }
.flow-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.flow-svg path { fill: none; stroke: rgba(var(--cyan-rgb), .45); stroke-width: 1.4; stroke-dasharray: 5 7; animation: dash 20s linear infinite; }
.flow-node { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(13,34,60,.85); border: 1px solid var(--d-line-strong); color: #fff; font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); }
.flow-node .ico { width: 32px; height: 32px; border-radius: 9px; }
.flow-node .ico .icon { width: 16px; height: 16px; }
.flow-hub { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 120px; height: 120px; border-radius: 30px; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand), #0b5fc0); box-shadow: 0 0 0 10px rgba(var(--brand-rgb), .12), 0 0 0 22px rgba(var(--brand-rgb), .06), 0 30px 60px -20px rgba(var(--brand-rgb), .8); color: #fff; text-align: center; font: 600 14px/1.25 var(--font-d); }
.flow-hub .icon { width: 30px; height: 30px; margin: 0 auto 6px; }
.flow-hub::after { content: ""; position: absolute; inset: -22px; border-radius: 40px; border: 1px solid rgba(var(--cyan-rgb), .3); animation: pulse 3.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 34px; }
.tl-line { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line-strong); border-radius: 2px; overflow: hidden; }
.tl-line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--brand), var(--cyan)); transform-origin: left; transform: scaleX(1); }
.anim .tl-line i { transform: scaleX(0); }
.tl-step { position: relative; padding-top: 34px; }
.tl-dot { position: absolute; top: -9px; left: 0; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--brand); box-shadow: 0 0 0 6px rgba(var(--brand-rgb), .12); }
.dark .tl-dot { background: var(--navy); }
.tl-step .n { font: 600 13px/1 var(--font-d); color: var(--brand); letter-spacing: .08em; }
.tl-step h3 { font-size: 20px; margin: 12px 0 10px; }
.tl-step p { font-size: 15px; color: var(--muted); margin: 0; }
.dark .tl-line { background: var(--d-line-strong); }
.dark .tl-step p { color: var(--d-muted); }

/* ---------- CTA ---------- */
.cta-x { position: relative; overflow: hidden; background: var(--navy); color: var(--d-text); text-align: center; padding-block: clamp(90px, 11vw, 150px); }
.cta-x h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -.04em; max-width: 880px; margin: 0 auto 20px; }
.cta-x p { max-width: 640px; margin: 0 auto 36px; font-size: 18px; color: var(--d-muted); }
.cta-x .btn-row { justify-content: center; }
.cta-x .glow-bg::before { right: 10%; top: -40%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-card { padding: clamp(26px, 3.4vw, 44px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.field label .req { color: var(--brand); }
.field input, .field select, .field textarea {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--light);
  font-size: 15px; color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); background-color: #fff; box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.field input::placeholder, .field textarea::placeholder { color: #94a3b8; }
.field.err input, .field.err textarea, .field.err select { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, .12); }
.field .msg { display: none; font-size: 12.5px; color: #c92a2f; margin-top: 6px; }
.field.err .msg { display: block; }
.form-status { display: none; align-items: flex-start; gap: 10px; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.form-status.show { display: flex; }
.form-status.ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.form-status.err { background: #fef2f2; color: #b42318; border: 1px solid #fecaca; }
.form-status .icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; text-align: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form .btn[disabled] { opacity: .7; pointer-events: none; }
.contact-points { display: grid; gap: 12px; margin-top: 32px; }
.cpoint { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, transform .3s var(--ease); }
a.cpoint:hover { border-color: rgba(var(--brand-rgb), .4); transform: translateX(4px); }
.cpoint small { display: block; font-size: 12.5px; color: var(--muted); }
.cpoint strong, .cpoint a { font-weight: 600; color: var(--ink); }
.dark .cpoint { background: rgba(255,255,255,.03); border-color: var(--d-line); }
.dark .cpoint strong, .dark .cpoint a { color: #fff; }
.map-frame { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background: var(--light); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.8); }

/* ---------- Inner page heroes ---------- */
.p-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(56px, 7vw, 100px)) 0 clamp(64px, 7vw, 100px); background: radial-gradient(120% 100% at 80% 0%, var(--navy-2), var(--navy) 60%); color: var(--d-text); }
.p-hero h1 { font-size: clamp(38px, 4.8vw, 66px); line-height: 1.04; letter-spacing: -.045em; color: #fff; margin-bottom: 22px; }
.p-hero .lead { max-width: 600px; margin-bottom: 32px; }
.p-hero.center { text-align: center; }
.p-hero.center .lead { margin-inline: auto; }
.p-hero.center .btn-row, .p-hero.center .crumbs { justify-content: center; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--d-muted); margin-bottom: 26px; }
.crumbs a:hover { color: #fff; }
.crumbs .icon { width: 13px; height: 13px; opacity: .6; }
.crumbs [aria-current] { color: var(--cyan); }
.p-hero .split { gap: clamp(30px, 5vw, 70px); }
.p-hero.photo { min-height: min(760px, 92vh); display: flex; align-items: flex-end; padding-bottom: clamp(56px, 6vw, 88px); background: var(--navy); }
.p-hero.photo .bg { position: absolute; inset: 0; z-index: 0; }
.p-hero.photo .bg img { width: 100%; height: 115%; object-fit: cover; object-position: center 30%; }
.p-hero.photo .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,20,38,.95) 0%, rgba(7,20,38,.82) 38%, rgba(7,20,38,.25) 75%), linear-gradient(0deg, rgba(7,20,38,.9), transparent 45%); }
.p-hero.photo .container { position: relative; z-index: 1; width: 100%; }
.p-hero.photo .split { align-items: end; }
.p-hero.light { background: var(--light); color: var(--text); }
.p-hero.light h1 { color: var(--ink); }
.p-hero.light .lead { color: var(--muted); }
.p-hero.light .crumbs { color: var(--muted); }
.p-hero.light .crumbs a:hover { color: var(--ink); }
.p-hero.light .crumbs [aria-current] { color: var(--brand); }
.p-hero.light .grid-lines { background-image: linear-gradient(rgba(21,38,61,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(21,38,61,.05) 1px, transparent 1px); }
.mini-panel { padding: 22px; border-radius: var(--r-lg); background: rgba(13,34,60,.72); border: 1px solid var(--d-line-strong); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); color: var(--d-text); }
.mini-panel h4 { color: #fff; font-size: 15px; margin: 0 0 14px; display: flex; justify-content: space-between; align-items: center; }
.summary { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.summary h3 { font-size: 17px; margin: 0 0 16px; }

/* Device mockups for service heroes */
.browser { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(0,0,0,.75); border: 1px solid rgba(255,255,255,.15); }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #e9eef5; }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c6d0dd; }
.browser-bar span { flex: 1; margin-left: 10px; height: 20px; border-radius: 6px; background: #fff; font-size: 10.5px; color: #64748b; display: flex; align-items: center; padding-left: 10px; }
.browser-body { padding: 0; background: var(--light); }
.site-mock .sm-hero { padding: 26px 22px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.site-mock .sm-hero b { display: block; font: 600 20px/1.15 var(--font-d); max-width: 70%; margin-bottom: 10px; }
.site-mock .sm-hero span { display: inline-block; height: 24px; width: 92px; border-radius: 99px; background: var(--brand); }
.site-mock .sm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 16px; }
.site-mock .sm-cards i { height: 70px; border-radius: 10px; background: #fff; border: 1px solid #e3e9f2; }
.site-mock .sm-lines { padding: 0 16px 18px; display: grid; gap: 7px; }
.site-mock .sm-lines i { height: 8px; border-radius: 4px; background: #dfe7f1; }
.phone { width: 230px; aspect-ratio: 9 / 19; border-radius: 36px; padding: 10px; background: #0d1d33; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8), inset 0 0 0 2px rgba(255,255,255,.04); }
.phone-scr { height: 100%; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #0f2747, #091a30); padding: 34px 14px 14px; position: relative; color: var(--d-text); font-size: 11px; }
.phone-scr::before { content: ""; position: absolute; top: 10px; left: 50%; width: 70px; height: 18px; margin-left: -35px; border-radius: 99px; background: #050c18; }
.phone-scr h6 { font: 600 15px/1.2 var(--font-d); color: #fff; margin: 0 0 12px; }
.code { border-radius: 16px; overflow: hidden; background: #0a1729; border: 1px solid var(--d-line-strong); box-shadow: 0 50px 100px -40px rgba(0,0,0,.75); font: 12.5px/1.75 ui-monospace, SFMono-Regular, Consolas, monospace; }
.code pre { margin: 0; padding: 20px 22px; color: #b6c6dc; white-space: pre; overflow: hidden; }
.code .k { color: #7cc4ff; } .code .s { color: #8ee6c4; } .code .c { color: #5d7393; } .code .f { color: #f5c97b; }
.serp { padding: 20px; border-radius: 16px; background: #fff; color: #15263d; box-shadow: 0 50px 100px -40px rgba(0,0,0,.75); }
.serp-q { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 99px; border: 1px solid #dfe5ee; font-size: 13.5px; color: #3a4b63; margin-bottom: 16px; }
.serp-q .icon { width: 16px; height: 16px; color: #64748b; }
.serp-r { padding: 12px 14px; border-radius: 12px; margin-bottom: 8px; }
.serp-r.top { background: var(--brand-50); border: 1px solid rgba(var(--brand-rgb), .25); }
.serp-r small { color: #0f7a3a; font-size: 11.5px; }
.serp-r b { display: block; color: #1a4fd6; font: 600 14.5px/1.3 var(--font); margin: 2px 0 4px; }
.serp-r i { display: block; height: 7px; border-radius: 4px; background: #e3e9f2; margin-top: 5px; }

/* ---------- Feature / content blocks ---------- */
.f-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.f-item { background: #fff; padding: 34px 30px; transition: background .4s; }
.light .f-item { background: #fff; }
.f-item h3 { font-size: 18.5px; margin: 22px 0 10px; }
.f-item p { margin: 0; font-size: 15px; color: var(--muted); }
.f-item:hover { background: var(--light); }
.f-item:hover .ico { transform: translateY(-3px) rotate(-6deg); background: var(--brand); color: #fff; border-color: transparent; }
.dark .f-grid { background: var(--d-line); border-color: var(--d-line); }
.dark .f-item { background: var(--navy); }
.dark .f-item:hover { background: var(--navy-2); }
.dark .f-item p { color: var(--d-muted); }
.offer-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.offer-pills li { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--line-strong); color: var(--ink); }
.dark .offer-pills li, .p-hero .offer-pills li { background: rgba(255,255,255,.05); border-color: var(--d-line-strong); color: var(--d-text); }
.prose p { font-size: 16.5px; }
.prose p:first-of-type { font-size: 18.5px; color: var(--ink); }
.statement { font: 500 clamp(24px, 2.6vw, 34px)/1.35 var(--font-d); letter-spacing: -.02em; color: var(--ink); max-width: 980px; }
.statement em { font-style: normal; color: var(--brand); }
.dark .statement { color: #fff; }
.dark .statement em { color: var(--cyan); }
.media { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media .tagline { position: absolute; left: 18px; bottom: 18px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.rel { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); color: inherit; transition: transform .4s var(--ease), translate .4s var(--ease), rotate .5s var(--ease), border-color .3s, box-shadow .4s; }
.rel strong { display: block; font: 600 16px/1.3 var(--font-d); color: var(--ink); }
.rel small { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.rel .arr { margin-left: auto; color: var(--brand); }
.rel .arr .icon { transition: transform .3s var(--ease); }
.rel:hover { translate: 0 -4px; border-color: rgba(var(--brand-rgb), .4); box-shadow: var(--shadow); }
.rel:hover .arr .icon { transform: translateX(4px); }
.rel:hover .ico { background: var(--brand); color: #fff; }
.fine-print { max-width: 820px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }
.dark .fine-print { color: var(--d-muted); }
.note-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: var(--brand-50); border: 1px solid rgba(var(--brand-rgb), .2); color: var(--ink); font-size: 14.5px; }
.note-box .icon { color: var(--brand); width: 20px; height: 20px; margin-top: 1px; }
.chal { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chal > div { padding: 30px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #fff; }
.chal > div.sol { background: var(--navy); border-color: transparent; color: var(--d-text); }
.chal h3 { font-size: 19px; margin: 0 0 16px; display: flex; align-items: center; gap: 10px; }
.chal .sol h3 { color: #fff; }
.chal ul { display: grid; gap: 12px; }
.chal li { display: flex; gap: 12px; font-size: 15px; }
.chal li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; margin-top: 9px; background: #c3cddb; }
.chal .sol li::before { background: var(--cyan); box-shadow: 0 0 0 4px rgba(var(--cyan-rgb), .15); }

/* ---------- Legacy components (Local SEO, Our Clients, 404) ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(56px, 7vw, 96px)) 0 clamp(56px, 6vw, 84px); text-align: center; background: radial-gradient(120% 100% at 80% 0%, var(--navy-2), var(--navy) 60%); color: var(--d-text); }
.page-hero h1 { font-size: clamp(38px, 4.8vw, 64px); letter-spacing: -.045em; color: #fff; margin-bottom: 18px; }
.page-hero .lead { max-width: 660px; margin-inline: auto; color: var(--d-muted); }
.page-hero .crumbs { justify-content: center; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero + .section, .page-hero + .section.tight { background: var(--white); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 12.5px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.eyebrow .dot { display: none; }
.icon-tile { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--brand); background: linear-gradient(145deg, rgba(var(--brand-rgb), .12), rgba(var(--cyan-rgb), .08)); border: 1px solid rgba(var(--brand-rgb), .18); transition: transform .4s var(--ease), background .3s, color .3s; }
.icon-tile .icon { width: 22px; height: 22px; }
.card.glass { background: #fff; }
.glass { background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.feature-list { display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.feature-list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill-list li { padding: 8px 15px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); background: #fff; border: 1px solid var(--line-strong); }
.media-frame { padding: 8px; border-radius: var(--r-lg); }
.media-frame img { border-radius: 18px; width: 100%; }
.media-frame.contain { display: grid; place-items: center; padding: 32px; min-height: 300px; }
.media-frame.contain img { width: auto; max-height: 360px; border-radius: 0; }
.skills { padding: 30px; display: grid; gap: 22px; border-radius: var(--r-lg); }
.skill-head { display: flex; justify-content: space-between; font-weight: 600; color: var(--ink); margin-bottom: 8px; font-size: 15px; }
.bar { height: 8px; border-radius: 99px; background: var(--light); overflow: hidden; }
.bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--cyan)); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px; border-radius: var(--r-lg); }
.stat { padding: 26px 18px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font: 600 clamp(32px, 3.6vw, 44px)/1.05 var(--font-d); letter-spacing: -.04em; color: var(--ink); }
.stat strong sup { font-size: .5em; color: var(--brand); }
.stat > span { display: block; margin-top: 4px; font-size: 14px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value { padding: 28px; border-radius: var(--r); }
.value .n { font: 600 13px/1 var(--font-d); color: var(--brand); }
.value h3 { font-size: 19px; margin: 14px 0 0; }
.member { overflow: hidden; border-radius: var(--r-lg); }
.member img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: top; }
.member-body { padding: 24px; }
.member .role { font-size: 12.5px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .1em; }
.member h3 { font-size: 20px; margin: 8px 0 10px; }
.member p { font-size: 14.5px; color: var(--muted); margin: 0; }
.logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.logo-cell { aspect-ratio: 3 / 2; border-radius: 16px; display: grid; place-items: center; padding: 22px; transition: transform .4s var(--ease), box-shadow .4s; }
.logo-cell img { max-height: 70px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.logo-cell:hover { translate: 0 -4px; box-shadow: var(--shadow); }
.logo-cell:hover img { filter: none; opacity: 1; }
.quote { padding: 32px; border-radius: var(--r-lg); display: flex; flex-direction: column; }
.quote .stars { display: flex; gap: 3px; color: #f5b301; margin-bottom: 16px; }
.quote .stars .icon { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.quote blockquote { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--ink); flex: 1; }
.quote .who { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.quote .who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.quote .who strong { display: block; color: var(--ink); }
.quote .who span { font-size: 13.5px; color: var(--muted); }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--light); box-shadow: var(--shadow); }
.case img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.case:hover img { transform: scale(1.05); }
.case figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 12px 14px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(255,255,255,.92); }
.case figcaption strong { display: block; font-size: 15px; color: var(--ink); }
.case figcaption span { font-size: 12.5px; color: var(--muted); }
.case figcaption .tag { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.case figcaption .tag .icon { width: 15px; height: 15px; }
.pricing { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { padding: 30px 26px; border-radius: var(--r-lg); display: flex; flex-direction: column; position: relative; background: #fff; border: 1px solid var(--line); }
.plan.featured { background: var(--navy); color: var(--d-text); border-color: transparent; box-shadow: var(--glow); }
.plan.featured h3, .plan.featured .plan-hours { color: #fff; }
.plan h3 { font-size: 20px; margin-bottom: 6px; }
.plan-sub { font-size: 14px; color: var(--muted); min-height: 44px; }
.plan.featured .plan-sub { color: var(--d-muted); }
.plan-hours { font: 600 38px/1 var(--font-d); color: var(--ink); letter-spacing: -.04em; }
.plan-hours small { font: 500 14px var(--font); color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 22px 0 26px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; flex: 1; }
.plan.featured ul { border-color: var(--d-line); }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .icon { width: 16px; height: 16px; color: var(--brand); stroke-width: 2.4; }
.plan-badge { position: absolute; top: 18px; right: 18px; padding: 4px 10px; border-radius: 99px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; }
.btn-glass { color: var(--ink); background: #fff; border-color: var(--line-strong); }
.btn-glass:hover { border-color: var(--brand); color: var(--brand-700); translate: var(--bx, 0px) calc(var(--by, 0px) - 2px); }
.plan.featured .btn-glass { background: rgba(255,255,255,.06); color: #fff; border-color: var(--d-line-strong); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-card { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.map-frame.glass { padding: 0; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--navy-800); color: var(--d-muted); font-size: 14.5px; }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--brand-rgb), .5), transparent); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr; gap: 40px; padding-block: 80px 52px; position: relative; z-index: 1; }
.footer-brand img { height: 52px; width: auto; max-width: 210px; object-fit: contain; margin-bottom: 22px; }
.footer-brand p { line-height: 1.7; max-width: 340px; }
.site-footer h4 { font: 600 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 20px; }
.footer-links { display: grid; gap: 11px; }
.footer-links a { color: var(--d-muted); transition: color .25s, padding .25s; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact { display: grid; gap: 12px; margin-bottom: 26px; }
.footer-contact a, .footer-contact > span { display: flex; gap: 10px; align-items: flex-start; color: var(--d-muted); }
.footer-contact a:hover { color: #fff; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--cyan); margin-top: 3px; }
.newsletter { display: flex; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--d-line-strong); background: rgba(255,255,255,.03); }
.newsletter input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; padding: 0 14px; color: #fff; outline: none; }
.newsletter input::placeholder { color: var(--d-muted); }
.newsletter .btn { height: 42px; padding: 0 18px; font-size: 14px; }
.site-footer .form-status { margin-top: 10px; font-size: 13.5px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--d-line-strong); color: var(--d-text); transition: background .3s, border-color .3s, transform .3s var(--ease); }
.socials a:hover { background: var(--brand); border-color: transparent; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 26px; border-top: 1px solid var(--d-line); font-size: 13.5px; position: relative; z-index: 1; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Mobile action bar ---------- */
.mobile-cta { display: none; }

/* ---------- Motion: initial states (only when JS animation is active) ---------- */
.anim [data-a] { opacity: 0; }
.anim .hero h1 .w, .anim [data-hero] { opacity: 0; }
.hero h1 { perspective: 900px; }
.hero h1 .w { transform-origin: 50% 100%; }
.hero h1 .grad .w { background: linear-gradient(100deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.reveal { }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim [data-a], .anim .hero h1 .w, .anim [data-hero] { opacity: 1 !important; }
}
.edit-mode [data-a], .edit-mode .hero h1 .w, .edit-mode [data-hero] { opacity: 1 !important; transform: none !important; }
.edit-mode .float, .edit-mode .light-sweep { animation: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1240px) {
  .nav a, .nav .nav-trigger { padding-inline: 10px; font-size: 14px; }
  .nav-actions .btn { padding: 0 18px; }
}
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: repeat(3, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .vp:nth-child(3) { border-left: 0; }
  .vp:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc.flag { grid-column: 1 / -1; grid-row: auto; }
  .crm-wrap { grid-template-columns: 1fr; }
  .crm-tabs { position: static; display: flex; overflow-x: auto; gap: 6px; padding-bottom: 6px; scrollbar-width: none; }
  .crm-tabs::-webkit-scrollbar { display: none; }
  .crm-tab { width: auto; flex: none; }
  .pricing { grid-template-columns: repeat(2, 1fr); }
  .f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .menu-toggle { display: grid; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; margin: 0; height: calc(100dvh - var(--header-h)); overflow-y: auto;
    padding: 18px var(--gutter) 40px; background: rgba(7, 20, 38, .98); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    opacity: 0; visibility: hidden; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--d-line); }
  .nav a, .nav .nav-trigger { width: 100%; justify-content: space-between; padding: 18px 4px; font-size: 18px; font-family: var(--font-d); border-radius: 0; color: #fff; }
  .nav > ul > li > a[aria-current="page"], .nav .is-current > .nav-trigger { box-shadow: none; color: var(--cyan); }
  .nav a:hover, .nav .nav-trigger:hover { background: none; }
  .mega, .mega.wide { position: static; transform: none; min-width: 0; display: none; opacity: 1; visibility: visible; background: none; border: 0; box-shadow: none; padding: 0 0 14px; grid-template-columns: 1fr; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .has-menu:hover > .mega { display: none; transform: none; }
  .has-menu.open > .mega { display: grid; transform: none; }
  .mega::before { display: none; }
  .nav .mega a { padding: 10px 6px; font-family: var(--font); font-size: 15px; align-items: center; }
  .mega small { display: none; }
  .nav .nav-mobile-cta { display: flex; margin-top: 26px; width: 100%; height: 54px; justify-content: center; background: var(--brand); color: #fff; border-radius: 999px; font-family: var(--font); font-size: 16px; }
  .nav-open { overflow: hidden; }
  .split, .split.reverse, .hero .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .stage { min-height: 460px; max-width: 680px; width: 100%; margin-inline: auto; }
  .grid-3, .grid-4, .ind-grid, .rel-grid, .cases, .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 46px; }
  .tl-line { display: none; }
  .p-hero.photo { min-height: 0; padding-top: calc(var(--header-h) + 70px); }
  .chal { grid-template-columns: 1fr; }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; --gutter: 18px; }
  body { font-size: 15.5px; }
  .brand img { height: 38px; }
  .nav-actions .btn { display: none; }
  .section { padding-block: 64px; }
  .section.tight { padding-block: 48px; }
  .section-head h2, .h2 { font-size: 30px; }
  .section-head p { font-size: 16px; }
  .section-head.row { display: block; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 16.5px; }
  .btn-row { display: grid; grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .stage { min-height: 360px; }
  .stage-inner { transform: rotateY(-6deg) rotateX(4deg); }
  .stage .dash { inset: 30px 0 40px; }
  .stage .layer.hide-sm { display: none; }
  .dash { grid-template-columns: 1fr; font-size: 11px; }
  .dash-side { display: none; }
  .dash-main { padding: 12px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .dgrid { grid-template-columns: 1fr; }
  .dgrid > .dcard:nth-child(2) { display: none; }
  .crm-stage .dgrid > .dcard:nth-child(2) { display: block; }
  .bars, .spark { height: 70px; }
  .fcard { padding: 9px 12px 9px 9px; font-size: 12px; }
  .fcard .ico { width: 30px; height: 30px; }
  .values-row { grid-template-columns: 1fr; }
  .vp { padding: 26px 22px; }
  .vp + .vp { border-left: 0; border-top: 1px solid var(--line); }
  .bento, .grid-2, .grid-3, .grid-4, .rel-grid, .values, .f-grid, .pricing, .form-row { grid-template-columns: 1fr; }
  .svc, .svc.flag { padding: 24px; }
  .svc.flag { grid-template-columns: 1fr; }
  .crm-stage .dash { min-height: 0; transform: none; }
  .kanban { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
  .tbl th:nth-child(n+4), .tbl td:nth-child(n+4) { display: none; }
  .ind-grid, .cases { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px; scrollbar-width: none; }
  .ind-grid::-webkit-scrollbar, .cases::-webkit-scrollbar { display: none; }
  .ind, .cases > .case { flex: 0 0 84%; scroll-snap-align: center; }
  .ind p { max-height: 80px; opacity: 1; margin-bottom: 12px; }
  .timeline { grid-template-columns: 1fr; padding-top: 0; padding-left: 30px; row-gap: 34px; }
  .timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(180deg, var(--brand), var(--cyan)); border-radius: 2px; }
  .tl-step { padding-top: 0; }
  .tl-dot { top: 2px; left: -30px; }
  .flow { aspect-ratio: 1 / 1.05; }
  .flow-node { font-size: 11.5px; padding: 7px 10px 7px 7px; }
  .flow-node .ico { width: 26px; height: 26px; }
  .flow-hub { width: 92px; height: 92px; font-size: 12px; border-radius: 24px; }
  .p-hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 56px; }
  .p-hero h1, .page-hero h1 { font-size: 36px; }
  .phone { width: 200px; }
  .chal > div, .summary, .form-card { padding: 22px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 34px 20px; padding-block: 56px 34px; }
  .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; padding-bottom: 96px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 150;
    padding: 8px; border-radius: 20px; background: rgba(7, 20, 38, .88); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur);
    border: 1px solid var(--d-line-strong); box-shadow: 0 20px 50px -16px rgba(0,0,0,.7);
    transform: translateY(150%); transition: transform .45s var(--ease);
  }
  .mobile-cta .btn { height: 46px; padding: 0 12px; font-size: 14px; width: 100%; }
  .mobile-cta .btn-ghost { color: #fff; background: rgba(255,255,255,.06); border-color: var(--d-line-strong); }
  .show-mcta .mobile-cta { transform: none; }
  .nav-open .mobile-cta { transform: translateY(150%); }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 34px; }
  .kpis .kpi b { font-size: 14px; }
}
@media print {
  .site-header, .mobile-cta, .net-canvas, .progress { display: none !important; }
  .anim [data-a] { opacity: 1 !important; }
}

/* ---------- v7 refinements ---------- */
.flow-svg path, .nodes-svg path { vector-effect: non-scaling-stroke; }
.svc.flag { grid-template-columns: 1fr 1.15fr; }
.svc.flag .dash { grid-template-columns: 1fr; }
.svc.flag .dash-side { display: none; }
.svc.flag .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc.flag .dgrid { grid-template-columns: 1fr; }
.svc.flag .dgrid > .dcard:nth-child(2) .row:nth-child(n+3) { display: none; }
.svc.flag .dash-search { display: none; }
.svc.ask { justify-content: space-between; background: linear-gradient(145deg, var(--brand), #0b5fc0); border-color: transparent; color: #fff; position: relative; overflow: hidden; }
.svc.ask::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; bottom: -110px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 0 0 40px rgba(255,255,255,.05), 0 0 0 80px rgba(255,255,255,.04); }
.svc.ask h3 { color: #fff; }
.svc.ask p { color: rgba(255,255,255,.85); }
.svc.ask .ico { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.25); }
.svc.ask .link-arrow { color: #fff; position: relative; z-index: 1; }
.svc.ask:hover { box-shadow: 0 30px 60px -24px rgba(var(--brand-rgb), .8); }
@media (max-width: 1100px) { .svc.ask { grid-column: 1 / -1; } }
/* Light-hero pages: header starts solid so white nav stays readable */
body:has(.p-hero.light) .site-header { background: rgba(7, 20, 38, .94); border-bottom-color: var(--d-line); }
.p-hero.light { padding-top: calc(var(--header-h) + clamp(56px, 7vw, 100px)); }
/* Industry hero: soft photo atmosphere + sharp framed photo */
.p-hero.photo .bg img { filter: blur(14px) saturate(1.1); transform: scale(1.12); opacity: .55; }
.p-hero.photo .bg::after { background: linear-gradient(90deg, rgba(7,20,38,.96) 0%, rgba(7,20,38,.86) 45%, rgba(7,20,38,.6) 100%), linear-gradient(0deg, rgba(7,20,38,.95), transparent 50%); }
.p-hero.photo { min-height: 0; align-items: center; padding-top: calc(var(--header-h) + clamp(56px, 6vw, 90px)); }
.p-hero.photo .split { align-items: center; }
.ind-visual { position: relative; padding: 0 0 56px 40px; }
.ind-visual .frame { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--d-line-strong); box-shadow: 0 50px 100px -40px rgba(0,0,0,.8); aspect-ratio: 16 / 10; }
.ind-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.ind-visual .mini-panel { position: absolute; left: 0; bottom: 0; width: min(380px, 78%); }
@media (max-width: 640px) { .ind-visual { padding: 0 0 70px 0; } .ind-visual .mini-panel { left: 12px; right: 12px; width: auto; } }
.stage .phone { position: relative; }
@media (min-width: 1025px) { .stage .layer.float.hide-sm[style*="right:2%"] { right: calc(50% - 300px) !important; } .stage .layer.float.hide-sm[style*="left:2%"] { left: calc(50% - 300px) !important; } }
@media (max-width: 640px) { .dash-search { display: none; } .dash-top { flex-wrap: wrap; } .crm-panel .tbl { font-size: 10.5px; } }
@media (max-width: 1024px) { .nav-actions { margin-left: auto; } }
@media (max-width: 640px) {
  .svc.flag { grid-template-columns: 1fr; }
  .svc.flag .dash { transform: none; }
  .vp { padding: 22px 20px; }
  .vp h3 { margin-top: 14px; }
}

/* =====================================================================
   v8 motion layer: scroll headings, cursor, 3D cards, cubes, marquee,
   statement highlight, footer redesign
   ===================================================================== */

/* ---- Split headings (word mask reveal) ---- */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.sw > .wi { display: inline-block; will-change: transform; }
.grad .wi, .text-grad .wi { background: linear-gradient(100deg, var(--brand), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.anim .split-h .wi { transform: translateY(110%); }
.edit-mode .split-h .wi { transform: none !important; }
@media (prefers-reduced-motion: reduce) { .anim .split-h .wi { transform: none; } }

/* ---- Statement words light up on scroll ---- */
.hl .hw { transition: none; }
.anim .hl .hw { opacity: .18; }
.statement-band { position: relative; overflow: hidden; }
.statement-band .statement { font-size: clamp(28px, 3.6vw, 52px); line-height: 1.22; max-width: 1100px; letter-spacing: -.03em; }

/* ---- Marquee ---- */
.marquee { position: relative; overflow: hidden; padding-block: 26px; background: var(--navy); border-block: 1px solid var(--d-line); }
.marquee .track { display: flex; width: max-content; gap: 0; white-space: nowrap; will-change: transform; }
.marquee .track + .track { margin-top: 14px; }
.marquee span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font: 600 clamp(22px, 2.6vw, 38px)/1.1 var(--font-d); letter-spacing: -.02em; color: #fff; }
.marquee span::after { content: ""; width: 10px; height: 10px; border-radius: 3px; transform: rotate(45deg); background: linear-gradient(135deg, var(--brand), var(--cyan)); }
.marquee .track.outline span { color: transparent; -webkit-text-stroke: 1px rgba(220, 231, 245, .35); }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--navy), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--navy), transparent); }

/* ---- 3D glass cubes (decorative, scroll-rotated) ---- */
.cube3d { position: absolute; width: var(--s, 120px); height: var(--s, 120px); perspective: 900px; pointer-events: none; z-index: 0; }
.cube { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(38deg); }
.cube i { position: absolute; inset: 0; border: 1px solid rgba(var(--cyan-rgb), .45); background: linear-gradient(135deg, rgba(var(--brand-rgb), .16), rgba(var(--cyan-rgb), .05)); box-shadow: inset 0 0 30px rgba(var(--brand-rgb), .25); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cube i:nth-child(1) { transform: translateZ(calc(var(--s, 120px) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s, 120px) / 2)); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s, 120px) / 2)); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s, 120px) / 2)); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s, 120px) / 2)); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s, 120px) / 2)); }
.ring3d { position: absolute; width: var(--s, 220px); height: var(--s, 220px); border-radius: 50%; border: 1px solid rgba(var(--cyan-rgb), .35); transform: rotateX(70deg); pointer-events: none; z-index: 0; box-shadow: 0 0 40px rgba(var(--brand-rgb), .25), inset 0 0 40px rgba(var(--brand-rgb), .2); }
.ring3d::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }

/* ---- 3D card tilt (individual rotate property, so GSAP transforms stay intact) ---- */
.bento, .grid, .f-grid, .ind-grid, .rel-grid, .values-row, .pricing, .chal, .contact-points, .cases, .logos { perspective: 1400px; }
.tilt3d { transform-style: preserve-3d; will-change: rotate; }
.tilt3d .ico, .tilt3d h3, .tilt3d .num { transition: transform .5s var(--ease); }
.tilt3d.tilting .ico { transform: translateZ(30px); }
.tilt3d.tilting h3 { transform: translateZ(18px); }
.tilt-glare { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.14), transparent 45%); z-index: 2; }
.tilt3d.tilting .tilt-glare { opacity: 1; }

/* ---- Custom cursor ---- */
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label, .has-cursor .crm-tab { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select, .has-cursor iframe { cursor: auto; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cyan); box-shadow: 0 0 12px rgba(var(--cyan-rgb), .9); }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border: 1.5px solid rgba(var(--brand-rgb), .7); display: grid; place-items: center; transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s; }
.cur-ring b { font: 600 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .25s; }
.cur-on .cur-dot, .cur-on .cur-ring { opacity: 1; }
.cur-link .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(var(--brand-rgb), .12); border-color: rgba(var(--cyan-rgb), .8); }
.cur-link .cur-dot { transform: scale(.4); }
.cur-view .cur-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--brand); border-color: transparent; box-shadow: 0 10px 40px -8px rgba(var(--brand-rgb), .8); }
.cur-view .cur-ring b { opacity: 1; }
.cur-view .cur-dot { opacity: 0; }
.cur-text .cur-ring { width: 4px; height: 30px; margin: -15px 0 0 -2px; border-radius: 2px; background: var(--brand); border-color: transparent; }
.cur-text .cur-dot { opacity: 0; }
.cur-down .cur-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
.cur-trail { position: fixed; left: 0; top: 0; z-index: 9998; pointer-events: none; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: rgba(var(--cyan-rgb), .5); }

/* ---- Footer v8 ---- */
.site-footer { background: var(--navy-800); }
.site-footer .net-canvas { opacity: .55; }
.footer-cta { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr auto; gap: 40px; align-items: center; padding-block: 76px 56px; border-bottom: 1px solid var(--d-line); }
.footer-cta h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; letter-spacing: -.04em; color: #fff; margin: 0; max-width: 760px; }
.footer-cta p { margin: 16px 0 0; color: var(--d-muted); font-size: 17px; max-width: 560px; }
.footer-quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.footer-quick > a, .footer-quick > span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--d-line-strong); color: var(--d-text); font-size: 14.5px; transition: border-color .3s, background .3s, color .3s; }
.footer-quick a:hover { border-color: rgba(var(--cyan-rgb), .6); background: rgba(var(--brand-rgb), .12); color: #fff; }
.footer-quick .icon { width: 16px; height: 16px; color: var(--cyan); }
.spin-badge { position: relative; display: grid; place-items: center; width: 168px; height: 168px; border-radius: 50%; color: #fff; isolation: isolate; }
.spin-badge svg.ring-text { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.spin-badge svg.ring-text text { font: 600 11px var(--font); letter-spacing: .12em; fill: var(--d-text); text-transform: uppercase; }
.spin-badge .core { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--brand), #0b5fc0); box-shadow: 0 0 0 10px rgba(var(--brand-rgb), .12), 0 20px 50px -14px rgba(var(--brand-rgb), .9); transition: transform .5s var(--ease); }
.spin-badge .core .icon { width: 28px; height: 28px; transform: rotate(-45deg); transition: transform .5s var(--ease); }
.spin-badge:hover .core { transform: scale(1.08); }
.spin-badge:hover .core .icon { transform: rotate(0deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.footer-top { padding-block: 60px 40px; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr; }
.footer-word { position: relative; z-index: 1; overflow: hidden; padding-top: 10px; user-select: none; }
.footer-word span { display: block; font: 700 clamp(64px, 15.5vw, 236px)/.86 var(--font-d); letter-spacing: -.06em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(220, 231, 245, .16); background: linear-gradient(180deg, rgba(var(--brand-rgb), .32), rgba(var(--brand-rgb), 0) 80%); -webkit-background-clip: text; background-clip: text; transform-origin: 50% 100%; }
.footer-bottom { align-items: center; }
.footer-bottom .to-top { display: inline-flex; align-items: center; gap: 10px; color: var(--d-text); }
.footer-bottom .to-top i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--d-line-strong); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.footer-bottom .to-top .icon { width: 16px; height: 16px; transform: rotate(-90deg); }
.footer-bottom .to-top:hover i { background: var(--brand); border-color: transparent; transform: translateY(-3px); }
.footer-meta { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-meta span { display: inline-flex; align-items: center; gap: 8px; }
.footer-meta .dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .15); }

/* ---- Scroll-scene helpers ---- */
.crm-stage, .svc.flag > div:last-child, .stage, .ind-visual, .flow { transform-style: preserve-3d; }
.ind img { will-change: transform; }

@media (max-width: 1024px) {
  .footer-cta { grid-template-columns: 1fr; }
  .spin-badge { width: 140px; height: 140px; }
  .footer-top { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .cube3d, .ring3d { display: none; }
  .footer-cta { padding-block: 56px 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .marquee { padding-block: 18px; }
  .statement-band .statement { font-size: 26px; }
}

/* v8 glue */
.anim .hero h1[data-split] { visibility: hidden; }
.edit-mode .hero h1[data-split] { visibility: visible; }
@media (prefers-reduced-motion: reduce) { .anim .hero h1[data-split] { visibility: visible; } }
.spin-badge, .socials a, .to-top, .menu-toggle { translate: var(--bx, 0px) var(--by, 0px); transition: translate .45s var(--ease), background .3s, border-color .3s; }
.has-cursor .tilt-glare { mix-blend-mode: soft-light; }
.dark .tilt-glare, .svc.flag .tilt-glare, .ind .tilt-glare { background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(var(--cyan-rgb), .18), transparent 45%); mix-blend-mode: normal; }

/* CTA heading on the dark band is always white */
.cta-x h2, .cta-x h2 .wi { color: #fff; }
.cta-x .kicker { color: var(--cyan); }

/* =====================================================================
   v9 responsive pass: CRM showcase + tablet/phone polish
   ===================================================================== */
/* Tablet: tabs scroll sideways with fading edge + panel keeps a steady height */
@media (max-width: 1100px) {
  .crm-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px; scroll-snap-type: x proximity; }
  .crm-tab { scroll-snap-align: start; padding: 10px 14px; font-size: 14px; }
  .crm-stage .dash-main { min-height: 400px; }
}
@media (max-width: 1024px) {
  .cube3d, .ring3d { display: none; }
  .crm .section-head { margin-bottom: 30px; }
  .crm-foot { flex-direction: column; align-items: flex-start; }
  .svc.flag { grid-template-columns: 1fr 1fr; }
  .hero .split > div:first-child { max-width: 680px; }
  .p-hero .split > div[data-a="scale"], .p-hero .split > .ind-visual, .p-hero .summary { max-width: 640px; width: 100%; }
  .contact-grid .form-card { max-width: 680px; }
  .flow { max-width: 560px; margin-inline: auto; width: 100%; }
}

/* Phone */
@media (max-width: 640px) {
  .crm-wrap { gap: 16px; }
  .crm-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; overflow: visible; padding: 0; -webkit-mask-image: none; mask-image: none; }
  .crm-tab { flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 12px 6px; min-height: 74px; border-radius: 14px; border: 1px solid var(--d-line); background: rgba(255,255,255,.03); font-size: 11.5px; line-height: 1.2; text-align: center; white-space: normal; }
  .crm-tab .icon { width: 20px; height: 20px; }
  .crm-tab[aria-selected="true"] { background: rgba(var(--brand-rgb), .2); border-color: rgba(var(--cyan-rgb), .5); box-shadow: 0 10px 24px -12px rgba(var(--brand-rgb), .8); }
  .crm-stage .dash { grid-template-columns: 1fr; min-height: 0; border-radius: 16px; }
  .crm-stage .dash-side { display: none; }
  .crm-stage .dash-main { min-height: 0; padding: 14px; }
  .crm-panel .dash-top { margin-bottom: 12px; }
  .crm-panel .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .crm-panel .kpi { padding: 10px; }
  .crm-panel .kpi b { font-size: 16px; }
  .crm-panel .dgrid { grid-template-columns: 1fr; gap: 8px; }
  .crm-panel .dgrid > .dcard:nth-child(2) { display: block; }
  .crm-panel .bars, .crm-panel .spark { height: 84px; }
  .crm-panel .row .t { font-size: 12px; }
  .crm-panel .tbl { font-size: 11.5px; }
  .crm-panel .tbl th, .crm-panel .tbl td { padding: 9px 6px; }
  .crm-panel .tbl th:nth-child(n+3):not(:last-child), .crm-panel .tbl td:nth-child(n+3):not(:last-child) { display: none; }
  .crm-panel .tbl th:nth-child(4), .crm-panel .tbl td:nth-child(4) { display: none; }
  .kanban { display: flex; grid-template-columns: none; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -14px; padding: 0 14px 6px; scrollbar-width: none; }
  .kanban::-webkit-scrollbar { display: none; }
  .kcol { flex: 0 0 78%; scroll-snap-align: start; }
  .doc { gap: 10px; }
  .doc-paper { padding: 14px; }
  .qr-box svg { width: 110px; height: 110px; }
  .legend > div > span { font-size: 11.5px; }
  .demo-note { font-size: 11.5px; line-height: 1.5; align-items: flex-start; }
  .demo-note .icon { margin-top: 2px; }
  .crm-foot { margin-top: 22px; gap: 14px; }
  .crm-foot .btn-row { width: 100%; }
  .svc.flag { grid-template-columns: 1fr; }

  /* general phone polish */
  .section-head { margin-bottom: 28px; }
  .section-head.row > .btn { margin-top: 16px; }
  .hero-tag { font-size: 12px; padding-right: 12px; }
  .hero-badges { gap: 8px 16px; margin-top: 28px; padding-top: 20px; }
  .values-row, .f-grid { border-radius: 20px; }
  .f-item { padding: 24px 20px; }
  .f-item h3, .vp h3 { font-size: 17px; }
  .statement { font-size: 22px; }
  .statement-band .statement { font-size: 25px; }
  .why-item { padding: 14px 0; }
  .timeline { row-gap: 26px; }
  .tl-step h3 { font-size: 18px; margin: 8px 0 6px; }
  .ind { aspect-ratio: 4 / 4.4; }
  .ind-body { padding: 18px; }
  .chal > div { padding: 22px 20px; }
  .rel { padding: 16px; }
  .contact-points { margin-top: 24px; }
  .cpoint { padding: 14px; }
  .form-card { padding: 20px 16px; border-radius: 20px; }
  .p-hero .split { gap: 36px; }
  .ind-visual { padding-left: 0; }
  .summary { padding: 22px; }
  .cta-x { padding-block: 72px; }
  .cta-x h2 { font-size: 32px; }
  .cta-x p { font-size: 16px; }
  .footer-cta h2 { font-size: 30px; }
  .footer-quick > a { font-size: 13.5px; padding: 9px 14px; }
  .spin-badge { width: 120px; height: 120px; }
  .spin-badge .core { width: 70px; height: 70px; }
  .footer-word span { font-size: 26vw; }
  .footer-bottom { gap: 14px; }
  .footer-meta { justify-content: center; }
  .marquee span { font-size: 22px; gap: 16px; padding-right: 16px; }
  .plan { padding: 24px 20px; }
  .member-body { padding: 20px; }
}
@media (max-width: 380px) {
  .crm-tab { font-size: 10.5px; padding: 10px 4px; min-height: 68px; }
  .crm-panel .kpi b { font-size: 14px; }
}
@media (max-width: 640px) { .crm-panel .tbl th:last-child, .crm-panel .tbl td:last-child { display: table-cell; } }
.section-head.row > .btn { flex: none; }
@media (max-width: 820px) { .section-head.row { display: block; } .section-head.row > .btn { margin-top: 18px; } }
html { overflow-x: clip; }
main, .cta-x, .site-footer { overflow-x: clip; }

/* =====================================================================
   v10: HD photos, simple mobile header/footer, new approach section,
   futuristic finish
   ===================================================================== */
/* Industry hero: photos are HD now, so the background stays sharp (just darkened) */
.p-hero.photo .bg img { filter: saturate(1.05); transform: scale(1.04); opacity: .42; }

/* ---------- Futuristic finish ---------- */
::selection { background: rgba(var(--cyan-rgb), .35); color: #fff; }
.kicker { font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, Menlo, monospace; font-size: 12px; font-weight: 600; letter-spacing: .16em; }
.kicker::before { width: 8px; height: 8px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 0 3px rgba(var(--cyan-rgb), .18), 0 0 14px rgba(var(--cyan-rgb), .9); animation: kpulse 2.4s ease-in-out infinite; }
.kicker::after { content: "//"; order: -1; opacity: .45; margin-right: -2px; }
@keyframes kpulse { 50% { box-shadow: 0 0 0 6px rgba(var(--cyan-rgb), 0), 0 0 22px rgba(var(--cyan-rgb), 1); } }
.grad, .grad .wi, .hero h1 .grad .w { background-image: linear-gradient(100deg, var(--brand) 0%, var(--cyan) 35%, #9be7ff 50%, var(--cyan) 65%, var(--brand) 100%); background-size: 220% 100%; animation: gshift 7s linear infinite; }
@keyframes gshift { to { background-position: -220% 0; } }
/* scanning beam over the grid in dark sections */
.section.dark > .grid-lines::after, .hero > .grid-lines::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; background: linear-gradient(180deg, transparent, rgba(var(--cyan-rgb), .07) 85%, rgba(var(--cyan-rgb), .35) 100%); animation: scan 9s linear infinite; }
@keyframes scan { from { transform: translateY(-120px); } to { transform: translateY(1400px); } }
/* faint tech dot-grid on light sections */
.section.light { background-image: radial-gradient(rgba(21, 38, 61, .07) 1px, transparent 1.2px); background-size: 26px 26px; background-color: var(--light); }
/* glowing edges on cards */
.svc:not(.flag):hover, .rel:hover, .cpoint:hover { border-color: rgba(var(--brand-rgb), .45); box-shadow: 0 0 0 1px rgba(var(--brand-rgb), .18), 0 24px 50px -26px rgba(var(--brand-rgb), .55); }
.site-header.scrolled::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(var(--cyan-rgb), .7), transparent); pointer-events: none; }
.form-card { position: relative; }
.form-card::before, .form-card::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid var(--brand); pointer-events: none; opacity: .8; }
.form-card::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--r-lg); }
.form-card::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--r-lg); }

/* ---------- Our approach (orbit system) ---------- */
.approach { overflow: hidden; }
.ap-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 55% at 78% 50%, rgba(var(--brand-rgb), .22), transparent 70%), radial-gradient(30% 40% at 10% 90%, rgba(var(--cyan-rgb), .08), transparent 70%); }
.approach-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.approach .statement { font-size: clamp(26px, 2.9vw, 40px); line-height: 1.24; letter-spacing: -.03em; margin: 0 0 36px; }
.ap-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ap-list li { position: relative; display: grid; grid-template-columns: auto auto 1fr; gap: 16px; align-items: start; padding: 18px 20px; border: 1px solid var(--d-line); border-radius: 16px; background: linear-gradient(90deg, rgba(var(--brand-rgb), .07), rgba(255,255,255,.015)); transition: border-color .4s, background .4s, translate .45s var(--ease); }
.ap-list li::before { content: ""; position: absolute; left: -1px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--cyan), var(--brand)); box-shadow: 0 0 12px rgba(var(--cyan-rgb), .8); }
.ap-list li:hover { border-color: rgba(var(--cyan-rgb), .4); background: linear-gradient(90deg, rgba(var(--brand-rgb), .16), rgba(255,255,255,.02)); translate: 6px 0; }
.ap-n { font: 600 12px/1 ui-monospace, Consolas, Menlo, monospace; color: var(--cyan); letter-spacing: .1em; padding-top: 14px; }
.ap-list .ico { width: 40px; height: 40px; border-radius: 12px; }
.ap-list h3 { font-size: 17px; color: #fff; margin: 2px 0 4px; }
.ap-list p { font-size: 14.5px; line-height: 1.55; color: var(--d-muted); margin: 0; }

.ap-core { position: relative; width: min(520px, 100%); aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.ap-orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(var(--cyan-rgb), .3); animation: aprot 46s linear infinite; }
.ap-orbit.o1 { inset: 22%; animation-duration: 34s; }
.ap-orbit.o2 { inset: 5%; border-style: solid; border-color: rgba(220, 231, 245, .1); animation-direction: reverse; }
.ap-orbit::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid transparent; border-top-color: rgba(var(--cyan-rgb), .9); filter: drop-shadow(0 0 6px rgba(var(--cyan-rgb), .9)); }
.ap-node { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)) translateX(var(--r)) rotate(calc(var(--a) * -1)); }
.o1 .ap-node { --r: 28cqw; }
.o2 .ap-node { --r: 45cqw; }
.ap-node > span { position: absolute; translate: -50% -50%; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; padding: 8px 12px 8px 9px; border-radius: 999px; font: 600 13px/1 var(--font); color: #fff; background: rgba(11, 30, 53, .92); border: 1px solid rgba(var(--cyan-rgb), .35); box-shadow: 0 10px 30px -12px rgba(0,0,0,.8), 0 0 18px -6px rgba(var(--brand-rgb), .9); animation: aprot 34s linear infinite reverse; }
.o2 .ap-node > span { animation-duration: 46s; animation-direction: normal; }
.ap-node .icon { width: 15px; height: 15px; color: var(--cyan); }
.ap-hub { position: absolute; inset: 37%; border-radius: 50%; display: grid; place-items: center; text-align: center; background: radial-gradient(circle at 35% 30%, #3aa6ff, var(--brand) 45%, #0a4fa6); box-shadow: 0 0 0 12px rgba(var(--brand-rgb), .12), 0 0 0 26px rgba(var(--brand-rgb), .06), 0 0 80px rgba(var(--brand-rgb), .8); }
.ap-hub b { font: 700 clamp(13px, 3.6cqw, 18px)/1.2 var(--font-d); color: #fff; letter-spacing: -.01em; }
.ap-hub i { position: absolute; inset: -12px; border-radius: 50%; border: 1px solid rgba(var(--cyan-rgb), .6); animation: hubping 3s var(--ease) infinite; }
.ap-radar { position: absolute; inset: 5%; border-radius: 50%; background: conic-gradient(from 0deg, rgba(var(--cyan-rgb), .22), transparent 70deg); animation: aprot 8s linear infinite; -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%); }
@keyframes aprot { to { rotate: 360deg; } }
@keyframes hubping { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 1024px) {
  .approach-grid { grid-template-columns: 1fr; }
  .ap-core { width: min(460px, 100%); }
}
@media (max-width: 640px) {
  .approach .statement { font-size: 24px; margin-bottom: 26px; }
  .ap-list li { grid-template-columns: auto 1fr; padding: 16px; gap: 12px; }
  .ap-n { display: none; }
  .ap-core { width: min(360px, 100%); margin-top: 8px; }
  .ap-node > span { font-size: 11px; padding: 6px 9px 6px 7px; gap: 5px; }
  .ap-node .icon { width: 12px; height: 12px; }
  .o2 .ap-node { --r: 42cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .ap-orbit, .ap-node > span, .ap-radar, .ap-hub i, .kicker::before, .grad, .grad .wi, .hero h1 .grad .w, .section.dark > .grid-lines::after, .hero > .grid-lines::after { animation: none; }
}

/* ---------- Mobile/tablet header menu: simple, text left + icon right ---------- */
@media (max-width: 1024px) {
  .mega, .mega.wide { padding: 0 0 12px 12px; margin-left: 4px; border-left: 1px solid rgba(var(--cyan-rgb), .25); gap: 0; }
  .nav .mega a { flex-direction: row; justify-content: flex-start; align-items: center; gap: 12px; padding: 12px 4px 12px 10px; text-align: left; border-radius: 10px; }
  .nav .mega a > span:not(.ico) { flex: 1; min-width: 0; text-align: left; }
  .nav .mega a > .ico { flex: 0 0 30px; }
  .mega strong { font: 500 15.5px/1.35 var(--font); color: var(--d-text); }
  .nav .mega a[aria-current="page"] strong { color: var(--cyan); }
  .mega .ico { width: 30px; height: 30px; flex: none; border-radius: 8px; background: rgba(var(--brand-rgb), .1); border-color: rgba(var(--brand-rgb), .25); color: var(--cyan); }
  .mega .ico .icon { width: 16px; height: 16px; }
  .nav .mega a:hover, .nav .mega a[aria-current="page"] { background: rgba(var(--brand-rgb), .1); }
  .nav a, .nav .nav-trigger { font-size: 17px; padding: 16px 4px; }
}

/* ---------- Footer: big wordmark removed; simple accordion footer on mobile ---------- */
.footer-word { display: none; }
.f-acc { all: unset; display: block; font: inherit; color: inherit; cursor: default; }
.f-acc .icon { display: none; }
@media (max-width: 820px) {
  .site-footer .net-canvas { display: none; }
  .footer-cta { grid-template-columns: 1fr; gap: 0; padding-block: 48px 32px; }
  .footer-cta h2 { font-size: 28px; line-height: 1.15; }
  .footer-cta p { font-size: 15.5px; margin-top: 10px; }
  .spin-badge { display: none; }
  .footer-quick { display: grid; gap: 8px; margin-top: 22px; }
  .footer-quick > a { justify-content: flex-start; width: 100%; border-radius: 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 0; padding-block: 28px 8px; }
  .footer-brand { padding-bottom: 22px; }
  .f-col { border-top: 1px solid var(--d-line); }
  .f-col h4 { margin: 0; }
  .f-acc { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px 0; cursor: pointer; font-size: 15px; color: #fff; }
  .f-acc .icon { display: block; width: 18px; height: 18px; color: var(--d-muted); transition: rotate .3s var(--ease); }
  .f-col.open .f-acc .icon { rotate: 180deg; color: var(--cyan); }
  .f-col .footer-links { display: none; padding: 0 0 14px; margin: 0; }
  .f-col.open .footer-links { display: grid; gap: 2px; }
  .f-col .footer-links a { display: block; padding: 6px 0; }
  .footer-top > div:last-child { grid-column: auto; border-top: 1px solid var(--d-line); padding-top: 22px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 10px; padding-block: 20px 96px; font-size: 13px; }
  .footer-bottom .footer-meta { display: none; }
}
