/* ==========================================================================
   WONHOST — Corporate website styles
   Light, colorful premium theme. No frameworks.
   Sections: 1 Tokens · 2 Base · 3 Layout & utilities · 4 Buttons · 5 Header
   6 Hero · 7 Services · 8 Solutions · 9 Industries · 10 Process
   11 Team builder · 12 Global · 13 CTA · 14 Footer · 15 Modals & toasts
   16 Motion · 17 Responsive
   ========================================================================== */

/* 1 ─ Tokens ─────────────────────────────────────────────────────────────── */
:root {
  --navy: #0b1b3f;
  --ink: #16264f;
  --text: #4a5876;
  --muted: #6b7895;
  --line: #e3eaf6;
  --line-2: #d6e0f1;

  --bg: #ffffff;
  --surface: #ffffff;   /* cards, inputs, dialogs */
  --heading: #0b1b3f;   /* heading and strong text (--navy stays the dark brand colour) */
  --link: #1a5cf0;      /* blue text: links, labels, breadcrumbs */
  --bg-soft: #f5f9ff;
  --bg-tint: #edf4ff;

  --blue: #1a5cf0;
  --blue-2: #2f7bff;
  --blue-dark: #0a2a88;
  --teal: #12b3a5;
  --teal-2: #1ccab8;
  --cyan: #22c3e6;
  --purple: #7c3aed;
  --pink: #ec4899;
  --orange: #f97316;
  --green: #22c55e;

  --grad-nav: linear-gradient(100deg, #0a2470 0%, #123fb4 38%, #1b63dc 70%, #2a8be6 100%);
  --grad-teal: linear-gradient(100deg, #14bfa9 0%, #13a8c4 100%);
  --grad-head-1: linear-gradient(95deg, #13c2a3 0%, #12a9c7 100%);
  --grad-head-2: linear-gradient(95deg, #1f6bff 0%, #4f46e5 55%, #8b5cf6 100%);
  --grad-dark: linear-gradient(130deg, #0a1b47 0%, #0c3260 55%, #0d5a6b 100%);

  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-logo: "Barlow", "Arial Narrow", Arial, sans-serif;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --r-xl: 32px;

  --sh-sm: 0 2px 6px rgba(20, 45, 110, 0.05), 0 8px 24px -10px rgba(20, 45, 110, 0.14);
  --sh: 0 4px 12px rgba(20, 45, 110, 0.05), 0 22px 48px -22px rgba(20, 45, 110, 0.25);
  --sh-lg: 0 10px 30px rgba(20, 45, 110, 0.08), 0 40px 80px -30px rgba(20, 45, 110, 0.32);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  --container: 1280px;
}

/* 2 ─ Base ───────────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll {
  overflow: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
}
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
img {
  height: auto;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}
ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
:focus-visible {
  outline: 3px solid rgba(26, 92, 240, 0.55);
  outline-offset: 3px;
  border-radius: 10px;
}
::selection {
  background: rgba(18, 179, 165, 0.25);
}
[hidden] {
  display: none !important;
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--navy);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

/* 3 ─ Layout & utilities ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: 96px;
  position: relative;
}
.section--tint {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%);
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--link);
}
.eyebrow--teal {
  color: var(--teal);
}
.eyebrow--light {
  color: #7fe3d8;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 800;
  margin-top: 10px;
}
.section-head p {
  margin-top: 12px;
  max-width: 620px;
  font-size: 1.05rem;
}
.section-head--center {
  justify-content: center;
  text-align: center;
}
.section-head--center p {
  margin-inline: auto;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--link);
  transition: gap 0.3s var(--ease);
}
.link-arrow svg {
  width: 18px;
  height: 18px;
}
.link-arrow:hover {
  gap: 12px;
}
.grad-1 {
  background: var(--grad-head-1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-2 {
  background: var(--grad-head-2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.icon-3d {
  width: 56px;
  height: 56px;
  filter: drop-shadow(0 8px 10px rgba(30, 60, 150, 0.22));
  transition: transform 0.5s var(--ease);
}
.checklist {
  display: grid;
  gap: 12px;
}
.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--ink);
}
.checklist .tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 4px 10px -3px rgba(18, 179, 165, 0.6);
}
.checklist .tick svg {
  width: 13px;
  height: 13px;
}
.checklist--blue .tick {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 4px 10px -3px rgba(29, 78, 216, 0.6);
}
.checklist--light li {
  color: #e7efff;
}
.badge-sample {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #9a3412;
  background: #fff4e6;
  border: 1px solid #fed7aa;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge-sample svg {
  width: 14px;
  height: 14px;
}

/* 4 ─ Buttons ────────────────────────────────────────────────────────────── */
.btn {
  --btn-h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--btn-h);
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s,
    border-color 0.3s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}
.btn:hover svg.ar {
  transform: translateX(4px);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}
.btn--sm {
  --btn-h: 42px;
  padding: 0 18px;
  font-size: 0.88rem;
}
.btn--teal {
  background: var(--grad-teal);
  color: #fff;
  box-shadow: 0 10px 24px -10px rgba(18, 179, 165, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--teal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.8s var(--ease);
}
.btn--teal:hover::after {
  transform: translateX(100%);
}
.btn--teal:hover {
  box-shadow: 0 16px 34px -12px rgba(18, 179, 165, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.btn--white {
  background: var(--surface);
  color: var(--heading);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
}
.btn--white:hover {
  border-color: #b9cbec;
  box-shadow: var(--sh);
}
.btn--white svg:not(.ar) {
  color: var(--link);
}
.btn--navy {
  background: linear-gradient(135deg, #142a63, #0b1b3f);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(11, 27, 63, 0.7);
}
.btn--blue {
  background: linear-gradient(135deg, #2b6cf6, #1442b8);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(26, 92, 240, 0.7);
}
.btn--outline-light {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}
.btn--ghost {
  color: var(--link);
  padding: 0 14px;
}
.btn[disabled] {
  opacity: 0.5;
  pointer-events: none;
}

/* 5 ─ Header & navigation ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--grad-nav);
  color: #fff;
  transition: box-shadow 0.4s var(--ease);
}
.site-header::before {
  /* soft light sweep across the bar */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 120px at 78% -40%, rgba(120, 220, 255, 0.35), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 60%);
  pointer-events: none;
}
.site-header.is-scrolled {
  box-shadow: 0 12px 30px -14px rgba(10, 36, 112, 0.6);
}
.nav {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.logo-img {
  height: 34px;
  width: auto;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: background-color 0.25s, color 0.25s;
  position: relative;
}
.nav-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.nav-link:hover,
.nav-item.is-open > .nav-link {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.nav-item.is-open > .nav-link svg {
  transform: rotate(180deg);
}
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 18px;
  height: 3px;
  margin-left: -9px;
  border-radius: 3px;
  background: #5ef0dd;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.3s var(--ease), background-color 0.3s, box-shadow 0.3s;
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.icon-btn--white {
  background: var(--surface);
  color: var(--heading);
  box-shadow: 0 6px 16px -6px rgba(0, 0, 0, 0.3);
}
.icon-btn--white:hover {
  transform: scale(1.06);
}
.icon-btn--glass {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.nav-toggle {
  display: none;
}

/* Dropdowns & mega menu */
.nav-item {
  position: relative;
}
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  translate: -50% 0;
  min-width: 280px;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: 10px;
  color: var(--text);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transform-origin: top center;
  transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0s linear 0.35s;
  z-index: 110;
}
.dropdown::before {
  /* hover bridge */
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nav-item.is-open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.mega {
  width: min(980px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 1fr 280px;
  padding: 0;
  overflow: hidden;
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 14px;
}
.menu-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px;
  border-radius: 14px;
  transition: background-color 0.25s;
}
.menu-link:hover,
.menu-link:focus-visible {
  background: var(--bg-tint);
}
.menu-link .icon-3d {
  width: 40px;
  height: 40px;
  flex: none;
}
.menu-link:hover .icon-3d {
  transform: translateY(-2px) rotate(-4deg);
}
.menu-link strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
  font-size: 0.95rem;
  font-weight: 700;
}
.menu-link span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
  margin-top: 2px;
}
.mega-aside {
  background: linear-gradient(160deg, #eef5ff 0%, #f6efff 100%);
  border-left: 1px solid var(--line);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.mega-aside h3 {
  font-size: 1.25rem;
  font-weight: 800;
}
.mega-aside p {
  font-size: 0.9rem;
  margin-top: 8px;
}
.dropdown-list .menu-link {
  align-items: center;
  padding: 10px 12px;
}
.dropdown-list .icon-3d {
  width: 32px;
  height: 32px;
}
.dropdown--cols {
  width: 520px;
}
.dropdown--cols .dropdown-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 150;
  visibility: hidden;
}
.drawer.is-open {
  visibility: visible;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 27, 63, 0.45);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.drawer.is-open .drawer-backdrop {
  opacity: 1;
}
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease);
  box-shadow: var(--sh-lg);
}
.drawer.is-open .drawer-panel {
  transform: none;
}
.drawer-head {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--grad-nav);
}
.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}
.drawer-body > ul > li > a,
.drawer-body .acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 54px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--heading);
  border-bottom: 1px solid var(--line);
}
.acc-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s var(--ease);
}
.acc-btn[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.acc-panel > div {
  overflow: hidden;
}
.acc-panel.is-open {
  grid-template-rows: 1fr;
}
.acc-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 4px 6px;
  font-size: 0.95rem;
  color: var(--text);
}
.acc-panel .icon-3d {
  width: 28px;
  height: 28px;
}
.drawer-foot {
  padding: 16px 20px 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

/* 6 ─ Hero ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 80%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite;
}
.blob--teal {
  width: 420px;
  height: 420px;
  background: #b9f5ec;
  left: -120px;
  top: 40px;
}
.blob--purple {
  width: 520px;
  height: 520px;
  background: #e1d5ff;
  right: -140px;
  top: -120px;
  animation-delay: -6s;
}
.blob--pink {
  width: 360px;
  height: 360px;
  background: #ffd9ec;
  right: 18%;
  bottom: -160px;
  animation-delay: -11s;
}
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(26, 92, 240, 0.12) 1px, transparent 1.4px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 30% 40%, #000 20%, transparent 75%);
}
.avatars {
  display: flex;
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  color: #fff;
  overflow: hidden;
}
.avatar:first-child {
  margin-left: 0;
}
.avatar svg {
  width: 100%;
  height: 100%;
}
.avatar--count {
  background: var(--navy);
}

/* Stage: the photo fills the right side, full height of the hero, and fades
   into the page under the headline. No frame. */
.hero-stage {
  position: relative;
  /* where the text column starts, and where the photo begins (just after the copy) */
  --copy-x: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  --media-x: calc(var(--copy-x) + 450px);
  /* height follows the photo's own proportions so nothing important is cropped */
  --stage-h: clamp(560px, calc((100vw - var(--media-x)) * 0.5628), 720px);
  min-height: var(--stage-h);
}
.hero-media {
  position: absolute;
  top: 0;
  right: 0;
  left: var(--media-x);
  height: var(--stage-h);
  pointer-events: none;
  animation: fadeIn 1.4s var(--ease) both;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 7%, #000 14%), linear-gradient(180deg, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 7%, #000 14%), linear-gradient(180deg, #000 84%, transparent 100%);
  mask-composite: intersect;
}
.hero-grid {
  position: relative;
  z-index: 2;
  min-height: var(--stage-h);
  display: flex;
  align-items: center;
  padding-block: 48px;
}
.hero-copy {
  max-width: 460px;
}
.hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 2.4vw, 4.1rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
}
.hero h1 .line > span {
  display: inline-block;
}
.hero-lead {
  margin-top: 22px;
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--ink);
  max-width: 440px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.hero-team-card {
  position: absolute;
  right: max(24px, calc((100% - var(--container)) / 2 + 24px));
  bottom: -14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 22px 12px 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: var(--sh-lg);
  animation: fadeUp 1s var(--ease) 0.7s both;
}
.hero-team-card strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
  font-size: 0.95rem;
}
.hero-team-card > div > span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Hero video mode — turned on by JS (class .hero--video) once the video can play */
.hero-video-wrap {
  display: none;
}
.hero--video .hero-video-wrap {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 80%, transparent 100%);
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px);
  transform: scale(1.04); /* hides the soft blurred edge */
}
.hero--video .hero-video-wrap::after {
  /* translucent white-to-light-blue wash so the dark heading stays readable */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 50% 50%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.45) 70%),
    linear-gradient(180deg, rgba(243, 248, 255, 0.35) 0%, rgba(232, 244, 255, 0.55) 100%);
}
.hero--video .hero-stage {
  min-height: clamp(560px, 82vh, 820px);
}
.hero--video .hero-media,
.hero--video .hero-team-card {
  display: none;
}
.hero--video .hero-grid {
  min-height: clamp(560px, 82vh, 820px);
  justify-content: center;
  text-align: center;
}
.hero--video .hero-copy {
  max-width: 760px;
  margin-inline: auto;
}
.hero--video .hero-lead {
  margin-inline: auto;
  max-width: 600px;
}
.hero--video .hero-ctas {
  justify-content: center;
}
.hero--video .capabilities {
  margin-top: -64px;
}

