/* =========================================================
   VICATECH Group — site stylesheet
   Palette derived from the Vicatech logo (sky blue, deep blue,
   amber swoosh) set against a deep Atlantic navy.
   ========================================================= */

/* Self-hosted fonts (SIL Open Font License) */
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-style: normal; font-display: swap; font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --ink: #0B2239;          /* deep Atlantic navy — hero, footer, dark panels */
  --ink-2: #12304D;        /* raised surfaces on navy */
  --ink-3: #1B4064;        /* borders on navy */
  --blue: #1FA9E1;         /* logo sky blue — links on dark, highlights */
  --blue-deep: #0A6FB0;    /* logo deep blue — primary actions, links on light */
  --blue-press: #08598F;
  --amber: #F4A93B;        /* logo swoosh — "in progress" states, small accents */
  --paper: #F4F7FA;        /* cool off-white section background */
  --white: #FFFFFF;
  --line: #DCE4EC;
  --text: #15283C;
  --muted: #4E6078;
  --on-ink: #E7EEF5;
  --on-ink-muted: #A5B6C8;
  --ok: #1C9B68;
  --fail: #D44C4C;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* type scale (1.25 minor third-ish, tuned) */
  --fs-0: 0.8125rem;
  --fs-1: 0.9375rem;
  --fs-2: 1.0625rem;
  --fs-3: 1.25rem;
  --fs-4: 1.5625rem;
  --fs-5: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --fs-6: clamp(2.25rem, 1.4rem + 3.2vw, 3.5rem);

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 20px;
  --shadow-card: 0 1px 2px rgba(11, 34, 57, .06), 0 12px 32px -12px rgba(11, 34, 57, .18);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-2);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue-deep); text-underline-offset: 3px; }
a:hover { color: var(--blue-press); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 650; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: var(--fs-6); letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: var(--fs-5); letter-spacing: -0.02em; }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s);
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.measure { max-width: 64ch; }
.lede { font-size: var(--fs-3); line-height: 1.5; color: var(--muted); }
.on-ink .lede, .on-ink p { color: var(--on-ink-muted); }
.on-ink h1, .on-ink h2, .on-ink h3 { color: var(--white); }

.section { padding-block: clamp(64px, 9vw, 112px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 56px); max-width: 720px; }
.section-head p { color: var(--muted); font-size: var(--fs-3); line-height: 1.5; margin: 0; }
.section--ink .section-head p { color: var(--on-ink-muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font: 600 var(--fs-1)/1.2 var(--font); letter-spacing: .005em;
  border-radius: var(--radius-s); border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--blue-deep); color: var(--white); }
