/* ==========================================================================
   Inphlex Infotech: Website design system
   Built on Brand Guidelines v1.0 (colours, Poppins + Inter, logo usage).
   Light content surfaces, dark footer. One stylesheet for every page.
   --------------------------------------------------------------------------
   1 Tokens  2 Base  3 Type & utilities  4 Buttons  5 Header & navigation
   6 Heroes  7 Shared section patterns  8 Home sections  9 Service pages
   10 Industry / tech / about pages  11 Forms & contact  12 CTA & footer
   13 Motion  14 Responsive
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --navy: #011246;
  --slate: #474E57;
  --royal: #0177FA;
  --deep: #0138C4;
  --cyan: #01CDFE;
  --flame: #FB5A12;
  --amber: #FFBA26;
  --cloud: #F6F8FB;
  --midnight: #0A1230;
  --white: #fff;
  /* Lighter shades of the official palette for surfaces */
  --tint: #EEF4FE;     /* Royal Blue at ~6% on white */
  --tint-2: #DCE9FD;   /* Royal Blue at ~14% on white */
  --line: #E2E7EF;
  --line-2: #CFD7E3;
  --muted: #6B7380;    /* lighter Slate for captions */
  --descriptor: #C9D1DC;

  --brand-stripe: linear-gradient(90deg, var(--deep) 0, var(--royal) 38%, var(--cyan) 70%, var(--flame) 70%, var(--amber) 100%);

  --f-head: "Poppins", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --sec: clamp(72px, 8vw, 112px);
  --r: 10px;
  --r-sm: 6px;
  --header-h: 78px;

  --sh-sm: 0 1px 2px rgba(1, 18, 70, .06), 0 2px 6px rgba(1, 18, 70, .04);
  --sh-md: 0 4px 12px rgba(1, 18, 70, .06), 0 16px 32px -16px rgba(1, 18, 70, .18);
  --sh-lg: 0 6px 16px rgba(1, 18, 70, .07), 0 28px 56px -24px rgba(1, 18, 70, .28);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font: 400 16px/1.7 var(--f-body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
main { overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
a { color: var(--royal); text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--f-head); color: var(--navy); font-weight: 600; letter-spacing: -.005em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--royal); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--tint-2); color: var(--navy); }
[id] { scroll-margin-top: calc(var(--header-h) + 70px); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; background: var(--navy); color: #fff; border-radius: var(--r-sm); font-weight: 600; }
.skip:focus { top: 10px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--sec); }
.section--tight { padding-block: 56px; }
.bg-cloud { background: var(--cloud); }
.bg-tint { background: var(--tint); }

/* 3. TYPE & UTILITIES ------------------------------------------------------ */
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico-sm { width: 18px; height: 18px; }
.ico-xs { width: 14px; height: 14px; stroke-width: 2; }

.h1 { font-size: clamp(2.1rem, 1.5rem + 2.2vw, 3.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; margin-bottom: 20px; }
.h1--hero { font-size: clamp(2.3rem, 1.55rem + 2.6vw, 3.45rem); }
.h2 { font-size: clamp(1.75rem, 1.35rem + 1.4vw, 2.4rem); font-weight: 700; line-height: 1.2; letter-spacing: -.018em; margin-bottom: 18px; }
.h3 { font-size: clamp(1.3rem, 1.15rem + .5vw, 1.6rem); font-weight: 600; line-height: 1.3; margin-bottom: 14px; }
.lead { font-size: clamp(1.04rem, 1rem + .25vw, 1.17rem); line-height: 1.7; margin-bottom: 30px; max-width: 600px; }
.lead-sm { font-size: 1.08rem; color: var(--navy); }
.hl { color: var(--royal); }

/* Section label: descriptor style (uppercase, wide tracking) with a flame bar */
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--deep); }
.label::before { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--flame); }
.label .ico { margin-right: -2px; color: var(--royal); }
.label--light { color: var(--cyan); }
.mini-title { margin: 0 0 10px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.link-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .94rem; color: var(--deep); }
.link-more .ico { transition: transform .3s var(--ease-out); }
.link-more:hover { color: var(--royal); }
.link-more:hover .ico { transform: translateX(4px); }
.center-row { display: flex; justify-content: center; margin-top: 44px; }

