/* ============================================================
   BizArch — Website Design System
   ============================================================ */
:root{
  /* brand — from the BizArch logo (mark #0369A1, wordmark #0F172A) */
  --navy:        #075985;   /* deep brand blue (sky-800) — wordmark, ghost text */
  --navy-deep:   #0C4A6E;   /* sky-900 */
  --navy-ink:    #0F172A;   /* slate-900 — headings, matches the wordmark */
  --brand:       #0369A1;   /* the logo blue (sky-700) — primary brand */
  --teal:        #0369A1;   /* accent role → brand blue */
  --teal-deep:   #075985;   /* sky-800 */
  --green:       #0EA5E9;   /* former 3rd accent → bright sky (sky-500) */
  --green-deep:  #0284C7;   /* sky-600 */
  --mint:        #7DD3FC;   /* on-dark bright accent (sky-300) */

  /* neutrals — slate, tuned to the #0F172A wordmark */
  --bg:          #FFFFFF;
  --bg-soft:     #F4F8FC;
  --bg-mute:     #E8F1FA;
  --line:        #E1EAF3;
  --line-soft:   #EEF3F9;
  --ink:         #0F172A;
  --ink-2:       #3F4E66;
  --ink-3:       #64748B;

  /* FLAT colour system — one solid brand blue drives buttons, bars,
     underlines and headline highlights. The --grad-* tokens stay same-colour
     so background-clip:text elements (wordmark, highlight words) keep working. */
  --btn:         #0369A1;   /* primary action — the logo blue, white text */
  --btn-hover:   #075985;   /* darken on hover */
  --accent:      #0369A1;   /* solid flat accent = brand */
  --grad-brand:  var(--accent);                              /* bars / rings → solid brand */
  --grad-tg:     linear-gradient(var(--accent), var(--accent)); /* flat, but clip-text safe */
  --grad-mint:   linear-gradient(var(--mint), var(--mint));     /* on-dark accents, flat sky */
  --grad-btn:    var(--btn);
  --grad-dark:   #082F49;   /* dark sections → deep brand blue (sky-950) */

  --shadow-sm:   0 2px 10px rgba(15,23,42,0.06);
  --shadow-md:   0 14px 40px rgba(15,23,42,0.10);
  --shadow-lg:   0 30px 70px rgba(15,23,42,0.16);
  --shadow-glow: 0 20px 60px rgba(3,105,161,0.30);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);

  --nav-h: 76px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 14px); }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin:0;
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.006em;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: 'Space Grotesk', sans-serif;
  color: var(--navy-ink);
  margin:0;
  letter-spacing: -0.03em;
  line-height: 1.04;
  text-wrap: balance;
}
p{ margin:0; color: var(--ink-2); text-wrap: pretty; }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }

/* ---------- type scale ---------- */
.h-display{ font-size: clamp(44px, 7.4vw, 104px); letter-spacing: -0.045em; line-height: 0.96; }
.h1{ font-size: clamp(34px, 4.6vw, 62px); letter-spacing: -0.035em; }
.h2{ font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; }
.h3{ font-size: clamp(20px, 1.7vw, 25px); letter-spacing: -0.02em; }
.lead{ font-size: clamp(17px, 1.45vw, 21px); line-height: 1.55; color: var(--ink-2); }

.grad-text{
  background: var(--grad-tg);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: grad-flow 7s ease-in-out infinite;
}
.grad-text.mint{ background: var(--grad-mint); background-size:220% 100%; -webkit-background-clip:text; background-clip:text; }
@keyframes grad-flow{ 0%,100%{ background-position: 0% 50%; } 50%{ background-position: 100% 50%; } }
@media (prefers-reduced-motion: reduce){ .grad-text{ animation:none; } }

/* ---------- layout ---------- */
.wrap{ max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section{ padding: clamp(80px, 11vw, 160px) 0; position: relative; }
.section.tight{ padding: clamp(60px, 8vw, 110px) 0; }

.eyebrow{
  display:inline-flex; align-items:center; gap:11px;
  font-family:'Space Grotesk', sans-serif;
  font-weight:600; font-size: 12.5px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--teal-deep);
}
.eyebrow::before{ content:""; width:30px; height:2px; border-radius:2px; background: var(--grad-tg); }
.eyebrow.on-dark{ color: var(--mint); }
.eyebrow.on-dark::before{ background: var(--mint); }
.eyebrow.center{ justify-content:center; }