/* Capability strip */
.capabilities {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cap {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  backdrop-filter: blur(10px);
}
.cap .icon-3d {
  width: 44px;
  height: 44px;
  flex: none;
}
.cap strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
  font-size: 1.05rem;
  line-height: 1.2;
}
.cap strong span {
  font: inherit;
  color: inherit;
}
.cap > div > span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* 7 ─ Services ───────────────────────────────────────────────────────────── */
/* Category filter */
.svc-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: -8px 0 36px;
}
.svc-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 8px 0 20px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(20, 45, 110, 0.04);
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease),
    box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}
.svc-tab:hover {
  transform: translateY(-1px);
  border-color: #c3d3ef;
  box-shadow: 0 8px 18px -12px rgba(20, 45, 110, 0.35);
}
.svc-count {
  min-width: 30px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  transition: inherit;
}
.svc-tab[aria-pressed="true"] {
  background: linear-gradient(180deg, #effcfb 0%, #eaf3ff 100%);
  border-color: rgba(26, 92, 240, 0.35);
  color: var(--link);
  box-shadow: 0 10px 22px -14px rgba(26, 92, 240, 0.55);
}
.svc-tab[aria-pressed="true"] .svc-count {
  background: var(--grad-teal);
  border-color: transparent;
  color: #fff;
}

/* Services: continuous right-to-left loop */
.svc-marquee {
  position: relative;
  overflow: hidden;
  margin-inline: calc(50% - 50vw);
  margin-top: 8px;
  padding: 8px 0 24px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  transition: opacity 0.16s ease, transform 0.3s var(--ease);
}
.svc-marquee.is-switching {
  opacity: 0;
  transform: translateY(8px);
}
.svc-track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 9px;
  animation: svcLoop 60s linear infinite;
}
.svc-track .svc-card {
  flex: none;
  width: 236px;
}
.svc-marquee:hover .svc-track,
.svc-marquee.is-paused .svc-track {
  animation-play-state: paused;
}
/* Photo service cards */
.svc-card--photo {
  padding: 10px 10px 16px;
}
.svc-card--photo h3,
.svc-card--photo p {
  padding-inline: 8px;
}
.svc-card--photo h3 {
  margin-top: 14px;
}
.svc-card--photo .arrow {
  margin-right: 6px;
}
.svc-photo {
  display: block;
  height: 190px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-tint);
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease);
}
.svc-card--photo:hover .svc-photo img {
  transform: scale(1.05);
}
@keyframes svcLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(var(--loop, -50%));
  }
}
@media (prefers-reduced-motion: reduce) {
  .svc-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .svc-track {
    animation: none;
  }
}
.svc-card {
  --accent: 26, 92, 240;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 228px;
  padding: 26px 22px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  text-align: left;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.svc-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(var(--accent), 0.16), transparent);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.svc-card:hover,
.svc-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -28px rgba(var(--accent), 0.55), var(--sh-sm);
  border-color: rgba(var(--accent), 0.35);
}
.svc-card:hover::before,
.svc-card:focus-visible::before {
  opacity: 1;
}
.svc-card:hover .icon-3d {
  transform: translateY(-4px) scale(1.06) rotate(-4deg);
}
.svc-card .icon-3d {
  width: 76px;
  height: 76px;
  margin-left: -4px;
  filter: drop-shadow(0 10px 14px rgba(30, 60, 150, 0.25));
}
.svc-card h3 {
  margin-top: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}
.svc-card p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}
.svc-card .arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-tint);
  color: var(--heading);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.svc-card .arrow svg {
  width: 16px;
  height: 16px;
}
.svc-card:hover .arrow {
  background: rgb(var(--accent));
  color: #fff;
  transform: translateX(2px);
}
.svc-card.is-flash {
  animation: flash 1.6s var(--ease);
}

/* 8 ─ Solutions (Remote teams · Software · AI) ───────────────────────────── */
.solutions-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "teams"
    "ai";
  gap: 20px;
  align-items: stretch;
}
.panel {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 36px;
  isolation: isolate;
}
.panel h2 {
  font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem);
  font-weight: 800;
  margin-top: 10px;
}
.panel p.lead {
  margin-top: 14px;
  font-size: 0.98rem;
}
.panel .checklist {
  margin-top: 22px;
}
.panel .btn {
  margin-top: 28px;
}

/* Full-bleed panel image: fills the right side of the card and fades into the copy */
.panel-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: -1;
}
.panel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 12%, #000 28%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.65) 12%, #000 28%);
  transition: transform 1.2s var(--ease);
}
.panel:hover .panel-media img {
  transform: scale(1.02);
}
.panel-copy {
  position: relative;
  max-width: 44%;
}
.panel-note {
  position: absolute;
  right: 16px;
  bottom: 12px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(7, 20, 55, 0.45);
  padding: 3px 10px;
  border-radius: 999px;
}

/* Remote teams */
.panel--teams {
  grid-area: teams;
  background: linear-gradient(140deg, #f2f7ff 0%, #f6f1ff 60%, #fff1f8 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  min-height: 440px;
  padding: 48px;
}
.panel--teams h2 {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.panel--teams h2 small {
  display: block;
  text-transform: none;
  font-size: 0.66em;
  color: var(--link);
  margin-top: 4px;
  letter-spacing: -0.01em;
}
.panel-media--teams {
  width: 72%;
}
.panel-media--teams img {
  object-position: 70% 35%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 30%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 14%, #000 30%);
}
.panel--teams .panel-copy {
  max-width: 42%;
}

/* Software */
.panel--software {
  grid-area: soft;
  background: linear-gradient(120deg, #f6f9ff 0%, #f1f5fd 50%, #eef3fc 100%);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  min-height: 480px;
  padding: 48px;
}
.panel-media--software {
  width: 66%;
}
.panel-media--software img {
  object-position: center 55%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 10%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 10%, #000 22%);
}
.panel--software .panel-copy {
  max-width: 36%;
}
.panel--software .panel-note {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
}

/* AI */
.panel--ai {
  grid-area: ai;
  background: linear-gradient(120deg, #eaf3ff 0%, #e4f0ff 45%, #f1ecff 100%);
  border: 1px solid var(--line);
  min-height: 380px;
  padding: 48px;
  display: flex;
  align-items: center;
}
.panel--ai .panel-copy {
  max-width: 40%;
}
.panel--ai .checklist {
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 12px 22px;
  margin-top: 20px;
}
.panel-media--ai {
  width: 72%;
}
.panel-media--ai img {
  object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 32%);
}
.ai-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.ai-flow span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #d5e3fb;
  color: var(--blue-dark);
}

/* 9 ─ Industries ─────────────────────────────────────────────────────────── */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 12px;
}
.ind-card {
  --tint: #fff1f5;
  --accent: 236, 72, 153;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 16px 14px 12px;
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--tint) 0%, #fff 75%);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.ind-card .icon-3d {
  width: 44px;
  height: 44px;
}
.ind-card h3 {
  margin-top: 14px;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.3;
}
.ind-card .arrow {
  margin-top: auto;
  align-self: flex-end;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  color: var(--heading);
  background: var(--surface);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
}
.ind-card .arrow svg {
  width: 13px;
  height: 13px;
}
.ind-card:hover,
.ind-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(var(--accent), 0.35);
  box-shadow: 0 24px 40px -26px rgba(var(--accent), 0.7);
}
.ind-card:hover .icon-3d {
  transform: translateY(-3px) scale(1.06);
}
.ind-card:hover .arrow {
  background: rgb(var(--accent));
  border-color: transparent;
  color: #fff;
}

