/* ==========================================================================
   INFOSOLZ — NEW DESIGN SYSTEM
   Clean corporate light. Self-contained: no Bootstrap / jQuery needed.
   ========================================================================== */

/* Self-hosted fonts (latin, variable). Preloaded in every page head. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --navy-950: #071726;
  --navy-900: #0a1f33;
  --navy-800: #0f2b45;
  --blue-700: #094b75;
  --blue-600: #0b5c8e;
  --blue-500: #1172ad;
  --blue-50: #eaf3fa;
  --teal-600: #0f8a6b;
  --teal-500: #13a07d;
  --teal-50: #e7f6f1;
  --orange-500: #f2783a;

  /* Neutrals */
  --ink: #0b1726;
  --text: #46566b;
  --muted: #6c7b8e;
  --line: #e3e9f0;
  --line-strong: #d2dbe5;
  --bg: #ffffff;
  --bg-alt: #f5f8fb;

  --grad: linear-gradient(135deg, #0b5c8e 0%, #0f7f8c 55%, #13a07d 100%);
  --grad-soft: linear-gradient(135deg, rgba(11, 92, 142, 0.08), rgba(19, 160, 125, 0.1));

  /* Type */
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: 0.75rem;     /* 12 */
  --fs-sm: 0.8125rem;   /* 13 */
  --fs-base: 0.9375rem; /* 15 */
  --fs-md: 1rem;        /* 16 */
  --fs-lg: 1.125rem;    /* 18 */
  --fs-xl: 1.375rem;    /* 22 */
  --fs-h2: clamp(1.625rem, 1.2rem + 1.5vw, 2.375rem);  /* 26 → 38 */
  --fs-h1: clamp(2rem, 1.35rem + 2.4vw, 3.25rem);      /* 32 → 52 */

  /* Shape */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 24px;

  --sh-xs: 0 1px 2px rgba(11, 23, 38, 0.06);
  --sh-sm: 0 1px 2px rgba(11, 23, 38, 0.04), 0 4px 12px rgba(11, 23, 38, 0.05);
  --sh-md: 0 2px 6px rgba(11, 23, 38, 0.04), 0 16px 36px -12px rgba(11, 23, 38, 0.16);
  --sh-lg: 0 4px 10px rgba(11, 23, 38, 0.05), 0 32px 64px -20px rgba(11, 23, 38, 0.24);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section: clamp(36px, 4vw, 60px);
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6, p, figure {
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--teal-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: rgba(19, 160, 125, 0.18);
  color: var(--ink);
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section) 0;
  position: relative;
}

.section--alt {
  background: var(--bg-alt);
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

/* Section heading */
.section-head {
  margin-bottom: clamp(24px, 3vw, 36px);
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.section-head--center {
  text-align: center;
}

.section-head h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin-top: 16px;
  border-radius: 3px;
  background: var(--grad);
  transform: scaleX(var(--rule, 1));
  transform-origin: left;
}

.section-head--center h2::after {
  margin-left: auto;
  margin-right: auto;
  transform-origin: center;
}

/* --------------------------------------------------------------------------
   3. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}

.btn .icon {
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}

.btn:hover .icon {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--blue-600);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(11, 92, 142, 0.55);
}

.btn--primary:hover {
  background: var(--blue-700);
  box-shadow: 0 10px 22px -8px rgba(11, 92, 142, 0.6);
}

.btn--outline {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--line-strong);
}

.btn--outline:hover {
  border-color: var(--blue-600);
  background: var(--blue-50);
}

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background-color 0.3s var(--ease), transform 0.5s var(--ease);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
  }
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(11, 23, 38, 0.35);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img {
  width: 150px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.nav-link .icon {
  font-size: 14px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover,
.nav-item:focus-within > .nav-link {
  color: var(--blue-600);
}

.nav-link.is-active {
  color: var(--blue-600);
}

/* Sliding underline: sits under the active item, glides to whichever item
   is hovered / focused, and glides back when the pointer leaves the menu. */
.site-nav {
  position: relative;
}

.nav-indicator {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w, 0);
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--x, 0), var(--y, 0), 0);
  transition:
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease;
}

.nav-indicator.is-visible {
  opacity: 1;
}

.nav-indicator.is-instant {
  transition: none;
}

@media (max-width: 991px) {
  .nav-indicator {
    display: none;
  }
}

.nav-item--cta .nav-link {
  margin-left: 8px;
  color: #fff;
  background: var(--blue-600);
  padding: 0 18px;
}

.nav-item--cta .nav-link:hover {
  color: #fff;
  background: var(--blue-700);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 240px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

.dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.dropdown--wide {
  width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.nav-item:hover > .dropdown,
.nav-item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-item:hover > .nav-link .icon,
.nav-item:focus-within > .nav-link .icon {
  transform: rotate(180deg);
}

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--r-sm);
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}

.dropdown a::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--line-strong);
  transition: background-color 0.2s var(--ease);
}

.dropdown a:hover {
  background: var(--bg-alt);
  color: var(--blue-600);
}

.dropdown a:hover::before {
  background: var(--teal-500);
}

/* Mobile nav controls */
.nav-toggle,
.nav-close {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-sm);
  font-size: 22px;
}

.nav-toggle {
  color: #fff;
  background: var(--blue-600);
}

.nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
}

.nav-backdrop {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(36px, 5vw, 72px) 0 clamp(48px, 6vw, 84px);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(820px 560px at 94% 4%, rgba(19, 160, 125, 0.38), transparent 62%),
    radial-gradient(680px 460px at 62% 70%, rgba(17, 114, 173, 0.2), transparent 66%),
    radial-gradient(760px 520px at -6% 106%, rgba(11, 92, 142, 0.3), transparent 62%),
    radial-gradient(520px 360px at 18% 18%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(150deg, #eef5fc 0%, #dceaf7 50%, #d4eee5 100%);
}

/* Rings behind the hero image */
.hero-grid::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: -90px;
  width: 560px;
  height: 560px;
  margin-top: -280px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  outline: 1.5px dashed rgba(11, 92, 142, 0.22);
  outline-offset: 40px;
  box-shadow: inset 0 0 0 70px rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

/* Two soft glows that drift slowly behind the content */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(closest-side at 72% 30%, rgba(19, 160, 125, 0.2), transparent),
    radial-gradient(closest-side at 22% 72%, rgba(17, 114, 173, 0.1), transparent);
  background-size: 60% 60%, 55% 55%;
  background-repeat: no-repeat;
  background-position: 78% 18%, 12% 82%;
  animation: heroGlow 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(2%, -2%, 0) scale(0.98); }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 92, 142, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 142, 0.085) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
  pointer-events: none;
}

/* Light beams travelling along the hero grid lines (same 56px cell, same mask) */
.hero-beams {
  --cell: 56px;
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 80% at 70% 30%, #000 20%, transparent 75%);
}

.beam {
  --c: 11, 92, 142;
  position: absolute;
  opacity: 0.55;
  will-change: transform;
  animation: var(--dur) linear var(--delay) infinite;
}

.beam--t {
  --c: 19, 160, 125;
}

.beam--h {
  left: 0;
  top: calc(var(--p) * var(--cell));
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, rgba(var(--c), 0), rgba(var(--c), 0.9));
  animation-name: beamX;
}

.beam--v {
  top: 0;
  left: calc(var(--p) * var(--cell));
  width: 1px;
  height: 160px;
  background: linear-gradient(180deg, rgba(var(--c), 0), rgba(var(--c), 0.9));
  animation-name: beamY;
}

/* grid line each beam runs on (--p), lap time (--dur), start offset (--delay) */
.beam--1 { --p: 2;  --dur: 11s;   --delay: -3s; }
.beam--2 { --p: 5;  --dur: 14s;   --delay: -8s; }
.beam--3 { --p: 8;  --dur: 12s;   --delay: -5s; }
.beam--4 { --p: 10; --dur: 15s;   --delay: -11s; }
.beam--5 { --p: 12; --dur: 9s;    --delay: -2s; }
.beam--6 { --p: 15; --dur: 12.5s; --delay: -7s; }
.beam--7 { --p: 18; --dur: 10s;   --delay: -4s; }
.beam--8 { --p: 21; --dur: 13.5s; --delay: -9s; }
.beam--9 { --p: 24; --dur: 11.5s; --delay: -6s; }

@keyframes beamX {
  from { transform: translate3d(-220px, 0, 0); }
  to { transform: translate3d(calc(100vw + 20px), 0, 0); }
}

@keyframes beamY {
  from { transform: translate3d(0, -180px, 0); }
  to { transform: translate3d(0, 900px, 0); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.hero-title {
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 22px 0 0;
  border-radius: 4px;
  background: var(--grad);
  transform: scaleX(var(--rule, 1));
  transform-origin: left;
}

.hero-lead {
  margin-top: 20px;
  max-width: 540px;
  font-size: clamp(var(--fs-base), 0.9rem + 0.25vw, var(--fs-lg));
  line-height: 1.75;
  color: var(--text);
}

.hero-media {
  position: relative;
  padding: 0 0 28px 28px;
}

.hero-media::before {
  content: "";
  opacity: var(--frame-o, 1);
  translate: var(--frame-x, 0) 0;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70%;
  height: 78%;
  border-radius: var(--r-xl);
  background: var(--grad);
}

/* Dot field peeking out from behind the image, top right */
.hero-media::after {
  content: "";
  position: absolute;
  top: -26px;
  right: -26px;
  width: 150px;
  height: 130px;
  background-image: radial-gradient(rgba(11, 92, 142, 0.45) 1.6px, transparent 2.1px);
  background-size: 16px 16px;
  pointer-events: none;
}

.hero-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   6. AI / ML
   -------------------------------------------------------------------------- */
.aiml-grid {
  display: grid;
  grid-template-columns: 1fr 300px 1fr;
  align-items: center;
  gap: clamp(16px, 2.5vw, 32px);
}

.aiml-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: var(--sh-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.aiml-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
}

.aiml-card h2 {
  display: inline-block;
  font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li + li {
  margin-top: 9px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.7 2.6L14.2 7.4' fill='none' stroke='%2313A07D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--teal-50);
}

.aiml-visual {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}

.aiml-rings {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.aiml-rings circle {
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.aiml-rings .ring-inner {
  stroke: rgba(19, 160, 125, 0.45);
  stroke-dasharray: 3 5;
  transform-origin: 50% 50%;
}

.aiml-visual img {
  position: relative;
  width: 62%;
}

/* Animated brain (drawn on scroll by site.js; fully drawn without JS) */
.aiml-visual .brain {
  position: relative;
  width: 72%;
  overflow: visible;
}

/* signals running from the circuit half across to the neural half */
.brain-pulses path {
  stroke: #5fd3ae;
  stroke-width: 2.6;
  stroke-dasharray: 9 100;
  stroke-dashoffset: 9;
  animation: brainPulse 2.6s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

.brain-pulses path:nth-of-type(2) { animation-delay: -0.85s; }
.brain-pulses path:nth-of-type(3) { animation-delay: -1.7s; }

@keyframes brainPulse {
  from { stroke-dashoffset: 9; }
  to { stroke-dashoffset: -100; }
}

/* a ring breathes out of each joint in the middle */
.brain-halo {
  fill: none;
  stroke: var(--teal-500);
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  animation: brainHalo 2.6s ease-out infinite;
}

.brain-halo:nth-of-type(2) { animation-delay: -0.85s; }
.brain-halo:nth-of-type(3) { animation-delay: -1.7s; }

@keyframes brainHalo {
  from { transform: scale(1); opacity: 0.8; }
  to { transform: scale(3.2); opacity: 0; }
}

.aiml-visual .dot {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 6px rgba(19, 160, 125, 0.12);
  right: 8%;
  bottom: 18%;
}

.triangle-draw {
  position: absolute;
  top: 2%;
  left: 6%;
  z-index: 1;
  width: 54px;
  height: 54px;
  transform: rotate(45deg);
}

@media (max-width: 991px) {
  .triangle-draw {
    width: 36px;
    height: 36px;
  }
}

.triangle-draw polygon {
  fill: none;
  stroke: var(--blue-600);
  stroke-width: 2;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   7. Industries (tabs)
   -------------------------------------------------------------------------- */
.industries {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: clamp(20px, 3vw, 36px);
  align-items: start;
}

.tab-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}

.tab {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 11px 16px;
  text-align: left;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  border-radius: var(--r-md);
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.tab .icon {
  font-size: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.tab:hover {
  color: var(--blue-600);
}

.tab[aria-selected="true"] {
  color: var(--blue-600);
  background: #fff;
  box-shadow: var(--sh-sm);
}

.tab[aria-selected="true"] .icon {
  opacity: 1;
  transform: none;
}

.tab-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  min-height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}

.tab-panel[hidden] {
  display: none;
}

.tab-panel.is-entering {
  animation: panelIn 0.5s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.tab-panel__media {
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.7), transparent 60%),
    var(--grad-soft),
    var(--bg-alt);
}

.tab-panel__media img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}

.tab-panel__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
}

.tab-panel__body h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  margin-bottom: 16px;
}

.tab-panel__body h3::before {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 20px;
  border-radius: 3px;
  background: var(--grad);
}

.tab-panel__body p {
  font-size: var(--fs-md);
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   8. Insight cards
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insight-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-xs);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

.insight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-md);
  border-color: transparent;
}

