/* ==========================================================================
   TECHNOPRIX — Enterprise Software Solutions
   Global stylesheet / design system
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand */
  --navy-900: #060a22;
  --navy-800: #0b1437;
  --navy-700: #111c52;
  --navy-600: #1b2a6b;
  --ink:      #0e1330;

  --blue:        #2d43f5;
  --blue-bright: #4f6bff;
  --blue-soft:   #eaedff;

  --coral:      #ff6b5e;
  --coral-deep: #f24d3f;
  --coral-soft: #ffe9e6;

  --teal:      #22c9be;   /* Winocle accent */
  --teal-soft: #e2f8f6;

  /* Neutrals */
  --white:   #ffffff;
  --bg:      #ffffff;
  --bg-soft: #f6f8fc;
  --bg-mist: #eef2fb;
  --line:    #e6e9f2;
  --line-strong: #d4d9e8;

  --slate-900: #131a36;
  --slate-700: #2c3556;
  --slate-600: #4a5573;
  --slate-500: #6b748f;
  --slate-400: #97a0b8;

  /* Typography */
  --font-display: "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Radius & shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(14, 19, 48, .06);
  --shadow-sm: 0 4px 16px rgba(14, 19, 48, .06);
  --shadow-md: 0 14px 40px rgba(14, 19, 48, .10);
  --shadow-lg: 0 30px 70px rgba(14, 19, 48, .16);
  --shadow-blue: 0 18px 40px rgba(45, 67, 245, .26);
  --shadow-coral: 0 18px 40px rgba(242, 77, 63, .24);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --header-h: 76px;
  --gutter: clamp(20px, 5vw, 40px);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:focus-within { scroll-padding-top: calc(var(--header-h) + 20px); }

body {
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul { list-style: none; padding: 0; }
input, textarea, select { font-family: inherit; font-size: inherit; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h4 { font-size: 1.12rem; }
p { color: var(--slate-600); }
strong { color: var(--slate-900); font-weight: 600; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(64px, 8vw, 116px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--bg-soft); }
.section--mist { background: var(--bg-mist); }
.section--dark { background: var(--navy-800); color: #c7cdec; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }

.center { text-align: center; }
.measure { max-width: 64ch; }
.mt-0 { margin-top: 0; }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--coral);
  border-radius: 2px;
}
.eyebrow.center-flex { justify-content: center; }
.section--dark .eyebrow { color: var(--teal); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 16px; font-size: 1.06rem; }
.section-head h2 { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--shadow-coral); }
.btn--primary:hover { background: var(--coral-deep); }

.btn--blue { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn--blue:hover { background: var(--blue-bright); }

.btn--dark { background: var(--navy-800); color: #fff; }
.btn--dark:hover { background: var(--navy-700); }

.btn--ghost { background: #fff; color: var(--navy-800); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-xs); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }

.btn--outline-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn--lg { padding: 17px 32px; font-size: 1.04rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  color: var(--blue);
  transition: gap .25s var(--ease), color .2s;
}
.link-arrow svg { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover { gap: 11px; color: var(--blue-bright); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s, background .3s;
}
.site-header.scrolled {
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--line);
}
.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo { flex: none; display: inline-flex; align-items: center; }
.nav__logo img { height: 34px; width: auto; max-width: none; }
.nav__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}
/* The in-menu CTA is only for the collapsed mobile menu; hide it on desktop */
.nav__menu > .btn { display: none; }
.nav__link {
  position: relative;
  font-weight: 500;
  font-size: .96rem;
  color: var(--slate-700);
  padding: 10px 14px;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--navy-800); background: var(--bg-soft); }
.nav__link.is-active { color: var(--blue); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px; border-radius: 2px;
  background: var(--coral);
}
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav__toggle span::before { transform: translateY(-7px); }
.nav__toggle span::after { transform: translateY(5px); }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(60px, 9vw, 110px);
  padding-bottom: clamp(70px, 10vw, 130px);
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(45,67,245,.12), transparent 60%),
    radial-gradient(900px 440px at 6% 8%, rgba(255,107,94,.10), transparent 55%),
    linear-gradient(180deg, #fbfcff 0%, #ffffff 100%);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
}
.hero h1 { color: var(--navy-900); font-size: clamp(2rem, 4.2vw, 3rem); }
.hero__lead {
  margin-top: 22px;
  font-size: 1.16rem;
  max-width: 36ch;
  color: var(--slate-600);
}
.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__trust { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__trust span { font-size: .9rem; color: var(--slate-500); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 15px 7px 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: .85rem;
  font-weight: 500;
  color: var(--slate-700);
  box-shadow: var(--shadow-xs);
}
.badge i {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--teal-soft);
  font-style: normal;
}
.badge img { height: 16px; width: auto; }