/* 10 ─ Process ───────────────────────────────────────────────────────────── */
.process {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 34px;
}
.process-line {
  position: absolute;
  top: 34px;
  left: 6%;
  right: 6%;
  height: 3px;
  border-radius: 3px;
  background: var(--line);
  overflow: hidden;
}
.process-line i {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #14bfa9, #2f7bff, #8b5cf6, #ec4899, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.2s var(--ease) 0.2s;
}
.process.is-visible .process-line i {
  transform: scaleX(1);
}
.step {
  position: relative;
  padding: 22px 18px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.step:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh);
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 12px;
  height: 12px;
  border-top: 2.5px solid #7aa3f5;
  border-right: 2.5px solid #7aa3f5;
  transform: translateY(-50%) rotate(45deg);
}
.step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #d9fbf6, #dbe8ff);
}
.step .icon-3d {
  margin: 18px auto 0;
  width: 60px;
  height: 60px;
}
.step h3 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 700;
}
.step p {
  margin-top: 8px;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--muted);
}

/* 11 ─ Team builder ──────────────────────────────────────────────────────── */
.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}
.builder-main {
  display: grid;
  gap: 22px;
}
.b-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 28px;
}
.b-block-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-bottom: 20px;
}
.b-block h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
}
.b-step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.85rem;
  color: #fff;
  background: var(--grad-teal);
  flex: none;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.role {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon step"
    "info info";
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--r);
  border: 1.5px solid var(--line);
  background: var(--surface);
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.role.is-active {
  border-color: rgba(18, 179, 165, 0.6);
  background: linear-gradient(180deg, #f1fdfb, #fff);
  box-shadow: 0 10px 24px -16px rgba(18, 179, 165, 0.7);
}
.role .icon-3d {
  grid-area: icon;
  width: 42px;
  height: 42px;
}
.role-info {
  grid-area: info;
  min-width: 0;
}
.role .stepper {
  grid-area: step;
  justify-self: end;
}
.role-info strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--heading);
  line-height: 1.25;
}
.role-info small {
  font-size: 0.75rem;
  color: var(--muted);
}
.stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  flex: none;
}
.stepper button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--heading);
  transition: background-color 0.2s, color 0.2s;
}
.stepper button:hover:not([disabled]) {
  background: var(--bg-tint);
  color: var(--link);
}
.stepper button[disabled] {
  opacity: 0.35;
  cursor: default;
}
.stepper button svg {
  width: 15px;
  height: 15px;
}
.stepper output {
  min-width: 26px;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: var(--heading);
  font-variant-numeric: tabular-nums;
}
.opts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
}
.seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.seg input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.seg label {
  cursor: pointer;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line-2);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
  transition: all 0.25s;
  user-select: none;
}
.seg input:checked + label {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.seg input:focus-visible + label {
  outline: 3px solid rgba(26, 92, 240, 0.55);
  outline-offset: 2px;
}
.chips label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.chips label::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid #b3c3e0;
  transition: all 0.2s;
}
.chips input:checked + label {
  background: linear-gradient(135deg, #f0f7ff, #f5f0ff);
  border-color: var(--purple);
  color: var(--heading);
}
.chips input:checked + label::before {
  background: var(--purple)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center/12px no-repeat;
  border-color: var(--purple);
}

/* Fields */
.field {
  display: grid;
  gap: 7px;
}
.field > label,
.field-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}
.field .req {
  color: var(--pink);
}
.input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--heading);
  transition: border-color 0.25s, box-shadow 0.25s;
}
select.input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background: var(--surface)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230b1b3f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E")
    right 14px center/18px no-repeat;
}
textarea.input {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}
.input::placeholder {
  color: #9aa6bf;
}
.input:hover {
  border-color: #b9cbec;
}
.input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(26, 92, 240, 0.12);
}
.field.has-error .input {
  border-color: #e11d48;
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}
.field-error {
  font-size: 0.8rem;
  color: #be123c;
  min-height: 0;
}
.field-error:empty {
  display: none;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  cursor: pointer;
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
  flex: none;
}
.hp {
  position: absolute;
  left: -9999px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-grid .full {
  grid-column: 1 / -1;
}
.form-status {
  font-size: 0.9rem;
  font-weight: 500;
}
.form-status.is-error {
  color: #be123c;
}
.form-status.is-ok {
  color: #047857;
}

/* Summary */
.summary {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  background: linear-gradient(170deg, #0b1f52 0%, #0c3767 60%, #0d5a6b 100%);
  color: #cfdcf5;
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-lg);
  overflow: hidden;
  isolation: isolate;
}
.summary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(300px 200px at 100% 0%, rgba(34, 211, 238, 0.3), transparent 70%);
}
.summary h3 {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 800;
}
.sum-total {
  margin-top: 22px;
  padding: 18px;
  border-radius: var(--r);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.sum-total small {
  display: block;
  font-size: 0.78rem;
  color: #9fb4dc;
}
.sum-total .amount {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.3rem;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.sum-total .amount span {
  font-size: 0.42em;
  font-weight: 600;
  color: #9fb4dc;
}
.sum-annual {
  margin-top: 6px;
  font-size: 0.88rem;
}
.sum-rows {
  margin-top: 18px;
  display: grid;
  gap: 10px;
  font-size: 0.88rem;
}
.sum-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.sum-rows dt {
  color: #9fb4dc;
}
.sum-rows dd {
  margin: 0;
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.sum-roles {
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 14px;
  display: grid;
  gap: 8px;
  font-size: 0.86rem;
  max-height: 210px;
  overflow-y: auto;
}
.sum-roles li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.sum-roles li b {
  color: #fff;
  font-weight: 600;
}
.sum-empty {
  color: #9fb4dc;
  font-style: italic;
}
.summary .btn {
  width: 100%;
  margin-top: 22px;
}
.summary .badge-sample {
  margin-top: 16px;
}
.sum-note {
  margin-top: 10px;
  font-size: 0.75rem;
  line-height: 1.5;
  color: #93a7cf;
}
.proposal {
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.proposal[hidden] {
  display: none;
}
.proposal.is-entering {
  animation: fadeUp 0.7s var(--ease) both;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.privacy-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 16px;
}

/* Consultation booking */
.consult-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}
.consult-form {
  display: grid;
  gap: 8px;
}
.consult-step {
  border: 0;
  margin: 0;
  padding: 0 0 22px;
  border-bottom: 1px solid var(--line);
}
.consult-step + .consult-step {
  padding-top: 22px;
}
.consult-step > legend {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--heading);
}
.consult-step:nth-of-type(3) {
  border-bottom: 0;
  padding-bottom: 0;
}
.consult-form .form-actions {
  margin-top: 8px;
}
.consult-aside .expect-list {
  display: grid;
  gap: 18px;
  margin-top: 22px;
}
.expect-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.expect-ico {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(94, 240, 221, 0.14);
  color: #5ef0dd;
}
.expect-ico svg {
  width: 20px;
  height: 20px;
}
.expect-list strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.98rem;
}
.expect-list span {
  font-size: 0.86rem;
  color: #a9bde2;
}
.consult-aside .btn {
  width: 100%;
  margin-top: 24px;
}
@media (max-width: 1100px) {
  .consult-grid {
    grid-template-columns: 1fr;
  }
  .consult-aside {
    order: -1;
  }
}

/* 12 ─ Global ────────────────────────────────────────────────────────────── */
.global {
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #f3f8ff 100%);
}
.global-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
  gap: 48px;
  align-items: center;
}
.global-copy h2 {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem);
  font-weight: 800;
  margin-top: 10px;
}
.global-copy p {
  margin-top: 16px;
  font-size: 1.04rem;
}
.markets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.markets li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}
.markets li i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c, var(--teal));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--teal)) 20%, transparent);
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}
.pillars div {
  padding: 16px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pillars strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.1;
}
.pillars span {
  font-size: 0.82rem;
  color: var(--muted);
}
.map {
  position: relative;
  aspect-ratio: 1665 / 945;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh);
  background: #eef2fd;
}
.map > img,
.map > svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-flow path {
  fill: none;
}
/* Light travelling along each connection line */
.flow {
  fill: none;
  stroke: var(--c);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-dasharray: 170 1320;
  stroke-dashoffset: 1490;
  animation: flow 3.2s linear infinite;
  opacity: 1;
}
@keyframes flow {
  to {
    stroke-dashoffset: 0;
  }
}
.flow-rings circle {
  fill: none;
  stroke: rgba(56, 189, 248, 0.7);
  stroke-width: 2.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: ping 2.6s var(--ease) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .flow-dots,
  .flow-lines,
  .flow-rings {
    display: none;
  }
}

/* Client reviews */
.reviews {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.rv-ctrl {
  display: flex;
  gap: 10px;
}
.rv-ctrl .icon-btn {
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--heading);
}
.rv-ctrl .icon-btn:hover:not([disabled]) {
  border-color: var(--blue);
  color: var(--link);
}
.rv-ctrl .icon-btn[disabled] {
  opacity: 0.4;
  cursor: default;
}
.rv-ctrl.is-hidden {
  display: none;
}
.rv-sample-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -12px 0 22px;
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff4e6;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 500;
}
.rv-sample-note svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.rv-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 4px 24px;
  margin: -8px -4px 0;
}
.rv-track::-webkit-scrollbar {
  display: none;
}
.rv-track:focus-visible {
  outline: 3px solid rgba(26, 92, 240, 0.4);
  outline-offset: 4px;
}
.rv-card {
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.rv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh);
  border-color: #c9d8f3;
}
.rv-card.is-sample {
  border-style: dashed;
  border-color: #c9d6ee;
}
.rv-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.rv-stars {
  display: flex;
  gap: 3px;
}
.rv-star {
  width: 18px;
  height: 18px;
  fill: #f5b301;
}
.rv-star.is-off {
  fill: #dbe3f1;
}
.rv-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a3412;
  background: #fff4e6;
  border: 1px solid #fed7aa;
  padding: 3px 9px;
  border-radius: 999px;
}
.rv-quote {
  width: 34px;
  height: 34px;
  margin-top: 18px;
  fill: rgba(18, 179, 165, 0.18);
}
.rv-card blockquote {
  margin: 8px 0 22px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.rv-card.is-sample blockquote {
  color: var(--muted);
  font-style: italic;
}
.rv-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.rv-avatar {
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  background: var(--grad-teal);
}
.is-sample .rv-avatar {
  background: #e3eaf6;
  color: var(--muted);
}
.rv-person strong {
  display: block;
  font-family: var(--font-head);
  color: var(--heading);
  font-size: 0.98rem;
}
.rv-person small {
  font-size: 0.82rem;
  color: var(--muted);
}
.rv-service {
  align-self: flex-start;
  margin-top: 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--blue-dark);
  background: var(--bg-tint);
  border: 1px solid #d5e3fb;
  padding: 4px 11px;
  border-radius: 999px;
}
.rv-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.rv-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #cfdaee;
  transition: width 0.3s var(--ease), background-color 0.3s;
}
.rv-dot[aria-current="true"] {
  width: 26px;
  background: var(--grad-teal);
}
/* bigger hit area for dots */
.rv-dot {
  position: relative;
}
.rv-dot::after {
  content: "";
  position: absolute;
  inset: -10px -4px;
}

