/* =========================================================================
   Flow Consulting — flow-consulting.io
   Design system + page styles. Light theme default, dark theme opt-in.
   ========================================================================= */

@import url("../fonts/fonts.css");

/* ---------- Tokens ---------- */
:root {
  /* Brand (sampled from the logo mark) */
  --teal:        #05DFCE;
  --teal-deep:   #02A39F;
  --blue:        #1391DC;
  --blue-deep:   #0355C1;
  --ink:         #424242;

  --brand:       #0E86C9;
  --brand-hover: #0A6FAB;
  --brand-ink:   #0355C1;

  --grad:        linear-gradient(100deg, var(--teal) 0%, var(--blue) 52%, var(--blue-deep) 100%);
  --grad-soft:   linear-gradient(100deg, rgba(5,223,206,.14) 0%, rgba(19,145,220,.14) 52%, rgba(3,85,193,.14) 100%);

  /* Light surfaces */
  --bg:          #ffffff;
  --bg-alt:      #f5fafc;
  --surface:     #ffffff;
  --surface-2:   #f0f7fa;
  --border:      #e2edf3;
  --border-str:  #cfe2ec;

  --text:        #0d2430;
  --text-2:      #40606f;
  --text-3:      #6d8795;

  --shadow-sm:   0 1px 2px rgba(13,36,48,.05), 0 2px 8px rgba(13,36,48,.04);
  --shadow-md:   0 2px 6px rgba(13,36,48,.06), 0 12px 28px rgba(13,36,48,.07);
  --shadow-lg:   0 8px 20px rgba(13,36,48,.08), 0 30px 60px rgba(13,36,48,.10);
  --shadow-brand:0 14px 34px rgba(14,134,201,.28);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --head: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --nav-h: 76px;
  --ease: cubic-bezier(.22,.8,.3,1);
}