.sec-head{ max-width: 760px; }
.sec-head .h2{ margin-top: 20px; }
.sec-head .lead{ margin-top: 22px; }
.sec-head.center{ margin-inline:auto; text-align:center; }
.sec-head.center .eyebrow{ justify-content:center; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Space Grotesk', sans-serif; font-weight:600;
  font-size: 15.5px; letter-spacing:-0.01em;
  padding: 14px 26px; border-radius: 999px;
  cursor:pointer; border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
  white-space: nowrap;
}
.btn svg{ width:17px; height:17px; }
.btn-primary{
  color:#fff; background: var(--btn);
  box-shadow: 0 8px 20px rgba(3,105,161,0.24);
}
.btn-primary:hover{ transform: translateY(-3px); background: var(--btn-hover); box-shadow: 0 14px 30px rgba(3,105,161,0.32); }
.btn-primary .arrow{ transition: transform .35s var(--ease); }
.btn-primary:hover .arrow{ transform: translateX(4px); }
.btn-grad{ color:#fff; background: var(--btn); box-shadow: 0 8px 22px rgba(3,105,161,0.26); }
.btn-grad:hover{ transform: translateY(-3px); background: var(--btn-hover); box-shadow: 0 16px 34px rgba(3,105,161,0.34); }
.btn-ghost{ color: var(--navy); background: transparent; border-color: var(--line); }
.btn-ghost:hover{ border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-ghost.on-dark{ color:#fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost.on-dark:hover{ border-color: var(--mint); color: var(--mint); }
.btn-lg{ padding: 17px 32px; font-size: 16.5px; }
.btn-wa{ color:#fff; background:#25D366; box-shadow: 0 10px 26px rgba(37,211,102,0.30); }
.btn-wa:hover{ transform: translateY(-3px); background:#22c35e; box-shadow: 0 16px 36px rgba(37,211,102,0.40); }
.btn-wa svg{ width:19px; height:19px; }

/* film grain on dark sections — premium texture that also dithers gradient banding */
.section.dark::after{
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  height: var(--nav-h);
  display:flex; align-items:center;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s;
}
.nav .wrap{ display:flex; align-items:center; justify-content:space-between; width:100%; }
.nav.scrolled{
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(15,23,42,0.06);
}
.brand{ display:flex; align-items:center; gap:11px; }
.brand img{ height: 38px; width:auto; }
.brand .word{ font-family:'Space Grotesk', sans-serif; font-weight:700; font-size: 22px; letter-spacing:-0.03em; line-height:1; }
.brand .word .biz{ color: var(--navy); }
.brand .word .arch{ background: var(--grad-tg); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.nav-links{ display:flex; align-items:center; gap: 6px; }
.nav-links a{
  font-size: 15px; font-weight: 500; color: var(--ink-2);
  padding: 9px 15px; border-radius: 999px;
  transition: color .25s, background .25s;
}
.nav-links a:hover{ color: var(--navy); background: var(--bg-mute); }
.nav-links a.active{ color: var(--navy); background: var(--bg-mute); }
.nav-right{ display:flex; align-items:center; gap: 14px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:8px; }
.nav-toggle span{ display:block; width:24px; height:2px; background: var(--navy); border-radius:2px; transition: .3s; }
.nav-toggle span + span{ margin-top:6px; }

@media (max-width: 940px){
  .nav-links{
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap:0;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    padding: 14px var(--gut) 28px; box-shadow: var(--shadow-md);
    transform: translateY(-130%); transition: transform .45s var(--ease);
  }
  .nav-links.open{ transform: translateY(0); }
  .nav-links a{ padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line-soft); border-radius:0; }
  .nav-toggle{ display:block; }
  .nav-right .btn{ display:none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative; overflow: hidden;
  padding-top: calc(var(--nav-h) + 70px);
  padding-bottom: clamp(70px, 9vw, 130px);
  background:
    radial-gradient(ellipse 70% 60% at 82% -6%, rgba(3,105,161,0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at -8% 108%, rgba(14,165,233,0.12), transparent 55%),
    linear-gradient(180deg, #FFFFFF 0%, #F4F8FC 100%);
}
#hero-canvas{ position:absolute; inset:0; width:100%; height:100%; z-index:0; pointer-events:none; }
.hero .wrap{ position: relative; z-index: 2; }
.hero-grid{
  display:grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-badge{
  display:inline-flex; align-items:center; gap:9px;
  padding: 7px 9px 7px 7px; border-radius: 999px;
  background: rgba(255,255,255,0.7); border:1px solid var(--line);
  box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family:'Space Grotesk',sans-serif; font-size: 12.5px; font-weight:600;
  color: var(--ink-2); letter-spacing: 0.01em;
}
.hero-badge .pill{
  display:inline-flex; align-items:center; gap:6px;
  padding: 4px 11px; border-radius:999px; color:#fff;
  background: var(--grad-tg); font-size:11.5px; letter-spacing:0.06em; text-transform:uppercase;
}
.hero-badge .dot{ width:6px; height:6px; border-radius:50%; background:#fff; box-shadow:0 0 0 3px rgba(255,255,255,.4); animation: pulse 2s infinite; }
@keyframes pulse{ 0%,100%{ opacity:1 } 50%{ opacity:.35 } }

.hero h1{ margin-top: 26px; }
.hero .lead{ margin-top: 26px; max-width: 540px; }
.hero-cta{ margin-top: 38px; display:flex; gap:14px; flex-wrap:wrap; align-items:center; }
.hero-trust{ margin-top: 40px; display:flex; gap: 28px; flex-wrap:wrap; align-items:center; }
.hero-trust .ht{ display:flex; flex-direction:column; }
.hero-trust .ht .n{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: 26px; color: var(--navy); letter-spacing:-0.03em; }
.hero-trust .ht .l{ font-size: 12.5px; color: var(--ink-3); letter-spacing:0.02em; }
.hero-trust .sep{ width:1px; height: 34px; background: var(--line); }

/* hero visual — orbiting logo / glass panel */
.hero-visual{ position: relative; aspect-ratio: 1/1; display:grid; place-items:center; }
.hero-orb{
  position:absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, rgba(125,211,252,0.25), transparent 60%),
              radial-gradient(circle at 70% 75%, rgba(14,165,233,0.18), transparent 55%);
  filter: blur(8px);
}
.orbit-ring{
  position:absolute; border-radius:50%;
  border:1px solid rgba(7,89,133,0.10);
}
.orbit-ring.r1{ inset: 4%; }
.orbit-ring.r2{ inset: 16%; border-color: rgba(3,105,161,0.16); }
.orbit-ring.r3{ inset: 28%; border-color: rgba(14,165,233,0.14); }
.orbit-dot{ position:absolute; top:0; left:50%; width:11px; height:11px; border-radius:50%; transform: translate(-50%,-50%); }
.orbit-spin{ position:absolute; inset:4%; animation: spin 18s linear infinite; }
.orbit-spin.s2{ inset:16%; animation-duration: 26s; animation-direction: reverse; }
.orbit-spin.s3{ inset:28%; animation-duration: 34s; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .orbit-spin{ animation:none; } }

.hero-card{
  position: relative; z-index: 3;
  width: 78%;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px rgba(15,23,42,0.18), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding: 26px 26px 22px;
}
.hero-card .logo-big{ display:flex; justify-content:center; }
.hero-card .logo-big img{ height: 96px; width:auto; }
.hero-card .hc-word{ text-align:center; margin-top: 12px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: 30px; letter-spacing:-0.03em; }
.hero-card .hc-word .biz{ color: var(--navy); }
.hero-card .hc-word .arch{ background:var(--grad-tg); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.hero-card .hc-tag{ text-align:center; margin-top:4px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:10.5px; letter-spacing:0.22em; text-transform:uppercase; color: var(--ink-3); }
.hero-card .hc-bars{ display:grid; grid-template-columns: repeat(3,1fr); gap:8px; margin-top:20px; }
.hero-card .hc-bars .b{ height: 54px; border-radius: 10px; background: var(--bg-soft); border:1px solid var(--line); position:relative; overflow:hidden; }
.hero-card .hc-bars .b::after{ content:""; position:absolute; left:8px; right:8px; bottom:8px; height:var(--bh,40%); border-radius:5px; background: var(--grad-tg); }
.hero-card .hc-bars .b.b1::after{ --bh:38%; }
.hero-card .hc-bars .b.b2::after{ --bh:66%; background: linear-gradient(180deg,var(--navy),var(--teal)); }
.hero-card .hc-bars .b.b3::after{ --bh:50%; background: var(--grad-mint); }

.float-chip{
  position:absolute; z-index:4;
  display:flex; align-items:center; gap:9px;
  padding: 11px 15px; border-radius: 14px;
  background: rgba(255,255,255,0.92); border:1px solid var(--line);
  box-shadow: var(--shadow-md); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: 13px; color: var(--navy);
}
.float-chip .ic{
  width:30px; height:30px; border-radius:9px; display:grid; place-items:center; color:#fff;
  background: linear-gradient(140deg, var(--i1,#075985), var(--i2,#0369A1));
}
.float-chip.fc1{ top: 6%; left: -4%; }
.float-chip.fc2{ bottom: 12%; right: -6%; }
.float-chip.fc3{ bottom: 30%; left: -8%; }
.float{ animation: floaty 5s ease-in-out infinite; }
.float.d1{ animation-delay: -1.6s; }
.float.d2{ animation-delay: -3.2s; }
@keyframes floaty{ 0%,100%{ transform: translateY(0) } 50%{ transform: translateY(-12px) } }
@media (prefers-reduced-motion: reduce){ .float{ animation:none; } }

/* marquee logo strip */
.logo-strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--bg); padding: 26px 0; }
.logo-strip .label{ text-align:center; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px; letter-spacing:0.22em; text-transform:uppercase; color: var(--ink-3); margin-bottom:18px; }
.marquee{ overflow:hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; gap: 44px; width:max-content; animation: marq 32s linear infinite; }
@keyframes marq{ to{ transform: translateX(-50%); } }
.marquee:hover .marquee-track{ animation-play-state: paused; }
.marquee-track .item{ display:flex; align-items:center; gap:10px; color: var(--ink-3); font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:16px; letter-spacing:-0.01em; white-space:nowrap; }
.marquee-track .item svg{ width:20px; height:20px; color: var(--i2, var(--teal-deep)); }

/* ============================================================
   STATS
   ============================================================ */
.stats{ display:grid; grid-template-columns: repeat(4,1fr); gap: clamp(16px,2vw,26px); }
.stat{
  padding: 34px 28px; border-radius: var(--r-md);
  border:1px solid var(--line); background: linear-gradient(180deg,#fff,var(--bg-soft));
  position:relative; overflow:hidden;
}
.stat::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad-brand); }
.stat .n{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: clamp(40px,4.2vw,56px); line-height:0.95; letter-spacing:-0.04em; color: var(--navy); }
.stat .l{ margin-top: 12px; font-size: 14.5px; color: var(--ink-2); font-weight:500; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: clamp(18px,2vw,24px); margin-top: clamp(40px,5vw,64px); }
.svc{
  position:relative; padding: 32px 30px 30px; border-radius: var(--r-md);
  background:#fff; border:1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  overflow:hidden;
}
.svc::after{ content:""; position:absolute; inset:0; border-radius:inherit; padding:1px; background: var(--grad-brand); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity:0; transition: opacity .4s; pointer-events:none; }
.svc:hover{ transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc:hover::after{ opacity:1; }
.svc .ic{
  width: 56px; height:56px; border-radius: 16px; display:grid; place-items:center; color:#fff;
}
.svc .ic svg{ width:27px; height:27px; }

/* ---------- icon system — unified to the brand blue (matches the logo) ----------
   Every tile is a sky-blue duotone with a matching soft glow. Kept as separate
   classes so per-card assignment still works; all stay inside the brand family. */
.i-blue  { --i1:#38BDF8; --i2:#0369A1; }
.i-teal  { --i1:#22C3E6; --i2:#075985; }
.i-green { --i1:#38BDF8; --i2:#0284C7; }
.i-gold  { --i1:#7DD3FC; --i2:#0369A1; }
.i-orange{ --i1:#38BDF8; --i2:#0284C7; }
.i-rose  { --i1:#56C5F5; --i2:#0369A1; }
.i-violet{ --i1:#4FB3EE; --i2:#075985; }
.i-indigo{ --i1:#38BDF8; --i2:#0C4A6E; }
.i-cyan  { --i1:#22C3E6; --i2:#0284C7; }
.i-pink  { --i1:#56C5F5; --i2:#0369A1; }
.i-slate { --i1:#7DD3FC; --i2:#0C4A6E; }
.svc .ic, .mod .ic{
  background: linear-gradient(140deg, var(--i1,#075985), var(--i2,#0369A1));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--i2,#075985) 32%, transparent);
}
.svc h3{ margin-top: 22px; color: var(--navy); }
.svc p{ margin-top: 12px; font-size: 15.5px; }
.svc .tags{ margin-top: 20px; display:flex; flex-wrap:wrap; gap:7px; }
.tag{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px; padding:5px 11px; border-radius:999px; background: var(--bg-soft); color: var(--navy); border:1px solid var(--line); }
.svc .num{ position:absolute; top:26px; right:28px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color: var(--ink-3); opacity:.5; letter-spacing:0.1em; }

/* ============================================================
   ERP showcase (dark)
   ============================================================ */
.dark{ background: var(--grad-dark); color:#fff; position:relative; overflow:hidden; }
.dark::before{
  content:""; position:absolute; inset:0;
  background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 80% 70% at 75% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 75% 20%, #000, transparent 75%);
  pointer-events:none;
}
.dark h1,.dark h2,.dark h3,.dark h4{ color:#fff; }
.dark p{ color: rgba(255,255,255,0.74); }
.cta h1,.cta h2,.cta h3,.cta h4{ color: var(--navy); }
.cta-inner p{ color: var(--ink-2); }
.dark .wrap{ position:relative; z-index:1; }
.glow-orb{ position:absolute; border-radius:50%; filter: blur(70px); pointer-events:none; }
.glow-orb.g1{ width: 420px; height:420px; top:-120px; right:-80px; background: radial-gradient(circle,rgba(3,105,161,0.34),transparent 65%); }
.glow-orb.g2{ width: 380px; height:380px; bottom:-140px; left:-100px; background: radial-gradient(circle,rgba(14,165,233,0.24),transparent 65%); }

.erp-top{ display:grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(34px,5vw,72px); align-items:center; }
.erp-feat{ margin-top: 32px; display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.erp-feat .ef{ display:flex; gap:13px; align-items:flex-start; }
.erp-feat .ef .ck{ flex:0 0 24px; width:24px; height:24px; border-radius:50%; background: var(--grad-tg); display:grid; place-items:center; margin-top:2px; }
.erp-feat .ef .ck svg{ width:13px; height:13px; color:#fff; }
.erp-feat .ef b{ color:#fff; font-weight:600; display:block; font-size:15.5px; }
.erp-feat .ef span.d{ font-size:13.5px; color: rgba(255,255,255,0.6); }

/* product window mock */
.win{
  border-radius: var(--r-md); overflow:hidden;
  background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px rgba(0,0,0,0.45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.win-bar{ display:flex; align-items:center; gap:7px; padding: 13px 16px; border-bottom:1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); }
.win-bar .dot{ width:11px; height:11px; border-radius:50%; }
.win-bar .dot.r{ background:#FF6058; } .win-bar .dot.y{ background:#FFBE2F; } .win-bar .dot.g{ background:#2ACB42; }
.win-bar .t{ margin-left:10px; font-family:'Space Grotesk',sans-serif; font-size:12px; color: rgba(255,255,255,0.55); letter-spacing:0.04em; }
/* real product screenshot inside the window chrome */
.win-shot{ display:block; width:100%; height:auto; }

/* zatca strip */
.zatca-strip{
  margin-top: clamp(40px,5vw,68px);
  border-radius: var(--r-lg); overflow:hidden; position:relative;
  background: linear-gradient(135deg, rgba(8,47,73,0.6), rgba(7,89,133,0.45));
  border:1px solid rgba(255,255,255,0.14);
  padding: clamp(30px,4vw,52px);
}
.zatca-strip .ksa{ position:absolute; left:0; top:0; bottom:0; width:6px; background: linear-gradient(180deg,var(--green-deep),var(--green)); }
.zatca-strip .ar{ position:absolute; right: clamp(20px,4vw,60px); top:50%; transform:translateY(-50%); font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: clamp(80px,12vw,180px); color: rgba(125,211,252,0.07); direction:rtl; line-height:1; pointer-events:none; }
.zatca-head{ display:flex; flex-wrap:wrap; align-items:flex-end; justify-content:space-between; gap:20px; }
.zatca-pts{ margin-top: 36px; display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; position:relative; z-index:1; }
.zatca-pts .pt .k{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size: clamp(26px,3vw,38px); line-height:1; background: var(--grad-mint); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.zatca-pts .pt .l{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:15px; color:#fff; margin-top:9px; }
.zatca-pts .pt .d{ font-size:13px; color: rgba(255,255,255,0.6); margin-top:5px; line-height:1.45; }

/* ============================================================
   INDUSTRY MODULES
   ============================================================ */
.mod-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: clamp(40px,5vw,60px); }
.mod{
  padding: 24px 22px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position:relative; overflow:hidden;
}
.mod::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px; background: var(--grad-brand); transform: scaleX(0); transform-origin:left; transition: transform .4s var(--ease); }
.mod:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.mod:hover::before{ transform: scaleX(1); }
.mod .ic{ width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:#fff; }
.mod .ic svg{ width:23px; height:23px; }
.mod h3{ margin-top:18px; font-size:18px; color: var(--navy); }
.mod .sub{ margin-top:5px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11px; letter-spacing:0.1em; text-transform:uppercase; color: var(--teal-deep); }
.mod ul{ margin-top:14px; display:flex; flex-direction:column; gap:7px; }
.mod ul li{ position:relative; padding-left:16px; font-size:13.5px; color: var(--ink-2); line-height:1.4; }
.mod ul li::before{ content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:50%; background: var(--teal); }
.mod.cta-mod{ background: var(--grad-dark); border:none; color:#fff; display:flex; flex-direction:column; justify-content:center; }
.mod.cta-mod h3{ color:#fff; font-size:24px; }
.mod.cta-mod p{ color: rgba(255,255,255,0.72); margin-top:10px; font-size:14px; }
.mod.cta-mod .ek{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:11px; letter-spacing:0.2em; text-transform:uppercase; color: var(--mint); }

/* ============================================================
   AI section (dark)
   ============================================================ */
.ai-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: clamp(40px,5vw,56px); }
.ai-card{
  padding: 28px 26px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.12);
  transition: transform .35s var(--ease), background .35s, border-color .35s;
}
.ai-card:hover{ transform: translateY(-6px); background: rgba(255,255,255,0.08); border-color: rgba(125,211,252,0.4); }
.ai-card .ic{
  width:50px; height:50px; border-radius:14px; display:grid; place-items:center; color:#fff;
  background: linear-gradient(140deg, var(--i1,#0369A1), var(--i2,#0EA5E9));
  box-shadow: 0 10px 24px color-mix(in srgb, var(--i1,#0369A1) 42%, transparent);
}
.ai-card .ic svg{ width:25px; height:25px; }
.ai-card h3{ margin-top:20px; font-size:19px; }
.ai-card p{ margin-top:10px; font-size:14.5px; }
.ai-tags{ margin-top: clamp(40px,4vw,52px); display:flex; flex-wrap:wrap; gap:10px; }
.ai-tags .t{ display:inline-flex; align-items:center; gap:8px; padding:10px 16px; border-radius:999px; background: rgba(255,255,255,0.05); border:1px solid rgba(255,255,255,0.14); font-family:'Space Grotesk',sans-serif; font-weight:500; font-size:14px; color: rgba(255,255,255,0.85); }
.ai-tags .t .d{ width:7px; height:7px; border-radius:50%; background: var(--mint); animation: ai-dot 2.4s ease-in-out infinite; }
.ai-tags .t:nth-child(2) .d{ animation-delay: .25s; }
.ai-tags .t:nth-child(3) .d{ animation-delay: .50s; }
.ai-tags .t:nth-child(4) .d{ animation-delay: .75s; }
.ai-tags .t:nth-child(5) .d{ animation-delay: 1.0s; }
.ai-tags .t:nth-child(6) .d{ animation-delay: 1.25s; }
@keyframes ai-dot{
  0%, 100%{ transform: scale(1); opacity: .7; box-shadow: 0 0 0 0 rgba(125,211,252,.45); }
  50%{ transform: scale(1.35); opacity: 1; box-shadow: 0 0 0 4px rgba(125,211,252,0); }
}
@media (prefers-reduced-motion: reduce){ .ai-tags .t .d{ animation: none; } }

/* ============================================================
   404 PAGE
   ============================================================ */
.nf{ min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gut); position: relative; overflow: hidden; background: var(--grad-dark); color: #fff; }
.nf-inner{ position: relative; z-index: 1; max-width: 560px; }
.nf .brand{ justify-content: center; margin-bottom: 30px; }
.nf .brand img{ height: 42px; }
.nf .brand .word{ font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 24px; letter-spacing: -0.03em; }
.nf .brand .word .biz{ color: #fff; }
.nf-code{ font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(96px, 19vw, 188px); line-height: .9; letter-spacing: -0.05em; background: var(--grad-mint); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.nf h1{ color: #fff; margin-top: 6px; }
.nf .lead{ color: rgba(255,255,255,0.75); margin-top: 16px; margin-inline: auto; }
.nf-cta{ margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   PRINT
   ============================================================ */
@media print{
  .nav, .scroll-progress, .dot-rail, .to-top, .cursor-glow, .scroll-cue, .intro,
  #hero-canvas, .glow-orb, .aurora, .marquee, .footer-ticker, .lead-form,
  .hero-visual, .reveal-shine{ display: none !important; }
  .reveal, .hero-anim, .split .sw{ opacity: 1 !important; transform: none !important; }
  .section.dark, .section.cta, .footer, .hero{ background: #fff !important; color: #111 !important; }
  .section.dark::before, .section.dark::after, .section.cta::after{ display: none !important; }
  .dark h1, .dark h2, .dark h3, .dark h4, .dark p, .dark b, .dark span,
  .cta-inner *, .footer *, .contact .v, .contact .k{ color: #111 !important; -webkit-text-fill-color: #111 !important; }
  .grad-text{ -webkit-text-fill-color: #075985 !important; color: #075985 !important; }
  body{ font-size: 11pt; }
  .section{ padding: 20px 0 !important; }
  a{ color: #111 !important; text-decoration: none; }
}

/* reduced-motion completeness — guards for early animations that predated their checks */
@media (prefers-reduced-motion: reduce){
  .marquee-track{ animation: none !important; }
  .hero-badge .dot{ animation: none !important; }
}

/* creative studio: preview zoom on hover */
.crt .prev{ transition: transform .45s var(--ease); }
.crt:hover .prev{ transform: scale(1.04); }
.prev.video::after{ transition: transform .35s var(--ease); }
.crt:hover .prev.video::after{ transform: translate(-50%,-50%) scale(1.18); }
@media (prefers-reduced-motion: reduce){
  .crt:hover .prev{ transform: none; }
  .crt:hover .prev.video::after{ transform: translate(-50%,-50%); }
}

/* stat icons */
.stat-ic{
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--i1,#075985), var(--i2,#0369A1));
  box-shadow: 0 8px 18px color-mix(in srgb, var(--i2,#075985) 26%, transparent); margin-bottom: 16px;
}
.stat-ic svg{ width: 21px; height: 21px; }

/* ============================================================
   CREATIVE STUDIO
   ============================================================ */
.crt-grid{ display:grid; grid-template-columns: repeat(2,1fr); gap: 22px; margin-top: clamp(40px,5vw,60px); }
.crt{
  display:grid; grid-template-columns: 200px 1fr; gap: 26px; align-items:center;
  padding: 26px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.crt:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.crt .prev{ aspect-ratio: 4/3; border-radius: 14px; position:relative; overflow:hidden; }
.prev.avatar{ background: radial-gradient(ellipse at 70% 30%, rgba(125,211,252,0.4), transparent 50%), linear-gradient(135deg,#075985,var(--navy) 60%,var(--teal-deep)); }
.prev.avatar::after{ content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:46px; height:46px; border-radius:50%; background: linear-gradient(180deg,#FFE4C7,#E6B789); box-shadow: 0 0 0 4px rgba(255,255,255,0.15); }
.prev.avatar::before{ content:""; position:absolute; left:50%; bottom:-14px; transform:translateX(-50%); width:72px; height:46px; border-radius:50% 50% 0 0; background: linear-gradient(180deg,var(--teal),var(--teal-deep)); }
.prev.video{ background: radial-gradient(ellipse at 35% 50%, rgba(3,105,161,0.55), transparent 55%), linear-gradient(135deg,var(--navy-deep),var(--navy) 50%,#082F49); }
.prev.video::after{ content:""; position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:0; height:0; border-left:24px solid #fff; border-top:15px solid transparent; border-bottom:15px solid transparent; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.35)); }
.prev.design{ background: linear-gradient(135deg,#EAF4FC,#CDE7F8 50%,#A9D6F2); display:grid; grid-template-columns:1fr 1fr; grid-template-rows:1fr 1fr; gap:7px; padding:11px; }
.prev.design .tl{ border-radius:8px; }
.prev.design .tl.a{ background: linear-gradient(135deg,var(--navy),var(--teal)); }
.prev.design .tl.b{ background: rgba(255,255,255,0.9); }
.prev.design .tl.c{ background: linear-gradient(135deg,#38BDF8,#0284C7); }
.prev.design .tl.d{ background: linear-gradient(135deg,var(--green),var(--teal)); }
.prev.ad{ background: linear-gradient(135deg,var(--navy-deep),var(--navy)); }
.prev.ad::before{ content:"AD"; position:absolute; left:14px; top:14px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:11px; letter-spacing:0.2em; color: var(--mint); padding:4px 9px; border:1px solid rgba(125,211,252,0.4); border-radius:6px; }
.prev.ad::after{ content:""; position:absolute; right:14px; bottom:14px; width:64px; height:16px; border-radius:5px; background: var(--grad-tg); }
.crt .ct .hd{ display:flex; align-items:center; gap:12px; }
.crt .ct .ic{
  width:42px; height:42px; border-radius:12px; display:grid; place-items:center; color:#fff; flex-shrink:0;
  background: linear-gradient(140deg, var(--i1,#0369A1), var(--i2,#0EA5E9));
  box-shadow: 0 10px 22px color-mix(in srgb, var(--i1,#0369A1) 30%, transparent);
}
.crt .ct .ic svg{ width:21px; height:21px; }
.crt .ct h3{ font-size:21px; color: var(--navy); }
.crt .ct p{ margin-top:12px; font-size:14.5px; }
.crt .ct ul{ margin-top:14px; display:flex; flex-direction:column; gap:6px; }
.crt .ct ul li{ position:relative; padding-left:16px; font-size:13.5px; color: var(--ink-2); }
.crt .ct ul li::before{ content:""; position:absolute; left:0; top:8px; width:6px; height:6px; border-radius:50%; background: var(--teal); }

/* ---- featured real client work (Ooredoo avatar ad) ---- */
.studio-feature{
  margin-bottom: clamp(28px,3.4vw,44px);
  display:grid; grid-template-columns: minmax(0,1.62fr) minmax(0,1fr);
  gap: clamp(18px,2.2vw,30px) clamp(20px,2.4vw,34px);
  align-items: start;
}
.sf-main{
  grid-column:1; grid-row:1;
  position:relative; margin:0; border-radius: var(--r-md); overflow:hidden;
  background:#082F49; border:1px solid var(--line);
  box-shadow: 0 30px 60px rgba(8,47,73,.18);
  aspect-ratio:16/9;
}
.sf-video{ display:block; width:100%; height:100%; object-fit:cover; background:#082F49; }
.sf-badge{
  position:absolute; left:14px; top:14px; z-index:3;
  display:inline-flex; align-items:center; gap:7px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:11.5px; letter-spacing:0.02em; color:#fff;
  background: rgba(8,47,73,0.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  border:1px solid rgba(255,255,255,0.18); border-radius:999px; padding:6px 13px;
}
.sf-dot{ width:7px; height:7px; border-radius:50%; background: var(--green); box-shadow:0 0 0 0 rgba(14,165,233,.6); animation: live-pulse 1.8s ease-out infinite; }
.sf-sound{
  position:absolute; right:14px; bottom:14px; z-index:3;
  width:40px; height:40px; border-radius:50%; display:grid; place-items:center; cursor:pointer;
  color:#082F49; background: rgba(255,255,255,0.92); border:none;
  box-shadow: 0 6px 18px rgba(0,0,0,.28); transition: transform .25s var(--ease), background .25s;
}
.sf-sound:hover{ transform: scale(1.08); }
.sf-sound .ic-on{ display:none; }
.sf-sound.on{ background: var(--teal); color:#fff; }
.sf-sound.on .ic-on{ display:block; }
.sf-sound.on .ic-off{ display:none; }
.sf-play{
  position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); z-index:2;
  width:66px; height:66px; border-radius:50%; display:none; place-items:center; cursor:pointer;
  color:#082F49; background: rgba(255,255,255,0.94); border:none; padding-left:4px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease);
}
.sf-play:hover{ transform:translate(-50%,-50%) scale(1.08); }
.sf-main.is-paused .sf-play{ display:grid; }
.sf-main.is-paused::after{ content:""; position:absolute; inset:0; background:rgba(8,47,73,.28); z-index:1; }

.sf-phone{
  grid-column:2; grid-row:1; justify-self:center; align-self:start;
  position:relative; width:100%; max-width: 216px;
  background:#082F49; border-radius:24px; padding:8px;
  box-shadow: 0 18px 40px rgba(8,47,73,.32); border:1px solid rgba(255,255,255,.08);
}
.sf-notch{ position:absolute; top:15px; left:50%; transform:translateX(-50%); width:44px; height:5px; border-radius:3px; background: rgba(255,255,255,.22); z-index:2; }
.sf-vertical{ display:block; width:100%; height:auto; border-radius:17px; background:#082F49; }
.sf-copy{ grid-column: 1 / -1; grid-row:2; max-width: 720px; }
.sf-copy h3{ font-size: clamp(20px,1.9vw,24px); color: var(--navy); line-height:1.2; }
.sf-copy p{ margin-top:11px; font-size:15px; color: var(--ink-2); max-width: 640px; }
.sf-copy p b{ color: var(--navy); font-weight:600; }
.sf-tags{ margin-top:15px; display:flex; flex-wrap:wrap; gap:7px; }
.sf-tags span{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px;
  padding:5px 11px; border-radius:999px; background: var(--bg-soft); color: var(--navy); border:1px solid var(--line);
}
@media (max-width: 760px){
  .studio-feature{ grid-template-columns: 1fr auto; }
  .sf-phone{ max-width: 150px; }
  .sf-copy{ text-align:left; }
}
@media (max-width: 520px){
  .studio-feature{ grid-template-columns: 1fr; justify-items:center; }
  .sf-main{ width:100%; }
  .sf-phone{ grid-column:1; grid-row:2; max-width: 190px; margin-top: 4px; }
  .sf-copy{ grid-row:3; text-align:center; }
  .sf-copy p{ margin-inline:auto; }
  .sf-tags{ justify-content:center; }
}
@media (prefers-reduced-motion: reduce){ .sf-dot{ animation:none; } }

/* ============================================================
   WHY
   ============================================================ */
.why-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: clamp(40px,5vw,60px); }
.why{ position:relative; padding: 30px 28px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.why:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why .ic{ width:52px; height:52px; border-radius:15px; display:grid; place-items:center; }
.why .ic svg{ width:26px; height:26px; }
.why .num{ position:absolute; top:28px; right:28px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:14px; color: var(--ink-3); opacity:.45; letter-spacing:0.1em; }
.why h3{ margin-top:20px; font-size:19px; color: var(--navy); }
.why p{ margin-top:11px; font-size:14.5px; }

/* ============================================================
   CTA / FOOTER
   ============================================================ */
/* CTA — flat LIGHT design (no dark sweep / glows) */
.cta{ background: var(--bg-soft); color: var(--ink); position:relative; overflow:hidden; }
.cta .glow-orb, .cta .aurora{ display:none !important; }
.cta-inner{ text-align:center; max-width: 820px; margin-inline:auto; position:relative; z-index:1; }
.cta-inner .lead{ margin-top: 24px; }
.cta-inner .btns{ margin-top:38px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.contact-grid{ margin-top: clamp(46px,5vw,66px); display:grid; grid-template-columns: repeat(4,1fr); gap:16px; position:relative; z-index:1; }
.contact{ padding: 26px 22px; border-radius: var(--r-md); background:#fff; border:1px solid var(--line); text-align:left; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.contact:hover{ transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact .ic{ width:46px; height:46px; border-radius:50%; display:grid; place-items:center; }
.contact .ic svg{ width:22px; height:22px; }
.contact .k{ margin-top:18px; font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:11px; letter-spacing:0.16em; text-transform:uppercase; color: var(--ink-3); }
.contact .v{ margin-top:7px; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:17px; color: var(--navy); }

.footer{ background: var(--navy-ink); color: rgba(255,255,255,0.7); padding: 56px 0 40px; }
.footer-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:30px; flex-wrap:wrap; }
.footer .plaque{ display:inline-flex; align-items:center; gap:13px; padding: 14px 20px 14px 16px; background:#fff; border-radius: 16px; box-shadow: 0 10px 40px rgba(125,211,252,0.16); }
.footer .plaque img{ height: 44px; width: auto; }
.footer .plaque .word{ font-family:'Space Grotesk',sans-serif; font-weight:700; font-size:22px; letter-spacing:-0.03em; }
.footer .plaque .word .biz{ color: var(--navy); }
.footer .plaque .word .arch{ background:var(--grad-tg); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }
.footer .plaque .tag{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:9.5px; letter-spacing:0.2em; text-transform:uppercase; color: var(--ink-3); margin-top:3px; }
.footer-nav{ display:flex; gap: 44px; flex-wrap:wrap; }
.footer-nav .col h5{ font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:12px; letter-spacing:0.14em; text-transform:uppercase; color: rgba(255,255,255,0.5); margin:0 0 14px; }
.footer-nav .col a{ display:block; font-size:14.5px; color: rgba(255,255,255,0.75); padding:5px 0; transition: color .25s; }
.footer-nav .col a:hover{ color: var(--mint); }
.footer-bottom{ margin-top: 44px; padding-top: 24px; border-top:1px solid rgba(255,255,255,0.1); display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; font-size:13px; }
.footer-bottom .tagline{ display:flex; align-items:center; gap:12px; font-family:'Space Grotesk',sans-serif; font-weight:700; letter-spacing:0.22em; text-transform:uppercase; font-size:12px; color: rgba(255,255,255,0.7); }
.footer-bottom .tagline .d{ width:6px; height:6px; border-radius:50%; background: var(--mint); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.js .reveal{ opacity:0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in{ opacity:1; transform: none; }
.reveal[data-d="1"]{ transition-delay:.08s; }
.reveal[data-d="2"]{ transition-delay:.16s; }
.reveal[data-d="3"]{ transition-delay:.24s; }
.reveal[data-d="4"]{ transition-delay:.32s; }
.reveal[data-d="5"]{ transition-delay:.40s; }
@media (prefers-reduced-motion: reduce){ .reveal{ opacity:1; transform:none; transition:none; } }

/* hero load anim */
.js .hero-anim{ opacity:0; transform: translateY(26px); }
.loaded .hero-anim{ opacity:1; transform:none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.loaded .hero-anim[data-d="1"]{ transition-delay:.15s; }
.loaded .hero-anim[data-d="2"]{ transition-delay:.28s; }
.loaded .hero-anim[data-d="3"]{ transition-delay:.41s; }
.loaded .hero-anim[data-d="4"]{ transition-delay:.54s; }
.js .hero-visual.hero-anim{ transform: scale(.94); }
.loaded .hero-visual.hero-anim{ transform: scale(1); }
@media (prefers-reduced-motion: reduce){ .hero-anim{ opacity:1!important; transform:none!important; } }

/* ============================================================
   INTERACTIVE — spotlight, tilt, magnetic
   ============================================================ */
/* cursor-follow spotlight injected into cards */
.card-spot{
  position:absolute; inset:0; border-radius:inherit;
  pointer-events:none; opacity:0; z-index:0;
  transition: opacity .35s var(--ease);
  background: radial-gradient(200px circle at var(--mx,50%) var(--my,50%),
              rgba(3,105,161,0.12), rgba(14,165,233,0.06) 38%, transparent 62%);
}
.svc:hover .card-spot, .mod:hover .card-spot,
.ai-card:hover .card-spot, .why:hover .card-spot{ opacity:1; }
/* keep real content above the tint */
.svc > *:not(.card-spot), .mod > *:not(.card-spot),
.ai-card > *:not(.card-spot), .why > *:not(.card-spot){ position:relative; z-index:1; }

/* 3D tilt */
.tilt-wrap{ perspective: 900px; }
.tilt{
  transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg));
  transition: transform .18s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt.is-active{ transition: transform .05s linear; }

/* magnetic buttons */
.magnetic{ will-change: transform; }

@media (prefers-reduced-motion: reduce){
  .card-spot{ display:none; }
  .tilt{ transform:none !important; }
  .magnetic{ transform:none !important; }
}

/* ============================================================
   IMPROV — rotator, aurora, back-to-top
   ============================================================ */
/* rotating headline word */
.rotator{
  display:inline-flex; position:relative;
  vertical-align:bottom; overflow:hidden;
  transition: width .55s var(--ease);
  white-space:nowrap;
}
.rotator .rot-word{
  display:inline-block;
  /* The gradient + text-clip must live on the element that actually holds the
     glyphs. Without this the word inherits the parent's transparent fill with
     no gradient of its own to clip, and renders invisible. */
  background: var(--grad-tg);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: grad-flow 7s ease-in-out infinite;
  transition: transform .5s var(--ease), opacity .5s var(--ease), filter .5s var(--ease);
}
.rotator.swap-out .rot-word{ transform: translateY(-0.92em); opacity:0; filter: blur(6px); }
.rotator.swap-in .rot-word{ transform: translateY(0.92em); opacity:0; filter: blur(6px); transition:none; }
@media (prefers-reduced-motion: reduce){
  .rotator{ transition:none; }
  .rotator .rot-word{ transition:none; }
}

/* drifting aurora inside dark sections */
.aurora{
  position:absolute; inset:-10% -5%; z-index:0; pointer-events:none;
  background:
    radial-gradient(40% 50% at 20% 30%, rgba(3,105,161,0.30), transparent 60%),
    radial-gradient(38% 48% at 80% 25%, rgba(14,165,233,0.24), transparent 60%),
    radial-gradient(45% 55% at 60% 80%, rgba(7,89,133,0.40), transparent 62%);
  filter: blur(26px);
  opacity:.85;
  animation: aurora-drift 22s ease-in-out infinite alternate;
}
@keyframes aurora-drift{
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05); }
  50%  { transform: translate3d(4%, 3%, 0) scale(1.12); }
  100% { transform: translate3d(-2%, 4%, 0) scale(1.06); }
}
.section.dark .wrap, .section.cta .wrap{ position:relative; z-index:1; }
@media (prefers-reduced-motion: reduce){ .aurora{ animation:none; } }

/* back-to-top */
.to-top{
  position:fixed; right:22px; bottom:22px; z-index:900;
  width:50px; height:50px; border-radius:50%;
  display:grid; place-items:center; cursor:pointer;
  background:#fff; border:1px solid var(--line);
  color:var(--navy); box-shadow: var(--shadow-md);
  opacity:0; transform: translateY(16px) scale(.9); pointer-events:none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), box-shadow .25s var(--ease);
}
.to-top.show{ opacity:1; transform:none; pointer-events:auto; }
.to-top:hover{ box-shadow: var(--shadow-glow); }
.to-top .arr{ width:19px; height:19px; position:relative; z-index:2; transition: transform .25s var(--ease); }
.to-top:hover .arr{ transform: translateY(-2px); }
.to-top .ring{ position:absolute; inset:0; width:100%; height:100%; transform: rotate(-90deg); }
.to-top .ring circle{ fill:none; stroke-width:2.5; }
.to-top .ring .track{ stroke: var(--line); }
.to-top .ring .prog{
  stroke: var(--teal); stroke-linecap:round;
  stroke-dasharray: 125.6; stroke-dashoffset: 125.6;
  transition: stroke-dashoffset .1s linear;
}

/* ============================================================
   SECTION DOT RAIL
   ============================================================ */
.dot-rail{
  position:fixed; right:22px; top:50%; transform:translateY(-50%);
  z-index:850; display:flex; flex-direction:column; gap:14px;
  align-items:center; pointer-events:auto;
}
.dot-rail button{
  --c: var(--ink-3);
  position:relative; width:11px; height:11px; padding:0; border:0; cursor:pointer;
  background:transparent; display:grid; place-items:center;
}
.dot-rail button::after{
  content:""; width:8px; height:8px; border-radius:50%;
  background: var(--line); border:1.5px solid transparent;
  transition: transform .3s var(--ease), background .3s var(--ease);
}
.dot-rail button:hover::after{ background: var(--ink-3); transform:scale(1.25); }
.dot-rail button.active::after{
  background: var(--grad-tg); transform:scale(1.45);
  box-shadow: 0 0 0 4px rgba(3,105,161,0.14);
}
.dot-rail .tip{
  position:absolute; right:22px; top:50%; transform:translateY(-50%) translateX(6px);
  white-space:nowrap; font-family:'Space Grotesk',sans-serif; font-weight:600;
  font-size:11px; letter-spacing:0.06em; text-transform:uppercase;
  color:#fff; background: var(--navy-ink); padding:5px 10px; border-radius:7px;
  opacity:0; pointer-events:none; transition: opacity .25s, transform .25s;
}
.dot-rail button:hover .tip{ opacity:1; transform:translateY(-50%) translateX(0); }
/* hide on dark sections collision? keep — it sits in the gutter */
@media (max-width: 1180px){ .dot-rail{ display:none; } }
@media (prefers-reduced-motion: reduce){ .dot-rail button::after{ transition:none; } }

/* ============================================================
   SECTION DOT RAIL — end
   ============================================================ */
.scroll-progress{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  z-index: 1000;
  background: transparent;
  pointer-events: none;
}
.scroll-progress span{
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad-brand);
  box-shadow: 0 0 12px rgba(3,105,161,0.55);
  will-change: transform;
}

/* parallax layers — JS sets --py; reduced-motion users keep 0 */
[data-parallax]{ will-change: transform; }
@media (prefers-reduced-motion: reduce){
  [data-parallax]{ transform: none !important; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .stats{ grid-template-columns: repeat(2,1fr); }
  .svc-grid, .ai-grid, .why-grid{ grid-template-columns: repeat(2,1fr); }
  .mod-grid{ grid-template-columns: repeat(3,1fr); }
  .contact-grid{ grid-template-columns: repeat(2,1fr); }
  .zatca-pts{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-visual{ max-width: 420px; margin: 10px auto 0; }
  .erp-top{ grid-template-columns: 1fr; }
  .erp-feat{ grid-template-columns: 1fr 1fr; }
  .crt-grid{ grid-template-columns: 1fr; }
  .float-chip.fc1{ left: 2%; } .float-chip.fc2{ right: 2%; } .float-chip.fc3{ left: 0; }
}
@media (max-width: 620px){
  body{ font-size: 16px; }
  .svc-grid, .ai-grid, .why-grid, .mod-grid, .stats, .contact-grid, .crt-grid{ grid-template-columns: 1fr; }
  .zatca-pts{ grid-template-columns: 1fr 1fr; }
  .crt{ grid-template-columns: 1fr; }
  .crt .prev{ max-width: 240px; }
  .erp-feat{ grid-template-columns: 1fr; }
  .hero-trust .sep:nth-of-type(2){ display:none; }
  .footer-top{ flex-direction: column; }
}
@media (max-width: 520px){
  /* tighter hero rhythm on phones */
  .hero{ padding-top: calc(var(--nav-h) + 40px); }
  .hero-cta{ gap:10px; }
  .hero-cta .btn{ width:100%; justify-content:center; }
  /* trust row: 3-up grid, no dividers, no awkward wrap */
  .hero-trust{ gap:18px 26px; }
  .hero-trust .sep{ display:none; }
  .hero-trust .ht .n{ font-size:23px; }
  /* CTA buttons full-width for easy tapping */
  .cta-inner .btns .btn, .erp-copy .btn{ width:100%; justify-content:center; }
  /* keep the back-to-top clear of thumbs */
  .to-top{ right:16px; bottom:16px; }
}

/* animated hamburger → X */
.nav-toggle.is-open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   BRAND INTRO — page-load curtain reveal
   ============================================================ */
.intro{
  position: fixed; inset: 0; z-index: 2000;
  display: grid; place-items: center; overflow: hidden;
}
.intro.lift{ pointer-events: none; }
.intro-panel{
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: #0F172A; will-change: transform;
  transition: transform 1s cubic-bezier(.76,0,.24,1);
}
.intro-panel.t{ top: 0; }
.intro-panel.b{ bottom: 0; }
.intro::before{
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse 46% 40% at 50% 46%, rgba(3,105,161,0.22), transparent 60%),
    radial-gradient(ellipse 40% 30% at 50% 60%, rgba(14,165,233,0.16), transparent 62%);
  transition: opacity .5s var(--ease);
}
.intro.lift::before{ opacity: 0; }
.intro.lift .intro-panel.t{ transform: translateY(-100%); }
.intro.lift .intro-panel.b{ transform: translateY(100%); }

.intro-inner{
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; padding-inline: 20px;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.intro.lift .intro-inner{ opacity: 0; transform: scale(1.05); }

/* white brand card */
.intro-card{
  display: flex; align-items: center; gap: 22px;
  background: #fff; border-radius: 22px; padding: 24px 32px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.9);
  opacity: 0; transform: translateY(14px) scale(.96);
}
.intro.play .intro-card{ animation: intro-card-in .8s var(--ease) .1s forwards; }
@keyframes intro-card-in{
  0%{ opacity: 0; transform: translateY(14px) scale(.96); }
  35%{ opacity: 1; }
  100%{ opacity: 1; transform: none; }
}

.intro-logo{ position: relative; overflow: hidden; border-radius: 12px; flex-shrink: 0; }
.intro-logo img{
  height: 60px; width: auto;
  opacity: 0; transform: scale(.85); filter: blur(8px);
}
.intro.play .intro-logo img{ animation: intro-logo 1s var(--ease) .3s forwards; }
@keyframes intro-logo{ to{ opacity: 1; transform: none; filter: blur(0); } }
.intro-logo .sweep{
  position: absolute; top: 0; bottom: 0; left: -70%; width: 60%;
  transform: skewX(-18deg);
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.7), transparent);
}
.intro.play .intro-logo .sweep{ animation: intro-sweep 1.1s ease .85s forwards; }
@keyframes intro-sweep{ from{ left: -70%; } to{ left: 130%; } }

.intro-brand{ text-align: left; }
.intro-word{
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(30px, 7vw, 44px); letter-spacing: -0.03em; line-height: 1;
}
.intro-word .biz{ color: var(--navy); }
.intro-word .arch{ background: var(--grad-tg); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.intro-tag{
  margin-top: 8px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
}

.intro-bar{
  margin-top: 30px; width: 200px; max-width: 54vw; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,0.14); overflow: hidden; opacity: 0;
}
.intro.play .intro-bar{ animation: intro-card-in .5s ease .95s forwards; }
.intro-bar i{ display: block; height: 100%; width: 0; border-radius: 3px; background: var(--grad-brand); }
.intro.play .intro-bar i{ animation: intro-load 1.15s var(--ease) 1.05s forwards; }
@keyframes intro-load{ to{ width: 100%; } }

/* mobile: stack the card vertically so it never crowds a narrow screen */
@media (max-width: 480px){
  .intro-card{ flex-direction: column; text-align: center; gap: 14px; padding: 24px 26px; }
  .intro-brand{ text-align: center; }
  .intro-logo img{ height: 56px; }
  .intro-word{ font-size: 30px; }
  .intro-tag{ font-size: 9px; letter-spacing: 0.16em; }
}

body.intro-lock{ overflow: hidden; }

@media (prefers-reduced-motion: reduce){
  .intro{ display: none !important; }
}

/* ============================================================
   PROCESS TIMELINE — "How we work"
   ============================================================ */
.timeline{ position: relative; margin-top: clamp(40px,5vw,60px); }
.tl-line{
  position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: var(--line); border-radius: 2px; overflow: hidden;
}
.tl-fill{
  position: absolute; inset: 0; border-radius: 2px;
  background: var(--grad-brand);
  transform: scaleY(0); transform-origin: top;
  box-shadow: 0 0 14px rgba(3,105,161,0.55);
  transition: transform .12s linear;
}
.tl-step{
  position: relative;
  display: grid; grid-template-columns: 56px 1fr; gap: 22px; align-items: flex-start;
  padding-bottom: clamp(22px,3vw,38px);
}
.tl-step:last-child{ padding-bottom: 0; }
.tl-node{
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; border: 2px solid var(--line);
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px;
  color: var(--ink-3); letter-spacing: -0.02em;
  transition: transform .45s var(--ease), background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease), color .3s var(--ease);
}
.tl-node.on{
  background: var(--grad-tg); border-color: transparent; color: #fff;
  transform: scale(1.06); box-shadow: var(--shadow-glow);
}
.tl-card{
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.tl-step:hover .tl-card{ transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.tl-card h3{ font-size: 20px; color: var(--navy); }
.tl-card p{ margin-top: 9px; font-size: 14.5px; }
.tl-tags{ margin-top: 14px; display: flex; flex-wrap: wrap; gap: 7px; }
.tl-tags span{
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12px;
  padding: 5px 11px; border-radius: 999px;
  background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line);
}
@media (max-width: 520px){
  .tl-step{ grid-template-columns: 44px 1fr; gap: 15px; }
  .tl-node{ width: 44px; height: 44px; font-size: 13px; }
  .tl-line{ left: 21px; }
  .tl-card{ padding: 18px 18px; }
}

/* ============================================================
   CURSOR GLOW — soft trailing light (pointer-fine only)
   ============================================================ */
.cursor-glow{
  position: fixed; top: 0; left: 0; z-index: 1500;
  width: 28px; height: 28px; margin: -14px 0 0 -14px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(3,105,161,0.45), rgba(14,165,233,0.16) 45%, transparent 70%);
  transition: opacity .35s var(--ease), width .28s var(--ease), height .28s var(--ease), margin .28s var(--ease), background .28s;
  will-change: transform;
}
.cursor-glow.show{ opacity: 1; }
.cursor-glow.lg{
  width: 58px; height: 58px; margin: -29px 0 0 -29px;
  background: radial-gradient(circle, rgba(3,105,161,0.32), rgba(14,165,233,0.12) 50%, transparent 72%);
}
@media (prefers-reduced-motion: reduce){ .cursor-glow{ display: none !important; } }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-grid{ display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(30px,5vw,64px); align-items: start; }
.faq-head .faq-link{ color: var(--teal-deep); font-weight: 600; white-space: nowrap; }
.faq-head .faq-link:hover{ text-decoration: underline; }
.faq-list{ display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; transition: border-color .3s, box-shadow .3s;
}
.faq-item[open]{ border-color: var(--line-soft); box-shadow: var(--shadow-sm); }
.faq-item summary{
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 16.5px;
  color: var(--navy); transition: color .25s;
}
.faq-item summary::-webkit-details-marker{ display: none; }
.faq-item summary:hover{ color: var(--teal-deep); }
.faq-item summary:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.chev{
  flex: 0 0 auto; width: 11px; height: 11px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; color: var(--ink-3);
  transition: transform .35s var(--ease), color .35s var(--ease);
}
.faq-item[open] .chev{ transform: rotate(-135deg); margin-top: 2px; color: var(--teal); }
.faq-a{ overflow: hidden; }
.faq-a p{ margin: 0; padding: 0 22px 20px; font-size: 15px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 860px){ .faq-grid{ grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER TICKER — "Innovate · Automate · Elevate"
   ============================================================ */
.footer-ticker{
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1); overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ft-track{
  display: inline-flex; align-items: center; gap: 26px; width: max-content;
  animation: ft-scroll 28s linear infinite;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700;
  font-size: clamp(28px, 4vw, 46px); letter-spacing: -0.02em; white-space: nowrap;
}
.ft-track span{
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.42);
}
.ft-track i{ color: var(--mint); font-style: normal; font-size: 0.42em; transform: translateY(-0.1em); }
@keyframes ft-scroll{ to{ transform: translateX(-50%); } }
.footer-ticker:hover .ft-track{ animation-play-state: paused; }
@media (prefers-reduced-motion: reduce){ .ft-track{ animation: none; transform: translateX(-12%); } }

/* ============================================================
   SPLIT-TEXT HEADING REVEAL — words rise on scroll-in
   ============================================================ */
.split .sw{
  display: inline-block;
  opacity: 0; transform: translateY(0.42em);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.split.lit .sw{ opacity: 1; transform: none; }

/* ============================================================
   NAV SLIDING INDICATOR + A11Y
   ============================================================ */
.nav-links{ position: relative; }
.nav-ind{
  position: absolute; left: 0; top: 50%; height: 34px; margin-top: -17px;
  border-radius: 999px; background: var(--bg-mute);
  opacity: 0; z-index: 0; pointer-events: none;
  transition: transform .38s var(--ease), width .38s var(--ease), opacity .3s var(--ease);
}
.nav-links a{ position: relative; z-index: 1; }
.nav-links a:hover{ background: transparent; }   /* the sliding pill carries the highlight now */
.nav-links a.active{ background: transparent; }
@media (max-width: 940px){ .nav-ind{ display: none; } }

/* skip-to-content link */
.skip{
  position: fixed; top: 12px; left: 12px; z-index: 3000;
  transform: translateY(-160%);
  background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 12px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-md); transition: transform .25s var(--ease);
}
.skip:focus{ transform: none; outline: 2px solid var(--mint); outline-offset: 2px; }

/* global keyboard focus ring */
a:focus-visible, button:focus-visible, summary:focus-visible, .btn:focus-visible{
  outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 8px;
}

/* ============================================================
   LEAD CAPTURE FORM (dark contact section)
   ============================================================ */
.lead-form{
  max-width: 680px; margin: clamp(36px,5vw,52px) auto 0;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px,3vw,34px);
  box-shadow: var(--shadow-md); position: relative; z-index: 1;
  display: flex; flex-direction: column; gap: 16px; text-align: left;
}
.lf-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lf-field{ display: flex; flex-direction: column; gap: 7px; }
.lf-field label{
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3);
}
.lf-field input, .lf-field select, .lf-field textarea{
  font-family: 'Inter Tight', sans-serif; font-size: 15px; color: var(--ink); width: 100%;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px; outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.lf-field textarea{ resize: vertical; min-height: 86px; }
.lf-field input::placeholder, .lf-field textarea::placeholder{ color: var(--ink-3); }
.lf-field select{
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230E7C8E' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.lf-field select option{ color: #0F172A; }
.lf-field input:focus, .lf-field select:focus, .lf-field textarea:focus{
  border-color: var(--teal); background: #fff;
  box-shadow: 0 0 0 3px rgba(3,105,161,0.15);
}
.lf-field.invalid input, .lf-field.invalid select{
  border-color: #E5484D; box-shadow: 0 0 0 3px rgba(229,72,77,0.14);
}
.lf-actions{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.lf-note{ font-size: 13.5px; color: var(--ink-2); }
.lf-note.err{ color: #D42A2A; }
.lf-note.ok{ color: var(--teal-deep); }
.lf-note a{ color: inherit; text-decoration: underline; }
@media (max-width: 560px){ .lf-row{ grid-template-columns: 1fr; } }

/* ============================================================
   MODULE CARD MICRO-INTERACTIONS
   ============================================================ */
.mod .ic{ transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.mod:hover .ic{ transform: translateY(-3px) scale(1.06) rotate(-4deg); box-shadow: 0 14px 28px rgba(3,105,161,0.32); }
.mod h3{ transition: color .3s var(--ease); }
.mod:hover h3{ color: var(--teal-deep); }
.mod ul li{ transition: transform .35s var(--ease); }
.mod ul li::before{ transition: background .35s var(--ease); }
.mod:hover ul li{ transform: translateX(3px); }
.mod:hover ul li::before{ background: var(--green); }
.mod:hover ul li:nth-child(1){ transition-delay: .02s; }
.mod:hover ul li:nth-child(2){ transition-delay: .06s; }
.mod:hover ul li:nth-child(3){ transition-delay: .10s; }
@media (prefers-reduced-motion: reduce){
  .mod:hover .ic{ transform: none; }
  .mod:hover ul li{ transform: none; }
}

/* ============================================================
   PLATFORMS — "Deploy anywhere" device showcase
   ============================================================ */
.plat-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: clamp(40px,5vw,60px); }
.plat{
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.plat:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--line-soft); }
.plat-vis{
  height: 172px; border-radius: 14px; position: relative; overflow: hidden;
  background: linear-gradient(160deg, #E8F1FA, #F4F8FC); border: 1px solid var(--line);
  display: grid; place-items: center;
}
.plat-vis .scr{ background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-sm); overflow: hidden; }
.plat-vis.browser .scr, .plat-vis.desktop .scr{ width: 78%; height: 72%; }
.scr .bar{ height: 22px; background: var(--bg-mute); display: flex; align-items: center; gap: 5px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.scr .bar i{ width: 7px; height: 7px; border-radius: 50%; background: #CED7E6; }
.scr .bar .addr{ margin-left: 8px; flex: 1; height: 9px; border-radius: 5px; background: #fff; border: 1px solid var(--line); }
.browser .body{ padding: 12px; display: flex; flex-direction: column; gap: 7px; }
.browser .body span{ height: 8px; border-radius: 5px; background: var(--bg-mute); }
.browser .body span:nth-child(1){ width: 55%; background: var(--grad-tg); }
.browser .body span:nth-child(2){ width: 88%; }
.browser .body span:nth-child(3){ width: 72%; }
.browser .body span:nth-child(4){ width: 40%; }
.desktop .scr{ display: flex; flex-direction: column; }
.desktop .win2{ flex: 1; display: grid; grid-template-columns: 30px 1fr; }
.desktop .rail{ background: var(--navy-ink); display: flex; flex-direction: column; gap: 6px; padding: 9px 7px; }
.desktop .rail b{ height: 8px; border-radius: 3px; background: rgba(255,255,255,.18); }
.desktop .rail b:first-child{ background: var(--mint); }
.desktop .content{ padding: 11px; display: flex; flex-direction: column; gap: 7px; }
.desktop .content span{ height: 8px; border-radius: 5px; background: var(--bg-mute); }
.desktop .content span:nth-child(1){ width: 60%; background: var(--grad-tg); }
.desktop .content span:nth-child(2){ width: 90%; }
.desktop .content span:nth-child(3){ width: 70%; }
.plat-vis.phone .device{
  width: 92px; height: 80%; background: var(--navy-ink); border-radius: 18px; padding: 6px;
  box-shadow: var(--shadow-md); position: relative;
}
.phone .notch{ position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 34px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.25); }
.phone .screen{ background: #fff; border-radius: 13px; height: 100%; padding: 13px 9px 9px; display: flex; flex-direction: column; gap: 6px; }
.phone .screen span{ border-radius: 5px; background: var(--bg-mute); }
.phone .screen .t{ height: 10px; width: 60%; background: var(--grad-tg); }
.phone .screen .c1, .phone .screen .c2{ height: 30px; }
.phone .screen .btm{ height: 9px; width: 50%; margin-top: auto; }
.plat-ic{
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--i1,#075985), var(--i2,#0369A1)); margin-top: 18px;
  box-shadow: 0 10px 22px color-mix(in srgb, var(--i2,#075985) 28%, transparent);
}
.plat-ic svg{ width: 23px; height: 23px; }
.plat h3{ margin-top: 16px; font-size: 19px; color: var(--navy); }
.plat p{ margin-top: 9px; font-size: 14.5px; }
.plat-tags{ margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px; }
.plat-tags span{
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 12px;
  padding: 5px 11px; border-radius: 999px; background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line);
}
@media (max-width: 880px){ .plat-grid{ grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   CLICK-TO-COPY CONTACT CARDS
   ============================================================ */
.contact[data-copy]{ cursor: pointer; }
.contact[data-copy]:hover{ border-color: var(--teal); }
.contact[data-copy]:active{ transform: scale(.985); }
.contact[data-copy] .k::after{
  content: ""; display: inline-block; width: 12px; height: 12px; margin-left: 7px; vertical-align: -1px; opacity: .4;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7892' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center/contain;
  transition: opacity .2s;
}
.contact[data-copy]:hover .k::after{ opacity: .8; }
.contact.copied .k{ color: var(--teal-deep); }
.contact.copied .k::after{ opacity: 0; }
.contact[data-copy]:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

/* ============================================================
   ENGAGEMENT MODELS
   ============================================================ */
.eng-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: clamp(40px,5vw,60px); align-items: start; }
.eng{
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 30px 28px; display: flex; flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.eng:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.eng.featured{ border-color: transparent; box-shadow: var(--shadow-lg); --eng-angle: 0deg; }
@property --eng-angle{ syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.eng.featured::before{
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: conic-gradient(from var(--eng-angle), var(--navy), var(--teal), var(--green), var(--teal), var(--navy));
  animation: eng-rotate 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
@keyframes eng-rotate{ to{ --eng-angle: 360deg; } }
@media (prefers-reduced-motion: reduce){ .eng.featured::before{ animation: none; } }

/* ============================================================
   REVEAL SHINE — brand-tinted light sweep across cards
   ============================================================ */
.reveal-shine{ position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 2; }
.reveal-shine i{
  position: absolute; top: -25%; left: -70%; width: 45%; height: 150%;
  transform: rotate(16deg);
  background: linear-gradient(90deg, transparent, rgba(3,105,161,0.16), rgba(14,165,233,0.09), transparent);
  opacity: 0;
}
.reveal.in .reveal-shine i{ animation: reveal-shine 1.15s var(--ease) .15s forwards; }
@keyframes reveal-shine{
  0%{ opacity: 0; left: -70%; }
  25%{ opacity: 1; }
  100%{ opacity: 0; left: 140%; }
}
@media (prefers-reduced-motion: reduce){ .reveal.in .reveal-shine i{ animation: none; } }
.eng-flag{
  position: absolute; top: -11px; left: 28px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase; color: #fff;
  background: var(--grad-tg); padding: 5px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.eng-ic{
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(140deg, var(--i1,#075985), var(--i2,#0369A1));
  box-shadow: 0 12px 26px color-mix(in srgb, var(--i2,#075985) 28%, transparent);
}
.eng-ic svg{ width: 26px; height: 26px; }

/* ============================================================
   FLAT DUOTONE ICON TILES — pale tint + solid colour glyph (no gradients).
   This block is placed after every tile definition so it wins the cascade.
   ============================================================ */
.svc .ic, .mod .ic, .stat-ic, .plat-ic, .eng-ic, .crt .ct .ic, .float-chip .ic, .why .ic, .contact .ic{
  background: color-mix(in srgb, var(--i1, var(--teal)) 13%, #fff);
  color: var(--i2, var(--teal-deep));
  border: 1px solid color-mix(in srgb, var(--i1, var(--teal)) 20%, transparent);
  box-shadow: none;
}
/* on dark backgrounds (AI cards): translucent colour tile + bright glyph */
.ai-card .ic{
  background: color-mix(in srgb, var(--i1, var(--teal)) 20%, transparent);
  color: color-mix(in srgb, var(--i1, var(--teal)) 42%, #fff);
  border: 1px solid color-mix(in srgb, var(--i1, var(--teal)) 34%, transparent);
  box-shadow: none;
}
.eng h3{ margin-top: 20px; font-size: 21px; color: var(--navy); }
.eng > p{ margin-top: 11px; font-size: 14.5px; }
.eng ul{ margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 9px; }
.eng ul li{ position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-2); }
.eng ul li::before{ content: ""; position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; background: var(--grad-tg); }
.eng ul li::after{ content: ""; position: absolute; left: 4.5px; top: 8px; width: 5px; height: 3px; border-left: 1.6px solid #fff; border-bottom: 1.6px solid #fff; transform: rotate(-45deg); }
.eng-note{ text-align: center; margin-top: clamp(28px,4vw,40px); color: var(--ink-2); }
.eng-note a{ color: var(--teal-deep); font-weight: 600; }
.eng-note a:hover{ text-decoration: underline; }
@media (max-width: 900px){ .eng-grid{ grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* ============================================================
   ERP WINDOW — LIVE BADGE
   ============================================================ */
.win-bar .live{
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 10.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint);
}
.win-bar .live .ld{
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 0 rgba(14,165,233,0.5); animation: live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse{
  0%{ box-shadow: 0 0 0 0 rgba(14,165,233,0.5); }
  70%{ box-shadow: 0 0 0 7px rgba(14,165,233,0); }
  100%{ box-shadow: 0 0 0 0 rgba(14,165,233,0); }
}
@media (prefers-reduced-motion: reduce){ .win-bar .live .ld{ animation: none; } }

/* ============================================================
   PRODUCT TOUR — real screenshots with tab switcher
   ============================================================ */
.tour{ display:grid; grid-template-columns: 330px 1fr; gap: 26px; align-items: start; margin-top: clamp(30px,4vw,48px); }
.tour-tabs{ display:flex; flex-direction:column; gap:9px; }
.tour-tabs [role="tab"]{
  text-align:left; padding: 13px 16px; border-radius: 13px; cursor: pointer;
  background:#fff; border:1px solid var(--line); font: inherit;
  transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tour-tabs [role="tab"]:hover{ border-color: var(--line-soft); transform: translateX(3px); }
.tour-tabs [role="tab"] b{
  display:block; font-family:'Space Grotesk',sans-serif; font-weight:600; font-size:14.5px; color: var(--navy);
}
.tour-tabs [role="tab"] span{ display:block; margin-top:3px; font-size:12.5px; line-height:1.45; color: var(--ink-2); }
.tour-tabs [role="tab"][aria-selected="true"]{
  border-color: var(--teal); background: linear-gradient(135deg, rgba(3,105,161,0.07), rgba(14,165,233,0.06));
  box-shadow: 0 6px 18px rgba(3,105,161,0.12);
}
.tour-tabs [role="tab"][aria-selected="true"] b{ color: var(--teal-deep, var(--teal)); }
.tour-stage{ position: sticky; top: 90px; }
.tour-frame{
  border-radius: 16px; overflow: hidden; background:#fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.tf-bar{
  height: 30px; display:flex; align-items:center; gap:6px; padding: 0 13px;
  background: var(--bg-mute); border-bottom: 1px solid var(--line);
}
.tf-bar i{ width: 9px; height: 9px; border-radius: 50%; background: #CED7E6; }
.tf-bar .tf-addr{
  margin-left: 10px; font-family:'Space Grotesk',sans-serif; font-size: 11px; letter-spacing: 0.05em;
  color: var(--ink-2); background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 2px 12px;
}
.tour-frame img{ display:block; width:100%; height:auto; transition: opacity .22s ease; }
@media (max-width: 980px){
  .tour{ grid-template-columns: 1fr; }
  .tour-stage{ position: static; order: -1; }
  .tour-tabs{ flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .tour-tabs [role="tab"]{ flex: 0 0 230px; scroll-snap-align: start; }
  .tour-tabs [role="tab"]:hover{ transform: none; }
}

/* real screenshots inside platform mock frames */
.plat-shot{ display:block; width:100%; height:100%; object-fit: cover; object-position: top left; }
.phone .screen{ padding: 0; overflow: hidden; }
.phone-shot{ border-radius: 13px; object-position: top center; }

/* ============================================================
   WORK — websites & storefronts portfolio
   ============================================================ */
.work-grid{
  margin-top: clamp(30px,4vw,48px);
  display:grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px,2.4vw,32px);
}
.work{
  background:#fff; border:1px solid var(--line); border-radius: var(--r-md); overflow:hidden;
  display:flex; flex-direction:column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.work:hover{ transform: translateY(-6px); box-shadow: var(--shadow-lg, 0 30px 60px rgba(7,89,133,.14)); border-color: var(--line-soft); }

/* browser-framed screenshot */
.work-shot{
  display:block; position:relative; overflow:hidden;
  padding: 12px 12px 0; background: linear-gradient(180deg, #F4F8FC, #E8F1FA);
  border-bottom: 1px solid var(--line);
}
.wf-bar{
  display:flex; align-items:center; gap:6px; padding: 0 4px 10px;
}
.wf-bar > i{ width: 9px; height: 9px; border-radius: 50%; background: #CBD5E6; }
.wf-bar > i:nth-child(1){ background:#FF6058; } .wf-bar > i:nth-child(2){ background:#FFBE2F; } .wf-bar > i:nth-child(3){ background:#2ACB42; }
.wf-url{
  margin: 0 auto; font-family:'Space Grotesk',sans-serif; font-size: 11.5px; letter-spacing: 0.02em;
  color: var(--ink-2); background:#fff; border:1px solid var(--line); border-radius: 999px; padding: 3px 16px;
  max-width: 80%; white-space: nowrap; overflow:hidden; text-overflow:ellipsis; text-align:center;
}
.wf-view{
  display:block; position:relative; aspect-ratio: 16 / 10; overflow:hidden;
  border-radius: 12px 12px 0 0;
  background: linear-gradient(160deg, #0C4A6E, #0C4A6E);      /* placeholder while the shot loads */
  box-shadow: 0 -1px 0 rgba(255,255,255,0.6) inset, 0 18px 40px rgba(8,47,73,.14);
}
.wf-view img{
  display:block; width:100%; height:100%; object-fit: cover; object-position: top center;
  transition: transform .7s var(--ease);
}
.work:hover .wf-view img{ transform: scale(1.035); }
/* hover overlay CTA */
.wf-open{
  position:absolute; left: 50%; bottom: 16px; transform: translate(-50%, 12px);
  display:inline-flex; align-items:center; gap:7px;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: 13px; color:#0C4A6E;
  background: rgba(255,255,255,0.96); border-radius: 999px; padding: 9px 18px;
  box-shadow: 0 8px 22px rgba(8,47,73,.25); backdrop-filter: blur(4px);
  opacity:0; pointer-events:none; transition: opacity .35s var(--ease), transform .35s var(--ease);
  z-index:2;
}
.work-shot::after{                                            /* subtle darken so the CTA reads on any hero */
  content:""; position:absolute; inset: 12px 12px 0; border-radius: 12px 12px 0 0;
  background: linear-gradient(180deg, transparent 55%, rgba(8,47,73,.34));
  opacity:0; transition: opacity .35s var(--ease); pointer-events:none; z-index:1;
}
.work-shot:hover .wf-open{ opacity:1; transform: translate(-50%, 0); }
.work-shot:hover::after{ opacity:1; }
.work-shot:focus-visible{ outline: 2px solid var(--teal); outline-offset: 3px; }

.work-ct{ padding: 22px 24px 24px; display:flex; flex-direction:column; flex:1; }
.work-hd{ display:flex; align-items:center; justify-content:space-between; gap:12px; }
.work-hd h3{ font-size: 21px; color: var(--navy); }
.work-badge{
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: 11px; letter-spacing:0.06em; text-transform:uppercase;
  color: var(--teal); background: rgba(3,105,161,0.09); border:1px solid rgba(3,105,161,0.22);
  border-radius: 999px; padding: 4px 11px; white-space:nowrap;
}
.work-ct p{ margin-top: 11px; font-size: 14.5px; }
.work-ct .tags{ margin-top: 16px; display:flex; flex-wrap:wrap; gap:7px; }
.work-link{
  margin-top: 18px; align-self:flex-start;
  font-family:'Space Grotesk',sans-serif; font-weight:600; font-size: 14px; color: var(--teal);
}
.work-link .arrow{ display:inline-block; transition: transform .3s var(--ease); }
.work-link:hover .arrow{ transform: translateX(4px); }
.work-note{ margin-top: 28px; text-align:center; font-size: 15px; color: var(--ink-2); }
.work-note a{ color: var(--teal); font-weight: 600; }
@media (max-width: 900px){ .work-grid{ grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ============================================================
   HERO SCROLL CUE
   ============================================================ */
.scroll-cue{
  position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 40;
  opacity: 0; transition: opacity .5s var(--ease); color: var(--ink-3);
}
.loaded .scroll-cue{ opacity: 1; transition-delay: 1.1s; }
.scroll-cue.hide{ opacity: 0; pointer-events: none; transition-delay: 0s; }
.scroll-cue .mouse{
  position: relative; display: block; width: 24px; height: 38px;
  border: 2px solid currentColor; border-radius: 13px; opacity: .5;
  transition: opacity .25s, border-color .25s;
}
.scroll-cue:hover .mouse{ opacity: .9; border-color: var(--teal); }
.scroll-cue .wheel{
  position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; border-radius: 2px;
  background: var(--teal); transform: translateX(-50%); animation: sc-wheel 1.7s ease-in-out infinite;
}
@keyframes sc-wheel{
  0%{ opacity: 0; transform: translate(-50%, 0); }
  25%{ opacity: 1; } 70%{ opacity: 1; }
  100%{ opacity: 0; transform: translate(-50%, 12px); }
}
@media (prefers-reduced-motion: reduce){ .scroll-cue .wheel{ animation: none; top: 13px; } }
@media (max-width: 860px){ .scroll-cue{ display: none; } }