/* Technology we work with */
.tech-logos {
  padding-top: 72px;
  padding-bottom: 72px;
  background: var(--bg-soft);
}
.tech-logos .section-head {
  margin-bottom: 32px;
}
/* Partner logos: a fixed, centred row in full colour (wraps onto more lines on smaller screens) */
.logo-marquee {
  max-width: var(--container);
  margin: 0 auto;
  padding: 6px 24px;
}
.logo-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.logo-item {
  flex: none;
  display: grid;
  place-items: center;
  width: 210px;
  height: 104px;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.logo-item img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.logo-item.is-dark {
  background: #111b46;
  border-color: #111b46;
}
@media (max-width: 1023px) {
  .rv-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }
}
@media (max-width: 640px) {
  .rv-track {
    grid-auto-columns: 100%;
  }
  .rv-card {
    padding: 22px;
  }
  .logo-item {
    width: 170px;
    height: 88px;
    padding: 14px 20px;
  }
  .logo-item img {
    max-height: 44px;
  }
}

/* 13 ─ CTA band ──────────────────────────────────────────────────────────── */
.cta {
  padding: 0 0 96px;
  background: #f3f8ff;
}
.cta-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: center;
  padding: 40px 44px 40px 0;
  min-height: 340px;
  border-radius: var(--r-xl);
  background: #0a2a9a;
  color: #cfe0ff;
  overflow: hidden;
  isolation: isolate;
  box-shadow: var(--sh-lg);
}
.cta-media {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
}
.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-media--bg {
  inset: 0;
  width: 100%;
}
.cta-media--bg img {
  object-position: left center;
}
.cta-band::after {
  /* keep the stat cards and text readable over the bright globe */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4, 18, 70, 0.35) 0%, rgba(4, 18, 70, 0.45) 45%, rgba(4, 18, 70, 0.15) 100%);
}
.cta-copy {
  position: relative;
  padding-left: 25%;
  text-shadow: 0 2px 18px rgba(4, 16, 54, 0.65);
}
.cta-copy h2 {
  color: #fff;
  font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.4rem);
  font-weight: 800;
}
.cta-copy p {
  margin-top: 12px;
}
.cta-copy .hero-ctas {
  margin-top: 24px;
}
.cta-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stat {
  background: var(--surface);
  border-radius: var(--r);
  padding: 16px;
  color: var(--text);
  box-shadow: 0 16px 30px -18px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s var(--ease);
}
.stat:hover {
  transform: translateY(-4px);
}
.stat .icon-3d {
  width: 38px;
  height: 38px;
}
.stat small {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--muted);
}
.stat strong span,
.pillars strong span {
  font: inherit;
  color: inherit;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--heading);
  line-height: 1.15;
}
.stat span {
  font-size: 0.76rem;
  color: var(--muted);
}

/* 14 ─ Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: #071437;
  color: #a9b8d8;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #14bfa9, #2f7bff, #8b5cf6, #ec4899, #f97316);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr;
  gap: 40px;
}
.footer-heading {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a,
.footer-links button {
  font-size: 0.92rem;
  color: #a9b8d8;
  text-align: left;
  transition: color 0.2s;
}
.footer-links a:hover,
.footer-links button:hover {
  color: #5ef0dd;
}
.footer-about p {
  margin-top: 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 340px;
}
.footer-contact button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
}
.footer-contact svg {
  width: 18px;
  height: 18px;
  color: #5ef0dd;
  flex: none;
}
.footer-bottom {
  margin-top: 56px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom nav {
  display: flex;
  gap: 20px;
}
.footer-bottom button:hover {
  color: #fff;
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-teal);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px -10px rgba(18, 179, 165, 0.8);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease);
}
.to-top svg {
  width: 20px;
  height: 20px;
  transform: rotate(-90deg);
}
.to-top.is-shown {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

/* 15 ─ Modals, search & toast ────────────────────────────────────────────── */
dialog.modal {
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
dialog.modal[open] {
  display: flex;
  flex-direction: column;
  animation: modalIn 0.45s var(--ease);
}
dialog.modal::backdrop {
  background: rgba(11, 27, 63, 0.5);
  backdrop-filter: blur(5px);
}
.modal-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 64px 22px 28px;
  background: linear-gradient(140deg, #f2f7ff, #f7f1ff);
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 1.45rem;
  font-weight: 800;
}
.modal-head p {
  font-size: 0.92rem;
  margin-top: 4px;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--heading);
}
.modal-close svg {
  width: 18px;
  height: 18px;
}
.modal-body {
  padding: 26px 28px;
  overflow-y: auto;
}
.modal-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.modal-cols {
  columns: 2;
  column-gap: 24px;
}
.modal-cols li {
  break-inside: avoid;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.modal-cols li svg {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  color: var(--teal);
  flex: none;
}
.modal-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 18px 28px 24px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
}
.quote-doc {
  font-size: 0.92rem;
}
.quote-doc .q-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  margin-bottom: 18px;
  font-size: 0.86rem;
}
.quote-doc table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 18px;
}
.quote-doc th,
.quote-doc td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--line);
}
.quote-doc th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.quote-doc td.num,
.quote-doc th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.quote-doc tfoot td {
  font-weight: 800;
  color: var(--heading);
  border-bottom: 0;
}
.quote-doc dl {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 6px 14px;
  margin: 0 0 18px;
}
.quote-doc dt {
  color: var(--muted);
}
.quote-doc dd {
  margin: 0;
  color: var(--heading);
  font-weight: 500;
  word-break: break-word;
}
.search-box {
  position: relative;
}
.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 20px;
  height: 20px;
  translate: 0 -50%;
  color: var(--muted);
}
.search-box .input {
  padding-left: 48px;
  height: 56px;
  font-size: 1.05rem;
}
.search-results {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}
.search-results .menu-link {
  align-items: center;
}
.search-results .menu-link .icon-3d {
  width: 34px;
  height: 34px;
}
.search-empty {
  padding: 18px 4px;
  color: var(--muted);
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 32px);
  padding: 13px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
  box-shadow: var(--sh-lg);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.toast.is-shown {
  opacity: 1;
  transform: none;
}
.toast svg {
  width: 18px;
  height: 18px;
  color: #5ef0dd;
}
.legal h3 {
  margin-top: 18px;
}
.legal p {
  font-size: 0.92rem;
  margin-top: 6px;
}
.draft-flag {
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff4e6;
  border: 1px solid #fed7aa;
  color: #9a3412;
  font-size: 0.86rem;
  font-weight: 500;
}

/* Cursor follower — multi-colour brand dot (desktop mice only) */
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 400;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s;
  will-change: transform;
}
.cursor-dot {
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  background: conic-gradient(from var(--spin, 0deg), #14bfa9, #2f7bff, #8b5cf6, #ec4899, #f97316, #14bfa9);
  animation: cursorSpin 3s linear infinite;
}
.cursor-on .cursor-dot {
  opacity: 1;
}
@property --spin {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@keyframes cursorSpin {
  to {
    --spin: 360deg;
  }
}
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot {
    display: none;
  }
}

/* 16 ─ Motion ────────────────────────────────────────────────────────────── */
@keyframes float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.08);
  }
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -28;
  }
}
@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.9;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes rise {
  from {
    transform: translateY(105%);
  }
  to {
    transform: none;
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes flash {
  0%,
  100% {
    box-shadow: var(--sh-sm);
  }
  30% {
    box-shadow: 0 0 0 4px rgba(var(--accent), 0.35), 0 30px 50px -28px rgba(var(--accent), 0.6);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hero entrance (runs on first paint, no JS needed) */
.hero h1 .line > span {
  animation: rise 1s var(--ease) both;
}
.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.1s;
}
.hero h1 .line:nth-child(3) > span {
  animation-delay: 0.2s;
}
.hero h1 .line:nth-child(4) > span {
  animation-delay: 0.3s;
}
.hero-lead,
.hero-ctas {
  animation: fadeUp 0.9s var(--ease) both;
}
.hero-lead {
  animation-delay: 0.35s;
}
.hero-ctas {
  animation-delay: 0.45s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll reveal: only hide content once JS has confirmed it is running. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal="left"] {
  transform: translateX(-28px);
}
.js [data-reveal="right"] {
  transform: translateX(28px);
}
.js [data-reveal="zoom"] {
  transform: scale(0.95);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .process-line i {
    transform: none;
  }
}

/* Print: only the quote summary */
@media print {
  body.printing > *:not(#quoteModal) {
    display: none !important;
  }
  body.printing #quoteModal {
    position: static;
    box-shadow: none;
    width: 100%;
    max-height: none;
  }
  body.printing #quoteModal .modal-foot,
  body.printing #quoteModal .modal-close {
    display: none;
  }
}

/* 17 ─ Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1279px) {
  .cta-band {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .industries-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
    .footer-grid {
    grid-template-columns: 1.4fr repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  /* filter becomes a swipeable row on phones */
  .svc-filter {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: -4px -18px 24px;
    padding: 4px 18px 8px;
  }
  .svc-filter::-webkit-scrollbar {
    display: none;
  }
  .svc-tab {
    scroll-snap-align: center;
    flex: none;
    height: 44px;
  }
  .svc-track .svc-card {
    width: 210px;
  }
  .svc-photo {
    height: 168px;
  }
}