.btn--primary:hover { background: var(--blue-press); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #E3EEF7; color: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.on-ink .btn--ghost, .site-header .btn--ghost { border-color: var(--ink-3); color: var(--white); }
.on-ink .btn--ghost:hover { border-color: var(--on-ink-muted); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 600; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.text-link:hover { text-decoration: underline; }
.text-link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 34, 57, .96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { flex: none; display: block; }
.brand img { height: 38px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > ul { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav a, .nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: var(--radius-s);
  color: var(--on-ink); font: 500 var(--fs-1)/1 var(--font); text-decoration: none;
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav .nav-trigger:hover { color: var(--white); background: rgba(255, 255, 255, .07); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav-trigger svg { width: 12px; height: 12px; transition: transform .15s ease; }
.has-menu { position: relative; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: -8px; min-width: 340px;
  list-style: none; padding: 8px; margin: 0;
  background: var(--white); border-radius: var(--radius-m); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .45);
  display: none;
}
.has-menu.open .submenu { display: block; }
.has-menu.open .nav-trigger svg { transform: rotate(180deg); }
.submenu a { display: block; padding: 12px 14px; color: var(--ink); border-radius: var(--radius-s); line-height: 1.35; }
.submenu a:hover { background: var(--paper); color: var(--ink); }
.submenu a strong { display: block; font-weight: 650; font-size: var(--fs-1); }
.submenu a span { display: block; color: var(--muted); font-size: var(--fs-0); margin-top: 3px; }

.lang { display: flex; gap: 2px; margin-left: 8px; padding: 3px; border: 1px solid var(--ink-3); border-radius: 999px; }
.lang a { padding: 5px 10px; border-radius: 999px; font: 600 var(--fs-0)/1 var(--font); color: var(--on-ink-muted); text-decoration: none; }
.lang a:hover { color: var(--white); }
.lang a[aria-current="true"] { background: var(--ink-3); color: var(--white); }
.nav .header-cta { margin-left: 12px; min-height: 42px; padding: 10px 18px; background: var(--blue-deep); color: var(--white); border-radius: var(--radius-s); font-weight: 600; }
.nav .header-cta:hover { background: var(--blue-press); color: var(--white); }

.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--ink-3); border-radius: var(--radius-s); color: var(--white); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1020px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; margin: 0;
    background: var(--ink); flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px var(--gutter) 32px; overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .nav-trigger { padding: 16px 4px; font-size: var(--fs-2); width: 100%; justify-content: space-between; border-bottom: 1px solid var(--ink-2); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blue); }
  .submenu { position: static; box-shadow: none; background: transparent; min-width: 0; padding: 0 0 8px 12px; }
  .submenu a { color: var(--on-ink); border-bottom: 0; }
  .submenu a:hover { background: transparent; color: var(--white); }
  .submenu a span { color: var(--on-ink-muted); }
  .lang { margin: 24px 0 0; align-self: flex-start; }
  .lang a { padding: 8px 14px; font-size: var(--fs-1); }
  .nav .header-cta { margin: 20px 0 0; justify-content: center; border-bottom: 0; border-radius: var(--radius-s); }
  body.nav-open { overflow: hidden; }
}

/* ---------- hero ---------- */
.hero { position: relative; background: var(--ink); color: var(--on-ink); overflow: hidden; }
.hero::before {
  /* faint meridian lines — a nod to routes and correspondents */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(1200px 520px at 85% -10%, rgba(31, 169, 225, .16), transparent 60%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 96px);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(56px, 8vw, 104px); }
.hero h1 { color: var(--white); max-width: 17ch; font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.25rem); }
.hero .lede { color: var(--on-ink-muted); margin: 24px 0 36px; max-width: 46ch; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink-3); list-style: none; color: var(--on-ink-muted); font-size: var(--fs-1); }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

.page-hero { background: var(--ink); color: var(--on-ink); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 96px); }
.page-hero .wrap { position: relative; padding-block: clamp(56px, 7vw, 96px); }
.page-hero h1 { color: var(--white); max-width: 20ch; font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.page-hero .lede { color: var(--on-ink-muted); margin-top: 20px; max-width: 58ch; }
.page-hero .btn-row { margin-top: 32px; }
.crumbs { display: flex; gap: 8px; list-style: none; font-size: var(--fs-0); color: var(--on-ink-muted); margin-bottom: 20px; }
.crumbs a { color: var(--on-ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- hero visual (VMH hub diagram) ---------- */
.hero-visual { margin: 0; justify-self: end; width: 100%; max-width: 560px; }
.hero-visual img { width: 100%; height: auto; border-radius: var(--radius-l); box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55); }
@media (max-width: 1020px) { .hero-visual { justify-self: start; } }

/* ---------- payment tracker (signature element) ---------- */
.tracker {
  margin: 0; position: relative; background: var(--white); color: var(--text);
  border-radius: var(--radius-l); padding: 26px 26px 22px;
  box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55);
  max-width: 500px; justify-self: end; width: 100%;
}
.tracker-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.tracker-amount { font-size: var(--fs-4); font-weight: 700; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.tracker-route { font-size: var(--fs-0); color: var(--muted); margin-top: 4px; }
.tracker-ref { font: 500 11px/1.5 var(--mono); color: var(--muted); margin-top: 10px; word-break: break-all; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip--progress { background: #FFF4E2; color: #A8650A; }
.chip--ok { background: #E3F5EC; color: var(--ok); }

.hops { list-style: none; margin: 18px 0 0; position: relative; }
.hop { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; padding: 12px 0; align-items: start; }
.hop::before { /* connector */
  content: ""; position: absolute; left: 13px; top: 38px; bottom: -10px; width: 2px; background: var(--line);
}
.hop:last-child::before { display: none; }
.hop-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line); background: var(--white); display: grid; place-items: center; position: relative; z-index: 1; }
.hop-dot svg { width: 14px; height: 14px; color: var(--white); opacity: 0; }
.hop-name { font-weight: 650; color: var(--ink); font-size: var(--fs-1); line-height: 1.3; }
.hop-meta { font-size: var(--fs-0); color: var(--muted); line-height: 1.4; margin-top: 2px; }
.hop-time { font: 500 12px/1.3 var(--mono); color: var(--muted); padding-top: 4px; }
.hop.is-done .hop-dot { background: var(--ok); border-color: var(--ok); }
.hop.is-done .hop-dot svg { opacity: 1; }
.hop.is-done::before { background: var(--ok); }
.hop.is-active .hop-dot { border-color: var(--amber); box-shadow: 0 0 0 5px rgba(244, 169, 59, .2); }

.notify {
  position: absolute; left: -40px; bottom: -78px; width: min(320px, 82%); z-index: 3;
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start;
  background: var(--ink-2); color: var(--on-ink); border: 1px solid var(--ink-3);
  border-radius: 16px; padding: 14px 16px; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .6);
  font-size: 13px; line-height: 1.4;
}
.notify-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--white); display: grid; place-items: center; }
.notify-icon img { width: 26px; height: auto; }
.notify strong { color: var(--white); display: flex; justify-content: space-between; font-size: 13px; margin-bottom: 2px; }
.notify strong span { color: var(--on-ink-muted); font-weight: 500; }