.checks { display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: var(--navy); font-size: .95rem; }
.checks .ico { margin-top: 2px; color: var(--royal); stroke-width: 2.2; }
.checks--tight { gap: 7px; }
.checks--tight li { font-size: .9rem; }
.checks--accent .ico { color: var(--flame); }
.checks--dash .ico { display: none; }
.checks--dash li::before { content: ""; flex: none; width: 10px; height: 2px; margin-top: 11px; background: var(--flame); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.chips a { padding: 6px 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; color: var(--navy); transition: border-color .2s, color .2s; }
.chips a:hover { border-color: var(--royal); color: var(--royal); }

/* 4. BUTTONS --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 1.5px solid transparent; border-radius: 8px;
  font: 600 .95rem/1 var(--f-body); white-space: nowrap; text-decoration: none; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s, transform .3s var(--ease-out);
}
.btn .ico { transition: transform .3s var(--ease-out); }
.btn:hover { transform: translateY(-1px); }
.btn:hover .ico:last-child { transform: translateX(3px); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; }
/* Primary: Deep Blue (white text 8.8:1) */
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--navy); box-shadow: 0 10px 20px -10px rgba(1, 56, 196, .6); }
/* Accent CTA: Flame Orange with Navy text (5.6:1; white would fail WCAG AA) */
.btn-accent { background: var(--flame); color: var(--navy); }
.btn-accent:hover { background: #FF6B26; box-shadow: 0 10px 22px -10px rgba(251, 90, 18, .65); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--navy); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .4); background: transparent; }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }

/* 5. HEADER & NAVIGATION --------------------------------------------------- */
.topbar { background: var(--navy); color: var(--descriptor); font-size: .82rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 16px; }
.topbar__tag { margin: 0; letter-spacing: .16em; text-transform: uppercase; font-size: .7rem; font-weight: 500; }
.topbar__links { display: flex; gap: 24px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 500; }
.topbar__links a:hover { color: var(--cyan); }
.topbar__links .ico { color: var(--cyan); }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -14px rgba(1, 18, 70, .35); }
.header__in { position: relative; display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { flex: none; padding: 6px 0; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; height: 100%; }
.nav__list { display: flex; align-items: stretch; height: 100%; }
.nav__list > li { display: flex; align-items: center; }
.nav__link { position: relative; display: flex; align-items: center; height: 100%; padding: 0 13px; font-size: .94rem; font-weight: 500; color: var(--navy); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--royal); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { color: var(--deep); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.has-dd .nav__link { padding-right: 4px; }
.has-dd .nav__link::after { right: 0; }
.dd-toggle { display: grid; place-items: center; width: 24px; height: 30px; margin-right: 6px; border: 0; background: none; color: var(--navy); border-radius: 4px; }
.dd-toggle .ico { transition: transform .3s var(--ease-out); }
.has-dd:hover .dd-toggle .ico, .has-dd.is-open .dd-toggle .ico { transform: rotate(180deg); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--navy); }

/* dropdown panels */
.dd {
  position: absolute; top: 100%; z-index: 120;
  background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; box-shadow: var(--sh-lg);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .3s var(--ease-out), visibility .25s;
}
.dd::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--brand-stripe); }
.has-dd:hover > .dd, .has-dd:focus-within > .dd, .has-dd.is-open > .dd { opacity: 1; visibility: visible; transform: none; }
.has-dd.is-closed > .dd { opacity: 0 !important; visibility: hidden !important; }
.dd--mega { left: var(--gutter); right: var(--gutter); }
.has-dd--rel { position: relative; }
.dd--ind { left: -120px; width: 560px; }
.mega { display: grid; grid-template-columns: 1fr 250px; }
.mega__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px 18px; padding: 28px 26px 24px; }
.mega__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mega__title span { color: var(--flame); font-family: var(--f-head); }
.mega__col li a, .ddi__list a { display: flex; gap: 12px; padding: 9px 8px; margin-inline: -8px; border-radius: 8px; transition: background-color .2s; }
.mega__col li a:hover, .ddi__list a:hover { background: var(--tint); }
.mega__ico { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--tint); color: var(--deep); transition: background-color .2s, color .2s; }
.mega__col a:hover .mega__ico, .ddi__list a:hover .mega__ico { background: var(--deep); color: #fff; }
.mega__ico .ico { width: 19px; height: 19px; }
.mega__col strong, .ddi__list strong { display: block; font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--navy); }
.mega__col small, .ddi__list small { display: block; font-size: .78rem; line-height: 1.4; color: var(--muted); margin-top: 2px; }
.mega__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px 24px; background: var(--cloud); border-left: 1px solid var(--line); border-radius: 0 0 12px 0; }
.mega__aside-title { margin: 0; font-family: var(--f-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); }
.mega__aside p { font-size: .88rem; line-height: 1.55; }
.mega__aside .link-more { margin-top: auto; font-size: .88rem; }
.ddi__list { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 22px 22px 14px; }
.ddi__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 22px; background: var(--cloud); border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.ddi__foot p { margin: 0; font-size: .84rem; }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(1, 18, 70, .45); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 100%); display: flex; flex-direction: column; background: #fff; transform: translateX(100%); transition: transform .4s var(--ease-out); overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel::before { content: ""; flex: none; height: 4px; background: var(--brand-stripe); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.drawer__head img { height: 40px; width: auto; }
.drawer__close { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; color: var(--navy); }
.drawer__nav { padding: 8px 20px; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__nav a { display: block; padding: 14px 0; font: 600 1.02rem var(--f-head); color: var(--navy); }
.drawer__row { display: flex; align-items: center; justify-content: space-between; }
.drawer__toggle { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--cloud); color: var(--navy); }
.drawer__toggle .ico { transition: transform .3s; }
.drawer__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.drawer__sub { padding: 0 0 12px 12px; border-left: 2px solid var(--tint-2); margin-bottom: 8px; }
.drawer__sub a { padding: 7px 0; font: 500 .92rem var(--f-body); color: var(--slate); }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; padding: 20px; background: var(--cloud); }
.drawer__contact { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--navy); }
.drawer__contact .ico { color: var(--royal); }