@media (max-width: 1100px) {
  .nav-menu,
  .nav-actions .btn,
  .nav-actions .icon-btn--white {
    display: none;
  }
  .nav-toggle {
    display: grid;
  }
  .nav-actions {
    margin-left: auto;
  }
  .hero-stage {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-grid {
    min-height: 0;
    padding-block: 48px 0;
  }
  .hero-copy {
    max-width: 640px;
  }
  .hero-media {
    order: 2;
    position: relative;
    left: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 1672 / 941;
    margin-top: 20px;
  }
  .hero-media img {
    object-position: center;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 16%, #000 88%, transparent 100%);
  }
  .hero-team-card {
    position: relative;
    order: 3;
    right: auto;
    bottom: auto;
    align-self: center;
    margin-top: -30px;
  }
  .capabilities {
    margin-top: 32px;
  }
  .capabilities {
    grid-template-columns: repeat(2, 1fr);
  }
  .builder {
    grid-template-columns: 1fr;
  }
  .summary {
    position: relative;
    top: 0;
  }
  .global-grid {
    grid-template-columns: 1fr;
  }
  .process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .process-line,
  .step::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .section {
    padding-block: 72px;
  }
  .panel--ai {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 36px 36px 0;
  }
  .panel--ai .panel-copy {
    max-width: none;
  }
  .panel--teams,
  .panel--software {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    padding: 36px 36px 0;
  }
  .panel-media {
    position: relative;
    width: auto;
    margin: 24px -36px 0;
    aspect-ratio: 16 / 9;
    order: 2;
    z-index: 0;
  }
  .panel-media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 22%);
  }
  .panel-media--software {
    aspect-ratio: 1536 / 1024;
  }
  .panel-media--ai {
    aspect-ratio: 1767 / 890;
  }
  .panel-media--ai img {
    object-position: 70% center;
  }
  .panel-copy,
  .panel--teams .panel-copy,
  .panel--software .panel-copy,
  .panel--ai .panel-copy {
    max-width: none;
  }
  .panel-media--teams img {
    object-position: center;
  }
  .panel--software {
    padding: 36px 36px 0;
  }
  .cta-band {
    padding: 34px 26px;
  }
  .cta-copy {
    padding-left: 0;
  }
  .cta-band::after {
    background: rgba(4, 18, 70, 0.35);
  }
  .cta-copy {
    padding-left: 0;
  }
  .cta-media--bg img {
    object-position: 20% center;
    opacity: 0.6;
  }
  .cta-band {
    grid-template-columns: 1fr;
    padding: 34px 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }
  .hero--video .hero-stage,
  .hero--video .hero-grid {
    min-height: 78svh;
  }
  .hero--video .hero-grid {
    padding-block: 40px;
  }
  .hero--video .capabilities {
    margin-top: 24px;
  }
  .logo-img {
    height: 26px;
  }
  .container {
    padding-inline: 18px;
  }
      .hero-ctas .btn {
    flex: 1 1 100%;
  }
  .hero-grid {
    padding-top: 36px;
  }
  .hero-team-card {
    padding: 8px 14px 8px 8px;
    margin-top: -20px;
  }
  .avatar {
    width: 30px;
    height: 30px;
  }
  .capabilities {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .section-head {
    margin-bottom: 28px;
  }
  .svc-card .icon-3d {
    width: 64px;
    height: 64px;
  }
  .panel {
    padding: 26px 22px;
  }
  .panel--teams,
  .panel--software {
    padding: 26px 22px 0;
  }
  .panel--ai {
    padding: 26px 22px 0;
  }
  .panel--ai .checklist {
    grid-template-columns: 1fr;
  }
  .panel-media {
    margin-inline: -22px;
  }
  .industries-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .process {
    grid-template-columns: 1fr;
  }
  .step {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 2px 16px;
    text-align: left;
    padding: 20px;
  }
  .step-num {
    position: static;
    grid-row: span 2;
    width: 56px;
    height: 56px;
    font-size: 1rem;
  }
  .step .icon-3d {
    display: none;
  }
  .step h3 {
    margin-top: 2px;
  }
  .step p {
    margin-top: 2px;
  }
  .b-block {
    padding: 22px 18px;
  }
  .opts-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .role {
    padding: 12px;
    gap: 10px;
  }
  .role .icon-3d {
    width: 34px;
    height: 34px;
  }
  .stepper button {
    width: 28px;
    height: 28px;
  }
  .stepper output {
    min-width: 20px;
  }
  .role-info strong {
    font-size: 0.84rem;
  }
  .stat strong {
    font-size: 1.15rem;
  }
  .pillars {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .pillars strong {
    font-size: 1.3rem;
  }
    .cta-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px 20px;
  }
  .modal-cols {
    columns: 1;
  }
  .quote-doc dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .quote-doc dd {
    margin-bottom: 8px;
  }
  .modal-foot .btn {
    flex: 1 1 calc(50% - 10px);
  }
  .to-top {
    right: 14px;
    bottom: 14px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   INNER PAGES — About, Blog, Testimonials, Portfolio, Contact
   Built from the homepage tokens and components; scoped class names only.
   ══════════════════════════════════════════════════════════════════════════ */

/* Page transitions (cross-document view transitions where supported, plus a soft fade-in) */
@view-transition {
  navigation: auto;
}
@media (prefers-reduced-motion: no-preference) {
  .page-sub main {
    animation: pageIn 0.55s var(--ease) both;
  }
  ::view-transition-old(root) {
    animation: 0.22s ease both vtOut;
  }
  ::view-transition-new(root) {
    animation: 0.38s var(--ease) both vtIn;
  }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; } }

.nav-link[aria-current="page"] { color: #fff; }
.drawer-body a[aria-current="page"] { color: var(--teal); }
.muted { color: var(--muted); }
.link-btn {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.badge-cat {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  background: var(--bg-tint);
  color: var(--blue-dark);
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ─── Page hero ─── */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 64px 0 76px;
  background: linear-gradient(180deg, #f3f8ff 0%, #ffffff 92%);
}
.page-hero .hero-bg { z-index: -1; }
.page-hero-inner { position: relative; max-width: 760px; }
.page-hero-inner--center { margin-inline: auto; text-align: center; }
.page-hero-inner--center .hero-ctas { justify-content: center; }
.page-hero h1 {
  margin-top: 12px;
  font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.9rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.page-lead {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--ink);
  max-width: 640px;
}
.page-hero-inner--center .page-lead { margin-inline: auto; }
.page-hero .hero-ctas { margin-top: 30px; }
.crumbs { margin-bottom: 18px; font-size: 0.86rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; }
.page-hero-inner--center .crumbs ol { justify-content: center; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.crumbs li + li::before { content: "/"; color: #b6c2da; }
.crumbs a { color: var(--link); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }

/* Hero with a photo that fades in from the right (same treatment as the homepage hero) */
.page-hero--media { padding: 0; }
.page-hero--media .page-hero-inner {
  min-height: clamp(520px, 44vw, 620px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 64px;
  max-width: none;
}
.page-hero--media .page-hero-inner > * { max-width: 560px; }
.page-hero-media {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: max(560px, calc((100vw - var(--container)) / 2 + 560px));
  z-index: -1;
  pointer-events: none;
  animation: fadeIn 1.2s var(--ease) both;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 9%, #000 18%), linear-gradient(180deg, #000 86%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.7) 9%, #000 18%), linear-gradient(180deg, #000 86%, transparent 100%);
  mask-composite: intersect;
}

/* ─── Two-column split ─── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 70% center;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}
.split-badge {
  position: absolute;
  left: -20px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 14px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh);
}
.split-badge .icon-3d { width: 44px; height: 44px; }
.split-badge strong { display: block; color: var(--heading); font-family: var(--font-head); }
.split-badge span { font-size: 0.85rem; color: var(--muted); }
.split-copy h2 { margin-top: 10px; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.75rem); font-weight: 800; }
.split-copy p { margin-top: 16px; font-size: 1.04rem; line-height: 1.75; }
.split-copy .checklist { margin-top: 24px; }

/* ─── Mission & vision ─── */
.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mv-card {
  position: relative;
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.mv-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--grad-head-1);
}
.mv-card--vision::before { background: var(--grad-head-2); }
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.mv-card h3 { margin-top: 18px; font-size: 1.5rem; font-weight: 800; }
.mv-card p { margin-top: 12px; font-size: 1.04rem; line-height: 1.75; }

/* ─── Why choose / generic feature cards ─── */
.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.why-card {
  padding: 30px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: #c9d8f3; }
.why-card:hover .icon-3d { transform: scale(1.08) rotate(-4deg); }
.why-card h3 { margin-top: 18px; font-size: 1.18rem; font-weight: 700; }
.why-card p { margin-top: 8px; line-height: 1.65; }

/* ─── Timeline: horizontal on desktop, vertical on mobile ─── */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 12.5%;
  right: 12.5%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal), var(--blue), var(--purple), var(--pink));
  opacity: 0.35;
}
.tl-step { position: relative; text-align: center; padding: 0 8px; }
.tl-dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--teal);
  color: var(--heading);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 0 0 6px rgba(18, 179, 165, 0.12);
}
.tl-step:nth-child(2) .tl-dot { border-color: var(--blue); box-shadow: 0 0 0 6px rgba(26, 92, 240, 0.1); }
.tl-step:nth-child(3) .tl-dot { border-color: var(--purple); box-shadow: 0 0 0 6px rgba(124, 58, 237, 0.1); }
.tl-step:nth-child(4) .tl-dot { border-color: var(--pink); box-shadow: 0 0 0 6px rgba(236, 72, 153, 0.1); }
.tl-step .icon-3d { display: block; width: 52px; height: 52px; margin-inline: auto; }
.tl-step h3 { margin-top: 12px; font-size: 1.25rem; font-weight: 800; }
.tl-step p { margin-top: 8px; line-height: 1.6; max-width: 260px; margin-inline: auto; }

/* ─── Team ─── */
.team-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.team-card {
  padding: 26px 20px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--sh); }
.team-photo {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f6ff, #f1ecff);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--line);
  overflow: hidden;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 1.05rem; font-weight: 700; }
.team-name { margin-top: 4px; font-size: 0.8rem; color: var(--muted); font-style: italic; }
.team-card p:last-child { margin-top: 10px; font-size: 0.9rem; line-height: 1.6; }

/* ─── CTA band without stats (inner pages) ─── */
.cta-band--simple { grid-template-columns: minmax(0, 1fr); min-height: 300px; padding-left: 44px; }
/* centred text and button */
.cta-band--simple .cta-copy { padding: 0 24px; max-width: 760px; margin: 0 auto; text-align: center; }
.cta-band--simple .hero-ctas { justify-content: center; }
.page-sub .cta { background: transparent; padding-top: 24px; }

/* ─── List tools: tabs + search ─── */
.list-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 36px;
}
.list-tools--center { justify-content: center; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab {
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.tab:hover { border-color: #b9cbec; transform: translateY(-1px); }
.tab[aria-selected="true"] {
  background: var(--grad-teal);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 20px -12px rgba(18, 179, 165, 0.9);
}
.tab:focus-visible { outline: 3px solid rgba(26, 92, 240, 0.4); outline-offset: 2px; }
.search-box--inline { width: min(320px, 100%); }
.search-box--inline .input { height: 46px; font-size: 0.95rem; border-radius: 999px; }
.list-empty { text-align: center; padding: 40px 0 0; color: var(--muted); }
.list-more { display: flex; justify-content: center; margin-top: 36px; }

/* ─── Blog cards ─── */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.post-card, .pf-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s, opacity 0.35s var(--ease);
}
.post-card:hover, .pf-card:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: #c9d8f3; }
.post-media, .pf-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-tint); }
.post-media img, .pf-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.post-card:hover .post-media img, .pf-card:hover .pf-media img { transform: scale(1.05); }
.post-body, .pf-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-meta, .pf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 0.82rem; color: var(--muted); }
.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta svg { width: 15px; height: 15px; }
.post-card h3, .pf-card h3 { margin-top: 14px; font-size: 1.16rem; font-weight: 700; line-height: 1.35; }
.post-card h3 a, .pf-card h3 a { color: var(--heading); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 0.35s var(--ease); }
.post-card h3 a:hover, .pf-card h3 a:hover { background-size: 100% 1.5px; }
.post-card p, .pf-card p { margin-top: 10px; line-height: 1.6; flex: 1; }
.post-card .link-arrow, .pf-card .link-arrow { margin-top: 18px; }
.is-filtered-out { display: none !important; }
.is-entering { animation: cardIn 0.45s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }

.post-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  margin-bottom: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh);
  overflow: hidden;
}
.post-feature-media { display: block; min-height: 340px; overflow: hidden; }
.post-feature-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.post-feature:hover .post-feature-media img { transform: scale(1.04); }
.post-feature-body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 44px; }
.post-feature-body h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); font-weight: 800; line-height: 1.2; }
.post-feature-body h2 a { color: var(--heading); }
.post-feature-body h2 a:hover { color: var(--link); }
.post-feature-body p { line-height: 1.7; }
.post-feature-body .btn { margin-top: 6px; }

/* ─── Article ─── */
.page-hero--article { padding-bottom: 150px; }
.article-head { max-width: 860px; }
.article-head h1 { margin-top: 16px; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
.article-wrap { max-width: 860px; margin-top: -110px; padding-bottom: 72px; position: relative; }
.article-cover { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--bg-tint); }
.article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose { margin-top: 44px; font-size: 1.07rem; line-height: 1.85; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: 1.65rem; font-weight: 800; line-height: 1.25; }
.prose h3 { margin-top: 1.6em; font-size: 1.25rem; font-weight: 700; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); }
.prose a { color: var(--link); text-decoration: underline; }
.prose blockquote { padding: 18px 24px; border-left: 4px solid var(--teal); background: var(--bg-soft); border-radius: 0 var(--r) var(--r) 0; color: var(--ink); }
.article-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 52px 0 28px;
  padding: 28px 30px;
  border-radius: var(--r-lg);
  background: var(--grad-dark);
  color: #cfe0ff;
}
.article-cta h2 { color: #fff; font-size: 1.3rem; font-weight: 800; }
.article-cta p { margin-top: 6px; }
.link-arrow--back:hover { gap: 4px; }

/* ─── Reviews grid & success stories ─── */
.rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rv-card .rv-stars:empty { display: none; }
.rv-sample-note { margin-inline: auto; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.story-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.story-card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.story-card.is-sample { border-style: dashed; border-color: #c9d6ee; }
.story-card.is-sample dd { color: var(--muted); font-style: italic; }
.story-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.story-card h3 { margin-top: 14px; font-size: 1.3rem; font-weight: 800; }
.story-card dl { display: grid; gap: 14px; margin: 18px 0 22px; flex: 1; }
.story-card dt { font-family: var(--font-head); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal); }
.story-card dd { margin: 4px 0 0; line-height: 1.6; }
.story-card .btn { align-self: flex-start; }
.story-card .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.logo-wall {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.logo-wall .logo-item { width: auto; height: 120px; }
.logo-wall .logo-item img { filter: none; opacity: 1; max-height: 56px; }
.fine-print { margin-top: 22px; text-align: center; font-size: 0.82rem; color: var(--muted); }

/* ─── Portfolio ─── */
.pf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.pf-type {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--heading);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.page-hero--project { padding: 56px 0 72px; }
.pj-hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.pj-hero h1 { font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); }
.pj-cover { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); }
.pj-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pj-facts { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.pj-facts div { padding: 12px 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.pj-facts dt { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.pj-facts dd { margin: 2px 0 0; font-weight: 700; color: var(--heading); }
.pj-body { padding-top: 24px; }
.pj-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.pj-notice {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  margin-bottom: 32px;
  border-radius: var(--r);
  background: #fff8ec;
  border: 1px solid #fde3b5;
  color: #7c4a03;
  font-size: 0.95rem;
  line-height: 1.6;
}
.pj-notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.pj-block + .pj-block { margin-top: 44px; }
.pj-block h2 { font-size: 1.6rem; font-weight: 800; }
.pj-block > p { margin-top: 14px; font-size: 1.05rem; line-height: 1.8; }
.wf-list { margin-top: 22px; display: grid; gap: 14px; counter-reset: wf; }
.wf-step {
  display: flex;
  gap: 18px;
  padding: 20px 22px;
  border-radius: var(--r);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}
.wf-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--grad-teal);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.wf-step h3 { font-size: 1.08rem; font-weight: 700; }
.wf-step p { margin-top: 4px; line-height: 1.6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag-list li { padding: 6px 14px; border-radius: 999px; background: var(--bg-tint); color: var(--blue-dark); font-weight: 600; font-size: 0.9rem; }
.pj-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.pj-gallery:empty { display: none; }
.pj-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.pj-side { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 20px; }
.pj-card { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); }
.pj-card h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }
.pj-card--cta { background: var(--grad-dark); border: 0; color: #cfe0ff; display: grid; gap: 12px; }
.pj-card--cta h2 { color: #fff; margin-bottom: 0; }
.pj-card--cta p { margin-bottom: 6px; }

/* ─── Contact ─── */
.contact-main { padding-top: 32px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.contact-form-card {
  padding: 40px;
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
}
.contact-form-card h2 { font-size: 1.75rem; font-weight: 800; }
.contact-form-card > p { margin: 6px 0 26px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 26px; }
.form-actions .form-status { flex: 1 1 260px; }
.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}
.is-loading .spinner { display: inline-block; }
.is-loading .ar { display: none; }
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.contact-side { display: grid; gap: 18px; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--sh); }
.contact-card .icon-3d { width: 46px; height: 46px; flex: none; }
.contact-card h3 { font-size: 1.05rem; font-weight: 700; }
.contact-card p, .contact-card a:not(.link-arrow) { margin-top: 4px; display: block; word-break: break-word; }
.contact-card a:not(.link-arrow) { color: var(--link); font-weight: 600; }
.contact-card .link-arrow { margin-top: 10px; }
.contact-card--consult { background: linear-gradient(135deg, #f0fbf9, #eef4ff); }
.contact-map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); aspect-ratio: 4 / 3; }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* FAQ accordion */
.faq-wrap { max-width: 880px; }
.faq { display: grid; gap: 12px; }
.faq-item { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh-sm); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item:has(.faq-q[aria-expanded="true"]) { border-color: #bfe9e3; box-shadow: var(--sh); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
}
.faq-q:focus-visible { outline: 3px solid rgba(26, 92, 240, 0.4); outline-offset: -3px; border-radius: var(--r); }
.faq-ico { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-tint); transition: background-color 0.3s, transform 0.35s var(--ease); }
.faq-ico::before, .faq-ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--blue); transition: transform 0.35s var(--ease), background-color 0.3s; }
.faq-ico::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-ico { background: var(--teal); transform: rotate(180deg); }
.faq-q[aria-expanded="true"] .faq-ico::before, .faq-q[aria-expanded="true"] .faq-ico::after { background: #fff; }
.faq-q[aria-expanded="true"] .faq-ico::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.4s var(--ease); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; line-height: 1.75; }
.faq-a.is-open { grid-template-rows: 1fr; }
html:not(.js) .faq-a { grid-template-rows: 1fr; }