[data-theme="dark"] {
  --bg:         #07151c;
  --bg-alt:     #0a1c25;
  --surface:    #0d2330;
  --surface-2:  #102b39;
  --border:     #17394a;
  --border-str: #1f4c61;

  --text:       #e8f4f8;
  --text-2:     #a6c0cc;
  --text-3:     #7e9bab;

  --brand:      #35b7ef;
  --brand-hover:#5fc9f5;
  --brand-ink:  #6fd9ff;

  --shadow-sm:  0 1px 2px rgba(0,0,0,.4);
  --shadow-md:  0 2px 6px rgba(0,0,0,.35), 0 12px 28px rgba(0,0,0,.35);
  --shadow-lg:  0 8px 20px rgba(0,0,0,.4), 0 30px 60px rgba(0,0,0,.45);
  --shadow-brand:0 14px 34px rgba(5,223,206,.18);
  --grad-soft:  linear-gradient(100deg, rgba(5,223,206,.12) 0%, rgba(19,145,220,.12) 52%, rgba(3,85,193,.14) 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16.5px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1,h2,h3,h4 { font-family: var(--head); line-height: 1.14; letter-spacing: -.022em; font-weight: 800; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(5,223,206,.28); }

/* ---------- Layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(68px, 9vw, 122px) 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--head); font-weight: 700; font-size: .745rem;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand-ink);
  background: var(--grad-soft);
  border: 1px solid var(--border-str);
  padding: .5rem 1rem; border-radius: 999px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad); box-shadow: 0 0 0 3px rgba(5,223,206,.22);
}
[data-theme="dark"] .eyebrow { color: var(--brand-ink); }

.s-head { max-width: 760px; margin-inline: auto; margin-bottom: clamp(38px, 5vw, 62px); }
.s-head .eyebrow { margin-bottom: 1.15rem; }
.s-title { font-size: clamp(1.95rem, 4vw, 3rem); }
.s-sub { color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); margin-top: 1rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font-family: var(--head); font-weight: 700; font-size: .96rem;
  padding: .92rem 1.6rem; border-radius: 999px; border: 0; cursor: pointer;
  position: relative; isolation: isolate; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform .3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { color: #fff; background: var(--grad); background-size: 160% 100%; box-shadow: var(--shadow-brand); }
.btn--primary:hover { background-position: 100% 0; box-shadow: 0 18px 40px rgba(14,134,201,.36); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--ghost { background: var(--surface); color: var(--text); border: 1.5px solid var(--border-str); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); box-shadow: var(--shadow-md); }

.btn--light { background: #fff; color: var(--blue-deep); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.btn--light:hover { box-shadow: 0 16px 40px rgba(0,0,0,.24); }
.btn--outline-light { background: rgba(255,255,255,.08); color: #fff; border: 1.5px solid rgba(255,255,255,.5); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255,255,255,.18); border-color: #fff; }

.btn--sm { padding: .68rem 1.25rem; font-size: .88rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease), border-color .35s;
  border-bottom: 1px solid transparent;
}
.hdr.is-stuck {
  height: 66px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(13,36,48,.06);
}
[data-theme="dark"] .hdr.is-stuck { box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.hdr__in { display: flex; align-items: center; gap: 1.5rem; width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }

.brand { display: flex; align-items: center; gap: .65rem; flex: none; }
.brand img { height: 42px; width: auto; transition: height .35s var(--ease); }
.hdr.is-stuck .brand img { height: 36px; }
.brand .logo-dark { display: none; }
[data-theme="dark"] .brand .logo-light { display: none; }
[data-theme="dark"] .brand .logo-dark { display: block; }

.nav { margin-left: auto; display: flex; align-items: center; gap: .15rem; }
.nav a {
  position: relative; font-family: var(--head); font-weight: 600; font-size: .925rem;
  color: var(--text-2); padding: .55rem .78rem; border-radius: 10px;
  transition: color .22s, background-color .22s;
}
.nav a::after {
  content: ""; position: absolute; left: .78rem; right: .78rem; bottom: .3rem; height: 2px;
  background: var(--grad); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--text); }

.hdr__act { display: flex; align-items: center; gap: .6rem; flex: none; }

.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; cursor: pointer;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text-2); transition: color .22s, border-color .22s, transform .22s var(--ease), background-color .22s;
}
.icon-btn:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 19px; height: 19px; }
.theme-btn .ico-moon { display: none; }
[data-theme="dark"] .theme-btn .ico-sun { display: none; }
[data-theme="dark"] .theme-btn .ico-moon { display: block; }

.burger { display: none; }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 95; visibility: hidden; pointer-events: none;
}
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(6,24,33,.5); opacity: 0;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: opacity .35s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 350px);
  background: var(--bg); border-left: 1px solid var(--border);
  padding: 1.15rem 1.35rem 2rem; display: flex; flex-direction: column;
  transform: translateX(102%); transition: transform .4s var(--ease);
  box-shadow: -20px 0 60px rgba(13,36,48,.18); overflow-y: auto;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.drawer__top img { height: 34px; }
.drawer nav { display: flex; flex-direction: column; gap: .15rem; }
.drawer nav a {
  font-family: var(--head); font-weight: 600; font-size: 1.04rem; color: var(--text-2);
  padding: .82rem .9rem; border-radius: 12px; transition: background-color .2s, color .2s;
}
.drawer nav a:hover { background: var(--surface-2); color: var(--brand); }
.drawer .btn { margin-top: 1.4rem; }
.drawer__meta { margin-top: auto; padding-top: 2rem; font-size: .88rem; color: var(--text-3); display: grid; gap: .5rem; }
.drawer__meta a:hover { color: var(--brand); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--nav-h) + clamp(54px, 7vw, 86px)) 0 clamp(70px, 8vw, 110px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg::before {
  content: ""; position: absolute; inset: -30% -10% auto -10%; height: 150%;
  background:
    radial-gradient(60% 55% at 14% 8%, rgba(5,223,206,.22), transparent 62%),
    radial-gradient(55% 50% at 86% 14%, rgba(19,145,220,.20), transparent 60%),
    radial-gradient(50% 45% at 50% 96%, rgba(3,85,193,.12), transparent 65%);
}
[data-theme="dark"] .hero__bg::before {
  background:
    radial-gradient(60% 55% at 14% 8%, rgba(5,223,206,.17), transparent 62%),
    radial-gradient(55% 50% at 86% 14%, rgba(19,145,220,.20), transparent 60%),
    radial-gradient(50% 45% at 50% 96%, rgba(3,85,193,.22), transparent 65%);
}
.hero__grid-lines {
  position: absolute; inset: 0; z-index: -2; opacity: .5;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 68px 68px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 35%, #000 20%, transparent 78%);
}
.hero__waves { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; height: clamp(140px, 20vw, 260px); }
.hero__waves svg { width: 100%; height: 100%; }
.wave-path { animation: waveDrift 16s ease-in-out infinite alternate; transform-origin: center; }
.wave-path--2 { animation-duration: 21s; animation-direction: alternate-reverse; }
.wave-path--3 { animation-duration: 27s; }
@keyframes waveDrift {
  0%   { transform: translate3d(0,0,0) scaleY(1); }
  100% { transform: translate3d(-28px,6px,0) scaleY(1.07); }
}

.hero__in { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.3vw, 4.05rem); letter-spacing: -.035em; }
.hero h1 span { display: inline-block; }
.hero__lead { color: var(--text-2); font-size: clamp(1.03rem, 1.5vw, 1.2rem); max-width: 56ch; margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.1rem; }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.6rem; padding-top: 1.7rem; border-top: 1px solid var(--border); }
.hero__trust p { font-size: .82rem; color: var(--text-3); font-weight: 500; }
.hero__trust strong { color: var(--text); font-family: var(--head); font-weight: 800; font-size: 1.05rem; display: block; }

.hero__badge {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--border-str);
  padding: .48rem .5rem .48rem .55rem; border-radius: 999px;
  box-shadow: var(--shadow-sm); font-size: .83rem; font-weight: 600; color: var(--text-2);
  margin-bottom: 1.6rem;
}
.hero__badge b {
  background: var(--grad); color: #fff; font-family: var(--head); font-weight: 700;
  font-size: .72rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: 999px;
}

/* Hero visual */
.hero__art { position: relative; }
.orb { isolation: isolate; }
.orb {
  position: relative; aspect-ratio: 1; width: 100%; max-width: 480px; margin-inline: auto;
  display: grid; place-items: center;
}
.orb__ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px dashed var(--border-str);
  animation: spin 46s linear infinite;
}
.orb__ring:nth-child(2) { inset: 11%; border-style: solid; border-color: var(--border); animation-duration: 34s; animation-direction: reverse; }
.orb__ring:nth-child(3) { inset: 23%; border-style: dashed; animation-duration: 25s; }
@keyframes spin { to { transform: rotate(360deg); } }

.orb__core {
  position: relative; width: 54%; aspect-ratio: 1; border-radius: 50%;
  background: var(--grad); display: grid; place-items: center;
  box-shadow: 0 30px 70px rgba(14,134,201,.34), inset 0 -10px 30px rgba(3,85,193,.4);
}
.orb__core::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.55), transparent 55%);
}
.orb__disc {
  position: relative; z-index: 1; width: 74%; aspect-ratio: 1; border-radius: 50%;
  background: #fff; display: grid; place-items: center;
  box-shadow: inset 0 2px 10px rgba(3,85,193,.14), 0 10px 26px rgba(3,85,193,.18);
}
.orb__disc img { width: 72%; }

