/* ==========================================================================
   Thinkmate — design system v2
   Light, airy layout · electric-blue gradient panels · glass cards
   Brand: shield logo indigo → cyan
   ========================================================================== */
:root {
  --blue-700: #1a2fd6;
  --blue-600: #2440f5;
  --blue-500: #3d5cff;
  --blue-400: #6f88ff;
  --blue-100: #e8edff;
  --blue-50: #f3f6ff;
  --cyan-500: #19c6d4;
  --cyan-400: #3fe0e0;
  --grad: linear-gradient(120deg, #2440f5 0%, #3d7bff 45%, #19c6d4 100%);
  --grad-text: linear-gradient(100deg, #2440f5 0%, #2f86f0 50%, #14b8c4 100%);

  --deep-900: #060b2e;
  --deep-800: #0b1453;
  --deep-700: #12207a;

  --ink: #0b1020;
  --ink-2: #2b3350;
  --muted: #6a7290;
  --line: #e4e8f2;
  --line-2: #eff2f8;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --shadow-sm: 0 1px 2px rgba(11,16,32,.05), 0 2px 8px -2px rgba(11,16,32,.06);
  --shadow: 0 18px 40px -20px rgba(20,32,120,.25);
  --shadow-lg: 0 40px 80px -30px rgba(10,20,90,.45);

  --container: 1240px;
  --header-h: 72px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Inter Tight", "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--ink-2); }
h1, h2, h3, h4 { margin: 0 0 .75rem; font-family: var(--font-display); color: var(--ink); letter-spacing: -.035em; line-height: 1.08; }
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
h4 { letter-spacing: -.01em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 300; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sm { padding: clamp(48px, 6vw, 80px) 0; }
.section-soft { background: var(--bg-soft); }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Small label chip — "• Why clients trust us" */
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500;
  background: var(--blue-50); border: 0; color: var(--blue-700); margin-bottom: 20px; box-shadow: none;
  align-self: flex-start; width: fit-content;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue-600); }