/* 404 */
.page-hero--404 { padding: 110px 0 130px; }
.nf-code { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 3rem + 8vw, 9rem); line-height: 1; background: var(--grad-head-2); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── Responsive ─── */
@media (max-width: 1279px) {
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
  .page-hero--media .page-hero-inner { min-height: 0; padding-block: 56px 300px; }
  .page-hero-media { left: 0; top: auto; height: 340px; }
  .page-hero-media img {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
  }
  .split { grid-template-columns: 1fr; gap: 56px; }
  .why-grid, .post-grid, .pf-grid, .rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-feature { grid-template-columns: 1fr; }
  .post-feature-media { min-height: 0; aspect-ratio: 16 / 9; }
  .pj-hero, .pj-layout, .contact-layout { grid-template-columns: 1fr; }
  .pj-side { position: static; }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-band--simple .cta-copy { padding-left: 24px; }
}
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .timeline::before { top: 22px; bottom: 22px; left: 30px; right: auto; width: 3px; height: auto; background: linear-gradient(180deg, var(--teal), var(--blue), var(--purple), var(--pink)); }
  .tl-step { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 20px; text-align: left; padding: 0 0 30px; }
  .tl-dot { grid-row: span 3; margin: 0; }
  .tl-step .icon-3d { display: none; }
  .tl-step h3 { margin-top: 8px; }
  .tl-step p { margin-inline: 0; max-width: none; }
  .mv-grid, .story-grid { grid-template-columns: 1fr; }
  .cta-band--simple .cta-copy { padding: 0; }
  .article-cta { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 640px) {
  .page-hero { padding: 44px 0 56px; }
  .page-hero--media { padding: 0; }
  .page-hero--media .page-hero-inner { padding-block: 44px 250px; }
  .page-hero-media { height: 280px; }
  .why-grid, .post-grid, .pf-grid, .rv-grid, .team-grid { grid-template-columns: 1fr; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall .logo-item { height: 96px; padding: 14px 18px; }
  .mv-card, .contact-form-card { padding: 26px 20px; }
  .post-feature-body { padding: 26px 22px; }
  .list-tools { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding: 4px 2px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .search-box--inline { width: 100%; }
  .split-badge { left: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .faq-q { padding: 18px; font-size: 1rem; }
  .faq-a p { padding: 0 18px 18px; }
  .page-hero--article { padding-bottom: 110px; }
  .article-wrap { margin-top: -80px; }
  .prose { font-size: 1.02rem; }
  .pj-gallery { grid-template-columns: 1fr; }
}
.pj-gallery figure, .article-cover, .pj-cover { margin: 0; }

/* Seven top-level links: keep them on one line on smaller desktops */
.nav-link { white-space: nowrap; }
@media (min-width: 1101px) and (max-width: 1320px) {
  .nav { gap: 14px; }
  .logo-img { height: 28px; }
  .nav-link { padding: 0 9px; font-size: 0.88rem; }
  .nav-actions { gap: 8px; margin-left: 6px; }
  .nav-actions .btn--sm { padding: 0 14px; font-size: 0.82rem; }
}
@media (min-width: 1101px) and (max-width: 1200px) {
  .nav-link { padding: 0 7px; font-size: 0.84rem; }
  .nav-actions .btn--sm .ar { display: none; }
}


/* 18 ─ Header phone, footer contact, scrollbar ─────────────────────────────── */
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 16px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: background-color 0.2s;
}
.nav-phone:hover { background: rgba(255, 255, 255, 0.24); }
.nav-phone svg { width: 18px; height: 18px; flex: none; }
/* not enough room for the number next to the full menu: show the phone icon only */
@media (max-width: 1440px) {
  .nav-phone { width: 44px; padding: 0; justify-content: center; }
  .nav-phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.footer-contact li.footer-address { align-items: flex-start; }
.footer-contact li.footer-address svg { margin-top: 3px; }
.footer-contact address { font-style: normal; line-height: 1.6; color: #a9b8d8; }

/* Scrollbar in the same colours as the cursor dot */
/* Chrome, Edge and Safari draw the gradient below. Setting scrollbar-color would make them use a single
   colour instead, so it is only applied in browsers without these styles (Firefox can't draw gradients). */
@supports not selector(::-webkit-scrollbar) {
  html { scrollbar-color: #8b5cf6 #eef3fb; }
}
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: #eef3fb; }
::-webkit-scrollbar-thumb {
  border: 3px solid #eef3fb;
  border-radius: 999px;
  background: linear-gradient(180deg, #14bfa9, #2f7bff, #8b5cf6, #ec4899, #f97316);
}
::-webkit-scrollbar-thumb:hover { border-width: 2px; }
/* inner scroll areas (chat, menus) keep a slim version */
.ask-log::-webkit-scrollbar, .modal-body::-webkit-scrollbar { width: 8px; }
.ask-log::-webkit-scrollbar-track, .modal-body::-webkit-scrollbar-track { background: transparent; }
.ask-log::-webkit-scrollbar-thumb, .modal-body::-webkit-scrollbar-thumb { border-width: 2px; border-color: transparent; background-clip: padding-box; }

/* 19 ─ Ask AI chat ───────────────────────────────────────────────────────────
   Button and panel are added by js/main.js; answers come from /api/ask. */
.has-ask .to-top { bottom: 88px; }
.ask-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 52px;
  padding: 0 20px 0 16px;
  border-radius: 999px;
  background: var(--grad-head-2);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px -12px rgba(79, 70, 229, 0.75);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.ask-fab:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(79, 70, 229, 0.85); }
.ask-fab:focus-visible { outline: 3px solid rgba(26, 92, 240, 0.45); outline-offset: 3px; }
.ask-fab svg { width: 20px; height: 20px; }
.ask-fab[aria-expanded="true"] { opacity: 0; pointer-events: none; transform: scale(0.9); }

.ask-panel {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 96;
  width: min(380px, calc(100vw - 32px));
  height: min(560px, calc(100dvh - 120px));
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.ask-panel[hidden] { display: flex; visibility: hidden; opacity: 0; transform: translateY(12px) scale(0.96); pointer-events: none; }
.ask-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 18px;
  background: var(--grad-nav);
  color: #fff;
}
.ask-head .ask-ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.16); flex: none; }
.ask-head .ask-ico svg { width: 18px; height: 18px; }
.ask-head strong { display: block; font-family: var(--font-head); font-size: 1rem; color: #fff; }
.ask-head small { display: block; font-size: 0.76rem; color: rgba(255, 255, 255, 0.78); }
.ask-head .ask-actions { margin-left: auto; display: flex; gap: 4px; }
.ask-head button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.ask-head button:hover { background: rgba(255, 255, 255, 0.14); }
.ask-head button svg { width: 18px; height: 18px; }

.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); overscroll-behavior: contain; }
.ask-msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }
.ask-msg p + p, .ask-msg p + ul, .ask-msg ul + p { margin-top: 8px; }
.ask-msg ul { padding-left: 18px; list-style: disc; }
.ask-msg a { color: var(--link); text-decoration: underline; }
.ask-msg strong { color: var(--heading); }
.ask-msg--bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); color: var(--text); border-bottom-left-radius: 6px; }
.ask-msg--me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 6px; }
.ask-msg--error { border-color: #f5c2c7; }
.ask-msg--bot .ask-links { display: grid; gap: 6px; margin-top: 8px; }
.ask-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.ask-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: askDot 1.2s infinite ease-in-out; }
.ask-typing i:nth-child(2) { animation-delay: 0.15s; }
.ask-typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes askDot { 0%, 80%, 100% { opacity: 0.3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

.ask-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ask-chips button {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
}
.ask-chips button:hover { border-color: var(--blue); color: var(--link); }

.ask-form { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.ask-form textarea {
  flex: 1;
  min-height: 42px;
  max-height: 120px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line-2);
  background: var(--surface);
  color: var(--ink);
  resize: none;
  line-height: 1.4;
}
.ask-form textarea:focus { outline: none; border-color: var(--blue); }
.ask-form button { width: 42px; height: 42px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--grad-teal); color: #fff; }
.ask-form button[disabled] { opacity: 0.5; cursor: not-allowed; }
.ask-form button svg { width: 18px; height: 18px; }
.ask-note { padding: 0 14px 10px; font-size: 0.72rem; color: var(--muted); background: var(--surface); text-align: center; }

@media (max-width: 640px) {
  .ask-fab { right: 14px; bottom: 14px; height: 48px; padding: 0 16px 0 14px; }
  .has-ask .to-top { right: 14px; bottom: 74px; }
  .ask-panel { right: 8px; left: 8px; bottom: 8px; width: auto; height: min(560px, calc(100dvh - 90px)); }
}
@media print { .ask-fab, .ask-panel { display: none !important; } }.ask-links .link-btn { justify-self: start; text-align: left; }.ask-links + p { margin-top: 10px; }
.contact-card address { font-style: normal; line-height: 1.6; color: var(--text); }
.list-empty a { color: var(--link); text-decoration: underline; }
#tmEmpty { max-width: 640px; margin: 0 auto; padding-top: 8px; }

/* Booking form: services dropdown (several can be chosen) */
.multi-select { position: relative; }
.multi-select > summary {
  list-style: none;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--muted);
  padding-right: 42px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230b1b3f' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 14px center/18px no-repeat;
  user-select: none;
}
.multi-select > summary::-webkit-details-marker { display: none; }
.multi-select > summary.has-value { color: var(--ink); font-weight: 500; }
.multi-select[open] > summary { border-color: var(--blue); }
.multi-select > summary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ms-panel {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--surface);
  box-shadow: var(--sh-lg);
}
.ms-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 8px; }
.ms-opt {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--ink);
  cursor: pointer;
}
.ms-opt:hover { background: var(--bg-tint); }
.ms-opt input { width: 17px; height: 17px; accent-color: var(--purple); flex: none; }
@media (max-width: 640px) { .ms-list { grid-template-columns: 1fr; } }

/* Contact page: opening hours under the phone number */
.contact-hours { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 0.88rem; color: var(--muted); }
.contact-hours svg { width: 15px; height: 15px; color: var(--teal); flex: none; }
.contact-card .muted { font-size: 0.86rem; margin-top: 2px; }
/* About page: at-a-glance strip, what we do, leadership, visit us */
.about-glance { position: relative; z-index: 2; margin-top: -36px; padding-bottom: 8px; }
.about-glance .capabilities { margin-top: 0; }
.wwd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wwd-card {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid rgb(var(--accent));
  box-shadow: var(--sh-sm);
}
.wwd-card .icon-3d { width: 48px; height: 48px; }
.wwd-card h3 { margin-top: 16px; font-size: 1.2rem; font-weight: 800; }
.wwd-card > p { margin-top: 8px; font-size: 0.94rem; }
.wwd-card ul { margin-top: 16px; display: grid; gap: 8px; }
.wwd-card li a { display: flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink); }
.wwd-card li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent)); flex: none; }
.wwd-card li a:hover { color: var(--link); }
.wwd-card .link-arrow { margin-top: auto; padding-top: 18px; }