/* load sequence: hops complete one after another, then the customer is notified */
@media (prefers-reduced-motion: no-preference) {
  .js .tracker .hop { --d: 0s; }
  .js .tracker .hop-dot, .js .tracker .hop::before { transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease; }
  .js .tracker:not(.play) .hop.is-done .hop-dot { background: var(--white); border-color: var(--line); }
  .js .tracker:not(.play) .hop.is-done .hop-dot svg { opacity: 0; }
  .js .tracker:not(.play) .hop.is-done::before { background: var(--line); }
  .js .tracker:not(.play) .chip--ok { opacity: 0; }
  .js .tracker:not(.play) .notify { opacity: 0; transform: translateY(12px); }
  .js .tracker .notify { transition: opacity .5s ease 3.3s, transform .5s ease 3.3s; }
  .js .tracker .chip--ok { transition: opacity .3s ease 3s; }
  .js .tracker .hop:nth-child(1) .hop-dot, .js .tracker .hop:nth-child(1)::before { transition-delay: .3s; }
  .js .tracker .hop:nth-child(2) .hop-dot, .js .tracker .hop:nth-child(2)::before { transition-delay: 1s; }
  .js .tracker .hop:nth-child(3) .hop-dot, .js .tracker .hop:nth-child(3)::before { transition-delay: 1.7s; }
  .js .tracker .hop-dot svg { transition: opacity .2s ease; transition-delay: inherit; }
  .js .tracker .hop:nth-child(1) .hop-dot svg { transition-delay: .4s; }
  .js .tracker .hop:nth-child(2) .hop-dot svg { transition-delay: 1.1s; }
  .js .tracker .hop:nth-child(3) .hop-dot svg { transition-delay: 1.8s; }
  .js .tracker .hop:nth-child(4) .hop-dot, .js .tracker .hop:nth-child(4)::before { transition-delay: 2.4s; }
  .js .tracker .hop:nth-child(4) .hop-dot svg { transition-delay: 2.5s; }
}

/* ---------- standards strip ---------- */
.standards { background: var(--ink-2); color: var(--on-ink-muted); border-top: 1px solid var(--ink-3); }
.standards .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 40px; padding-block: 22px; font-size: var(--fs-1); }
.standards p { margin: 0; color: var(--on-ink); font-weight: 600; }
.standards ul { display: flex; flex-wrap: wrap; gap: 10px 28px; list-style: none; }
.standards li { display: flex; align-items: center; gap: 8px; }
.standards li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }

/* ---------- problem / outcomes ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split > .section-head { margin-bottom: 0; }
.split--even { grid-template-columns: 1fr 1fr; }
.outcomes { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.outcomes li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.outcomes .ico { width: 48px; height: 48px; border-radius: var(--radius-m); background: #E5F3FB; color: var(--blue-deep); display: grid; place-items: center; }
.outcomes .ico svg { width: 24px; height: 24px; }
.outcomes h3 { font-size: var(--fs-3); margin-bottom: 6px; }
.outcomes p { color: var(--muted); margin: 0; }
.quote-stat { margin-top: 32px; padding: 24px; border-left: 3px solid var(--amber); background: var(--paper); color: var(--text); border-radius: 0 var(--radius-m) var(--radius-m) 0; }

/* ---------- products ---------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-full { font-size: var(--fs-2); font-weight: 500; color: var(--on-ink-muted); letter-spacing: 0; margin-left: 6px; }
.product--feature .on-ink-btn { border-color: var(--ink-3); color: var(--white); }
.product--feature .on-ink-btn:hover { border-color: var(--on-ink-muted); color: var(--white); }
.services.services--3 { grid-template-columns: repeat(3, 1fr); }
.product { border-radius: var(--radius-l); padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; text-decoration: none; color: inherit; position: relative; }
.product h3 { font-size: var(--fs-4); }
.product p { color: var(--muted); margin: 0; }
.product ul { list-style: none; display: grid; gap: 10px; margin-top: 6px; }
.product li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: var(--fs-1); }
.product li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--blue-deep); }
.product .text-link { margin-top: auto; padding-top: 12px; }
.product-tag { font-size: var(--fs-0); font-weight: 600; color: var(--blue-deep); }
.product--feature { grid-column: 1 / -1; background: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1fr 1fr; gap: 20px clamp(32px, 5vw, 72px); align-items: start; }
.product--feature .product-main { display: flex; flex-direction: column; gap: 14px; height: 100%; }
.product--feature .product-side { padding: 24px; border-radius: var(--radius-m); background: var(--ink-2); border: 1px solid var(--ink-3); }
.product--feature .product-side ul { margin-top: 18px; }
.product--feature h3 { color: var(--white); font-size: var(--fs-5); }
.product--feature p { color: var(--on-ink-muted); }
.product--feature li svg, .product--feature .product-tag, .product--feature .text-link { color: var(--blue); }
.product--feature .text-link:hover { color: var(--white); }
.product--plain { background: var(--white); border: 1px solid var(--line); }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 4px; }
.status-row span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--ink-2); border: 1px solid var(--ink-3); color: var(--on-ink); display: inline-flex; align-items: center; gap: 6px; }
.status-row span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--blue)); }

/* ---------- VMH page ---------- */
.vmh-hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.vmh-name { margin: 0 0 14px; color: var(--on-ink-muted); font-size: var(--fs-2); }
.vmh-name strong { color: var(--blue); font-weight: 700; margin-right: 6px; }
.dash { margin: 0; background: var(--white); color: var(--text); border-radius: var(--radius-l); padding: 24px; box-shadow: 0 30px 80px -24px rgba(0, 0, 0, .55); }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dash-title { font-weight: 700; color: var(--ink); font-size: var(--fs-3); line-height: 1.2; }
.dash-sub { font-size: var(--fs-0); color: var(--muted); margin-top: 2px; }
.dash-note { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.dash-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 16px 0; }
.dash-kpis > div { background: var(--paper); border-radius: var(--radius-m); padding: 12px 14px; }
.dash-kpis dt { font-size: 12px; color: var(--muted); }
.dash-kpis dd { margin: 2px 0 0; font-size: var(--fs-4); font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.dash-feed-title { font-size: var(--fs-0); font-weight: 650; color: var(--ink); margin-bottom: 6px; }
.dash-feed { list-style: none; display: grid; }
.dash-feed li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--fs-0); }
.dash-msg { font: 500 12px/1 var(--mono); color: var(--blue-deep); }
.dash-desc { color: var(--text); min-width: 0; }
.chip--info { background: #E5F3FB; color: var(--blue-deep); }
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; counter-reset: flow; }
.flow li { counter-increment: flow; padding: 22px 0 26px; border-top: 2px solid var(--line); position: relative; }
.flow li::before { content: counter(flow); position: absolute; top: -15px; left: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.flow h3 { font-size: var(--fs-2); margin: 8px 0 6px; }
.flow p { color: var(--muted); font-size: var(--fs-1); margin: 0; }

/* ---------- VMH delivers ---------- */
.delivers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.deliver { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); }
.deliver .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #E5F3FB; color: var(--blue-deep); }
.deliver .ico svg { width: 24px; height: 24px; }
.deliver h3 { font-size: var(--fs-2); margin-bottom: 6px; }
.deliver p { color: var(--muted); font-size: var(--fs-1); margin: 0; }
.deliver--highlight { background: var(--ink); border-color: var(--ink); }
.deliver--highlight h3 { color: var(--white); }
.deliver--highlight p { color: var(--on-ink-muted); }
.deliver--highlight .ico { background: rgba(31, 169, 225, .16); color: var(--blue); }
@media (max-width: 1020px) { .delivers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .delivers { grid-template-columns: 1fr; } }