.insight-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--r-md);
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: 22px;
}

.insight-card:nth-child(2) .insight-card__icon {
  background: var(--teal-50);
  color: var(--teal-600);
}

.insight-card h3 {
  font-size: var(--fs-lg);
  line-height: 1.4;
  margin-bottom: 12px;
}

.insight-card p {
  flex: 1;
  color: var(--muted);
  margin-bottom: 20px;
}

.insight-card .btn {
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   9. Technology
   -------------------------------------------------------------------------- */
.tech-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 4.5vw, 60px) clamp(20px, 3.5vw, 52px);
  border-radius: 24px;
  background:
    radial-gradient(600px 320px at 50% 60%, rgba(19, 160, 125, 0.22), transparent 70%),
    radial-gradient(500px 300px at 0% 0%, rgba(17, 114, 173, 0.3), transparent 60%),
    var(--navy-900);
  color: #fff;
}

.tech-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 10%, transparent 75%);
  pointer-events: none;
}

.tech-panel .section-head h2 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tech-panel .section-head h2 span {
  background: linear-gradient(90deg, #5fd3ae, #6cc4f0);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.tech-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tech-tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.tech-tile:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.tech-tile img {
  width: 64%;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
  animation: floatY 5s var(--ease) infinite;
}

.tech-icons .tech-tile:nth-child(2n) img { animation-delay: -1.5s; }
.tech-icons .tech-tile:nth-child(3n) img { animation-delay: -3s; }

.tech-core {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(180px, 18vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.03) 70%);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.core-ring {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  overflow: visible;
}

.core-ring circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.tech-core img {
  width: 66%;
  position: relative;
}

/* --------------------------------------------------------------------------
   10. Data science
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.split-media {
  position: relative;
  padding: clamp(20px, 2.5vw, 32px);
  border-radius: var(--r-xl);
  background: var(--grad-soft), var(--bg-alt);
  border: 1px solid var(--line);
}

.split-media img {
  width: 100%;
}

.split-body h2 {
  font-size: var(--fs-h2);
}

.split-body h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  margin: 14px 0 20px;
  border-radius: 3px;
  background: var(--grad);
  transform: scaleX(var(--rule, 1));
  transform-origin: left;
}

.split-body p {
  font-size: var(--fs-md);
  line-height: 1.85;
}

/* --------------------------------------------------------------------------
   11. Testimonials
   -------------------------------------------------------------------------- */
.slider {
  position: relative;
}

.slider-viewport {
  overflow: hidden;
  border-radius: var(--r-xl);
}

.slider-track {
  display: grid;
  touch-action: pan-y;
}

.slide {
  grid-area: 1 / 1;
  min-width: 0;
}

.slide:not(.is-active) {
  visibility: hidden;
}

.testimonial {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
}

.testimonial__photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 32px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.18), transparent 55%),
    var(--grad);
}

.testimonial__photo > img {
  width: 82%;
}

.testimonial__quote {
  position: absolute;
  top: 36px;
  right: -28px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--navy-900);
  box-shadow: 0 12px 24px -10px rgba(10, 31, 51, 0.6);
}

.testimonial__quote img {
  width: 30px;
}

.testimonial__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 3vw, 44px) clamp(28px, 3vw, 44px) clamp(44px, 5vw, 68px);
}

.testimonial__body p {
  font-size: var(--fs-md);
  line-height: 1.8;
}

.testimonial__body p + p {
  margin-top: 12px;
}

.testimonial__author {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.testimonial__author h4 {
  font-size: var(--fs-md);
}

.testimonial__author h5 {
  margin-top: 2px;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--teal-600);
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 22px;
}

.slider-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 18px;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.slider-arrow:hover {
  background: var(--blue-600);
  border-color: var(--blue-600);
  color: #fff;
}

.slider-arrow:disabled {
  opacity: 0.4;
  pointer-events: none;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: var(--line-strong);
  transition: width 0.3s var(--ease), background-color 0.3s var(--ease);
}

.slider-dot[aria-current="true"] {
  width: 28px;
  background: var(--teal-500);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(44px, 5.5vw, 72px) 0 clamp(32px, 4vw, 44px);
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.68);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.4fr 1fr;
  gap: clamp(32px, 4vw, 56px);
}

.footer-brand img {
  width: 170px;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s var(--ease), padding-left 0.2s var(--ease);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-list li + li {
  margin-top: 14px;
}

.contact-list .icon {
  margin-top: 3px;
  font-size: 18px;
  color: #5fd3ae;
}

.contact-list a {
  color: #fff;
  font-weight: 500;
}

.contact-list a:hover {
  color: #5fd3ae;
}

.social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.social a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font-size: 17px;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.social a:hover {
  background: var(--teal-500);
  border-color: var(--teal-500);
}

.badges {
  display: flex;
  gap: 10px;
}

.badges img {
  width: 64px;
  border-radius: var(--r-sm);
  background: #fff;
  padding: 3px;
}

.footer-col + .footer-col .badges + h4,
.footer-col h4 + .badges + h4 {
  margin-top: 28px;
}

.footer-watermark {
  position: absolute;
  right: -20px;
  bottom: -30px;
  width: 220px;
  opacity: 0.06;
  pointer-events: none;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, 0.6);
}

.whatsapp img {
  width: 28px;
}

/* Back to top (created by site.js, sits above the WhatsApp button) */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 92px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 26px -10px rgba(11, 92, 142, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, box-shadow 0.3s var(--ease);
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  box-shadow: 0 16px 32px -10px rgba(11, 92, 142, 0.8);
}

.to-top svg {
  width: 20px;
  height: 20px;
}

/* --------------------------------------------------------------------------
   13. Preloader & reveal
   -------------------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: #fff;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
  animation: preloaderOut 0.01s 5s forwards;
}

.preloader img {
  width: 150px;
  animation: pulse 1.4s var(--ease) infinite;
}

.is-loaded .preloader {
  opacity: 0;
  visibility: hidden;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.97); }
}

@keyframes preloaderOut {
  to { opacity: 0; visibility: hidden; }
}

/* ---- Motion (driven by GSAP in site.js) -------------------------------
   CSS only provides the hooks GSAP tweens: CSS variables for pseudo-element
   rules (--rule) and the hero frame (--frame-o, --frame-x). Nothing is hidden
   by CSS, so the page is fully visible if scripts fail to load. */

/* SplitText line masks */
.line-mask {
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}

