:root {
  --teal: #1BBFC8;
  --teal-600: #12A3AC;
  --mint: #13C88E;
  --navy: #0F2537;
  --navy-800: #16324A;
  --navy-700: #22435F;
  --radius: 20px;
  --radius-sm: 12px;
  --max: 1200px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --focus: var(--focus-base);
  --surface: #FFFFFF;
  --surface-2: #F6F9FB;
  --card: #FFFFFF;
  --card-2: #FBFCFD;
  --field: #F6F9FB;
  --field-focus: #FFFFFF;
  --field-border: #7D8D9C;
  --control-border: #64758A;  /* outlines of header buttons and ghost buttons: 3:1 even over the hero's teal glow */
  --ink: #0F2537;
  --body: #4A5B6B;
  --muted: #5B6B7B;
  --line: #E3EAF0;
  --teal-700: #0A7C84;
  --teal-50: #EAFAFB;
  --teal-100: #D2F4F6;
  --focus-base: #0A7C84;
  --grad-a: #0A7C84;
  --grad-b: #0B8A60;
  --header-bg: rgba(255,255,255,.82);
  --menu-bg: rgba(255,255,255,.95);
  --hover-tint: rgba(15,37,55,.06);
  --hero-top: #F3FBFC;
  --hero-bottom: #EAF7F8;
  --grid-line: rgba(15,37,55,.045);
  --pill-bg: rgba(255,255,255,.8);
  --btn-dark-bg: #0F2537;
  --btn-dark-fg: #FFFFFF;
  --btn-dark-hover: #22435F;
  --featured-end: #E9FBF4;
  --phone-frame: #0F2537;
  --green-bg: #E5F8F0;
  --green-text: #0B7A55;
  --blue-bg: #EEF0FB;
  --amber-bg: #FDF3E4;
  --amber-line: #F6D9A8;
  --amber-text: #C77A12;
  --red-bg: #FDECEC;
  --red-text: #B02A2A;
  --err: #C23434;
  --invalid: #D64545;
  --form-card-border: transparent;
  --footer-bg: #0B1C2A;
  --shadow-sm: 0 1px 2px rgba(15,37,55,.06), 0 2px 8px rgba(15,37,55,.04);
  --shadow-md: 0 10px 30px -10px rgba(15,37,55,.18), 0 4px 12px -4px rgba(15,37,55,.08);
  --shadow-lg: 0 30px 60px -20px rgba(15,37,55,.30), 0 12px 24px -12px rgba(15,37,55,.14);
}

/* Theme: "auto" follows the system; html[data-theme] forces light or dark.
   Browsers without light-dark() keep the light palette above. */