.leader-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 28px; }
.leader-card { border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--sh); }
.leader-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #e9f6ff 0%, #f1ecff 60%, #fff1f8 100%);
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-photo .icon-3d { width: 120px; height: 120px; opacity: 0.85; }
.leader-body { padding: 22px 24px 26px; text-align: center; }
.leader-name { font-size: 1.3rem; font-weight: 800; }
.leader-role { display: block; margin-top: 4px; font-size: 0.86rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.leader-bio { margin-top: 12px; font-size: 0.94rem; }
.leader-links { margin-top: 14px; display: flex; justify-content: center; gap: 10px; }

.visit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.visit-grid .contact-card address { font-style: normal; line-height: 1.6; color: var(--text); }
.visit-grid .link-arrow { margin-top: 10px; }

@media (max-width: 1100px) {
  .wwd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .about-glance { margin-top: 0; padding-top: 24px; }
  .about-glance .capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .wwd-grid, .leader-grid { grid-template-columns: 1fr; }
  .leader-grid { max-width: 360px; margin: 0 auto; }
  .about-glance .capabilities { grid-template-columns: 1fr; }
}

/* All Services page (services/index.html) */
.sv-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 30px; }
.sv-jump a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: var(--sh-sm);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s, transform 0.2s;
}
.sv-jump a:hover { border-color: var(--blue); transform: translateY(-2px); }
.sv-jump .icon-3d { width: 26px; height: 26px; }
.sv-jump span { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 0.76rem; background: var(--bg-tint); color: var(--blue-dark); }
.sv-area { scroll-margin-top: calc(var(--header-h) + 8px); }
.sv-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sv-item {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  scroll-margin-top: calc(var(--header-h) + 16px);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sv-item:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.sv-item-media { display: block; min-height: 100%; background: var(--bg-tint); overflow: hidden; }
.sv-item-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.sv-item:hover .sv-item-media img { transform: scale(1.04); }
.sv-item-body { display: flex; flex-direction: column; padding: 26px 26px 24px; }
.sv-item-body h3 { font-size: 1.25rem; font-weight: 800; }
.sv-item-body h3 a:hover { color: var(--link); }
.sv-item-body > p { margin-top: 8px; font-size: 0.94rem; line-height: 1.6; }
.sv-item-tasks { margin-top: 14px; display: grid; gap: 6px; }
.sv-item-tasks li { position: relative; padding-left: 20px; font-size: 0.88rem; color: var(--ink); }
.sv-item-tasks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/9px no-repeat;
}
.sv-item-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: auto; padding-top: 20px; }
@media (max-width: 1100px) {
  .sv-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sv-item { grid-template-columns: 1fr; }
  .sv-item-media { aspect-ratio: 16 / 10; }
  .sv-item-body { padding: 22px 20px; }
}
/* Partner logos: compact tiles. Desktop: a fixed centred row. Phones: a slider moving right to left
   (js/main.js adds hidden copies of the logos so the loop is seamless; they only show on phones). */
.logo-track, .logo-wall { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-item, .logo-wall .logo-item { flex: none; width: 150px; height: 74px; padding: 12px 18px; border-radius: 14px; }
.logo-item img, .logo-wall .logo-item img { max-height: 34px; }
.logo-clone { display: none; }
@keyframes logoSlide { to { transform: translateX(calc(-50% - 6px)); } }
@media (max-width: 640px) {
  .logo-slider {
    overflow: hidden;
    margin: 0 -16px;
    padding: 6px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  }
  .logo-slider > .logo-track, .logo-slider > .logo-wall {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: 12px;
    animation: logoSlide 20s linear infinite;
  }
  .logo-slider .logo-clone { display: grid; }
  .logo-slider .logo-item { width: 112px; height: 56px; padding: 10px 14px; border-radius: 12px; }
  .logo-slider .logo-item img { max-height: 26px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .logo-slider { -webkit-mask-image: none; mask-image: none; }
  .logo-slider > .logo-track, .logo-slider > .logo-wall { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .logo-slider .logo-clone { display: none; }
}
/* All Services page: compact cards (photo on top, three per row) */
.sv-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sv-item { grid-template-columns: 1fr; border-radius: var(--r-lg); }
.sv-item-media { min-height: 0; aspect-ratio: 16 / 9; }
.sv-item-body { padding: 18px 20px 20px; }
.sv-item-body h3 { font-size: 1.08rem; }
.sv-item-body > p { margin-top: 6px; font-size: 0.88rem; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sv-item-tasks { margin-top: 10px; gap: 4px; }
.sv-item-tasks li { font-size: 0.82rem; padding-left: 18px; }
.sv-item-tasks li:nth-child(n + 5) { display: none; }
.sv-item-tasks li::before { width: 11px; height: 11px; background-size: 8px; }
.sv-item-actions { gap: 10px 14px; padding-top: 14px; }
.sv-item-actions .btn--sm { padding: 0 14px; height: 38px; font-size: 0.82rem; }
.sv-item-actions .link-arrow { font-size: 0.84rem; }
@media (max-width: 1100px) { .sv-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .sv-list { grid-template-columns: 1fr; }
  .sv-item-media { aspect-ratio: 16 / 9; }
  .sv-item-body { padding: 16px 18px 18px; }
}@media (min-width: 1280px) { .sv-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } .sv-item-body { padding: 16px 18px 18px; } }

/* All Services page: photos framed like the homepage service cards (square, inset, rounded corners) */
.sv-item-media {
  margin: 16px 16px 0;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
}
.sv-item-media img { border-radius: 14px; }
@media (max-width: 640px) {
  .sv-item-media { aspect-ratio: 4 / 3; }
}
/* Industries: bigger cards (5 per row) with animated icons */
.industries-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.ind-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px 22px 18px;
  border-radius: var(--r-lg);
}
/* soft glow behind the icon, in the industry's colour */
.ind-card::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--accent), 0.22) 0%, rgba(var(--accent), 0) 70%);
  animation: indGlow 3.6s ease-in-out infinite;
  pointer-events: none;
}
.ind-card .icon-3d {
  position: relative;
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 14px rgba(var(--accent), 0.28));
  animation: indFloat 3.6s ease-in-out infinite;
  transition: scale 0.35s var(--ease);
}
.ind-card h3 { margin-top: 22px; font-size: 1.05rem; line-height: 1.3; }
.ind-card .arrow { width: 32px; height: 32px; }
.ind-card .arrow svg { width: 15px; height: 15px; }
.ind-card:hover .icon-3d, .ind-card:focus-visible .icon-3d { transform: none; scale: 1.14; }
/* each card's icon moves slightly out of step with the next */
.industries-grid .ind-card:nth-child(2n) .icon-3d, .industries-grid .ind-card:nth-child(2n)::before { animation-delay: -0.9s; }
.industries-grid .ind-card:nth-child(3n) .icon-3d, .industries-grid .ind-card:nth-child(3n)::before { animation-delay: -1.8s; }
.industries-grid .ind-card:nth-child(5n) .icon-3d, .industries-grid .ind-card:nth-child(5n)::before { animation-delay: -2.7s; }
@keyframes indFloat {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  25% { translate: 0 -7px; rotate: -4deg; }
  50% { translate: 0 -3px; rotate: 0deg; }
  75% { translate: 0 -8px; rotate: 4deg; }
}
@keyframes indGlow {
  0%, 100% { transform: scale(0.85); opacity: 0.7; }
  50% { transform: scale(1.15); opacity: 1; }
}
@media (max-width: 860px) {
  .industries-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ind-card { min-height: 170px; padding: 20px 16px 14px; }
  .ind-card .icon-3d { width: 52px; height: 52px; }
  .ind-card::before { width: 76px; height: 76px; top: 10px; left: 8px; }
  .ind-card h3 { margin-top: 16px; font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ind-card .icon-3d, .ind-card::before { animation: none; }
}
/* How it works: animated step icons, number badges and arrows */
.step .icon-3d { filter: drop-shadow(0 10px 14px rgba(31, 56, 130, 0.18)); transition: scale 0.35s var(--ease); }
.step:hover .icon-3d { scale: 1.12; }
/* 01 Tell us what you need: chat bubbles bounce like a conversation */
.process .step:nth-child(2) .icon-3d { animation: stepTalk 2.4s ease-in-out infinite; }
/* 02 We design your solution: the document tilts as if being reviewed */
.process .step:nth-child(3) .icon-3d { animation: stepTilt 3.2s ease-in-out infinite; }
/* 03 Meet your team: the group pulses */
.process .step:nth-child(4) .icon-3d { animation: stepPulse 2.8s ease-in-out infinite; }
/* 04 Launch: the rocket lifts off and settles */
.process .step:nth-child(5) .icon-3d { animation: stepLaunch 2.6s ease-in-out infinite; }
/* 05 Monitor & scale: the chart grows */
.process .step:nth-child(6) .icon-3d { transform-origin: 50% 100%; animation: stepGrow 3s ease-in-out infinite; }
@keyframes stepTalk {
  0%, 100% { translate: 0 0; scale: 1; }
  15% { translate: 0 -8px; scale: 1.06; }
  30% { translate: 0 0; scale: 1; }
  45% { translate: 0 -4px; scale: 1.03; }
  60% { translate: 0 0; scale: 1; }
}
@keyframes stepTilt {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  25% { rotate: -8deg; translate: 0 -4px; }
  75% { rotate: 8deg; translate: 0 -4px; }
}
@keyframes stepPulse {
  0%, 100% { scale: 1; }
  50% { scale: 1.12; }
}
@keyframes stepLaunch {
  0%, 100% { translate: 0 0; rotate: 0deg; }
  40% { translate: 6px -10px; rotate: -6deg; }
  60% { translate: 6px -10px; rotate: -6deg; }
}
@keyframes stepGrow {
  0%, 100% { scale: 1 0.9; }
  50% { scale: 1 1.08; }
}
/* number badges pulse one after another, 01 → 05 */
.step-num { animation: stepNum 5s ease-in-out infinite; }
.process .step:nth-child(3) .step-num { animation-delay: 1s; }
.process .step:nth-child(4) .step-num { animation-delay: 2s; }
.process .step:nth-child(5) .step-num { animation-delay: 3s; }
.process .step:nth-child(6) .step-num { animation-delay: 4s; }
@keyframes stepNum {
  0%, 30%, 100% { scale: 1; box-shadow: 0 0 0 0 rgba(47, 123, 255, 0); }
  12% { scale: 1.15; box-shadow: 0 0 0 8px rgba(47, 123, 255, 0.15); }
}
/* arrows between steps nudge forward */
.step:not(:last-child)::after { animation: stepArrow 1.6s ease-in-out infinite; }
@keyframes stepArrow {
  0%, 100% { translate: 0 0; opacity: 0.6; }
  50% { translate: 5px 0; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .step .icon-3d, .step-num, .step:not(:last-child)::after { animation: none; }
}
/* Hero 'Dedicated Professionals' card: real team photos in the avatar circles */
.avatar--photo { overflow: hidden; background: #e9eef8; }
.avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
