/* =========================================================
   Intbrains — main stylesheet
   Layout & motion modelled on a corporate IT theme;
   brand colours and content from Intbrains.
   ========================================================= */

:root {
  --navy: #1f2d63;
  --navy-700: #16224f;
  --navy-900: #0d1333;
  --primary: #1f4fa8;
  --primary-dark: #173c82;
  --accent: #1a9fe0;
  --accent-2: #36c2f2;
  --grad: linear-gradient(135deg, #22306b 0%, #1a63b0 55%, #139ddc 100%);
  --grad-soft: linear-gradient(135deg, #2a4fa8 0%, #1a9fe0 100%);
  --heading: #111c3f;
  --text: #677289;
  --border: #e6eaf2;
  --light-bg: #f4f7fc;
  --white: #fff;
  --font-heading: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Poppins", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --shadow: 0 10px 40px rgba(17, 28, 63, .08);
  --shadow-lg: 0 25px 60px rgba(17, 28, 63, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--heading); font-weight: 400; margin: 0; line-height: 1.25; }
p { margin: 0 0 1rem; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 15px; }
.container-fluid { max-width: 1840px; padding: 0 40px; }
.section { padding: 100px 0; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  transition: color .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn i { font-size: 14px; transition: transform .4s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(5px); }
/* sweep fill on hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 25px rgba(31, 79, 168, .25); }
.btn-primary::before { background: var(--navy); }
.btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(31, 45, 99, .3); }

.btn-accent { background: var(--grad-soft); color: #fff; box-shadow: 0 12px 30px rgba(26, 159, 224, .3); }
.btn-accent::before { background: #fff; }
.btn-accent:hover { color: var(--navy); }

.btn-outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light::before { background: #fff; }
.btn-outline-light:hover { color: var(--navy); border-color: #fff; }

.btn-white { background: #fff; color: var(--navy); }
.btn-white::before { background: var(--navy); }
.btn-white:hover { color: #fff; }

/* ---------- Section headings ---------- */
.sub-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.sub-title::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.sub-title.plain::before { display: none; }
.sub-title.light { color: var(--accent-2); }

.section-title { font-size: clamp(30px, 3.3vw, 46px); line-height: 1.2; letter-spacing: -.01em; }
.section-head { margin-bottom: 60px; }
.section-head.center { text-align: center; max-width: 940px; margin-left: auto; margin-right: auto; }
.section-head.center .sub-title::after { content: ""; width: 30px; height: 2px; background: currentColor; }
.section-desc { margin: 18px auto 0; max-width: 640px; }
.section-head.light .section-title { color: #fff; }
.section-head.light .sub-title { color: var(--accent-2); }
.section-head.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: end; }
.head-aside { display: flex; align-items: center; gap: 36px; }
.head-aside p { margin: 0; }
.head-aside .btn { flex-shrink: 0; }

/* =========================================================
   TOP BAR
   ========================================================= */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: 14px; position: relative; z-index: 60; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 44px; gap: 20px; }
.topbar-info, .topbar-right, .topbar-social { display: flex; align-items: center; }
.topbar-info li { display: flex; align-items: center; gap: 9px; padding-right: 20px; margin-right: 20px; border-right: 1px solid rgba(255, 255, 255, .15); }
.topbar-info li:last-child { border: 0; margin: 0; padding: 0; }
.topbar i { color: var(--accent-2); font-size: 13px; }
.topbar a:hover { color: #fff; }
.topbar-hours { display: flex; align-items: center; gap: 9px; padding-right: 20px; margin-right: 18px; border-right: 1px solid rgba(255, 255, 255, .15); }
.topbar-social { gap: 4px; }
.topbar-social a { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; transition: background-color .3s, transform .3s; }
.topbar-social a i { color: #fff; }
.topbar-social a:hover { background: var(--accent); transform: translateY(-2px); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 30px; }
.site-header.is-sticky {
  position: fixed;
  top: 0; left: 0; right: 0;
  box-shadow: 0 10px 30px rgba(17, 28, 63, .08);
  animation: headerDown .7s var(--ease) both;
}
.site-header.is-sticky .header-inner { height: 80px; }
@keyframes headerDown { from { transform: translateY(-100%); } to { transform: none; } }

/* Logo */
.logo {
  display: inline-flex;
  align-items: flex-end;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 27px;
  letter-spacing: .09em;
  color: var(--navy);
  line-height: 1;
  flex-shrink: 0;
}
.logo-a { width: .95em; height: 1.18em; margin: 0 .07em 0 .02em; transform: translateY(.03em); }
.logo-white { color: #fff; }
.logo-sm { font-size: 23px; }

/* Nav */
.main-nav { margin-left: auto; height: 100%; }
.nav-menu { display: flex; height: 100%; gap: 6px; }
.nav-menu > li { position: relative; display: flex; align-items: center; }
.nav-menu > li > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 14px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--heading);
}
.nav-menu > li > a i { font-size: 11px; transition: transform .3s var(--ease); }
.nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav-menu > li:hover > a, .nav-menu > li.active > a { color: var(--primary); }
.nav-menu > li:hover > a::after, .nav-menu > li.active > a::after { transform: scaleX(1); transform-origin: left; }
.nav-menu > li:hover > a i { transform: rotate(180deg); }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sub-icon { flex-shrink: 0; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* dropdown with left icons */
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 300px;
  padding: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(17, 28, 63, .12);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:has(:focus-visible) > .sub-menu,
.nav-menu li.open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu li.open > a i { transform: rotate(180deg); }
.sub-menu a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: var(--heading);
  border-bottom: 1px solid rgba(17, 28, 63, .08);
  transition: color .3s var(--ease), background-color .3s var(--ease);
}
.sub-menu li:last-child a { border-bottom: 0; }
.sub-menu .sub-icon { color: var(--primary); transition: color .3s var(--ease), transform .3s var(--ease); }
.sub-menu a:hover, .sub-menu a:focus-visible { color: var(--primary); background: var(--light-bg); }
.sub-menu a:hover .sub-icon, .sub-menu a:focus-visible .sub-icon { color: var(--accent); transform: translateX(2px); }

/* Header right */
.header-right { display: flex; align-items: center; gap: 26px; height: 100%; flex-shrink: 0; }
.header-call { display: flex; align-items: center; gap: 12px; padding-right: 26px; border-right: 1px solid var(--border); height: 46px; white-space: nowrap; }
.header-call i { font-size: 28px; color: var(--primary); }
.header-call span { display: flex; flex-direction: column; line-height: 1.3; }
.header-call small { font-size: 13px; color: var(--text); }
.header-call strong { font-family: var(--font-heading); font-weight: 600; font-size: 16px; color: var(--accent); }
.header-call:hover strong { color: var(--primary); }
.header-btn { height: 50px; padding: 0 24px; }

.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 8px; background: var(--primary); padding: 13px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: width .3s var(--ease); }
.menu-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.menu-toggle:hover span:nth-child(2) { width: 100%; }

/* Mobile menu */
.mobile-overlay { position: fixed; inset: 0; background: rgba(13, 19, 51, .6); z-index: 98; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
.mobile-menu {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: min(340px, 86vw);
  background: #fff;
  z-index: 99;
  padding: 24px;
  overflow-y: auto;
  transform: translateX(-105%);
  transition: transform .5s var(--ease);
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-overlay { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu { transform: none; }
.mobile-menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; }
.mobile-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--heading); font-size: 18px; transition: background .3s, color .3s, transform .4s; }
.mobile-close:hover { background: var(--primary); color: #fff; transform: rotate(90deg); }
.mobile-nav > li { border-bottom: 1px solid var(--border); position: relative; }
.mobile-nav a { display: block; padding: 13px 0; font-family: var(--font-heading); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--heading); }
.mobile-nav a:hover { color: var(--primary); }
.sub-toggle { position: absolute; right: 0; top: 7px; width: 36px; height: 36px; border: 0; background: var(--light-bg); border-radius: 6px; color: var(--heading); font-size: 12px; }
.sub-toggle i { transition: transform .3s; }
.mobile-nav .has-sub.open .sub-toggle i { transform: rotate(45deg); }
.mobile-nav .sub-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-radius: 0; padding: 0 0 0 4px; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.mobile-nav .has-sub.open .sub-menu { padding-bottom: 10px; }
.mobile-nav .sub-menu a { display: flex; gap: 12px; padding: 11px 0; font-size: 14px; text-transform: none; letter-spacing: 0; color: var(--text); border-bottom-color: var(--border); }
.mobile-nav .sub-menu .sub-icon { width: 20px; height: 20px; }
.mobile-nav .sub-menu a:hover { background: none; }
.mobile-btn { width: 100%; margin: 28px 0 24px; }
.mobile-contact li { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 15px; }
.mobile-contact i { color: var(--accent); width: 16px; }

/* =========================================================
   HERO — slider: a human hand reaches an AI hand until the
   fingertips touch, then a warp-speed light tunnel and a
   layered platform stack; copy on the left, visual on the right
   ========================================================= */
/* pointer lean: set per scene by JS; non-inheriting so the animated layers inside aren't restyled each frame */
@property --mx { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --my { syntax: "<number>"; inherits: false; initial-value: 0; }
.hero {
  --hx: 74%;
  --e-out: cubic-bezier(.16, 1, .3, 1);        /* expo.out */
  --e-soft: cubic-bezier(.22, .61, .36, 1);
  --e-io: cubic-bezier(.65, 0, .35, 1);
  --warm: #f2c59a;
  --vx: 68%;                                   /* horizontal centre of every visual */
  position: relative;
  display: flex;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  min-height: 620px;
  min-height: max(620px, calc(100vh - var(--hero-top, 141px)));
  min-height: max(620px, calc(100svh - var(--hero-top, 141px)));
  background: #0e1430;
  color: #fff;
}

/* ---------- slides: stacked in one grid cell, the hero takes the tallest ---------- */
.hero-slides { position: relative; display: grid; flex: 1; min-width: 0; touch-action: pan-y; }
.hero-slide { position: relative; grid-area: 1 / 1; display: flex; min-width: 0; z-index: 0; }
.hero-slide.is-leaving { z-index: 1; }
.hero-slide.is-active { z-index: 2; }
.js .hero-slide:not(.is-active):not(.is-leaving) { visibility: hidden; }

/* ---------- visual ---------- */
.hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero.is-scrolling .hero-visual { will-change: transform; }
.hero-stage { position: absolute; inset: 0; }
.hs-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 58% 75% at var(--vx) 50%, #1d2b5e 0%, #131b43 46%, #0b1030 100%);
}

/* iridescent glass orb (shared by the hands and the stack) */
.ht-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 26%;
  aspect-ratio: 1;
  margin: -13% 0 0 -13%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 175, 255, .1) 0%, rgba(130, 175, 255, .04) 52%, rgba(130, 175, 255, 0) 70%);
}
.ht-orb span { position: absolute; inset: 0; filter: blur(14px); will-change: transform; animation: htSpin 28s linear infinite; }
.ht-orb span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(rgba(54, 194, 242, 0) 0deg, rgba(54, 194, 242, .95) 55deg, rgba(126, 108, 255, .8) 115deg, rgba(126, 108, 255, 0) 165deg,
    rgba(242, 197, 154, .9) 225deg, rgba(255, 138, 112, .55) 275deg, rgba(54, 194, 242, 0) 330deg);
  -webkit-mask: radial-gradient(closest-side, transparent 78%, #000 86%, #000 92%, transparent 100%);
  mask: radial-gradient(closest-side, transparent 78%, #000 86%, #000 92%, transparent 100%);
}

/* ---------- slide 1: the touch ---------- */
.ht-scene {
  position: absolute;
  top: 2%;
  left: var(--hx, var(--vx));     /* the touch point sits a little right of the other visuals, clear of the copy */
  height: 104%;
  aspect-ratio: 16 / 9;
  transform: translate3d(calc(-50% + var(--mx, 0) * -14px), calc(var(--my, 0) * -10px), 0);
}
.hero.is-tracking .ht-scene,
.hero.is-tracking .hk-scene { will-change: transform; }
.ht-cam, .ht-hands, .ht-arm { position: absolute; inset: 0; }
/* both photos share one scale; boxes are placed so the index fingertips meet at the scene centre */
/* reach animates `transform`; the exit drift uses the separate `translate` property so the two blend instead of snapping */
.ht-arm { will-change: transform, translate; transition: translate 1.5s var(--e-io); }
.ht-img, .ht-sweep { position: absolute; display: block; height: auto; max-width: none; pointer-events: none; user-select: none; }
.ht-ai { --dx: -14%; --dy: 2%; }                         /* entry runs back along each forearm */
.ht-ai .ht-img, .ht-sweep { left: 11.825%; top: 37.08%; width: 38.25%; aspect-ratio: 1200 / 568; }
.ht-ai .ht-img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 30%);
  filter: drop-shadow(0 0 18px rgba(54, 194, 242, .18));
}
.ht-human { --dx: 16%; --dy: 28%; }
.ht-human .ht-img {
  left: 49.525%;
  top: 48.36%;
  width: 31.66%;
  aspect-ratio: 993 / 959;
  -webkit-mask-image: linear-gradient(135deg, #000 52%, transparent 88%);
  mask-image: linear-gradient(135deg, #000 52%, transparent 88%);
}
/* light that runs from the fingertip back across the AI hand once they touch */
.ht-sweep {
  overflow: hidden;
  opacity: 0;
  -webkit-mask: url("../images/hero-hand-ai.webp") 0 0 / 100% 100% no-repeat;
  mask: url("../images/hero-hand-ai.webp") 0 0 / 100% 100% no-repeat;
}
.ht-sweep::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 34%;
  background: linear-gradient(90deg, rgba(150, 232, 255, 0), rgba(190, 242, 255, .75) 50%, rgba(150, 232, 255, 0));
  transform: translateX(300%);
}

/* contact point (fingertips meet at the centre of the scene) */
.ht-spark { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; pointer-events: none; }
.ht-spark > span { position: absolute; opacity: 0; }
.ht-flash,
.ht-glow::before {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(205, 243, 255, .95) 7%, rgba(54, 194, 242, .42) 22%, rgba(242, 197, 154, .16) 42%, rgba(242, 197, 154, 0) 68%);
  mix-blend-mode: screen;
}
.ht-glow { inset: 0; }
.ht-glow::before { content: ""; position: absolute; transform: scale(.5); opacity: .7; }
.ht-ring { inset: 30%; border-radius: 50%; border: 1px solid rgba(170, 232, 255, .75); box-shadow: 0 0 14px rgba(54, 194, 242, .35); }
.ht-flare {
  left: -45%;
  right: -45%;
  top: 49.6%;
  height: .8%;
  background: linear-gradient(90deg, rgba(160, 225, 255, 0), rgba(220, 246, 255, .8) 50%, rgba(160, 225, 255, 0));
}