/* Cursor-follow light on cards (fine pointers only, set by JS) */
.aiml-card,
.insight-card {
  background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, -40%), rgba(11, 92, 142, 0.055), transparent 45%);
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   14. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .tech-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .tech-stage {
    gap: 12px;
  }

  .tech-core {
    order: -1;
    margin-bottom: 28px;
  }

  .tech-icons {
    width: 100%;
    max-width: 560px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  :root {
    --header-h: 68px;
  }

  .brand img {
    width: 132px;
  }

  .nav-toggle,
  .nav-close {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    width: min(360px, 86vw);
    padding: 76px 20px 32px;
    background: #fff;
    box-shadow: var(--sh-lg);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
  }

  .nav-open .site-nav {
    transform: none;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(7, 23, 38, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .nav-open .nav-backdrop {
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-item {
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    width: 100%;
    height: 52px;
    justify-content: space-between;
    padding: 0 6px;
    font-size: 15.5px;
  }

  .nav-link:hover,
  .nav-item:focus-within > .nav-link {
    background: transparent;
  }

  .nav-item--cta {
    border-bottom: 0;
    margin-top: 20px;
  }

  .nav-item--cta .nav-link {
    margin: 0;
    justify-content: center;
  }

  .dropdown,
  .dropdown--wide {
    position: static;
    width: auto;
    min-width: 0;
    display: block;
    padding: 0 0 0 6px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
  }

  .dropdown::before {
    display: none;
  }

  .nav-item:hover > .dropdown,
  .nav-item:focus-within > .dropdown {
    transform: none;
  }

  .nav-item.is-open > .dropdown {
    max-height: 900px;
    padding-bottom: 12px;
  }

  .nav-item:hover > .nav-link .icon,
  .nav-item:focus-within > .nav-link .icon {
    transform: none;
  }

  .nav-item.is-open > .nav-link .icon {
    transform: rotate(180deg);
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 620px;
  }

  .aiml-grid {
    grid-template-columns: 1fr;
  }

  .aiml-visual {
    width: min(260px, 80vw);
    margin: 0 auto;
    order: -1;
  }

  .industries {
    grid-template-columns: 1fr;
  }

  .tab-list {
    flex-direction: row;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tab-list::-webkit-scrollbar {
    display: none;
  }

  .tab {
    flex: none;
    width: auto;
    white-space: nowrap;
  }

  .tab .icon {
    display: none;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonial {
    grid-template-columns: 260px 1fr;
  }
}

@media (max-width: 767px) {
  .tab-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tab-panel__media {
    padding: 24px;
  }

  .tab-panel__media img {
    max-height: 220px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .tech-icons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .testimonial {
    grid-template-columns: 1fr;
  }

  .testimonial__photo {
    height: 280px;
  }

  .testimonial__photo > img {
    width: auto;
    height: 100%;
  }

  .testimonial__quote {
    top: auto;
    bottom: -28px;
    right: 24px;
  }

  .testimonial__body {
    padding: 44px 24px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-media {
    padding: 0 0 18px 18px;
  }

  .insight-card {
    padding: 22px;
  }

  .tech-icons {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .to-top {
    right: 20px;
    bottom: 80px;
    width: 44px;
    height: 44px;
  }
}

/* --------------------------------------------------------------------------
   15. Reduced motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-beams,
  .brain-pulses {
    display: none;
  }
}

/* ==========================================================================
   16. INNER PAGES
   Components used by the converted inner pages. Same tokens, same language
   as the home page: white cards, hairline borders, brand gradient accents.
   ========================================================================== */

/* ---- Layout utilities (light 12-col grid) ---- */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
  row-gap: 24px;
}

.row > * {
  flex: 0 0 auto;
  width: 100%;
  max-width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-6 { width: 50%; }
.col-12 { width: 100%; }

@media (min-width: 768px) {
  .col-md-4 { width: 33.3333%; }
  .col-md-5 { width: 41.6667%; }
  .col-md-6 { width: 50%; }
  .col-md-7 { width: 58.3333%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.3333%; }
  .col-lg-5 { width: 41.6667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.3333%; }
  .col-lg-8 { width: 66.6667%; }
  .col-lg-12 { width: 100%; }
}

.align-items-center { align-items: center; }
.text-center { text-align: center; }
.text-start { text-align: left; }
.text-uppercase { text-transform: uppercase; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.d-block { display: block; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }

@media (min-width: 576px) {
  .mt-sm-3 { margin-top: 16px; }
}

.text-brand { color: var(--blue-600); }

/* ---- Page hero (inner pages) ---- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 72px) 0 clamp(44px, 5.5vw, 80px);
  background:
    radial-gradient(640px 360px at 88% 0%, rgba(19, 160, 125, 0.11), transparent 65%),
    radial-gradient(560px 360px at 0% 100%, rgba(11, 92, 142, 0.07), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 92, 142, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 142, 0.055) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 65% 90% at 75% 35%, #000 15%, transparent 75%);
  mask-image: radial-gradient(ellipse 65% 90% at 75% 35%, #000 15%, transparent 75%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-hero h1.is-long {
  font-size: clamp(1.6rem, 1.15rem + 1.6vw, 2.375rem);
  line-height: 1.2;
}

.page-hero h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 22px;
  border-radius: 4px;
  background: var(--grad);
  transform: scaleX(var(--rule, 1));
  transform-origin: left;
}

.page-hero__copy > * + * {
  margin-top: 16px;
}

.page-hero__copy h4,
.page-hero__copy p {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.75;
  color: var(--text);
  max-width: 560px;
}

.page-hero__media {
  position: relative;
  max-width: 480px;
  margin-left: auto;
  padding: 0 0 20px 20px;
}

.page-hero__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 66%;
  height: 76%;
  border-radius: var(--r-lg);
  background: var(--grad);
  opacity: var(--frame-o, 1);
  translate: var(--frame-x, 0) 0;
}

.page-hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
}

.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 0;
  margin-top: 20px;
  padding: 6px 14px;
  font-size: var(--fs-sm);
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--sh-xs);
}

.breadcrumb li {
  color: var(--teal-600);
}

.breadcrumb li + li::before {
  content: "\203A";
  padding: 0 8px;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--text);
}

.breadcrumb a:hover {
  color: var(--blue-600);
}

/* ---- Typography inside sections ---- */
.block-title {
  font-size: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem);
  line-height: 1.2;
  margin-bottom: 14px;
}

.block-title--sm {
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.01em;
}

.block-title.text-uppercase {
  letter-spacing: 0.01em;
}

:is(p, ul, ol, div, figure, h4, table) + .block-title {
  margin-top: clamp(28px, 3vw, 44px);
}

.section p + p,
.section p + ul,
.section ul + p {
  margin-top: 12px;
}

.block-intro {
  max-width: 860px;
  margin: 0 auto clamp(28px, 3vw, 44px);
  text-align: center;
}

.block-intro h4 {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.8;
  color: var(--text);
}

.block-intro--note {
  max-width: none;
  margin: clamp(28px, 3vw, 44px) 0 0;
  padding: 24px 28px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal-500);
  border-radius: var(--r-md);
  box-shadow: var(--sh-sm);
}

.intro {
  margin-bottom: clamp(24px, 3vw, 40px);
}

.lead-text {
  font-size: var(--fs-md);
  color: var(--ink);
}

.lead-text span {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-head);
  font-weight: 700;
}

.note-text {
  display: inline-block;
  padding: 8px 0;
  font-style: italic;
  color: var(--teal-600);
}

.text-block + .text-block {
  margin-top: 28px;
}

.text-block > .btn,
.cta-block > .btn,
.media-row__body > .btn {
  margin-top: 20px;
}

/* ---- Lists ---- */
.dot-list li {
  position: relative;
  padding-left: 22px;
}

.dot-list li + li {
  margin-top: 9px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
  box-shadow: 0 0 0 3px var(--teal-50);
}

.icon-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 0;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.icon-list li::before {
  display: none;
}

.icon-list li img {
  width: 44px;
  height: 44px;
  flex: none;
  padding: 9px;
  border-radius: var(--r-md);
  background: var(--navy-900);
}

.check-lines p,
.info-card > p {
  position: relative;
  padding-left: 30px;
}

.check-lines p + p,
.info-card > p + p {
  margin-top: 10px;
}

.check-lines p::before,
.info-card > p::before,
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.7 2.6L14.2 7.4' fill='none' stroke='%2313A07D' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--teal-50);
}

.ring-list li {
  position: relative;
  padding-left: 26px;
}

.ring-list li + li {
  margin-top: 12px;
}

.ring-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--blue-600);
  box-shadow: inset 0 0 0 2px #fff;
  background: var(--blue-600);
}

/* ---- Feature grid (modules, integrations, industries) ---- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-grid.cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.feature-grid.cols-6.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature {
  height: 100%;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature:hover {
  border-color: rgba(19, 160, 125, 0.35);
  box-shadow: var(--sh-md);
}

.feature__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 14px;
  background: var(--grad-soft), var(--bg-alt);
}

.feature__icon img {
  max-width: 100%;
  max-height: 100%;
}

.feature p {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.feature > span {
  display: block;
  margin-top: 6px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--muted);
}

/* ---- Info cards ---- */
.info-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.info-card {
  position: relative;
  height: 100%;
  padding: 26px 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
}

.info-card h3 {
  margin-bottom: 16px;
  padding-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-600);
  border-bottom: 1px solid var(--line);
}

.info-cards--plain {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
  margin-top: 0;
}

.info-cards--plain .info-card {
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.info-cards--plain .info-card::before {
  display: none;
}

.info-cards--plain .info-card h3 {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 12px;
}

/* ---- Split rows (text + image) ---- */
.split-row {
  padding: clamp(28px, 3.5vw, 48px) 0;
}

.split-row + .split-row {
  border-top: 1px solid var(--line);
}

.split-row .row {
  align-items: center;
}

.split-row--reverse .row {
  flex-direction: row-reverse;
}

.split-row__body {
  max-width: 600px;
}

.split-row--reverse .split-row__body {
  margin-left: auto;
}

.split-row__media {
  max-width: 480px;
  margin-left: auto;
}

.split-row--reverse .split-row__media {
  margin-left: 0;
  margin-right: auto;
}

.split-row__media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
}

.brand-badge,
.platform-img,
.cta-media {
  margin: 0 auto;
}

.brand-badge { max-width: 360px; }
.platform-img { max-width: 760px; margin-top: 24px; margin-bottom: 32px; }
.cta-media { max-width: 520px; }

.platform-head,
.integrations .block-title {
  text-align: center;
}

/* ---- Media rows (services / insights) ---- */
.media-row {
  display: flex;
  align-items: center;
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(24px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
}

.media-row + .media-row {
  margin-top: 24px;
}

.media-row__media {
  flex: 0 0 min(38%, 400px);
}

.media-row__media img {
  width: 100%;
  border-radius: var(--r-md);
}

.media-row__body {
  flex: 1;
}

/* ---- Modules (co-operative, pacs, handheld) ---- */
.modules {
  margin-top: 24px;
}

.module-grid {
  row-gap: 20px;
}

.module-card,
.feature-card {
  position: relative;
  height: 100%;
  padding: 26px 24px 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
  overflow: hidden;
}

.module-card::before,
.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--grad);
}

.module-card > h5,
.feature-card > h5 {
  margin-bottom: 14px;
  font-size: var(--fs-lg);
}

.feature-card > h5 {
  color: var(--blue-600);
}

.module-card ul,
.feature-card ul {
  padding-left: 0;
}

.module-card ul li,
.feature-card ul li {
  position: relative;
  padding-left: 20px;
}

.module-card ul li + li,
.feature-card ul li + li {
  margin-top: 8px;
}

.module-card ul li::before,
.feature-card ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-500);
}

.feature-card + .feature-card {
  margin-top: 20px;
}

.callout {
  margin-top: clamp(28px, 3vw, 40px);
  padding: 24px clamp(20px, 4vw, 40px);
  text-align: center;
  color: #fff;
  border-radius: var(--r-lg);
  background:
    radial-gradient(420px 160px at 100% 0%, rgba(19, 160, 125, 0.35), transparent 70%),
    var(--navy-900);
}

.callout p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--fs-md);
}

/* ---- Module groups (finance automation, solution) ---- */
.module-group {
  margin-top: 28px;
  padding: 26px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.module-group h4 {
  font-size: var(--fs-xl);
}

.module-group__desc {
  margin-top: 8px;
}

.module-group .ring-list {
  margin-top: 16px;
}

/* ---- Cloud features ---- */
.cloud-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 24px;
}

.feature-list li {
  position: relative;
  padding: 0 0 22px 32px;
}

.feature-list h4 {
  font-size: var(--fs-md);
  margin-bottom: 4px;
}

.feature-list p {
  font-size: 14.5px;
  color: var(--muted);
}

/* ---- Users diagram ---- */
.users-block {
  text-align: center;
}

.users {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 28px;
  margin: 28px 0 clamp(28px, 4vw, 56px);
}

.users__groups {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.users__groups h4 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 24px;
  font-size: 15px;
  color: #fff;
  border-radius: 999px;
  background: var(--navy-900);
}

.users__line {
  width: 1px;
  background: linear-gradient(var(--line-strong), var(--teal-500), var(--line-strong));
}