/* Hero visual card */
.hero__visual { position: relative; }
.hero-panel {
  position: relative;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  color: #fff;
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(400px 200px at 90% 0%, rgba(34,201,190,.22), transparent 60%),
    radial-gradient(360px 200px at 0% 100%, rgba(255,107,94,.20), transparent 60%);
}
.hero-panel__head {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.hero-panel__dot { display: flex; gap: 6px; }
.hero-panel__dot i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.25); }
.hero-panel__tag {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--teal); font-weight: 600;
}
.hero-stat {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.hero-stat__item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md);
  padding: 16px;
}
.hero-stat__item b { font-family: var(--font-display); font-size: 1.7rem; color: #fff; display: block; }
.hero-stat__item span { font-size: .82rem; color: #aab2da; }
.hero-bars { position: relative; display: flex; align-items: flex-end; gap: 10px; height: 96px; padding-top: 8px; }
.hero-bars i {
  flex: 1;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--blue-bright), var(--blue));
  opacity: .9;
}
.hero-bars i:nth-child(2){ background: linear-gradient(180deg, #5be0d6, var(--teal)); }
.hero-bars i:nth-child(4){ background: linear-gradient(180deg, #ff8d82, var(--coral)); }

/* ============================================================
   Hero visual — animated operations dashboard.
   Fully scoped under .hero-visual so its generic class names
   (.eyebrow, .chip, .dot, .head ...) and design tokens do NOT
   leak into / clash with the global stylesheet.
   ============================================================ */
.hero-visual {
  position: relative; width: 100%; max-width: 880px; aspect-ratio: 760 / 560;
  margin-inline: auto;
  font-family: "Poppins", var(--font-body);
  /* component-local tokens — defined here, NOT on :root */
  --navy-1:#141A36; --navy-2:#0A0D20;
  --teal:#2DD4B0; --teal-bright:#3FE7C3; --teal-deep:#1FB89A;
  --coral:#F76C5E; --coral-soft:#FF8A7E; --coral-deep:#E8584A;
  --muted:#8E97C4; --bright:#F4F6FF;
  --ink:#0E1230; --ink-sub:#6B7280;
  --line:rgba(255,255,255,0.08);
}
.hero-visual .scaler { position:absolute; top:0; left:0; width:760px; height:560px; transform-origin:top left; }
.hero-visual #stage { position:relative; width:760px; height:560px; }

/* device shell */
.hero-visual .device {
  position:absolute; left:96px; top:92px; width:568px; height:372px; border-radius:30px;
  background:
    radial-gradient(125% 120% at 88% -8%, rgba(90,120,255,0.38), transparent 55%),
    radial-gradient(120% 120% at -5% 108%, rgba(45,212,176,0.16), transparent 52%),
    linear-gradient(158deg,#161C3A 0%, #0A0D20 72%);
  border:1px solid var(--line);
  box-shadow:0 1px 0 rgba(255,255,255,0.06) inset,
             0 50px 90px -28px rgba(8,11,34,0.62),
             0 18px 40px -24px rgba(8,11,34,0.50);
  padding:26px 28px 28px; overflow:hidden; z-index:1;
}
.hero-visual .device::after { content:""; position:absolute; inset:0; border-radius:30px; pointer-events:none;
  background:linear-gradient(180deg, rgba(255,255,255,0.05), transparent 18%); }

/* header row */
.hero-visual .head { display:flex; align-items:center; justify-content:space-between; position:relative; z-index:2; }
.hero-visual .eyebrow { display:flex; align-items:center; gap:9px; text-transform:none; }
.hero-visual .eyebrow::before { content:none; }   /* neutralize global .eyebrow accent dash */
.hero-visual .dot { width:9px; height:9px; border-radius:50%; background:var(--teal-bright);
  box-shadow:0 0 0 4px rgba(63,231,195,0.18),0 0 12px rgba(63,231,195,0.65); }
.hero-visual .eyebrow span { color:var(--teal-bright); font-size:11.5px; font-weight:500; letter-spacing:2.4px; }
.hero-visual .branches { display:flex; align-items:center; gap:7px; color:var(--muted); font-size:12px; }

/* KPI tiles */
.hero-visual .kpis { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-top:22px; }
.hero-visual .tile { background:rgba(255,255,255,0.045); border:1px solid rgba(255,255,255,0.075);
  border-radius:18px; padding:16px 18px 15px; box-shadow:0 1px 0 rgba(255,255,255,0.05) inset; }
.hero-visual .tile .top { display:flex; align-items:center; justify-content:space-between; }
.hero-visual .num { font-size:38px; font-weight:700; line-height:1; letter-spacing:-1px; font-variant-numeric:tabular-nums; }
.hero-visual .num.up { color:var(--teal-bright); }
.hero-visual .num.down { color:var(--coral-soft); }
.hero-visual .chip { display:flex; align-items:center; gap:4px; font-size:11px; font-weight:500;
  padding:4px 8px; border-radius:20px; border:0; box-shadow:none; background:transparent; }
.hero-visual .chip.t { color:var(--teal-bright); background:rgba(63,231,195,0.12); }
.hero-visual .chip.c { color:var(--coral-soft); background:rgba(247,108,94,0.14); }
.hero-visual .lbl { color:var(--muted); font-size:12.5px; margin-top:11px; }

/* chart */
.hero-visual .chart { margin-top:20px; }
.hero-visual .chart .crow { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:8px; }
.hero-visual .chart .ctitle { color:var(--bright); font-size:13px; font-weight:500; }
.hero-visual .chart .cper { color:var(--muted); font-size:11px; }
.hero-visual .xaxis { display:flex; justify-content:space-between; margin-top:7px; padding:0 2px; }
.hero-visual .xaxis span { color:var(--muted); font-size:10px; opacity:.8; }
.hero-visual .bar { transform-box:fill-box; transform-origin:50% 100%; }

/* floating cards */
.hero-visual .float { position:absolute; z-index:3; display:flex; align-items:center; gap:13px; background:#fff;
  border:1px solid rgba(15,18,48,0.05); border-radius:16px; padding:13px 17px;
  box-shadow:0 24px 50px -16px rgba(18,24,60,0.34),0 4px 12px -6px rgba(18,24,60,0.18); }
.hero-visual .float .ic { width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.hero-visual .float .ic.teal { background:rgba(45,212,176,0.14); }
.hero-visual .float .ic.coral { background:rgba(247,108,94,0.13); }
.hero-visual .float .ttl { color:var(--ink); font-size:14px; font-weight:600; line-height:1.15; }
.hero-visual .float .sub { color:var(--ink-sub); font-size:12px; margin-top:2px; }
.hero-visual #f1 { top:30px; left:14px; }
.hero-visual #f2 { bottom:26px; right:6px; }

/* orbiting integration badges (ride the margin around the dashboard) */
.hero-visual .orbit-ring { position:absolute; inset:0; width:100%; height:100%; overflow:visible; z-index:0; }
.hero-visual .orbit-ring ellipse { fill:none; stroke:rgba(110,134,255,0.16); stroke-width:1.1; stroke-dasharray:2 10; }
.hero-visual .sat { position:absolute; left:0; top:0; width:48px; height:48px;
  display:flex; align-items:center; justify-content:center; border-radius:50%;
  background:#fff; border:1px solid rgba(15,18,48,0.05); z-index:0;
  box-shadow:0 12px 26px -10px rgba(18,24,60,0.40), 0 2px 6px -3px rgba(18,24,60,0.22);
  offset-path: path("M 40 280 A 340 250 0 0 1 720 280 A 340 250 0 0 1 40 280");
  offset-rotate: 0deg; }
.hero-visual .sat svg { width:25px; height:25px; }
.hero-visual .sat--1 { offset-distance: 0%; }
.hero-visual .sat--2 { offset-distance: 25%; }
.hero-visual .sat--3 { offset-distance: 50%; }
.hero-visual .sat--4 { offset-distance: 75%; }
/* graceful fallback: if motion-path isn't supported, hide badges (avoids a corner pile-up) */
@supports not (offset-path: path("M0 0")) {
  .hero-visual .sat, .hero-visual .orbit-ring { display:none; }
}

/* brighter highlight that travels along the trend line (hidden until animated) */
.hero-visual .trend-hi { fill:none; stroke:#D6FFF5; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:30 610; stroke-dashoffset:640; opacity:0; }

/* motion — degrades to a clean static dashboard under reduced-motion */
@media (prefers-reduced-motion: no-preference) {
  /* ambient pulses */
  .hero-visual .dot { animation:hv-pulse 2.4s ease-in-out infinite; }
  @keyframes hv-pulse { 0%,100%{box-shadow:0 0 0 3px rgba(63,231,195,0.22),0 0 10px rgba(63,231,195,0.5);}
    50%{box-shadow:0 0 0 7px rgba(63,231,195,0.05),0 0 16px rgba(63,231,195,0.8);} }
  .hero-visual .tip-halo { transform-box:fill-box; transform-origin:center; animation:hv-halo 2.6s ease-out infinite; }
  @keyframes hv-halo { 0%{transform:scale(.6);opacity:.55;} 70%,100%{transform:scale(2.6);opacity:0;} }

  /* live chart: bars gently breathe in a staggered wave */
  .hero-visual .bar { animation:hv-bar 5s ease-in-out infinite; }
  @keyframes hv-bar { 0%,100%{transform:scaleY(.86);} 50%{transform:scaleY(1);} }
  .hero-visual .bar:nth-of-type(1){animation-delay:0s}
  .hero-visual .bar:nth-of-type(2){animation-delay:.22s}
  .hero-visual .bar:nth-of-type(3){animation-delay:.44s}
  .hero-visual .bar:nth-of-type(4){animation-delay:.66s}
  .hero-visual .bar:nth-of-type(5){animation-delay:.88s}
  .hero-visual .bar:nth-of-type(6){animation-delay:1.1s}
  .hero-visual .bar:nth-of-type(7){animation-delay:1.32s; animation-duration:3.6s}

  /* travelling highlight runs along the trend line */
  .hero-visual .trend-hi { opacity:1; animation:hv-comet 4.2s linear infinite; }
  @keyframes hv-comet { from{stroke-dashoffset:640;} to{stroke-dashoffset:-30;} }

  /* integration badges revolve slowly, evenly spaced */
  .hero-visual .sat { animation:hv-orbit 34s linear infinite; }
  .hero-visual .sat--2 { animation-delay:-8.5s; }
  .hero-visual .sat--3 { animation-delay:-17s; }
  .hero-visual .sat--4 { animation-delay:-25.5s; }
  @keyframes hv-orbit { from{offset-distance:0%;} to{offset-distance:100%;} }

  /* floating cards drift continuously */
  .hero-visual #f1 { animation:hv-driftA 9s ease-in-out infinite; }
  .hero-visual #f2 { animation:hv-driftB 10.5s ease-in-out infinite; }
  @keyframes hv-driftA { 0%,100%{transform:translate(0,0);} 50%{transform:translate(12px,-7px);} }
  @keyframes hv-driftB { 0%,100%{transform:translate(0,0);} 50%{transform:translate(-12px,7px);} }

  /* one-time entrance on scroll-into-view */
  .hero-visual .play .device { animation:hv-rise .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hv-rise { from{opacity:0;transform:translateY(14px) scale(.985);} to{opacity:1;transform:none;} }
  .hero-visual .play .trend { stroke-dasharray:640; stroke-dashoffset:640; animation:hv-draw 1.1s ease-out .2s forwards; }
  @keyframes hv-draw { to{stroke-dashoffset:0;} }
  .hero-visual .play .check { stroke-dasharray:26; stroke-dashoffset:26; animation:hv-draw .5s ease-out .7s forwards; }
}

/* ---------- Logo / trust strip ---------- */
.trust-strip { padding-block: 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-strip__label { text-align: center; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-400); font-weight: 600; }
.trust-strip__row {
  margin-top: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(28px, 6vw, 64px);
}
.trust-strip__row span { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--slate-400); letter-spacing: -.01em; }

/* ---------- Cards / grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }

.icon-box {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  background: var(--blue-soft);
  color: var(--blue);
}
.icon-box svg { width: 26px; height: 26px; }
.icon-box--coral { background: var(--coral-soft); color: var(--coral-deep); }
.icon-box--teal { background: var(--teal-soft); color: #0f9c93; }
.icon-box--navy { background: #e7eaf6; color: var(--navy-700); }

.card h3 { margin-bottom: 10px; }
.card p { font-size: .96rem; }
.card__foot { margin-top: 18px; }

.feature-list { display: grid; gap: 12px; margin-top: 6px; }
.feature-list li { position: relative; padding-left: 30px; color: var(--slate-600); font-size: .97rem; }
.feature-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230f9c93' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Stats band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat b {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  display: block;
  letter-spacing: -.03em;
}
.section--dark .stat span { color: #9aa3cf; font-size: .95rem; }
.stat span { color: var(--slate-500); font-size: .95rem; }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 76px); align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--r-lg); box-shadow: var(--shadow-md); }

.media-card {
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--bg-mist), #fff);
  border: 1px solid var(--line);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.media-card--dark {
  background: linear-gradient(160deg, var(--navy-800), var(--navy-700));
  border-color: transparent;
}

/* ---------- Process / steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.step:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.step__num {
  counter-increment: step;
  width: 56px; height: 56px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700; font-size: 1.3rem;
}
.step__num::before { content: "0" counter(step); }
.step h4 { margin-bottom: 6px; }
.step p { font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--r-xl);
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 55%, #243a8f 100%);
  padding: clamp(40px, 6vw, 70px);
  overflow: hidden;
  color: #fff;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(500px 280px at 88% 110%, rgba(34,201,190,.28), transparent 60%),
    radial-gradient(460px 260px at 8% -10%, rgba(255,107,94,.26), transparent 60%);
}
.cta-band__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #c2c9ec; margin-top: 12px; max-width: 46ch; }

/* ---------- Testimonial ---------- */
.quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.quote__mark { font-family: var(--font-display); font-size: 3rem; line-height: .6; color: var(--coral); }
.quote p { font-size: 1.18rem; color: var(--slate-900); font-weight: 500; margin: 14px 0 22px; }
.quote__who { display: flex; align-items: center; gap: 13px; }
.quote__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-family: var(--font-display); }
.quote__who b { display: block; color: var(--navy-800); }
.quote__who span { font-size: .88rem; color: var(--slate-500); }

/* ---------- FAQ accordion ---------- */
.faq { display: grid; gap: 14px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color .2s; }
.faq__item.open { border-color: var(--blue); }
.faq__q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left;
  padding: 20px 22px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.04rem;
  color: var(--navy-800);
}
.faq__q i { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q i::before, .faq__q i::after {
  content: ""; position: absolute; top: 50%; left: 50%;
  width: 13px; height: 2px; background: var(--blue);
  transform: translate(-50%, -50%); border-radius: 2px; transition: transform .3s var(--ease);
}
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding: 0 22px 22px; font-size: .98rem; }

/* ---------- Blog cards ---------- */
.post-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.post-card__thumb { aspect-ratio: 16 / 9; position: relative; overflow: hidden; }
.post-card__thumb .ph { position: absolute; inset: 0; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--slate-500); margin-bottom: 12px; }
.tag {
  font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-pill);
  background: var(--blue-soft); color: var(--blue);
}
.tag--coral { background: var(--coral-soft); color: var(--coral-deep); }
.tag--teal { background: var(--teal-soft); color: #0f9c93; }
.post-card__body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.post-card__body p { font-size: .94rem; flex: 1; }
.post-card__foot { margin-top: 18px; }

/* gradient placeholders for thumbs/visuals */
.ph-blue  { background: linear-gradient(135deg, #2d43f5, #4f6bff 60%, #22c9be); }
.ph-coral { background: linear-gradient(135deg, #ff6b5e, #f24d3f 55%, #ff9d6b); }
.ph-teal  { background: linear-gradient(135deg, #22c9be, #2bb0e8 70%, #2d43f5); }
.ph-navy  { background: linear-gradient(135deg, #0b1437, #1b2a6b 60%, #2d43f5); }
.ph-mix   { background: linear-gradient(135deg, #111c52, #2d43f5 45%, #22c9be); }
.ph-deco { position: absolute; inset: 0; opacity: .9; mix-blend-mode: soft-light;
  background:
    radial-gradient(120px 120px at 80% 20%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(160px 160px at 15% 90%, rgba(255,255,255,.25), transparent 60%); }
.thumb-label {
  position: absolute; left: 22px; bottom: 18px; right: 22px;
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0,0,0,.25);
}
.thumb-ico { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 11px;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; color: #fff; }
.thumb-ico svg { width: 20px; height: 20px; }

/* ---------- Page hero (interior) ---------- */
.page-hero {
  position: relative;
  padding-top: clamp(54px, 7vw, 84px);
  padding-bottom: clamp(48px, 6vw, 72px);
  background:
    radial-gradient(800px 360px at 85% -20%, rgba(45,67,245,.10), transparent 60%),
    radial-gradient(620px 320px at 0% 0%, rgba(255,107,94,.08), transparent 55%),
    var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { color: var(--navy-900); max-width: 18ch; }
.page-hero p { margin-top: 18px; font-size: 1.12rem; max-width: 60ch; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .85rem; color: var(--slate-500); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb span { color: var(--slate-400); }

/* ---------- Pills / chips row ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  padding: 8px 16px; border-radius: var(--r-pill);
  background: #fff; border: 1px solid var(--line);
  font-size: .88rem; font-weight: 500; color: var(--slate-700);
}
.chip--active { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }

/* ---------- Detailed service blocks ---------- */
.service-block { scroll-margin-top: 100px; }
.service-block + .service-block { margin-top: clamp(48px, 7vw, 90px); }

/* ---------- Article body ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article__lead { font-size: 1.2rem; color: var(--slate-700); }
.article h2 { margin-top: 44px; margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.article h3 { margin-top: 30px; margin-bottom: 10px; }
.article p { margin-bottom: 18px; line-height: 1.8; }
.article ul.bullets { margin: 0 0 20px; display: grid; gap: 11px; }
.article ul.bullets li { position: relative; padding-left: 28px; color: var(--slate-600); }
.article ul.bullets li::before { content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px; border-radius: 3px; background: var(--coral); }
.article ol { padding-left: 22px; margin-bottom: 20px; display: grid; gap: 10px; color: var(--slate-600); }
.article ol li { padding-left: 6px; }
.article blockquote {
  margin: 26px 0; padding: 22px 26px;
  border-left: 4px solid var(--blue);
  background: var(--bg-soft); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: 1.12rem; color: var(--navy-700); font-weight: 500;
}
.article figure { margin: 28px 0; }
.callout {
  margin: 26px 0; padding: 24px 26px;
  background: var(--blue-soft); border: 1px solid #d8ddff;
  border-radius: var(--r-md);
}
.callout h4 { color: var(--navy-800); margin-bottom: 6px; }
.callout p { margin: 0; }

.article-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; color: var(--slate-500); font-size: .9rem; }
.divider { height: 1px; background: var(--line); border: 0; margin: 36px 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--navy-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--navy-800);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--slate-500); margin-top: 6px; }
.form-success { display: none; padding: 16px 18px; border-radius: var(--r-sm); background: var(--teal-soft); color: #0c7a72; font-weight: 500; margin-bottom: 18px; }
.form-success.show { display: block; }

.info-card { background: var(--navy-800); color: #c7cdec; border-radius: var(--r-lg); padding: 34px; }
.info-card h3 { color: #fff; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.info-row:first-of-type { border-top: 0; }
.info-row i { flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,.07); display: grid; place-items: center; color: var(--teal); }
.info-row i svg { width: 20px; height: 20px; }
.info-row b { color: #fff; display: block; font-weight: 600; }
.info-row span, .info-row a { color: #aab2da; font-size: .94rem; }
.info-row a:hover { color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9aa3cf; padding-top: clamp(56px, 7vw, 84px); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand img { height: 32px; margin-bottom: 18px; }
.footer-brand p { color: #8089b5; font-size: .94rem; max-width: 34ch; }
.footer-soc { display: flex; gap: 10px; margin-top: 20px; }
.footer-soc a {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06); display: grid; place-items: center; color: #c7cdec;
  transition: background .2s, transform .2s;
}
.footer-soc a:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.footer-soc svg { width: 18px; height: 18px; }
.footer-col h5 { color: #fff; font-family: var(--font-display); font-size: .95rem; margin-bottom: 18px; letter-spacing: .01em; }
.footer-col ul { display: grid; gap: 11px; }
.footer-col a { color: #8089b5; font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: .86rem; color: #6e77a3;
}
.footer-bottom a:hover { color: #fff; }
.footer-badge { display: inline-flex; align-items: center; gap: 8px; }
.footer-badge img { height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ---------- Misc ---------- */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill-list .chip { background: var(--bg-soft); }
.value-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.mini { display: flex; gap: 12px; align-items: flex-start; }
.mini i { flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.mini i svg { width: 21px; height: 21px; }
.mini b { color: var(--navy-800); display: block; }
.mini p { font-size: .92rem; margin: 0; }

/* skip link */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy-800); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 200; }
.skip-link:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav__menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    padding: 16px var(--gutter) 26px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .nav__menu.open { transform: none; }
  .nav__link { padding: 14px 12px; font-size: 1.02rem; border-radius: var(--r-sm); }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--bg-soft); }
  .nav__menu > .btn { display: inline-flex; margin-top: 8px; }
  .nav__toggle { display: flex; }
  .nav__actions .btn:not(.nav__toggle) { display: none; }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .field-row { grid-template-columns: 1fr; }
  .value-row { grid-template-columns: 1fr; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