/* ---------- slide 2: warp tunnel ---------- */
.hs-warp .hs-bg { background: radial-gradient(ellipse 50% 62% at var(--vx) 50%, #102c70 0%, #0a1647 38%, #050a26 100%); }
.wp-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.wp-beam {
  position: absolute;
  left: var(--vx);
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1.5px;
  overflow: hidden;
  box-shadow: 0 0 18px 3px rgba(40, 140, 255, .5), 0 0 70px 12px rgba(40, 120, 255, .2);
  -webkit-mask: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(180deg, transparent, #000 12%, #000 88%, transparent);
}
.wp-beam::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  bottom: 0;
  background: repeating-linear-gradient(180deg, rgba(110, 200, 255, .95) 0 26px, rgba(110, 200, 255, .2) 26px 40px);
  animation: wpBeam .9s linear infinite;
}
.wp-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 34%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse 46% 26% at var(--vx) 50%, rgba(150, 200, 255, .26), rgba(150, 200, 255, 0) 70%);
  pointer-events: none;
}
.wp-band::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, rgba(220, 240, 255, 0) 4%, rgba(220, 240, 255, .9) var(--vx), rgba(220, 240, 255, 0) 100%);
  box-shadow: 0 0 22px 2px rgba(120, 190, 255, .45);
}
.wp-word {
  position: absolute;
  left: var(--vx);
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.45vw, 22px);
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 18px rgba(120, 190, 255, .85), 0 0 4px rgba(255, 255, 255, .6);
}
.wp-word span {
  display: inline-block;
  padding-left: .6em;           /* balances the trailing letter-space so the word stays centred */
  letter-spacing: .6em;
  transition: opacity .5s var(--e-soft), filter .5s var(--e-soft), letter-spacing .7s var(--e-out), padding .7s var(--e-out);
}
.wp-word span.is-out { opacity: 0; filter: blur(8px); letter-spacing: 1.1em; padding-left: 1.1em; }

/* ---------- slide 3: platform stack ---------- */
.hk-scene {
  position: absolute;
  top: 0;
  left: var(--vx);
  height: 100%;
  aspect-ratio: 16 / 9;
  perspective: 1500px;
  transform: translate3d(calc(-50% + var(--mx, 0) * -12px), calc(var(--my, 0) * -8px), 0);
}
.hk-orb { width: 39%; margin: -19.5% 0 0 -19.5%; opacity: .8; }
.hk-deck {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13.2%;
  aspect-ratio: 3 / 4;
  margin: -8.8% 0 0 -6.6%;        /* -height/2, -width/2 (both % of the scene width) keeps the deck centred */
  transform-style: preserve-3d;
}
.hk-card {
  position: absolute;
  inset: 0;
  margin: 0;
  transform-style: preserve-3d;
  transform: translate3d(var(--x), var(--y), 0) rotateX(0deg) rotateY(var(--ry)) rotateZ(var(--rz)) translateZ(0);
}
.hk-card-in {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #101a44;
  box-shadow: 0 30px 60px rgba(3, 6, 22, .55), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.hk-card-in img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.55) brightness(.82) contrast(1.06); }
.hk-card-in::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 20, 48, 0) 45%, rgba(14, 20, 48, .85) 100%);
}
.hk-card figcaption {
  position: absolute;
  left: 12px;
  right: 10px;
  bottom: 11px;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .88);
}

/* readability veil behind the copy */
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(9, 13, 36, .72) 0%, rgba(9, 13, 36, .42) 32%, rgba(9, 13, 36, 0) 58%);
}

/* ---------- copy ---------- */
.hero .hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 64px;
  padding-bottom: 120px;
}
.hero-copy { max-width: 640px; }
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}
.hero-label i { color: var(--accent-2); font-size: 13px; }
.hero-title {
  margin: 22px 0 0;
  max-width: 13.6em;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.5vw, 70px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.025em;
  color: #f4f5f8;
}
.hero-nw { white-space: nowrap; }
.hero-hl { color: var(--warm); }
/* split title: each word rises inside its own mask */
.hero-title .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em 0 .16em; margin: -.08em 0 -.16em; }
.hero-title .hw > span { display: inline-block; }
.hero-hl .hw > span {
  background: linear-gradient(90deg, #f9dab4, #eaa978);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-divider { display: block; width: 56px; height: 1px; margin: 34px 0 26px; background: rgba(255, 255, 255, .45); transform-origin: 0 50%; }
.hero-text { max-width: 440px; margin: 0; font-size: 16px; line-height: 1.8; color: rgba(255, 255, 255, .74); }

.hero-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; margin-top: 40px; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #fff;
}
.hero-cta-circle {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  isolation: isolate;
}
.hero-cta-circle::before { /* fill that swells in on hover */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--grad-soft);
  box-shadow: 0 10px 30px rgba(26, 159, 224, .35);
  transform: scale(0);
  transition: transform .6s var(--e-out);
}
.hero-cta-circle svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transition: transform .8s var(--e-out); }
.hero-cta-circle circle { fill: none; stroke: var(--warm); stroke-opacity: .85; stroke-width: 1.2; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-opacity .4s; }
.hero-cta-arrows { position: relative; display: block; width: 16px; height: 16px; overflow: hidden; color: var(--warm); font-size: 15px; line-height: 16px; transition: color .4s; }
.hero-cta-arrows i { position: absolute; top: 0; left: 0; transition: transform .55s var(--e-out); }
.hero-cta-arrows i + i { transform: translateX(-130%); }
.hero-cta-text { position: relative; padding: 4px 0; }
.hero-cta-text::after,
.hero-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: 100% 50%;
  transition: transform .6s var(--e-out);
}
.hero-cta:hover .hero-cta-circle::before,
.hero-cta:focus-visible .hero-cta-circle::before { transform: scale(1); }
.hero-cta:hover .hero-cta-circle circle { stroke-opacity: 0; }
.hero-cta:hover .hero-cta-circle svg { transform: rotate(90deg); }
.hero-cta:hover .hero-cta-arrows { color: #fff; }
.hero-cta:hover .hero-cta-arrows i { transform: translateX(130%); }
.hero-cta:hover .hero-cta-arrows i + i { transform: none; }
.hero-cta:hover { color: #fff; }
.hero-cta:hover .hero-cta-text::after,
.hero-link:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.hero-link {
  position: relative;
  padding: 4px 0;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  transition: color .4s var(--e-soft);
}
.hero-link:hover { color: var(--warm); }

.hero-scroll {
  position: absolute;
  left: 40px;
  bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.hero-scroll span { margin-right: -.3em; }
.hero-scroll i { position: relative; width: 1px; height: 54px; overflow: hidden; background: rgba(255, 255, 255, .22); }
.hero-scroll i::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, transparent, var(--warm));
  animation: heroScroll 2.4s var(--e-io) infinite;
}

/* ---------- pager ---------- */
.hero-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 0; }
.hero-pager {
  position: absolute;
  right: 40px;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero-count { font-family: var(--font-heading); font-size: 12px; font-weight: 500; letter-spacing: .2em; color: rgba(255, 255, 255, .5); }
.hero-count b { font-weight: 500; color: #fff; }
.hero-dots { display: flex; gap: 6px; }
.hero-dot { display: flex; align-items: center; width: 44px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero-dot i { position: relative; display: block; width: 100%; height: 2px; overflow: hidden; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: background-color .3s; }
.hero-dot:hover i { background: rgba(255, 255, 255, .4); }
.hero-dot i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--warm);
  transform: scaleX(0);
  transform-origin: 0 50%;
}
.hero-dot.is-active i::after { animation: heroProgress var(--dur, 8s) linear both; }
.hero.is-paused .hero-dot.is-active i::after { animation-play-state: paused; }
.hero-arrows { display: flex; gap: 8px; }
.hero-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: background-color .4s var(--e-soft), border-color .4s var(--e-soft), color .4s var(--e-soft);
}
.hero-arrow:hover { border-color: var(--warm); color: var(--warm); }
.hero-arrow:focus-visible, .hero-dot:focus-visible { outline: 1px solid var(--warm); outline-offset: 3px; }

/* ---------- intro (JS adds .is-ready once fonts are in) ---------- */
.js .hero:not(.is-ready) .hero-label,
.js .hero:not(.is-ready) .hero-text,
.js .hero:not(.is-ready) .hero-cta,
.js .hero:not(.is-ready) .hero-link,
.js .hero:not(.is-ready) .hero-scroll,
.js .hero:not(.is-ready) .hero-pager,
.js .hero:not(.is-ready) .hero-stage { opacity: 0; }
.js .hero:not(.is-ready) .hero-title { visibility: hidden; }
.js .hero:not(.is-ready) .hw > span { transform: translateY(115%); }
.js .hero:not(.is-ready) .hero-divider { transform: scaleX(0); }
.js .hero:not(.is-ready) .hero-cta-circle circle { stroke-dashoffset: 1; }

/* copy: replays each time its slide becomes active (--cd, set once by JS, waits for the slide reveal);
   every timeline stays attached while its slide leaves, so nothing snaps back to its resting state mid-wipe */