.users__list ul {
  display: grid;
  gap: 12px;
  text-align: left;
}

.users__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

.users__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}

.users__icon img {
  width: 20px;
}

.users--buttons {
  flex-wrap: wrap;
  gap: 12px;
}

.users--buttons .btn {
  height: auto;
  min-height: 44px;
  padding: 10px 22px;
  white-space: normal;
}

.users--buttons .btn + .btn {
  background: #fff;
  color: var(--blue-600);
  border-color: var(--line-strong);
  box-shadow: none;
}

/* ---- Milestones ---- */
@property --percentage {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.stats .block-title {
  text-align: center;
}

.stats__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.stat {
  height: 100%;
  padding: 28px 16px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}

.stat p {
  margin-top: 14px;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
}

[role="progressbar"] {
  --percentage: var(--value);
  --size: 132px;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--size);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
}

[role="progressbar"]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(var(--teal-500) calc(var(--percentage) * 1%), var(--line) 0);
  -webkit-mask: radial-gradient(#0000 68%, #000 69%);
  mask: radial-gradient(#0000 68%, #000 69%);
}

[role="progressbar"]::after {
  counter-reset: percentage var(--value);
  content: counter(percentage) "+";
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-600);
}

/* ---- Gallery + lightbox ---- */
.gallery .row {
  row-gap: 20px;
}

.gallery__item a {
  display: block;
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}

.gallery__item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.gallery__item a:hover img {
  transform: scale(1.06);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 64px 72px;
  background: rgba(7, 23, 38, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
}

.lightbox button {
  position: absolute;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.25s var(--ease);
}

.lightbox button:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox [data-lb-close] { top: 16px; right: 16px; }
.lightbox [data-lb-prev] { left: 16px; top: 50%; margin-top: -23px; }
.lightbox [data-lb-next] { right: 16px; top: 50%; margin-top: -23px; }

/* ---- Media slider (offbeat) ---- */
.slider--media {
  max-width: 760px;
  margin: 24px auto 0;
}

.slide-figure img {
  width: 100%;
  border-radius: var(--r-lg);
}

/* ---- Mission & vision ---- */
.mv {
  overflow: hidden;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 260px 1fr;
  align-items: center;
  margin: 0;
}

.mv-grid > * {
  width: auto;
  padding: 0;
}

.mv-grid > :first-child { grid-column: 1; }
.mv-grid > :last-child { grid-column: 3; }

.mv-card {
  height: 100%;
  padding: clamp(26px, 3vw, 40px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.mv-card h2 {
  display: inline-block;
  margin-bottom: 16px;
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mv-target {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 200px;
  translate: -50% -50%;
  pointer-events: none;
}

.section-mark {
  position: absolute;
  top: 0;
  left: 50%;
  width: 52px;
  translate: -50% 0;
  opacity: 0.8;
  pointer-events: none;
}

/* ---- Contact ---- */
.contact-form {
  max-width: 920px;
  margin: 24px auto 0;
  padding: clamp(24px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-md);
}

.content:has(.contact-form) > .block-title {
  text-align: center;
}

.field {
  margin-bottom: 16px;
}

.input {
  display: block;
  width: 100%;
  height: 50px;
  padding: 12px 16px;
  font: inherit;
  font-size: var(--fs-base);
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease);
}

textarea.input {
  height: 150px;
  resize: vertical;
}

.input::placeholder {
  color: var(--muted);
}

.input:hover {
  border-color: var(--line-strong);
}

.input:focus {
  outline: none;
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(11, 92, 142, 0.12);
}

.contact-form .btn {
  min-width: 180px;
}

.contact-items li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-items li + li {
  margin-top: 22px;
}

.contact-items figure {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-xs);
}

.contact-items figure img {
  width: 22px;
}

.contact-item__body h4 {
  font-size: var(--fs-lg);
  margin-bottom: 2px;
}

.contact-item__body a:hover {
  color: var(--blue-600);
}

.map img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 6px solid #fff;
  box-shadow: var(--sh-lg);
}

/* ---- Dropdown: current page ---- */
.dropdown a.is-current {
  color: var(--blue-600);
  background: var(--bg-alt);
}

.dropdown a.is-current::before {
  background: var(--teal-500);
}

/* ---- Inner pages: responsive ---- */
@media (max-width: 1199px) {
  .feature-grid,
  .feature-grid.cols-6 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .info-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .feature-grid,
  .feature-grid.cols-4,
  .feature-grid.cols-6,
  .feature-grid.cols-6.cols-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-hero__media {
    margin: 24px 0 0;
  }

  .split-row__media,
  .split-row--reverse .split-row__media {
    margin: 8px auto 0;
  }

  .media-row,
  .media-row--reverse {
    flex-direction: column;
    align-items: stretch;
  }

  .media-row__media {
    flex: none;
    max-width: 420px;
  }

  .stats__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mv-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mv-grid > :first-child,
  .mv-grid > :last-child {
    grid-column: auto;
  }

  .mv-target {
    display: none;
  }

  .cloud-features {
    grid-template-columns: 1fr;
  }

  .users {
    flex-direction: column;
    align-items: center;
  }

  .users__line {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 575px) {
  .feature-grid,
  .feature-grid.cols-4,
  .feature-grid.cols-6,
  .feature-grid.cols-6.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .feature-grid--desc.feature-grid--desc {
    grid-template-columns: 1fr;
  }

  .feature {
    padding: 16px;
  }

  .info-cards,
  .info-cards--plain {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 64px 12px;
  }
}


/* ---- Data table (solution) ---- */
.table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.data-table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14.5px;
  text-align: left;
}

.data-table th {
  padding: 16px 22px;
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.data-table td {
  padding: 18px 22px;
  line-height: 1.65;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.data-table tbody tr {
  transition: background-color 0.25s var(--ease);
}

.data-table tbody tr:hover {
  background: var(--bg-alt);
}

.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.data-table td:first-child {
  width: 22%;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
}

/* ---- Contact: map column ---- */
.map {
  max-width: 640px;
  margin-left: auto;
}

@media (max-width: 767px) {
  .map {
    margin: 8px auto 0;
  }
}

/* ==========================================================================
   17. HOME PAGE DESIGN LAYER
   Scoped by body.home, so inner pages are untouched. Sections alternate
   white (.band-white) and soft tint (.band-tint); each section carries its
   own decoration (.sec-*). Decoration is pseudo-elements only: no text.
   ========================================================================== */
.home .site-header {
  background: rgba(241, 247, 252, 0.82);
}

.home main > .section {
  isolation: isolate;
  overflow: hidden;
}

.home .band-white {
  background: #fff;
}

.home .band-tint {
  background: linear-gradient(180deg, #f0f6fb 0%, #e9f2f9 100%);
}

/* shared dot field */
.home .sec-aiml::after,
.home .tab-panel__media::after,
.home .split-media::after {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: radial-gradient(rgba(11, 92, 142, 0.3) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  pointer-events: none;
}

/* ---- AI / ML (white) ---- */
.home .sec-aiml::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 900px;
  height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(17, 114, 173, 0.09), rgba(19, 160, 125, 0.05) 55%, transparent);
  pointer-events: none;
}

.home .sec-aiml::after {
  top: 32px;
  left: 32px;
  width: 220px;
  height: 150px;
  -webkit-mask-image: linear-gradient(135deg, #000 15%, transparent 75%);
  mask-image: linear-gradient(135deg, #000 15%, transparent 75%);
}

.home .aiml-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--r-xl);
  border-color: rgba(17, 114, 173, 0.14);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 26px 52px -30px rgba(11, 92, 142, 0.4);
}

.home .aiml-card:hover {
  box-shadow: 0 4px 10px rgba(11, 92, 142, 0.06), 0 34px 64px -30px rgba(11, 92, 142, 0.5);
}

/* tinted wash from the top corner, concentric rings in the bottom corner */
.home .aiml-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(165deg, rgba(234, 243, 250, 0.95) 0%, rgba(255, 255, 255, 0) 52%);
  pointer-events: none;
}

.home .aiml-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -110px;
  bottom: -110px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 1px solid rgba(17, 114, 173, 0.12);
  box-shadow: 0 0 0 22px rgba(17, 114, 173, 0.025), 0 0 0 44px rgba(17, 114, 173, 0.018);
  pointer-events: none;
}

.home .aiml-card--ml::before {
  background: linear-gradient(195deg, rgba(231, 246, 241, 0.95) 0%, rgba(255, 255, 255, 0) 52%);
}

.home .aiml-card--ml::after {
  border-color: rgba(19, 160, 125, 0.16);
  box-shadow: 0 0 0 22px rgba(19, 160, 125, 0.03), 0 0 0 44px rgba(19, 160, 125, 0.022);
}

.aiml-card__icon {
  position: absolute;
  top: clamp(26px, 3vw, 38px);
  right: clamp(26px, 3vw, 38px);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 26px -12px rgba(11, 92, 142, 0.7);
}

.aiml-card--ml .aiml-card__icon {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  box-shadow: 0 14px 26px -12px rgba(15, 138, 107, 0.7);
}

.home .aiml-card--ai h2 {
  background-image: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.home .aiml-card--ml h2 {
  background-image: linear-gradient(135deg, var(--teal-600), var(--teal-500));
}

.home .aiml-card--ai .check-list li::before {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6 10.4l2.7 2.6L14.2 7.4' fill='none' stroke='%231172AD' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat,
    var(--blue-50);
}

/* centre visual: soft disc inside the rings, gradient outer ring */
.home .aiml-visual::before {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #edf5fb 55%, #e2f2ec 100%);
  box-shadow: 0 26px 50px -26px rgba(11, 92, 142, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.home .aiml-rings .ring-outer {
  stroke: url(#aiml-ring-grad);
  stroke-width: 1.5;
}

/* ---- Industries (tint) ---- */
.home .sec-industries::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 92, 142, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 142, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000 10%, transparent 75%);
  mask-image: radial-gradient(ellipse 55% 70% at 100% 0%, #000 10%, transparent 75%);
  pointer-events: none;
}

.home .sec-industries::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -220px;
  bottom: -260px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(19, 160, 125, 0.13), transparent);
  pointer-events: none;
}

.home .tab-list {
  padding: 10px;
  background: #fff;
  border-color: rgba(17, 114, 173, 0.12);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 22px 44px -28px rgba(11, 92, 142, 0.42);
}

.home .tab:hover {
  background: var(--blue-50);
}

.home .tab[aria-selected="true"] {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 12px 24px -12px rgba(11, 92, 142, 0.7);
}

.home .tab-panel {
  border: 1px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(17, 114, 173, 0.4), rgba(19, 160, 125, 0.4)) border-box;
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 34px 64px -34px rgba(11, 92, 142, 0.5);
}

.home .tab-panel__media {
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, #e5eff9 0%, #e2f3ed 100%);
}

.home .tab-panel__media::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 80%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0) 71%);
  pointer-events: none;
}