@supports (color: light-dark(#000, #fff)) {
  :root {
    color-scheme: light dark;
    --surface: light-dark(#FFFFFF, #0B1A27);
    --surface-2: light-dark(#F6F9FB, #102231);
    --card: light-dark(#FFFFFF, #132A3D);
    --card-2: light-dark(#FBFCFD, #0F2335);
    --field: light-dark(#F6F9FB, #0E2132);
    --field-focus: light-dark(#FFFFFF, #0B1A27);
    --field-border: light-dark(#7D8D9C, #5F7890);
    --control-border: light-dark(#64758A, #8399AE);
    --ink: light-dark(#0F2537, #EAF2F7);
    --body: light-dark(#4A5B6B, #B7C6D3);
    --muted: light-dark(#5B6B7B, #93A6B7);
    --line: light-dark(#E3EAF0, #22384B);
    --teal-700: light-dark(#0A7C84, #5ED6DD);
    --teal-50: light-dark(#EAFAFB, #10313D);
    --teal-100: light-dark(#D2F4F6, #164452);
    --focus-base: light-dark(#0A7C84, #1BBFC8);
    --grad-a: light-dark(#0A7C84, #1BBFC8);
    --grad-b: light-dark(#0B8A60, #13C88E);
    --header-bg: light-dark(rgba(255,255,255,.82), rgba(11,26,39,.82));
    --menu-bg: light-dark(rgba(255,255,255,.95), rgba(11,26,39,.95));
    --hover-tint: light-dark(rgba(15,37,55,.06), rgba(255,255,255,.08));
    --hero-top: light-dark(#F3FBFC, #0D2333);
    --hero-bottom: light-dark(#EAF7F8, #10293B);
    --grid-line: light-dark(rgba(15,37,55,.045), rgba(255,255,255,.04));
    --pill-bg: light-dark(rgba(255,255,255,.8), rgba(19,42,61,.8));
    --btn-dark-bg: light-dark(#0F2537, #EAF2F7);
    --btn-dark-fg: light-dark(#FFFFFF, #0F2537);
    --btn-dark-hover: light-dark(#22435F, #FFFFFF);
    --featured-end: light-dark(#E9FBF4, #0F2A2E);
    --phone-frame: light-dark(#0F2537, #1E3A52);
    --green-bg: light-dark(#E5F8F0, #0F3A2E);
    --green-text: light-dark(#0B7A55, #6EE7B7);
    --blue-bg: light-dark(#EEF0FB, #1C2550);
    --amber-bg: light-dark(#FDF3E4, #3A2A12);
    --amber-line: light-dark(#F6D9A8, #6B4F1F);
    --amber-text: light-dark(#C77A12, #F5B95C);
    --red-bg: light-dark(#FDECEC, #3D1A1F);
    --red-text: light-dark(#B02A2A, #FFB4B4);
    --err: light-dark(#C23434, #FF8A8A);
    --invalid: light-dark(#D64545, #FF6B6B);
    --form-card-border: light-dark(transparent, #22384B);
    --footer-bg: light-dark(#0B1C2A, #07121C);
  }
  :root[data-theme="light"] { color-scheme: light; }
  :root[data-theme="dark"] { color-scheme: dark; }
  :root[data-theme="dark"] {
    --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.2);
    --shadow-md: 0 10px 30px -10px rgba(0,0,0,.6), 0 4px 12px -4px rgba(0,0,0,.35);
    --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7), 0 12px 24px -12px rgba(0,0,0,.45);
  }
}
@media (prefers-color-scheme: dark) {
  @supports (color: light-dark(#000, #fff)) {
    :root:not([data-theme="light"]) {
      --shadow-sm: 0 1px 2px rgba(0,0,0,.3), 0 2px 8px rgba(0,0,0,.2);
      --shadow-md: 0 10px 30px -10px rgba(0,0,0,.6), 0 4px 12px -4px rgba(0,0,0,.35);
      --shadow-lg: 0 30px 60px -20px rgba(0,0,0,.7), 0 12px 24px -12px rgba(0,0,0,.45);
    }
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--body); background: var(--surface);
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.12; letter-spacing: -0.025em; margin: 0; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 18px; border-radius: 999px; background: var(--btn-dark-bg); color: var(--btn-dark-fg); font-weight: 700; transform: translateY(-200%); }
.skip-link:focus { transform: none; }
section[id] { scroll-margin-top: 84px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 15px/1 var(--font); padding: 16px 24px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--teal); color: var(--navy); box-shadow: 0 8px 20px -8px rgba(27,191,200,.7); }
.btn-primary:hover { background: #2fd0d9; transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(27,191,200,.8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--control-border); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-dark { background: var(--btn-dark-bg); color: var(--btn-dark-fg); }
.btn-dark:hover { background: var(--btn-dark-hover); transform: translateY(-1px); }
.cta-card .btn-dark { background: var(--navy); color: #fff; }
.cta-card .btn-dark:hover { background: var(--navy-700); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled { background: var(--header-bg); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { color: var(--ink); display: inline-flex; align-items: center; }
.brand svg { height: 26px; width: auto; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a:not(.btn) { font-size: 15px; font-weight: 600; color: var(--ink); padding: 10px 14px; border-radius: 999px; transition: background-color .2s ease, color .2s ease; }
.nav-links a:not(.btn):hover { background: var(--hover-tint); }
.nav-links .btn { padding: 12px 20px; margin-left: 10px; }
/* Header controls: borders use --control-border so the outline meets WCAG 1.4.11 (3:1) in both themes, over the hero glow too. */
.nav-tools { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.theme-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 1.5px solid var(--control-border); background: transparent; color: var(--ink); cursor: pointer; transition: background-color .2s ease, border-color .2s ease; }
.theme-toggle:hover { background: var(--hover-tint); border-color: var(--ink); }
.theme-toggle svg { width: 20px; height: 20px; display: none; }
.theme-toggle .i-auto, [data-theme-pref="light"] .theme-toggle .i-light, [data-theme-pref="dark"] .theme-toggle .i-dark { display: block; }
[data-theme-pref="light"] .theme-toggle .i-auto, [data-theme-pref="dark"] .theme-toggle .i-auto { display: none; }
.no-js .theme-toggle { display: none; }
.lang-switch { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 999px; border: 1.5px solid var(--control-border); color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; transition: background-color .2s ease, border-color .2s ease; }
.lang-switch:hover { background: var(--hover-tint); border-color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 150px 0 110px; background:
  radial-gradient(900px 520px at 85% 10%, rgba(27,191,200,.20), transparent 60%),
  radial-gradient(700px 480px at 5% 90%, rgba(19,200,142,.10), transparent 60%),
  linear-gradient(180deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  /* The hero is its own tinted band, ending on a hairline, so the white section below reads as new. */
  border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(27,191,200,.2); }
.pill { padding: 8px 14px 8px 12px; border-radius: 999px; background: var(--pill-bg); border: 1px solid var(--teal-100); box-shadow: var(--shadow-sm); }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); margin: 22px 0 22px; }
.grad { background: linear-gradient(100deg, var(--grad-a) 10%, var(--grad-b) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); max-width: 540px; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.platforms { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 44px; font-size: 14px; font-weight: 600; color: var(--muted); }
.platforms li { display: inline-flex; align-items: center; gap: 8px; }
.platforms svg { width: 18px; height: 18px; color: var(--teal-700); }

.hero-visual { position: relative; aspect-ratio: 1 / 0.86; container-type: inline-size; }
.window { position: absolute; left: 0; top: 6%; width: 68%; border-radius: 18px; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 7px; padding: 2.2cqw 3cqw; border-bottom: 1px solid var(--line); background: var(--card-2); }
.window-bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: var(--line); }
.w-title { margin-left: 2cqw; display: inline-flex; align-items: center; gap: 1.2cqw; font-size: 2.3cqw; font-weight: 700; color: var(--ink); }
.w-title .spark { width: 3.4cqw; height: 3.4cqw; border-radius: 1cqw; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--mint)); }
.w-title .spark svg { width: 2.2cqw; height: 2.2cqw; }
.w-body { padding: 3cqw; display: grid; gap: 2.4cqw; }
.w-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 2cqw; }
.w-kpi { border: 1px solid var(--line); border-radius: 2cqw; padding: 2cqw 2.4cqw; }
.w-kpi small { display: block; font-size: 1.9cqw; font-weight: 600; color: var(--muted); }
.w-kpi strong { display: block; font-size: 4.6cqw; line-height: 1.2; font-weight: 800; color: var(--ink); }
.w-kpi.accent strong { background: linear-gradient(100deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.w-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.4cqw; }
.w-row { display: flex; align-items: center; gap: 2cqw; padding: 1.6cqw 2cqw; border-radius: 1.8cqw; background: var(--surface-2); animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--t, 0s); }
.w-ic { width: 4.4cqw; height: 4.4cqw; border-radius: 1.2cqw; flex: none; background: var(--teal-100); position: relative; }
.w-ic::after { content: ""; position: absolute; inset: 30%; border-radius: 2px; background: var(--teal-700); opacity: .55; }
.ic-crm { background: var(--green-bg); } .ic-crm::after { background: var(--mint); border-radius: 50%; }
.ic-mail { background: var(--blue-bg); } .ic-mail::after { background: #5B6BD5; }
.ic-chart { background: var(--amber-bg); } .ic-chart::after { background: #E59A2F; }
.w-txt { flex: 1; min-width: 0; }
.w-txt b { display: block; font-size: 2.2cqw; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-txt small { display: block; font-size: 1.8cqw; color: var(--muted); }
.w-status { display: inline-flex; align-items: center; gap: .8cqw; font-size: 1.8cqw; font-weight: 700; padding: .7cqw 1.6cqw; border-radius: 999px; flex: none; }
.w-status svg { width: 1.8cqw; height: 1.8cqw; }
.w-status.done { background: var(--green-bg); color: var(--green-text); }
.w-status.run { background: var(--teal-50); color: var(--teal-700); }
.w-status.run i { width: 1.6cqw; height: 1.6cqw; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin 1s linear infinite; }

.phone { position: absolute; right: 0; bottom: 0; width: 36%; aspect-ratio: 9 / 18.5; border-radius: 6cqw; background: var(--phone-frame); padding: 1.6cqw; box-shadow: var(--shadow-lg); animation: float 7s ease-in-out infinite; }
.phone-screen { position: relative; height: 100%; border-radius: 4.6cqw; overflow: hidden; background: linear-gradient(180deg, var(--hero-top) 0%, var(--card) 60%); padding: 6cqw 2.4cqw 2.4cqw; display: flex; flex-direction: column; gap: 2cqw; }
.phone-screen::before { content: ""; position: absolute; top: 1.6cqw; left: 50%; transform: translateX(-50%); width: 34%; height: 2.4cqw; border-radius: 999px; background: var(--phone-frame); }
.c-head { display: flex; align-items: center; gap: 1.6cqw; padding-bottom: 1.8cqw; border-bottom: 1px solid var(--line); }
.c-avatar { width: 5.6cqw; height: 5.6cqw; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--teal), var(--mint)); flex: none; }
.c-avatar svg { width: 3cqw; height: 3cqw; }
.c-head b { display: block; font-size: 2.3cqw; color: var(--ink); line-height: 1.2; }
.c-head small { display: inline-flex; align-items: center; gap: .8cqw; font-size: 1.7cqw; color: var(--muted); }
.c-head small i { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: var(--mint); }
.c-msgs { flex: 1; display: flex; flex-direction: column; gap: 1.6cqw; }
.c-msg { margin: 0; max-width: 88%; font-size: 2cqw; line-height: 1.35; padding: 1.6cqw 2cqw; border-radius: 2.6cqw; animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--t, 0s); }
.c-msg.user { align-self: flex-end; background: var(--btn-dark-bg); color: var(--btn-dark-fg); border-bottom-right-radius: .8cqw; }
.c-msg.bot { align-self: flex-start; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: .8cqw; }
.c-msg.typing { display: inline-flex; gap: .8cqw; padding: 2cqw; }
.c-msg.typing i { width: 1.3cqw; height: 1.3cqw; border-radius: 50%; background: var(--teal); animation: blink 1.2s ease-in-out infinite; }
.c-msg.typing i:nth-child(2) { animation-delay: .2s; } .c-msg.typing i:nth-child(3) { animation-delay: .4s; }
.c-card { display: flex; align-items: center; gap: 1.6cqw; padding: 1.6cqw; border-radius: 2.4cqw; background: var(--card); border: 1px solid var(--amber-line); box-shadow: 0 6px 14px -10px rgba(15,37,55,.4); animation: pop .5s cubic-bezier(.2,.8,.2,1) both; animation-delay: var(--t, 0s); }
.c-flag { width: 4cqw; height: 4cqw; border-radius: 50%; display: grid; place-items: center; background: var(--amber-bg); color: var(--amber-text); font-size: 2.2cqw; font-weight: 800; flex: none; }
.c-card b { display: block; font-size: 1.9cqw; color: var(--ink); }
.c-card small { display: block; font-size: 1.7cqw; color: var(--teal-700); font-weight: 700; }
.c-input { display: flex; align-items: center; justify-content: space-between; padding: 1.4cqw 1.4cqw 1.4cqw 2.4cqw; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 1.8cqw; color: var(--muted); }
.c-input i { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: var(--navy); }
.c-input i svg { width: 2.4cqw; height: 2.4cqw; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--card); border-radius: 999px; box-shadow: var(--shadow-md); font-size: 14px; font-weight: 700; color: var(--ink); animation: float 6s ease-in-out infinite; }
.float-chip .ic { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); }
.float-chip .ic svg { width: 16px; height: 16px; }
.chip-1 { left: 8%; bottom: 0; animation-delay: -2s; }
.chip-2 { right: 2%; top: 0; animation-delay: -4s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 120px 0; }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; }
.section-head p { margin-top: 18px; font-size: 18px; }

/* Services */
.services-grid { --cols: 4; --gap: 20px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); }
.services-grid.cols-3 { --cols: 3; }
.services-grid > .service { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
.service { position: relative; padding: 32px 28px 30px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.service::after { content: ""; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--mint)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service:hover::after { transform: scaleX(1); }
.service .icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-700); margin-bottom: 26px; }
.service .icon svg { width: 28px; height: 28px; }
.service h3 { font-size: 20px; margin-bottom: 12px; letter-spacing: -0.015em; }
.service p { font-size: 15.5px; line-height: 1.6; }

.service-featured { position: relative; overflow: hidden; display: flex; align-items: center; gap: 28px; padding: 34px 36px; margin-bottom: 20px; border-radius: 24px; background: linear-gradient(120deg, var(--teal-50) 0%, var(--card) 55%, var(--featured-end) 100%); border: 1px solid var(--teal-100); box-shadow: var(--shadow-sm); }
.service-featured::after { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -150px; border-radius: 50%; border: 2px solid rgba(27,191,200,.18); pointer-events: none; }
.service-featured .icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; flex: none; color: var(--navy); background: linear-gradient(135deg, var(--teal), var(--mint)); box-shadow: 0 12px 26px -10px rgba(27,191,200,.8); }
.service-featured .icon svg { width: 34px; height: 34px; }
.sf-copy { flex: 1; }
.sf-tag { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-700); margin-bottom: 6px; }
.service-featured h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 8px; }
.service-featured p { font-size: 16.5px; max-width: 620px; }
.service-featured .btn { position: relative; z-index: 1; flex: none; }

/* AI (dark feature section) */
.ai { position: relative; overflow: hidden; background: var(--navy); color: #B7C6D3; }
.ai::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(720px 420px at 85% 0%, rgba(27,191,200,.28), transparent 60%),
  radial-gradient(620px 420px at 0% 100%, rgba(19,200,142,.16), transparent 60%); }
.ai::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 20%, #000 20%, transparent 70%); }
.ai, .contact, .site-footer { --focus: var(--teal); }
.ai .container { position: relative; z-index: 1; }
.ai .eyebrow { color: var(--teal); }
.ai .section-head h2 { color: #fff; }
.ai .section-head p { color: #B7C6D3; }
.ai .grad { background: linear-gradient(100deg, var(--teal) 10%, var(--mint) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ai-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 52px; }
.ai-head .section-head { margin-bottom: 0; }
.ai-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ai-card { position: relative; padding: 30px 26px; border-radius: var(--radius); background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); border: 1px solid rgba(255,255,255,.1); transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.ai-card:hover { transform: translateY(-6px); border-color: rgba(27,191,200,.55); box-shadow: 0 20px 40px -20px rgba(27,191,200,.45); }
.ai-card .icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; margin-bottom: 22px; color: var(--navy); background: linear-gradient(135deg, var(--teal), var(--mint)); box-shadow: 0 10px 24px -8px rgba(27,191,200,.7); }
.ai-card .icon svg { width: 26px; height: 26px; }
.ai-card h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: -0.015em; color: #fff; }
.ai-card p { font-size: 15.5px; line-height: 1.6; color: #A9BACB; }
.ai-trust { list-style: none; margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 12px 32px; font-size: 15px; font-weight: 600; color: #fff; }
.ai-trust li { display: inline-flex; align-items: center; gap: 10px; }
.ai-trust .ic { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(27,191,200,.18); color: var(--teal); flex: none; }
.ai-trust .ic svg { width: 14px; height: 14px; }

/* About + process */
.about { background: var(--surface-2); }
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; margin-bottom: 88px; }
.about-grid h2 { font-size: clamp(32px, 4vw, 48px); margin-top: 16px; }
.about-copy p { font-size: 19px; color: var(--body); }
.about-copy p + p { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.stat { border-left: 3px solid var(--teal); padding: 2px 0 2px 16px; }
.stat strong { display: block; font-size: 15px; color: var(--ink); font-weight: 800; }
.stat span { font-size: 14px; color: var(--muted); }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; top: 36px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--teal) 0 8px, transparent 8px 16px); opacity: .5; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .badge { position: relative; width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; background: var(--card); color: var(--teal-700); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s ease, background-color .3s ease, color .3s ease; }
.step:hover .badge { transform: translateY(-4px) rotate(-3deg); background: var(--teal); color: var(--navy); }
.step .badge svg { width: 30px; height: 30px; }
.step .num { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--btn-dark-bg); color: var(--btn-dark-fg); font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* Projects */
.projects-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.projects-head .section-head { margin-bottom: 0; }
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; gap: 20px; }
.project { position: relative; border-radius: 24px; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(140deg, var(--navy-700), var(--navy)); background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; min-height: 0; }
.project::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--img); background-size: cover; background-position: center; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,37,55,.05) 20%, rgba(15,37,55,.82) 100%); transition: background-color .4s ease; }
.project:hover::before { transform: scale(1.06); }
.project .plogo { height: 38px; width: auto; max-width: 70%; object-fit: contain; object-position: left; margin-bottom: 14px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
.project .pname { font-size: 26px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.project .tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.22); }
.project .pdesc { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.85); margin-bottom: 14px; max-width: 46ch; }
a.project:focus-visible { outline-offset: 4px; }
.size-large { grid-column: span 5; grid-row: span 2; }
.size-medium { grid-column: span 4; }
.size-small { grid-column: span 3; }
.size-wide { grid-column: span 7; }
.size-full { grid-column: span 12; }

.field.captcha { margin-top: 18px; }
.field.captcha .cf-turnstile { min-height: 65px; }

/* Honeypot field, hidden from people */
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* CTA band */
.cta-band { padding: 0 0 120px; }
.cta-card { position: relative; overflow: hidden; border-radius: 32px; padding: 72px 56px; background: linear-gradient(120deg, var(--teal) 0%, #18b6bf 45%, var(--mint) 120%); color: var(--navy); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-card::before, .cta-card::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255,255,255,.28); }
.cta-card::before { width: 420px; height: 420px; right: -120px; top: -200px; }
.cta-card::after { width: 260px; height: 260px; right: 120px; bottom: -190px; }
.cta-card h2 { font-size: clamp(30px, 3.6vw, 44px); color: var(--navy); }
.cta-card p { margin-top: 12px; font-size: 18px; color: rgba(15,37,55,.85); max-width: 520px; }
.cta-card .btn { position: relative; z-index: 1; }

/* Contact */
.contact { position: relative; background: var(--navy); color: #B7C6D3; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(700px 400px at 0% 0%, rgba(27,191,200,.22), transparent 60%),
  radial-gradient(600px 400px at 100% 100%, rgba(19,200,142,.12), transparent 60%); }
.contact .container { position: relative; }
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
.contact h2 { color: #fff; font-size: clamp(34px, 4.2vw, 52px); margin-top: 16px; }
.contact .eyebrow { color: var(--teal); }
.contact-lede { margin-top: 20px; font-size: 18px; max-width: 440px; }
.contact-list { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background-color .2s ease, border-color .2s ease, transform .2s ease; }
a.contact-item:hover { background: rgba(255,255,255,.08); border-color: rgba(27,191,200,.5); transform: translateX(4px); }
.contact-item .ic { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: rgba(27,191,200,.14); color: var(--teal); }
.contact-item .ic svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #8197AA; }
.contact-item strong { display: block; color: #fff; font-size: 18px; font-weight: 700; }

.form-card { --focus: var(--focus-base); background: var(--card); border: 1px solid var(--form-card-border); border-radius: 28px; padding: 40px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.5); color: var(--body); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font); color: var(--ink); background: var(--field);
  border: 1.5px solid var(--field-border); border-radius: 12px; padding: 14px 16px; transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: 1; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--focus); background: var(--field-focus); box-shadow: 0 0 0 4px rgba(27,191,200,.18); }
.field.invalid input, .field.invalid textarea { border-color: var(--invalid); }
.field .err { font-size: 13px; font-weight: 600; color: var(--err); min-height: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; flex-wrap: wrap; }
.form-foot .note { font-size: 14px; color: var(--muted); }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; display: none; }
.form-status.ok { display: block; background: var(--green-bg); color: var(--green-text); }
.form-status.bad { display: block; background: var(--red-bg); color: var(--red-text); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Footer */
.site-footer { background: var(--footer-bg); color: #8197AA; padding: 36px 0; font-size: 14px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { color: #fff; }
.site-footer .brand svg { height: 20px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a:hover { color: #fff; }
.footer-social { color: #8197AA; display: inline-flex; transition: color .2s ease; }
.footer-social:hover { color: #fff; }
.footer-social svg { width: 20px; height: 20px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .services-grid.cols-3 { --cols: 2; }
  .ai-grid { grid-template-columns: repeat(2, 1fr); }
  .process { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 18px; }
  .process .step { flex: 0 0 calc((100% - 36px) / 3); }
  .process::before { display: none; }
  .bento { grid-auto-rows: 230px; }
  .size-large, .size-medium, .size-small { grid-column: span 6; }
  .size-wide, .size-full { grid-column: span 12; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-tools { margin-left: auto; }
  .nav-links { position: absolute; top: 76px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; background: var(--card); border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s; }
  .nav-links.open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .2s ease, transform .2s ease, visibility 0s; }
  .nav-links a:not(.btn) { display: block; padding: 14px 16px; font-size: 16px; }
  .nav-links .btn { display: flex; width: 100%; margin: 8px 0 0; padding: 16px; }
  .site-header.menu-open { background: var(--menu-bg); }
  .hero { padding: 120px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .projects-head, .ai-head { flex-direction: column; align-items: flex-start; }
  .service-featured { flex-direction: column; align-items: flex-start; gap: 18px; padding: 28px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 52px 36px; }
  .section { padding: 88px 0; }
  .cta-band { padding-bottom: 88px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .services-grid, .services-grid.cols-3 { --cols: 1; }
  .ai-grid { grid-template-columns: 1fr; }
  .ai-trust { flex-direction: column; }
  .process { display: grid; grid-template-columns: 1fr; gap: 14px; }
  .process .step { flex: none; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 18px; text-align: left; align-items: center; padding: 14px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
  .step .badge { grid-row: span 2; width: 60px; height: 60px; margin: 0; border-radius: 18px; box-shadow: none; background: var(--teal-50); border-color: transparent; }
  .step h3 { margin: 0; align-self: end; }
  .step p { align-self: start; }
  .stats { grid-template-columns: 1fr; gap: 14px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bento > .project { grid-column: auto; grid-row: auto; }
  .form-card { padding: 26px 20px; border-radius: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .cta-card { padding: 40px 24px; border-radius: 24px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .chip-1 { left: 2%; }
  .float-chip { font-size: 12px; padding: 8px 12px 8px 8px; }
  .float-chip .ic { width: 24px; height: 24px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
