/* =========================================================
   NEXUS IT — style.css
   Palette taken from the logo: sunny yellow · deep navy · white
   ========================================================= */
:root {
  --y: #FFD23F;
  --y-2: #FFC21A;
  --y-soft: #FFF5CC;
  --y-pale: #FFFBEA;
  --n: #111936;
  --n-2: #1C2652;
  --n-3: #2A3570;
  --ink: #111936;
  --muted: #5A6286;
  --bg: #FFFFFF;
  --bg-2: #F7F6F0;
  --line: rgba(17, 25, 54, .1);
  --white: #fff;

  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --r-sm: 12px;
  --r: 22px;
  --r-lg: 34px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1360px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 30px 60px -30px rgba(17, 25, 54, .25), 0 12px 24px -12px rgba(17, 25, 54, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
::selection { background: var(--y); color: var(--n); }
:focus-visible { outline: 3px solid var(--y-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.h-xl {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
}
.hl {
  position: relative;
  display: inline-block;
  padding: 0 .18em;
  margin: 0 -.04em;
  border-radius: .18em;
  background: var(--y);
  color: var(--n);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hl--w { background: #fff; }
.hl--n { background: var(--n); color: var(--y); }
.hl--anim { background: linear-gradient(var(--y), var(--y)) no-repeat left / 0% 100%; transition: background-size 1s var(--ease) .9s; }
.is-loaded .hl--anim { background-size: 100% 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
}
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

.section-tag {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: .82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  margin-bottom: 28px;
}
.section-tag__n {
  display: grid; place-items: center;
  width: 38px; height: 34px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--y); color: var(--n);
}
.section-tag--dark { color: var(--n); }
.section-tag--dark .section-tag__n { background: var(--n); color: var(--y); }
.section-tag--light { color: rgba(255,255,255,.7); }

/* ---------- buttons ---------- */
.btn {
  --bh: 60px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--bh); padding: 0 30px;
  border-radius: 100px;
  font-weight: 800; font-size: 1rem; letter-spacing: -.01em;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s;
  white-space: nowrap;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn__ic { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.btn:hover .btn__ic { transform: translateX(4px) rotate(-30deg); }
.btn--primary { background: var(--y); color: var(--n); box-shadow: 0 14px 30px -12px rgba(255, 194, 26, .9); }
.btn--primary::before { background: var(--n); }
.btn--primary:hover { color: var(--y); }
.btn--dark { background: var(--n); color: #fff; }
.btn--dark::before { background: var(--y); }
.btn--dark:hover { color: var(--n); }
.btn--ghost { border: 2px solid var(--n); color: var(--n); }
.btn--ghost::before { background: var(--n); }
.btn--ghost:hover { color: #fff; }
.btn--sm { --bh: 46px; padding: 0 22px; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: none; }
.preloader__panel { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--y); z-index: -1; }
.preloader__panel--a { top: 0; }
.preloader__panel--b { bottom: 0; background: var(--y); }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__mark { width: 120px; height: 100px; overflow: visible; }
.preloader__mark polygon { fill: none; stroke-width: 7; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pl-y { stroke: #fff; animation: draw 1.1s var(--ease) .1s forwards, fillW .5s ease 1.1s forwards; }
.pl-n { stroke: var(--n); animation: draw 1.1s var(--ease) .35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fillW { to { fill: #fff; } }
.preloader__count { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; color: var(--n); letter-spacing: .05em; }
.preloader.is-done .preloader__inner { opacity: 0; transform: scale(.9); transition: all .45s var(--ease); }
.preloader.is-done .preloader__panel--a { transform: translateY(-101%); transition: transform 1s var(--ease) .25s; }
.preloader.is-done .preloader__panel--b { transform: translateY(101%); transition: transform 1s var(--ease) .25s; }
.preloader.is-gone { display: none; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 999; }
  .cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
  .cursor__dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--n); }
  .cursor__ring {
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border: 1.5px solid rgba(17,25,54,.35);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .cursor__label { font-family: var(--f-display); font-size: .72rem; font-weight: 700; color: var(--n); opacity: 0; transition: opacity .2s; }
  .cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,210,63,.35); border-color: var(--y-2); }
  .cursor.is-label .cursor__ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--y); border-color: var(--y); }
  .cursor.is-label .cursor__label { opacity: 1; }
  .cursor.is-label .cursor__dot { opacity: 0; }
  .cursor.on-dark .cursor__dot { background: var(--y); }
  .cursor.on-dark .cursor__ring { border-color: rgba(255,210,63,.6); }
}

/* ---------- progress hex ---------- */
.progress-hex {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; display: grid; place-items: center;
  opacity: 0; transform: scale(.6); transition: opacity .4s, transform .4s var(--ease);
}
.progress-hex.is-on { opacity: 1; transform: none; }
.progress-hex svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.progress-hex polygon { stroke-linejoin: round; stroke-width: 4; }
.ph-bg { fill: var(--n); stroke: var(--n); }
.ph-fg { fill: none; stroke: var(--y); stroke-dasharray: 1; stroke-dashoffset: 1; }
.ph-arrow { position: relative; width: 20px; height: 20px; color: var(--y); transition: transform .3s var(--ease); }
.progress-hex:hover .ph-arrow { transform: translateY(-3px); }

/* ---------- header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--header-h);
  transition: transform .5s var(--ease), background .4s, box-shadow .4s;
}
.header.is-scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(16px) saturate(1.6); -webkit-backdrop-filter: blur(16px) saturate(1.6); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__row { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--n); }
.logo__mark { width: 46px; height: 38px; color: var(--n); transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-12deg) scale(1.05); }
.logo__word { font-family: var(--f-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -.02em; }
.logo__word b { display: inline-block; background: var(--y); padding: 0 .3em; border-radius: .25em; margin-left: .1em; }
.logo--light, .logo--light .logo__mark { color: #fff; }

.nav { display: flex; gap: 6px; padding: 6px; border-radius: 100px; background: rgba(255,255,255,.6); border: 1px solid var(--line); backdrop-filter: blur(10px); }
.nav a { position: relative; padding: 9px 18px; border-radius: 100px; font-weight: 700; font-size: .93rem; transition: background .3s, color .3s; }
.nav a:hover { background: var(--y-soft); }
.nav a.is-active { background: var(--n); color: #fff; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { position: relative; display: flex; padding: 4px; border-radius: 100px; background: var(--bg-2); border: 1px solid var(--line); }
.lang__btn { position: relative; z-index: 1; width: 42px; height: 34px; border-radius: 100px; font-weight: 800; font-size: .8rem; transition: color .3s; }
.lang__btn.is-active { color: var(--n); }
.lang__btn:not(.is-active) { color: var(--muted); }
.lang__pill { position: absolute; top: 4px; left: 4px; width: 42px; height: 34px; border-radius: 100px; background: var(--y); transition: transform .45s var(--ease); }
.lang[data-active="uz"] .lang__pill { transform: translateX(42px); }

.burger { display: none; width: 50px; height: 50px; border-radius: 50%; background: var(--n); position: relative; z-index: 120; }
.burger span { position: absolute; left: 15px; right: 15px; height: 2.5px; border-radius: 2px; background: var(--y); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 20px; }
.burger span:last-child { top: 28px; }
.burger.is-open span:first-child { top: 24px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 24px; transform: rotate(-45deg); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px; }
.mmenu__bg { position: absolute; inset: 0; background: var(--y); clip-path: circle(0% at calc(100% - 45px) 38px); transition: clip-path .8s var(--ease); }
.mmenu.is-open { pointer-events: auto; }
.mmenu.is-open .mmenu__bg { clip-path: circle(150% at calc(100% - 45px) 38px); }
.mmenu__nav { position: relative; display: flex; flex-direction: column; gap: 4px; }
.mmenu__nav a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(2rem, 9vw, 3.4rem); line-height: 1.15; letter-spacing: -.03em; color: var(--n);
  opacity: 0; transform: translateY(40px); transition: opacity .5s, transform .6s var(--ease);
}
.mmenu__nav a i { font-family: var(--f-mono); font-style: normal; font-size: .85rem; font-weight: 600; opacity: .55; }
.mmenu.is-open .mmenu__nav a { opacity: 1; transform: none; }
.mmenu.is-open .mmenu__nav a:nth-child(1) { transition-delay: .15s; }
.mmenu.is-open .mmenu__nav a:nth-child(2) { transition-delay: .2s; }
.mmenu.is-open .mmenu__nav a:nth-child(3) { transition-delay: .25s; }
.mmenu.is-open .mmenu__nav a:nth-child(4) { transition-delay: .3s; }
.mmenu.is-open .mmenu__nav a:nth-child(5) { transition-delay: .35s; }
.mmenu.is-open .mmenu__nav a:nth-child(6) { transition-delay: .4s; }
.mmenu__foot { position: relative; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; opacity: 0; transition: opacity .5s .45s; }
.mmenu.is-open .mmenu__foot { opacity: 1; }
.mmenu__foot a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; padding: 14px 22px; border-radius: 100px; background: var(--n); color: #fff; }
.mmenu__foot svg { width: 20px; height: 20px; color: var(--y); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 20px) 0 90px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 45%, #000 20%, transparent 75%);
  opacity: .7;
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.blob--1 { width: 46vw; height: 46vw; right: -8vw; top: -6vw; background: radial-gradient(circle, #FFE27A, rgba(255,210,63,0) 70%); animation: float1 14s ease-in-out infinite; }
.blob--2 { width: 30vw; height: 30vw; left: -10vw; bottom: -12vw; background: radial-gradient(circle, #FFEFA8, rgba(255,226,122,0) 70%); animation: float2 18s ease-in-out infinite; }
.blob--3 { width: 18vw; height: 18vw; right: 30vw; bottom: 4vw; background: radial-gradient(circle, rgba(120,140,255,.28), rgba(120,140,255,0) 70%); animation: float1 20s ease-in-out infinite reverse; }
@keyframes float1 { 50% { transform: translate(-4vw, 3vw) scale(1.08); } }
@keyframes float2 { 50% { transform: translate(5vw, -3vw) scale(1.12); } }

.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 20px; }
.hero__content { position: relative; z-index: 2; }
.hero__eyebrow { margin-bottom: 30px; }
.hero__title {
  font-family: var(--f-display); font-weight: 800;
  font-size: clamp(2.4rem, 4.7vw, 5.6rem);
  line-height: 1.02; letter-spacing: -.045em;
  margin-bottom: 30px;
}
.line { display: block; overflow: hidden; padding: .04em 0 .08em; margin: -.04em 0 -.08em; }
.line__in { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.is-loaded .line__in { transform: none; }
.is-loaded .line:nth-child(2) .line__in { transition-delay: .1s; }
.is-loaded .line:nth-child(3) .line__in { transition-delay: .2s; }

.hero__lead { max-width: 540px; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: var(--muted); font-weight: 500; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 54px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 28px; }
.hero__facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 3px solid var(--y); }
.hero__facts b { font-family: var(--f-display); font-size: 1.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.hero__facts span { font-size: .88rem; color: var(--muted); font-weight: 600; }
[data-hero] { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-loaded [data-hero] { opacity: 1; transform: none; }
.is-loaded .hero__lead { transition-delay: .35s; }
.is-loaded .hero__cta { transition-delay: .45s; }
.is-loaded .hero__facts { transition-delay: .55s; }

.hero__visual { position: relative; height: min(76vh, 760px); min-height: 420px; }
.hero__visual::before {
  content: ""; position: absolute; inset: 18% 12%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,210,63,.55), rgba(255,210,63,0) 65%);
  filter: blur(30px);
}
#heroCanvas {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 88%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 14%, #000 88%, transparent), linear-gradient(transparent, #000 10%, #000 90%, transparent);
  mask-composite: intersect;
}
.hero__fallback { position: absolute; inset: 25% 20%; width: 60%; height: 50%; color: var(--n); animation: bob 5s ease-in-out infinite; }
.hero__visual.has-3d .hero__fallback { display: none; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-3deg); } }

.chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 100px;
  font-weight: 800; font-size: .86rem;
  background: rgba(255,255,255,.82); border: 1px solid rgba(255,255,255,.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  opacity: 0; transform: translateY(20px) scale(.9);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.is-loaded .chip { opacity: 1; transform: none; }
.chip__dot { width: 10px; height: 10px; border-radius: 3px; background: var(--y); transform: rotate(45deg); }
.chip__dot--n { background: var(--n); }
.chip--1 { top: 14%; left: 2%; transition-delay: 1s !important; }
.chip--2 { top: 22%; right: 0; transition-delay: 1.1s !important; }
.chip--3 { bottom: 20%; left: 6%; transition-delay: 1.2s !important; }
.chip--4 { bottom: 12%; right: 8%; transition-delay: 1.3s !important; }
.chip > * { pointer-events: none; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.scroll-cue__mouse { width: 26px; height: 40px; border: 2px solid var(--n); border-radius: 14px; display: flex; justify-content: center; padding-top: 7px; }
.scroll-cue__mouse i { width: 4px; height: 8px; border-radius: 2px; background: var(--y-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { position: relative; padding: 40px 0; overflow: hidden; }
.marquee__row { display: flex; white-space: nowrap; padding: 22px 0; }
.marquee__row--y { background: var(--y); transform: rotate(-2.2deg) scale(1.04); position: relative; z-index: 2; box-shadow: 0 20px 40px -20px rgba(255,194,26,.7); }
.marquee__row--n { background: var(--n); color: #fff; transform: rotate(1.6deg) scale(1.04); margin-top: -14px; }
.marquee__track { display: flex; align-items: center; gap: 36px; padding-right: 36px; flex-shrink: 0; will-change: transform; }
.marquee__track span { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2.8rem); letter-spacing: -.03em; text-transform: uppercase; }
.marquee__track i { font-style: normal; font-size: clamp(1rem, 2vw, 1.6rem); }
.marquee__row--n i { color: var(--y); }
.marquee__row--n span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1.5px #fff; }

/* =========================================================
   MANIFEST
   ========================================================= */
.manifest { padding: clamp(90px, 14vw, 200px) 0; }
.manifest__text {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.9vw, 3.7rem);
  line-height: 1.22; letter-spacing: -.03em;
  max-width: 1200px;
  isolation: isolate;
}
.manifest__text b { font-weight: 800; }
.manifest__text em { font-style: normal; }
.manifest__text .w { display: inline-block; opacity: .14; transition: none; }
.manifest__text em .w, .manifest__text .w.em { position: relative; }
.manifest__text .w.em::after {
  content: ""; position: absolute; left: -.08em; right: -.08em; top: .12em; bottom: .02em; z-index: -1;
  background: var(--y); border-radius: .14em;
  transform: scaleX(var(--hl, 0)); transform-origin: left;
}

/* =========================================================
   SERVICES (horizontal)
   ========================================================= */
.services { position: relative; background: var(--bg-2); }
.services__pin { position: relative; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--header-h); }
.services__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 26px; }
.services__head .section-tag { margin: 0; }
.services__progress { flex: 0 1 320px; height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.services__progress span { display: block; height: 100%; width: 100%; background: var(--n); transform-origin: left; transform: scaleX(0); }
.services__track { display: flex; align-items: stretch; gap: 28px; padding: 0 var(--gutter); width: max-content; will-change: transform; }
.services__track > * { flex-shrink: 0; }

.srv-intro { width: min(560px, 80vw); display: flex; flex-direction: column; justify-content: center; padding-right: 30px; }
.srv-intro__p { font-size: 1.15rem; color: var(--muted); font-weight: 500; margin: 26px 0 32px; max-width: 440px; }
.srv-intro__hint { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .14em; }
.srv-intro__hint svg { width: 22px; height: 22px; animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateX(8px); } }

.srv-card {
  position: relative;
  width: min(880px, 78vw); height: min(64vh, 560px); min-height: 440px;
  display: grid; grid-template-columns: 1.1fr .9fr;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.srv-card--y { background: var(--y); border-color: transparent; }
.srv-card__body { padding: clamp(28px, 3.5vw, 52px); display: flex; flex-direction: column; }
.srv-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.srv-card__n { font-family: var(--f-display); font-weight: 800; font-size: 4.6rem; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--n); }
.srv-card__tag { font-family: var(--f-mono); font-size: .76rem; font-weight: 600; padding: 7px 14px; border-radius: 100px; border: 1.5px solid var(--n); text-transform: uppercase; letter-spacing: .1em; }
.srv-card__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 2.7rem); line-height: 1.08; letter-spacing: -.035em; margin: 24px 0 22px; }
.srv-card__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.srv-card__list li { position: relative; padding-left: 28px; font-weight: 600; color: var(--n-2); }
.srv-card__list li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 12px; border-radius: 3px; background: var(--y); transform: rotate(45deg); }
.srv-card--y .srv-card__list li::before { background: var(--n); }
.srv-card__link { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; align-self: flex-start; padding-bottom: 4px; border-bottom: 2px solid currentColor; }
.srv-card__link svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.srv-card__link:hover svg { transform: translateX(6px); }
.srv-card__art { position: relative; display: grid; place-items: center; background: var(--y-soft); margin: 14px; border-radius: calc(var(--r-lg) - 10px); overflow: hidden; }
.srv-card--y .srv-card__art { background: #fff; }
.srv-card__art::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(17,25,54,.12) 1.2px, transparent 1.2px); background-size: 18px 18px; }
.draw-icon { position: relative; width: 66%; height: auto; overflow: visible; }
.draw-icon .s-y, .draw-icon .s-n { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.draw-icon .s-y { stroke: var(--y-2); stroke-width: 11; }
.srv-card--y .draw-icon .s-y { stroke: var(--y-2); }
.draw-icon .s-n { stroke: var(--n); stroke-width: 11; stroke-linecap: butt; }
.draw-icon .f-y { fill: var(--y-2); }
.draw-icon .f-n { fill: var(--n); }

.srv-outro { width: min(560px, 80vw); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 32px; padding-left: 30px; }
.srv-outro__big { font-family: var(--f-display); font-weight: 700; font-size: clamp(2.2rem, 4.6vw, 4.4rem); line-height: 1.05; letter-spacing: -.04em; }

/* =========================================================
   NEXUS (yellow circle reveal)
   ========================================================= */
.nexus { position: relative; height: 240vh; }
.nexus__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.nexus__fill { position: absolute; inset: 0; background: var(--y); clip-path: circle(150% at 50% 50%); }
.nexus__fill::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(17,25,54,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(17,25,54,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.nexus__inner { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-top: var(--header-h); }
.nexus__title { margin-bottom: 26px; }
.nexus__p { font-size: clamp(1rem, 1.25vw, 1.18rem); font-weight: 500; color: var(--n-2); max-width: 520px; }

.nexus-map { position: relative; width: 100%; aspect-ratio: 8 / 5; }
.nexus-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.nm-ring path { fill: none; stroke: rgba(17,25,54,.25); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.nm-lines use { fill: none; stroke: var(--n); stroke-width: 3.5; stroke-linecap: round; }
.nm-packets circle { fill: #fff; stroke: var(--n); stroke-width: 3; }
.nm-core__hex { fill: #fff; stroke: var(--n); stroke-width: 5; stroke-linejoin: round; filter: drop-shadow(0 16px 24px rgba(17,25,54,.25)); }
.nm-core__pulse { fill: none; stroke: var(--n); stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; animation: ring 3s ease-out infinite; }
.nm-core__pulse--2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.8); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.nm-node {
  position: absolute; left: var(--px); top: var(--py); transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 10px; border-radius: 100px;
  background: #fff; box-shadow: 0 16px 30px -14px rgba(17,25,54,.45);
  font-weight: 800; font-size: .95rem; white-space: nowrap;
}
.nm-node__ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--n); color: var(--y); font-family: var(--f-display); font-size: .74rem; font-weight: 700; }
.nm-node__ic svg { width: 18px; height: 18px; }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: clamp(80px, 10vw, 140px) 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 10px 30px 10px 0; border-left: 1px solid var(--line); padding-left: 30px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--f-display); font-weight: 800; font-size: clamp(3rem, 6vw, 5.6rem); letter-spacing: -.05em; line-height: 1; margin-bottom: 18px; display: flex; align-items: baseline; gap: 6px; }
.stat__num small { font-size: .32em; font-weight: 700; letter-spacing: 0; color: var(--muted); align-self: flex-start; margin-top: .5em; }
.stat__num span { background: linear-gradient(transparent 62%, var(--y) 62%, var(--y) 92%, transparent 92%); padding: 0 .04em; }
.stat p { color: var(--muted); font-weight: 600; max-width: 240px; }

/* =========================================================
   BENTO DEMOS
   ========================================================= */
.bento-sec { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); position: relative; overflow: hidden; }
.sec-head { margin-bottom: clamp(40px, 5vw, 70px); max-width: 900px; }
.sec-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.bento {
  display: grid; gap: 20px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(150px, auto);
  grid-template-areas:
    "chat chat chat chat term term term term term funnel funnel funnel"
    "chat chat chat chat term term term term term funnel funnel funnel"
    "chat chat chat chat sync sync sync sync dev dev dev dev"
    "chat chat chat chat sync sync sync sync dev dev dev dev";
}
.tile {
  position: relative; border-radius: var(--r-lg); padding: 26px;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 1px 0 rgba(17,25,54,.04);
  overflow: hidden; transform-style: preserve-3d; transition: box-shadow .5s;
  display: flex; flex-direction: column;
}
.tile:hover { box-shadow: var(--shadow); }
.tile__label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: .76rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 18px; }
.tile__label svg { width: 16px; height: 16px; color: #2AABEE; }
.tile__note { margin-top: auto; padding-top: 16px; font-weight: 600; color: var(--muted); font-size: .94rem; }
.tile--chat { grid-area: chat; background: var(--y); border: 0; }
.tile--chat .tile__label { color: var(--n); }
.tile--term { grid-area: term; background: var(--n); border: 0; }
.tile--term .tile__label { color: rgba(255,255,255,.55); }
.tile--funnel { grid-area: funnel; }
.tile--sync { grid-area: sync; }
.tile--devices { grid-area: dev; background: var(--y-soft); border-color: transparent; }

.phone { flex: 1; display: flex; flex-direction: column; border-radius: 26px; background: #E8EEF5; overflow: hidden; box-shadow: 0 30px 50px -24px rgba(17,25,54,.5); max-height: 560px; }
.phone__bar { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border-bottom: 1px solid var(--line); line-height: 1.2; }
.phone__bar b { display: block; font-size: .95rem; }
.phone__bar small { color: #2AABEE; font-weight: 700; font-size: .78rem; }
.phone__ava { width: 38px; height: 38px; border-radius: 50%; background: var(--n); color: var(--y); display: grid; place-items: center; font-family: var(--f-display); font-weight: 700; }
.chat { flex: 1; display: flex; flex-direction: column; gap: 9px; padding: 16px; background:
  radial-gradient(circle at 20% 20%, rgba(255,210,63,.16), transparent 40%),
  radial-gradient(circle at 80% 70%, rgba(42,171,238,.12), transparent 40%), #E8EEF5; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: .9rem; font-weight: 600; line-height: 1.4; box-shadow: 0 2px 4px rgba(17,25,54,.06); }
.msg--me { align-self: flex-end; background: #D9F7C6; border-bottom-right-radius: 4px; }
.msg--bot { align-self: flex-start; background: #fff; border-bottom-left-radius: 4px; }
.msg--bot u { color: #2AABEE; text-decoration: none; font-weight: 800; }
.msg--btns { align-self: stretch; max-width: none; display: flex; gap: 8px; padding: 0; background: none; box-shadow: none; }
.msg--btns span { flex: 1; text-align: center; padding: 9px; border-radius: 10px; background: rgba(255,255,255,.75); color: #2A7DC0; font-weight: 800; }
.msg--ok { background: var(--n); color: #fff; }

.term { flex: 1; border-radius: 16px; background: #0A1028; border: 1px solid rgba(255,255,255,.08); overflow: hidden; display: flex; flex-direction: column; }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: rgba(255,255,255,.04); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.term__bar i:nth-child(2) { background: #FEBC2E; }
.term__bar i:nth-child(3) { background: #28C840; }
.term__bar span { margin-left: 10px; font-family: var(--f-mono); font-size: .74rem; color: rgba(255,255,255,.4); }
.term__body { flex: 1; margin: 0; padding: 18px; font-family: var(--f-mono); font-size: .84rem; line-height: 1.75; color: #C9D1F0; white-space: pre-wrap; min-height: 250px; }
.term__body .c-y { color: var(--y); }
.term__body .c-g { color: #4ADE80; }
.term__body .c-m { color: rgba(201,209,240,.5); }
.term__body .caret { display: inline-block; width: 9px; height: 1.1em; background: var(--y); vertical-align: -3px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.funnel { display: flex; flex-direction: column; gap: 14px; }
.funnel__row { display: grid; grid-template-columns: 110px 1fr 46px; align-items: center; gap: 12px; font-weight: 700; font-size: .88rem; }
.funnel__row b { font-family: var(--f-mono); font-size: .82rem; text-align: right; }
.funnel__bar { height: 14px; border-radius: 10px; background: var(--bg-2); overflow: hidden; }
.funnel__bar i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--y), var(--y-2)); transform-origin: left; }
.funnel__row:last-child .funnel__bar i { background: var(--n); }

.sync { display: flex; flex-direction: column; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; font-family: var(--f-mono); font-size: .84rem; }
.sync__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 11px 16px; border-top: 1px solid var(--line); }
.sync__row:first-child { border-top: 0; background: var(--n); color: #fff; font-weight: 600; }
.sync__row .ok { color: #16A34A; font-weight: 600; }
.sync__row.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0% { background: var(--y); } 100% { background: transparent; } }

.devices { flex: 1; position: relative; display: flex; align-items: flex-end; justify-content: center; gap: 14px; min-height: 160px; }
.dev { position: relative; background: #fff; border: 3px solid var(--n); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 6px; }
.dev i { display: block; height: 8px; border-radius: 4px; background: var(--bg-2); }
.dev i:first-child { background: var(--y); width: 60%; height: 12px; }
.dev--laptop { width: 46%; aspect-ratio: 16 / 10; border-bottom-width: 10px; }
.dev--tablet { width: 24%; aspect-ratio: 3 / 4; }
.dev--phone { width: 14%; aspect-ratio: 9 / 18; border-radius: 10px; padding: 8px 6px; }

/* =========================================================
   PROCESS (navy)
   ========================================================= */
.process { position: relative; background: var(--n); color: #fff; padding: clamp(90px, 12vw, 170px) 0; overflow: hidden; overflow: clip; }
.process::before { content: ""; position: absolute; width: 60vw; height: 60vw; right: -20vw; top: -20vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,210,63,.18), transparent 65%); }
.process__grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.process__aside { position: sticky; top: calc(var(--header-h) + 50px); }
.process__p { margin-top: 26px; color: rgba(255,255,255,.65); font-size: 1.1rem; font-weight: 500; max-width: 420px; }
.steps { position: relative; display: flex; flex-direction: column; gap: clamp(50px, 7vw, 100px); padding: 20px 0; }
.steps__line { position: absolute; left: 31px; top: 30px; bottom: 30px; width: 3px; background: rgba(255,255,255,.12); border-radius: 3px; }
.steps__line span { position: absolute; inset: 0; background: var(--y); transform-origin: top; transform: scaleY(0); border-radius: 3px; box-shadow: 0 0 20px rgba(255,210,63,.7); }
.step { position: relative; display: grid; grid-template-columns: 66px 1fr; gap: 28px; align-items: start; opacity: .35; transition: opacity .6s var(--ease); }
.step.is-on { opacity: 1; }
.step__hex {
  display: grid; place-items: center; width: 66px; height: 60px;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--n-3); color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.05rem;
  transition: background .5s, color .5s, transform .6s var(--ease);
}
.step.is-on .step__hex { background: var(--y); color: var(--n); transform: rotate(360deg); }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.35rem, 2.2vw, 2rem); letter-spacing: -.03em; line-height: 1.15; margin: 10px 0 10px; }
.step p { color: rgba(255,255,255,.65); font-weight: 500; font-size: 1.05rem; max-width: 460px; }

/* =========================================================
   STACK honeycomb
   ========================================================= */
.stack { padding: clamp(90px, 12vw, 170px) 0 clamp(120px, 14vw, 200px); overflow: hidden; }
.honey {
  --cols: 8;
  display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 6px;
  max-width: 1040px; margin: 0 auto;
  padding: 0 calc(100% / var(--cols) / 3) 40px 0;
}
.hx {
  position: relative; width: 133.33%; aspect-ratio: 1 / .866;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  background: var(--bg-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
}
.hx:nth-child(even) { margin: 57.7% 0 -57.7%; }
.honey.is-ready .hx { transition: background .4s, color .4s, transform .5s var(--ease); }
.hx:hover { background: var(--y); transform: scale(1.08) rotate(-4deg); z-index: 2; }
.hx b { font-family: var(--f-display); font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 700; letter-spacing: -.03em; }
.hx span { font-size: clamp(.62rem, .9vw, .8rem); font-weight: 700; color: var(--muted); padding: 0 8px; line-height: 1.2; }
.hx--y { background: var(--y); }
.hx--y span { color: var(--n-2); }
.hx--n { background: var(--n); color: #fff; }
.hx--n b { color: var(--y); }
.hx--n span { color: rgba(255,255,255,.7); }
.hx--n:hover { background: var(--n-3); }
.hx--y:hover { background: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-2); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.acc { display: flex; flex-direction: column; gap: 12px; }
.acc__item { border-radius: var(--r); background: #fff; border: 1px solid var(--line); transition: background .4s, box-shadow .4s; overflow: hidden; }
.acc__item[open] { background: var(--y); border-color: transparent; box-shadow: 0 20px 40px -24px rgba(255,194,26,.9); }
.acc__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; cursor: pointer; font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.2rem); letter-spacing: -.02em; }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__item summary i { position: relative; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--n); transition: transform .5s var(--ease); }
.acc__item summary i::before, .acc__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: var(--y); border-radius: 2px; transition: transform .5s var(--ease); }
.acc__item summary i::after { transform: rotate(90deg); }
.acc__item[open] summary i { transform: rotate(180deg); }
.acc__item[open] summary i::after { transform: rotate(0); }
.acc__body { padding: 0 28px 26px; }
.acc__body p { font-weight: 500; color: var(--n-2); max-width: 640px; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; padding: clamp(90px, 12vw, 160px) 0; background: var(--y); overflow: hidden; }
.contact__bg { position: absolute; inset: 0; pointer-events: none; }
.contact__hexes { position: absolute; inset: 0; }
.contact__hexes i { position: absolute; display: block; width: var(--s); aspect-ratio: 1 / 1.12; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: rgba(255,255,255,.35); }
.contact__hexes i.n { background: rgba(17,25,54,.08); }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact__title { font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 5.6vw, 5.4rem); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 26px; }
.contact__p { font-size: 1.15rem; font-weight: 600; color: var(--n-2); margin-bottom: 36px; max-width: 460px; }
.contact__list { display: flex; flex-direction: column; gap: 14px; }
.contact__list li, .contact__list a { display: inline-flex; align-items: center; gap: 14px; font-weight: 800; font-size: 1.08rem; }
.contact__list a { transition: transform .3s var(--ease); }
.contact__list a:hover { transform: translateX(6px); }
.ci { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--n); color: var(--y); flex-shrink: 0; }
.ci svg { width: 20px; height: 20px; }

.form { position: relative; background: #fff; border-radius: var(--r-lg); padding: clamp(26px, 3.5vw, 46px); box-shadow: 0 50px 80px -40px rgba(17,25,54,.45); }
.form__label { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; margin-bottom: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pills label { cursor: pointer; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-block; padding: 10px 18px; border-radius: 100px; border: 1.5px solid var(--line); font-weight: 700; font-size: .92rem; transition: all .3s var(--ease); }
.pills label:hover span { border-color: var(--n); }
.pills input:checked + span { background: var(--n); color: var(--y); border-color: var(--n); }
.pills input:focus-visible + span { outline: 3px solid var(--y-2); outline-offset: 2px; }
.field { position: relative; margin-bottom: 18px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-weight: 600; color: var(--n);
  padding: 26px 18px 10px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg-2);
  transition: border-color .3s, background .3s; resize: vertical;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--n); background: #fff; }
.field label { position: absolute; left: 19px; top: 18px; color: var(--muted); font-weight: 600; pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { top: 8px; font-size: .74rem; letter-spacing: .04em; color: var(--n); }
.field.is-error input { border-color: #EF4444; background: #FEF2F2; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: #FEF2F2; color: #B91C1C; font-weight: 600; font-size: .88rem; text-align: center; }
.form.is-failed .form__err { display: block; }
.form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.form__note { margin-top: 14px; font-size: .78rem; color: var(--muted); text-align: center; }
.form__done { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 30px; background: #fff; border-radius: inherit; opacity: 0; pointer-events: none; transform: scale(.96); transition: all .6s var(--ease); }
.form.is-sent .form__done { opacity: 1; pointer-events: auto; transform: none; }
.form__done-ic { width: 90px; height: 90px; border-radius: 50%; background: var(--y); display: grid; place-items: center; margin-bottom: 10px; }
.form__done-ic svg { width: 44px; height: 44px; color: var(--n); }
.form__done h3 { font-family: var(--f-display); font-size: 1.6rem; }
.form__done p { color: var(--muted); font-weight: 600; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--n); color: #fff; padding: 70px 0 30px; overflow: hidden; }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 30px; font-weight: 700; }
.footer__nav a { opacity: .7; transition: opacity .3s, color .3s; }
.footer__nav a:hover { opacity: 1; color: var(--y); }
.footer__soc { display: flex; gap: 10px; }
.footer__soc a { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.2); transition: all .4s var(--ease); }
.footer__soc a:hover { background: var(--y); color: var(--n); border-color: var(--y); transform: rotate(-12deg); }
.footer__soc svg { width: 20px; height: 20px; }
.footer__giant { display: flex; justify-content: space-between; align-items: flex-end; font-family: var(--f-display); font-weight: 800; font-size: clamp(2.6rem, 13.2vw, 14rem); line-height: .9; letter-spacing: -.02em; padding: 40px 0 20px; overflow: hidden; }
.footer__giant span { display: inline-block; }
.footer__giant .sp { width: .2em; }
.footer__giant .y { color: var(--y); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .88rem; color: rgba(255,255,255,.55); font-weight: 600; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .nav a { padding: 9px 13px; }
  .bento {
    grid-template-columns: repeat(6, 1fr);
    grid-template-areas:
      "chat chat chat term term term"
      "chat chat chat term term term"
      "chat chat chat funnel funnel funnel"
      "sync sync sync dev dev dev";
  }
}

@media (max-width: 1023px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }

  .hero { padding-top: calc(var(--header-h) + 10px); padding-bottom: 100px; align-items: flex-start; }
  .hero__inner { grid-template-columns: 1fr; gap: 0; }
  .hero__visual { order: -1; height: 44vh; min-height: 300px; max-height: 460px; margin: 0 calc(var(--gutter) * -1); }
  .chip { font-size: .76rem; padding: 8px 13px; }
  .chip--1 { left: 4%; top: 8%; }
  .chip--2 { right: 3%; top: 16%; }
  .chip--3 { left: 5%; bottom: 10%; }
  .chip--4 { right: 6%; bottom: 4%; }
  .hero__title { margin-bottom: 22px; font-size: clamp(2rem, 8.8vw, 3.8rem); }
  .hero__lead { margin-bottom: 28px; }
  .hero__cta { margin-bottom: 36px; }
  .scroll-cue { display: none; }

  /* services become stacked sticky cards */
  .services__pin { height: auto; overflow: visible; padding: clamp(80px, 12vw, 120px) 0; display: block; }
  .services__progress { display: none; }
  .services__track { flex-direction: column; width: 100%; gap: 24px; }
  .srv-intro, .srv-outro { width: 100%; padding: 0; }
  .srv-intro { margin-bottom: 20px; }
  .srv-intro__hint { display: none; }
  .srv-outro { position: relative; z-index: 5; padding: 50px 0 10px; margin-top: 30px; align-items: flex-start; background: var(--bg-2); box-shadow: 0 -30px 30px 0 var(--bg-2); }
  .srv-card { position: sticky; top: calc(var(--header-h) + 16px); width: 100%; height: auto; min-height: 0; grid-template-columns: 1fr 1fr; }
  .srv-card:nth-of-type(2) { top: calc(var(--header-h) + 28px); }
  .srv-card:nth-of-type(3) { top: calc(var(--header-h) + 40px); }
  .srv-card:nth-of-type(4) { top: calc(var(--header-h) + 52px); }

  .nexus { height: 200vh; }
  .nexus__inner { grid-template-columns: 1fr; gap: 26px; }
  .nexus-map { max-width: 640px; margin: 0 auto; }

  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 50px 0; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .process__grid { grid-template-columns: 1fr; }
  .process__aside { position: relative; top: 0; }

  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .honey { --cols: 6; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .lang__btn { width: 38px; height: 32px; }
  .lang__pill { width: 38px; height: 32px; }
  .lang[data-active="uz"] .lang__pill { transform: translateX(38px); }
  .logo__mark { width: 40px; height: 33px; }
  .logo__word { font-size: 1.15rem; }

  .hero__visual { height: 40vh; min-height: 270px; }
  .hero__facts { gap: 14px 22px; }
  .hero__facts b { font-size: 1.2rem; }
  .hero__cta .btn { flex: 1 1 auto; }
  .btn { --bh: 56px; padding: 0 24px; }

  .marquee { padding: 24px 0; }
  .marquee__row { padding: 14px 0; }

  .srv-card { grid-template-columns: 1fr; border-radius: var(--r); }
  .srv-card__art { order: -1; height: 170px; margin: 10px 10px 0; border-radius: calc(var(--r) - 8px); }
  .draw-icon { width: auto; height: 76%; }
  .srv-card__n { font-size: 3rem; }
  .srv-card__title { margin: 16px 0 16px; }
  .srv-card__body { padding: 24px; }

  .nexus { height: 180vh; }
  .nexus__inner { padding-top: calc(var(--header-h) - 10px); }
  .nexus__title { margin-bottom: 16px; font-size: 1.9rem; }
  .nexus__p { font-size: .95rem; }
  .nm-node { font-size: .72rem; padding: 5px 10px 5px 5px; gap: 6px; }
  .nm-node__ic { width: 26px; height: 26px; font-size: .58rem; }
  .nm-node__ic svg { width: 13px; height: 13px; }

  .stats__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .stat, .stat:first-child, .stat:nth-child(3) { border: 0; padding: 0; }
  .stat p { font-size: .9rem; }

  .bento { grid-template-columns: 1fr; grid-template-areas: "chat" "term" "funnel" "sync" "dev"; }
  .tile { padding: 20px; border-radius: var(--r); }
  .phone { min-height: 440px; }
  .funnel__row { grid-template-columns: 96px 1fr 40px; font-size: .8rem; }
  .sync { font-size: .76rem; }
  .sync__row { padding: 10px 12px; }

  .step { grid-template-columns: 54px 1fr; gap: 18px; }
  .step__hex { width: 54px; height: 50px; font-size: .9rem; }
  .steps__line { left: 25px; }

  .honey { --cols: 4; gap: 4px; }
  .acc__item summary { padding: 20px; }
  .acc__body { padding: 0 20px 22px; }

  .progress-hex { right: 14px; bottom: 14px; width: 50px; height: 50px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .header__actions { gap: 8px; }
  .lang { display: none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .nexus { height: auto; }
  .nexus__sticky { position: relative; height: auto; padding: 120px 0; }
}