.hero.is-ready :is(.is-active, .is-leaving) .hero-label { animation: heroUp 1s var(--e-out) calc(var(--cd, 0s) + .15s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hw > span { animation: heroWord 1.2s var(--e-out) calc(var(--cd, 0s) + var(--d, .3s)) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hero-divider { animation: heroLine 1.1s var(--e-out) calc(var(--cd, 0s) + .8s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hero-text { animation: heroUp 1s var(--e-out) calc(var(--cd, 0s) + .9s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hero-cta { animation: heroUp 1s var(--e-out) calc(var(--cd, 0s) + 1.05s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hero-cta-circle circle { animation: heroDraw 1.4s var(--e-io) calc(var(--cd, 0s) + 1.1s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hero-link { animation: heroUp 1s var(--e-out) calc(var(--cd, 0s) + 1.18s) both; }
.hero.is-ready .hero-scroll { animation: heroFade 1.2s var(--e-soft) 1.5s both; }
.hero.is-ready .hero-pager { animation: heroFade 1.2s var(--e-soft) 1.7s both; }

/* ---------- slide transitions: next slide wipes up over a receding one ---------- */
.hero-slide.is-entering { animation: heroReveal 1.5s var(--e-io) both; }
.hero-slide.is-entering.is-back-in { animation-name: heroRevealBack; }
.hero-slide.is-entering .hero-stage { animation: heroStageIn 2.2s var(--e-out) both; }
.hero-slide.is-leaving .hero-stage { animation: heroStageOut 1.5s var(--e-io) both; }
.hero-slide.is-leaving.is-back-out .hero-stage { animation-name: heroStageOutBack; }
/* left before its own entrance finished: the zoom-in keeps running under the exit (separate properties), no jump */
.hero-slide.is-entering.is-leaving .hero-stage { animation: heroStageIn 2.2s var(--e-out) both, heroStageOut 1.5s var(--e-io) both; }
.hero-slide.is-entering.is-leaving.is-back-out .hero-stage { animation-name: heroStageIn, heroStageOutBack; }
.hero-slide.is-leaving .hero-copy { animation: heroCopyOut .8s var(--e-io) both; }
.hero-slide.is-leaving.is-back-out .hero-copy { animation-name: heroCopyOutBack; }

/* ---------- slide 1 timeline: orb → hands glide in → fingertips touch (3.45s) ---------- */
.hero.is-ready :is(.is-active, .is-leaving) .ht-cam { animation: htCam 10s cubic-bezier(.25, .1, .25, 1) var(--vd, 0s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-cam > .ht-orb {
  animation: htOrbIn 1.8s var(--e-out) var(--vd, 0s) both, htOrbTouch 1.8s var(--e-out) calc(var(--vd, 0s) + 3.4s);
}
/* the human hand sets off first, the AI hand follows from the other side; both arrive together at 3.45s
   and the float picks up from that exact moment, so there is no dead stop after contact */
.hero.is-ready :is(.is-active, .is-leaving) .ht-human { animation: htReach 3s calc(var(--vd, 0s) + .45s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-ai { animation: htReach 2.5s calc(var(--vd, 0s) + .95s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-hands { animation: htFloat 5s ease-in-out calc(var(--vd, 0s) + 3.45s) infinite alternate; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-flash { animation: htFlash 2.2s var(--e-out) calc(var(--vd, 0s) + 3.4s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-glow { animation: heroFade 1.4s var(--e-soft) calc(var(--vd, 0s) + 3.8s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-glow::before { animation: htGlow 3s ease-in-out calc(var(--vd, 0s) + 3.8s) infinite alternate; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-ring { animation: htRing 3.3s var(--e-out) calc(var(--vd, 0s) + 3.4s) infinite; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-ring:nth-child(3) { animation-delay: calc(var(--vd, 0s) + 4.5s); }
.hero.is-ready :is(.is-active, .is-leaving) .ht-ring:nth-child(4) { animation-delay: calc(var(--vd, 0s) + 5.6s); }
.hero.is-ready :is(.is-active, .is-leaving) .ht-flare { animation: htFlare 2.2s var(--e-out) calc(var(--vd, 0s) + 3.4s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-sweep { opacity: 1; }
.hero.is-ready :is(.is-active, .is-leaving) .ht-sweep::before { animation: htSweep 2.6s cubic-bezier(.45, 0, .25, 1) calc(var(--vd, 0s) + 3.5s) 2 both; }
.ht-spark { transition: opacity .5s var(--e-soft); }
.is-leaving .ht-spark { opacity: 0; }
.is-leaving .ht-arm { translate: calc(var(--dx) * .16) calc(var(--dy) * .16); }  /* hands drift apart while reach/float keep running */

/* ---------- slide 2 timeline ---------- */
.hero.is-ready :is(.is-active, .is-leaving) .wp-canvas { animation: heroFade 1.2s var(--e-soft) var(--vd, 0s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .wp-beam { animation: wpBeamIn 1.4s var(--e-out) calc(var(--vd, 0s) + .2s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .wp-band { animation: heroFade 1.6s var(--e-soft) calc(var(--vd, 0s) + .3s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .wp-word { animation: wpWordIn 1.6s var(--e-out) calc(var(--vd, 0s) + .6s) both; }

/* ---------- slide 3 timeline: stack rises, turns, then fans out ---------- */
.hero.is-ready :is(.is-active, .is-leaving) .hk-orb { animation: htOrbIn 1.8s var(--e-out) var(--vd, 0s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hk-card { animation: hkCard 3.6s calc(var(--vd, 0s) + .2s + var(--i) * .07s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hk-card figcaption { animation: heroFade .8s var(--e-soft) calc(var(--vd, 0s) + 3.5s + var(--i) * .08s) both; }
.hero.is-ready :is(.is-active, .is-leaving) .hk-card-in { animation: hkFloat 5.5s ease-in-out calc(var(--vd, 0s) + 4s + var(--i) * .3s) infinite alternate; }

/* nothing animates while the hero is off screen or the tab is hidden */
.hero.is-offscreen *,
.hero.is-offscreen *::before,
.hero.is-offscreen *::after { animation-play-state: paused !important; }

@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes heroWord { from { transform: translateY(115%); } to { transform: none; } }
@keyframes heroLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroDraw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes heroScroll { from { transform: translateY(-18px); } to { transform: translateY(54px); } }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes heroReveal { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroRevealBack { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroStageIn { from { transform: scale(1.22); } to { transform: none; } }
/* exit uses translate/scale (not transform) so it can layer on top of an unfinished heroStageIn */
@keyframes heroStageOut { from { opacity: 1; translate: 0 0; scale: 1; } to { opacity: .25; translate: 0 -5%; scale: .9; } }
@keyframes heroStageOutBack { from { opacity: 1; translate: 0 0; scale: 1; } to { opacity: .25; translate: 0 5%; scale: .9; } }
@keyframes heroCopyOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-40px); } }
@keyframes heroCopyOutBack { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(40px); } }

@keyframes htSpin { to { transform: rotate(360deg); } }
@keyframes htCam { from { transform: scale(.95); } to { transform: scale(1.06); } }
@keyframes htOrbIn { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes htOrbTouch { 0%, 100% { transform: none; } 30% { transform: scale(1.06); } }
/* one continuous weightless glide that eases all the way into contact: a single curve with no
   intermediate keyframe, so the hands never decelerate to a stop and restart on the way in */
@keyframes htReach {
  0% { opacity: 0; transform: translate3d(var(--dx), var(--dy), 0); animation-timing-function: cubic-bezier(.3, .1, .16, 1); }
  25% { opacity: 1; }
  100% { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes htFloat { from { transform: none; } to { transform: translateY(-1.4%); } }
@keyframes htFlash { 0% { opacity: 0; transform: scale(.15); } 16% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.6); } }
@keyframes htGlow { from { opacity: .7; transform: scale(.5); } to { opacity: 1; transform: scale(.62); } }
@keyframes htRing { 0% { opacity: 0; transform: scale(.2); } 8% { opacity: .9; } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes htFlare { 0% { opacity: 0; transform: scaleX(0); } 20% { opacity: 1; transform: scaleX(1); } 100% { opacity: .22; transform: scaleX(.7); } }
@keyframes htSweep { from { transform: translateX(300%); } to { transform: translateX(-100%); } }

@keyframes wpBeam { from { transform: none; } to { transform: translateY(40px); } }
@keyframes wpBeamIn { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
@keyframes wpWordIn { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: none; } }

@keyframes hkCard {
  0% { opacity: 0; transform: translate3d(0, 70%, 0) rotateX(62deg) rotateY(0deg) rotateZ(-30deg) translateZ(calc((2 - var(--i)) * 34px)); animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
  34% { opacity: 1; transform: translate3d(0, 0, 0) rotateX(62deg) rotateY(0deg) rotateZ(-36deg) translateZ(calc((2 - var(--i)) * 34px)); animation-timing-function: linear; }
  52% { transform: translate3d(0, 0, 0) rotateX(62deg) rotateY(0deg) rotateZ(-44deg) translateZ(calc((2 - var(--i)) * 34px)); animation-timing-function: cubic-bezier(.7, 0, .2, 1); }
  100% { opacity: 1; transform: translate3d(var(--x), var(--y), 0) rotateX(0deg) rotateY(var(--ry)) rotateZ(var(--rz)) translateZ(0); }
}
@keyframes hkFloat { from { transform: none; } to { transform: translateY(-5%); } }

@media (prefers-reduced-motion: reduce) {
  .hero *, .hero *::before, .hero *::after { animation: none !important; transition: none !important; }
  .js .hero .hero-label, .js .hero .hero-text, .js .hero .hero-cta, .js .hero .hero-link, .js .hero .hero-scroll,
  .js .hero .hero-pager, .js .hero .hero-stage { opacity: 1; }
  .js .hero .hero-title { visibility: visible; }
  .js .hero .hero-divider, .js .hero .hw > span { transform: none; }
  .js .hero .hero-cta-circle circle { stroke-dashoffset: 0; }
  .ht-glow { opacity: 1; }
  .ht-sweep { display: none; }
  .is-leaving .ht-arm { translate: none; }
  .hero-dot.is-active i::after { transform: scaleX(1); }
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .hero { --vx: 72%; --hx: 76%; }
  .hero-copy { max-width: 520px; }
  .hero-shade { background: linear-gradient(90deg, rgba(9, 13, 36, .78) 0%, rgba(9, 13, 36, .5) 36%, rgba(9, 13, 36, 0) 62%); }
}
@media (max-width: 1199px), (max-height: 760px) {
  .hero-scroll { display: none; }
}
/* tablet & mobile: copy on top, the visual becomes a band below it */
@media (max-width: 991px) {
  .hero { --sh: 64vw; --vx: 50%; --hx: 50%; display: block; min-height: 0; }
  .hero-slide { display: block; }
  .ht-scene, .hk-scene { top: auto; bottom: 0; height: var(--sh); }
  .ht-scene { bottom: 0; height: var(--sh); }
  .hs-bg { background: radial-gradient(ellipse 90% calc(var(--sh) * .7) at 50% calc(100% - var(--sh) / 2), #1d2b5e 0%, #131b43 46%, #0b1030 100%); }
  .hs-warp .hs-bg { background: radial-gradient(ellipse 80% calc(var(--sh) * .6) at 50% calc(100% - var(--sh) / 2), #102c70 0%, #0a1647 38%, #050a26 100%); }
  .wp-beam { top: calc(100% - var(--sh) * 1.05); }
  .wp-band { top: calc(100% - var(--sh) / 2); height: calc(var(--sh) * .5); }
  .wp-word { top: calc(100% - var(--sh) / 2); }
  .hero-shade { display: none; }
  .hs-warp .hero-shade {
    display: block;
    background: linear-gradient(180deg, rgba(5, 10, 38, .9) 0%, rgba(5, 10, 38, .72) calc(100% - var(--sh) * 1.1), rgba(5, 10, 38, 0) calc(100% - var(--sh) * .75));
  }
  .hero .hero-content { padding-top: 64px; padding-bottom: calc(var(--sh) * .96); }
  .hero-copy { max-width: 620px; }
  .hero-title { font-size: clamp(36px, 7vw, 54px); }
  .hero-pager { left: 24px; right: 24px; bottom: 18px; justify-content: space-between; gap: 14px; }
}
@media (max-width: 575px) {
  .hero { --sh: 104vw; }
  .hero .hero-content { padding-top: 48px; padding-bottom: calc(var(--sh) * .96); }
  .hero-label { font-size: 11px; letter-spacing: .16em; gap: 10px; }
  .hero-title { margin-top: 18px; font-size: clamp(32px, 9.2vw, 40px); line-height: 1.14; }
  .hero-divider { margin: 26px 0 20px; }
  .hero-text { font-size: 15px; line-height: 1.75; }
  .hero-btns { margin-top: 30px; gap: 18px 28px; }
  .hero-cta { font-size: 12px; gap: 14px; }
  .hero-cta-circle { width: 54px; height: 54px; }
  .hk-deck { width: 11%; margin: -7.33% 0 0 -5.5%; }
  .hk-card figcaption { left: 8px; bottom: 7px; font-size: 8px; letter-spacing: .1em; }
  .hero-pager { left: 15px; right: 15px; bottom: 14px; }
  .hero-count { display: none; }
  .hero-dot { width: 32px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 12px; }
}

/* =========================================================
   STATS
   ========================================================= */
.stats { background: var(--light-bg); padding: 70px 0; position: relative; }
.stats::before { content: ""; position: absolute; inset: 0; background: url("../images/circuit-dark.svg") right center / 800px auto no-repeat; pointer-events: none; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.stat { padding: 10px 30px; border-left: 1px solid #dbe2ef; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num { font-family: var(--font-heading); font-size: clamp(40px, 4vw, 56px); font-weight: bold; line-height: 1.1; color: var(--navy); margin-bottom: 8px; }
.stat-num em { font-style: normal; color: var(--accent); }
.stat p { margin: 0; font-size: 17px; font-weight: 500; color: var(--heading); }

/* =========================================================
   OUR SERVICES  (image card carousel)
   ========================================================= */
.offer { padding-bottom: 0; overflow: hidden; }
.offer .section-head.split { margin-bottom: 55px; }
.offer-slider { position: relative; --per: 3; --gap: 30px; }
.offer-viewport { touch-action: pan-y; }
.offer-track { display: flex; gap: var(--gap); transition: transform .6s var(--ease); cursor: grab; }
.offer-track.is-dragging { transition: none; cursor: grabbing; user-select: none; }
.offer-item { flex: 0 0 calc((100% - var(--gap) * (var(--per) - 1)) / var(--per)); min-width: 0; }
.offer-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 0 20px rgba(0, 0, 0, .07);
  outline-offset: 4px;
  transition: opacity .5s var(--ease);
}
/* slides outside the view stay visible but faded */
.offer-slider.is-ready .offer-item:not(.is-active) .offer-inner { opacity: .2; }
.offer-image { position: relative; aspect-ratio: 41 / 45; background: var(--navy); }
.offer-image img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.offer-image::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 250px;
  max-height: 100%;
  background: linear-gradient(0deg, #16224f 0%, rgba(22, 34, 79, 0) 100%);
}
.offer-overlay { position: absolute; left: 0; bottom: 0; width: 100%; padding: 60px; transition: all .3s ease; }
.offer-icon { display: block; font-size: 42px; line-height: 1; color: #fff; margin-bottom: 18px; transition: color .3s ease; }
.offer-inner h3 { font-size: 20px; font-weight: 400; line-height: 1.3; color: #fff; transition: color .3s ease; }
.offer-box {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(50%);
  transition: all .3s ease;
}
.offer-box .offer-icon { color: var(--primary); }
.offer-box h3 { color: var(--heading); margin-bottom: 1rem; }
.offer-box p { margin: 0; font-size: 16px; line-height: 24px; }
.offer-inner:hover .offer-overlay,
.offer-inner:focus-within .offer-overlay { opacity: 0; visibility: hidden; }
.offer-inner:hover .offer-box,
.offer-inner:focus-within .offer-box { opacity: 1; visibility: visible; transform: none; }

.offer-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--radius);
  border: 1px solid #e8ecef;
  background: #fff;
  color: var(--heading);
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  transform: translateY(-50%);
  transition: all .3s ease;
}
.offer-prev { left: -25px; }
.offer-next { right: -25px; }
.offer-nav:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.offer-nav:disabled { cursor: default; pointer-events: none; }
@media (min-width: 992px) {
  .offer-nav { opacity: 0; visibility: hidden; }
  .offer-slider:hover .offer-nav, .offer-nav:focus-visible { opacity: 1; visibility: visible; }
}
.offer-slider .offer-nav:disabled { opacity: .35; }
@media (min-width: 992px) { .offer-slider:not(:hover) .offer-nav:disabled { opacity: 0; } }

/* =========================================================
   MARKET TRANSFORMATION  (experience-style layout)
   ========================================================= */
.market::before {
  content: "";
  position: absolute;
  right: 0; top: 60px;
  width: 52%; height: 85%;
  background-image: radial-gradient(rgba(31, 45, 99, .12) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
  pointer-events: none;
}
.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; }
.market-content .section-title { margin-bottom: 24px; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 26px 0 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.check-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--heading); }
.check-list i { color: var(--primary); font-size: 16px; }
.market-bridge { display: flex; align-items: center; gap: 20px; }
.market-bridge p { margin: 0; color: var(--heading); font-size: 17px; }
.bridge-icon { flex-shrink: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--light-bg); color: var(--primary); font-size: 22px; }

.market-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.market-cards .m-card:nth-child(even) { transform: translateY(40px); }
.m-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .4s var(--ease), translate .4s var(--ease);
}
.m-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--grad-soft); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.m-card:hover { box-shadow: var(--shadow-lg); translate: 0 -8px; }
.m-card:hover::after { transform: scaleX(1); transform-origin: left; }
.m-icon { flex-shrink: 0; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--light-bg); color: var(--primary); font-size: 24px; transition: background .4s, color .4s; }
.m-icon i { transition: transform .6s var(--ease); }
.m-card:hover .m-icon { background: var(--grad-soft); color: #fff; }
.m-card:hover .m-icon i { transform: rotateY(360deg); }
.m-card h3 { font-size: 18px; line-height: 1.35; font-weight: 500; }

/* =========================================================
   PLATFORMS  (sticky stacked panels)
   ========================================================= */
.cr1 { padding: 0; background-color: #fff; }
.platforms .section-head { margin-bottom: 60px; }

.stack-box { position: relative; z-index: 1; }
.stack-item { position: relative; background: #fff; }
.stack-item-02 { background: #f6f3ee; }
.stack-item-03 { background: #d8f5ef; }
.stack-item-wrapper { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.stack-media { position: relative; overflow: hidden; min-height: 100%; }
.stack-media-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(var(--zoom, 1));
  transition: transform .15s linear;
}
.stack-content { align-self: center; padding: 90px 14% 90px 8%; }
.stack-label {
  display: inline-block;
  margin-bottom: 15px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background-image: linear-gradient(to right, #149ddb 0%, #202f64 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stack-title { font-size: clamp(40px, 4.3vw, 65px); font-weight: 700; letter-spacing: -.04em; line-height: 1.05; margin-bottom: 22px; }
.stack-item-03 .stack-title { font-size: clamp(34px, 3.3vw, 56px); letter-spacing: -.03em; }
.stack-sub { display: block; margin-bottom: 16px; font-size: 16px; font-weight: 600; color: #149ddb; }
.stack-content p { max-width: 95%; margin-bottom: 0; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
.stack-tags li {
  padding: 6px 12px;
  border-radius: 8px;
  background: #f5f8fc;
  border: 1px solid #e6ebf3;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: background .3s, color .3s, border-color .3s, transform .3s var(--ease);
}
.stack-tags li:hover { background: var(--primary); border-color: var(--primary); color: #fff; transform: translateY(-2px); }
.stack-deploy { padding-top: 24px; margin-bottom: 30px; font-size: 14px; font-weight: 600; color: #6b7384; }
.stack-deploy b { color: var(--navy); }

/* dark pill button with rolling text on hover */
.btn-roll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 34px;
  border-radius: 50px;
  background: #232323;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease);
}
.btn-roll-text { display: inline-block; height: 1.4em; line-height: 1.4; overflow: hidden; }
.btn-roll-text span { display: block; transition: transform .8s cubic-bezier(.15, .85, .31, 1); }
.btn-roll-text span::after { content: attr(data-text); display: block; }
.btn-roll i { font-size: 13px; transition: transform .4s var(--ease); }
.btn-roll:hover { color: #fff; background: var(--navy); transform: translateY(-3px); box-shadow: 0 18px 36px rgba(17, 28, 63, .28); }
.btn-roll:hover .btn-roll-text span { transform: translateY(-50%); }
.btn-roll:hover i { transform: translateX(4px); }

/* desktop: panels stick and lift away one after another (enabled by JS) */
.stack-box.is-stacked { height: 300vh; }
.stack-box.is-stacked .stack-box-contain { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.stack-box.is-stacked .stack-item { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; overflow: hidden; }
.stack-box.is-stacked .stack-item-01 { z-index: 3; }
.stack-box.is-stacked .stack-item-02 { z-index: 2; }
.stack-box.is-stacked .stack-item-03 { z-index: 1; }
.stack-box.is-stacked .stack-item.active { box-shadow: 0 30px 60px rgba(17, 28, 63, .22); }
.stack-box.is-stacked .stack-item-wrapper { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; min-height: 0; }
.stack-box.is-stacked .stack-content { padding-top: 110px; padding-bottom: 60px; }

/* =========================================================
   HEXAGON ICON
   ========================================================= */
.hex {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 84px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: var(--grad-soft);
  color: #fff;
  font-size: 28px;
  transition: background .4s var(--ease), color .4s var(--ease), transform .7s var(--ease);
}
.hex-accent { background: linear-gradient(135deg, #36c2f2, #1f63c8); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--light-bg); }
.services::before { content: ""; position: absolute; inset: 0; background: url("../images/circuit-dark.svg") left top / 1000px auto no-repeat; pointer-events: none; }
.services .container { position: relative; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.service-card {
  position: relative;
  padding: 44px 38px 40px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  isolation: isolate;
  transition: box-shadow .5s var(--ease), translate .5s var(--ease);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
}
.service-card .hex { margin-bottom: 28px; }
.service-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 14px; transition: color .4s; }
.service-card p { margin: 0; transition: color .4s; }
.card-num { position: absolute; right: 30px; top: 26px; font-family: var(--font-heading); font-size: 54px; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px #d7deec; transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.service-card:hover { translate: 0 -10px; box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleY(1); transform-origin: top; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, .82); }
.service-card:hover .hex { background: #fff; color: var(--primary); transform: rotateY(360deg); }
.service-card:hover .card-num { -webkit-text-stroke-color: rgba(255, 255, 255, .35); transform: translateY(-4px); }

/* =========================================================
   WHY INTBRAINS  (draggable image slider, slides in on scroll)
   --cw / --cg : card width / gap
   --side      : left edge of the container inside the full-width slider
   --bleed     : hidden overhang so the scroll drift never shows an edge
   ========================================================= */
.why { --cw: clamp(250px, 23vw, 320px); --cg: clamp(20px, 2.6vw, 40px); --media-r: calc(var(--radius) * 2); padding: 90px 0 80px; background: #fff; overflow: hidden; }
.why-bg { position: absolute; inset: 0; pointer-events: none; }
.why-blob { position: absolute; border-radius: 50%; }
.why-blob-1 { width: 760px; height: 760px; left: -280px; top: -220px; background: radial-gradient(circle, rgba(26, 159, 224, .13) 0%, rgba(26, 159, 224, 0) 65%); }
.why-blob-2 { width: 820px; height: 820px; right: -300px; bottom: -300px; background: radial-gradient(circle, rgba(31, 79, 168, .12) 0%, rgba(31, 79, 168, 0) 65%); }
.why .container { position: relative; }

.why-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 18px 60px; align-items: end; margin-bottom: 50px; }
.why-head .section-title { font-size: clamp(30px, 3.3vw, 48px); }
.why-head-aside p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; }

/* slider */
.why-slider { position: relative; container-type: inline-size; }
.why-viewport {
  --side: max(15px, calc((100cqw - 1290px) / 2));
  --bleed: 120px;
  position: relative;
  width: calc(100% + var(--bleed) * 2);
  margin-left: calc(var(--bleed) * -1);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-padding-inline: calc(var(--side) + var(--bleed));
}
.why-viewport::-webkit-scrollbar { display: none; }
.why-viewport:focus-visible { outline: none; }
.why-viewport:focus-visible .why-media { outline: 2px solid var(--accent); outline-offset: 3px; }
.why-viewport.is-dragging { user-select: none; }
@media (pointer: coarse) { .why-viewport { scroll-snap-type: x mandatory; } }

.why-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: var(--cw);
  grid-template-rows: auto auto;
  column-gap: var(--cg);
  width: max-content;
  padding: 6px calc(var(--side) + var(--bleed));
}
/* subgrid keeps every title on one line across cards of different image heights */
.why-card { display: grid; grid-row: span 2; grid-template-rows: subgrid; scroll-snap-align: start; }
.why-media { position: relative; align-self: end; margin: 0; aspect-ratio: 1 / 1.02; border-radius: var(--media-r); overflow: hidden; background: var(--light-bg); isolation: isolate; }
.why-card:nth-child(3n+2) .why-media { aspect-ratio: 1 / 1.22; }
.why-card:nth-child(3n) .why-media { aspect-ratio: 1 / 1.1; }
.why-media img { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; max-width: none; object-fit: cover; pointer-events: none; -webkit-user-drag: none; transition: scale .8s var(--ease); }
.why-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 19, 51, 0) 55%, rgba(13, 19, 51, .5) 100%); pointer-events: none; }
.why-num { position: absolute; left: 16px; top: 16px; z-index: 1; padding: 5px 12px; border-radius: 30px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-family: var(--font-heading); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .08em; color: var(--navy); }
.why-tag { position: absolute; left: 16px; bottom: 18px; z-index: 1; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius); background: rgba(13, 19, 51, .5); border: 1px solid rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-family: var(--font-heading); font-size: 14px; font-weight: 600; line-height: 1.2; color: #fff; }
.why-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(54, 194, 242, .25); }
.why-icon { position: absolute; right: 16px; bottom: 16px; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--grad-soft); color: #fff; font-size: 18px; box-shadow: 0 10px 24px rgba(26, 159, 224, .4); transition: transform .7s var(--ease); }
.why-body { padding-top: 22px; }
.why-card h3 { font-size: 18px; font-weight: 500; line-height: 1.35; transition: color .3s var(--ease); }
.why-card p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; }
@media (hover: hover) {
  .why-card:hover .why-media img { scale: 1.07; }
  .why-card:hover .why-icon { transform: rotateY(360deg); }
  .why-card:hover h3 { color: var(--primary); }
}

/* entrance: cards slide in from the right, image wipes open, text rises */
.why-card { --d: min(calc(var(--i) * 110ms + 150ms), 900ms); }
.js .why-track[data-anim] { opacity: 1; transform: none; }
.js .why-card { opacity: 0; transform: translate3d(220px, 0, 0); transition: opacity .9s var(--ease) var(--d), transform 1.3s var(--ease) var(--d); }
.js .why-media { clip-path: inset(0 100% 0 0 round var(--media-r)); transition: clip-path 1.2s var(--ease) calc(var(--d) + 150ms); }
.js .why-media img { transform: scale(1.25); transition: transform 1.6s var(--ease) calc(var(--d) + 150ms), scale .8s var(--ease); }
.js .why-body { opacity: 0; transform: translate3d(0, 24px, 0); transition: opacity .8s var(--ease) calc(var(--d) + 450ms), transform .8s var(--ease) calc(var(--d) + 450ms); }
.why-track.is-visible .why-card, .why-track.is-visible .why-body { opacity: 1; transform: none; }
.why-track.is-visible .why-media { clip-path: inset(0 0 0 0 round var(--media-r)); }
.why-track.is-visible .why-media img { transform: none; }

/* drag cursor (mouse only) */
.why-cursor { position: absolute; left: 0; top: 0; z-index: 5; display: flex; align-items: center; justify-content: center; gap: 10px; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: #fff; color: var(--navy); font-size: 15px; box-shadow: 0 14px 34px rgba(17, 28, 63, .18); pointer-events: none; opacity: 0; scale: 0; transition: opacity .35s var(--ease), scale .35s var(--ease); }
.why-slider.cursor-on .why-cursor { opacity: 1; scale: 1; }
.why-slider.is-dragging .why-cursor { scale: .8; }
.why-slider.cursor-on .why-viewport { cursor: none; }

/* progress + arrows */
.why-controls { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.why-progress { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--border); overflow: hidden; }
.why-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 30%; border-radius: 3px; background: var(--grad-soft); transition: width .3s var(--ease); }
.why-nav { display: flex; gap: 10px; }
.why-arrow { display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; border: 1px solid var(--border); background: #fff; color: var(--navy); font-size: 15px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), opacity .35s; }
.why-arrow:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; }
.why-arrow:disabled { opacity: .4; cursor: default; }

@media (max-width: 1199px) {
  .why-head { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: 18px 40px; }
}

@media (max-width: 991px) {
  .why { --cw: 290px; padding: 90px 0 80px; }
  .why-head { grid-template-columns: 1fr; margin-bottom: 44px; }
  .why-head-aside p { max-width: 620px; }
  .why-viewport { --bleed: 0px; }
}

@media (max-width: 767px) {
  .why { --cw: min(72vw, 290px); --cg: 16px; padding: 80px 0 70px; }
  .why-head { margin-bottom: 36px; }
  .js .why-card { transform: translate3d(120px, 0, 0); }
  .why-card h3 { font-size: 17px; }
  .why-card p { font-size: 14px; }
  .why-controls { gap: 20px; margin-top: 30px; }
  .why-arrow { width: 46px; height: 46px; font-size: 14px; }
}

@media (max-width: 575px) {
  .why { padding: 70px 0 56px; }
  .why-head-aside .btn { width: 100%; }
  .why-body { padding-top: 18px; }
}

/* =========================================================
   INDUSTRIES + COMPLIANCE  (hex cards + compliance panel)
   ========================================================= */
/* vector corners (network, security, circuit) kept to the edges so the centre stays clean */
.industries {
  background:
    url("../images/ind-bg-network.svg") left top / 640px auto no-repeat,
    url("../images/ind-bg-security.svg") right top / 560px auto no-repeat,
    url("../images/ind-bg-circuit.svg") left bottom / 620px auto no-repeat,
    linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
  overflow: hidden;
}
/* soft floating glows for depth */
.industries::before,
.industries::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; animation: ind-drift 18s ease-in-out infinite; }
.industries::before { width: 560px; height: 560px; top: -180px; left: -220px; background: radial-gradient(circle, rgba(26, 159, 224, .09), transparent 70%); }
.industries::after { width: 640px; height: 640px; bottom: -260px; right: -200px; background: radial-gradient(circle, rgba(31, 79, 168, .10), transparent 70%); animation-delay: -9s; }
@keyframes ind-drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 30px) scale(1.08); } }
.industries .container { position: relative; z-index: 1; }

.ind-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 40px; align-items: stretch; }
.ind-main { display: flex; flex-direction: column; }

/* industry cards */
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industry {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 150px;
  padding: 22px 12px 18px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
/* hover transitions run alongside the scroll-reveal ones without inheriting its delay */
.industry,
.js .industries .industry[data-anim] {
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), translate .45s var(--ease), border-color .4s var(--ease), box-shadow .45s var(--ease);
  transition-delay: var(--delay, 0ms), var(--delay, 0ms), 0s, 0s, 0s;
}
.industry::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-soft); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.industry .hex { width: 58px; height: 64px; font-size: 22px; background: var(--light-bg); color: var(--primary); isolation: isolate; }
.industry .hex::before { content: ""; position: absolute; inset: 0; background: var(--grad-soft); opacity: 0; transition: opacity .4s; z-index: -1; }
.industry h3 { font-size: 14px; font-weight: 500; line-height: 1.4; transition: color .3s; }
.industry:hover { translate: 0 -6px; border-color: rgba(31, 79, 168, .22); box-shadow: var(--shadow); }
.industry:hover::after { transform: scaleX(1); }
.industry:hover .hex { color: #fff; transform: rotateY(360deg); }
.industry:hover .hex::before { opacity: 1; }
.industry:hover h3 { color: var(--primary); }
.center-btn { text-align: center; margin-top: 60px; }
.ind-main .center-btn { margin-top: auto; padding-top: 32px; text-align: left; }

/* compliance panel */
.compliance {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  isolation: isolate;
}
/* decorative hexagon outlines + glow */
.compliance::before { content: ""; position: absolute; width: 300px; height: 330px; top: -110px; right: -90px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255, 255, 255, .07); z-index: -1; }
.compliance::after { content: ""; position: absolute; width: 380px; height: 380px; bottom: -200px; left: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(54, 194, 242, .35), transparent 70%); z-index: -1; }
.compliance-head { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.compliance-badge { flex: none; width: 54px; height: 60px; font-size: 22px; background: rgba(255, 255, 255, .14); color: #fff; }
.compliance-label { margin: 0; font-family: var(--font-heading); font-size: 14px; font-weight: 600; line-height: 1.6; letter-spacing: .14em; text-transform: uppercase; color: #fff; }
.compliance-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; flex: 1; align-content: center; }
.compliance-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .07);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.compliance-list li.is-featured { grid-column: 1 / -1; background: rgba(255, 255, 255, .14); }
.c-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255, 255, 255, .14); color: var(--accent-2); font-size: 16px; transition: background-color .35s, color .35s, transform .35s var(--ease); }
.compliance-list li:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .34); transform: translateX(4px); }
.compliance-list li:hover .c-icon { background: #fff; color: var(--primary); transform: scale(1.06); }

/* =========================================================
   CLIENTS (single-row infinite logo marquee)
   ========================================================= */
/* the track holds two identical groups; sliding by -50% lands exactly on the start of the copy */
.clients { padding: 100px 0; background: var(--light-bg); overflow: hidden; }
.clients .section-head { margin-bottom: 50px; }
.clients-marquee {
  --logo-gap: 24px;
  position: relative;
  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);
}
.clients-track { display: flex; width: max-content; animation: clients-scroll 40s linear infinite; }
.clients-marquee:hover .clients-track { animation-play-state: paused; }
.clients-group { display: flex; flex: none; margin: 0; padding: 0; list-style: none; }
/* spacing lives on each item (not flex gap) so both groups are exactly equal widths */
.client-logo { flex: none; padding-right: var(--logo-gap); }
.client-logo span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 210px;
  height: 100px;
  padding: 18px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
}
.client-logo img { display: block; width: auto; height: auto; max-width: 100%; max-height: 52px; object-fit: contain; }
.client-logo span:hover { border-color: transparent; box-shadow: var(--shadow); transform: translateY(-3px); }
@keyframes clients-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 991px) {
  .clients { padding: 80px 0; }
  .clients-track { animation-duration: 32s; }
}
@media (max-width: 575px) {
  .clients { padding: 64px 0; }
  .clients .section-head { margin-bottom: 36px; }
  .clients-marquee { --logo-gap: 14px; }
  .client-logo span { width: 150px; height: 76px; padding: 14px 18px; }
  .client-logo img { max-height: 40px; }
  .clients-track { animation-duration: 26s; }
}
/* prev / next sit beside the marquee (never over the logos); wide screens push them into the side gutters */
.clients-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px; }
.clients-nav {
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: var(--radius);
  border: 1px solid #e8ecef;
  background: #fff;
  color: var(--heading);
  font-size: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
  transition: all .3s ease;
}
.clients-nav:hover, .clients-nav:focus-visible { background: var(--primary); border-color: var(--primary); color: #fff; }
.clients-nav:active { transform: scale(.94); }
@media (min-width: 1480px) { .clients-slider { margin: 0 -70px; } }
@media (max-width: 575px) {
  .clients-slider { gap: 10px; }
  .clients-nav { width: 36px; height: 36px; font-size: 12px; }
}
/* no motion: drop the duplicate and let the row be swiped instead */
@media (prefers-reduced-motion: reduce) {
  .clients-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .clients-track { animation: none; }
  .clients-group[aria-hidden="true"] { display: none; }
}

/* =========================================================
   CTA (full-width compact band)
   ========================================================= */
.cta-wrap {
  position: relative;
  z-index: 3;
  padding: 56px 0;
  background: var(--grad);
  overflow: hidden;
  isolation: isolate;
}
.cta-wrap::before { content: ""; position: absolute; inset: 0; background: url("../images/circuit-light.svg") right center / 900px auto no-repeat; opacity: .9; pointer-events: none; z-index: -1; }
.cta-wrap::after { content: ""; position: absolute; width: 420px; height: 420px; right: 8%; top: -240px; border-radius: 50%; background: rgba(255, 255, 255, .07); pointer-events: none; z-index: -1; }
.cta-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
/* soft glow behind the heading */
.cta-box::before { content: ""; position: absolute; width: 520px; height: 260px; left: -160px; top: 50%; transform: translateY(-50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 194, 242, .22), transparent); pointer-events: none; }
.cta-content { position: relative; z-index: 1; max-width: 760px; }
.cta-content h2 { font-size: clamp(26px, 2.5vw, 36px); color: #fff; margin-bottom: 10px; }
.cta-content p { color: rgba(255, 255, 255, .85); font-size: 17px; line-height: 1.65; margin: 0; }
.cta-box .btn { position: relative; z-index: 1; flex-shrink: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; background: var(--navy-900); color: rgba(255, 255, 255, .62); padding-top: 100px; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; inset: 0; background: url("../images/circuit-light.svg") left bottom / 1000px auto no-repeat; opacity: .6; pointer-events: none; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.35fr .95fr 1fr .8fr; }
.footer-col { padding: 0 40px; border-left: 1px solid rgba(255, 255, 255, .1); }
.footer-col:first-child { padding-left: 0; border-left: 0; }
.footer-about .logo { margin-bottom: 24px; }
.footer-about p { max-width: 330px; }
.footer-col h4 { font-size: 20px; font-weight: 500; color: #fff; margin-bottom: 26px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { position: relative; display: inline-block; transition: color .3s, transform .3s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(6px); }
.footer-contact { margin: 24px 0; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 14px; color: #fff; font-weight: 500; }
.footer-contact i { color: var(--accent-2); font-size: 18px; width: 22px; margin-top: 4px; }
.footer-contact span { display: flex; flex-direction: column; }
.footer-contact a:hover { color: var(--accent-2); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); color: #fff; transition: background .35s, border-color .35s, transform .35s var(--ease); }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-4px); }
.footer-bottom { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 70px; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-bottom strong { color: #fff; font-weight: 600; }
.footer-bottom ul { display: flex; gap: 30px; }
.footer-bottom ul a { color: #fff; font-weight: 600; }
.footer-bottom ul a:hover { color: var(--accent-2); }

/* Back to top */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s, color .3s;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top:hover { background: var(--primary); color: #fff; }
.back-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.back-top circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 138.2; stroke-dashoffset: var(--progress, 138.2); transition: stroke-dashoffset .1s linear; }

/* =========================================================
   SCROLL REVEAL (entrance animations)
   ========================================================= */
.js [data-anim] { opacity: 0; transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--delay, 0ms); will-change: opacity, transform; }
.js [data-anim="fade-up"] { transform: translate3d(0, 60px, 0); }
.js [data-anim="fade-left"] { transform: translate3d(60px, 0, 0); }
.js [data-anim="fade-right"] { transform: translate3d(-60px, 0, 0); }
.js [data-anim="zoom-in"] { transform: scale(.88); }
.js [data-anim].is-visible { opacity: 1; transform: none; }
/* keep the staggered offset on alternate market cards */
.js .market-cards .m-card:nth-child(even)[data-anim] { transform: translate3d(0, 100px, 0); }
.js .market-cards .m-card:nth-child(even)[data-anim].is-visible { transform: translateY(40px); }


.ct-jump { display: inline-flex; align-items: center; gap: .4em; font-weight: 500; }
.ct-jump i { font-size: .8em; }

.ct-offices {  }
.ct-offices-title { margin: 0 0 24px; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 600; }

.ct-office-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ct-office {
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  background: #fff;
  border: 1px solid rgba(15, 35, 60, .08);
  border-top: 3px solid var(--primary, #1ea1e6);
  border-radius: 10px;
}

.ct-office-head { display: flex; align-items: center; gap: 14px; }
.ct-office-head h3 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.ct-office-tag { margin: 2px 0 0; font-size: .875rem; color: #6b7785; }

.ct-office-ic {
  flex: none; width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(30, 161, 230, .1);
  color: var(--primary, #1ea1e6);
}

.ct-office address { font-style: normal; line-height: 1.7; color: #3c4652; }

.ct-office-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    float: left;
    grid-auto-flow: column;
}
.ct-office-links li { display: flex; align-items: center; gap: 10px; }
.ct-office-links i { width: 16px; color: var(--primary, #1ea1e6); }
.ct-office-links a { color: inherit; text-decoration: none; }
.ct-office-links a:hover { color: var(--primary, #1ea1e6); }

.ct-office-map {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; color: var(--primary, #1ea1e6); text-decoration: none;
}
.ct-office-map:hover { text-decoration: underline; }

.ct-office a:focus-visible, .ct-jump:focus-visible {
  outline: 2px solid var(--primary, #1ea1e6); outline-offset: 3px; border-radius: 2px;
}




/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1499px) {
  .header-call { display: none; }
}

@media (max-width: 1399px) {
  .offer-prev { left: 10px; }
  .offer-next { right: 10px; }
}

@media (max-width: 1199px) {
  :root { --header-h: 84px; }
  .nav-menu > li > a { padding: 0 10px; font-size: 13px; }
  .nav-menu > li > a::after { left: 10px; right: 10px; }
  .header-btn { display: none; }
  .section { padding: 100px 0; }
  .head-aside { flex-direction: column; align-items: flex-start; gap: 24px; }
  .market-grid { gap: 50px; }
  .stack-item-wrapper { min-height: 620px; }
  .stack-content { padding: 70px 6%; }
  .service-card { padding: 40px 28px 34px; }
  .ind-layout { gap: 30px; }
  .compliance { padding: 34px 28px; }
  .footer-col { padding: 0 24px; }
  .cta-wrap { padding: 50px 0; }
}

@media (max-width: 1024px) {
  .offer-slider { --per: 2; }
}

@media (max-width: 991px) {
  .ind-layout { grid-template-columns: 1fr; gap: 36px; }
  .industries { background-size: 520px auto, 460px auto, 520px auto, auto; }
  .ind-main .center-btn { text-align: center; }
  .compliance-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .compliance-list li.is-featured { grid-column: auto; }
  .offer-slider { padding-bottom: 76px; }
  .offer-nav { top: auto; bottom: 0; transform: none; }
  .offer-prev { left: calc(50% - 60px); }
  .offer-next { right: calc(50% - 60px); }
  .container-fluid { padding: 0 24px; }
  .topbar-hours { display: none; }
  .main-nav, .header-btn { display: none; }
  .menu-toggle { display: flex; }
  .header-inner { justify-content: space-between; }
  .header-right { margin-left: auto; }


  .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .market-grid { grid-template-columns: 1fr; }
  .stack-item-wrapper { grid-template-columns: 1fr; min-height: 0; }
  .stack-media { min-height: 500px; }
  .stack-content { padding: 50px; }
  .market-cards { max-width: 640px; }

  .section-head.split { grid-template-columns: 1fr; gap: 24px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { gap: 12px; }
  .industry { min-height: 138px; padding: 18px 8px 16px; gap: 12px; }
  .industry h3 { font-size: 13px; }
  .compliance-list li { font-size: 14px; padding: 10px 12px; }

  .cta-box { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 50px; }
  .footer-col:nth-child(3) { padding-left: 0; border-left: 0; }
}

@media (max-width: 767px) {
  .topbar-info .hide-md { display: none; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .head-aside { flex-direction: column; align-items: flex-start; gap: 24px; }


  .offer-slider { --per: 1; --gap: 16px; }
  .stack-content { text-align: center; padding: 50px 30px; }
  .stack-content p { max-width: none; }
  .stack-tags { justify-content: center; }
  .offer-overlay { padding: 30px; }
  .offer-box { padding: 26px 22px; }
  .market-cards { gap: 16px; }
  .m-card { padding: 22px 18px; gap: 14px; flex-direction: column; align-items: flex-start; }
  .m-card h3 { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .industries { background-size: 420px auto, 360px auto, 440px auto, auto; }
  .compliance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compliance-list li.is-featured { grid-column: 1 / -1; }
  .cta-wrap { padding: 44px 0; }
  .cta-wrap::before { background-size: 600px auto; opacity: .6; }
  .cta-content p { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-col { padding: 0; border-left: 0; }
  .footer-bottom { justify-content: center; text-align: center; }
}






@media (max-width: 575px) {
  .container-fluid { padding: 0 15px; }
  .stack-media { min-height: 320px; }
  .stack-content { padding: 40px 15px 50px; }
  .topbar-inner { justify-content: center; }
  .topbar-info li:nth-child(2) { display: none; }
  .topbar-info li { border-right: 0; margin-right: 0; padding-right: 0; }
  .topbar-social { display: none; }
  :root { --header-h: 74px; }
  .logo { font-size: 23px; }


  .stats { padding: 56px 0; }
  .stat { padding: 0 14px; }
  .stat p { font-size: 15px; }

  .check-list { grid-template-columns: 1fr; }
  .market-cards .m-card:nth-child(even), .js .market-cards .m-card:nth-child(even)[data-anim].is-visible { transform: none; }
  .js .market-cards .m-card:nth-child(even)[data-anim] { transform: translate3d(0, 60px, 0); }
  .market-bridge { align-items: flex-start; }


  /* mobile: just the two top corners, scaled down */
  .industries {
    background:
      url("../images/ind-bg-network.svg") left top / 300px auto no-repeat,
      url("../images/ind-bg-security.svg") right top / 250px auto no-repeat,
      linear-gradient(180deg, var(--white) 0%, var(--light-bg) 100%);
  }
  .industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .industry { flex-direction: row; justify-content: flex-start; min-height: 64px; padding: 10px 12px; gap: 10px; text-align: left; border-radius: 12px; }
  .industry .hex { flex: none; width: 38px; height: 42px; font-size: 15px; }
  .industry h3 { font-size: 13px; line-height: 1.3; }
  .ind-main .center-btn { padding-top: 26px; }
  .ind-main .center-btn .btn { width: 100%; }
  .compliance { padding: 28px 18px; border-radius: 16px; }
  .compliance-head { gap: 14px; margin-bottom: 22px; }
  .compliance-badge { width: 46px; height: 51px; font-size: 18px; }
  .compliance-label { font-size: 12px; letter-spacing: .1em; }
  .compliance-list { gap: 8px; }
  .compliance-list li { gap: 10px; padding: 9px 10px; font-size: 13px; }
  .c-icon { width: 30px; height: 30px; font-size: 14px; border-radius: 7px; }
}

@media (max-width: 399px) {
  .industry { padding: 8px 6px; gap: 7px; }
  .industry .hex { width: 30px; height: 34px; font-size: 12px; }
  .industry h3 { font-size: 11.5px; overflow-wrap: anywhere; }
  .compliance { padding: 24px 14px; }
  .compliance-list li { gap: 8px; padding: 8px; font-size: 12px; }
  .c-icon { width: 26px; height: 26px; font-size: 12px; }
  .cta-wrap { padding: 38px 0; }
  .cta-box { gap: 20px; }
  .cta-box .btn { width: 100%; }
  .back-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}

h2.section-title.is-visible {
    font-weight: 700;
}

section#platforms {
    margin-top: 90px;
}

section#our-services {
    margin-bottom: 100px;
}


/* =========================================================
   PLATFORMS PAGE  (i-lakehouse.html, scoped with .pp-)
   ========================================================= */
.pp-page { --pp-ink: #0b1030; --pp-cyan: #36c2f2; --pp-soft: #eef4fd; }
.pp-page main section[id] { scroll-margin-top: 81px; } /* sticky header height (80px) + its 1px bottom border */
 
/* ---------- banner: exactly 500px on desktop ---------- */
.pp-hero { position: relative; display: flex; align-items: center; height: 500px; overflow: hidden; isolation: isolate; background: #2773cf; color: rgba(255, 255, 255, .82); }
.pp-hero-media { position: absolute; inset: 0; z-index: -3; background: url("../images/platforms-banner.jpg") 70% center / cover no-repeat; transform: scale(1.06); animation: ppZoom 2.4s var(--ease) both; }
.pp-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background:linear-gradient(90deg, rgb(12 17 47) 0%, rgb(28 41 114) 36%, rgb(16 34 94 / 1%) 66%, rgb(16 34 94 / 0%) 100%), radial-gradient(ellipse 45% 70% at 78% 40%, rgba(54, 194, 242, .22), transparent 70%)}

    
.pp-hero::after { content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(rgba(127, 180, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 180, 255, .08) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: linear-gradient(90deg, transparent 5%, #000 55%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 5%, #000 55%, transparent 100%); }
@keyframes ppZoom { from { transform: scale(1.14); opacity: .4; } to { transform: scale(1.06); opacity: 1; } }

.pp-hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pp-orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.pp-orb-1 { width: 380px; height: 380px; right: 8%; top: -150px; background: radial-gradient(closest-side, rgba(54, 194, 242, .28), transparent); animation: ppDrift 9s ease-in-out infinite alternate; }
.pp-orb-2 { width: 300px; height: 300px; left: -100px; bottom: -160px; background: radial-gradient(closest-side, rgba(31, 99, 200, .45), transparent); animation: ppDrift 11s ease-in-out infinite alternate-reverse; }
@keyframes ppDrift { to { transform: translate3d(-30px, 24px, 0); } }
.pp-hero-net { position: absolute; right: 0; top: 0; width: 52%; height: 100%; }
.pp-net-lines path { fill: none; stroke: rgba(127, 200, 255, .32); stroke-width: 1; stroke-dasharray: 4 6; animation: ppDash 6s linear infinite; }
.pp-net-dots circle { fill: var(--pp-cyan); filter: drop-shadow(0 0 6px rgba(54, 194, 242, .9)); animation: ppTwinkle 3s ease-in-out infinite; }
.pp-net-dots circle:nth-child(2n) { animation-delay: -1.5s; }
.pp-net-dots circle:nth-child(3n) { animation-delay: -.8s; }
@keyframes ppDash { to { stroke-dashoffset: -60; } }
@keyframes ppTwinkle { 50% { opacity: .35; } }
.pp-glass { position: absolute; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 18px 40px rgba(5, 10, 38, .35), inset 0 1px 0 rgba(255, 255, 255, .25); color: #fff; font-size: 22px; animation: ppIn .9s var(--ease) both, ppBob 6s ease-in-out infinite alternate; }
.pp-glass i { background: linear-gradient(135deg, #fff, #9fe1ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.pp-glass-1 { right: 30%; top: 22%; animation-delay: .5s, 0s; }
.pp-glass-2 { right: 12%; top: 16%; width: 74px; height: 74px; font-size: 26px; animation-delay: .65s, -2s; }
.pp-glass-3 { right: 20%; bottom: 18%; width: 70px; height: 70px; font-size: 25px; animation-delay: .8s, -4s; }
.pp-glass-4 { right: 5%; bottom: 34%; width: 54px; height: 54px; font-size: 19px; animation-delay: .95s, -1s; }
@keyframes ppBob { to { translate: 0 -12px; } }

.pp-hero-inner { position: relative; }
.pp-hero-copy { max-width: 700px; }
.pp-hero-copy > * { animation: ppIn .9s var(--ease) both; }
.pp-hero-copy > :nth-child(2) { animation-delay: .12s; }
.pp-hero-copy > :nth-child(3) { animation-delay: .24s; }
.pp-hero-copy > :nth-child(4) { animation-delay: .36s; }
@keyframes ppIn { from { opacity: 0; transform: translate3d(0, 28px, 0); } to { opacity: 1; transform: none; } }
.pp-crumbs ol { display: inline-flex; flex-wrap: wrap; align-items: center; margin: 0 0 22px; padding: 7px 16px; border-radius: 50px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; list-style: none; }
.pp-crumbs li { display: flex; align-items: center; }
.pp-crumbs li + li::before { content: "/"; margin: 0 10px; color: rgba(255, 255, 255, .35); }
.pp-crumbs a:hover { color: var(--pp-cyan); }
.pp-crumbs [aria-current] { color: #fff; font-weight: 500; }
.pp-hero-title { font-size: clamp(34px, 3.9vw, 55px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; color: #fff; margin-bottom: 18px; }
.pp-hl { background: linear-gradient(90deg, #36c2f2, #8fd8ff); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--pp-cyan); }
.pp-hero-text { max-width: 600px; font-size: 17px; line-height: 1.7; margin-bottom: 28px;  color:#fff; }
.pp-hero-jump { display: flex; flex-wrap: wrap; gap: 10px; }
.pp-hero-jump a, .pp-hero-jump span { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); font-size: 14px; font-weight: 500; color: #fff; transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.pp-hero-jump i { color: var(--pp-cyan); font-size: 13px; transition: color .35s; }
.pp-hero-jump a:hover { background: #fff; border-color: #fff; color: var(--navy); transform: translateY(-2px); }
.pp-hero-jump a:hover i { color: var(--primary); }

/* ---------- product sections ---------- */
.pp-product { position: relative; padding: 120px 0; overflow: hidden; }
.pp-soft { background: var(--light-bg); }
.pp-soft::before { content: ""; position: absolute; inset: 0; background: url("../images/circuit-dark.svg") right top / 760px auto no-repeat; opacity: .8; pointer-events: none; }
.pp-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 80px; align-items: center; }
.pp-reverse .pp-grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); }
.pp-reverse .pp-media { order: -1; }

.pp-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 18px; }
.pp-index { font-family: var(--font-heading); font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--primary); }
.pp-index i { font-style: normal; font-weight: 500; color: #9aa6bd; }
.pp-badge { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px; background: linear-gradient(90deg, rgba(31, 79, 168, .1), rgba(26, 159, 224, .12)); border: 1px solid rgba(26, 159, 224, .22); font-size: 13px; font-weight: 600; color: var(--primary); line-height: 1.35; }
.pp-badge::before { content: ""; flex-shrink: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(26, 159, 224, .18); }
.pp-title { font-size: clamp(38px, 4vw, 50px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 22px; }
.pp-title-long { font-size: clamp(32px, 3.2vw, 40px); letter-spacing: -.025em; }
.pp-content > p { font-size: 16.5px; line-height: 1.8; margin-bottom: 16px; }
.pp-content > p:first-of-type { color: #4f5a72; }

.pp-caps { margin-top: 30px; padding: 26px 26px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 14px 40px rgba(17, 28, 63, .06); }
.pp-soft .pp-caps { border-color: #e1e8f3; }
.pp-caps-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.pp-caps-title::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pp-cap-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.pp-cap-list li { display: flex; align-items: center; gap: 12px; padding: 7px 10px 7px 7px; border-radius: 12px; font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--heading); transition: background .35s var(--ease), transform .35s var(--ease); }
.pp-cap-list i { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--light-bg); color: var(--primary); font-size: 14px; transition: background .35s, color .35s; }
.pp-cap-list li:hover { background: var(--pp-soft); transform: translateX(4px); }
.pp-cap-list li:hover i { background: var(--grad-soft); color: #fff; }

.pp-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 24px; margin-top: 28px; }
.pp-deploy { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #6b7384; }
.pp-deploy i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--accent); box-shadow: var(--shadow); font-size: 16px; }
.pp-deploy b { color: var(--navy); font-weight: 600; }

/* image */
.pp-media { position: relative; padding: 0 0 34px 34px; }
.pp-reverse .pp-media { padding: 0 34px 34px 0; }
.pp-media::before { content: ""; position: absolute; left: 0; bottom: 0; width: 72%; height: 72%; border-radius: 28px; background: var(--grad); }
.pp-reverse .pp-media::before { left: auto; right: 0; }
.pp-media::after { content: ""; position: absolute; right: -18px; top: -22px; width: 130px; height: 130px; background-image: radial-gradient(rgba(31, 79, 168, .28) 1.6px, transparent 1.6px); background-size: 14px 14px; }
.pp-reverse .pp-media::after { right: auto; left: -18px; }
.pp-frame { position: relative; z-index: 1; margin: 0; aspect-ratio: 960 / 1100; max-height: 660px; width: 100%; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); }
.pp-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 19, 51, 0) 60%, rgba(13, 19, 51, .5) 100%); pointer-events: none; }
.pp-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pp-media:hover .pp-frame img { transform: scale(1.05); }
.pp-media-tag { position: absolute; z-index: 2; left: 58px; bottom: 58px; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 50px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 14px 30px rgba(13, 19, 51, .25); font-size: 14px; font-weight: 600; color: var(--navy); }
.pp-reverse .pp-media-tag { left: 24px; }
.pp-media-tag i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-soft); color: #fff; font-size: 13px; }

/* compliance support */
.pp-compliance { position: relative; display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 30px 40px; align-items: center; margin-top: 80px; padding: 44px 48px; border-radius: 26px; background: linear-gradient(135deg, #1b2a66 0%, #16224f 55%, #0f1a45 100%); color: #fff; overflow: hidden; isolation: isolate; box-shadow: 0 30px 60px rgba(17, 28, 63, .2); }
.pp-compliance::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/circuit-light.svg") right center / 760px auto no-repeat; opacity: .7; }
.pp-compliance::after { content: ""; position: absolute; z-index: -1; width: 360px; height: 360px; left: -120px; top: -180px; border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 194, 242, .25), transparent); }
.pp-comp-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.pp-comp-icon { display: grid; place-items: center; width: 52px; height: 58px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--grad-soft); font-size: 20px; }
.pp-comp-head h3 { font-size: 28px; font-weight: 600; color: #fff; }
.pp-comp-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pp-comp-list li { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; font-weight: 500; line-height: 1.35; transition: background .35s var(--ease), border-color .35s, transform .35s var(--ease); }
.pp-comp-list i { flex-shrink: 0; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(54, 194, 242, .14); color: var(--pp-cyan); font-size: 14px; transition: background .35s, color .35s; }
.pp-comp-list li:hover { background: rgba(255, 255, 255, .12); border-color: rgba(54, 194, 242, .5); transform: translateY(-3px); }
.pp-comp-list li:hover i { background: var(--pp-cyan); color: var(--navy); }
.pp-comp-list li.is-featured { background: linear-gradient(135deg, rgba(54, 194, 242, .28), rgba(31, 99, 200, .3)); border-color: rgba(54, 194, 242, .5); }

/* CTA keeps the shared band; only the spacing is adjusted */
.pp-cta { padding: 70px 0; }
.pp-cta .cta-content h2 { font-weight: 600; letter-spacing: -.01em; }

/* ---------- platforms page: responsive ---------- */
@media (max-width: 1199px) {
  .pp-grid, .pp-reverse .pp-grid { gap: 50px; }
  .pp-product { padding: 100px 0; }
  .pp-glass-1 { right: 34%; }
  .pp-compliance { grid-template-columns: 1fr; }
  .pp-comp-head { flex-direction: row; align-items: center; }
  .pp-comp-head h3 { font-size: 24px; }
}
@media (max-width: 991px) {
  .pp-hero { height: auto; min-height: 460px; padding: 70px 0; }
  .pp-hero::before { background: linear-gradient(180deg, rgba(11, 16, 48, .9) 0%, rgba(13, 24, 70, .82) 60%, rgba(16, 34, 94, .6) 100%); }
  .pp-hero-net { width: 100%; opacity: .5; }
  .pp-glass-1, .pp-glass-4 { display: none; }
  .pp-glass-2 { right: 6%; top: 10%; width: 58px; height: 58px; font-size: 20px; }
  .pp-glass-3 { right: 10%; bottom: 10%; width: 54px; height: 54px; font-size: 19px; }
  .pp-grid, .pp-reverse .pp-grid { grid-template-columns: 1fr; }
  .pp-media, .pp-reverse .pp-media { order: 2; max-width: 560px; width: 100%; margin: 0 auto; }
  .pp-product { padding: 80px 0; }
  .pp-compliance { margin-top: 60px; }
  .pp-cta { padding: 56px 0; }
}
@media (max-width: 767px) {
  .pp-hero { min-height: 0; padding: 56px 0 60px; }
  .pp-hero-text { font-size: 16px; }
  .pp-glass { display: none; }
  .pp-content > p { font-size: 15.5px; }
  .pp-caps { padding: 22px 18px 18px; }
  .pp-cap-list { grid-template-columns: 1fr; gap: 4px; }
  .pp-compliance { padding: 32px 22px; }
  .pp-comp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pp-comp-list li.is-featured { grid-column: 1 / -1; }
  .pp-media { padding: 0 0 22px 22px; }
  .pp-reverse .pp-media { padding: 0 22px 22px 0; }
  .pp-media::after { width: 90px; height: 90px; top: -12px; right: -8px; }
  .pp-reverse .pp-media::after { left: -8px; }
  .pp-media-tag { left: 40px; bottom: 40px; }
  .pp-reverse .pp-media-tag { left: 16px; }
}
@media (max-width: 575px) {
  .pp-hero-title { font-size: clamp(30px, 8.6vw, 38px); }
  .pp-hero-jump { gap: 8px; }
  .pp-hero-jump a { font-size: 13px; padding: 8px 13px; }
  .pp-product { padding: 64px 0; }
  .pp-title { font-size: clamp(34px, 10vw, 42px); }
  .pp-title-long { font-size: clamp(28px, 8vw, 34px); }
  .pp-actions { flex-direction: column; align-items: stretch; }
  .pp-actions .btn { width: 100%; }
  .pp-comp-list li { padding: 10px; gap: 10px; font-size: 13.5px; }
  .pp-comp-list i { width: 30px; height: 30px; font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-page *, .pp-page *::before, .pp-page *::after { animation: none !important; }
  .pp-hero-media { transform: none; }
}


/* =========================================================
   SERVICES INNER PAGES  (built on the .pp- platforms page; scoped with .sv-)
   ========================================================= */
.sv-title { margin-bottom: 22px; }
.sv-overview .pp-content > p { font-size: 16.5px; line-height: 1.8; }
.sv-checks { display: grid; gap: 12px; margin-top: 26px; padding: 22px 24px; border-radius: 18px; background: var(--light-bg); border: 1px solid var(--border); }
.sv-checks li { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; color: var(--heading); line-height: 1.55; }
.sv-checks i { flex-shrink: 0; margin-top: 4px; color: var(--accent); }

/* landscape service photos (650 x 471) */
.pp-frame.sv-frame { aspect-ratio: 650 / 471; max-height: none; }
.sv-ico { position: absolute; z-index: 2; top: -18px; right: 14px; display: grid; place-items: center; width: 92px; height: 92px; border-radius: 24px; background: #fff; box-shadow: 0 20px 40px rgba(17, 28, 63, .16); animation: svFloat 6s ease-in-out infinite alternate;  display: none}
.pp-reverse .sv-ico { right: auto; left: 14px; }
.sv-ico img { width: 54px; height: 54px; }
@keyframes svFloat { to { translate: 0 -10px; } }

/* dark sections with the reference background photo under a navy wash */
.sv-dark { position: relative; padding: 100px 0; overflow: hidden; isolation: isolate; background: var(--pp-ink); color: rgba(255, 255, 255, .74); }
.sv-dark-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; }
.sv-dark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11 16 48 / 56%) 0%, rgba(13, 24, 70, .7) 100%), radial-gradient(ellipse 60% 60% at 50% 0%, rgba(31, 99, 200, .35), transparent 70%); }
.sv-dark .section-title { color: #fff; }

.sv-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }

.sv-card {  flex: 0 1 calc((100% - 48px) / 4); padding: 25px 25px; border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .4s var(--ease), border-color .4s, translate .4s var(--ease), box-shadow .4s;   }



.sv-card:hover { background: rgba(255, 255, 255, .1); border-color: rgba(54, 194, 242, .5); translate: 0 -6px; box-shadow: 0 24px 50px rgba(5, 10, 38, .35); transition: all 0.3s ease-in-out;

}
.sv-card-ic { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 22px; border-radius: 16px; background: var(--grad-soft); color: #fff; font-size: 22px; box-shadow: 0 12px 26px rgba(26, 159, 224, .3); transition: transform .5s var(--ease); }
.sv-card:hover .sv-card-ic { transform: rotate(-6deg) scale(1.06); }
.sv-card h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 10px; line-height: 1.35; }
.sv-card p { margin: 0; font-size: 14px; line-height: 1.4; }

/* approach: four steps on a connecting line */
.sv-steps { --node: 74px; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.sv-steps::before { content: ""; position: absolute; top: calc(var(--node) / 2); left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(26, 159, 224, .15), var(--accent), rgba(26, 159, 224, .15)); }
.sv-step { position: relative; text-align: center; padding: 0 10px; }
.sv-step-num { position: relative; display: grid; place-items: center; width: var(--node); height: var(--node); margin: 0 auto 24px; border-radius: 50%; background: #fff; border: 2px solid #d9e6f8; box-shadow: 0 0 0 8px #fff, var(--shadow); font-family: var(--font-heading); font-size: 24px; font-weight: 700; color: var(--primary); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.sv-step:hover .sv-step-num { background: var(--grad-soft); border-color: transparent; color: #fff; transform: translateY(-4px); }
.sv-step h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sv-step p { margin: 0; font-size: 15px; line-height: 1.7; }

/* why intbrains */
.sv-why-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 70px; align-items: center; }
.sv-why-copy .section-title { margin-bottom: 20px; }
.sv-why-copy p { margin-bottom: 30px; font-size: 16.5px; line-height: 1.8; }
.sv-why-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.sv-why-list li { display: flex; gap: 16px; padding: 24px 22px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); transition: background .4s var(--ease), border-color .4s; }
.sv-why-list li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(54, 194, 242, .5); }
.sv-why-ic { flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(54, 194, 242, .14); color: var(--pp-cyan); font-size: 18px; transition: background .4s, color .4s; }
.sv-why-list li:hover .sv-why-ic { background: var(--pp-cyan); color: var(--navy); }
.sv-why-list h3 { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 6px; line-height: 1.35; }
.sv-why-list p { margin: 0; font-size: 14.5px; line-height: 1.65; }

/* related services */
.sv-related { background: var(--light-bg); }
.sv-rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.sv-rel-grid li { display: flex; }
.sv-rel-card { position: relative; display: flex; flex-direction: column; width: 100%; padding: 34px 30px 30px; border-radius: 20px; background: #fff; border: 1px solid var(--border); overflow: hidden; transition: box-shadow .4s var(--ease), translate .4s var(--ease), border-color .4s; }
.sv-rel-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 3px; background: var(--grad-soft); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.sv-rel-card:hover { box-shadow: var(--shadow-lg); translate: 0 -6px; border-color: transparent; }
.sv-rel-card:hover::after { transform: scaleX(1); transform-origin: left; }
.sv-rel-ic { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 20px; border-radius: 14px; background: var(--light-bg); color: var(--primary); font-size: 21px; transition: background .4s, color .4s; }
.sv-rel-card:hover .sv-rel-ic { background: var(--grad-soft); color: #fff; }
.sv-rel-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.sv-rel-card p { margin: 0 0 22px; font-size: 15px; line-height: 1.7; }
.sv-rel-more { margin-top: auto; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); font-size: 14px; color: var(--primary); transition: background .4s, color .4s, border-color .4s; }
.sv-rel-more i { transition: transform .4s var(--ease); }
.sv-rel-card:hover .sv-rel-more { background: var(--primary); border-color: var(--primary); color: #fff; }
.sv-rel-card:hover .sv-rel-more i { transform: translateX(2px); }

/* all services: featured block + category rows */
.sv-featured-sec { padding: 100px 0 0; }
.sv-featured { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px 60px; align-items: center; padding: 54px 56px; border-radius: 26px; background: linear-gradient(135deg, #1b2a66 0%, #16224f 55%, #0f1a45 100%); color: rgba(255, 255, 255, .8); overflow: hidden; isolation: isolate; box-shadow: 0 30px 60px rgba(17, 28, 63, .2); }
.sv-featured::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/circuit-light.svg") right center / 760px auto no-repeat; opacity: .7; }
.sv-featured::after { content: ""; position: absolute; z-index: -1; width: 380px; height: 380px; left: -140px; top: -190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(54, 194, 242, .25), transparent); }
.sv-feat-badge { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 50px; background: rgba(255, 255, 255, .12); color: #7fd0f5; font-size: 13px; font-weight: 600; }
.sv-featured h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 600; color: #fff; letter-spacing: -.02em; margin-bottom: 14px; }
.sv-featured p { margin: 0; font-size: 16px; line-height: 1.75; }
.sv-feat-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sv-feat-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: 14.5px; font-weight: 500; color: #fff; line-height: 1.35; }
.sv-feat-list i { flex-shrink: 0; color: var(--pp-cyan); }
.sv-cat { padding: 90px 0; }
.sv-cat-title a { transition: color .3s; }
.sv-cat-title a:hover { color: var(--primary); }
.sv-cat .pp-caps { margin-top: 6px; }

/* ---------- services pages: responsive ---------- */
@media (max-width: 1199px) {
  .sv-dark { padding: 100px 0; }
  .sv-why-grid { gap: 44px; }
  .sv-card { padding: 28px 24px; }
  .sv-featured { padding: 44px 40px; gap: 30px 40px; }
}
@media (max-width: 991px) {
  .sv-dark { padding: 80px 0; }
  .sv-card { flex-basis: calc((100% - 24px) / 2); }
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .sv-steps::before { display: none; }
  .sv-why-grid { grid-template-columns: 1fr; }
  .sv-rel-grid { grid-template-columns: 1fr 1fr; }
  .sv-rel-grid li:last-child { grid-column: 1 / -1; }
  .sv-featured { grid-template-columns: 1fr; }
  .sv-featured-sec { padding-top: 80px; }
  .sv-cat { padding: 70px 0; }
}
@media (max-width: 767px) {
  .sv-card { flex-basis: 100%; }
  .sv-steps { grid-template-columns: 1fr; row-gap: 34px; }
  .sv-why-list { grid-template-columns: 1fr; }
  .sv-rel-grid { grid-template-columns: 1fr; }
  .sv-rel-grid li:last-child { grid-column: auto; }
  .sv-ico { width: 72px; height: 72px; border-radius: 20px; top: -14px; }
  .sv-ico img { width: 42px; height: 42px; }
  .sv-featured { padding: 34px 24px; }
  .sv-feat-list { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
  .sv-dark { padding: 64px 0; }
  .sv-checks { padding: 18px; }
  .pp-crumbs ol { border-radius: 16px; }
  .sv-cat { padding: 60px 0; }
  .sv-featured-sec { padding-top: 60px; }
}


/* =========================================================
   CONTACT PAGE  (built on the .pp- / .sv- inner pages; scoped with .ct-)
   ========================================================= */
.ct-section { position: relative; overflow: hidden; }
.ct-section > .container { position: relative; }

/* contact detail cards (reuse .sv-rel-card) */
.ct-info .sv-rel-card p { margin: 0 0 4px; }
.ct-info .sv-rel-card a { color: var(--heading); font-weight: 500; transition: color .3s; }
.ct-info .sv-rel-card a:hover { color: var(--primary); }
.ct-info address { margin: 0; font-style: normal; }
.ct-info .ct-meta { margin-top: 10px; font-size: 13.5px; color: #8a93a6; }

.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 70px; }

/* form card */
.ct-form-card { position: relative; padding: 46px 46px 40px; border-radius: 26px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; }
.ct-form-card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--grad-soft); }
.ct-form-card::after { content: ""; position: absolute; right: -90px; top: -90px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(26, 159, 224, .12), transparent); pointer-events: none; }
.ct-form-title { position: relative; font-size: clamp(26px, 2.4vw, 34px); font-weight: 600; letter-spacing: -.02em; margin-bottom: 30px; }

.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ct-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ct-field-full { grid-column: 1 / -1; }
.ct-field label { font-size: 13.5px; font-weight: 600; color: var(--heading); }
.ct-field label .ct-req { color: var(--accent); }
.ct-field label .ct-opt { font-weight: 400; color: #9aa3b5; }

.ct-control { position: relative; }
.ct-control > i { position: absolute; left: 17px; top: 50%; transform: translateY(-50%); font-size: 15px; color: #9aa6bd; pointer-events: none; transition: color .3s; }
.ct-control-area > i { top: 19px; transform: none; }
.ct-control .ct-caret { left: auto; right: 18px; font-size: 12px; }
.ct-control input,
.ct-control select,
.ct-control textarea { width: 100%; height: 54px; padding: 0 18px 0 46px; border: 1.5px solid var(--border); border-radius: 14px; background: var(--light-bg); color: var(--heading); font-size: 15px; transition: border-color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease); }
.ct-control select { padding-right: 44px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.ct-control textarea { height: auto; min-height: 150px; padding-top: 15px; padding-bottom: 15px; line-height: 1.6; resize: vertical; }
.ct-control ::placeholder { color: #a3acbd; opacity: 1; }
.ct-control input:hover,
.ct-control select:hover,
.ct-control textarea:hover { border-color: #cfd8e8; }
.ct-control input:focus,
.ct-control select:focus,
.ct-control textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(26, 159, 224, .14); }
.ct-control:focus-within > i { color: var(--accent); }

/* validation */
.ct-field.is-invalid .ct-control input,
.ct-field.is-invalid .ct-control textarea { border-color: #e5484d; background: #fff8f8; }
.ct-field.is-invalid .ct-control input:focus,
.ct-field.is-invalid .ct-control textarea:focus { box-shadow: 0 0 0 4px rgba(229, 72, 77, .14); }
.ct-field.is-invalid .ct-control > i { color: #e5484d; }
.ct-error { display: flex; align-items: flex-start; gap: 7px; font-size: 13px; line-height: 1.45; color: #d93036; }
.ct-error i { margin-top: 3px; }
.ct-error[hidden] { display: none; }

/* honeypot: hidden from people, visible to bots */
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* reCAPTCHA (fixed 304 x 78 widget; space reserved to avoid layout shift) */
.ct-captcha { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 24px; }
.ct-captcha .ct-label { font-size: 13.5px; font-weight: 600; color: var(--heading); }
.ct-captcha-box { padding: 10px; border-radius: 14px; background: var(--light-bg); border: 1.5px solid var(--border); transition: border-color .3s var(--ease), background-color .3s var(--ease); }
.ct-recaptcha { width: 304px; height: 78px; }
.ct-captcha.is-invalid .ct-captcha-box { border-color: #e5484d; background: #fff8f8; }

.ct-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 30px; }
.ct-note { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.6; color: #8a93a6; }
.ct-submit { flex-shrink: 0; }
.ct-submit:disabled { cursor: progress; opacity: .85; }
.ct-spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; border-radius: 50%; animation: ctSpin .7s linear infinite; }
.ct-submit.is-loading .ct-spinner { display: inline-block; }
.ct-submit.is-loading .fa-paper-plane { display: none; }
@keyframes ctSpin { to { transform: rotate(360deg); } }

.ct-status { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; padding: 15px 18px; border-radius: 14px; border: 1px solid transparent; font-size: 14.5px; line-height: 1.6; }
.ct-status[hidden] { display: none; }
.ct-status i { margin-top: 4px; }
.ct-status a { font-weight: 600; text-decoration: underline; }
.ct-status.is-success { background: #ecfbf3; border-color: #b7ebcd; color: #146c43; }
.ct-status.is-error { background: #fff1f1; border-color: #f6c4c6; color: #b42318; }

/* aside: global delivery */
.ct-aside { position: sticky; top: 110px; }
.ct-global { border-radius: 24px; overflow: hidden; background: linear-gradient(135deg, #1b2a66 0%, #16224f 55%, #0f1a45 100%); color: rgba(255, 255, 255, .78); box-shadow: 0 30px 60px rgba(17, 28, 63, .2); }
.ct-global-media { position: relative; margin: 0; aspect-ratio: 261 / 313; }
.ct-global-media img { width: 100%; height: 100%; object-fit: cover; }
.ct-global-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 26, 69, 0) 55%, rgba(15, 26, 69, .95) 100%); }
.ct-global-body { position: relative; margin-top: -54px; padding: 0 28px 30px; }
.ct-global-ic { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 16px; border-radius: 14px; background: var(--grad-soft); color: #fff; font-size: 20px; box-shadow: 0 12px 26px rgba(26, 159, 224, .35); }
.ct-global h3 { font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 10px; }
.ct-global p { margin: 0; font-size: 15px; line-height: 1.75; }

@media (max-width: 1199px) {
  .ct-grid { gap: 36px; grid-template-columns: minmax(0, 1fr) 310px; }
  .ct-form-card { padding: 40px 34px 34px; }
}
@media (max-width: 991px) {
  .ct-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .ct-aside { position: static; }
  .ct-global { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; }
  .ct-global-media::after { display: none; }
  .ct-global-body { margin-top: 0; padding: 30px; }
}
@media (max-width: 767px) {
  .ct-fields { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 575px) {
  .ct-grid { margin-top: 44px; }
  .ct-form-card { padding: 32px 20px 26px; border-radius: 20px; }
  .ct-control input,
  .ct-control select,
  .ct-control textarea { font-size: 16px; }   /* avoids iOS zoom on focus */
  .ct-actions { flex-direction: column; align-items: stretch; }
  .ct-note { flex: none; }
  .ct-submit { width: 100%; }
  .ct-global { display: block; }
  .ct-global-body { padding: 26px 22px 26px; }
}
@media (max-width: 400px) {
  .ct-captcha-box { padding: 8px; }
  .ct-recaptcha { width: 262px; height: 67px; }
  .ct-recaptcha > div { transform: scale(.86); transform-origin: 0 0; }
}