/* ---------- AI ---------- */
.ai-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ai-item { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--ink-3); border-radius: var(--radius-l); background: var(--ink-2); }
.ai-item .ico, .ai-list .ico { width: 44px; height: 44px; border-radius: var(--radius-m); display: grid; place-items: center; color: var(--blue); background: rgba(31, 169, 225, .12); }
.ai-item .ico svg, .ai-list .ico svg { width: 22px; height: 22px; }
.ai-item h3 { font-size: var(--fs-3); }
.ai-item p { margin: 0; }
.ai-apps { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.ai-apps li { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--ink-3); color: var(--on-ink); }
.ai-badge { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 5px 12px; border-radius: 999px; background: rgba(31, 169, 225, .14); color: var(--blue); font-weight: 650; font-size: var(--fs-0); }
.ai-badge svg { width: 14px; height: 14px; }
.ai-list { list-style: none; display: grid; border-top: 1px solid var(--ink-3); }
.ai-list li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--ink-3); }
.ai-list h3 { font-size: var(--fs-3); margin-bottom: 6px; }
.ai-list p { margin: 0; }

/* ---------- services list ---------- */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); border-top: 1px solid var(--line); }
.service { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service .ico { width: 44px; height: 44px; color: var(--blue-deep); display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--white); }
.service .ico svg { width: 22px; height: 22px; }
.service h3 { margin-bottom: 8px; }
.service p { color: var(--muted); margin: 0; }
.service .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; list-style: none; }
.service .tags li { font-size: 12px; font-weight: 600; color: var(--ink); background: var(--paper); border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--radius-s); }
.section--paper .service .tags li { background: var(--white); }

/* ---------- process (a real sequence, so it is numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; position: relative; }
.step { padding: 0 24px 0 0; position: relative; counter-increment: step; }
.step::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 22px;
  background: var(--ink); color: var(--white); font-weight: 700; position: relative; z-index: 1;
  box-shadow: 0 0 0 6px var(--paper);
}
.step::after { content: ""; position: absolute; top: 21px; left: 44px; right: 0; height: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: var(--fs-3); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: var(--fs-1); margin: 0; }
.section--ink .step::before { background: var(--blue-deep); box-shadow: 0 0 0 6px var(--ink); }
.section--ink .step::after { background: var(--ink-3); }
.section--ink .step p { color: var(--on-ink-muted); }

/* ---------- testimonials ---------- */
.testimonial { margin: 0; max-width: 820px; display: grid; gap: 20px; padding-left: 28px; border-left: 3px solid var(--amber); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: var(--fs-4); line-height: 1.45; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; text-wrap: pretty; }
.testimonial blockquote p::before { content: "\201C"; }
.testimonial blockquote p::after { content: "\201D"; }
.testimonial blockquote[lang="fr"] p::before { content: "\00AB\00A0"; }
.testimonial blockquote[lang="fr"] p::after { content: "\00A0\00BB"; }
.testimonial figcaption { display: grid; gap: 2px; font-size: var(--fs-1); }
.t-name { font-weight: 650; color: var(--ink); }
.t-role { color: var(--muted); }
.t-context { color: var(--muted); font-size: var(--fs-0); }
.section-head .testimonial blockquote p { font-size: var(--fs-2); }
.section-head .testimonial { gap: 14px; padding-left: 20px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.person { display: grid; grid-template-columns: 72px 1fr; gap: 20px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--white); align-items: start; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: var(--fs-3); letter-spacing: .02em; }
.person h3 { margin-bottom: 4px; }
.person .role { color: var(--blue-deep); font-weight: 600; font-size: var(--fs-1); margin-bottom: 10px; }
.person p { color: var(--muted); font-size: var(--fs-1); }