.orb__chip {
  position: absolute; display: flex; align-items: center; gap: .6rem;
  background: var(--surface); border: 1px solid var(--border);
  padding: .7rem .95rem; border-radius: 14px; box-shadow: var(--shadow-md);
  font-size: .83rem; font-weight: 600; white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.orb__chip i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex: none; }
.orb__chip i svg { width: 16px; height: 16px; }
.orb__chip span { display: block; font-size: .72rem; color: var(--text-3); font-weight: 500; }
.orb__chip--1 { top: 6%;  left: -6%; animation-delay: -1s; }
.orb__chip--2 { top: 42%; right: -8%; animation-delay: -3s; }
.orb__chip--3 { bottom: 7%; left: 2%; animation-delay: -5s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-11px); } }

/* ---------- Stats ---------- */
.stats { position: relative; z-index: 2; margin-top: -1rem; }
.stats__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg); padding: clamp(1.8rem, 3.4vw, 3rem) clamp(1.3rem, 3vw, 2.6rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  position: relative; overflow: hidden;
}
.stats__card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad); }
.stat { text-align: center; position: relative; }
.stat + .stat::after {
  content: ""; position: absolute; left: calc(-.75rem - 1px); top: 14%; bottom: 14%; width: 1px; background: var(--border);
}
.stat__n { font-family: var(--head); font-weight: 800; font-size: clamp(2.1rem, 4.2vw, 3.1rem); line-height: 1; letter-spacing: -.04em; }
.stat__l { color: var(--text-2); font-size: .89rem; margin-top: .6rem; font-weight: 500; }

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

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 1.9rem 1.7rem; position: relative; overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-str); }
.card:hover::before { transform: scaleX(1); }
.card h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .55rem; }
.card p { color: var(--text-2); font-size: .93rem; }