.home .tab-panel__media::after {
  top: 20px;
  left: 20px;
  width: 112px;
  height: 80px;
  background-size: 14px 14px;
}

/* ---- Insights (white) ---- */
.home .sec-insights::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -260px;
  top: -260px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 114, 173, 0.08), transparent);
  pointer-events: none;
}

.home .sec-insights::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -120px;
  bottom: -160px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px dashed rgba(19, 160, 125, 0.28);
  pointer-events: none;
}

.home .card-grid {
  gap: clamp(18px, 2vw, 26px);
}

.home .insight-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(24px, 2.4vw, 30px);
  border-radius: var(--r-xl);
  border-color: rgba(17, 114, 173, 0.13);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 24px 48px -30px rgba(11, 92, 142, 0.4);
}

.home .insight-card:hover {
  border-color: rgba(17, 114, 173, 0.3);
  box-shadow: 0 4px 10px rgba(11, 92, 142, 0.06), 0 34px 64px -30px rgba(11, 92, 142, 0.5);
}

.home .insight-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -90px;
  right: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 114, 173, 0.13), transparent);
  transition: transform 0.6s var(--ease);
  pointer-events: none;
}

.home .insight-card:nth-child(2)::before {
  background: radial-gradient(closest-side, rgba(19, 160, 125, 0.15), transparent);
}

.home .insight-card:hover::before {
  transform: scale(1.6);
}

.home .insight-card__icon {
  width: 54px;
  height: 54px;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #fff;
  font-size: 24px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  box-shadow: 0 14px 26px -12px rgba(11, 92, 142, 0.7);
}

.home .insight-card:nth-child(2) .insight-card__icon {
  color: #fff;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  box-shadow: 0 14px 26px -12px rgba(15, 138, 107, 0.7);
}

.home .insight-card:nth-child(3) .insight-card__icon {
  background: var(--grad);
}

/* text grows to fill, so the dividers above the buttons line up */
.home .insight-card p {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.home .insight-card:hover .btn--outline {
  color: #fff;
  background: var(--blue-600);
  border-color: var(--blue-600);
}

/* ---- Technology (tint, dark panel) ---- */
.home .sec-tech::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1100px;
  height: 520px;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(17, 114, 173, 0.12), transparent);
  pointer-events: none;
}

.home .tech-panel {
  isolation: isolate;
  box-shadow: 0 50px 90px -50px rgba(7, 23, 38, 0.75);
}

.home .tech-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(440px 280px at 100% 0%, rgba(19, 160, 125, 0.28), transparent 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(17, 114, 173, 0.32), transparent 70%);
  pointer-events: none;
}

.home .tech-tile {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03));
  border-color: rgba(255, 255, 255, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 30px -20px rgba(0, 0, 0, 0.7);
}

.home .tech-tile:hover {
  background: linear-gradient(150deg, rgba(95, 211, 174, 0.2), rgba(255, 255, 255, 0.04));
  border-color: rgba(95, 211, 174, 0.45);
}

.home .tech-core {
  box-shadow: 0 0 0 16px rgba(255, 255, 255, 0.03), 0 0 90px rgba(19, 160, 125, 0.35);
}

/* ---- Data science (white) ---- */
.home .sec-ds::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -280px;
  top: 50%;
  width: 720px;
  height: 720px;
  margin-top: -360px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(19, 160, 125, 0.08), transparent);
  pointer-events: none;
}

.home .split-media {
  isolation: isolate;
  border-color: rgba(17, 114, 173, 0.14);
  background: linear-gradient(150deg, #e6f0fa 0%, #e3f4ee 100%);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 34px 64px -36px rgba(11, 92, 142, 0.5);
}

.home .split-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 78%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0%, rgba(255, 255, 255, 0.65) 55%, rgba(255, 255, 255, 0) 71%);
  pointer-events: none;
}

.home .split-media::after {
  top: 22px;
  right: 22px;
  width: 120px;
  height: 96px;
  background-size: 14px 14px;
}

.home .split-body p {
  padding-left: 22px;
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--blue-500), var(--teal-500)) 1;
}

/* ---- Testimonials (tint) ---- */
.home .sec-testi {
  background: linear-gradient(160deg, #eaf2fa 0%, #e5f4ee 100%);
}

/* dot field top left, rings bottom right */
.home .sec-testi::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28px;
  left: 28px;
  width: 220px;
  height: 150px;
  background-image: radial-gradient(rgba(11, 92, 142, 0.3) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(135deg, #000 15%, transparent 75%);
  mask-image: linear-gradient(135deg, #000 15%, transparent 75%);
  pointer-events: none;
}

.home .sec-testi::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -150px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(17, 114, 173, 0.18);
  box-shadow: 0 0 0 38px rgba(17, 114, 173, 0.04), 0 0 0 76px rgba(19, 160, 125, 0.035);
  pointer-events: none;
}

.home .slider-viewport {
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 36px 70px -36px rgba(11, 92, 142, 0.5);
}

.home .testimonial {
  border-color: rgba(17, 114, 173, 0.13);
}

.home .testimonial__photo {
  isolation: isolate;
}

.home .testimonial__photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6%;
  right: 6%;
  bottom: -18%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.07), 0 0 0 52px rgba(255, 255, 255, 0.05);
  pointer-events: none;
}

.home .slider-arrow {
  border-color: rgba(17, 114, 173, 0.2);
  box-shadow: 0 10px 20px -12px rgba(11, 92, 142, 0.5);
}

.home .slider-arrow:hover {
  border-color: var(--blue-600);
}

.home .slider-dot[aria-current="true"] {
  background: var(--grad);
}

@media (max-width: 991px) {
  .home .sec-aiml::after,
  .home .sec-testi::before {
    display: none;
  }
}

/* ==========================================================================
   18. INNER PAGE DESIGN LAYER
   Same language as the home layer (17): richer banner, white / tint bands,
   lifted cards. Graphics live in assets/graphics and are built by
   tools/graphics/build-graphics.js (brand line-art, no text).
   ========================================================================== */

/* ---- Banner: the home hero wash, glows and grid ---- */
body:not(.home) .page-hero {
  isolation: isolate;
  border-bottom: 0;
  background:
    radial-gradient(820px 560px at 94% 4%, rgba(19, 160, 125, 0.32), transparent 62%),
    radial-gradient(680px 460px at 62% 70%, rgba(17, 114, 173, 0.16), transparent 66%),
    radial-gradient(760px 520px at -6% 106%, rgba(11, 92, 142, 0.24), transparent 62%),
    radial-gradient(520px 360px at 18% 18%, rgba(255, 255, 255, 0.85), transparent 70%),
    linear-gradient(150deg, #eef5fc 0%, #dceaf7 50%, #d4eee5 100%);
}

body:not(.home) .page-hero::before {
  background-image:
    linear-gradient(rgba(11, 92, 142, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 142, 0.08) 1px, transparent 1px);
}

body:not(.home) .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -20%;
  background:
    radial-gradient(closest-side at 72% 30%, rgba(19, 160, 125, 0.18), transparent),
    radial-gradient(closest-side at 22% 72%, rgba(17, 114, 173, 0.1), transparent);
  background-size: 60% 60%, 55% 55%;
  background-repeat: no-repeat;
  background-position: 78% 18%, 12% 82%;
  animation: heroGlow 22s ease-in-out infinite alternate;
  pointer-events: none;
}

/* the banner graphic carries its own backdrop: no frame, no photo shadow */
body:not(.home) .page-hero__media {
  max-width: 540px;
  padding: 0;
}

body:not(.home) .page-hero__media::before {
  display: none;
}

body:not(.home) .page-hero__media img {
  border-radius: 0;
  box-shadow: none;
}

/* Offbeat: the logo sits inside the h1; keep it a sensible size */
.page-hero h1 .brand-badge {
  display: block;
  max-width: min(320px, 100%);
  margin: 0 0 12px;
}

.page-hero h1 .brand-badge img {
  display: block;
  width: 100%;
  height: auto;
}

/* ---- Bands: white, and a soft brand tint on the alternate ones ---- */
body:not(.home) main > .section {
  isolation: isolate;
  overflow: hidden;
  background: #fff;
}