.values { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--ink-3); }
.values li { padding: 22px 0; border-bottom: 1px solid var(--ink-3); }
.values h3 { font-size: var(--fs-2); margin-bottom: 4px; }
.values p { margin: 0; font-size: var(--fs-1); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv > div { padding: 32px; border-radius: var(--radius-l); background: var(--paper); }
.mv h2 { font-size: var(--fs-4); margin-bottom: 12px; }
.mv p { color: var(--muted); font-size: var(--fs-2); }

.partners { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; }
.partners li { padding: 14px 22px; border: 1px solid var(--line); border-radius: var(--radius-m); font-weight: 650; color: var(--ink); background: var(--white); }

/* ---------- product page ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.feature { padding: 28px 0; border-bottom: 1px solid var(--line); }
.feature .ico { width: 40px; height: 40px; color: var(--blue-deep); margin-bottom: 16px; }
.feature .ico svg { width: 28px; height: 28px; }
.feature h3 { font-size: var(--fs-2); margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: var(--fs-1); margin: 0; }

.channels { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 20px; }
.channels li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: var(--fs-1); color: var(--ink); }
.channels li svg { width: 18px; height: 18px; color: var(--blue-deep); }
.channels li.is-fallback { border-style: dashed; color: var(--muted); }

.status-table { width: 100%; border-collapse: collapse; font-size: var(--fs-1); background: var(--white); border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.status-table th, .status-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.status-table th { background: var(--paper); font-weight: 650; color: var(--ink); font-size: var(--fs-0); }
.status-table tr:last-child td { border-bottom: 0; }
.status-table td:first-child { white-space: nowrap; font-weight: 650; color: var(--ink); }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; }

.check-list { list-style: none; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.check-list svg { width: 20px; height: 20px; color: var(--ok); margin-top: 3px; }
.on-ink .check-list svg { color: var(--blue); }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(24px, 3vw, 36px); }
.panel--ink { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }
.panel--ink h3 { color: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue-deep); color: var(--white); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; bottom: -140px; width: 520px; height: 260px; pointer-events: none;
  border-radius: 50%; border-top: 3px solid rgba(244, 169, 59, .55); transform: rotate(-12deg);
}
.cta-band .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(48px, 6vw, 72px); position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); max-width: 22ch; }
.cta-band p { color: #D6EAF7; margin: 10px 0 0; max-width: 52ch; }
.cta-band .btn--ghost { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.cta-band .btn--ghost:hover { border-color: var(--white); color: var(--white); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-1); color: var(--ink); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--fs-2); color: var(--text);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-deep); box-shadow: 0 0 0 4px rgba(10, 111, 176, .15); }
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--fail); }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: var(--fs-1); color: var(--muted); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--blue-deep); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: var(--fs-1); font-weight: 600; margin: 0; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-error { color: var(--fail); }
.btn[disabled] { opacity: .6; cursor: progress; }

.contact-card { display: grid; gap: 0; }
.contact-card > div { padding: 22px 0; border-bottom: 1px solid var(--ink-3); display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.contact-card > div:first-child { padding-top: 0; }
.contact-card > div:last-child { border-bottom: 0; padding-bottom: 0; }
.contact-card svg { width: 22px; height: 22px; color: var(--blue); margin-top: 2px; }
.contact-card h3 { font-size: var(--fs-1); color: var(--on-ink-muted); font-weight: 600; margin-bottom: 4px; }
.contact-card a, .contact-card p { color: var(--white); text-decoration: none; margin: 0; font-size: var(--fs-2); }
.contact-card a:hover { text-decoration: underline; color: var(--white); }

/* ---------- prose (privacy etc.) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-4); margin: 2em 0 .6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-muted); font-size: var(--fs-1); }
.site-footer .wrap { padding-block: 64px 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--ink-3); }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-size: var(--fs-1); color: var(--white); font-weight: 650; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: var(--on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer a.social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer a.social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-size: var(--fs-0); }
.footer-bottom ul { display: flex; gap: 20px; }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; align-items: center; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .tracker { justify-self: start; margin-bottom: 36px; }
  .notify { left: auto; right: -12px; }
  .split, .split--even, .contact-grid { grid-template-columns: 1fr; }
  .products { grid-template-columns: 1fr; }
  .product--feature { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .step:nth-child(2)::after { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature-grid, .ai-grid, .flow { grid-template-columns: repeat(2, 1fr); }
  .vmh-hero .wrap { grid-template-columns: 1fr; }
  .services.services--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: 64px; }
  .brand img { height: 32px; }
  .services, .services.services--3, .team, .values, .mv, .feature-grid, .ai-grid, .flow { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { display: grid; grid-template-columns: 44px 1fr; gap: 0 18px; padding: 0 0 28px; }
  .step::before { grid-row: span 2; margin: 0; }
  .step::after { top: 44px; bottom: 0; left: 21px; right: auto; width: 2px; height: auto; display: block; }
  .step:nth-child(2)::after { display: block; }
  .step:last-child::after { display: none; }
  .form { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .person { grid-template-columns: 1fr; }
  .tracker { padding: 20px 18px 18px; }
  .hop { gap: 12px; }
  .notify { position: relative; left: auto; right: auto; bottom: auto; margin: 16px -4px -4px; width: auto; }
  .status-table td:first-child { white-space: normal; }
  .cta-band .btn-row { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