/* 6. HEROES ---------------------------------------------------------------- */
/* Blueprint texture used on hero backgrounds */
.hero__bg, .page-hero::before {
  background-color: var(--tint);
  background-image: linear-gradient(rgba(1, 119, 250, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(1, 119, 250, .07) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero { position: relative; padding: 64px 0 56px; background: #fff; overflow: hidden; }
.hero__bg { position: absolute; top: 0; right: 0; bottom: 0; width: 41%; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__copy .lead { margin-bottom: 32px; }
.hero__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__facts li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 500; color: var(--navy); }
.hero__facts .ico { color: var(--flame); stroke-width: 2.4; }
.hero__media { position: relative; padding: 0 0 40px 28px; }

/* Framed photography: image with an offset colour block behind it */
.frame { position: relative; isolation: isolate; }
.frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.frame::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: var(--r); background: var(--tint-2); transform: translate(18px, 18px); }
.frame--tint::before { background: var(--tint-2); }
.frame--navy::before { background: var(--navy); }
.frame--hero img { aspect-ratio: 4 / 3.4; }
.frame--hero::before { background: var(--navy); transform: translate(20px, 20px); }

.float-card { position: absolute; z-index: 2; padding: 18px 20px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); border: 1px solid var(--line); }
.float-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--r) 0 0 var(--r); background: var(--royal); }
.float-card__label { margin: 0 0 12px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.float-card--deliver { left: -8px; bottom: 0; width: 270px; }
.float-card--stack { right: -14px; top: 24px; padding: 14px 16px; }
.float-card--hero { left: -28px; bottom: -36px; width: min(300px, 80%); }
.float-card--commit { right: -24px; bottom: -36px; width: 310px; }
.deliver { display: grid; gap: 10px; }
.deliver li { display: flex; align-items: center; gap: 12px; font-size: .9rem; font-weight: 600; color: var(--navy); }
.deliver span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--tint); color: var(--deep); }
.deliver .ico { width: 18px; height: 18px; }
.stack-logos { display: flex; gap: 12px; }
.stack-logos img { width: 30px; height: 30px; }

.pillar-bar { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-md); position: relative; }
.pillar-bar::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 3px; border-radius: var(--r) var(--r) 0 0; background: var(--brand-stripe); }
.pillar-bar__item { padding: 26px 26px 24px; border-right: 1px solid var(--line); }
.pillar-bar__item:last-child { border-right: 0; }
.pillar-bar__no { margin: 0 0 4px; font: 700 .85rem var(--f-head); color: var(--flame); }
.pillar-bar__title { font-size: 1.05rem; margin-bottom: 12px; }
.pillar-bar ul { display: grid; gap: 6px; }
.pillar-bar a { font-size: .88rem; color: var(--slate); transition: color .2s; }
.pillar-bar a:hover { color: var(--deep); }

/* inner-page hero */
.page-hero { position: relative; padding: 48px 0 88px; background: var(--cloud); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 38%; }
.page-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.page-hero__media { position: relative; }
.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; font-size: .84rem; }
.crumbs li { display: flex; align-items: center; gap: 4px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 6px; color: var(--line-2); }
.crumbs a { color: var(--deep); font-weight: 500; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--navy); font-weight: 600; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: .9rem; }
.hero-note .ico { color: var(--royal); }
.hero-note a { font-weight: 600; color: var(--navy); }