.card__ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand); margin-bottom: 1.25rem;
  border: 1px solid var(--border); transition: background .4s var(--ease), color .4s var(--ease), transform .4s var(--ease);
}
.card__ico svg { width: 24px; height: 24px; }
.card:hover .card__ico { background: var(--grad); color: #fff; border-color: transparent; transform: scale(1.06) rotate(-4deg); }

.card__n {
  position: absolute; top: 1.3rem; right: 1.5rem;
  font-family: var(--head); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--text); opacity: .07; transition: opacity .4s;
}
.card:hover .card__n { opacity: .14; }

/* ---------- Approach timeline ---------- */
.flowline { position: relative; display: grid; gap: 1.15rem; }
.flowline::before {
  content: ""; position: absolute; left: 27px; top: 34px; bottom: 34px; width: 2px;
  background: linear-gradient(to bottom, var(--teal), var(--blue), var(--blue-deep));
  opacity: .32; border-radius: 2px;
}
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.4rem; align-items: start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.35rem 1.6rem; position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.step:hover { transform: translateX(7px); box-shadow: var(--shadow-md); border-color: var(--border-str); }
.step__n {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  font-family: var(--head); font-weight: 800; font-size: 1.22rem; color: #fff;
  background: var(--grad); background-size: 200% 100%;
  box-shadow: 0 8px 20px rgba(14,134,201,.3); position: relative; z-index: 1;
}
.step h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .32rem; }
.step p { color: var(--text-2); font-size: .93rem; }

/* ---------- Industries ---------- */
.ind {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.25rem 1.4rem; font-family: var(--head); font-weight: 700; font-size: .98rem;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, background .35s;
}
.ind i { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex: none; transition: background .35s, color .35s; }
.ind i svg { width: 21px; height: 21px; }
.ind:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-str); }
.ind:hover i { background: var(--grad); color: #fff; }

/* ---------- Why / value ---------- */
.why { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(2rem, 5vw, 4.2rem); align-items: center; }
.why__media { position: relative; }
.why__panel {
  background: var(--grad); border-radius: var(--r-xl); padding: clamp(2rem,4vw,3rem);
  color: #fff; position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.why__panel::after {
  content: ""; position: absolute; inset: auto -30% -55% -30%; height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,.3), transparent 62%);
}
.why__panel h3 { font-size: clamp(1.4rem,2.4vw,1.85rem); margin-bottom: .9rem; }
.why__panel p { opacity: .94; font-size: .98rem; }
.why__list { display: grid; gap: 1rem; margin-top: 1.9rem; position: relative; z-index: 1; }
.why__list div { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; }
.why__list svg { width: 21px; height: 21px; flex: none; margin-top: 2px; }

.vp { display: grid; gap: 1.2rem; }
.vp__item { display: grid; grid-template-columns: 50px 1fr; gap: 1.15rem; align-items: start; }
.vp__item i { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(14,134,201,.26); }
.vp__item i svg { width: 23px; height: 23px; }
.vp__item h3 { font-size: 1.08rem; font-weight: 700; margin-bottom: .3rem; }
.vp__item p { color: var(--text-2); font-size: .93rem; }

/* ---------- Clients ---------- */
.cl-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.4rem; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; }
.cl-group:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--border-str); }
.cl-group__h { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; margin-bottom: .35rem; border-bottom: 1px solid var(--border); }
.cl-group__h i { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--grad-soft); color: var(--brand); flex: none; }
.cl-group__h i svg { width: 18px; height: 18px; }
.cl-group__h h3 { font-size: .98rem; font-weight: 700; }
.cl-group ul { list-style: none; padding: 0; }
.cl-group li { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 1px dashed var(--border); font-size: .93rem; font-weight: 500; }
.cl-group li:last-child { border-bottom: 0; }
.cl-group li span {
  font-size: .68rem; font-weight: 700; letter-spacing: .07em; color: var(--brand-ink);
  background: var(--grad-soft); border: 1px solid var(--border); padding: .18rem .52rem; border-radius: 999px; flex: none;
}

