/* =========================================================
   SSG Technologies — main stylesheet
   Brand tokens taken from the new visiting cards
   ========================================================= */
:root {
  --navy-950: #020c1f;
  --navy-900: #041a3a;
  --navy-800: #0a2654;
  --navy-700: #12346f;
  --blue-600: #1366e8;
  --blue-500: #1e7bff;
  --blue-400: #3fa9ff;
  --blue-300: #8cc8ff;
  --red-500: #ff4d5e;
  --green-500: #22d39a;
  --ink: #0b1530;
  --muted: #5b6b86;
  --line: #e3e9f3;
  --bg: #ffffff;
  --bg-soft: #f3f6fb;
  --white: #ffffff;

  --grad-blue: linear-gradient(135deg, #3fa9ff 0%, #1e7bff 55%, #1366e8 100%);
  --grad-navy: linear-gradient(160deg, #0a2654 0%, #041a3a 55%, #020c1f 100%);

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(4, 26, 58, .35);
  --shadow-blue: 0 18px 40px -14px rgba(30, 123, 255, .6);
  --container: 1240px;
  --header-h: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html.is-locked, body.is-locked { overflow: hidden; overscroll-behavior: none; }
.mobile-menu, .modal-card { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; top: -60px; left: 16px; z-index: 1000; background: var(--blue-500); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico-fill { fill: currentColor; stroke: none; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 15px 26px;
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: var(--pad); border-radius: 999px; font-weight: 600; font-size: 15px;
  white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn .ico { font-size: 18px; transition: transform .35s var(--ease); }
.btn:hover .ico-arrow { transform: translateX(4px); }
.btn-primary { background: var(--grad-blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:hover { box-shadow: 0 22px 50px -12px rgba(30, 123, 255, .8); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.28); background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--blue-400); background: rgba(63,169,255,.12); }
.btn-outline { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.btn-outline:hover { border-color: var(--blue-500); color: var(--blue-600); }
.btn-white { background: #fff; color: var(--navy-900); }
.btn-white:hover { box-shadow: 0 18px 40px -14px rgba(0,0,0,.45); }
.btn-wa { background: #25d366; color: #fff; }
.btn-sm { --pad: 11px 20px; font-size: 14px; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding: 120px 0; }
.section-dark { background: var(--grad-navy); color: #fff; }
.section-soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue-500);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-blue); }
.section-dark .eyebrow { color: var(--blue-400); }
.section-head { max-width: 720px; margin-bottom: 64px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 18px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.7); }
.text-grad { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-items: center;
  background: var(--navy-950);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.loader.is-done { clip-path: polygon(100% 0, 100% 0, 100% 100%, 75% 100%); transition: clip-path 1s var(--ease); }
.loader.is-hidden { display: none; }
.loader-inner { text-align: center; }
.loader-logo { width: min(320px, 70vw); opacity: 0; transform: translateY(16px) scale(.96); animation: loaderIn 1s var(--ease) .15s forwards; }
.loader-bar { width: 180px; height: 3px; margin: 34px auto 0; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: var(--grad-blue); animation: loaderBar 1.3s var(--ease) .2s forwards; }
@keyframes loaderIn { to { opacity: 1; transform: none; } }
@keyframes loaderBar { to { width: 100%; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; transition: transform .45s var(--ease); }
.topbar { background: rgba(2,12,31,.55); border-bottom: 1px solid rgba(255,255,255,.07); color: rgba(255,255,255,.75); font-size: 13.5px; overflow: hidden; max-height: 44px; transition: max-height .45s var(--ease), opacity .3s; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 42px; gap: 24px; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 24px; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 8px; }
.topbar a:hover { color: #fff; }
.topbar .ico { color: var(--blue-400); font-size: 15px; }
.topbar .pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 0 rgba(34,211,154,.6); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 70% { box-shadow: 0 0 0 8px rgba(34,211,154,0); } 100% { box-shadow: 0 0 0 0 rgba(34,211,154,0); } }
.socials { display: flex; gap: 10px; }
.socials a { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; transition: background .3s, color .3s; }
.socials a:hover { background: var(--blue-500); color: #fff; }
.socials .ico { color: inherit !important; font-size: 14px; }

.navbar { position: relative; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); transition: height .4s var(--ease); }
.site-header.is-scrolled .topbar { max-height: 0; opacity: 0; }
.site-header.is-scrolled .navbar { background: rgba(4, 22, 50, .82); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 10px 40px -20px rgba(0,0,0,.6); }
.site-header.is-scrolled .navbar .container { height: 70px; }
.site-header.is-hidden { transform: translateY(-100%); }
.scroll-progress { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-blue); }

.brand img { height: 50px; width: auto; transition: height .4s var(--ease); }
.site-header.is-scrolled .brand img { height: 42px; }

.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 16px; color: rgba(255,255,255,.85); font-weight: 500; font-size: 15px; border-radius: 10px; transition: color .3s;
}
.nav-link::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--grad-blue); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.is-active, .has-mega:hover > .nav-link { color: #fff; }
.nav-link:hover::after, .nav-link.is-active::after, .has-mega:hover > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-link .ico { font-size: 14px; transition: transform .35s var(--ease); }
.has-mega:hover > .nav-link .ico, .has-mega.is-open > .nav-link .ico { transform: rotate(180deg); }

.nav-actions { display: flex; align-items: center; gap: 12px; }
.icon-btn { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: #fff; border: 1.5px solid rgba(255,255,255,.2); transition: background .3s, border-color .3s; }
.icon-btn:hover { background: rgba(63,169,255,.15); border-color: var(--blue-400); }
.icon-btn .ico { font-size: 18px; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; left: 50%; top: calc(100% - 6px); width: min(1080px, calc(100vw - 48px));
  transform: translate(-50%, 14px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility .35s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.is-open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-inner {
  display: grid; grid-template-columns: 1fr 1fr 290px; gap: 28px; padding: 30px;
  background: #fff; color: var(--ink); border-radius: 24px; box-shadow: 0 40px 80px -30px rgba(2,12,31,.55);
}
.mega h4 { font-size: 12px; font-family: var(--font-body); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 4px 12px 12px; }
.mega-link { display: flex; gap: 14px; padding: 12px; border-radius: 14px; transition: background .3s; }
.mega-link:hover { background: var(--bg-soft); }
.mega-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: rgba(30,123,255,.1); color: var(--blue-500); transition: background .3s, color .3s, transform .45s var(--ease); }
.mega-ico .ico { font-size: 21px; }
.mega-link:hover .mega-ico { background: var(--grad-blue); color: #fff; transform: rotate(-6deg) scale(1.05); }
.mega-link strong { display: block; font-size: 15px; font-weight: 600; }
.mega-link span { display: block; font-size: 13px; color: var(--muted); line-height: 1.45; margin-top: 2px; }
.mega-promo { position: relative; overflow: hidden; border-radius: 18px; padding: 26px; background: var(--grad-navy); color: #fff; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.mega-promo::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%; border: 30px solid rgba(63,169,255,.18); }
.mega-promo h5 { font-family: var(--font-head); font-size: 22px; margin: 0 0 8px; line-height: 1.2; position: relative; }
.mega-promo p { font-size: 14px; color: rgba(255,255,255,.7); margin-bottom: 20px; position: relative; }
.mega-promo .btn { align-self: flex-start; position: relative; }

/* Burger */
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.2); position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s, top .4s var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
body.menu-open .burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--navy-950); color: #fff;
  padding: calc(var(--header-h) + 20px) 24px 24px; display: flex; flex-direction: column;
  clip-path: circle(0 at calc(100% - 46px) 42px); transition: clip-path .7s var(--ease); overflow-y: auto;
}
body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 46px) 42px); }
.mobile-menu canvas { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.m-nav { position: relative; flex: 1; }
.m-nav > li { border-bottom: 1px solid rgba(255,255,255,.08); opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
body.menu-open .m-nav > li { opacity: 1; transform: none; }
body.menu-open .m-nav > li:nth-child(1) { transition-delay: .2s; }
body.menu-open .m-nav > li:nth-child(2) { transition-delay: .26s; }
body.menu-open .m-nav > li:nth-child(3) { transition-delay: .32s; }
body.menu-open .m-nav > li:nth-child(4) { transition-delay: .38s; }
.m-nav > li > a, .m-acc-btn { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 18px 0; font-family: var(--font-head); font-size: 26px; font-weight: 600; }
.m-acc-btn .ico { font-size: 22px; transition: transform .4s var(--ease); }
.m-acc.is-open .m-acc-btn .ico { transform: rotate(45deg); }
.m-acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.m-acc.is-open .m-acc-panel { grid-template-rows: 1fr; }
.m-acc-panel > div { overflow: hidden; }
.m-acc-panel h6 { margin: 6px 0 8px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); }
.m-acc-panel a { display: flex; align-items: center; gap: 12px; padding: 9px 0; color: rgba(255,255,255,.8); }
.m-acc-panel a .ico { color: var(--blue-400); }
.m-acc-panel .grp { padding-bottom: 14px; }
.m-cta { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.m-cta .btn { justify-content: center; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 80px) 0 160px; background: radial-gradient(1200px 700px at 75% 40%, #0f3a7d 0%, transparent 60%), var(--grad-navy); color: #fff; overflow: hidden; isolation: isolate; }
.hero-mesh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero-glow { position: absolute; z-index: -1; width: 600px; height: 600px; border-radius: 50%; filter: blur(110px); opacity: .5; pointer-events: none; }
.hero-glow.g1 { background: #1e7bff; left: -240px; top: -160px; opacity: .3; }
.hero-glow.g2 { background: #3fa9ff; right: -200px; bottom: -200px; opacity: .22; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 40px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.85); backdrop-filter: blur(8px); }
.hero-badge .tag { padding: 3px 10px; border-radius: 999px; background: var(--grad-blue); color: #fff; font-size: 12px; font-weight: 600; }
.hero h1 { font-size: clamp(38px, 4.7vw, 66px); line-height: 1.05; margin: 26px 0 0; font-weight: 700; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; }
.rotator { display: inline-flex; align-items: baseline; min-height: 1.1em; }
.rotator-word { background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rotator-caret { display: inline-block; width: 4px; height: .85em; margin-left: 6px; border-radius: 2px; background: var(--blue-400); animation: caret 1s steps(1) infinite; transform: translateY(.08em); }
@keyframes caret { 50% { opacity: 0; } }
.hero-sub { max-width: 560px; margin-top: 26px; font-size: 18.5px; color: rgba(255,255,255,.72); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 44px; font-size: 14.5px; color: rgba(255,255,255,.75); }
.hero-trust li { display: inline-flex; align-items: center; gap: 9px; }
.hero-trust .ico { color: var(--green-500); font-size: 18px; }

/* Hero visual */
.hero-visual { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 580px; margin-left: auto; }
.orb { position: absolute; inset: 14%; border-radius: 50%; display: grid; place-items: center; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(140,200,255,.18); }
.orb-ring.r2 { inset: -12%; border-style: dashed; border-color: rgba(140,200,255,.14); animation: spin 60s linear infinite; }
.orb-ring.r3 { inset: 12%; border-color: rgba(140,200,255,.25); }
.orb-arc { position: absolute; inset: -4%; animation: spin 14s linear infinite; }
.orb-arc.a2 { inset: 6%; animation-duration: 22s; animation-direction: reverse; }
.orb-core { position: relative; width: 62%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, rgba(63,169,255,.35), rgba(10,38,84,.9) 60%), var(--navy-900); box-shadow: inset 0 0 60px rgba(63,169,255,.35), 0 0 80px rgba(30,123,255,.35); }
.orb-core img { width: 74%; filter: drop-shadow(0 8px 24px rgba(30,123,255,.5)); }
.orb-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(63,169,255,.0) 0deg, rgba(63,169,255,.0) 290deg, rgba(63,169,255,.35) 360deg); animation: spin 5s linear infinite; mask: radial-gradient(circle, transparent 52%, #000 53%); -webkit-mask: radial-gradient(circle, transparent 52%, #000 53%); }
@keyframes spin { to { transform: rotate(360deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border-radius: 16px; background: rgba(10, 38, 84, .55); border: 1px solid rgba(140,200,255,.2);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  font-size: 13px; white-space: nowrap; will-change: transform;
}
.float-card .fc-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-blue); flex: none; }
.float-card .fc-ico .ico { font-size: 19px; color: #fff; }
.float-card strong { display: block; font-size: 14px; font-weight: 600; }
.float-card small { color: rgba(255,255,255,.6); font-size: 12px; }
.fc-1 { top: 6%; left: -2%; }
.fc-2 { top: 18%; right: -4%; }
.fc-3 { bottom: 14%; left: -6%; }
.fc-4 { bottom: 4%; right: 2%; }
.fc-bob { animation: bob 6s ease-in-out infinite; }
.fc-2 .fc-bob, .fc-2.fc-bob { animation-delay: -1.5s; }
.fc-3.fc-bob { animation-delay: -3s; }
.fc-4.fc-bob { animation-delay: -4.5s; }
@keyframes bob { 50% { translate: 0 -12px; } }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--red-500); margin-right: 5px; animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .2; } }
.fc-ico.green { background: linear-gradient(135deg, #34e3a8, #13a874); }
.spark { width: 64px; height: 26px; }
.spark path { stroke: var(--blue-400); stroke-width: 2; fill: none; stroke-dasharray: 120; stroke-dashoffset: 120; animation: draw 3s var(--ease) infinite; }
@keyframes draw { 40%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -120; } }
.bars { display: flex; align-items: flex-end; gap: 3px; height: 20px; }
.bars i { width: 4px; border-radius: 2px; background: var(--green-500); animation: bars 1.4s ease-in-out infinite; }
.bars i:nth-child(1) { height: 30%; } .bars i:nth-child(2) { height: 55%; animation-delay: .2s; } .bars i:nth-child(3) { height: 80%; animation-delay: .4s; } .bars i:nth-child(4) { height: 100%; animation-delay: .6s; }
@keyframes bars { 50% { opacity: .35; } }

.hero-bottom { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; line-height: 0; }
.hero-bottom svg { width: 100%; height: 140px; }
.hero-bottom .swoosh { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: swoosh 2.2s var(--ease) 1.2s forwards; }
@keyframes swoosh { to { stroke-dashoffset: 0; } }
.scroll-hint { position: absolute; left: 50%; bottom: 120px; z-index: 2; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-hint .mouse { width: 24px; height: 38px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.4); position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 8px; border-radius: 2px; background: var(--blue-400); translate: -50% 0; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 60% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   DIVISIONS
   ========================================================= */
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 44px;
  color: #fff; background: var(--grad-navy); min-height: 560px; display: flex; flex-direction: column;
  transform-style: preserve-3d; transition: transform .5s var(--ease), opacity .5s, filter .5s; isolation: isolate;
}
.division::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(63,169,255,.22), transparent 45%); opacity: 0; transition: opacity .4s; }
.division:hover::before { opacity: 1; }
.division.alt { background: linear-gradient(160deg, #1366e8 0%, #0a2f78 55%, #041a3a 100%); }
.divisions-grid:hover .division:not(:hover) { opacity: .72; filter: saturate(.7); }
.division-tag { display: inline-flex; align-self: flex-start; padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); }
.division h3 { font-size: clamp(28px, 3vw, 38px); margin-top: 18px; }
.division > p { margin-top: 12px; color: rgba(255,255,255,.72); max-width: 440px; }
.division-art { flex: 1; display: grid; place-items: center; padding: 26px 0; min-height: 230px; }
.division-art svg { width: 100%; max-width: 380px; height: auto; overflow: visible; }
.division-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.division-list li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-size: 13.5px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.division-list .ico { color: var(--blue-300); font-size: 15px; }
.division .btn { align-self: flex-start; }

/* Digital art: browser building itself */
.art-browser .blk { transform-box: fill-box; transform-origin: left center; animation: buildIn 5s var(--ease) infinite; }
.art-browser .blk:nth-of-type(2) { animation-delay: .3s; } .art-browser .blk:nth-of-type(3) { animation-delay: .6s; }
.art-browser .blk:nth-of-type(4) { animation-delay: .9s; } .art-browser .blk:nth-of-type(5) { animation-delay: 1.2s; }
.art-browser .blk:nth-of-type(6) { animation-delay: 1.5s; } .art-browser .blk:nth-of-type(7) { animation-delay: 1.8s; }
@keyframes buildIn { 0% { transform: scaleX(0); opacity: 0; } 15%, 85% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
.art-browser .chart { stroke-dasharray: 260; stroke-dashoffset: 260; animation: chart 5s var(--ease) infinite 1s; }
@keyframes chart { 30%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.art-browser .cursor { animation: cursorMove 5s var(--ease) infinite; }
@keyframes cursorMove { 0%, 100% { transform: translate(0, 0); } 30% { transform: translate(-90px, -40px); } 60% { transform: translate(-30px, 30px); } }
/* Security art: radar shield */
.art-shield .radar { transform-origin: 190px 150px; animation: spin 4s linear infinite; }
.art-shield .blip { animation: blip 4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.art-shield .blip.b2 { animation-delay: 1.3s; } .art-shield .blip.b3 { animation-delay: 2.6s; }
@keyframes blip { 0%, 100% { opacity: 0; transform: scale(.4); } 10% { opacity: 1; transform: scale(1.3); } 40% { opacity: .9; transform: scale(1); } 70% { opacity: 0; } }
.art-shield .check { stroke-dasharray: 60; stroke-dashoffset: 60; animation: check 4s var(--ease) infinite; }
@keyframes check { 20%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }

/* =========================================================
   SERVICES GRID
   ========================================================= */
.services { overflow: hidden; }
.services .mesh-bg { position: absolute; inset: 0; opacity: .5; pointer-events: none; }
.services-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.services-top .section-head { margin-bottom: 0; }
.filters { display: inline-flex; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); position: relative; }
.filter-btn { position: relative; z-index: 1; padding: 10px 22px; border-radius: 999px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); transition: color .3s; }
.filter-btn.is-active { color: #fff; }
.filter-pill { position: absolute; top: 6px; bottom: 6px; left: 6px; border-radius: 999px; background: var(--grad-blue); box-shadow: var(--shadow-blue); transition: left .5s var(--ease), width .5s var(--ease); }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; }
.svc-card {
  position: relative; display: flex; flex-direction: column; padding: 24px 22px 22px; border-radius: 20px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); overflow: hidden;
  transition: transform .5s var(--ease), border-color .4s, background .4s, opacity .4s;
}
.svc-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-blue); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc-card:hover { transform: translateY(-8px); border-color: rgba(63,169,255,.45); background: rgba(63,169,255,.08); }
.svc-card:hover::after { transform: scaleX(1); }
.svc-card.is-hidden { display: none; }
.svc-anim { height: 104px; margin: -4px -4px 18px; border-radius: 14px; background: rgba(2,12,31,.45); border: 1px solid rgba(255,255,255,.06); display: grid; place-items: center; overflow: hidden; }
.svc-anim svg { width: 100%; height: 100%; }
.svc-cat { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-400); }
.svc-card h3 { font-size: 18px; margin-top: 8px; }
.svc-card p { font-size: 14px; color: rgba(255,255,255,.62); margin-top: 8px; flex: 1; }
.svc-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue-300); }
.svc-more .ico { transition: transform .35s var(--ease); }
.svc-card:hover .svc-more .ico { transform: translateX(5px); }

/* service mini-animation primitives (SVG) */
.sa { stroke: #3fa9ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sa-f { fill: #3fa9ff; }
.sa-dim { stroke: rgba(140,200,255,.35); }
.a-type { transform-box: fill-box; transform-origin: left; animation: type 3.2s steps(12) infinite; }
.a-type.d1 { animation-delay: .4s; } .a-type.d2 { animation-delay: .8s; } .a-type.d3 { animation-delay: 1.2s; }
@keyframes type { 0% { transform: scaleX(0); } 45%, 90% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.a-blink { animation: blink 1s steps(1) infinite; }
.a-rise { transform-box: fill-box; transform-origin: bottom; animation: rise 3s var(--ease) infinite; }
.a-rise.d1 { animation-delay: .2s; } .a-rise.d2 { animation-delay: .4s; } .a-rise.d3 { animation-delay: .6s; }
@keyframes rise { 0% { transform: scaleY(.15); } 40%, 85% { transform: scaleY(1); } 100% { transform: scaleY(.15); } }
.a-draw { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw2 3s var(--ease) infinite; }
@keyframes draw2 { 50%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.a-wave { transform-box: fill-box; transform-origin: left center; animation: wave 1.8s ease-out infinite; opacity: 0; }
.a-wave.d1 { animation-delay: .3s; } .a-wave.d2 { animation-delay: .6s; }
@keyframes wave { 0% { opacity: 0; transform: scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.25); } }
.a-shake { transform-box: fill-box; transform-origin: right center; animation: shake 1.8s ease-in-out infinite; }
@keyframes shake { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-6deg); } 20%, 40% { transform: rotate(6deg); } }
.a-slide { animation: slide 6s var(--ease) infinite; }
@keyframes slide { 0%, 25% { transform: translateX(0); } 33%, 58% { transform: translateX(-34px); } 66%, 92% { transform: translateX(-68px); } 100% { transform: translateX(0); } }
.a-spin { transform-box: fill-box; transform-origin: center; animation: spin 6s linear infinite; }
.a-spin-r { transform-box: fill-box; transform-origin: center; animation: spin 4s linear infinite reverse; }
.a-pan { transform-origin: 34px 26px; animation: pan 5s ease-in-out infinite; }
@keyframes pan { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(18deg); } }
.a-detect { animation: detect 5s ease-in-out infinite; }
@keyframes detect { 0%, 35%, 75%, 100% { opacity: 0; } 45%, 65% { opacity: 1; } }
.a-ripple { transform-box: fill-box; transform-origin: center; animation: ripple 2s ease-out infinite; }
.a-ripple.d1 { animation-delay: .65s; } .a-ripple.d2 { animation-delay: 1.3s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }
.a-alarm { animation: alarm 1s steps(1) infinite; }
@keyframes alarm { 50% { fill: #ff4d5e; stroke: #ff4d5e; } }
.a-zap { animation: zap 2.2s steps(1) infinite; }
@keyframes zap { 0%, 100% { opacity: 0; } 10%, 14%, 22% { opacity: 1; } 12%, 18% { opacity: .2; } }
.a-shackle { animation: shackle 3.4s var(--ease) infinite; }
@keyframes shackle { 0%, 30% { transform: translateY(0); } 45%, 80% { transform: translateY(-7px); } 100% { transform: translateY(0); } }
.a-led { animation: led 3.4s steps(1) infinite; }
@keyframes led { 0%, 40% { fill: #ff4d5e; } 41%, 85% { fill: #22d39a; } 86%, 100% { fill: #ff4d5e; } }

/* =========================================================
   COVERAGE MAP
   ========================================================= */
.coverage-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 70px; align-items: center; }
.map-wrap { position: relative; }
.map-wrap::before { content: ""; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(circle, rgba(30,123,255,.14), transparent 65%); }
.pk-map { position: relative; width: 100%; height: auto; overflow: visible; }
.pk-map .dot { fill: #c9d6ea; }
.pk-map .route { fill: none; stroke: url(#routeGrad); stroke-width: 1.6; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 1.8s var(--ease); }
.map-wrap.is-in .route { stroke-dashoffset: 0; }
.pk-map .city circle.core { fill: var(--blue-500); }
.pk-map .city circle.ring { fill: none; stroke: var(--blue-500); transform-box: fill-box; transform-origin: center; animation: ripple 2.4s ease-out infinite; }
.pk-map .city text { font-family: var(--font-body); font-size: 12px; font-weight: 600; fill: var(--ink); paint-order: stroke; stroke: #fff; stroke-width: 4px; stroke-linejoin: round; }
.pk-map .hq circle.core { fill: #fff; stroke: var(--blue-500); stroke-width: 4; }
.pk-map .hq text { font-size: 13px; font-weight: 700; fill: var(--blue-600); }
.pk-map .packet { fill: var(--blue-400); }
.pk-map .city { opacity: 0; transition: opacity .6s; }
.map-wrap.is-in .city { opacity: 1; }
.coverage-copy h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; }
.coverage-copy > p { margin-top: 18px; color: var(--muted); font-size: 17.5px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }
.stat { padding: 24px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-num { font-family: var(--font-head); font-size: 42px; font-weight: 700; line-height: 1; background: var(--grad-blue); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { margin-top: 8px; font-size: 14.5px; color: var(--muted); }

/* =========================================================
   WHY US
   ========================================================= */
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: start; }
.why-sticky { position: sticky; top: 120px; }
.why-sticky h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; }
.why-sticky > p { margin-top: 18px; color: var(--muted); font-size: 17.5px; }
.why-visual { margin-top: 36px; border-radius: var(--radius-lg); padding: 30px; background: var(--grad-navy); color: #fff; position: relative; overflow: hidden; }
.why-visual::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -120px; bottom: -150px; border: 40px solid rgba(63,169,255,.14); }
.why-visual .row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); position: relative; z-index: 1; }
.why-visual .row:last-child { border: 0; }
.why-visual .row span { flex: 1; font-size: 14.5px; }
.why-visual .pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #22d39a; background: rgba(34,211,154,.12); border: 1px solid rgba(34,211,154,.3); }
.why-visual .pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: blink 1.6s infinite; }
.why-visual .meter { width: 120px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.why-visual .meter i { display: block; height: 100%; width: 0; border-radius: 6px; background: var(--grad-blue); transition: width 1.6s var(--ease); }
.why-visual.is-in .meter i { width: var(--w); }
.why-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-tile { padding: 30px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.why-tile:nth-child(even) { transform: translateY(40px); }
.why-tile:hover { box-shadow: var(--shadow); border-color: rgba(30,123,255,.3); }
.why-tile .w-ico { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(30,123,255,.1); color: var(--blue-500); transition: background .4s, color .4s, transform .5s var(--ease); }
.why-tile .w-ico .ico { font-size: 26px; }
.why-tile:hover .w-ico { background: var(--grad-blue); color: #fff; transform: rotate(-8deg); }
.why-tile h3 { font-size: 19px; margin-top: 22px; }
.why-tile p { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* =========================================================
   PROCESS
   ========================================================= */
.process { overflow: hidden; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-line { position: absolute; left: 12.5%; right: 12.5%; top: 44px; height: 2px; background: rgba(255,255,255,.12); }
.process-line i { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad-blue); box-shadow: 0 0 18px rgba(63,169,255,.7); }
.step { position: relative; text-align: center; }
.step-ico { position: relative; z-index: 1; width: 88px; height: 88px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); border: 2px solid rgba(255,255,255,.14); transition: border-color .5s, box-shadow .5s, background .5s; }
.step-ico .ico { font-size: 32px; color: rgba(255,255,255,.5); transition: color .5s; }
.step.is-on .step-ico { border-color: var(--blue-400); background: var(--navy-800); box-shadow: 0 0 0 8px rgba(63,169,255,.1), 0 0 40px rgba(63,169,255,.45); }
.step.is-on .step-ico .ico { color: #fff; }
.step-num { position: absolute; top: -4px; right: calc(50% - 52px); z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--grad-blue); }
.step h3 { font-size: 21px; margin-top: 26px; }
.step p { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.65); max-width: 260px; margin-inline: auto; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band { padding: 0 0 120px; background: var(--grad-navy); }
/* after a light section the band needs its own top spacing (dark sections already provide it) */
.section:not(.section-dark) + .cta-band { padding-top: 120px; }
.cta-box { position: relative; overflow: hidden; border-radius: 34px; padding: 80px 60px; text-align: center; color: #fff; background: linear-gradient(120deg, #1366e8 0%, #1e7bff 45%, #3fa9ff 100%); isolation: isolate; }
.cta-box canvas { position: absolute; inset: 0; z-index: -1; opacity: .5; }
.cta-box .chev { position: absolute; z-index: -1; top: -20%; bottom: -20%; width: 260px; background: rgba(4,26,58,.18); clip-path: polygon(40% 0, 100% 0, 60% 50%, 100% 100%, 40% 100%, 0 50%); }
.cta-box .chev.c1 { left: -80px; } .cta-box .chev.c2 { right: -80px; transform: scaleX(-1); }
.cta-box h2 { font-size: clamp(30px, 4.4vw, 54px); max-width: 820px; margin: 0 auto; }
.cta-box p { margin: 18px auto 0; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.85); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 38px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; background: var(--navy-950); color: rgba(255,255,255,.7); overflow: hidden; isolation: isolate; }
.site-footer .footer-swoosh { display: block; width: 100%; height: 70px; }
.footer-watermark { position: absolute; z-index: -1; right: -2%; bottom: 40px; font-family: var(--font-head); font-weight: 800; font-size: clamp(140px, 22vw, 340px); line-height: .8; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px rgba(63,169,255,.12); user-select: none; pointer-events: none; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 50px; padding: 50px 0 60px; }
.footer-brand img { height: 92px; width: auto; }
.footer-brand p { margin-top: 20px; font-size: 15px; max-width: 320px; }
.footer-brand .socials { margin-top: 24px; }
.footer-brand .socials a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.14); }
.footer-col h4 { font-size: 16px; color: #fff; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--grad-blue); border-radius: 2px; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: color .3s, transform .3s var(--ease); }
.footer-col a:hover { color: #fff; transform: translateX(4px); }
.footer-contact li { display: flex; gap: 14px; font-size: 15px; }
.footer-contact .ico { font-size: 18px; color: var(--blue-400); margin-top: 3px; }
.footer-contact li + li { margin-top: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; padding-bottom: 24px; font-size: 14px; }
.footer-bottom nav { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }
/* keep Privacy/Terms clear of the fixed WhatsApp + back-to-top buttons (shown above 760px) */
@media (min-width: 761px) and (max-width: 1480px) { .footer-bottom .container { padding-right: 104px; } }

/* =========================================================
   FLOATING UI
   ========================================================= */
.to-top { position: fixed; right: 26px; bottom: 104px; z-index: 80; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .4s, transform .4s var(--ease), visibility .4s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg.ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke-width: 3; }
.to-top .ico { font-size: 20px; }
.wa-float { position: fixed; right: 24px; bottom: 26px; z-index: 80; display: flex; align-items: center; gap: 12px; }
.wa-btn { position: relative; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(37,211,102,.7); transition: transform .35s var(--ease); }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25d366; z-index: -1; animation: ripple 2.2s ease-out infinite; }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn .ico { font-size: 30px; }
.wa-tip { padding: 10px 16px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; transform: translateX(10px); transition: opacity .5s, transform .5s var(--ease); pointer-events: none; }
.wa-float.show-tip .wa-tip { opacity: 1; transform: none; }
.mobile-bar { display: none; }

/* Quote modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s, visibility .4s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(2,12,31,.7); backdrop-filter: blur(6px); }
.modal-card { position: relative; width: 100%; max-width: 560px; max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 26px; background: #fff; padding: 38px; transform: translateY(30px) scale(.97); transition: transform .5s var(--ease); }
.modal.is-open .modal-card { transform: none; }
.modal-close { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); }
.modal-close .ico { font-size: 18px; }
.modal-card h3 { font-size: 28px; }
.modal-card > p { color: var(--muted); margin-top: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 600; }
.field input, .field select, .field textarea { font: inherit; font-size: 15px; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft); color: var(--ink); transition: border-color .3s, background .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); background: #fff; }
.field textarea { resize: vertical; min-height: 90px; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.form-actions .btn { flex: 1; justify-content: center; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .float-card.fc-3 { left: -2%; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .topbar, .nav-menu, .nav-actions .btn, .nav-actions .icon-btn { display: none; }
  .burger { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero { padding-top: calc(var(--header-h) + 50px); }
  .hero-visual { max-width: 460px; margin: 30px auto 0; }
  .divisions-grid, .coverage-grid, .why-grid { grid-template-columns: 1fr; }
  .why-sticky { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .services-top { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .section { padding: 84px 0; }
  .container { padding: 0 16px; }
  .section-head { margin-bottom: 44px; }
  .hero { padding-bottom: 120px; }
  .hero-sub { font-size: 17px; }
  .scroll-hint { display: none; }
  .float-card { padding: 10px 12px; font-size: 12px; gap: 9px; }
  .float-card .fc-ico { width: 30px; height: 30px; }
  .float-card strong { font-size: 12.5px; }
  .fc-1 { left: 0; top: 2%; } .fc-3 { left: auto; right: 0; bottom: 6%; }
  .fc-2, .fc-4 { display: none; }
  .hero-visual { max-width: 340px; }
  .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .svc-card { padding: 16px; }
  .svc-card p { display: none; }
  .svc-anim { height: 84px; }
  .division { padding: 30px 24px; min-height: 0; }
  .why-tiles { grid-template-columns: 1fr; }
  .why-tile:nth-child(even) { transform: none; }
  .process-track { grid-template-columns: 1fr; gap: 40px; }
  .process-line { left: 43px; right: auto; top: 44px; bottom: 44px; width: 2px; height: auto; }
  .process-line i { transform-origin: top; transform: scaleY(0); }
  .step { display: grid; grid-template-columns: 88px 1fr; gap: 0 20px; text-align: left; }
  .step-ico { grid-row: span 2; margin: 0; }
  .step h3 { margin-top: 14px; }
  .step p { margin: 6px 0 0; }
  .step-num { right: auto; left: 64px; }
  .cta-box { padding: 56px 22px; border-radius: 26px; }
  .cta-band { padding-bottom: 84px; }
  .section:not(.section-dark) + .cta-band { padding-top: 84px; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 18px; }
  .stat-num { font-size: 34px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; gap: 10px; }
  .form-actions .btn { flex: none; width: 100%; padding: 14px 20px; }
  .modal-card { padding: 28px 20px; }
  .wa-float, .to-top { display: none; }
  .mobile-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; border-radius: 18px; background: rgba(4,26,58,.92); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -10px rgba(0,0,0,.5); }
  .mobile-bar a, .mobile-bar button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border-radius: 12px; color: #fff; font-size: 12px; font-weight: 600; }
  .mobile-bar .ico { font-size: 20px; }
  .mobile-bar .mb-quote { background: var(--grad-blue); }
  .mobile-bar .mb-wa .ico { color: #25d366; }
  .site-footer { padding-bottom: 80px; }
}
@media (max-width: 420px) {
  .svc-card h3 { font-size: 15px; }
  .svc-anim { height: 72px; margin-bottom: 12px; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}

/* ---------- Scroll performance ---------- */
/* looping animations in sections that are off-screen are paused from JS */
.anim-paused *, .anim-paused *::before, .anim-paused *::after { animation-play-state: paused !important; }
/* isolate heavy sections so repaints inside them don't spread to the rest of the page */
.hero, .page-hero, .services, .process, .cta-box, .site-footer, .division, .scene { contain: paint; }

/* Touch devices / small screens: backdrop blur over moving content is the #1 cause of scroll jank
   on phones (it re-blurs every frame). Swap for solid translucent fills. */
@media (max-width: 1024px), (hover: none) {
  .site-header.is-scrolled .navbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(4, 22, 50, .97); }
  .site-header.is-scrolled .topbar, .site-header .topbar { transition: none; }
  .navbar, .navbar .container, .brand img { transition: background .3s; }
  .float-card { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(10, 38, 84, .92); will-change: auto; }
  .hero-badge, .btn-ghost, .orbit-label { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hero-glow { filter: blur(70px); width: 380px; height: 380px; }
  .modal-backdrop { backdrop-filter: none; background: rgba(2,12,31,.85); }
  .site-header { will-change: transform; }
}
@media (max-width: 760px) {
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .cta-actions .btn { justify-content: center; }
  .mobile-bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(4,26,58,.97); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