/* 7. SHARED SECTION PATTERNS ----------------------------------------------- */
.sec-head { margin-bottom: clamp(36px, 4vw, 56px); }
.sec-head--split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px 64px; align-items: end; }
.sec-head--split .h2 { margin-bottom: 0; max-width: 640px; }
.sec-head--center { text-align: center; max-width: 760px; margin-inline: auto; }
.sec-head--left .h2 { margin-bottom: 0; }
.sec-head__text { margin: 0; font-size: 1.02rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--media-left { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
.split--sticky { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.split--overview { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; }
.split--faq { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; }
.split--contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: start; }
.split--benefits { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.split--why { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
.has-subnav .sticky { top: calc(var(--header-h) + 90px); }
.split__aside .btn { margin-top: 8px; }
.prose p { max-width: 640px; }

.note-box { display: flex; gap: 14px; margin: 24px 0; padding: 16px 18px; background: var(--tint); border-radius: var(--r-sm); border-left: 3px solid var(--royal); }
.note-box .ico { color: var(--deep); margin-top: 2px; }
.note-box p { margin: 0; font-size: .92rem; }
.note-box strong { color: var(--navy); }

.contact-mini { display: grid; gap: 8px; margin-top: 24px; }
.contact-mini a { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-weight: 600; color: var(--navy); }
.contact-mini .ico { color: var(--royal); }

/* Steps (horizontal process with connector line) */
.steps--h { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
.step { position: relative; display: flex; flex-direction: column; }
.steps--h .step__out { margin-top: auto; }
.steps--h .step > p:not(.step__out) { margin-bottom: 14px; }
.step__marker { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--deep); font: 700 1rem var(--f-head); transition: background-color .3s, color .3s, border-color .3s; }
.steps--h .step:not(:last-child)::before { content: ""; position: absolute; top: 28px; left: 56px; right: -24px; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.step:hover .step__marker { background: var(--deep); color: #fff; border-color: var(--deep); }
.step__no { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
.step__title { font-size: 1.04rem; line-height: 1.35; margin-bottom: 8px; }
.step p { font-size: .9rem; line-height: 1.6; }
.step__out { margin-top: 14px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--white); border: 1px solid var(--line); font-size: .84rem !important; font-weight: 600; color: var(--navy); }
.bg-cloud .step__out, .bg-tint .step__out { background: #fff; }
.step__out span { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 2px; }

/* FAQ accordion */
.faq { border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { font-size: 1rem; }
.faq__q button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; border: 0; background: none; text-align: left; font: 600 1.04rem/1.45 var(--f-head); color: var(--navy); }
.faq__q button:hover { color: var(--deep); }
.faq__ico { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--deep); transition: transform .35s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.faq__item.is-open .faq__ico { transform: rotate(45deg); background: var(--deep); border-color: var(--deep); color: #fff; }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 48px 24px 0; margin: 0; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Technology tiles (official logos) */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.tech-grid--lg { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.tech-tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px 14px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease-out); }
.tech-tile:hover { border-color: var(--royal); box-shadow: var(--sh-md); transform: translateY(-3px); }
.tech-tile__logo { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 6px; border-radius: 12px; background: var(--cloud); transition: background-color .3s; }
.tech-tile:hover .tech-tile__logo { background: var(--tint); }
.tech-tile__logo img { width: 44px; height: 44px; object-fit: contain; transition: transform .35s var(--ease-out); }
.tech-tile:hover .tech-tile__logo img { transform: scale(1.08); }
.tech-tile__name { font: 600 .95rem/1.3 var(--f-head); color: var(--navy); }
.tech-tile__use { font-size: .8rem; line-height: 1.45; color: var(--muted); }

/* Capability grid: hairline-ruled cells */
.cap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); background: #fff; }
.cap-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cap { padding: 32px 28px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); transition: background-color .3s; }
.cap:hover { background: var(--cloud); }
.cap__ico { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 18px; border-radius: 10px; background: var(--tint); color: var(--deep); transition: background-color .3s, color .3s; }
.cap:hover .cap__ico { background: var(--deep); color: #fff; }
.cap__no { display: block; margin-bottom: 14px; font: 700 1.5rem var(--f-head); color: var(--tint-2); -webkit-text-stroke: 1px var(--royal); }
.cap h3 { font-size: 1.06rem; margin-bottom: 8px; }
.cap p { font-size: .92rem; line-height: 1.6; }

/* Numbered challenge list */
.numbered { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; }
.numbered--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.numbered li { display: flex; gap: 18px; padding: 28px 0; border-top: 1px solid var(--line-2); }
.numbered__no { flex: none; font: 700 1.9rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 1px var(--royal); }
.numbered h3 { font-size: 1.06rem; margin-bottom: 6px; }
.numbered p { font-size: .93rem; line-height: 1.6; }

.ind-strip { display: flex; flex-wrap: wrap; gap: 10px; }
.ind-strip a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font-weight: 600; font-size: .92rem; color: var(--navy); transition: border-color .2s, color .2s, box-shadow .3s; }
.ind-strip .ico { color: var(--royal); width: 20px; height: 20px; }
.ind-strip a:hover { border-color: var(--royal); color: var(--deep); box-shadow: var(--sh-sm); }

/* Sticky in-page navigation (service pages, overview pages) */
.subnav, .jump { position: sticky; top: var(--header-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 18px -16px rgba(1, 18, 70, .4); }
.subnav .container, .jump .container { display: flex; align-items: center; gap: 20px; }
.subnav ul, .jump ul { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.subnav ul::-webkit-scrollbar, .jump ul::-webkit-scrollbar { display: none; }
.subnav li a, .jump li a { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 18px 12px; font-size: .9rem; font-weight: 500; color: var(--slate); white-space: nowrap; transition: color .2s; }
.subnav li a::after, .jump li a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--flame); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.subnav li a:hover, .subnav li a.is-active, .jump li a:hover, .jump li a.is-active { color: var(--navy); }
.subnav li a.is-active::after, .jump li a.is-active::after, .subnav li a:hover::after, .jump li a:hover::after { transform: scaleX(1); }
.jump a span { font: 700 .8rem var(--f-head); color: var(--flame); }
.subnav__cta { flex: none; }

/* 8. HOME SECTIONS --------------------------------------------------------- */
.logo-band { padding: 28px 0; background: var(--cloud); border-block: 1px solid var(--line); }
.logo-band__in { display: flex; align-items: center; gap: 32px; }
.logo-band__title { flex: none; margin: 0; padding-right: 32px; border-right: 1px solid var(--line-2); font: 600 .78rem/1.5 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.marquee { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex: none; }
.marquee__list li { display: flex; align-items: center; gap: 10px; padding-right: 44px; white-space: nowrap; font: 600 .95rem var(--f-head); color: var(--navy); }
.marquee__list img { width: 34px; height: 34px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.collage { position: relative; padding: 0 64px 72px 0; }
.collage__main img { aspect-ratio: 4 / 3.2; }
.collage__sub { position: absolute; right: 0; bottom: 0; width: 46%; border: 8px solid #fff; border-radius: 14px; box-shadow: var(--sh-lg); overflow: hidden; }
.collage__sub img { aspect-ratio: 4 / 3; object-fit: cover; }
.collage__badge { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border-radius: var(--r); box-shadow: var(--sh-lg); font: 600 .86rem/1.4 var(--f-head); color: var(--navy); }
.collage__badge img { width: 40px; height: 40px; }
.feature-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin: 30px 0 34px; padding-top: 28px; border-top: 1px solid var(--line); }
.feature-list li { display: flex; gap: 14px; }
.feature-list__ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--tint); color: var(--deep); }
.feature-list h3 { font-size: .98rem; margin-bottom: 2px; }
.feature-list p { font-size: .88rem; line-height: 1.55; margin: 0; }
.about-intro .link-more { color: var(--navy); }

/* Services matrix: 4 practice-area columns, ruled cells */
/* subgrid keeps the three service rows aligned across all four columns */
.svc-matrix { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto repeat(3, auto); background: #fff; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-sm); }
.svc-matrix__col { display: grid; grid-row: span 4; grid-template-rows: subgrid; border-right: 1px solid var(--line-2); }
.svc-matrix__col:last-child { border-right: 0; }
.svc-matrix__head { display: flex; align-items: baseline; gap: 10px; padding: 18px 24px; background: var(--navy); }
.svc-matrix__head span { font: 700 .85rem var(--f-head); color: var(--amber); }
.svc-matrix__head h3 { font-size: .98rem; color: #fff; }
.svc-cell { flex: 1; display: flex; flex-direction: column; padding: 26px 24px; border-bottom: 1px solid var(--line); color: var(--slate); transition: background-color .3s; }
.svc-cell:last-child { border-bottom: 0; }
.svc-cell:hover { background: var(--tint); }
.svc-cell__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 10px; background: var(--tint); color: var(--deep); transition: background-color .3s, color .3s; }
.svc-cell:hover .svc-cell__ico { background: var(--deep); color: #fff; }
.svc-cell h4 { font-size: 1.02rem; line-height: 1.35; margin-bottom: 8px; }
.svc-cell p { font-size: .88rem; line-height: 1.6; margin-bottom: 16px; }
.svc-cell__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--deep); }
.svc-cell__more .ico { transition: transform .3s var(--ease-out); }
.svc-cell:hover .svc-cell__more .ico { transform: translateX(4px); }

/* Business solutions */
.sol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.sol { padding: 28px 0; border-top: 1px solid var(--line-2); }
.sol__ico { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 10px; background: var(--tint); color: var(--deep); }
.sol h3 { font-size: 1.06rem; margin-bottom: 6px; }
.sol p { font-size: .92rem; line-height: 1.6; margin-bottom: 10px; }
.sol__rel { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; }
.sol__rel a { font-weight: 600; color: var(--deep); }
.sol__rel a:hover { text-decoration: underline; }
.sol__rel span { color: var(--line-2); }

/* Industries tabs */
.ind-tabs { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.ind-tabs__list { display: grid; gap: 4px; }
.ind-tab { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid transparent; border-radius: 8px; background: transparent; text-align: left; font: 600 .95rem var(--f-head); color: var(--navy); transition: background-color .25s, border-color .25s, box-shadow .25s; }
.ind-tab .ico { color: var(--royal); }
.ind-tab:hover { background: rgba(255, 255, 255, .7); }
.ind-tab.is-active { background: #fff; border-color: var(--line); box-shadow: var(--sh-md); }
.ind-tab.is-active::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; border-radius: 3px; background: var(--flame); }
.ind-panel { background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--sh-md); overflow: hidden; }
.ind-panel.is-active { animation: fade-in .45s var(--ease-out); }
.ind-panel__img { position: relative; }
.ind-panel__img img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; object-position: center 35%; }
.ind-panel__img figcaption { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: #fff; border-radius: 6px; font: 600 .88rem var(--f-head); color: var(--navy); box-shadow: var(--sh-sm); }
.ind-panel__img figcaption .ico { color: var(--royal); width: 18px; height: 18px; }
.ind-panel__body { padding: 30px 32px 32px; }
.ind-panel__body h3 { font-size: 1.32rem; line-height: 1.3; margin-bottom: 10px; }
.ind-panel__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 22px 0 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.ind-panel__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.ind-panel .chips a { background: var(--cloud); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } }

/* Why choose */
.why-media { position: relative; padding: 0 20px 48px 0; }
.why-media img { aspect-ratio: 4 / 4.4; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 28px; }
.why-list--1 { grid-template-columns: 1fr; }
.why-list li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.why-list__ico { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 10px; background: var(--tint); color: var(--deep); }
.why-list h3 { font-size: 1rem; margin-bottom: 4px; }
.why-list p { font-size: .9rem; line-height: 1.6; margin: 0; }

/* Tech tabs (home) */
.tabbar { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 28px; border-bottom: 1px solid var(--line-2); }
.tabbar::-webkit-scrollbar { display: none; }
.tabbar__tab { position: relative; flex: none; padding: 14px 16px; border: 0; background: none; font-size: .92rem; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .2s; }
.tabbar__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--royal); transform: scaleX(0); transition: transform .3s var(--ease-out); }
.tabbar__tab:hover { color: var(--navy); }
.tabbar__tab.is-active { color: var(--navy); }
.tabbar__tab.is-active::after { transform: scaleX(1); }
.tech-panel.is-active .tech-tile { animation: fade-in .45s var(--ease-out) both; }
.tech-panel.is-active .tech-tile:nth-child(2) { animation-delay: .04s; }
.tech-panel.is-active .tech-tile:nth-child(3) { animation-delay: .08s; }
.tech-panel.is-active .tech-tile:nth-child(4) { animation-delay: .12s; }
.tech-panel.is-active .tech-tile:nth-child(5) { animation-delay: .16s; }
.tech-panel.is-active .tech-tile:nth-child(6) { animation-delay: .2s; }
.tech-panel.is-active .tech-tile:nth-child(n+7) { animation-delay: .24s; }

/* Engagement models */
.models { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.model { position: relative; display: flex; flex-direction: column; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, transform .35s var(--ease-out); }
.model:hover { box-shadow: var(--sh-md); transform: translateY(-3px); }
.model--featured { border-color: var(--deep); box-shadow: var(--sh-md); }
.model--featured::before { content: "Most flexible"; position: absolute; top: -12px; left: 26px; padding: 3px 10px; border-radius: 4px; background: var(--deep); color: #fff; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.model__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 10px; background: var(--tint); color: var(--deep); }
.model h3 { font-size: 1.1rem; margin-bottom: 10px; }
.model__best { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: .9rem; }
.model__best span { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); margin-bottom: 2px; }
.model .checks { margin-bottom: 22px; }
.model .link-more { margin-top: auto; font-size: .88rem; }

/* 9. SERVICE PAGES --------------------------------------------------------- */
.glance { position: relative; }
.glance__img img { aspect-ratio: 16 / 10; }
.glance__box { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: -40px 24px 0 -20px; padding: 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--sh-lg); }

.sol-rows { border-bottom: 1px solid var(--line-2); }
.sol-row { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 30px 0; border-top: 1px solid var(--line-2); transition: padding-left .35s var(--ease-out); }
.sol-row:hover { padding-left: 8px; }
.sol-row__no { font: 700 1rem var(--f-head); color: var(--flame); padding-top: 3px; }
.sol-row h3 { font-size: 1.16rem; margin-bottom: 6px; }
.sol-row p { margin: 0; }

.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.benefit { padding: 28px 26px; background: var(--cloud); border-radius: var(--r); border-top: 3px solid var(--royal); }
.benefit:nth-child(2), .benefit:nth-child(3) { border-top-color: var(--flame); }
.benefit__ico { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 14px; border-radius: 50%; background: #fff; color: var(--deep); box-shadow: var(--sh-sm); }
.benefit__ico .ico { width: 18px; height: 18px; stroke-width: 2.4; }
.benefit h3 { font-size: 1.06rem; margin-bottom: 6px; }
.benefit p { font-size: .92rem; line-height: 1.6; }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.rel-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; color: var(--slate); transition: box-shadow .3s, transform .35s var(--ease-out); }
.rel-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.rel-card figure { overflow: hidden; }
.rel-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease-out); }
.rel-card:hover img { transform: scale(1.04); }
.rel-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.rel-card__pillar { margin: 0 0 6px; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--flame); }
.rel-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.rel-card p { font-size: .9rem; line-height: 1.6; }
.rel-card .link-more { margin-top: auto; padding-top: 8px; }

/* Services overview */
.pillar-block { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.pillar-block__head { position: sticky; top: calc(var(--header-h) + 90px); }
.pillar-block__no { display: block; margin-bottom: 12px; font: 700 4rem/1 var(--f-head); color: transparent; -webkit-text-stroke: 1.5px var(--royal); }
.svc-rows { display: grid; gap: 22px; }
.svc-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .3s, border-color .3s; }
.svc-row:hover { box-shadow: var(--sh-md); border-color: var(--line-2); }
.svc-row__img { overflow: hidden; border-radius: 8px; }
.svc-row__img img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; transition: transform .6s var(--ease-out); }
.svc-row:hover .svc-row__img img { transform: scale(1.04); }
.svc-row h3 { font-size: 1.22rem; margin-bottom: 8px; }
.svc-row h3 a { color: var(--navy); }
.svc-row h3 a:hover { color: var(--deep); }
.svc-row__body > p { font-size: .94rem; }
.svc-row__caps { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 16px; }
.svc-row__caps li { position: relative; padding-left: 14px; font-size: .84rem; color: var(--navy); font-weight: 500; }
.svc-row__caps li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; border-radius: 2px; background: var(--royal); }