.clients-grid { align-items: start; }
.cl-cta {
  grid-column: span 2; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  background: var(--grad-soft); border: 1.5px dashed var(--border-str);
  border-radius: var(--r-lg); padding: 1.7rem 1.9rem;
}
.cl-cta h3 { font-size: 1.22rem; font-weight: 700; margin-bottom: .35rem; }
.cl-cta p { color: var(--text-2); font-size: .93rem; max-width: 42ch; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--grad); color: #fff; }
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 15% 10%, rgba(255,255,255,.26), transparent 55%),
              radial-gradient(50% 100% at 85% 90%, rgba(3,85,193,.5), transparent 60%);
}
.cta-band__wave { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; opacity: .3; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.cta-band p { margin-top: 1rem; opacity: .95; font-size: 1.06rem; max-width: 56ch; margin-inline: auto; }
.cta-band .hero__cta { justify-content: center; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 4vw, 3.4rem); align-items: start; }
.contact__info { display: grid; gap: 1rem; }
.ci {
  display: grid; grid-template-columns: 48px 1fr; gap: 1.1rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.15rem 1.35rem; transition: border-color .3s, box-shadow .3s var(--ease), transform .3s var(--ease);
}
.ci:hover { border-color: var(--brand); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.ci i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.ci i svg { width: 21px; height: 21px; }
.ci h4 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
.ci p, .ci a { font-family: var(--head); font-weight: 700; font-size: 1rem; word-break: break-word; }
.ci a:hover { color: var(--brand); }

.form {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 1.05rem; }
.field label { display: block; font-size: .83rem; font-weight: 600; color: var(--text-2); margin-bottom: .45rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem; border-radius: 12px; font-size: .95rem;
  background: var(--bg-alt); border: 1.5px solid var(--border); color: var(--text);
  transition: border-color .25s, background-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 128px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0; border-color: var(--brand); background: var(--surface);
  box-shadow: 0 0 0 4px rgba(14,134,201,.13);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-3); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.05rem; }
.form__note { font-size: .8rem; color: var(--text-3); margin-top: .9rem; text-align: center; }

/* ---------- Footer ---------- */
.ftr { background: var(--bg-alt); border-top: 1px solid var(--border); padding: clamp(3rem,5vw,4.4rem) 0 0; }
.ftr__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.25fr; gap: 2.4rem; padding-bottom: 3rem; }
.ftr__brand img { height: 44px; margin-bottom: 1.15rem; }
.ftr__brand p { color: var(--text-2); font-size: .92rem; max-width: 36ch; }
.ftr h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .11em; color: var(--text); font-weight: 800; margin-bottom: 1.1rem; }
.ftr ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.ftr ul a, .ftr ul li { color: var(--text-2); font-size: .92rem; transition: color .22s, transform .22s var(--ease); display: inline-block; }
.ftr ul a:hover { color: var(--brand); transform: translateX(3px); }
.ftr__social { display: flex; gap: .6rem; margin-top: 1.4rem; }
.ftr__social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--text-2); transition: all .25s var(--ease); }
.ftr__social a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.ftr__social svg { width: 18px; height: 18px; }
.ftr__bar { border-top: 1px solid var(--border); padding: 1.4rem 0; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; font-size: .86rem; color: var(--text-3); }
.ftr__bar a:hover { color: var(--brand); }

/* ---------- Back to top ---------- */
.totop {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 48px; height: 48px; border-radius: 15px; cursor: pointer; border: 0;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow-brand);
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.9);
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-3px); }
.totop svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero__in { grid-template-columns: 1fr; text-align: center; }
  .hero__lead { margin-inline: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__art { order: -1; max-width: 400px; margin-inline: auto; }
  .why { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav, .hdr__act .btn { display: none; }
  .burger { display: grid; margin-left: auto; }
  .hdr__act { margin-left: 0; gap: .5rem; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cl-cta { grid-column: span 2; }
  .stats__card { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat:nth-child(odd)::after { display: none; }
}
@media (max-width: 760px) {
  /* The chips are nowrap labels that would overflow a phone viewport. */
  .orb__chip { display: none; }
  .hero__art { order: 0; margin-top: 2.6rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 2rem); }
  .grid--3, .grid--2, .grid--4 { grid-template-columns: 1fr; }
  .cl-cta, .card[style*="span 2"] { grid-column: span 1 !important; }
  .stats__card { grid-template-columns: 1fr 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 46px 1fr; gap: 1rem; padding: 1.15rem 1.15rem; }
  .step__n { width: 46px; height: 46px; font-size: 1.05rem; border-radius: 14px; }
  .flowline::before { left: 23px; }
  .ftr__grid { grid-template-columns: 1fr; }
  .orb__chip { font-size: .76rem; padding: .55rem .75rem; }
  .orb__chip--1 { left: -2%; } .orb__chip--2 { right: -2%; }
  .hero__trust { gap: 1.1rem; }
}
@media print {
  .hdr, .drawer, .totop, .hero__waves, .cta-band__wave { display: none !important; }
  body { background: #fff; color: #000; }
}