.chip.on-dark { background: rgba(255,255,255,.14); border: 0; color: #eef2ff; box-shadow: none; backdrop-filter: blur(6px); }
.chip.on-dark::before { background: var(--cyan-400); }
.chip b { background: var(--blue-600); color: #fff; padding: 2px 10px; border-radius: 999px; font-weight: 600; font-size: .75rem; margin-left: -8px; }
.chip:has(b)::before { display: none; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head p { font-size: 1.1rem; color: var(--muted); max-width: 620px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center p { margin-inline: auto; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row h2 { margin: 0; max-width: 640px; }
.head-row p { max-width: 340px; color: var(--muted); margin: 0; font-size: .95rem; }
.sparkle { display: inline-block; width: .55em; height: .55em; vertical-align: super; margin-left: .15em; color: var(--blue-600); }

/* ---------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 52px; padding: 0 8px 0 24px;
  border-radius: 999px; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn .arr { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.18); transition: transform .25s ease; }
.btn .arr svg { width: 16px; height: 16px; }
.btn:hover .arr { transform: rotate(-45deg); }
.btn:not(:has(.arr)) { padding: 0 24px; }
.btn > svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue-600); color: #fff; box-shadow: 0 12px 26px -12px rgba(36,64,245,.75); }
.btn-primary:hover { background: var(--blue-700); transform: translateY(-1px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1c2340; transform: translateY(-1px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline .arr { background: var(--blue-50); color: var(--blue-600); }
.btn-outline:hover { border-color: var(--blue-400); color: var(--blue-600); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white .arr { background: var(--blue-600); color: #fff; }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(0,0,0,.5); }
.btn-glass { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.2); }
.btn-sm { height: 44px; font-size: .9rem; padding: 0 6px 0 18px; }
.btn-sm .arr { width: 32px; height: 32px; }
.btn-sm:not(:has(.arr)) { padding: 0 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue-600); font-size: .92rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }
.round-arrow { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink); background: #fff; transition: .25s; }
.round-arrow svg { width: 18px; height: 18px; transition: transform .25s; }

/* ---------------------------------------------------------------- Header — floating pill */
.header { position: sticky; top: 0; z-index: 100; padding: 14px 0; transition: padding .25s; }
.header-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--header-h); padding: 0 10px 0 22px;
  background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  border: 1px solid rgba(228,232,242,.9); border-radius: 999px; box-shadow: 0 10px 30px -18px rgba(20,32,120,.25); transition: box-shadow .25s, background .25s;
}
.header.scrolled { padding: 8px 0; }
.header.scrolled .header-bar { background: rgba(255,255,255,.92); box-shadow: 0 16px 40px -20px rgba(20,32,120,.35); }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 32px; height: auto; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.03em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > li { position: relative; }
.nav > li > a, .nav > li > button {
  display: inline-flex; align-items: center; gap: 5px; padding: 10px 14px; border-radius: 999px; font-weight: 500; font-size: .93rem;
  color: var(--ink-2); background: none; border: 0; cursor: pointer; font-family: inherit; transition: background .15s, color .15s;
}
.nav > li > a:hover, .nav > li > button:hover { background: var(--bg-soft); color: var(--ink); }
.nav > li.active > a, .nav > li.active > button { background: var(--blue-600); color: #fff; }
.nav .chev { width: 14px; height: 14px; transition: transform .2s; }
.nav li.open .chev { transform: rotate(180deg); }
.header-cta { display: flex; align-items: center; gap: 8px; }

.mega {
  position: absolute; top: calc(100% + 18px); left: 50%; transform: translate(-50%, 8px); width: min(920px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 16px; display: grid; grid-template-columns: 1fr 1fr 270px; gap: 2px 8px; opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.mega.small { width: 340px; grid-template-columns: 1fr; }
.nav li.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a.mi { display: flex; gap: 14px; padding: 11px 12px; border-radius: 16px; transition: background .15s; }
.mega a.mi:hover { background: var(--bg-soft); }
.mi-icon { flex: 0 0 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: .15s; }
.mega a.mi:hover .mi-icon { background: var(--blue-600); color: #fff; }
.mi-icon svg { width: 19px; height: 19px; }
.mi strong { display: block; font-size: .92rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mi small { display: block; font-size: .8rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.mega-feature { border-radius: 22px; padding: 24px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; position: relative; }
.mega-feature h4 { color: #fff; font-size: 1.2rem; margin-bottom: 6px; font-family: var(--font-display); font-weight: 500; }
.mega-feature p { color: #dbe3ff; font-size: .85rem; margin-bottom: 16px; }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; place-items: center; color: var(--ink); }
.burger svg { width: 20px; height: 20px; }

.drawer { position: fixed; inset: 0; z-index: 150; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(6,11,46,.5); opacity: 0; transition: opacity .25s; backdrop-filter: blur(4px); }
.drawer.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; right: 10px; top: 10px; bottom: 10px; width: min(380px, calc(100vw - 20px)); background: #fff; border-radius: var(--r-lg); padding: 18px 18px 28px; transform: translateX(110%); transition: transform .35s cubic-bezier(.2,.8,.2,1); overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.drawer a.dl { display: block; padding: 13px 14px; border-radius: 14px; font-weight: 500; color: var(--ink-2); }
.drawer a.dl:hover, .drawer a.dl.active { background: var(--blue-50); color: var(--blue-600); }
.drawer details summary { list-style: none; padding: 13px 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; display: flex; justify-content: space-between; align-items: center; border-radius: 14px; }
.drawer details summary svg { width: 16px; height: 16px; }
.drawer details summary::-webkit-details-marker { display: none; }
.drawer details[open] summary { color: var(--blue-600); }
.drawer details a { display: block; padding: 9px 14px 9px 26px; font-size: .93rem; color: var(--muted); border-radius: 12px; }
.drawer details a:hover { color: var(--blue-600); background: var(--blue-50); }
.drawer .btn { margin-top: 12px; width: 100%; }

/* ---------------------------------------------------------------- Blue "silk" panel (shared) */
.blue-panel {
  position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #1b35ea;
  background-image:
    radial-gradient(120% 90% at 100% 0%, rgba(63,224,224,.55) 0%, transparent 45%),
    radial-gradient(90% 80% at 0% 100%, rgba(10,18,120,.9) 0%, transparent 60%),
    linear-gradient(135deg, #2a49ff 0%, #1631e0 50%, #0d1fb8 100%);
}
.blue-panel::before {
  /* flowing silk highlights */
  content: ""; position: absolute; inset: -30%; z-index: -1; opacity: .75; filter: blur(30px);
  background:
    radial-gradient(40% 20% at 30% 40%, rgba(255,255,255,.35), transparent 70%),
    radial-gradient(30% 60% at 75% 70%, rgba(120,170,255,.45), transparent 70%),
    conic-gradient(from 210deg at 60% 50%, transparent 0deg, rgba(90,140,255,.5) 60deg, transparent 120deg, rgba(40,220,230,.35) 200deg, transparent 260deg);
  animation: silk 18s ease-in-out infinite alternate;
}
.blue-panel::after {
  /* vertical light streaks (Russian ref) + grain */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,0) 0 60px, rgba(255,255,255,.06) 60px 61px, rgba(255,255,255,0) 61px 120px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
@keyframes silk { 0% { transform: translate(0,0) rotate(0deg) scale(1); } 100% { transform: translate(-4%, 3%) rotate(8deg) scale(1.08); } }
.blue-panel.deep { background: var(--deep-800); background-image: radial-gradient(90% 90% at 0% 100%, rgba(36,64,245,.75), transparent 60%), radial-gradient(70% 70% at 100% 0%, rgba(25,198,212,.35), transparent 60%), linear-gradient(160deg, #0b1453, #060b2e); }
.blue-panel h1, .blue-panel h2, .blue-panel h3, .blue-panel h4 { color: #fff; }
.blue-panel p { color: #d4dcff; }

.glass {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); border-radius: var(--r);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 20px 40px -24px rgba(0,0,0,.5);
}
.glass-white h4, .glass-white h3 { color: var(--ink); }
.glass-white { background: rgba(255,255,255,.92); border: 1px solid rgba(255,255,255,.9); border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(6,11,46,.45); color: var(--ink); }

/* ---------------------------------------------------------------- Home hero */
.hero { position: relative; padding: 24px 0 40px; }
.hero::before { content: ""; position: absolute; inset: -120px 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 15% 20%, rgba(61,92,255,.10), transparent 70%), radial-gradient(40% 50% at 90% 10%, rgba(25,198,212,.10), transparent 70%); }
.hero-frame { display: grid; grid-template-columns: 1fr 1.02fr; gap: 24px; align-items: stretch; }
.hero-copy { padding: clamp(28px, 4vw, 56px) clamp(4px, 2vw, 24px) clamp(28px, 3vw, 40px) 0; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { margin-bottom: 22px; }
.hero-lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; max-width: 560px; }
.hm { border-left: 3px solid var(--blue-100); padding-left: 16px; }
.hm-icons { display: flex; margin-bottom: 14px; }
.hm-icons span { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); border: 2px solid #fff; margin-left: -8px; }
.hm-icons span:first-child { margin-left: 0; }
.hm-icons span:nth-child(2) { background: var(--blue-600); color: #fff; }
.hm-icons svg { width: 15px; height: 15px; }
.hm strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.hm span.l { display: block; font-size: .86rem; color: var(--muted); margin-top: 6px; }

.hero-visual { border-radius: var(--r-xl); min-height: 620px; padding: 28px; }
.hv-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.hv-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: .8rem; font-weight: 500; }
.hv-badge i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.25); }
.hv-stack { position: relative; height: 100%; min-height: 540px; }
.hv-card { position: absolute; padding: 18px 20px; }
.hv-c1 { top: 40px; left: 6%; width: 210px; }
.hv-c1 strong { display: block; font-family: var(--font-display); font-size: 2.4rem; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.hv-c1 small { color: #dbe3ff; font-size: .85rem; }
.hv-c1 .bar { height: 1px; background: rgba(255,255,255,.35); margin: 16px 0 12px; position: relative; }
.hv-c1 .bar::before, .hv-c1 .bar::after { content: ""; position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.hv-c1 .bar::before { left: 0; } .hv-c1 .bar::after { right: 0; }
.hv-c1 .row { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; }
.hv-c1 .row span { background: #fff; color: var(--ink); padding: 5px 12px; border-radius: 999px; font-weight: 600; }
.hv-c2 { top: 200px; right: 5%; width: min(330px, 70%); padding: 20px; }
.hv-c2 > p { font-size: .88rem; color: #e7ecff; margin: 0 0 12px; }
.hv-c2 a { display: flex; align-items: center; justify-content: space-between; background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 7px 7px 16px; font-size: .86rem; font-weight: 500; margin-bottom: 8px; transition: transform .2s; }
.hv-c2 a:hover { transform: translateX(4px); }
.hv-c2 a span { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.hv-c2 a span svg { width: 13px; height: 13px; }
.hv-c3 { top: 64px; right: 7%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; font-size: .78rem; font-weight: 600; }
.hv-c3 .ic { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.hv-c3 .ic svg { width: 16px; height: 16px; }
.hv-c4 { bottom: 20px; left: 6%; width: min(290px, 64%); }
.hv-c4 h4 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; margin: 0 0 12px; }
.hv-c4 .tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hv-c4 .tags span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: .76rem; color: var(--ink-2); }
.hv-c4 .tags span.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.hv-c5 { bottom: 70px; right: 10%; width: 112px; height: 112px; line-height: 1.3; border-radius: 22px; display: grid; place-items: center; text-align: center; font-size: .72rem; font-weight: 700; letter-spacing: .04em; background: linear-gradient(140deg, #2f5bff, #19c6d4); border: 1px solid rgba(255,255,255,.35); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); }
.hv-c5 img { width: 40px; margin: 0 auto 6px; filter: brightness(0) invert(1); }
.hv-lines { position: absolute; inset: 0; pointer-events: none; }
.hv-lines path { stroke: rgba(255,255,255,.45); stroke-width: 1; fill: none; stroke-dasharray: 3 4; }
.hv-lines circle { fill: #fff; }
.float { animation: float 7s ease-in-out infinite; }
.float.d2 { animation-delay: -2.4s; } .float.d3 { animation-delay: -4.8s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Trust strip */
.trust-row { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; padding: 28px 0 8px; }
.trust-row .lbl { font-size: .85rem; color: var(--ink-2); margin: 0 0 12px; }
.trust-logos { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; }
.trust-logos img { height: 40px; width: auto; object-fit: contain; filter: grayscale(1) contrast(1.1); opacity: .65; transition: .2s; }
.trust-logos img:hover { filter: none; opacity: 1; }
.checks { display: flex; gap: 18px; flex-wrap: wrap; }
.checks span { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); font-weight: 500; }
.checks span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-600) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat; }

/* ---------------------------------------------------------------- Stats panel */
.stats-panel { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px) clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px); }
.stats-panel .sp-head { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 8vw, 120px); }
.stats-panel .sp-head h2 { margin-bottom: 14px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-card { padding: 22px 22px 24px; min-height: 190px; display: flex; flex-direction: column; }
.stat-card .ic { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; margin-bottom: auto; }
.stat-card .ic svg { width: 16px; height: 16px; }
.stat-card strong { display: block; font-family: var(--font-display); font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin: 28px 0 10px; color: #fff; }
.stat-card span { font-size: .9rem; color: #dbe3ff; line-height: 1.4; }

/* ---------------------------------------------------------------- Service rows (Russian ref list) */
.svc-table { border-top: 1px solid var(--line); }
.svc-head { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 56px; gap: 24px; padding: 0 0 14px; font-size: .75rem; color: var(--muted); text-transform: lowercase; }
.svc-head span::before { content: "• "; color: var(--blue-400); }
.svc-row { position: relative; display: grid; grid-template-columns: 1.1fr 1.4fr 1fr 56px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: background .25s; }
.svc-row::before { content: ""; position: absolute; inset: 0 -20px; border-radius: 20px; background: var(--blue-50); opacity: 0; transition: opacity .25s; z-index: -1; }
.svc-row:hover::before { opacity: 1; }
.svc-row h3 { font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 500; letter-spacing: -.03em; margin: 0; display: flex; align-items: center; gap: 14px; }
.svc-row h3 .mi-icon { flex: 0 0 44px; height: 44px; }
.svc-row p { margin: 0; color: var(--muted); font-size: .93rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font-size: .78rem; color: var(--ink-2); background: #fff; transition: .25s; }
.svc-row:hover .tags span { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.svc-row:hover .round-arrow { background: var(--ink); color: #fff; border-color: var(--ink); }
.svc-row:hover .round-arrow svg { transform: rotate(-45deg); }
.svc-row a.stretched::after { content: ""; position: absolute; inset: 0; }

/* ---------------------------------------------------------------- Bento (Monopol ref) */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(150px, auto); gap: 16px; }
.b-card { position: relative; background-color: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.b-card h3 { margin-bottom: 6px; }
.b-card p { color: var(--muted); font-size: .93rem; margin: 0; }
.b-tall { grid-row: span 2; }
.b-wide { grid-column: span 2; }
.b-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-600); color: #fff; margin-bottom: 22px; }
.b-icon svg { width: 22px; height: 22px; }
.b-big { font-family: var(--font-display); font-size: clamp(3.6rem, 7vw, 5.6rem); font-weight: 500; letter-spacing: -.05em; line-height: .95; margin: 0 0 auto; color: var(--ink); }
.b-foot { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: .85rem; color: var(--ink-2); }
.toggle { width: 42px; height: 24px; border-radius: 999px; background: var(--blue-600); position: relative; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; }
.b-avatars { display: flex; }
.b-avatars span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: grid; place-items: center; font-size: .7rem; font-weight: 700; color: #fff; background: var(--grad); }
.b-avatars span:first-child { margin-left: 0; }
.b-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(36,64,245,.18) 1px, transparent 1px); background-size: 14px 14px; mask-image: radial-gradient(circle at 100% 0%, #000, transparent 60%); -webkit-mask-image: radial-gradient(circle at 100% 0%, #000, transparent 60%); pointer-events: none; }
.kbd { display: inline-flex; gap: 6px; align-items: center; }
.kbd span { min-width: 34px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); display: grid; place-items: center; font-size: .8rem; font-weight: 600; }
.b-card.blue-panel { border: 0; }
.b-card.blue-panel p { color: #dbe3ff; }
.b-row { display: flex; gap: 16px; align-items: center; justify-content: space-between; }

/* ---------------------------------------------------------------- Capabilities list (GrowSphere ref) */
.cap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.cap-intro { position: sticky; top: calc(var(--header-h) + 48px); }
.cap-item { display: grid; grid-template-columns: 64px 1fr; gap: 24px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.cap-item:first-child { padding-top: 0; }
.cap-item .glyph { width: 56px; height: 56px; color: var(--blue-600); }
.cap-item > div { border-left: 1px solid var(--line); padding-left: 24px; }
.cap-item h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 500; }
.cap-item p { color: var(--muted); font-size: .95rem; }

/* ---------------------------------------------------------------- Generic cards */
.grid { display: grid; gap: 20px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { margin-top: 18px; }
.card p { font-size: .95rem; color: var(--muted); }
.icon-box { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); transition: .25s; }
.icon-box svg { width: 22px; height: 22px; }
.card:hover .icon-box { background: var(--blue-600); color: #fff; }
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.service-card .stretched::before { content: ""; position: absolute; inset: 0; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--blue-600); background: var(--blue-50); padding: 5px 12px; border-radius: 999px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.rev > :first-child { order: 2; }
.checklist { display: grid; gap: 14px; margin: 24px 0 32px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.checklist li::before { content: ""; flex: 0 0 22px; height: 22px; margin-top: 1px; border-radius: 50%; background: var(--blue-600) 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat; }
.checklist li b { color: var(--ink); font-weight: 600; }
.blue-panel .checklist li { color: #dbe3ff; }
.blue-panel .checklist li b { color: #fff; }
.blue-panel .checklist li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232440f5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }

.media-panel { border-radius: var(--r-xl); min-height: 460px; display: grid; place-items: center; padding: 36px; }
.mp-inner { position: relative; display: grid; gap: 12px; width: 100%; max-width: 380px; }
.mp-stat { display: flex; gap: 14px; align-items: center; padding: 16px 18px; }
.mp-stat .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); }
.mp-stat .ic svg { width: 20px; height: 20px; }
.mp-stat strong { display: block; font-size: .98rem; color: #fff; }
.mp-stat small { color: #d4dcff; font-size: .84rem; }

/* Process — deep blue band */
.process { border-radius: var(--r-xl); padding: clamp(36px, 6vw, 80px); }
.process-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.process-top h2 { margin: 0; }
.process-top p { margin: 0; }
.process-icon { width: 52px; height: 52px; color: #fff; margin-bottom: 36px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { padding: 24px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-family: var(--font-display); font-size: .85rem; font-weight: 600; color: var(--cyan-400); margin-bottom: 40px; }
.step h3 { color: #fff; font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: .9rem; margin: 0; color: #c9d3ff; }

/* Projects */
.project-card { overflow: hidden; padding: 0; display: flex; flex-direction: column; }
.project-thumb { height: 220px; display: grid; place-items: center; background: var(--bg-soft); padding: 28px; position: relative; overflow: hidden; }
.project-thumb::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 100% 0%, rgba(61,92,255,.12), transparent 70%); }
.project-thumb img { max-height: 120px; width: auto; object-fit: contain; position: relative; transition: transform .4s; }
.project-card:hover .project-thumb img { transform: scale(1.06); }
.project-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { margin-top: 14px; }
.project-body p { flex: 1; margin: 0; }

/* Testimonial switcher (Finexa ref) */
.testi { display: grid; grid-template-columns: 340px 1fr; gap: 20px; align-items: stretch; }
.testi-photo { border-radius: var(--r-lg); min-height: 360px; display: grid; place-items: center; }
.testi-photo .avatar-xl { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 3.2rem; font-weight: 500; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; backdrop-filter: blur(10px); }
.testi-body { background: var(--bg-soft); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; }
.testi-body .brandline { display: flex; align-items: center; gap: 10px; font-weight: 600; margin-bottom: 24px; }
.testi-body .brandline img { width: 24px; }
.testi-body blockquote { margin: 0 0 28px; font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.35; color: var(--ink); flex: 1; }
.testi-body cite { font-style: normal; }
.testi-body cite strong { display: block; }
.testi-body cite small { color: var(--muted); }
.testi-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.testi-tabs { display: flex; gap: 18px; flex-wrap: wrap; }
.testi-tabs button { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; color: var(--muted); cursor: pointer; }
.testi-tabs button[aria-selected="true"] { color: var(--ink); font-weight: 600; }
.testi-arrows { display: flex; gap: 8px; }
.testi-arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.testi-arrows button svg { width: 16px; height: 16px; }
.testi-arrows button:first-child svg { transform: rotate(180deg); }
.testi-slide[hidden] { display: none !important; }

.quote-card { display: flex; flex-direction: column; gap: 20px; }
.quote-card blockquote { margin: 0; font-size: 1rem; color: var(--ink-2); line-height: 1.7; flex: 1; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { flex: 0 0 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 600; font-size: 1rem; }
.avatar.lg { width: 88px; height: 88px; flex-basis: 88px; font-size: 1.6rem; font-family: var(--font-display); font-weight: 500; }
.person strong { display: block; font-size: 1rem; }
.person small { color: var(--muted); font-size: .85rem; }
.team-card { text-align: center; padding: 34px 24px; }
.team-card .avatar { margin: 0 auto 18px; }
.team-card h3 { margin: 0 0 4px; font-size: 1.08rem; }
.team-card p { margin: 0; font-size: .9rem; }

/* FAQ — two-column grid on home, list on FAQ page */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; font-weight: 600; font-size: .97rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--bg-soft); display: grid; place-items: center; font-size: 1.15rem; font-weight: 400; color: var(--blue-600); transition: transform .25s, background .25s, color .25s; }
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--blue-600); color: #fff; }
.faq-item .faq-a { padding: 0 22px 20px; }
.faq-item .faq-a p { margin: 0; color: var(--muted); font-size: .94rem; }
.faq-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.faq-tabs button { border: 1px solid var(--line); background: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 500; font-family: inherit; color: var(--ink-2); cursor: pointer; transition: .2s; }
.faq-tabs button[aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }

/* ---------------------------------------------------------------- CTA with form (Russian ref) */
.cta-form { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.cta-form .left { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.cta-form .left h2 { margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; }
.cta-form .left h2 .line { display: inline-block; width: 90px; height: 28px; border: 1px solid rgba(255,255,255,.45); border-radius: 999px; position: relative; }
.cta-form .left h2 .line::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: rgba(255,255,255,.7); }
.cta-form .left p { max-width: 440px; margin: 0; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-contacts a { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 999px; font-size: .85rem; color: #fff; }
.cta-contacts svg { width: 16px; height: 16px; }
.dark-form .field label { color: #c9d3ff; }
.dark-form .field input, .dark-form .field select, .dark-form .field textarea { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.dark-form .field input::placeholder, .dark-form .field textarea::placeholder { color: #8f9bd0; }
.dark-form .field select option { color: var(--ink); }
.dark-form .field input:focus, .dark-form .field select:focus, .dark-form .field textarea:focus { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.dark-form .btn { width: 100%; justify-content: space-between; padding-left: 24px; }
.dark-form .form-note { color: #8f9bd0; }
.dark-form .field textarea { min-height: 100px; }

/* ---------------------------------------------------------------- Inner page hero */
.page-hero { padding: 24px 0 0; }
.page-hero .ph-inner { border-radius: var(--r-xl); padding: clamp(48px, 7vw, 96px) clamp(24px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); max-width: 900px; }
.page-hero p.lead { font-size: 1.15rem; color: #d4dcff; max-width: 680px; margin-bottom: 30px; }
.crumbs { display: flex; gap: 8px; font-size: .84rem; color: #b9c5ff; margin-bottom: 26px; flex-wrap: wrap; align-items: center; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Service detail */
.prose { max-width: 760px; }
.prose p { font-size: 1.05rem; }
.detail { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.detail h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.aside { position: sticky; top: calc(var(--header-h) + 48px); display: grid; gap: 16px; }
.aside-card { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background-color: #fff; }
.aside-card h4 { font-size: 1rem; margin-bottom: 12px; font-family: var(--font); }
.aside-card ul li a { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 12px; font-size: .92rem; color: var(--ink-2); }
.aside-card ul li a:hover, .aside-card ul li a.active { background: var(--blue-50); color: var(--blue-600); font-weight: 500; }
.aside-cta { border: 0; padding: 28px; }
.aside-cta h4 { color: #fff; font-size: 1.35rem; font-family: var(--font-display); font-weight: 500; }
.aside-cta .btn { width: 100%; margin-top: 8px; }
.aside-cta .btn:has(.arr) { justify-content: space-between; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 48px; }
.feature { padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: .25s; }
.feature:hover { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.feature .icon-box { width: 44px; height: 44px; margin-bottom: 16px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: .93rem; color: var(--muted); margin: 0; }
.block { margin-bottom: 56px; }
.block:last-child { margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: .2s; }
a.contact-card:hover { border-color: var(--blue-400); box-shadow: var(--shadow); }
.contact-card .icon-box { flex: 0 0 46px; width: 46px; height: 46px; }
.contact-card strong { display: block; font-size: .98rem; }
.contact-card small { color: var(--muted); font-size: .88rem; }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 500; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: .84rem; font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: .96rem; padding: 13px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(61,92,255,.14); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.form-status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 14px; font-size: .92rem; font-weight: 500; }
.form-status.ok { display: block; background: #ecfdf5; color: #047857; }
.form-status.err { display: block; background: #fef2f2; color: #b91c1c; }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* News */
.news-card { padding: 0; overflow: hidden; }
.news-thumb { height: 200px; display: grid; place-items: center; }
.news-thumb svg { width: 52px; height: 52px; color: #fff; position: relative; }
.news-body { padding: 24px 26px 28px; }
.news-meta { font-size: .8rem; color: var(--muted); margin-bottom: 10px; display: flex; gap: 10px; }
.value-card { padding: 30px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); }
.value-card h3 { margin-top: 20px; }

/* ---------------------------------------------------------------- Footer */
.footer { padding: 0; margin-top: clamp(24px, 4vw, 48px); }
.footer-inner { border-radius: var(--r-xl) var(--r-xl) 0 0; padding: clamp(56px, 7vw, 96px) 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand-name { color: #fff; }
.footer .brand img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.3)); }
.footer p { color: #b9c5ff; font-size: .93rem; margin: 18px 0 22px; max-width: 330px; }
.footer h4 { color: #fff; font-size: .92rem; margin-bottom: 16px; font-family: var(--font); font-weight: 600; letter-spacing: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a, .footer .contact-line { color: #c9d3ff; font-size: .92rem; }
.footer ul a:hover, .footer .contact-line a:hover { color: #fff; }
.footer .contact-line { display: flex; gap: 10px; margin-bottom: 14px; }
.footer .contact-line svg { flex: 0 0 18px; width: 18px; height: 18px; color: var(--cyan-400); margin-top: 3px; }
.socials { display: flex; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); color: #fff; transition: .2s; }
.socials a:hover { background: #fff; color: var(--blue-600); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; font-size: .84rem; color: #9fb0f5; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }
.footer-word { font-family: var(--font-display); font-weight: 600; letter-spacing: -.06em; line-height: .8; font-size: clamp(3.4rem, 16vw, 16rem); color: rgba(255,255,255,.07); margin: 36px 0 0; text-align: center; user-select: none; white-space: nowrap; overflow: hidden; }

/* ---------------------------------------------------------------- Reveal */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Chat assistant widget
   ========================================================================== */
.tm-chat { position: fixed; right: 24px; bottom: 24px; z-index: 120; font-family: var(--font); }
.tm-launcher { position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--blue-600); box-shadow: 0 16px 32px -10px rgba(36,64,245,.7); display: grid; place-items: center; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .25s; }
.tm-launcher:hover { transform: scale(1.06); }
.tm-launcher::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(61,92,255,.5); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.tm-launcher svg { width: 26px; height: 26px; position: absolute; transition: transform .3s, opacity .3s; }
.tm-launcher .i-close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.tm-chat.open .tm-launcher { background: #e5484d; box-shadow: 0 14px 30px -8px rgba(229,72,77,.6); }
.tm-chat.open .tm-launcher::before { display: none; }
.tm-chat.open .tm-launcher .i-chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.tm-chat.open .tm-launcher .i-close { opacity: 1; transform: none; }
.tm-badge { position: absolute; top: -2px; right: -2px; width: 20px; height: 20px; border-radius: 50%; background: #ef4444; color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.tm-chat.open .tm-badge, .tm-chat.seen .tm-badge { display: none; }
.tm-teaser { position: absolute; right: 76px; bottom: 10px; width: max-content; max-width: 240px; background: #fff; color: var(--ink); border-radius: 18px 18px 4px 18px; padding: 12px 34px 12px 16px; font-size: .9rem; font-weight: 500; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; transform: translateY(8px); transition: .35s; pointer-events: none; cursor: pointer; }
.tm-teaser.show { opacity: 1; transform: none; pointer-events: auto; }
.tm-teaser button { position: absolute; top: 6px; right: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; width: 24px; height: 24px; border-radius: 6px; font-size: 16px; line-height: 1; }
.tm-chat.open .tm-teaser { display: none; }
.tm-panel { position: absolute; right: 0; bottom: 82px; width: 370px; max-width: calc(100vw - 32px); background: #fff; border-radius: 30px; box-shadow: 0 40px 80px -24px rgba(10,20,90,.45), 0 0 0 1px rgba(11,16,32,.06); padding: 22px 22px 18px; opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1), visibility .3s, width .35s; }
.tm-chat.open .tm-panel { opacity: 1; visibility: visible; transform: none; }
.tm-chat.expanded .tm-panel { width: 460px; }
.tm-mascot { position: absolute; top: -62px; left: 50%; transform: translateX(-50%); width: 76px; height: 76px; animation: bob 3.2s ease-in-out infinite; filter: drop-shadow(0 10px 12px rgba(10,20,48,.25)); }
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -6px); } }
.tm-mascot .eye { animation: blink 4.5s infinite; transform-origin: center; transform-box: fill-box; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.tm-top { display: flex; justify-content: space-between; }
.tm-iconbtn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink-2); transition: .15s; }
.tm-iconbtn:hover { background: var(--bg-soft); color: var(--ink); }
.tm-iconbtn svg { width: 17px; height: 17px; }
.tm-head { text-align: center; margin: 2px 0 20px; }
.tm-head .tm-hs { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); }
.tm-head .tm-hs svg { width: 22px; height: 22px; }
.tm-head h3 { font-size: 1.32rem; line-height: 1.3; margin: 0 0 8px; font-weight: 600; }
.tm-status { font-size: .86rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.tm-status i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.tm-options { display: grid; gap: 10px; margin-bottom: 16px; }
.tm-opt { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px solid; transition: transform .2s, box-shadow .2s; }
.tm-opt:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -12px rgba(11,16,32,.3); }
.tm-opt .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.tm-opt .ic svg { width: 21px; height: 21px; }
.tm-opt .tx { flex: 1; min-width: 0; }
.tm-opt strong { display: block; font-size: .98rem; color: var(--ink); font-weight: 600; }
.tm-opt small { display: block; font-size: .8rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tm-opt .arr { width: 18px; height: 18px; color: var(--muted); transition: transform .2s; }
.tm-opt:hover .arr { transform: translateX(3px); }
.tm-wa { background: #effcf4; border-color: #b7f0cd; }
.tm-wa .ic { background: #d3f7e1; color: #16a34a; }
.tm-wa small { color: #16a34a; font-weight: 600; }
.tm-mail { background: var(--blue-50); border-color: #cdd6ff; }
.tm-mail .ic { background: #dfe5ff; color: var(--blue-600); }
.tm-call { background: #f8fafc; border-color: var(--line); }
.tm-call .ic { background: #eef1f7; color: var(--ink-2); }
.tm-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 16px; transition: border-color .15s, box-shadow .15s; }
.tm-input:focus-within { border-color: var(--blue-500); box-shadow: 0 0 0 4px rgba(61,92,255,.12); }
.tm-input input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: .95rem; background: none; color: var(--ink); }
.tm-input button { flex: 0 0 38px; height: 38px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: var(--line-2); color: var(--muted); transition: .2s; }
.tm-input.has-text button { background: var(--blue-600); color: #fff; }
.tm-input button svg { width: 18px; height: 18px; }
.tm-foot { text-align: center; font-size: .74rem; color: #98a0b8; margin-top: 10px; }

/* ---------------------------------------------------------------- Responsive */
@media (max-width: 1120px) {
  .nav, .header-cta .btn-outline { display: none; }
  .burger { display: grid; }
  .hero-frame { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px 0 8px; }
  .hero-visual { min-height: 560px; }
  .g-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .detail { grid-template-columns: 1fr; }
  .aside { position: static; }
  .svc-head { display: none; }
  .svc-row { grid-template-columns: 1fr auto; gap: 14px 20px; }
  .svc-row h3 { grid-column: 1; }
  .svc-row .round-arrow { grid-column: 2; grid-row: 1 / span 3; }
  .svc-row .tags, .svc-row p { grid-column: 1; }
}
@media (max-width: 900px) {
  .g-3, .bento { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid, .cta-form, .cap, .process-top, .testi { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .cap-intro { position: static; }
  .faq-grid { grid-template-columns: 1fr; }
  .testi-photo { min-height: 220px; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header { padding: 10px 0; }
  .header-bar { height: 62px; padding: 0 6px 0 16px; }
  .header-cta .btn-primary { display: none; }
  .g-2, .g-3, .g-4, .feature-list, .form-row, .bento, .steps, .stats-grid { grid-template-columns: 1fr; }
  .b-wide, .b-tall { grid-column: auto; grid-row: auto; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 40px; }
  .hm { padding-left: 10px; }
  .hm strong { font-size: 1.5rem; }
  .hm-icons { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-actions .btn:has(.arr) { justify-content: space-between; }
  .hero-visual { min-height: 520px; padding: 18px; border-radius: var(--r-lg); }
  .hv-c1 { left: 0; top: 30px; width: 180px; }
  .hv-c1 strong { font-size: 2rem; }
  .hv-c3 { right: 0; top: 30px; display: none; }
  .hv-c2 { right: 0; top: 190px; width: 82%; }
  .hv-c4 { left: 0; bottom: 0; width: 78%; }
  .hv-c5 { right: 0; bottom: 120px; width: 92px; height: 92px; }
  .stat-card { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .trust-row { flex-direction: column; align-items: flex-start; }
  .trust-logos { gap: 24px; }
  .tm-chat { right: 16px; bottom: 16px; }
  .tm-panel, .tm-chat.expanded .tm-panel { width: calc(100vw - 32px); }
  .tm-teaser { display: none; }
  .cap-item { grid-template-columns: 1fr; gap: 14px; }
  .cap-item > div { border-left: 0; padding-left: 0; }
  .page-hero .ph-inner { border-radius: var(--r-lg); }
  .process, .stats-panel, .cta-form { border-radius: var(--r-lg); }
  .footer-inner { border-radius: var(--r-lg) var(--r-lg) 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   v3 additions — grouped mega menu, service tabs, motion
   ========================================================================== */
.mega.mega-grouped { grid-template-columns: repeat(3, 1fr) 250px; width: min(1060px, 94vw); gap: 4px 12px; padding: 20px; }
.mega-col { display: flex; flex-direction: column; gap: 2px; }
.mega-label { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 4px 10px 8px; }
.mega a.mi.compact { padding: 8px 10px; align-items: center; gap: 12px; }
.mega a.mi.compact .mi-icon { flex-basis: 34px; height: 34px; border-radius: 10px; }
.mega a.mi.compact .mi-icon svg { width: 17px; height: 17px; }

.svc-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.svc-tabs button, .faq-tabs button { border: 0; background: var(--bg-soft); padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 500; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.svc-tabs button:hover, .faq-tabs button:hover { transform: translateY(-1px); }
.svc-tabs button[aria-selected="true"], .faq-tabs button[aria-selected="true"] { background: var(--blue-600); color: #fff; }
.svc-row.is-hidden { display: none; }
.svc-row.pop { animation: rowIn .5s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rowIn { from { opacity: 0; transform: translateY(12px); } }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad); pointer-events: none; }

/* Headline word reveal */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; transform: translateY(105%); animation: wordUp .9s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes wordUp { to { transform: none; } }
.hero-lead, .hero-actions, .hero-metrics { animation: fadeUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-lead { animation-delay: .45s; } .hero-actions { animation-delay: .6s; } .hero-metrics { animation-delay: .75s; }
.hero-visual { animation: panelIn 1.1s cubic-bezier(.2,.8,.2,1) .15s both; }
.hero-visual .hv-card { animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-visual .hv-c1 { animation-delay: .5s; } .hero-visual .hv-c3 { animation-delay: .65s; } .hero-visual .hv-c2 { animation-delay: .8s; } .hero-visual .hv-c5 { animation-delay: .95s; } .hero-visual .hv-c4 { animation-delay: 1.1s; }
.hero-visual .hv-card.float { animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both, float 7s ease-in-out 1.6s infinite; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.95); } }
.hv-lines path { stroke-dashoffset: 200; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.hv-parallax { transition: translate .4s cubic-bezier(.2,.8,.2,1); }

/* Animated gradient text */
.grad-text { background-size: 200% auto; animation: shimmer 6s ease-in-out infinite alternate; }
@keyframes shimmer { to { background-position: 100% 50%; } }

/* Button shine */
.btn-primary, .btn-white { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after, .btn-white::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .7s ease; }
.btn-white::after { background: linear-gradient(90deg, transparent, rgba(36,64,245,.12), transparent); }
.btn-primary:hover::after, .btn-white:hover::after { left: 130%; }

/* Ticker */
.ticker { overflow: hidden; border-block: 1px solid var(--line-2); padding: 18px 0; margin-top: 28px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 500; color: var(--ink-2); white-space: nowrap; transition: color .2s; }
.ticker-track a:hover { color: var(--blue-600); }
.ticker-track a svg { width: 18px; height: 18px; color: var(--blue-600); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Card tilt + glow */
.tilt { transform-style: preserve-3d; will-change: transform; }
.b-card, .card, .feature { --mx: 50%; --my: 50%; }
.b-card::after, .feature::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(61,92,255,.10), transparent 40%); }
.feature { position: relative; }
.b-card:hover::after, .feature:hover::after { opacity: 1; }

/* Icon pop on hover */
.svc-row:hover .mi-icon, .card:hover .icon-box, .feature:hover .icon-box { transform: rotate(-8deg) scale(1.08); }
.mi-icon, .icon-box { transition: transform .35s cubic-bezier(.2,.8,.2,1), background .25s, color .25s; }

/* Reveal variants */
.reveal.from-left { transform: translateX(-28px); }
.reveal.from-right { transform: translateX(28px); }
.reveal.zoom { transform: scale(.94); }
.reveal.in.from-left, .reveal.in.from-right, .reveal.in.zoom { transform: none; }

@media (max-width: 1120px) { .mega.mega-grouped { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .split-word > span { transform: none; }
  .ticker-track { animation: none; }
}

/* ==========================================================================
   v4 — service hero visuals, ERP product mockups, tech stack, mobile polish
   ========================================================================== */
/* Service hero (split) */
.svc-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.svc-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.svc-hero-visual { position: relative; min-width: 0; }
.svc-hero .chip svg { display: inline; }

/* Orbit visual */
.orbit { position: relative; width: min(100%, 440px); aspect-ratio: 1; margin: 0 auto; container-type: inline-size; }
.ring { position: absolute; border-radius: 50%; }
.ring.r1 { inset: 0; border: 1px dashed rgba(255,255,255,.35); animation: spin 60s linear infinite; }
.ring.r2 { inset: 15%; border: 1px solid rgba(255,255,255,.18); background: radial-gradient(circle, rgba(255,255,255,.06), transparent 70%); }
.ring.r3 { inset: 30%; border: 1px dashed rgba(255,255,255,.3); animation: spin 40s linear infinite reverse; }
.orbit-core { position: absolute; inset: 38%; border-radius: 28%; background: #fff; color: var(--blue-600); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 60px rgba(63,224,224,.55); animation: corePulse 3.2s ease-in-out infinite; }
.orbit-core svg { width: 42%; height: 42%; }
@keyframes corePulse { 0%,100% { box-shadow: 0 0 0 10px rgba(255,255,255,.12), 0 0 50px rgba(63,224,224,.45); } 50% { box-shadow: 0 0 0 18px rgba(255,255,255,.06), 0 0 80px rgba(63,224,224,.7); } }
.orbit-spin { position: absolute; inset: 0; animation: spin 36s linear infinite; }
.orb { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; transform: rotate(var(--a)) translate(42.5cqw) rotate(calc(-1 * var(--a))); }
.orb-in { width: 100%; height: 100%; border-radius: 18px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(10px); animation: spin 36s linear infinite reverse; box-shadow: 0 12px 24px -12px rgba(0,0,0,.5); }
.orb-in svg { width: 24px; height: 24px; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb .orb-in { transform-origin: center; }
.orbit-label { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: .82rem; font-weight: 600; white-space: nowrap; animation: float 6s ease-in-out infinite; }
.orbit-label i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
.ol1 { left: -4%; bottom: 10%; } .ol2 { right: -4%; top: 6%; animation-delay: -3s; }

/* Dashboard mockup */
.dash-wrap { position: relative; padding: 0 0 28px; }
.dash { display: grid; grid-template-columns: 52px 1fr; background: #f7f9fd; border-radius: 18px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.4); color: var(--ink); font-size: 12px; animation: panelIn 1s cubic-bezier(.2,.8,.2,1) both; }
.dash-side { background: #0b1453; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0; }
.dash-side img { width: 24px; margin-bottom: 8px; }
.dash-side i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #8f9bd0; }
.dash-side i.on { background: var(--blue-600); color: #fff; }
.dash-side svg { width: 15px; height: 15px; }
.dash-main { padding: 14px; display: grid; gap: 10px; min-width: 0; }
.dash-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.dash-search { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 7px 10px; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; }
.dash-search svg { width: 12px; height: 12px; flex: none; }
.dash-user { width: 28px; height: 28px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 700; flex: none; }
.dash-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dk { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; display: grid; gap: 2px; animation: cardIn .7s cubic-bezier(.2,.8,.2,1) both; min-width: 0; }
.dk:nth-child(2) { animation-delay: .1s; } .dk:nth-child(3) { animation-delay: .2s; } .dk:nth-child(4) { animation-delay: .3s; }
.dk-ic { width: 22px; height: 22px; border-radius: 7px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; margin-bottom: 4px; }
.dk-ic svg { width: 12px; height: 12px; }
.dk small { color: var(--muted); font-size: 10px; white-space: nowrap; }
.dk b { font-family: var(--font-display); font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.dk em { font-style: normal; font-size: 9.5px; color: #16a34a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dash-row { display: grid; grid-template-columns: 1.7fr 1fr; gap: 8px; }
.dash-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px; min-width: 0; }
.dc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.dc-head b { font-size: 11.5px; } .dc-head small { color: var(--muted); font-size: 10px; }
.dash-chart { width: 100%; height: 92px; }
.dash-chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.2s cubic-bezier(.4,0,.2,1) .5s forwards; }
.dash-chart .l2 { stroke-dasharray: 4 4; stroke-dashoffset: 0; animation: fadeIn 1s ease 1.4s both; }
.dash-chart .area { animation: fadeIn 1.2s ease 1.2s both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
.dc-donut { display: flex; flex-direction: column; align-items: center; }
.dc-donut .dc-head { align-self: stretch; }
.donut { width: 74px; height: 74px; transform: rotate(-90deg); }
.donut .seg { animation: fadeIn 1s ease .8s both; }
.legend { display: flex; gap: 8px; margin-top: 6px; font-size: 9.5px; color: var(--muted); flex-wrap: wrap; justify-content: center; }
.legend i { display: inline-block; width: 7px; height: 7px; border-radius: 2px; margin-right: 4px; }
.dt-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; border-top: 1px solid var(--line-2); font-size: 11px; color: var(--ink-2); animation: rowIn .6s cubic-bezier(.2,.8,.2,1) both; gap: 8px; }
.dt-row span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st { font-size: 9.5px; padding: 2px 8px; border-radius: 999px; font-weight: 600; flex: none; }
.st.ok { background: #dcfce7; color: #15803d; } .st.wait { background: #fef3c7; color: #b45309; } .st.low { background: #fee2e2; color: #b91c1c; }
.phone { position: absolute; right: -14px; bottom: 0; width: 150px; background: #0b1020; border-radius: 26px; padding: 8px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .6s both, float 7s ease-in-out 2s infinite; }
.phone > * { background: #fff; }
.ph-notch { width: 40px; height: 5px; border-radius: 4px; background: #1f2640 !important; margin: 2px auto 6px; }
.ph-head { border-radius: 18px 18px 0 0; padding: 12px 12px 6px; }
.ph-head small { display: block; font-size: 9px; color: var(--muted); } .ph-head b { font-size: 12px; }
.ph-net { padding: 6px 12px 10px; } .ph-net small { display: block; font-size: 9px; color: var(--muted); }
.ph-net b { font-family: var(--font-display); font-size: 18px; letter-spacing: -.02em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph-lines { padding: 0 12px; display: grid; gap: 5px; }
.ph-lines span { display: flex; justify-content: space-between; font-size: 9.5px; color: var(--ink-2); border-top: 1px solid var(--line-2); padding-top: 5px; }
.ph-lines em { font-style: normal; font-weight: 600; }
.ph-btn { border-radius: 0 0 18px 18px; padding: 10px 12px 14px; }
.ph-btn { color: #fff; text-align: center; font-size: 10px; font-weight: 600; position: relative; }
.ph-btn::before { content: ""; position: absolute; inset: 6px 12px 12px; border-radius: 10px; background: var(--blue-600); z-index: -1; }
.ph-btn { z-index: 0; } .ph-btn { isolation: isolate; }
@keyframes phoneIn { from { opacity: 0; transform: translateY(40px) rotate(4deg); } }

/* Showcase band */
.showcase { border-radius: var(--r-xl); padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.showcase-visual { min-width: 0; padding-right: 10px; }

/* Tech grid */
.tech-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.tech-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 22px 10px; border-radius: var(--r); background: var(--bg-soft); color: #8a93ad; transition: background .25s, color .25s, transform .25s, box-shadow .25s; }
.tech-tile svg { width: 32px; height: 32px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.tech-tile span { font-size: .82rem; font-weight: 500; color: var(--ink-2); }
.tech-tile:hover { background: #fff; color: var(--blue-600); transform: translateY(-4px); box-shadow: var(--shadow); }
.tech-tile:hover svg { transform: scale(1.15); }

/* ERP modules */
.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.module { position: relative; background: #fff; border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s; overflow: hidden; }
.module::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.module:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.module:hover::before { transform: scaleX(1); }
.module:hover .icon-box { background: var(--blue-600); color: #fff; transform: rotate(-8deg) scale(1.08); }
.module h3 { margin: 18px 0 6px; font-size: 1.08rem; }
.module p { font-size: .9rem; color: var(--muted); flex: 1; }
.module .tags span { font-size: .72rem; padding: 3px 10px; }

.compliance { display: flex; flex-wrap: wrap; gap: 10px; }
.compliance span { padding: 12px 18px; border-radius: 14px; background: var(--blue-50); color: var(--blue-700); font-weight: 600; font-size: .92rem; transition: transform .25s, background .25s, color .25s; }
.compliance span:hover { background: var(--blue-600); color: #fff; transform: translateY(-3px); }

/* Timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.timeline::before { content: ""; position: absolute; left: 3%; right: 3%; top: 22px; height: 2px; background: linear-gradient(90deg, var(--blue-600), var(--cyan-500)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s cubic-bezier(.2,.8,.2,1); }
.timeline.in-view::before { transform: scaleX(1); }
.tl-step { position: relative; text-align: center; }
.tl-dot { position: relative; z-index: 1; width: 46px; height: 46px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--blue-600); color: var(--blue-600); font-weight: 700; font-size: .85rem; transition: background .3s, color .3s; }
.tl-step:hover .tl-dot { background: var(--blue-600); color: #fff; }
.tl-step h3 { font-size: 1rem; margin-bottom: 6px; }
.tl-step p { font-size: .86rem; color: var(--muted); margin: 0; }

.industries { margin-top: 48px; }
.industries h3 { margin-bottom: 16px; }
.ind-list { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-list span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg-soft); font-size: .9rem; font-weight: 500; }
.ind-list svg { width: 16px; height: 16px; color: var(--blue-600); }

.proof-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.proof { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); background: #fff; transition: .25s; }
.proof img { width: 64px; height: 44px; object-fit: contain; }
.proof span { flex: 1; } .proof strong { display: block; } .proof small { color: var(--muted); }
.proof > svg { width: 18px; height: 18px; color: var(--muted); transition: transform .25s; }
.proof:hover { border-color: var(--blue-400); box-shadow: var(--shadow); }
.proof:hover > svg { transform: translateX(4px); color: var(--blue-600); }

/* ---------------------------------------------------------------- Responsive for v4 + mobile polish */
@media (max-width: 1120px) {
  .svc-hero, .showcase { grid-template-columns: 1fr; }
  .svc-hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 32px; }
  .timeline::before { display: none; }
  .proof-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* Hero visual: stacked cards instead of overlapping */
  .hero-visual { min-height: 0; padding: 16px; }
  .hv-stack { min-height: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hv-lines, .hv-c5 { display: none; }
  .hv-card { position: static; width: auto !important; translate: none !important; }
  .hv-c1 { grid-column: 1; padding: 16px; }
  .hv-c1 strong { font-size: 1.9rem; }
  .hv-c1 .row small { display: none; }
  .hv-c1 .row { justify-content: flex-start; }
  .hv-c3 { display: flex !important; grid-column: 2; flex-direction: column; align-items: flex-start; justify-content: center; font-size: .78rem; line-height: 1.3; }
  .hv-c2, .hv-c4 { grid-column: 1 / -1; }
  .hv-c2 a { font-size: .9rem; padding: 9px 9px 9px 16px; }
  .hero-visual .hv-card.float { animation: cardIn .9s cubic-bezier(.2,.8,.2,1) both; }

  /* Stats: compact 2 × 2 */
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { min-height: 0; padding: 16px; }
  .stat-card .ic { width: 30px; height: 30px; }
  .stat-card strong { font-size: 2rem; margin: 18px 0 6px; }
  .stat-card span { font-size: .8rem; }
  .stats-panel .sp-head { margin-bottom: 36px; }

  /* Tabs: one horizontal scrolling row */
  .svc-tabs, .faq-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; scroll-snap-type: x proximity; }
  .svc-tabs::-webkit-scrollbar, .faq-tabs::-webkit-scrollbar { display: none; }
  .svc-tabs button, .faq-tabs button { flex: none; scroll-snap-align: start; }

  /* Service rows: arrow sits beside the title */
  .svc-row { grid-template-columns: 1fr 40px; gap: 10px 12px; padding: 20px 0; }
  .svc-row h3 { font-size: 1.15rem; grid-column: 1; }
  .svc-row h3 .mi-icon { flex-basis: 38px; height: 38px; }
  .svc-row .round-arrow { grid-row: 1; grid-column: 2; width: 40px; height: 40px; flex-basis: 40px; }
  .svc-row .tags, .svc-row p { grid-column: 1 / -1; }
  .svc-row::before { inset: 0 -10px; }

  /* Horizontal swipe carousels */
  .steps, .grid.g-3:has(.project-card), .proof-list { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .steps::-webkit-scrollbar, .grid.g-3:has(.project-card)::-webkit-scrollbar { display: none; }
  .steps > *, .grid.g-3:has(.project-card) > *, .proof-list > * { flex: 0 0 82%; scroll-snap-align: start; }
  .process-top { margin-bottom: 28px; }
  .process-icon { margin-bottom: 20px; }

  .bento { gap: 12px; }
  .b-card { padding: 22px; }
  .b-big { font-size: 3.6rem; }
  .kbd { flex-wrap: wrap; }
  .testi-photo { min-height: 160px; }
  .testi-photo .avatar-xl { width: 100px; height: 100px; font-size: 2.2rem; }
  .testi-nav { flex-direction: column; align-items: flex-start; }
  .head-row { margin-bottom: 28px; }
  .section-head { margin-bottom: 36px; }
  .cap-item .glyph { width: 44px; height: 44px; }
  .faq-item summary { padding: 16px 18px; font-size: .93rem; }
  .cta-form { padding: 24px 18px; }
  .footer-word { margin-top: 24px; }

  /* Service page visuals */
  .svc-hero { gap: 28px; }
  .orbit { width: 100%; max-width: 320px; }
  .orb { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .orb-in { border-radius: 14px; } .orb-in svg { width: 20px; height: 20px; }
  .orbit-label { font-size: .72rem; padding: 7px 10px; }
  .ol1 { left: 0; } .ol2 { right: 0; }
  .dash { grid-template-columns: 40px 1fr; font-size: 11px; }
  .dash-side i { width: 26px; height: 26px; }
  .dash-main { padding: 10px; }
  .dash-kpis { grid-template-columns: 1fr 1fr; }
  .dash-row { grid-template-columns: 1fr; }
  .dc-donut { display: none; }
  .phone { width: 120px; right: -6px; bottom: -6px; transform: scale(.95); }
  .showcase { padding: 24px 18px 32px; }
  .showcase-visual { padding-right: 6px; }
  .module-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tech-tile { padding: 16px 6px; }
  .tech-tile svg { width: 26px; height: 26px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .tl-step { display: grid; grid-template-columns: 46px 1fr; gap: 0 16px; text-align: left; padding-bottom: 24px; }
  .tl-step::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: 0; width: 2px; background: var(--blue-100); }
  .tl-step:last-child::before { display: none; }
  .tl-dot { grid-row: span 2; margin: 0; }
  .tl-step h3 { margin-top: 10px; }
}
.orbit-core > span { display: grid; place-items: center; width: 100%; height: 100%; }
.orbit-core > span svg { width: 42%; height: 42%; }
.trust-logos img { filter: none; opacity: .85; }
@media (max-width: 1120px) { .aside-card:not(.aside-cta) { display: none; } }
@media (max-width: 640px) {
  .module-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: -16px; padding: 0 16px 8px; scrollbar-width: none; }
  .module-grid::-webkit-scrollbar { display: none; }
  .module-grid > * { flex: 0 0 82%; scroll-snap-align: start; }
}

/* ==========================================================================
   v5 — full-bleed bands, per-service hero visuals
   ========================================================================== */
.bleed { border-radius: 0 !important; margin-inline: calc(50% - 50vw); padding-left: calc(50vw - 50%) !important; padding-right: calc(50vw - 50%) !important; }
.stats-panel.bleed, .process.bleed { padding-top: clamp(64px, 8vw, 112px) !important; padding-bottom: clamp(64px, 8vw, 112px) !important; }
.showcase.bleed, .cta-form.bleed { padding-top: clamp(56px, 7vw, 104px) !important; padding-bottom: clamp(56px, 7vw, 104px) !important; }
.section-sm:has(> .container > .bleed), .section:has(> .container > .bleed) { padding-top: 0; padding-bottom: 0; }
.section-sm:has(> .container > .bleed) + .footer, .section:has(> .container > .bleed) + .footer { margin-top: 0; }
.footer { margin-top: 0; }
.footer-inner { border-radius: 0 !important; }

/* Page hero runs edge-to-edge, behind the floating header */
.page-hero { padding: 0; margin-top: calc(-1 * (var(--header-h) + 28px)); }
.page-hero .ph-inner { border-radius: 0 !important; padding: calc(var(--header-h) + 28px + clamp(48px, 6vw, 88px)) 0 clamp(64px, 8vw, 112px); }
.header-bar { background: rgba(255,255,255,.9); }

.blue-panel.teal { background: #0b6b8a; background-image: radial-gradient(90% 90% at 100% 0%, rgba(63,224,224,.5), transparent 55%), radial-gradient(80% 80% at 0% 100%, rgba(36,64,245,.6), transparent 60%), linear-gradient(135deg, #0e7490, #1d4ed8 70%, #1e3a8a); }

/* Service hero split */
.svc-hero { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.svc-hero.rev .svc-hero-copy { order: 2; }
.svc-hero-visual { min-width: 0; }
.viz { position: relative; padding: 24px 20px 32px 0; animation: panelIn 1s cubic-bezier(.2,.8,.2,1) .15s both; }
.svc-hero.rev .viz { padding: 24px 0 32px 20px; }

/* Shared window */
.win { background: #fff; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4); overflow: hidden; color: var(--ink); font-size: 13px; position: relative; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line-2); background: #fafbfe; }
.win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e5e7eb; }
.win-bar i:nth-child(1) { background: #f87171; } .win-bar i:nth-child(2) { background: #fbbf24; } .win-bar i:nth-child(3) { background: #34d399; }
.win-bar span { margin-left: 10px; font-size: 11.5px; color: var(--muted); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win-body { padding: 16px; }
.win.dark { background: #0b1020; color: #e2e8f0; }
.win.dark .win-bar { background: #111833; border-color: #1f2747; }
.win.dark .win-bar span { color: #8f9bd0; }
.vchip { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; font-size: .82rem; font-weight: 600; white-space: nowrap; animation: cardIn .8s cubic-bezier(.2,.8,.2,1) both, float 6s ease-in-out 1.6s infinite; }
.vchip .ic { width: 30px; height: 30px; border-radius: 9px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.vchip .ic svg { width: 15px; height: 15px; }
.c-tr { top: 0; right: 0; animation-delay: 1s, 1.8s; }
.c-bl { bottom: 4px; left: -18px; animation-delay: 1.3s, 4.8s; }
.svc-hero.rev .c-bl { left: 2px; }
.fc-h { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.fc-h b { font-size: 12.5px; } .fc-h small { color: var(--muted); font-size: 11px; }
.ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: #fff; flex: none; }
.ck svg { width: 11px; height: 11px; }
.ck.done { background: #22c55e; }
.tx-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.tx-ic svg { width: 15px; height: 15px; }

/* Software — code editor */
.ln { display: flex; gap: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; line-height: 1.9; }
.ln em { font-style: normal; color: #4b5584; width: 14px; text-align: right; flex: none; }
.ln code { display: inline-block; white-space: pre; clip-path: inset(0 100% 0 0); animation: typeIn .7s steps(28) var(--d) forwards; }
.ln:last-of-type code::after { content: ""; display: inline-block; width: 7px; height: 15px; background: var(--cyan-400); margin-left: 3px; vertical-align: -3px; animation: blinkC 1s steps(1) infinite; }
@keyframes typeIn { to { clip-path: inset(0 0 0 0); } }
@keyframes blinkC { 50% { opacity: 0; } }
.k { color: #c084fc; } .s { color: #4ade80; } .f { color: #60a5fa; }
.pipe { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #1f2747; }
.pipe span { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; padding: 5px 10px; border-radius: 999px; background: #151d3b; color: #c7d2fe; }
.pipe span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #22c55e; }
.pipe .run::before { background: transparent; border: 2px solid #fbbf24; border-top-color: transparent; width: 9px; height: 9px; animation: spin .8s linear infinite; }

/* Payments */
.viz-payment-integration { padding-right: 90px; }
.tx { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); opacity: 0; animation: rowIn .6s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
.tx:last-child { border: 0; }
.tx-n { flex: 1; font-weight: 500; } .tx b { font-size: 12.5px; }
.tx em { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; }
.mm-phone { position: absolute; right: 0; bottom: 0; width: 180px; background: #0b1020; border-radius: 30px; padding: 9px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .5s both, float 7s ease-in-out 2s infinite; }
.mm-screen { background: #fff; border-radius: 22px; padding: 18px 14px 16px; color: var(--ink); text-align: center; }
.mm-screen small { display: block; font-size: 10px; color: var(--muted); } .mm-screen > b { font-size: 13px; }
.mm-amt { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 10px 0 4px; letter-spacing: -.02em; }
.mm-screen p { font-size: 10.5px; color: var(--muted); margin: 0 0 12px; }
.mm-pin { display: flex; justify-content: center; gap: 8px; margin-bottom: 12px; }
.mm-pin i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--blue-400); animation: pinFill .3s ease forwards; }
.mm-pin i:nth-child(1) { animation-delay: 1.2s; } .mm-pin i:nth-child(2) { animation-delay: 1.5s; } .mm-pin i:nth-child(3) { animation-delay: 1.8s; } .mm-pin i:nth-child(4) { animation-delay: 2.1s; }
@keyframes pinFill { to { background: var(--blue-600); border-color: var(--blue-600); } }
.mm-ok { display: flex; align-items: center; justify-content: center; gap: 6px; background: #dcfce7; color: #15803d; border-radius: 12px; padding: 9px; font-size: 11.5px; font-weight: 600; opacity: 0; transform: scale(.8); animation: okPop .5s cubic-bezier(.2,1.4,.4,1) 2.6s forwards; }
.mm-ok svg { width: 14px; height: 14px; }
@keyframes okPop { to { opacity: 1; transform: none; } }

/* AI */
.nn { width: 100%; height: 190px; }
.nn-l line { stroke: #dfe5ff; stroke-width: 1; }
.nn-n circle { fill: #fff; stroke: var(--blue-600); stroke-width: 2.5; animation: nodePulse 2.4s ease-in-out var(--d) infinite; transform-box: fill-box; transform-origin: center; }
@keyframes nodePulse { 0%, 100% { fill: #fff; } 40% { fill: var(--blue-600); transform: scale(1.2); } }
.fc { border-top: 1px solid var(--line-2); padding-top: 12px; margin-top: 6px; }
.fc-bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.fc-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--blue-600); transform-origin: bottom; animation: grow .9s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.fc-bars i.p { background: repeating-linear-gradient(45deg, var(--cyan-500), var(--cyan-500) 4px, #8ef0f0 4px, #8ef0f0 8px); }

/* Web */
.viz-web-design { padding-right: 70px; }
.wf i { display: block; border-radius: 6px; background: #eef1f7; position: relative; overflow: hidden; }
.wf i::after, .wf-phone i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: shine 1.8s ease-in-out infinite; }
@keyframes shine { to { transform: translateX(100%); } }
.wf-nav { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
.wf-nav i { height: 8px; width: 40px; } .wf-nav i.logo { width: 60px; height: 14px; background: var(--blue-600); margin-right: auto; } .wf-nav i.btn { width: 54px; height: 20px; border-radius: 999px; background: var(--ink); }
.wf-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-bottom: 18px; }
.wf-hero div { display: grid; gap: 8px; align-content: center; }
.wf .h1 { height: 16px; background: #c7d2fe; } .wf .h1.s { width: 70%; } .wf .p { height: 8px; } .wf .p.s { width: 80%; }
.wf .cta { width: 90px; height: 24px; border-radius: 999px; background: var(--blue-600); margin-top: 6px; }
.wf .img { height: 110px; border-radius: 12px; background: linear-gradient(135deg, #c7d2fe, #a5f3fc); }
.wf-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wf-cards i { height: 56px; border-radius: 10px; }
.wf > * { animation: fadeUp .7s cubic-bezier(.2,.8,.2,1) both; }
.wf-nav { animation-delay: .4s !important; } .wf-hero { animation-delay: .7s !important; } .wf-cards { animation-delay: 1s !important; }
.wf-phone { position: absolute; right: 0; bottom: 0; width: 120px; background: #fff; border-radius: 22px; padding: 22px 10px 14px; border: 6px solid #0b1020; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); display: grid; gap: 7px; animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .8s both, float 7s ease-in-out 2s infinite; }
.wf-phone i { display: block; position: relative; overflow: hidden; border-radius: 5px; background: #eef1f7; height: 7px; }
.wf-phone .img { height: 60px; border-radius: 10px; background: linear-gradient(135deg, #c7d2fe, #a5f3fc); } .wf-phone .h1 { height: 11px; background: #c7d2fe; } .wf-phone .p.s { width: 70%; }
.wf-phone .cta { height: 18px; width: 70%; border-radius: 999px; background: var(--blue-600); }

/* SEO */
.sbar { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; margin-bottom: 14px; color: var(--muted); }
.sbar svg { width: 15px; height: 15px; flex: none; }
.sbar .typed { color: var(--ink); white-space: nowrap; overflow: hidden; border-right: 2px solid var(--blue-600); width: 0; animation: typing 2s steps(28) .5s forwards, caret 1s steps(1) infinite; }
@keyframes typing { to { width: 28ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.sres { display: grid; gap: 4px; }
.sr { display: grid; gap: 2px; padding: 9px 12px; border-radius: 12px; animation: drop .9s cubic-bezier(.2,.8,.2,1) 2.6s both; }
.sr small { color: #15803d; font-size: 10.5px; } .sr b { color: #1a0dab; font-size: 13px; font-weight: 500; }
.sr i { display: block; height: 6px; width: 85%; border-radius: 4px; background: #eef1f7; margin-top: 4px; }
.sr.me { background: var(--blue-50); box-shadow: inset 0 0 0 1px #cdd6ff; animation: climb 1s cubic-bezier(.2,.8,.2,1) 2.6s both; position: relative; z-index: 1; }
.sr.me::after { content: "#1"; position: absolute; right: 12px; top: 10px; font-size: 11px; font-weight: 700; color: #fff; background: var(--blue-600); border-radius: 999px; padding: 2px 8px; }
@keyframes climb { from { transform: translateY(300%); } }
@keyframes drop { from { transform: translateY(-100%); } }
.spark { position: absolute; right: 0; bottom: 0; width: 210px; padding: 14px; border-radius: 16px; animation: cardIn .8s cubic-bezier(.2,.8,.2,1) 1.2s both, float 6s ease-in-out 2s infinite; }
.spark svg { width: 100%; height: 56px; }
.spark path { stroke-dasharray: 300; stroke-dashoffset: 300; animation: draw 2s ease 1.6s forwards; }
.viz-seo { padding-bottom: 70px; }

/* Cloud */
.up { display: grid; grid-template-columns: 110px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.up span { display: flex; align-items: center; gap: 8px; font-weight: 500; white-space: nowrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); animation: blinkDot 2s ease-in-out infinite; }
@keyframes blinkDot { 50% { box-shadow: 0 0 0 6px rgba(34,197,94,0); } }
.up-bars { display: flex; gap: 2px; height: 20px; }
.up-bars i { flex: 1; border-radius: 2px; background: #22c55e; transform-origin: bottom; animation: grow .5s ease var(--d) both; }
.up-bars i.amb { background: #fbbf24; }
.up em { font-style: normal; font-size: 10.5px; color: #15803d; font-weight: 600; }
.store { padding-top: 12px; }
.store-bar { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.store-bar i { display: block; height: 100%; width: 62%; border-radius: 999px; background: var(--grad); transform-origin: left; animation: growX 1.4s cubic-bezier(.2,.8,.2,1) .8s both; }
@keyframes growX { from { transform: scaleX(0); } }

/* Network + integration diagrams */
.topo, .flow { width: 100%; height: auto; display: block; }
.links path { fill: none; stroke: #c7d2fe; stroke-width: 2; stroke-dasharray: 5 5; animation: dash 1.5s linear infinite; }
.pk { fill: var(--blue-600); } .pk.c2 { fill: var(--cyan-500); }
.nd rect { fill: #fff; stroke: #dfe5ff; stroke-width: 1.5; }
.nd text { font-size: 10.5px; font-weight: 600; fill: var(--ink); text-anchor: middle; font-family: var(--font); }
.nd { animation: fadeIn .6s ease var(--d, 0s) both; }
.viz-panel { padding: 18px; border-radius: 22px; }
.viz-panel .links path { stroke: rgba(255,255,255,.5); }
.viz-panel .pk { fill: #fff; } .viz-panel .pk.c2 { fill: var(--cyan-400); }
.viz-panel .nd rect { fill: #fff; stroke: none; }
.hub rect { fill: #0b1020; } .hub text { fill: #fff; font-size: 13px; font-weight: 700; text-anchor: middle; font-family: var(--font); } .hub text.sm { font-size: 9px; font-weight: 500; fill: #8f9bd0; }
.hub { animation: hubPulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hubPulse { 50% { transform: scale(1.06); } }

/* Helpdesk kanban */
.kb { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; min-height: 210px; }
.kb-col { background: var(--bg-soft); border-radius: 12px; padding: 10px; display: grid; gap: 8px; align-content: start; }
.kb-h { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: var(--muted); }
.kb-h span { background: #fff; border-radius: 999px; padding: 0 7px; }
.kb-t { background: #fff; border-radius: 10px; padding: 9px 10px; font-size: 11.5px; box-shadow: var(--shadow-sm); border-left: 3px solid var(--blue-400); }
.kb-move { position: absolute; top: 108px; left: 10px; width: calc(33.3% - 26px); border-left-color: #f59e0b; box-shadow: 0 14px 24px -12px rgba(0,0,0,.35); animation: kbMove 7s cubic-bezier(.6,0,.3,1) 1s infinite; }
@keyframes kbMove { 0%, 12% { left: 10px; border-left-color: #f59e0b; } 35%, 55% { left: calc(33.3% + 13px); border-left-color: var(--blue-500); } 78%, 100% { left: calc(66.6% + 16px); border-left-color: #22c55e; } }

/* Maintenance */
.rel { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; opacity: 0; animation: rowIn .5s ease var(--d) forwards; }
.rel .ck { background: #22c55e; }
.rel b { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; background: var(--bg-soft); padding: 2px 7px; border-radius: 6px; }
.gauge { text-align: center; padding-top: 14px; }
.gauge svg { width: 150px; margin: 0 auto; }
.g-bg, .g-fg { fill: none; stroke-width: 10; stroke-linecap: round; }
.g-bg { stroke: var(--line-2); } .g-fg { stroke: url(#none); stroke: var(--blue-600); stroke-dasharray: 157; stroke-dashoffset: 157; animation: gaugeFill 1.8s cubic-bezier(.2,.8,.2,1) .8s forwards; }
@keyframes gaugeFill { to { stroke-dashoffset: 24; } }
.gauge b { display: block; font-family: var(--font-display); font-size: 18px; margin-top: -18px; } .gauge small { color: var(--muted); font-size: 11px; }

/* Procurement */
.pstep { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; }
.ps { position: relative; z-index: 1; display: grid; justify-items: center; gap: 6px; font-size: 11px; font-weight: 500; color: var(--muted); }
.ps i { width: 26px; height: 26px; border-radius: 50%; background: var(--line-2); color: #fff; display: grid; place-items: center; animation: stepOn .4s ease var(--d) forwards; }
.ps i svg { width: 13px; height: 13px; }
@keyframes stepOn { to { background: var(--blue-600); } }
.pline { position: absolute; left: 12.5%; right: 12.5%; top: 12px; height: 3px; background: var(--line-2); border-radius: 3px; }
.pline i { display: block; height: 100%; background: var(--blue-600); border-radius: 3px; transform-origin: left; animation: growX 1.8s ease .3s both; }
.it { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line-2); font-size: 12.5px; }
.it span:nth-child(2) { flex: 1; }

/* Advisory roadmap */
.gt { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 7px 0; font-size: 12px; }
.gt-head { color: var(--muted); font-size: 11px; font-weight: 600; }
.gt-q { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; }
.gt-track { position: relative; height: 20px; background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 1px), var(--line-2) calc(25% - 1px) 25%); }
.gt-track i { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: var(--grad); transform-origin: left; animation: growX .9s cubic-bezier(.2,.8,.2,1) var(--d) both; }

/* Consultancy scorecard */
.sc-wrap { display: grid; grid-template-columns: 110px 1fr; gap: 18px; align-items: center; }
.ring-score { position: relative; display: grid; place-items: center; }
.ring-score svg { width: 110px; transform: rotate(-90deg); }
.rs-bg, .rs-fg { fill: none; stroke-width: 4.5; }
.rs-bg { stroke: var(--line-2); } .rs-fg { stroke: var(--blue-600); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ringFill 1.6s cubic-bezier(.2,.8,.2,1) .5s forwards; }
@keyframes ringFill { to { stroke-dashoffset: 34; } }
.ring-score div { position: absolute; text-align: center; } .ring-score b { display: block; font-size: 15px; } .ring-score small { font-size: 10px; color: var(--muted); }
.sc { display: grid; gap: 4px; margin-bottom: 9px; font-size: 11.5px; }
.sc-bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.sc-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); transform-origin: left; animation: growX 1.2s cubic-bezier(.2,.8,.2,1) var(--d) both; }

/* Audit */
.au-wrap { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
.au { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; opacity: 0; animation: rowIn .5s ease var(--d) forwards; }
.au span { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.au svg { width: 12px; height: 12px; }
.au-ok { background: #22c55e; } .au-warn { background: #f59e0b; }
.heat small { display: block; font-size: 10.5px; color: var(--muted); margin-bottom: 6px; }
.hm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.hm-grid i { aspect-ratio: 1; border-radius: 6px; animation: fadeIn .4s ease both; }
.hm1 { background: #bbf7d0; } .hm2 { background: #fde68a; } .hm3 { background: #fca5a5; }
.hm-grid i.pulse { animation: hmPulse 1.6s ease-in-out infinite; }
@keyframes hmPulse { 50% { box-shadow: 0 0 0 4px rgba(239,68,68,.35); } }

/* GIS map */
.w-map .win-body { padding: 0; position: relative; }
.map { width: 100%; display: block; }
.m-bg { fill: #ecfdf5; }
.m-c { fill: none; stroke: #a7f3d0; stroke-width: 1.2; }
.m-river { fill: none; stroke: #60a5fa; stroke-width: 6; stroke-linecap: round; opacity: .7; stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.5s ease .4s forwards; }
.m-p { fill: rgba(36,64,245,.08); stroke: var(--blue-500); stroke-width: 1.5; stroke-dasharray: 4 3; animation: fadeIn .8s ease 1s both; }
.m-p.hl { fill: rgba(36,64,245,.22); stroke-dasharray: none; stroke-width: 2.5; animation: fadeIn .8s ease 1.4s both, parcel 2.4s ease-in-out 2.2s infinite; }
@keyframes parcel { 50% { fill: rgba(36,64,245,.35); } }
.pin circle { fill: #ef4444; } .pin .pr { fill: rgba(239,68,68,.25); animation: pinRing 1.8s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pinRing { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.layers { position: absolute; top: 12px; right: 12px; background: #fff; border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); display: grid; gap: 6px; font-size: 11px; }
.layers span { display: flex; align-items: center; gap: 7px; }
.layers i { width: 22px; height: 12px; border-radius: 999px; background: var(--line); position: relative; }
.layers i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; transition: .3s; }
.layers i.on { background: var(--blue-600); } .layers i.on::after { left: 12px; }

/* Training */
.vid { height: 110px; border-radius: 12px; margin-bottom: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: #fff; background: linear-gradient(135deg, #0b1453, #2440f5 60%, #19c6d4); }
.vid small { font-size: 11px; opacity: .85; }
.play { width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--blue-600); display: grid; place-items: center; font-size: 14px; padding-left: 3px; animation: corePulse 2.4s ease-in-out infinite; }
.md { display: grid; grid-template-columns: 20px 1fr 90px; gap: 10px; align-items: center; padding: 7px 0; font-size: 12px; }
.md-bar { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.md-bar i { display: block; height: 100%; background: var(--grad); transform-origin: left; animation: growX 1s ease var(--d) both; }

/* Office */
.cal { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 10px; }
.cal-d small { display: block; text-align: center; font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.cal-c { position: relative; height: 130px; background: var(--bg-soft); border-radius: 10px; }
.cal-c i { position: absolute; left: 4px; right: 4px; border-radius: 7px; background: var(--blue-600); color: #fff; font-style: normal; font-size: 9.5px; padding: 4px 5px; line-height: 1.2; overflow: hidden; animation: cardIn .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.cal-d:nth-child(even) .cal-c i { background: var(--cyan-500); }
.task { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line-2); font-size: 12px; opacity: 0; animation: rowIn .5s ease var(--d) forwards; }

/* ERP hero */
.viz-erp .dash-wrap { padding-bottom: 0; }

/* Homepage showcase: hide phone on small screens */
@media (max-width: 1120px) {
  .svc-hero, .svc-hero.rev { grid-template-columns: 1fr; }
  .svc-hero.rev .svc-hero-copy { order: 0; }
  .viz { max-width: 600px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .page-hero .ph-inner { padding-top: calc(var(--header-h) + 40px); }
  .viz, .svc-hero.rev .viz { padding: 16px 0 24px; }
  .viz-payment-integration, .viz-web-design { padding-right: 0; padding-bottom: 150px; }
  .mm-phone { width: 150px; right: 6px; }
  .wf-phone { width: 96px; right: 6px; }
  .c-tr { top: -6px; right: 6px; } .c-bl, .svc-hero.rev .c-bl { left: 6px; bottom: 0; }
  .vchip { font-size: .74rem; padding: 7px 10px 7px 7px; } .vchip .ic { width: 24px; height: 24px; }
  .win { font-size: 12px; } .win-body { padding: 12px; }
  .up { grid-template-columns: 90px 1fr; } .up em { display: none; }
  .au-wrap { grid-template-columns: 1fr; } .heat { display: none; }
  .gt { grid-template-columns: 84px 1fr; font-size: 11px; }
  .kb-t { font-size: 10px; padding: 7px; }
  .kb-move { top: 96px; }
  .spark { width: 170px; }
  .layers { display: none; }
  .showcase-visual .phone, .viz-erp .phone { display: none; }
  .showcase-visual { padding-right: 0; }
  .dash-search { font-size: 10px; }
  .dash-table .dt-row:nth-child(n+4) { display: none; }
}
@keyframes rowShow { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.tx, .rel, .au, .task { animation-name: rowShow !important; }
@media (max-width: 640px) {
  .viz-payment-integration, .viz-web-design { padding-bottom: 24px; }
  .mm-phone { position: relative; right: auto; bottom: auto; width: 190px; margin: -44px 10px 0 auto; }
  .mm-amt { font-size: 19px; }
  .wf-phone { position: relative; right: auto; bottom: auto; width: 112px; margin: -70px 10px 0 auto; }
}

/* ==========================================================================
   v6 — footer watermark, single hero-metric icon, software solutions
   ========================================================================== */
.footer-inner { position: relative; overflow: hidden; }
.footer-inner > .container { position: relative; z-index: 1; }
.footer-word { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); margin: 0 !important; z-index: -1; pointer-events: none; font-size: clamp(6rem, 20vw, 20rem) !important; color: rgba(255,255,255,.045) !important; text-align: center; white-space: nowrap; overflow: visible !important; line-height: 1; }
.footer-bottom { padding-bottom: 30px; }

.hm-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); margin-bottom: 16px; transition: transform .3s, background .3s, color .3s; }
.hm-ic svg { width: 19px; height: 19px; }
.hm:hover .hm-ic { background: var(--blue-600); color: #fff; transform: translateY(-3px); }

/* Software solutions */
.prods { display: grid; gap: clamp(56px, 8vw, 110px); }
.prod { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.prod.rev .prod-copy { order: 2; }
.prod-copy h3 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -.03em; margin-bottom: 12px; }
.prod-copy > p { color: var(--muted); font-size: 1.04rem; }
.prod-copy .checklist { margin: 18px 0 22px; gap: 10px; }
.prod-copy .checklist li { font-size: .95rem; }
.prod-who { margin-bottom: 26px; }
.prod-who small { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.prod-visual { position: relative; border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); background: #1b35ea; background-image: radial-gradient(120% 90% at 100% 0%, rgba(63,224,224,.5), transparent 50%), radial-gradient(90% 80% at 0% 100%, rgba(10,18,120,.85), transparent 60%), linear-gradient(135deg, #2a49ff, #1631e0 50%, #0d1fb8); overflow: hidden; }
.prod:nth-child(2) .prod-visual { background-image: radial-gradient(90% 90% at 0% 100%, rgba(36,64,245,.75), transparent 60%), radial-gradient(70% 70% at 100% 0%, rgba(25,198,212,.4), transparent 60%), linear-gradient(160deg, #0b1453, #060b2e); }
.prod:nth-child(3) .prod-visual { background-image: radial-gradient(90% 90% at 100% 0%, rgba(63,224,224,.5), transparent 55%), radial-gradient(80% 80% at 0% 100%, rgba(36,64,245,.6), transparent 60%), linear-gradient(135deg, #0e7490, #1d4ed8 70%, #1e3a8a); }
.prod-visual .viz { padding: 18px 10px 10px 0; animation: none; }
.prod-visual .c-tr { top: -4px; right: -4px; }
.dash-kpis.k3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 12px; }
.ln-row { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-2); opacity: 0; animation: rowShow .5s ease var(--d) forwards; }
.ln-row b { display: block; font-size: 12px; } .ln-row small { color: var(--muted); font-size: 10.5px; }
.ln-bar { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.ln-bar i { display: block; height: 100%; border-radius: 999px; background: var(--grad); transform-origin: left; animation: growX 1.2s cubic-bezier(.2,.8,.2,1) var(--d, .6s) both; }
.ln-row em { font-style: normal; font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; background: #dcfce7; color: #15803d; white-space: nowrap; }
.ln-row em.late { background: #fef3c7; color: #b45309; }
.pos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.pos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-content: start; }
.pt { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px; display: grid; gap: 3px; font-size: 10.5px; animation: cardIn .5s ease var(--d) both; }
.pt i { width: 26px; height: 26px; border-radius: 8px; background: var(--blue-50); color: var(--blue-600); display: grid; place-items: center; }
.pt i svg { width: 13px; height: 13px; }
.pt b { color: var(--blue-600); font-size: 10.5px; }
.pos-cart { background: var(--bg-soft); border-radius: 12px; padding: 10px; display: grid; gap: 4px; align-content: start; }
.pos-cart > small { font-size: 10.5px; color: var(--muted); margin-bottom: 4px; }
.cl { display: flex; justify-content: space-between; font-size: 10.5px; padding: 5px 0; border-bottom: 1px dashed var(--line); }
.cl.tot { border: 0; font-size: 12px; padding-top: 8px; } .cl.tot b { color: var(--blue-600); }
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 6px; }
.pay span { font-size: 9.5px; text-align: center; padding: 6px 2px; border-radius: 8px; background: #fff; border: 1px solid var(--line); }
.pay span.on { background: var(--blue-600); color: #fff; border-color: var(--blue-600); animation: hmPulse 1.8s ease-in-out infinite; }
.receipt { position: absolute; left: -6px; bottom: -12px; width: 110px; background: #fff; border-radius: 8px 8px 0 0; padding: 12px 12px 18px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); display: grid; gap: 5px; z-index: 2; clip-path: polygon(0 0, 100% 0, 100% 100%, 90% 94%, 80% 100%, 70% 94%, 60% 100%, 50% 94%, 40% 100%, 30% 94%, 20% 100%, 10% 94%, 0 100%); animation: printOut 1.4s cubic-bezier(.2,.8,.2,1) 1.2s both; }
.receipt b { font-size: 10px; letter-spacing: .1em; text-align: center; } .receipt small { font-size: 9px; color: #15803d; text-align: center; font-weight: 600; }
.receipt i { display: block; height: 5px; border-radius: 3px; background: var(--line-2); } .receipt i.s { width: 60%; }
.receipt .qr { width: 38px; height: 38px; margin: 4px auto 0; background: repeating-conic-gradient(#0b1020 0 25%, #fff 0 50%) 0 0/8px 8px; border-radius: 3px; }
@keyframes printOut { from { transform: translateY(30px); opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } }
.eg { display: grid; grid-template-columns: 1.4fr 1fr 34px; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; }
.eg b { display: block; font-size: 12px; } .eg small { color: var(--muted); font-size: 10.5px; } .eg > span { font-size: 11px; font-weight: 600; text-align: right; }
.sev { padding-top: 12px; } .sev > small { font-size: 10.5px; color: var(--muted); }
.sev-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.sv { border-radius: 10px; padding: 10px; background: var(--bg-soft); display: grid; gap: 2px; animation: cardIn .5s ease both; }
.sv:nth-child(2) { animation-delay: .15s; } .sv:nth-child(3) { animation-delay: .3s; }
.sv span { font-size: 10px; font-weight: 600; } .sv b { font-family: var(--font-display); font-size: 20px; }
.sv-h { color: #dc2626; } .sv-m { color: #d97706; } .sv-l { color: #16a34a; }
.module-grid.g3m { grid-template-columns: repeat(3, 1fr); }
.prod-visual .reveal, .prod-visual.reveal .win { }
@media (max-width: 1120px) {
  .prod, .prod.rev { grid-template-columns: 1fr; }
  .prod.rev .prod-copy { order: 0; }
  .module-grid.g3m { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .hm-ic { display: none; }
  .footer-word { font-size: 34vw !important; top: 60%; }
  .prod-visual { padding: 18px 14px 22px; border-radius: var(--r-lg); }
  .prod-visual .viz { padding: 14px 0 0; }
  .pos { grid-template-columns: 1fr; }
  .pos-grid { grid-template-columns: repeat(3, 1fr); }
  .receipt { display: none; }
  .ln-row { grid-template-columns: 1fr 70px; } .ln-row em { display: none; }
  .dash-kpis.k3 .dk em { display: none; }
  .module-grid.g3m { display: flex; }
}

/* ==========================================================================
   v7 — chat label fix, realistic phone mockups
   ========================================================================== */
.tm-opt .tx { display: block; opacity: 1 !important; animation: none !important; padding: 0; border: 0; }

.iphone { position: absolute; z-index: 2; width: 168px; aspect-ratio: 9 / 19.2; border-radius: 40px; padding: 6px; display: block !important;
  background: linear-gradient(145deg, #4a4350 0%, #1a171c 22%, #0d0c0e 55%, #2b2630 100%) !important;
  box-shadow: inset 0 0 0 1.4px rgba(255,255,255,.22), inset 0 0 0 3.5px #050506, 0 0 0 1px rgba(0,0,0,.55), 0 40px 70px -24px rgba(0,0,0,.75), 0 12px 24px -12px rgba(0,0,0,.5) !important; border: 0 !important; }
.iphone::before { content: ""; position: absolute; left: -2.5px; top: 21%; width: 3px; height: 9%; border-radius: 2px 0 0 2px; background: linear-gradient(90deg, #3d3742, #1f1c22); box-shadow: 0 -34px 0 -2px #2b2630, 0 46px 0 0 #2b2630; }
.iphone::after { content: ""; position: absolute; right: -2.5px; top: 28%; width: 3px; height: 14%; border-radius: 0 2px 2px 0; background: linear-gradient(270deg, #3d3742, #1f1c22); }
.ip-screen { position: relative; height: 100%; border-radius: 34px; overflow: hidden; background: #fff !important; display: flex; flex-direction: column; color: var(--ink); text-align: left; }
.ip-screen::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 28%); mix-blend-mode: soft-light; }
.ip-status { position: relative; display: flex; justify-content: space-between; align-items: center; padding: 10px 16px 6px 20px; font-size: 9.5px; font-weight: 700; flex: none; background: transparent !important; }
.ip-island { position: absolute; left: 50%; top: 7px; transform: translateX(-50%); width: 34%; height: 15px; border-radius: 999px; background: #000; }
.ip-sig { display: flex; align-items: center; gap: 3px; }
.ip-sig svg { width: 11px; height: 8px; }
.ip-bat { width: 17px; height: 8.5px; border-radius: 2.5px; border: 1.2px solid currentColor; padding: 1px; position: relative; opacity: .9; }
.ip-bat::after { content: ""; position: absolute; right: -3px; top: 2px; width: 1.5px; height: 3px; border-radius: 0 1px 1px 0; background: currentColor; }
.ip-bat i { display: block; height: 100%; width: 78%; border-radius: 1px; background: currentColor; }
.ip-home { display: block; width: 36%; height: 4px; border-radius: 999px; background: #0b1020; margin: auto auto 6px; opacity: .85; flex: none; }

/* ERP self-service phone */
.phone.iphone { right: -18px; bottom: -10px; width: 158px; animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .6s both, float 7s ease-in-out 2s infinite; }
.phone.iphone > * { background: transparent; }
.ph-app { display: flex; align-items: center; gap: 8px; padding: 8px 12px 6px; }
.ph-av { width: 26px; height: 26px; border-radius: 50%; background: var(--grad); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; flex: none; }
.ph-app small { display: block; font-size: 8.5px; color: var(--muted); } .ph-app b { font-size: 11.5px; }
.phone.iphone .ph-net { margin: 4px 10px 8px; padding: 10px 12px; border-radius: 14px; background: var(--blue-50); }
.phone.iphone .ph-net small { font-size: 8.5px; }
.phone.iphone .ph-net b { font-size: 17px; }
.phone.iphone .ph-lines { padding: 0 12px; gap: 4px; }
.phone.iphone .ph-lines span { font-size: 9px; padding-top: 4px; }
.phone.iphone .ph-btn { margin: 10px 10px 0; padding: 9px; border-radius: 12px; background: var(--blue-600); color: #fff; font-size: 10px; text-align: center; }
.phone.iphone .ph-btn::before { display: none; }

/* Payments phone */
.mm-phone.iphone { right: 0; bottom: -18px; width: 172px; background: none; padding: 6px; animation: phoneIn 1s cubic-bezier(.2,.8,.2,1) .5s both, float 7s ease-in-out 2s infinite; }
.mm-phone.iphone .mm-screen { border-radius: 0; padding: 14px 14px 10px; background: transparent; }
.mm-phone.iphone .mm-amt { font-size: 21px; }

/* Web design phone */
.wf-phone.iphone { right: 0; bottom: -14px; width: 124px; border-radius: 30px; padding: 5px; }
.wf-phone.iphone .ip-screen { border-radius: 25px; }
.wf-phone.iphone .ip-island { height: 11px; top: 6px; }
.wf-phone.iphone .ip-status { font-size: 7.5px; padding: 7px 12px 4px 14px; }
.wf-m { display: grid; gap: 7px; padding: 6px 10px; }
.wf-m i { display: block; position: relative; overflow: hidden; border-radius: 5px; background: #eef1f7; height: 7px; }
.wf-m i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); transform: translateX(-100%); animation: shine 1.8s ease-in-out infinite; }
.wf-m .img { height: 64px; border-radius: 10px; background: linear-gradient(135deg, #c7d2fe, #a5f3fc); } .wf-m .h1 { height: 11px; background: #c7d2fe; } .wf-m .p.s { width: 70%; }
.wf-m .cta { height: 18px; width: 70%; border-radius: 999px; background: var(--blue-600); }

@media (max-width: 640px) {
  .mm-phone.iphone { position: relative; right: auto; bottom: auto; width: 170px; margin: -60px 12px 0 auto; }
  .wf-phone.iphone { position: relative; right: auto; bottom: auto; width: 112px; margin: -90px 12px 0 auto; }
}
@media (min-width: 641px) { .viz-payment-integration { padding-right: 150px; } }

/* ==========================================================================
   v8 — deep service content: deep-dive visuals, packages, tools
   ========================================================================== */
.dd-visual { position: relative; border-radius: var(--r-xl); min-height: 360px; padding: clamp(28px, 4vw, 48px); display: grid; place-items: center; overflow: hidden; }
.dd-big { position: absolute; right: -40px; bottom: -40px; width: 260px; height: 260px; color: rgba(255,255,255,.07); pointer-events: none; }
.dd-big svg { width: 100%; height: 100%; stroke-width: 1.2; }
.dd-stack { position: relative; display: grid; gap: 14px; width: 100%; max-width: 380px; }
.dd-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; color: #fff; animation: float 6s ease-in-out infinite; animation-delay: calc(var(--d) * -1); }
.dd-card:nth-child(2) { margin-left: 28px; } .dd-card:nth-child(3) { margin-left: 8px; }
.dd-card .ic { flex: 0 0 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--blue-600); }
.dd-card .ic svg { width: 20px; height: 20px; }
.dd-card b { flex: 1; font-size: .95rem; font-weight: 600; }
.dd-ok { width: 24px; height: 24px; border-radius: 50%; background: #22c55e; display: grid; place-items: center; transform: scale(0); }
.dd-ok svg { width: 13px; height: 13px; color: #fff; }
.reveal.in .dd-ok, .dd-visual.in .dd-ok { animation: okPop .5s cubic-bezier(.2,1.4,.4,1) forwards; }
.dd-visual.in .dd-card:nth-child(1) .dd-ok { animation-delay: .5s; } .dd-visual.in .dd-card:nth-child(2) .dd-ok { animation-delay: 1s; } .dd-visual.in .dd-card:nth-child(3) .dd-ok { animation-delay: 1.5s; }
.dd-visual.in .dd-card { animation: cardIn .8s cubic-bezier(.2,.8,.2,1) both, float 6s ease-in-out 1s infinite; }
.dd-visual.in .dd-card:nth-child(2) { animation-delay: .25s, 2s; } .dd-visual.in .dd-card:nth-child(3) { animation-delay: .5s, 3s; }

.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; transition: transform .3s, box-shadow .3s; }
.pkg:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pkg h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; margin-bottom: 4px; }
.pkg > p { color: var(--muted); font-size: .92rem; }
.pkg .checklist { flex: 1; margin: 18px 0 26px; }
.pkg .btn { width: 100%; justify-content: space-between; }
.pkg.hot { color: #fff; border: 0; background: #1b35ea; background-image: radial-gradient(120% 90% at 100% 0%, rgba(63,224,224,.5), transparent 50%), linear-gradient(135deg, #2a49ff, #1631e0 50%, #0d1fb8); transform: scale(1.03); box-shadow: 0 30px 60px -30px rgba(36,64,245,.7); }
.pkg.hot:hover { transform: scale(1.03) translateY(-6px); }
.pkg.hot h3 { color: #fff; } .pkg.hot > p { color: #d4dcff; }
.pkg.hot .checklist li { color: #e6ebff; }
.pkg.hot .checklist li::before { background-color: #fff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232440f5' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.pkg-badge { position: absolute; top: 20px; right: 20px; font-size: .72rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.2); color: #fff; }

.tools-row { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: center; padding: 28px 32px; border-radius: var(--r-lg); background: var(--bg-soft); }
.tools-row h3 { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.4rem; }
.tools { display: flex; flex-wrap: wrap; gap: 10px; }
.tool { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; font-size: .88rem; font-weight: 500; color: var(--ink-2); box-shadow: var(--shadow-sm); transition: transform .25s, color .25s; }
.tool svg { width: 16px; height: 16px; color: var(--blue-600); }
.tool:hover { transform: translateY(-2px); color: var(--blue-600); }

@media (max-width: 1120px) {
  .timeline { grid-template-columns: repeat(3, 1fr) !important; }
  .pkgs { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .pkg.hot { transform: none; } .pkg.hot:hover { transform: translateY(-6px); }
  .tools-row { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr !important; }
  .dd-visual { min-height: 0; padding: 28px 18px; border-radius: var(--r-lg); }
  .dd-card { padding: 12px 14px; } .dd-card:nth-child(2) { margin-left: 14px; } .dd-card:nth-child(3) { margin-left: 4px; }
  .dd-card .ic { flex-basis: 36px; height: 36px; }
  .dd-card b { font-size: .86rem; }
  .tools-row { padding: 22px 18px; }
}

/* ==========================================================================
   v9 — phone mockup: thin bezel, silver rim, notch (matches reference)
   ========================================================================== */
.iphone { width: 172px; aspect-ratio: 9 / 19.5; padding: 7px; border-radius: 34px;
  background: #0a0a0b !important;
  box-shadow:
    0 0 0 1.5px #d6d7dc,            /* polished silver rim */
    0 0 0 2.5px #9a9ba3,            /* outer edge */
    0 0 0 3px rgba(0,0,0,.35),
    0 36px 60px -22px rgba(0,0,0,.6),
    0 14px 24px -14px rgba(0,0,0,.45) !important; }
/* side buttons: action + volume (left), power (right) */
.iphone::before { left: -4.5px; top: 17%; width: 2.5px; height: 5%; border-radius: 2px 0 0 2px; background: #a6a7ae;
  box-shadow: 0 calc(172px * .2) 0 0 #a6a7ae, 0 calc(172px * .38) 0 0 #a6a7ae; }
.iphone::after { right: -4.5px; top: 27%; width: 2.5px; height: 12%; border-radius: 0 2px 2px 0; background: #a6a7ae; }
.ip-screen { border-radius: 27px; background: #fff !important; }
.ip-screen::after { background: linear-gradient(120deg, rgba(255,255,255,.25) 0%, rgba(255,255,255,0) 30%); }
/* notch with speaker + camera */
.ip-island { top: 0 !important; width: 44% !important; height: 17px !important; border-radius: 0 0 11px 11px !important; background: #0a0a0b !important; }
.ip-island::before { content: ""; position: absolute; left: 50%; top: 6px; transform: translateX(-50%); width: 30%; height: 3px; border-radius: 3px; background: #2a2b30; }
.ip-island::after { content: ""; position: absolute; right: 18%; top: 4.5px; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #3b4a7a, #0d1020 60%); }
.ip-status { padding: 4px 13px 6px 16px; font-size: 9px; min-height: 22px; }
.ip-status > span:first-child { width: 28%; }
.ip-sig { gap: 2.5px; }
.ip-home { width: 34%; height: 3.5px; margin: auto auto 5px; background: #111; opacity: .9; }

/* content spacing inside phones */
.phone.iphone { width: 164px; right: -16px; bottom: -14px; }
.phone.iphone .ph-app { padding: 6px 12px 4px; }
.phone.iphone .ph-net { margin: 4px 10px 6px; padding: 9px 11px; }
.phone.iphone .ph-net b { font-size: 16px; }
.phone.iphone .ph-lines span { font-size: 8.8px; padding-top: 3.5px; }
.phone.iphone .ph-btn { margin: 8px 10px 4px; padding: 8px; font-size: 9.5px; border-radius: 10px; }
.mm-phone.iphone { width: 168px; }
.mm-phone.iphone .mm-screen { padding: 10px 12px 6px; }
.wf-phone.iphone { width: 120px; padding: 5px; border-radius: 26px; }
.wf-phone.iphone .ip-screen { border-radius: 21px; }
.wf-phone.iphone .ip-island { height: 12px !important; border-radius: 0 0 8px 8px !important; }
.wf-phone.iphone .ip-island::before { top: 4px; height: 2px; }
.wf-phone.iphone .ip-island::after { top: 3px; width: 4px; height: 4px; }
.wf-phone.iphone .ip-status { font-size: 6.5px; min-height: 16px; padding: 3px 9px 4px 11px; }
.wf-phone.iphone::before { left: -3.5px; width: 2px; box-shadow: 0 calc(120px * .2) 0 0 #a6a7ae, 0 calc(120px * .38) 0 0 #a6a7ae; }
.wf-phone.iphone::after { right: -3.5px; width: 2px; }
.wf-phone.iphone .ip-sig { display: none; }

/* ==========================================================================
   v10 — realistic deep-dive widgets
   ========================================================================== */
.dd-visual { place-items: stretch; align-content: center; }
.dd-viz { padding: 8px 0 !important; width: 100%; max-width: 520px; margin: 0 auto; animation: none; }
.dd-viz .win { font-size: 12.5px; }
.st.info { background: #e0e7ff; color: var(--blue-700); }
.dd-visual:not(.in) [style*="--d"] { animation-play-state: paused; }

/* table */
.tb-h, .tb-r { display: grid; gap: 10px; align-items: center; }
.tb-h { font-size: 10.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 0 0 8px; border-bottom: 1px solid var(--line-2); }
.tb-r { padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 12px; opacity: 0; animation: rowShow .5s ease var(--d) forwards; }
.tb-r:last-child { border: 0; }
.tb-r span:first-child { font-weight: 600; }
.tb-r .st { justify-self: start; }

/* terminal */
.term { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; line-height: 1.85; min-height: 190px; }
.tl { opacity: 0; animation: rowShow .35s ease var(--d) forwards; white-space: pre-wrap; }
.tl.cmd { color: #e2e8f0; } .tl.cmd::first-letter { color: var(--cyan-400); }
.tl.ok { color: #4ade80; } .tl.warn { color: #fbbf24; } .tl.out { color: #8f9bd0; }
.tcur { display: inline-block; width: 7px; height: 14px; background: var(--cyan-400); animation: blinkC 1s steps(1) infinite; vertical-align: -2px; }

/* mail */
.mlw { display: grid; grid-template-columns: 96px 1fr; gap: 12px; }
.ml-side { display: grid; gap: 4px; align-content: start; }
.ml-side span { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; font-size: 11px; color: var(--muted); }
.ml-side span.on { background: var(--blue-50); color: var(--blue-600); font-weight: 600; }
.ml-side svg { width: 13px; height: 13px; }
.ml { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); opacity: 0; animation: rowShow .5s ease var(--d) forwards; }
.ml b { display: block; font-size: 12px; } .ml small { color: var(--muted); font-size: 11px; } .ml em { font-style: normal; font-size: 10.5px; color: var(--muted); }
.ml-av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; flex: none; }

/* upload */
.up-head { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); margin-bottom: 8px; }
.up-head svg { width: 15px; height: 15px; color: var(--blue-600); }
.up-f { display: grid; grid-template-columns: 30px 1fr 40px; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line-2); opacity: 0; animation: rowShow .5s ease var(--d) forwards; }
.up-f b { display: block; font-size: 12px; margin-bottom: 5px; } .up-f em { font-style: normal; font-size: 11px; font-weight: 600; text-align: right; color: var(--blue-600); }

/* patch panel */
.patch { background: #1a1f36; border-radius: 10px; padding: 14px 12px 8px; }
.pp-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; }
.pp { aspect-ratio: 1.2; border-radius: 3px; background: #0b0e1d; box-shadow: inset 0 0 0 1.5px #3a4268; position: relative; }
.pp.on::after { content: ""; position: absolute; right: 2px; top: 2px; width: 4px; height: 4px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: ledOn .3s ease var(--d) both, blinkDot 1.6s ease-in-out calc(var(--d) + .5s) infinite; }
@keyframes ledOn { from { opacity: 0; } }
.pp-lbl { display: grid; grid-template-columns: repeat(6, 1fr); font-size: 9px; color: #8f9bd0; margin-top: 6px; }
.cable-t { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.cable-t div { background: var(--bg-soft); border-radius: 10px; padding: 10px; }
.cable-t small { display: block; font-size: 10px; color: var(--muted); } .cable-t b { font-size: 14px; }

/* floor plan / branches */
.fplan { width: 100%; display: block; }
.fp-o { fill: #f8fafc; stroke: #cbd5e1; stroke-width: 2; } .fp-w { stroke: #cbd5e1; stroke-width: 3; fill: none; }
.fp-t { font-size: 10px; fill: var(--muted); font-family: var(--font); font-weight: 600; }
.hz { fill: url(#none); fill: rgba(34,197,94,.22); stroke: rgba(250,204,21,.6); stroke-width: 18; stroke-opacity: .35; animation: hzPulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes hzPulse { 50% { transform: scale(1.06); fill: rgba(34,197,94,.3); } }
.ap circle { fill: var(--blue-600); stroke: #fff; stroke-width: 3; }
.hq { fill: var(--blue-600); stroke: #fff; stroke-width: 3; } .site { fill: var(--cyan-500); stroke: #fff; stroke-width: 2.5; animation: blinkDot 2s infinite; }
.fplan .links path { stroke: #93a5ff; }
.m-p.cons { fill: rgba(34,197,94,.2); stroke: #16a34a; }

/* chat */
.chatw { display: flex; flex-direction: column; gap: 8px; min-height: 230px; }
.chatw.wa { background: #efeae2; margin: -16px; padding: 16px; background-image: radial-gradient(rgba(0,0,0,.035) 1px, transparent 1px); background-size: 12px 12px; }
.bub { max-width: 80%; padding: 8px 11px 6px; border-radius: 12px; font-size: 12px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.08); opacity: 0; animation: bubIn .4s cubic-bezier(.2,1.2,.4,1) var(--d) forwards; }
.bub small { display: block; text-align: right; font-size: 9.5px; color: #667085; margin-top: 2px; }
.bub.them { background: #fff; align-self: flex-start; border-top-left-radius: 3px; }
.bub.me { background: #d9fdd3; align-self: flex-end; border-top-right-radius: 3px; }
.chatw:not(.wa) .bub.me { background: var(--blue-600); color: #fff; } .chatw:not(.wa) .bub.me small { color: #c7d2fe; }
@keyframes bubIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.bub.typing { display: flex; gap: 4px; padding: 10px 12px; }
.bub.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9ca3af; animation: blinkC 1s infinite; }
.bub.typing i:nth-child(2) { animation-delay: .2s; } .bub.typing i:nth-child(3) { animation-delay: .4s; }

/* diff */
.diff { font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.9; }
.df { display: flex; gap: 12px; padding: 0 8px; border-radius: 4px; opacity: 0; animation: rowShow .35s ease var(--d) forwards; }
.df em { font-style: normal; color: #4b5584; width: 18px; text-align: right; }
.df code { white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.df.add { background: rgba(34,197,94,.14); color: #86efac; } .df.del { background: rgba(239,68,68,.14); color: #fca5a5; } .df.ctx { color: #c7d2fe; }

/* bars */
.bchart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; height: 190px; align-items: end; padding-top: 18px; }
.bc { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 6px; }
.bc span { font-size: 10.5px; color: var(--muted); text-align: center; }
.bc-bars { display: flex; align-items: flex-end; justify-content: center; gap: 4px; }
.bc-bars i { position: relative; width: 22px; border-radius: 6px 6px 2px 2px; transform-origin: bottom; animation: grow 1s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.bc-bars i em { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 9.5px; font-weight: 600; white-space: nowrap; }
.ba { background: #c7d2fe; } .bb { background: var(--blue-600); } .bb em { color: var(--blue-600); }

/* forecast line */
.fchart { width: 100%; height: 170px; }
.fchart .band { fill: rgba(165,243,252,.5); animation: fadeIn 1s ease 1.6s both; }
.fchart .act { fill: none; stroke: var(--blue-600); stroke-width: 3; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.6s ease .3s forwards; }
.fchart .pred { fill: none; stroke: var(--cyan-500); stroke-width: 3; stroke-dasharray: 6 5; animation: fadeIn 1s ease 1.8s both; }
.fchart .now { stroke: #94a3b8; stroke-dasharray: 3 3; }

/* api */
.api-req { display: flex; gap: 10px; align-items: center; font-family: ui-monospace, Menlo, monospace; font-size: 12px; color: #e2e8f0; padding-bottom: 10px; border-bottom: 1px solid #1f2747; }
.verb { background: #22c55e; color: #052e16; font-weight: 700; font-size: 10.5px; padding: 3px 8px; border-radius: 6px; }
.json { margin: 12px 0; font-family: ui-monospace, Menlo, monospace; font-size: 11.5px; line-height: 1.75; color: #c7d2fe; white-space: pre; animation: fadeIn .8s ease .5s both; }
.api-st { display: flex; align-items: center; gap: 10px; } .api-st small { color: #8f9bd0; font-size: 11px; }

/* flow */
.flowv { display: grid; gap: 10px; position: relative; }
.flowv::before { content: ""; position: absolute; left: 20px; top: 20px; bottom: 20px; width: 2px; background: var(--line); }
.fl-n { position: relative; display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 10px 12px 10px 0; opacity: 0; animation: rowShow .5s ease var(--d) forwards; }
.fl-ic { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); margin-left: 0; }
.fl-n.done .fl-ic { background: #22c55e; border-color: #22c55e; color: #fff; }
.fl-n.now .fl-ic { background: var(--blue-600); border-color: var(--blue-600); color: #fff; animation: hmPulse 1.6s infinite; }
.fl-ic svg { width: 17px; height: 17px; }
.fl-n b { display: block; font-size: 12.5px; } .fl-n small { color: var(--muted); font-size: 11px; }

/* products */
.prds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prd { border: 1px solid var(--line-2); border-radius: 12px; padding: 10px; display: grid; gap: 4px; animation: cardIn .6s ease var(--d) both; }
.prd-img { height: 74px; border-radius: 8px; background: linear-gradient(160deg, #eef2ff, #dbeafe); display: grid; place-items: center; color: #334155; margin-bottom: 4px; }
.prd-img svg { width: 40px; height: 40px; stroke-width: 1.4; }
.prd b { font-size: 11.5px; } .prd small { font-size: 10px; color: var(--muted); }
.prd-f { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.prd-f em { font-style: normal; font-size: 9.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: var(--blue-50); color: var(--blue-600); }
.prd-f span { font-size: 10.5px; font-weight: 600; }
.prd:first-child { border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(61,92,255,.12); }

/* rack */
.rackw { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; align-items: center; }
.rack { background: #111528; border-radius: 10px; padding: 8px; display: grid; gap: 4px; box-shadow: inset 0 0 0 2px #2a3155; }
.ru { height: calc(var(--h) * 14px); background: linear-gradient(180deg, #262d4d, #1b2140); border-radius: 4px; display: flex; align-items: center; gap: 8px; padding: 0 8px; color: #c7d2fe; font-size: 10px; animation: rowShow .4s ease var(--d) both; }
.ru b { flex: 1; font-weight: 600; }
.ru-l { display: flex; gap: 2px; } .ru-l i { width: 3px; height: 8px; border-radius: 1px; background: #3a4268; }
.ru-led { width: 6px; height: 6px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 6px #22c55e; animation: blinkDot 1.4s infinite; }
.ru:nth-child(3n) .ru-led { animation-duration: .7s; background: #60a5fa; box-shadow: 0 0 6px #60a5fa; }
.rack-info { display: grid; gap: 8px; }
.rack-info div { background: var(--bg-soft); border-radius: 10px; padding: 10px; }
.rack-info small { display: block; font-size: 10px; color: var(--muted); } .rack-info b { font-size: 13px; }

/* gauges */
.ggs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; text-align: center; padding: 8px 0; }
.gg { position: relative; display: grid; justify-items: center; gap: 6px; }
.gg svg { width: 84px; transform: rotate(-90deg); }
.gg-b { fill: none; stroke: var(--line-2); stroke-width: 3.5; }
.gg-f { fill: none; stroke: #22c55e; stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; animation: ggFill 1.4s cubic-bezier(.2,.8,.2,1) var(--d) forwards; }
.gg-f.mid { stroke: #f59e0b; } .gg-f.lo { stroke: #ef4444; }
@keyframes ggFill { to { stroke-dashoffset: calc(100 - var(--v)); } }
.gg b { position: absolute; top: 30px; font-family: var(--font-display); font-size: 20px; }
.gg small { font-size: 10.5px; color: var(--muted); line-height: 1.3; }

/* document */
.doc { position: relative; display: grid; gap: 12px; }
.doc-h { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 2px solid var(--blue-600); }
.doc-h img { width: 26px; } .doc-h b { display: block; font-size: 13.5px; } .doc-h small { font-size: 10.5px; color: var(--muted); }
.doc-s h5 { margin: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--blue-600); }
.doc-l { display: flex; align-items: center; gap: 8px; font-size: 12px; padding: 4px 0; opacity: 0; animation: rowShow .4s ease var(--d) forwards; }
.doc-l.chk svg { width: 14px; height: 14px; color: #fff; background: #22c55e; border-radius: 50%; padding: 2px; flex: none; }
.doc-ppl { display: flex; align-items: center; }
.doc-ppl span { width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; background: var(--grad); color: #fff; font-size: 9.5px; font-weight: 700; display: grid; place-items: center; }
.doc-ppl span:first-child { margin-left: 0; } .doc-ppl em { font-style: normal; font-size: 11px; color: var(--muted); margin-left: 8px; }
.stamp { position: absolute; right: 4px; bottom: 2px; border: 2.5px solid #16a34a; color: #16a34a; font-weight: 800; font-size: 12px; letter-spacing: .12em; padding: 6px 12px; border-radius: 8px; transform: rotate(-10deg); opacity: 0; animation: stampIn .5s cubic-bezier(.2,1.6,.4,1) 1.8s forwards; background: rgba(255,255,255,.85); }
@keyframes stampIn { from { opacity: 0; transform: rotate(-10deg) scale(2); } to { opacity: .95; transform: rotate(-10deg) scale(1); } }

/* listing */
.gbp { display: grid; gap: 12px; }
.gbp-map { height: 100px; border-radius: 10px; background: #e8f0e5; background-image: linear-gradient(90deg, rgba(255,255,255,.8) 2px, transparent 2px), linear-gradient(rgba(255,255,255,.8) 2px, transparent 2px), linear-gradient(35deg, transparent 45%, #fde68a 45%, #fde68a 52%, transparent 52%); background-size: 40px 40px, 40px 40px, 100% 100%; display: grid; place-items: center; }
.gpin svg { width: 30px; height: 30px; color: #ef4444; fill: #ef4444; stroke: #fff; animation: bob 2s ease-in-out infinite; }
.gbp-b b { font-size: 14px; } .gbp-b > small { display: block; color: var(--muted); font-size: 11px; margin: 2px 0 10px; }
.stars { color: #f59e0b; font-size: 13px; letter-spacing: 1px; } .stars small { color: var(--muted); letter-spacing: 0; }
.gbp-a { display: flex; gap: 8px; margin-bottom: 10px; }
.gbp-a span { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); font-size: 11px; color: var(--blue-600); font-weight: 600; }
.gbp-a svg { width: 12px; height: 12px; }
.gbp-rev { display: flex; gap: 8px; align-items: center; background: var(--bg-soft); border-radius: 10px; padding: 8px; animation: rowShow .5s ease 1.2s both; }
.gbp-rev p { margin: 0; font-size: 11.5px; }

/* shop */
.shop { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.shop-img { border-radius: 12px; background: linear-gradient(160deg, #eef2ff, #dbeafe); display: grid; place-items: center; min-height: 160px; color: #334155; }
.shop-img svg { width: 70px; height: 70px; stroke-width: 1.2; }
.shop-i small { color: var(--muted); font-size: 10.5px; } .shop-i b { display: block; font-size: 14px; }
.shop-p { font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 6px 0 10px; color: var(--blue-600); }
.shop-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
.shop-pay span { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 10.5px; padding: 7px; border-radius: 8px; border: 1px solid var(--line); }
.shop-pay span.on { border-color: var(--blue-600); color: var(--blue-600); font-weight: 600; box-shadow: 0 0 0 3px rgba(61,92,255,.12); }
.shop-pay svg { width: 12px; height: 12px; }
.shop-btn { text-align: center; background: var(--ink); color: #fff; border-radius: 10px; padding: 9px; font-size: 11.5px; font-weight: 600; }
.toast { display: flex; align-items: center; gap: 8px; margin-top: 12px; background: #dcfce7; color: #15803d; border-radius: 10px; padding: 9px 12px; font-size: 11.5px; font-weight: 600; opacity: 0; animation: okPop .5s cubic-bezier(.2,1.4,.4,1) 1.6s forwards; transform: scale(.9); }
.toast svg { width: 14px; height: 14px; }

/* social */
.post { border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.post-h { display: flex; gap: 8px; align-items: center; padding: 10px; }
.post-h b { display: block; font-size: 12px; } .post-h small { font-size: 10px; color: var(--muted); }
.post-img { height: 120px; background: linear-gradient(135deg, #2440f5, #19c6d4); display: grid; place-items: center; color: #fff; text-align: center; font-size: 13px; }
.post-img b { font-family: var(--font-display); font-size: 26px; }
.post-a { display: flex; gap: 16px; padding: 9px 12px; font-size: 11.5px; color: var(--ink-2); }
.post-a span:first-child { color: #e11d48; animation: hmPulse 1.6s infinite; border-radius: 6px; }
.kpis3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.kpis3 div { background: var(--bg-soft); border-radius: 10px; padding: 9px; } .kpis3 small { display: block; font-size: 10px; color: var(--muted); } .kpis3 b { font-size: 15px; }

/* standalone phone (USSD) */
.ph-stage { position: relative; display: grid; place-items: center; min-height: 380px; }
.ph-cap { position: absolute; left: 0; top: 20px; z-index: 3; padding: 9px 14px; border-radius: 12px; font-size: 12px; font-weight: 600; animation: float 6s ease-in-out infinite; }
.iphone.solo { position: relative; width: 180px; }
.ussd { margin: 14px 12px 0; background: #f3f4f6; border-radius: 14px; padding: 14px; font-size: 11.5px; }
.ussd small { display: block; color: var(--muted); font-size: 9.5px; margin-bottom: 6px; }
.ussd p { margin: 0 0 6px; }
.ussd ol { margin: 0; padding-left: 18px; line-height: 1.8; }
.ussd ol li { opacity: 0; animation: rowShow .3s ease forwards; }
.ussd ol li:nth-child(1) { animation-delay: .5s; } .ussd ol li:nth-child(2) { animation-delay: .7s; } .ussd ol li:nth-child(3) { animation-delay: .9s; } .ussd ol li:nth-child(4) { animation-delay: 1.1s; }
.ussd-in { margin-top: 10px; background: #fff; border-radius: 8px; padding: 7px 9px; border: 1px solid var(--line); }
.ussd-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.ussd-btns span { text-align: center; padding: 7px; border-radius: 8px; background: #fff; border: 1px solid var(--line); font-size: 10.5px; font-weight: 600; }
.ussd-btns span.on { background: var(--blue-600); color: #fff; border-color: var(--blue-600); }

/* certificate */
.cert { text-align: center; border: 2px solid #c7d2fe; border-radius: 10px; padding: 18px 16px; background: linear-gradient(180deg, #fff, #f8faff); position: relative; }
.cert::before { content: ""; position: absolute; inset: 5px; border: 1px dashed #c7d2fe; border-radius: 7px; pointer-events: none; }
.cert img { width: 34px; margin: 0 auto 8px; }
.cert small { display: block; font-size: 9.5px; letter-spacing: .18em; color: var(--blue-600); font-weight: 700; }
.cert b { display: block; font-family: var(--font-display); font-size: 18px; margin: 6px 0; }
.cert p { font-size: 11px; color: var(--muted); margin: 0 auto 14px; max-width: 280px; }
.cert-f { display: flex; justify-content: space-between; align-items: center; font-size: 10px; color: var(--muted); }
.seal { width: 40px; height: 40px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 18px; animation: stampIn .5s cubic-bezier(.2,1.6,.4,1) 1s both; box-shadow: 0 0 0 4px #e0e7ff; }

/* spreadsheet */
.fx { display: flex; gap: 10px; font-family: ui-monospace, Menlo, monospace; font-size: 11px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; margin-bottom: 10px; }
.fx em { font-style: italic; color: var(--muted); }
.sheet { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.sh-r { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); font-size: 11.5px; }
.sh-r span { padding: 8px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sh-r.h span { background: #ecfdf5; font-weight: 700; color: #166534; }
.sh-r span:last-child { font-weight: 700; background: #f8fafc; animation: cellPop .5s ease both; }
.sh-r:nth-child(3) span:last-child { animation-delay: .3s; } .sh-r:nth-child(4) span:last-child { animation-delay: .5s; } .sh-r:nth-child(5) span:last-child { animation-delay: .7s; }
@keyframes cellPop { from { background: #bbf7d0; } }

@media (max-width: 640px) {
  .dd-viz .win { font-size: 11.5px; }
  .mlw { grid-template-columns: 1fr; } .ml-side { display: none; }
  .ggs { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
  .prds { grid-template-columns: 1fr 1fr; } .prd:nth-child(3) { display: none; }
  .rackw { grid-template-columns: 1fr; } .rack-info { grid-template-columns: repeat(3, 1fr); }
  .shop { grid-template-columns: 1fr; } .shop-img { min-height: 110px; }
  .bc-bars i { width: 14px; } .bc-bars i em { font-size: 8px; }
  .tb-r, .tb-h { gap: 6px; font-size: 11px; }
  .ph-cap { position: relative; top: 0; margin-bottom: 12px; }
}
.win .map, .w-map .map { height: auto; border: 0; border-radius: 0; }
.blue-panel .win p { color: var(--ink-2); }
.blue-panel .cert p { color: var(--muted); }
.blue-panel .ussd p { color: var(--ink); }
.ph-cap { left: auto; right: 0; top: auto; bottom: 30px; }
@media (max-width: 640px) { .ph-cap { right: auto; bottom: auto; } }

/* v11 — section labels: plain text + dot, no pill */
.chip, .chip.on-dark { background: none !important; border: 0 !important; box-shadow: none !important; backdrop-filter: none !important; padding: 0 !important; border-radius: 0; font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.chip { color: var(--blue-600); }
.chip.on-dark { color: #cfe0ff; }
.chip b { padding: 2px 8px; margin-left: 0; }

/* v12 — stop wide mockups forcing page overflow on phones */
.prod > *, .prod-visual, .prod-copy, .svc-hero > *, .showcase > *, .split > *, .dd-visual, .viz, .win, .win-body, .detail > *, .cap > * { min-width: 0; }
.win { max-width: 100%; }
html, body { overflow-x: clip; }
@media (max-width: 640px) {
  .prod-visual { padding: 16px 12px 20px; }
  .pos-grid { grid-template-columns: repeat(2, 1fr); }
  .pos-grid .pt:nth-child(n+5) { display: none; }
  .pt span { overflow-wrap: anywhere; }
  .eg { grid-template-columns: 1fr 60px 30px; gap: 8px; }
  .sev-row .sv b { font-size: 16px; }
  .tb-r span, .tb-h span { overflow-wrap: anywhere; }
  .term, .diff, .json { font-size: 10.5px; }
  .df code, .tl { white-space: pre-wrap; word-break: break-all; }
  .json { white-space: pre-wrap; }
  .bchart { gap: 6px; }
  .vchip { max-width: calc(100% - 12px); white-space: normal; }
}
.prods, .dd-visual, .bento, .feature-list, .detail { grid-template-columns: minmax(0, 1fr); }
main :is(.grid, .prods, .prod, .split, .detail, .dd-visual, .feature-list, .bento, .rackw, .sc-wrap, .au-wrap, .mlw, .contact-grid, .cta-form, .cap, .svc-hero, .showcase) > * { min-width: 0; }
@media (max-width: 1120px) { .prod, .prod.rev, .split, .svc-hero, .showcase, .cap, .contact-grid, .cta-form { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .g-2, .g-3, .g-4 { grid-template-columns: minmax(0, 1fr); }
  .sc-wrap { grid-template-columns: 1fr; justify-items: stretch; } .ring-score { justify-self: center; }
  .gt { grid-template-columns: 76px minmax(0, 1fr); }
  .md { grid-template-columns: 20px minmax(0, 1fr) 60px; }
  .cal { gap: 3px; } .cal-c i { font-size: 8px; }
}
@media (max-width: 640px) {
  .pos, .mlw, .doc, .flowv, .tb, .kb { grid-template-columns: minmax(0, 1fr); }
  .pos > *, .pos-grid > *, .ml > *, .doc-h > *, .tx > *, .up-f > *, .fl-n > * { min-width: 0; }
  .pos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml { grid-template-columns: 30px minmax(0, 1fr) auto; } .ml small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .rack-info { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; } .rack-info div { padding: 8px 6px; } .rack-info b { font-size: 11px; }
  .gt-q { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .doc-h b { font-size: 12.5px; overflow-wrap: anywhere; }
  .tx-n { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tx b { font-size: 11px; } .tx em { font-size: 9.5px; padding: 2px 6px; }
  .card .icon-box { transform: none !important; }
}
@media (max-width: 640px) {
  .pos-cart { grid-template-columns: minmax(0, 1fr); } .pos-cart > *, .cl > * { min-width: 0; }
  .cl { gap: 8px; } .cl span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pay span { font-size: 9px; padding: 6px 1px; }
}