/* 10. INDUSTRY / TECH / ABOUT PAGES ---------------------------------------- */
.ind-rows { display: grid; gap: clamp(64px, 8vw, 112px); }
.ind-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.ind-row--rev .ind-row__img { order: 2; }
.ind-row__img img { aspect-ratio: 4 / 3; }
.ind-row__body .ind-panel__cols { margin-bottom: 28px; }

.svc-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 22px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--slate); transition: border-color .3s, box-shadow .3s; }
.svc-link:hover { border-color: var(--royal); box-shadow: var(--sh-md); }
.svc-link__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: var(--tint); color: var(--deep); }
.svc-link strong { display: block; font: 600 1.02rem var(--f-head); color: var(--navy); margin-bottom: 3px; }
.svc-link small { display: block; font-size: .86rem; line-height: 1.5; }
.svc-link > .ico { color: var(--deep); transition: transform .3s var(--ease-out); }
.svc-link:hover > .ico { transform: translateX(4px); }

.tech-cat { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: start; }
.tech-cat__info { position: sticky; top: calc(var(--header-h) + 90px); }
.tech-cat__ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 12px; background: var(--deep); color: #fff; }
.tech-cat__info .checks { margin-bottom: 22px; }
.tech-cat__info .mini-title { margin-top: 22px; }
.bg-cloud .tech-tile__logo { background: var(--tint); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv__item { padding: 40px; background: #fff; border-radius: var(--r); border-left: 4px solid var(--royal); box-shadow: var(--sh-sm); }
.mv__item:nth-child(2) { border-left-color: var(--flame); }
.mv__ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 12px; background: var(--tint); color: var(--deep); }
.mv__item .h3 { margin: 0; font-weight: 500; line-height: 1.45; }

.pillar-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pillar-card { padding: 30px 26px; border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--r); background: #fff; }
.pillar-card__no { display: block; margin-bottom: 10px; font: 700 .9rem var(--f-head); color: var(--flame); }
.pillar-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.pillar-card p { font-size: .9rem; line-height: 1.6; margin-bottom: 18px; }
.pillar-card ul { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--line); }
.pillar-card a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: .88rem; font-weight: 600; color: var(--navy); }
.pillar-card a .ico { color: var(--royal); transition: transform .3s var(--ease-out); }
.pillar-card a:hover { color: var(--deep); }
.pillar-card a:hover .ico { transform: translateX(3px); }