body:not(.home) main > .section--alt {
  background:
    radial-gradient(860px 420px at 100% 0%, rgba(19, 160, 125, 0.1), transparent 62%),
    radial-gradient(820px 420px at 0% 100%, rgba(17, 114, 173, 0.1), transparent 62%),
    linear-gradient(180deg, #eff5fb 0%, #e8f2f9 100%);
}

body:not(.home) main > .section::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 28px;
  right: 28px;
  width: 200px;
  height: 140px;
  background-image: radial-gradient(rgba(11, 92, 142, 0.26) 1.3px, transparent 1.8px);
  background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(225deg, #000 15%, transparent 75%);
  mask-image: linear-gradient(225deg, #000 15%, transparent 75%);
  pointer-events: none;
}

body:not(.home) main > .section--alt::after {
  top: auto;
  right: auto;
  bottom: 28px;
  left: 28px;
  -webkit-mask-image: linear-gradient(45deg, #000 15%, transparent 75%);
  mask-image: linear-gradient(45deg, #000 15%, transparent 75%);
}

/* ---- Module / feature cards ---- */
body:not(.home) .feature {
  border-color: rgba(17, 114, 173, 0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 18px 36px -26px rgba(11, 92, 142, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}

body:not(.home) .feature:hover {
  transform: translateY(-4px);
  border-color: rgba(17, 114, 173, 0.3);
  box-shadow: 0 4px 10px rgba(11, 92, 142, 0.06), 0 26px 48px -26px rgba(11, 92, 142, 0.5);
}

body:not(.home) .feature__icon {
  width: 54px;
  height: 54px;
  padding: 13px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e2eef9, #dcf2ea);
  box-shadow: inset 0 0 0 1px rgba(17, 114, 173, 0.1);
  transition: background-color 0.35s var(--ease);
}

body:not(.home) .feature__icon img {
  width: 100%;
  height: 100%;
  transition: filter 0.35s var(--ease);
}

/* on hover the tile fills with the brand gradient and the icon turns white */
body:not(.home) .feature:hover .feature__icon {
  background: var(--grad);
}

body:not(.home) .feature:hover .feature__icon img {
  filter: brightness(0) invert(1);
}

/* ---- Users diagram ---- */
body:not(.home) .users__groups h4 {
  background: var(--grad);
  box-shadow: 0 12px 24px -12px rgba(11, 92, 142, 0.6);
}

body:not(.home) .users__icon {
  border-color: rgba(17, 114, 173, 0.18);
  background: linear-gradient(135deg, #f3f8fd, #eef8f4);
}

/* ---- Graphics in rows: no photo frame, they bring their own backdrop ---- */
body:not(.home) .split-row__media {
  max-width: 520px;
}

body:not(.home) .split-row__media img,
body:not(.home) .media-row__media img {
  border-radius: 0;
  box-shadow: none;
}

body:not(.home) .split-row + .split-row {
  border-top-color: rgba(17, 114, 173, 0.1);
}

/* ---- Cards and panels: brand-tinted lift ---- */
body:not(.home) .info-card,
body:not(.home) .module-card,
body:not(.home) .feature-card,
body:not(.home) .contact-form,
body:not(.home) .table-wrap,
body:not(.home) .mv-card {
  border-color: rgba(17, 114, 173, 0.12);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 24px 48px -30px rgba(11, 92, 142, 0.42);
}

body:not(.home) .contact-items figure {
  border-color: rgba(17, 114, 173, 0.15);
  background: linear-gradient(135deg, #f3f8fd, #eef8f4);
}

body:not(.home) .slider-viewport {
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 36px 70px -36px rgba(11, 92, 142, 0.5);
}

body:not(.home) .slider-dot[aria-current="true"] {
  background: var(--grad);
}

@media (max-width: 767px) {
  body:not(.home) .page-hero__media {
    max-width: 420px;
    margin: 24px auto 0;
  }

  body:not(.home) main > .section::after {
    display: none;
  }
}

body:not(.home) .site-header {
  background: rgba(241, 247, 252, 0.82);
}

/* stacked feature cards (handheld device) size to their content */
.feature-card:has(+ .feature-card),
.feature-card + .feature-card {
  height: auto;
}

/* ==========================================================================
   19. TIGHTER SPACING + CLOUD FEATURES GRID
   ========================================================================== */
body:not(.home) .page-hero {
  padding: clamp(20px, 2.5vw, 36px) 0 clamp(24px, 3vw, 40px);
}

body:not(.home) .page-hero__media {
  max-width: 420px;
}

.split-row {
  padding: clamp(16px, 2.2vw, 28px) 0;
}

body:not(.home) .split-row__media {
  max-width: 420px;
}

.media-row {
  gap: clamp(20px, 3.5vw, 44px);
}

/* Complete cloud based applications (polymer, tea): one list → 3-column cards */
.cloud-features {
  display: block;
}

.cloud-features .feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.cloud-features .feature-list li {
  padding: 20px 20px 20px 52px;
  background: #fff;
  border: 1px solid rgba(17, 114, 173, 0.12);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 18px 36px -26px rgba(11, 92, 142, 0.4);
}

.cloud-features .feature-list li::before {
  left: 20px;
  top: 22px;
}

@media (max-width: 991px) {
  .cloud-features .feature-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 575px) {
  .cloud-features .feature-list { grid-template-columns: 1fr; }
}

.block-intro {
  margin-bottom: clamp(8px, 1.2vw, 16px);
}

.users-block + .block-intro,
.col-12 > .block-intro {
  margin-top: clamp(24px, 3vw, 40px);
}

/* ==========================================================================
   20. LAPTOP SCREENS (992–1500px): smaller banner, type and spacing
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1500px) {
  :root {
    --section: clamp(32px, 3.2vw, 46px);
    --fs-h2: clamp(1.5rem, 0.9rem + 1vw, 1.9rem);
    --header-h: 68px;
  }

  /* inner banner */
  body:not(.home) .page-hero {
    padding: clamp(16px, 1.8vw, 26px) 0 clamp(18px, 2vw, 30px);
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 1rem + 1.6vw, 2.4rem);
  }

  .page-hero h1.is-long {
    font-size: clamp(1.4rem, 0.9rem + 1.1vw, 1.85rem);
  }

  .page-hero h1::after {
    margin-top: 16px;
  }

  body:not(.home) .page-hero__media {
    max-width: 340px;
  }

  .page-hero h1 .brand-badge {
    max-width: 260px;
  }

  /* section type and rhythm */
  .block-title {
    font-size: clamp(1.35rem, 0.9rem + 0.8vw, 1.75rem);
  }

  .section-head {
    margin-bottom: clamp(18px, 2vw, 26px);
  }

  .split-row {
    padding: clamp(12px, 1.6vw, 22px) 0;
  }

  body:not(.home) .split-row__media {
    max-width: 360px;
  }

  .aiml-grid {
    grid-template-columns: 1fr 260px 1fr;
  }

  .site-footer {
    padding: clamp(32px, 3.5vw, 52px) 0 clamp(24px, 2.6vw, 34px);
  }
}

/* ==========================================================================
   21. FOOTER STAYS AT THE BOTTOM ON SHORT PAGES
   ========================================================================== */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

body > main {
  flex: 1 0 auto;
}

body > .site-footer {
  flex-shrink: 0;
}

/* banners even more compact on laptops (992–1500px) */
@media (min-width: 992px) and (max-width: 1500px) {
  :root {
  }

  body:not(.home) .page-hero {
    padding: 10px 0 14px;
  }

  .page-hero h1 {
    font-size: clamp(1.6rem, 0.9rem + 1.3vw, 2.05rem);
  }

  .page-hero h1.is-long {
    font-size: clamp(1.3rem, 0.85rem + 0.9vw, 1.6rem);
  }

  body:not(.home) .page-hero__media {
    max-width: 270px;
  }

  .page-hero h1 .brand-badge {
    max-width: 210px;
  }
}

/* ==========================================================================
   22. MOBILE / TABLET MENU FIX
   backdrop-filter on the header makes it the containing block for the fixed
   off-canvas menu: the panel was only header-tall and, while closed, widened
   the page by its own width. Below 992px the header uses a solid tint instead.
   ========================================================================== */
@media (max-width: 991px) {
  .site-header,
  .home .site-header,
  body:not(.home) .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(243, 248, 252, 0.98);
  }
}

/* the open menu sits above its dark backdrop (the panel lives inside the header) */
@media (max-width: 991px) {
  .nav-open .site-header {
    z-index: 70;
  }
}

/* ==========================================================================
   23. TABLET / MOBILE: APP-STYLE TAB BAR, SMALLER BANNER GRAPHIC, TYPE
   ========================================================================== */
.tabbar {
  display: none;
}

@media (max-width: 991px) {
  .tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 2px;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid rgba(17, 114, 173, 0.12);
    box-shadow: 0 -10px 30px -16px rgba(11, 92, 142, 0.35);
  }

  .tabbar__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 2px;
    border-radius: 12px;
    font-family: var(--font-head);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--muted);
    text-align: center;
    transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
  }

  .tabbar__item span {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tabbar__item svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .tabbar__item.is-active {
    color: var(--blue-600);
    background: linear-gradient(135deg, #e6f0fa, #e1f4ed);
  }

  .tabbar__item:hover {
    color: var(--blue-600);
  }

  /* room for the bar; floating buttons sit above it */
  body.has-tabbar {
    padding-bottom: calc(66px + env(safe-area-inset-bottom));
  }

  .has-tabbar .whatsapp {
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .has-tabbar .to-top {
    bottom: calc(146px + env(safe-area-inset-bottom));
  }

  /* inner banner: small graphic, compact */
  body:not(.home) .page-hero {
    padding: 18px 0 22px;
  }

  body:not(.home) .page-hero__media {
    max-width: 260px;
    margin: 10px auto 0;
  }

  .page-hero h1 .brand-badge {
    max-width: 200px;
  }
}

@media (max-width: 767px) {
  html {
    font-size: 15px;            /* every rem-based size drops by ~1–2px */
  }

  body,
  p,
  li,
  .hero-lead,
  .page-hero__copy p,
  .page-hero__copy h4,
  .tab-panel__body p,
  .split-body p,
  .testimonial__body p,
  .block-intro h4 {
    font-size: 15px;
  }

  body:not(.home) .page-hero__media {
    max-width: 210px;
  }

  .page-hero h1 .brand-badge {
    max-width: 160px;
    margin-bottom: 8px;
  }

  .tab,
  .feature p,
  .nav-link {
    font-size: 13.5px;
  }
}

/* ==========================================================================
   24. COMPACT INNER BANNER (all sizes) + TIGHTER CONTACT FORM ON MOBILE
   ========================================================================== */
body:not(.home) .page-hero {
  padding: clamp(10px, 1.4vw, 22px) 0 clamp(12px, 1.6vw, 26px);
}

body:not(.home) .page-hero__media {
  max-width: 360px;
}

body:not(.home) .page-hero .row {
  row-gap: 6px;
}

.page-hero h1::after {
  margin-top: 14px;
}

.page-hero .breadcrumb {
  margin-top: 14px;
}

@media (min-width: 992px) and (max-width: 1500px) {
  body:not(.home) .page-hero {
    padding: 6px 0 10px;
  }

  body:not(.home) .page-hero__media {
    max-width: 240px;
  }
}

@media (max-width: 991px) {
  body:not(.home) .page-hero {
    padding: 12px 0 14px;
  }

  body:not(.home) .page-hero__media {
    max-width: 210px;
    margin: 0 auto;
  }

  .page-hero h1::after {
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  body:not(.home) .page-hero__media {
    max-width: 170px;
  }

  .contact-form {
    padding: 18px 16px;
  }

  .contact-form .row {
    row-gap: 10px;
  }

  .contact-form .field {
    margin-bottom: 0;
  }

  .contact-form .mt-3 {
    margin-top: 6px;
  }
}

@media (max-width: 767px) {
  .page-hero .breadcrumb {
    margin-top: 10px;
    padding: 4px 10px;
    font-size: 11.5px;
  }

  .breadcrumb li + li::before {
    padding: 0 5px;
  }
}

@media (max-width: 767px) {
  .page-hero .breadcrumb,
  .page-hero .breadcrumb li,
  .page-hero .breadcrumb a {
    font-size: 11.5px;
    line-height: 1.5;
  }

  .page-hero .breadcrumb {
    border-radius: 10px;
  }
}

/* mobile: section headings 20px with tighter spacing */
@media (max-width: 767px) {
  .block-title,
  .block-title--sm,
  .section-head h2,
  .split-body h2,
  .tab-panel__body h3 {
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 8px;
  }

  :is(p, ul, ol, div, figure, h4, table) + .block-title {
    margin-top: 20px;
  }

  .section-head {
    margin-bottom: 16px;
  }

  .section-head h2::after,
  .split-body h2::after {
    margin-top: 10px;
  }

  .split-body h2::after {
    margin-bottom: 12px;
  }

  .tab-panel__body h3::before {
    margin-bottom: 12px;
  }
}

/* ==========================================================================
   25. PRELOADER: circuit wires connect into the logo from every side
   ========================================================================== */
.preloader__core {
  position: relative;
  display: grid;
  place-items: center;
  width: min(400px, 88vw);
  aspect-ratio: 400 / 240;
}

.preloader__net {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.preloader__core img {
  position: relative;
  width: min(150px, 34vw);
  height: auto;
}

/* wires draw from the outer nodes towards the logo */
.pl-wires path {
  stroke-dasharray: 1;
  animation: plDraw 0.9s cubic-bezier(0.6, 0, 0.3, 1) both;
}

.pl-wires path:nth-child(2n) { animation-delay: 0.12s; }
.pl-wires path:nth-child(3n) { animation-delay: 0.24s; }

@keyframes plDraw {
  from { stroke-dashoffset: 1; }
  to { stroke-dashoffset: 0; }
}

/* once connected, signals run along the wires into the logo */
.pl-pulses path {
  stroke-dasharray: 0.14 1;
  stroke-dashoffset: 0.14;
  opacity: 0;
  animation: plPulse 1.3s linear 0.9s infinite;
}

.pl-pulses path:nth-child(2n) { animation-delay: 1.2s; }
.pl-pulses path:nth-child(3n) { animation-delay: 1.45s; }

@keyframes plPulse {
  0% { stroke-dashoffset: 0.14; opacity: 1; }
  90% { opacity: 1; }
  100% { stroke-dashoffset: -1; opacity: 0; }
}

.pl-nodes circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: plNode 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

@keyframes plNode {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .pl-pulses { display: none; }
}

/* ==========================================================================
   26. COMPACT HEADINGS (tablet / desktop) + THEMED SCROLLBAR + ICON LIST
   ========================================================================== */
@media (min-width: 768px) {
  .block-title {
    font-size: clamp(1.35rem, 1rem + 0.8vw, 1.75rem);
    margin-bottom: 10px;
  }

  :is(p, ul, ol, div, figure, h4, table) + .block-title {
    margin-top: clamp(18px, 1.8vw, 26px);
  }

  .section-head {
    margin-bottom: clamp(16px, 1.8vw, 24px);
  }
}

html {
  scrollbar-color: #1f8fa0 #e9f2f9;
  scrollbar-width: thin;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #e9f2f9;
}

::-webkit-scrollbar-thumb {
  border: 2px solid #e9f2f9;
  border-radius: 10px;
  background: linear-gradient(180deg, var(--blue-500), var(--teal-500));
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--blue-600), var(--teal-600));
}

/* web services list: light brand tile instead of the dark square */
.icon-list li img {
  width: 42px;
  height: 42px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e2eef9, #dcf2ea);
  box-shadow: inset 0 0 0 1px rgba(17, 114, 173, 0.12);
}

/* same light brand tile for the home page icons (AI / ML cards, insights) */
.aiml-card__icon,
.aiml-card--ml .aiml-card__icon,
.home .insight-card__icon,
.home .insight-card:nth-child(2) .insight-card__icon,
.home .insight-card:nth-child(3) .insight-card__icon {
  color: var(--blue-600);
  background: linear-gradient(135deg, #e2eef9, #dcf2ea);
  box-shadow: inset 0 0 0 1px rgba(17, 114, 173, 0.12);
}

.aiml-card--ml .aiml-card__icon,
.home .insight-card:nth-child(2) .insight-card__icon {
  color: var(--teal-600);
}

/* more, brighter light beams on the home banner */
.beam { opacity: 0.85; }
.beam--h { width: 240px; height: 1.5px; }
.beam--v { width: 1.5px; height: 190px; }
.beam--10 { --p: 3;  --dur: 10.5s; --delay: -1s; }
.beam--11 { --p: 6;  --dur: 13s;   --delay: -6s; }
.beam--12 { --p: 9;  --dur: 9.5s;  --delay: -4s; }
.beam--13 { --p: 4;  --dur: 12s;   --delay: -9s; }
.beam--14 { --p: 7;  --dur: 10s;   --delay: -7s; }
.beam--15 { --p: 13; --dur: 11s;   --delay: -1s; }
.beam--16 { --p: 20; --dur: 9s;    --delay: -5s; }
.beam--17 { --p: 26; --dur: 12.5s; --delay: -3s; }

/* ==========================================================================
   27. USERS DIAGRAM: card with connected groups and user chips
   ========================================================================== */
.users:not(.users--buttons) {
  display: grid;
  grid-template-columns: minmax(200px, 260px) 1px minmax(0, 1fr);
  align-items: stretch;
  gap: 0 clamp(24px, 3vw, 40px);
  max-width: 880px;
  margin: 22px auto clamp(20px, 3vw, 36px);
  padding: clamp(20px, 2.6vw, 32px);
  text-align: left;
  background: #fff;
  border: 1px solid rgba(17, 114, 173, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 26px 52px -32px rgba(11, 92, 142, 0.45);
}

.users:not(.users--buttons) .users__groups {
  justify-content: center;
  gap: 14px;
}

body:not(.home) .users:not(.users--buttons) .users__groups h4 {
  position: relative;
  justify-content: flex-start;
  gap: 10px;
  min-height: 50px;
  padding: 10px 18px 10px 12px;
  font-size: 14.5px;
  text-align: left;
  border-radius: 14px;
  box-shadow: 0 14px 26px -14px rgba(11, 92, 142, 0.7);
}

/* small person badge inside each group */
.users:not(.users--buttons) .users__groups h4::before {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3.2'/%3E%3Cpath d='M3 19c0-3.3 2.7-5.5 6-5.5s6 2.2 6 5.5M16 4.8a3.2 3.2 0 0 1 0 6.4M18 13.8c1.8.7 3 2.5 3 5.2'/%3E%3C/svg%3E") center / 16px no-repeat,
    rgba(255, 255, 255, 0.18);
}

/* connector from each group to the spine */
.users:not(.users--buttons) .users__groups h4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  width: clamp(24px, 3vw, 40px);
  height: 2px;
  background: linear-gradient(90deg, var(--teal-500), rgba(19, 160, 125, 0.25));
}

.users:not(.users--buttons) .users__line {
  position: relative;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--blue-500), var(--teal-500));
}

.users:not(.users--buttons) .users__line::before,
.users:not(.users--buttons) .users__line::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px rgba(17, 114, 173, 0.25);
}

.users:not(.users--buttons) .users__line::before { top: -4px; background: var(--blue-500); }
.users:not(.users--buttons) .users__line::after { bottom: -4px; background: var(--teal-500); }

.users:not(.users--buttons) .users__list {
  align-self: center;
}

.users:not(.users--buttons) .users__list ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.users:not(.users--buttons) .users__list li {
  gap: 10px;
  min-height: 52px;
  padding: 8px 12px 8px 8px;
  font-size: 14px;
  line-height: 1.35;
  background: linear-gradient(135deg, #f6fafd, #f3faf7);
  border: 1px solid rgba(17, 114, 173, 0.1);
  border-radius: 14px;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.users:not(.users--buttons) .users__list li:hover {
  transform: translateY(-2px);
  border-color: rgba(17, 114, 173, 0.28);
  box-shadow: 0 14px 26px -18px rgba(11, 92, 142, 0.5);
}

body:not(.home) .users:not(.users--buttons) .users__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 0;
  background: linear-gradient(135deg, #e2eef9, #dcf2ea);
  box-shadow: inset 0 0 0 1px rgba(17, 114, 173, 0.12);
}

.users:not(.users--buttons) .users__icon img {
  width: 18px;
  height: 18px;
}

/* button variant (polymer, tea): two chips inside the same card */
.users.users--buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin: 22px auto clamp(20px, 3vw, 36px);
  padding: 16px;
  background: #fff;
  border: 1px solid rgba(17, 114, 173, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 26px 52px -32px rgba(11, 92, 142, 0.45);
}

.users--buttons .btn {
  border-radius: 12px;
}

.users--buttons .btn:first-child {
  background: var(--grad);
  border-color: transparent;
}

@media (max-width: 767px) {
  .users:not(.users--buttons) {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 16px;
  }

  .users:not(.users--buttons) .users__groups {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  body:not(.home) .users:not(.users--buttons) .users__groups h4 {
    flex: 1 1 0;
    min-width: 140px;
    min-height: 44px;
    font-size: 13.5px;
  }

  .users:not(.users--buttons) .users__groups h4::after {
    display: none;
  }

  .users:not(.users--buttons) .users__line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue-500), var(--teal-500));
  }

  .users:not(.users--buttons) .users__line::before { top: -4px; left: 0; margin-left: 0; }
  .users:not(.users--buttons) .users__line::after { top: -4px; bottom: auto; left: auto; right: 0; margin-left: 0; }

  .users:not(.users--buttons) .users__list li {
    min-height: 46px;
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .users:not(.users--buttons) .users__list ul {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   28. PRELOADER v2: logo on a chip, circuit wires connect from all sides
   ========================================================================== */
.preloader {
  background:
    radial-gradient(520px 360px at 50% 50%, #ffffff 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(150deg, #f3f8fc 0%, #eaf3fa 55%, #e6f4ef 100%);
}

.preloader__core {
  width: min(440px, 90vw);
  aspect-ratio: 400 / 260;
}

.preloader__core img {
  width: 30%;
  animation: plLogo 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}

@keyframes plLogo {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: none; }
}

.pl-grid path {
  stroke-width: 1;
}

/* nodes pop, then wires draw from each node into the chip */
.pl-nodes g {
  transform-box: fill-box;
  transform-origin: center;
  animation: plNode 0.45s cubic-bezier(0.3, 1.6, 0.5, 1) both;
}

.pl-nodes g:nth-child(3n + 2) { animation-delay: 0.08s; }
.pl-nodes g:nth-child(3n) { animation-delay: 0.16s; }

.pl-wires path {
  stroke-dasharray: 1;
  animation: plDraw 0.85s cubic-bezier(0.65, 0, 0.35, 1) 0.15s both;
}

.pl-wires path:nth-child(3n + 2) { animation-delay: 0.25s; }
.pl-wires path:nth-child(3n) { animation-delay: 0.35s; }

/* pins light up as each wire arrives */
.pl-pins circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: plNode 0.35s cubic-bezier(0.3, 1.6, 0.5, 1) 0.95s both;
}

.pl-pins circle:nth-child(3n + 2) { animation-delay: 1.05s; }
.pl-pins circle:nth-child(3n) { animation-delay: 1.15s; }

/* connected: the chip breathes a soft ring */
.pl-glow {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: plGlow 1.8s ease-out 1.2s infinite;
}

@keyframes plGlow {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.12); }
}

/* signals flow along the wires into the chip */
.pl-pulses path {
  stroke-dasharray: 0.12 1;
  stroke-dashoffset: 0.12;
  opacity: 0;
  animation: plPulse 1.4s cubic-bezier(0.4, 0, 0.6, 1) 1.2s infinite;
}

.pl-pulses path:nth-child(3n + 2) { animation-delay: 1.65s; }
.pl-pulses path:nth-child(3n) { animation-delay: 2.1s; }

@media (prefers-reduced-motion: reduce) {
  .pl-pulses,
  .pl-glow {
    display: none;
  }
}

/* preloader exit: a round window opens from the centre (radius tweened by site.js) */
@property --hole {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}

.preloader {
  -webkit-mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
  mask-image: radial-gradient(circle at 50% 50%, transparent var(--hole), #000 calc(var(--hole) + 1px));
}


/* ==========================================================================
   29. MOBILE-APP SERVICES: live phone demo (sticky phone + service cards)
   ========================================================================== */
.svc-phone {
  display: none;
}

.svc-stage .media-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.2vw, 28px);
  background: #fff;
  border: 1px solid rgba(17, 114, 173, 0.12);
  border-radius: var(--r-xl);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 20px 40px -30px rgba(11, 92, 142, 0.45);
}

.svc-stage .media-row + .media-row {
  margin-top: 14px;
}

.svc-stage .media-row--reverse .media-row__media {
  order: -1;
}

.svc-stage .media-row__media {
  justify-self: center;
  width: min(100%, 260px);
}

body:not(.home) .svc-stage .media-row__media img {
  border-radius: 18px;
  background: linear-gradient(160deg, #eaf3fb, #e3f4ee);
}

.svc-stage .media-row__body .block-title {
  margin-top: 0;
}

.svc-stage .dot-list li {
  font-size: 14.5px;
}

@media (min-width: 992px) {
  .svc-stage .col-12:has(> .media-row) {
    --stage: 0;
    position: relative;
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr);
    gap: 0 clamp(48px, 6vw, 88px);
    align-items: start;
  }

  /* progress rail beside the cards */
  .svc-stage .col-12:has(> .media-row)::before,
  .svc-stage .col-12:has(> .media-row)::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(330px + clamp(48px, 6vw, 88px) / 2);
    width: 3px;
    margin-left: -1.5px;
    border-radius: 3px;
    background: #dbe8f3;
  }

  .svc-stage .col-12:has(> .media-row)::after {
    bottom: auto;
    height: calc(var(--stage) * 100%);
    min-height: 12%;
    background: linear-gradient(var(--blue-500), var(--teal-500));
    transition: height 0.6s var(--ease);
  }

  .svc-stage .media-row {
    grid-column: 2;
    opacity: 0.55;
    transform: scale(0.985);
    transform-origin: left center;
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), border-color 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }

  .svc-stage .media-row.is-active {
    opacity: 1;
    transform: none;
    border-color: rgba(17, 114, 173, 0.32);
    box-shadow: 0 4px 10px rgba(11, 92, 142, 0.06), 0 30px 60px -30px rgba(11, 92, 142, 0.55);
  }

  /* marker on the rail for each card */
  .svc-stage .media-row::before {
    content: "";
    position: absolute;
    top: 30px;
    left: calc(-1 * clamp(48px, 6vw, 88px) / 2 - 8px);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #c9dceb;
    transition: border-color 0.45s var(--ease), background 0.45s var(--ease), box-shadow 0.45s var(--ease);
  }

  .svc-stage .media-row.is-active::before {
    background: var(--grad);
    border-color: #fff;
    box-shadow: 0 0 0 5px rgba(19, 160, 125, 0.2), 0 0 18px rgba(19, 160, 125, 0.5);
  }

  /* accent bar on the active card */
  .svc-stage .media-row::after {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    left: 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--grad);
    transform: scaleY(0);
    transition: transform 0.45s var(--ease);
  }

  .svc-stage .media-row.is-active::after {
    transform: scaleY(1);
  }

  .svc-stage .media-row__media {
    display: none;
  }

  /* the sticky phone */
  .svc-phone {
    grid-column: 1;
    grid-row: 1 / span 20;
    position: sticky;
    top: calc(var(--header-h) + 28px);
    display: grid;
    justify-items: center;
    gap: 18px;
    padding-top: 6px;
  }

  .svc-phone::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 8%;
    left: 50%;
    width: 360px;
    height: 360px;
    margin-left: -180px;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(19, 160, 125, 0.18), rgba(17, 114, 173, 0.1) 60%, transparent);
  }

  .svc-phone__frame {
    position: relative;
    width: 270px;
    aspect-ratio: 9 / 18;
    padding: 12px;
    border-radius: 42px;
    background: linear-gradient(150deg, #1d4f78 0%, #0f2b45 45%, #071726 100%);
    box-shadow:
      0 0 0 1.5px #2b6a99 inset,
      0 0 0 5px rgba(11, 92, 142, 0.08),
      0 40px 70px -32px rgba(7, 23, 38, 0.75);
  }

  /* notch and home bar */
  .svc-phone__frame::before {
    content: "";
    position: absolute;
    top: 22px;
    left: 50%;
    z-index: 3;
    width: 76px;
    height: 18px;
    margin-left: -38px;
    border-radius: 12px;
    background: var(--navy-950);
  }

  .svc-phone__frame::after {
    content: "";
    position: absolute;
    bottom: 22px;
    left: 50%;
    z-index: 3;
    width: 90px;
    height: 4px;
    margin-left: -45px;
    border-radius: 4px;
    background: rgba(11, 23, 38, 0.28);
  }

  .svc-phone__frame i {
    position: absolute;
    z-index: 3;
    display: block;
  }

  .svc-phone__screen {
    position: absolute;
    inset: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    object-fit: contain;
    padding: 56px 10px 40px;
    border-radius: 31px;
    background:
      radial-gradient(240px 200px at 30% 18%, #fff, transparent 70%),
      linear-gradient(160deg, #eaf3fb, #e3f4ee);
    opacity: 0;
    transform: translateY(16px) scale(0.96);
    transition: opacity 0.5s var(--ease), transform 0.6s var(--ease);
  }

  .svc-phone__screen.is-on {
    opacity: 1;
    transform: none;
  }

  .svc-phone .pd-status { top: 26px; left: 30px; right: 30px; }
  .svc-phone .pd-glass { inset: 12px; border-radius: 31px; }
  .svc-phone .pd-vol { top: 22%; left: -3px; width: 4px; height: 8%; }
  .svc-phone .pd-power { top: 30%; right: -3px; width: 4px; height: 12%; }

  .svc-phone__dots {
    display: flex;
    gap: 6px;
  }

  .svc-phone__dots span {
    width: 7px;
    height: 7px;
    border-radius: 7px;
    background: #c9dceb;
    transition: width 0.4s var(--ease), background 0.4s var(--ease);
  }

  .svc-phone__dots span.is-on {
    width: 24px;
    background: var(--grad);
  }
}

/* shared phone details (status bar, glass, side buttons) */
.pd-status {
  height: 9px;
  background:
    linear-gradient(var(--navy-900), var(--navy-900)) 0 100% / 3px 3px no-repeat,
    linear-gradient(var(--navy-900), var(--navy-900)) 5px 100% / 3px 5px no-repeat,
    linear-gradient(var(--navy-900), var(--navy-900)) 10px 100% / 3px 7px no-repeat,
    linear-gradient(rgba(11, 23, 38, 0.3), rgba(11, 23, 38, 0.3)) 15px 100% / 3px 9px no-repeat;
}

.pd-status::after {
  content: "";
  position: absolute;
  top: 0;
  right: 3px;
  width: 17px;
  height: 9px;
  border: 1.5px solid var(--navy-900);
  border-radius: 3px;
  background: linear-gradient(90deg, var(--teal-500) 70%, transparent 70%) 1.5px 1.5px / calc(100% - 3px) calc(100% - 3px) no-repeat;
}

.pd-status::before {
  content: "";
  position: absolute;
  top: 3px;
  right: 0;
  width: 2px;
  height: 3px;
  background: var(--navy-900);
}

.pd-glass {
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.1) 28%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.pd-vol,
.pd-vol::after,
.pd-power {
  border-radius: 3px;
  background: linear-gradient(90deg, #0a2236, #1a4a70);
}

.pd-vol::after {
  content: "";
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 100%;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .svc-phone__screen { transition: none; }
}

/* sticky phone: overflow:hidden on the section would break position:sticky */
body:not(.home) main > .section.svc-stage {
  overflow: clip;
}

/* no rail between the phone and the cards */
@media (min-width: 992px) {
  .svc-stage .col-12:has(> .media-row)::before,
  .svc-stage .col-12:has(> .media-row)::after,
  .svc-stage .media-row::before {
    display: none;
  }

  .svc-stage .col-12:has(> .media-row) {
    gap: 0 clamp(36px, 4.5vw, 64px);
  }
}

/* ==========================================================================
   30. ARTICLE PAGES (insights): use the full width
   Text in two-column rows fills its column; the full-width tail
   (benefits / future / conclusion) becomes a row of cards.
   ========================================================================== */
.split-row .col-md-6 > .split-row__body {
  max-width: none;
}

.col-md-12 > .split-row__body {
  max-width: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  align-items: stretch;
}

.col-md-12 > .split-row__body > .text-block {
  margin: 0;
  padding: clamp(18px, 2vw, 24px);
  background: #fff;
  border: 1px solid rgba(17, 114, 173, 0.12);
  border-top: 3px solid transparent;
  border-image: none;
  border-radius: var(--r-lg);
  box-shadow: 0 2px 6px rgba(11, 92, 142, 0.04), 0 20px 40px -30px rgba(11, 92, 142, 0.45);
  background-image: linear-gradient(#fff, #fff), var(--grad);
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

.col-md-12 > .split-row__body > .text-block > .block-title:first-child,
.col-md-12 > .split-row__body > .text-block > :first-child .block-title {
  margin-top: 0;
}

/* inner .section nested in a section: no double padding */
.section .section {
  padding: clamp(16px, 2vw, 28px) 0 0;
}

.col-md-12 > .split-row__body > .text-block {
  border: 1px solid rgba(17, 114, 173, 0.12);
  background: #fff;
  background-clip: padding-box;
  box-shadow: inset 0 3px 0 var(--teal-500), 0 2px 6px rgba(11, 92, 142, 0.04), 0 20px 40px -30px rgba(11, 92, 142, 0.45);
}

/* module groups (finance automation, solution): list fills the card width */
@media (min-width: 768px) {
  .module-group .ring-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 32px;
  }

  .module-group .ring-list li + li {
    margin-top: 0;
  }
}

/* ERP article: the closing sections run one after another, full width */
.col-md-12 > .split-row__body.is-stacked {
  display: block;
}

.col-md-12 > .split-row__body.is-stacked > .text-block + .text-block {
  margin-top: 16px;
}

@media (min-width: 768px) {
  .col-md-12 > .split-row__body.is-stacked .check-lines,
  .col-md-12 > .split-row__body.is-stacked ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 32px;
  }
}

@media (min-width: 768px) {
  .col-md-12 > .split-row__body.is-stacked ul > li,
  .col-md-12 > .split-row__body.is-stacked .check-lines > p {
    margin: 0;
  }

  .col-md-12 > .split-row__body.is-stacked ul {
    margin-top: 10px;
  }
}

/* ERP stacked cards: list points one under another */
.col-md-12 > .split-row__body.is-stacked ul,
.col-md-12 > .split-row__body.is-stacked .check-lines {
  display: block;
}

.col-md-12 > .split-row__body.is-stacked ul > li + li,
.col-md-12 > .split-row__body.is-stacked .check-lines > p + p {
  margin-top: 8px;
}

/* module groups: points one under another (finance automation, solution) */
.module-group .ring-list {
  display: block;
}

.module-group .ring-list li + li {
  margin-top: 8px;
}

/* text columns that should read one after another */
.row--stacked > .col-md-6 {
  width: 100%;
}

.row--stacked {
  row-gap: 8px;
}

.row--stacked {
  row-gap: clamp(16px, 1.8vw, 24px);
}