/* 11. FORMS & CONTACT ------------------------------------------------------ */
.contact-aside { margin-top: 30px; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); color: var(--navy); }
.contact-line:last-of-type { border-bottom: 1px solid var(--line-2); }
.contact-line__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 10px; background: var(--deep); color: #fff; transition: background-color .25s; }
.contact-line:hover .contact-line__ico { background: var(--royal); }
.contact-line small { display: block; font-size: .78rem; color: var(--muted); }
.contact-line strong { font: 600 1.06rem var(--f-head); }
.next { margin-top: 30px; padding: 24px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); }
.next__title { margin-bottom: 16px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--deep); }
.next ol { display: grid; gap: 14px; }
.next li { display: flex; gap: 14px; }
.next li > span { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--tint); color: var(--deep); font: 700 .8rem var(--f-head); }
.next strong { display: block; font-size: .94rem; color: var(--navy); }
.next p { margin: 0; font-size: .88rem; line-height: 1.5; }

.form-card { position: relative; padding: clamp(24px, 3.4vw, 40px); background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--sh-lg); overflow: hidden; }
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-stripe); }
.form-card__head { margin-bottom: 24px; }
.form-card__head h3 { font-size: 1.4rem; margin-bottom: 6px; }
.form-card__head p { font-size: .9rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 8px; background: var(--cloud); font-size: .95rem; color: var(--navy); -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #8A93A0; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #AEB9C9; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--royal); background: #fff; box-shadow: 0 0 0 4px rgba(1, 119, 250, .12); }
.select { position: relative; }
.select select { padding-right: 42px; cursor: pointer; }
.select .ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.req { color: var(--flame); }
.field__err { display: none; margin: 6px 0 0; font-size: .82rem; font-weight: 500; color: #C2410C; }
.field.has-error input, .field.has-error textarea { border-color: var(--flame); background: #FFF7F3; }
.field.has-error .field__err { display: block; }
.field.is-flash select, .field.is-flash textarea { animation: flash 1.4s var(--ease); }
@keyframes flash { 30% { border-color: var(--royal); box-shadow: 0 0 0 5px rgba(1, 119, 250, .2); } }
.form-card__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.form-note { flex: 1 1 220px; margin: 0; font-size: .8rem; line-height: 1.5; color: var(--muted); }
.form-done { text-align: center; padding: 32px 8px; }
.form-done:focus { outline: none; }
.form-done__ico { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; background: var(--deep); color: #fff; }
.form-done__ico .ico { width: 32px; height: 32px; stroke-width: 2.4; }
.form-done h3 { font-size: 1.45rem; margin-bottom: 10px; }
.form-done p { max-width: 440px; margin: 0 auto 22px; }

/* 12. CTA & FOOTER --------------------------------------------------------- */
.cta-band { padding: var(--sec) 0; }
.section.bg-cloud + .cta-band, .section.bg-tint + .cta-band { background: linear-gradient(180deg, var(--cloud) 0, #fff 0); }
.cta-band__box { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); border-radius: 14px; overflow: hidden; background: var(--deep); box-shadow: 0 30px 60px -30px rgba(1, 56, 196, .6); position: relative; }
.cta-band__box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--brand-stripe); }
.cta-band__copy { padding: clamp(32px, 5vw, 60px); color: rgba(255, 255, 255, .85); background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 36px 36px; }
.cta-band .h2 { color: #fff; max-width: 620px; }
.cta-band__copy > p:not(.label) { max-width: 560px; margin-bottom: 28px; font-size: 1.05rem; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }

.site-footer { position: relative; background: var(--midnight); color: rgba(255, 255, 255, .72); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--brand-stripe); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 56px 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__intro h2 { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); margin-bottom: 6px; }
.footer__intro p { margin: 0; }
.footer__intro-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__phone { display: inline-flex; align-items: center; gap: 10px; font: 600 1.05rem var(--f-head); color: #fff; }
.footer__phone .ico { color: var(--cyan); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.5fr) minmax(0, .8fr) minmax(0, .7fr); gap: 40px; padding-block: 56px; }
.footer__brand img { height: 56px; width: auto; margin-bottom: 20px; }
.footer__brand p { font-size: .92rem; max-width: 360px; }
.footer__contact { display: grid; gap: 8px; margin-top: 20px; }
.footer__contact a, .footer__col a { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer__contact .ico { color: var(--cyan); }
.footer__contact a:hover, .footer__col a:hover { color: #fff; }
.footer__col h3 { margin-bottom: 18px; font: 600 .74rem var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--descriptor); }
.footer__col ul { display: grid; gap: 9px; }
.footer__split { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bottom-in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 22px; font-size: .85rem; }
.footer__bottom p { margin: 0; }
.footer__tag { font-size: .7rem !important; letter-spacing: .2em; text-transform: uppercase; color: var(--descriptor); }

.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: var(--deep); color: #fff; box-shadow: var(--sh-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease-out), visibility .3s, background-color .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--navy); }

/* 13. MOTION --------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease) var(--d, 0s), transform .8s var(--ease-out) var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* 14. RESPONSIVE ----------------------------------------------------------- */
@media (max-width: 1240px) {
  .nav__link { padding: 0 10px; font-size: .9rem; }
  .nav__link::after { left: 10px; right: 10px; }
  .mega { grid-template-columns: 1fr; }
  .mega__aside { flex-direction: row; flex-wrap: wrap; align-items: center; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; padding: 16px 26px; }
  .mega__aside p { margin: 0; flex: 1 1 260px; }
  .mega__aside .link-more { margin-top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1080px) {
  :root { --header-h: 70px; }
  .nav, .topbar__tag { display: none; }
  .header__actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .brand img { height: 42px; }
  .topbar__in { justify-content: center; }

  .hero__grid, .page-hero__grid, .split, .split--media-left, .split--sticky, .split--overview, .split--faq, .split--contact, .split--benefits, .split--why, .pillar-block, .tech-cat, .ind-row, .sec-head--split { grid-template-columns: minmax(0, 1fr); }
  .hero__bg { width: 100%; top: auto; height: 46%; }
  .page-hero::before { width: 100%; top: auto; height: 38%; }
  .hero__media, .page-hero__media { max-width: 680px; }
  .sticky, .pillar-block__head, .tech-cat__info { position: static; }
  .ind-row--rev .ind-row__img { order: 0; }
  .pillar-bar { grid-template-columns: 1fr 1fr; }
  .pillar-bar__item:nth-child(2) { border-right: 0; }
  .pillar-bar__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc-matrix { grid-template-columns: 1fr 1fr; }
  .svc-matrix__col:nth-child(2) { border-right: 0; }
  .svc-matrix__col:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
  .ind-tabs { grid-template-columns: 1fr; }
  .ind-tabs__list { display: flex; overflow-x: auto; scrollbar-width: none; gap: 6px; padding-bottom: 4px; }
  .ind-tabs__list::-webkit-scrollbar { display: none; }
  .ind-tab { flex: none; padding: 10px 14px; background: #fff; border-color: var(--line); }
  .ind-tab.is-active::before { left: 12px; right: 12px; top: auto; bottom: -1px; width: auto; height: 3px; }
  .steps--h { grid-template-columns: 1fr; gap: 0; }
  .steps--h .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 20px; padding-bottom: 28px; }
  .steps--h .step > :not(.step__marker) { grid-column: 2; }
  .steps--h .step__marker { grid-row: 1 / span 4; margin: 0; }
  .steps--h .step:not(:last-child)::before { top: 56px; bottom: 0; left: 28px; right: auto; width: 1px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 6px, transparent 6px 11px); }
  .step__out { width: max-content; max-width: 100%; }
  .models { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .cap-grid, .cap-grid--4 { grid-template-columns: 1fr 1fr; }
  .numbered { grid-template-columns: 1fr 1fr; }
  .related { grid-template-columns: 1fr 1fr; }
  .pillar-cards { grid-template-columns: 1fr 1fr; }
  .cta-band__box { grid-template-columns: 1fr; }
  .cta-band__media { order: -1; max-height: 240px; overflow: hidden; }
  .float-card--commit { right: 0; }
  .why-media { max-width: 640px; }
  .subnav__cta { display: none; }
}

@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .topbar__links { gap: 16px; font-size: .76rem; }
  .brand img { height: 38px; }
  .header__cta { display: none; }
  .hero { padding-top: 40px; }
  .hero__facts { grid-template-columns: 1fr; }
  .btn-row .btn-lg { flex: 1 1 100%; }
  .hero__media, .page-hero__media { padding: 0 14px 0 0; }
  .float-card { position: relative; left: auto; right: auto; top: auto; bottom: auto; width: auto; margin: -36px 12px 0; }
  .float-card--stack { display: none; }
  .float-card--deliver { margin-top: -44px; }
  .pillar-bar { grid-template-columns: 1fr; margin-top: 44px; }
  .pillar-bar__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar-bar__item:last-child { border-bottom: 0; }
  .logo-band__in { flex-direction: column; align-items: stretch; gap: 14px; }
  .logo-band__title { border-right: 0; padding: 0; text-align: center; }
  .logo-band__title br { display: none; }
  .collage { padding: 0 28px 56px 0; }
  .collage__badge { display: none; }
  .feature-list, .why-list, .sol-grid, .ind-panel__cols, .glance__box, .form-grid, .benefits, .svc-links, .mv, .footer__split { grid-template-columns: 1fr; }
  .svc-matrix, .cap-grid, .cap-grid--4, .numbered, .numbered--2, .related, .models, .pillar-cards { grid-template-columns: 1fr; }
  .svc-matrix__col { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .svc-matrix__col:last-child { border-bottom: 0; }
  .glance__box { margin: -32px 10px 0; }
  .ind-panel__body { padding: 22px; }
  .ind-panel__img img { aspect-ratio: 16 / 9; }
  .svc-row { grid-template-columns: 1fr; padding: 16px; }
  .svc-row__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .tech-grid, .tech-grid--lg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tech-tile { padding: 18px 10px 16px; }
  .tech-tile__logo { width: 56px; height: 56px; }
  .tech-tile__logo img { width: 38px; height: 38px; }
  .mv__item { padding: 28px; }
  .faq__a p { padding-right: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-in { flex-direction: column; align-items: flex-start; }
  .form-card__foot .btn { width: 100%; }
  .float-card--commit { margin-top: -36px; }
  .why-media { padding: 0 14px 0 0; }
  .frame::before { transform: translate(12px, 12px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
}
