/* ArtSign Studio - тёмно-синяя тема из знака, сигнатура «светящийся след обращений»:
   волна логотипа = линия обращений в кабинете. Один акцент (голубой знака), градиент только внутри логотипа. */

@property --intro { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --enter { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --stay  { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --exit  { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --open  { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --p     { syntax: "<number>"; inherits: true; initial-value: 0; }

:root {
  --bg: #0F1838;
  --bg-2: #121C44;
  --l1: #17224D;
  --l2: #1E2A5A;
  --line: rgba(188, 204, 255, .14);
  --line-2: rgba(188, 204, 255, .26);
  --text: #F4F2EC;
  --text-2: #D5DAEC;
  --mute: #9AA6CC;
  --ac: #5BC8F0;
  --ac-d: #3FB4E2;
  --ac-soft: rgba(91, 200, 240, .12);
  --vi: #5E6BF0;
  --wa: #25D366;
  --wa-d: #1FBF5B;
  --r-card: 16px;
  --r-btn: 8px;
  --hdr: 72px;
  --wrap: 1280px;
  --pad: 24px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --fd: "Inter Tight", "Segoe UI", system-ui, sans-serif;
  --fs: "Noto Serif Display", Georgia, serif;
  --hi: #fff;
  --ft: "Onest", "Segoe UI", system-ui, sans-serif;
  --glow: 0 0 10px rgba(91, 200, 240, .55), 0 0 28px rgba(91, 200, 240, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; background: var(--bg); color-scheme: dark; scroll-padding-top: var(--hdr); -webkit-tap-highlight-color: transparent; }
a, button, input, select, summary { touch-action: manipulation; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ac); color: #071A33; font-weight: 600; transition: top .2s; }
.skip:focus-visible { top: 12px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.5 var(--ft); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
svg { flex: 0 0 auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0; }
b, strong { font-weight: 600; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
::selection { background: rgba(91, 200, 240, .35); color: #fff; }

/* зерно - едва заметный фиксированный слой */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .8 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

.wrap { width: min(100% - var(--pad) * 2, var(--wrap)); margin-inline: auto; }
.sec { position: relative; padding: clamp(80px, 9vw, 130px) 0; scroll-margin-top: var(--hdr); overflow-x: clip; }
.sec + .sec { padding-top: 0; }
.sec .wrap { position: relative; z-index: 1; }

/* мягкий свет в цветах знака */
.light { position: absolute; pointer-events: none; border-radius: 50%; filter: blur(70px); z-index: 0; }
.light-vi { background: radial-gradient(closest-side, rgba(94, 107, 240, .34), transparent 70%); }
.light-cy { background: radial-gradient(closest-side, rgba(91, 200, 240, .22), transparent 70%); }

/* ---------- типографика ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 20px;
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ac);
}
.kicker svg { color: var(--ac); filter: drop-shadow(0 0 6px rgba(91, 200, 240, .6)); }
.h1 {
  margin: 0 0 24px; font-family: var(--fd); font-weight: 500; letter-spacing: -.035em; line-height: .98;
  font-size: clamp(42px, 6vw, 92px); text-wrap: balance;
}
.h1 > span { display: inline-block; white-space: nowrap; max-width: 100%; }
.h1 b { font-family: var(--fs); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.h2 {
  margin: 0; font-family: var(--fd); font-weight: 500; letter-spacing: -.03em; line-height: 1.02;
  font-size: clamp(32px, 4.6vw, 64px); text-wrap: balance;
}
.h2 b { font-weight: 600; }
.lead { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.5; color: var(--text-2); }
.head { margin-bottom: clamp(36px, 4.5vw, 60px); }
.head .lead { margin-top: 18px; }
.note { font-size: 14px; line-height: 1.5; color: var(--mute); }
.num, .big { font-family: var(--fd); font-weight: 300; font-variant-numeric: tabular-nums; letter-spacing: -.05em; }
html[lang="kk"] .h1 { font-size: clamp(38px, 5.4vw, 84px); }
html[lang="kk"] .h2 { font-size: clamp(28px, 4.1vw, 56px); }

/* ---------- кнопки: одна форма на весь сайт ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: var(--r-btn); border: 1px solid transparent;
  font-family: var(--ft); font-weight: 500; font-size: 15px; white-space: nowrap; cursor: pointer;
  position: relative; isolation: isolate; overflow: hidden;
  transition: transform .2s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; transition: transform .3s var(--ease); }
.btn:hover svg:last-child:not(:first-child) { transform: translateX(4px); }
.btn:active { transform: scale(.975); }
.btn-ac { background: var(--ac); color: #071A33; box-shadow: 0 0 0 0 rgba(91, 200, 240, 0); }
.btn-ac::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .5) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn-ac:hover { background: #7AD4F4; box-shadow: 0 10px 30px -12px rgba(91, 200, 240, .7); }
.btn-ac:hover::after { transform: translateX(120%); }
.btn-ghost { background: rgba(255, 255, 255, .03); color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .07); }
.btn-wa { background: var(--wa); color: #06331A; }
.btn-wa:hover { background: var(--wa-d); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 14px; }
.btn-full { width: 100%; }
.ic-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 50%; background: rgba(255, 255, 255, .03); border: 1px solid var(--line-2); transition: border-color .25s, background .25s;
}
.ic-btn:hover { border-color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .07); }
.link-arr {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: #fff;
  position: relative; padding: 9px 16px 9px 18px; border-radius: 999px;
  background: rgba(15, 24, 56, .72); border: 1px solid var(--line-2); backdrop-filter: blur(8px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.link-arr::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--ac); box-shadow: var(--glow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.link-arr::after { display: none; }
.link-arr:hover { border-color: var(--ac); background: rgba(91, 200, 240, .1); }
.link-arr svg { color: var(--ac); }
.link-arr svg { transition: transform .25s var(--ease); }
.link-arr:hover svg { transform: translateX(4px); }

/* обводка-прожектор по курсору */
.spot { position: relative; border: 1px solid var(--line); border-radius: var(--r-card); background: rgba(23, 34, 77, .55); }
.spot::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 200, 240, .55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
  transition: opacity .35s;
}
.spot::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(91, 200, 240, .08), transparent 55%);
  transition: opacity .35s;
}
.spot:hover::before, .spot:hover::after { opacity: 1; }

/* ---------- шапка ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr);
  background: linear-gradient(180deg, rgba(10, 16, 42, .94) 0%, rgba(13, 21, 50, .82) 100%); border-bottom: 1px solid rgba(188, 204, 255, .07);
  transition: background .35s, border-color .35s;
}
.hdr.is-scrolled { background: rgba(15, 24, 56, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: var(--line); }
body.menu-open .hdr { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); transition: none; }
.hdr-in {
  width: min(100% - var(--pad) * 2, 1400px); margin-inline: auto; height: 100%;
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; position: relative; z-index: 2; }
.brand-mark { filter: drop-shadow(0 6px 16px rgba(94, 107, 240, .45)); }
.brand-wm { display: inline-block; font-family: var(--ft); font-weight: 700; font-size: 22px; letter-spacing: -.025em; line-height: 1.1; color: var(--hi); }
/* хвост «g» не обрезается: у градиентного слова запас снизу */
.brand-wm b { display: inline-block; padding: 0 .04em .14em 0; margin-bottom: -.14em; background: linear-gradient(120deg, #5E6BF0 0%, #4396EF 55%, #40C4E8 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.brand-wm small { display: block; margin: 4px -.5em 0 1px; font-family: var(--ft); font-size: 12px; font-weight: 500; line-height: 1; letter-spacing: .5em; text-transform: uppercase; color: var(--mute); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { padding: 8px 12px; font-weight: 500; font-size: 14.5px; color: var(--text-2); white-space: nowrap; position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--hi); }
.nav a:hover::after { transform: scaleX(1); }
.hdr-right { display: flex; align-items: center; gap: 10px; margin-left: auto; position: relative; z-index: 2; }
.lang { display: flex; gap: 0; background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 3px; }
.lang button {
  border: 0; background: transparent; border-radius: 7px; cursor: pointer;
  padding: 6px 11px; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: rgba(255, 255, 255, .78); transition: background .25s, color .25s;
}
.lang button:hover { color: var(--hi); }
.lang button.is-active { background: #fff; color: var(--bg); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.lang button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.hdr-tel { gap: 8px; }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); border-radius: 50%;
  position: relative; cursor: pointer; flex: 0 0 auto;
}
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- меню ---------- */
.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg); padding: calc(var(--hdr) + 24px) var(--pad) 32px;
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .3s;
  overflow: auto; overscroll-behavior: contain;
}
.menu::before { content: ""; position: absolute; left: -10%; top: 20%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 107, 240, .28), transparent 70%); filter: blur(60px); pointer-events: none; }
.menu.is-open { opacity: 1; }
.menu-nav { display: flex; flex-direction: column; gap: 4px; position: relative; }
.menu-nav a { font-family: var(--fd); font-weight: 500; font-size: clamp(28px, 7vw, 40px); letter-spacing: -.02em; padding: 8px 0; border-bottom: 1px solid var(--line); transform: translateY(14px); opacity: 0; transition: transform .45s var(--ease), opacity .45s; }
.menu.is-open .menu-nav a { transform: none; opacity: 1; }
.menu-nav a:nth-child(2) { transition-delay: .04s; } .menu-nav a:nth-child(3) { transition-delay: .08s; } .menu-nav a:nth-child(4) { transition-delay: .12s; }
.menu-nav a:nth-child(5) { transition-delay: .16s; } .menu-nav a:nth-child(6) { transition-delay: .2s; } .menu-nav a:nth-child(7) { transition-delay: .24s; } .menu-nav a:nth-child(8) { transition-delay: .28s; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; position: relative; }
.menu-foot .btn { flex: 1 1 auto; }

/* ---------- плиты ---------- */
.pw { position: relative; height: 100svh; z-index: 1; }
.pw-hero { height: 175svh; }
/* настоящая стопка: плита держится, пока следующая наезжает поверх */
.pw.stack { height: 250svh; margin-bottom: -100svh; }
.pw-hero.stack { height: 275svh; }
.plate {
  position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--bg);
  transform: scale(calc(1 - .07 * var(--exit))); transform-origin: 50% 40%;
  border-radius: calc(32px * (1 - var(--enter))) calc(32px * (1 - var(--enter))) 0 0;
}
.plate::after {
  content: ""; position: absolute; inset: 0; background: #070C20; opacity: calc(.78 * var(--exit)); pointer-events: none; z-index: 20;
}
.pw.gone .plate { visibility: hidden; }
.case { box-shadow: 0 -40px 80px -30px rgba(0, 0, 0, .7); }
.case::before {
  content: ""; position: absolute; left: 6%; right: 6%; top: 0; height: 1px; z-index: 21; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(91, 200, 240, .8), transparent); opacity: calc(1 - var(--enter) * .85);
}
.pw:first-of-type .plate { border-radius: 0; }

/* ---------- герой: стена сайтов ---------- */
.hero { --intro: 0; }
.hero-light { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.hero-light .light { opacity: calc(.4 + .6 * var(--intro)); }
.wall-wrap {
  position: absolute; inset: -12% -14% -12% 24%; z-index: 0; perspective: 1500px; pointer-events: none;
}
.wall {
  position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  transform: rotateX(16deg) rotateY(-14deg) rotateZ(6deg) translateZ(calc(-60px + var(--stay) * -220px)) scale(1.06);
  transform-style: preserve-3d; will-change: transform;
}
.wcol { position: relative; overflow: visible; transform: translateY(calc((1 - var(--intro)) * 160px + var(--stay) * var(--dir) * -260px)); opacity: clamp(0, calc((var(--intro) - var(--dl)) * 2.6), 1); transition: none; }
.wcol:nth-child(1) { --dir: 1; --dl: 0; margin-top: -180px; }
.wcol:nth-child(2) { --dir: -1; --dl: .12; margin-top: 60px; }
.wcol:nth-child(3) { --dir: 1; --dl: .24; margin-top: -320px; }
.wcol:nth-child(4) { --dir: -1; --dl: .36; margin-top: -40px; }
.wtrack { display: flex; flex-direction: column; gap: 22px; animation: wall-roll var(--dur, 90s) linear infinite; will-change: transform; }
.wcol:nth-child(even) .wtrack { animation-direction: reverse; }
.wcol:nth-child(1) .wtrack { --dur: 96s; } .wcol:nth-child(2) .wtrack { --dur: 118s; } .wcol:nth-child(3) .wtrack { --dur: 104s; } .wcol:nth-child(4) .wtrack { --dur: 126s; }
@keyframes wall-roll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wtile {
  flex: 0 0 auto; border-radius: 10px; overflow: hidden; border: 1px solid rgba(188, 204, 255, .18);
  background: var(--l1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(0, 0, 0, .3);
}
.wtile img { width: 100%; height: auto; display: block; }
.wtile.m { width: 62%; margin-left: 19%; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 30%, rgba(15, 24, 56, .9) 44%, rgba(15, 24, 56, .55) 56%, rgba(15, 24, 56, .14) 70%, rgba(15, 24, 56, 0) 84%),
    linear-gradient(180deg, rgba(15, 24, 56, .55) 0%, rgba(15, 24, 56, 0) 22%, rgba(15, 24, 56, 0) 68%, var(--bg) 100%);
}
.hero-in { position: relative; z-index: 3; height: 100%; display: flex; align-items: center; padding-top: var(--hdr); }
.hero-txt { max-width: 640px; }
.hero-txt > * { transform: translateY(calc((1 - var(--intro)) * 34px)); opacity: var(--intro); }
.hero-txt > *:nth-child(2) { transition: none; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ig-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); transition: color .2s; }
.ig-link:hover { color: var(--hi); }
.ig-link svg:last-child { transition: transform .25s var(--ease); }
.ig-link:hover svg:last-child { transform: translateX(4px); }
/* след обращений под текстом: прочерчивается на интро, уходит по скроллу */

/* ---------- кейсы: плиты ---------- */
.case { background: linear-gradient(180deg, #16214D 0%, var(--bg) 46%); }
.case .light { opacity: calc(.5 + .5 * var(--open)); }
.case-in { position: relative; z-index: 3; height: 100%; display: grid; grid-template-columns: 1.3fr .8fr; gap: 40px; align-items: start; padding-top: calc(var(--hdr) + 28px); padding-bottom: 36%; }
.case-txt { }
.txt > * { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .8s var(--ease); }
.txt.on > * { opacity: 1; transform: none; }
.txt.on > :nth-child(2) { transition-delay: .08s; } .txt.on > :nth-child(3) { transition-delay: .16s; } .txt.on > :nth-child(4) { transition-delay: .24s; } .txt.on > :nth-child(5) { transition-delay: .32s; } .txt.on > :nth-child(6) { transition-delay: .4s; }
.case-num { margin: 0 0 10px; display: flex; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.case-num .num { font-size: clamp(88px, 15vw, 236px); line-height: .82; color: var(--hi); text-shadow: 0 0 40px rgba(91, 200, 240, .25); }
.case-num small { display: block; font-family: var(--fd); font-weight: 500; font-size: clamp(18px, 1.9vw, 28px); line-height: 1.12; letter-spacing: -.01em; color: var(--text-2); max-width: 260px; padding-bottom: 8px; }
.case-num small em { display: block; margin-top: 8px; font-family: var(--ft); font-style: normal; font-weight: 500; font-size: 13px; letter-spacing: .08em; color: var(--ac); }
.live { display: flex; gap: 10px; align-items: flex-start; max-width: 540px; margin: 0 0 18px; padding: 10px 14px; border: 1px solid rgba(91, 200, 240, .24); border-radius: 10px; background: rgba(91, 200, 240, .06); font-size: 14px; line-height: 1.4; color: var(--text-2); }
.live i { flex: 0 0 auto; width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--ac); animation: live 2s ease-out infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(91, 200, 240, .7); } 100% { box-shadow: 0 0 0 9px rgba(91, 200, 240, 0); } }
.case-h { font-family: var(--fd); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin: 6px 0 14px; color: var(--hi); }
.facts-row { display: flex; flex-wrap: wrap; margin: 16px 0 18px; border-top: 1px solid var(--line); }
.facts-row li { padding: 12px 22px 0 0; margin-right: 22px; font-size: 14.5px; color: var(--text-2); position: relative; }
.facts-row li + li::before { content: ""; position: absolute; left: -22px; top: 14px; bottom: 2px; width: 1px; background: var(--line-2); }
.facts-row li b { display: block; font-family: var(--fd); font-weight: 500; font-size: 24px; letter-spacing: -.02em; color: var(--hi); font-variant-numeric: tabular-nums; }
.case-p { color: var(--text-2); margin-bottom: 18px; max-width: 520px; }
/* доказательство из кабинета */
.proof { justify-self: end; width: min(100%, 420px); margin: 8px 0 0; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(23, 34, 77, .6); backdrop-filter: blur(6px); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.proof-grid img { width: 100%; height: auto; aspect-ratio: 360 / 188; object-fit: cover; object-position: left center; border-radius: 8px; border: 1px solid rgba(188, 204, 255, .16); }
.proof figcaption { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--mute); display: flex; gap: 8px; align-items: flex-start; }
.proof figcaption::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); box-shadow: var(--glow); margin-top: 5px; flex: 0 0 auto; }
/* график обращений - на всю ширину плиты */
.chart { position: absolute; left: 0; right: 0; bottom: 0; top: var(--ch-top, 58%); z-index: 2; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 18%); mask-image: linear-gradient(180deg, transparent 0, #000 18%); }
.chart svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(-20px calc((1 - var(--open)) * 100%) -20px 0); }
.chart .area { fill: url(#g-area); opacity: calc(var(--open) * .9); }
.chart .ln { fill: none; stroke: var(--ac); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; filter: drop-shadow(0 0 7px rgba(91, 200, 240, .75)); vector-effect: non-scaling-stroke; }
.chart .ln2 { fill: none; stroke: rgba(255, 255, 255, .26); stroke-width: 1.2; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chart .grid line { stroke: rgba(188, 204, 255, .055); stroke-width: 1; vector-effect: non-scaling-stroke; }
.chart .ch-dot { position: absolute; right: 0; width: 10px; height: 10px; margin: -5px 0 0 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(91, 200, 240, .25), var(--glow); opacity: clamp(0, calc((var(--open) - .92) * 12), 1); }
.chart-meta { position: absolute; left: var(--pad); right: var(--pad); bottom: 14px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); z-index: 3; }
.chart-meta i { font-style: normal; display: inline-flex; align-items: center; gap: 8px; }
.chart-meta i::before { content: ""; width: 18px; height: 2px; background: var(--ac); box-shadow: var(--glow); }

/* ---------- доверие: крупно только цифры ---------- */
.trust { padding-top: clamp(64px, 7vw, 110px); }
.trust-in { display: grid; grid-template-columns: auto auto 1fr; gap: 28px clamp(36px, 5.5vw, 96px); align-items: end; }
.tnum b { display: block; font-family: var(--fd); font-weight: 300; font-size: clamp(72px, 8.6vw, 136px); line-height: .82; letter-spacing: -.055em; color: var(--hi); font-variant-numeric: tabular-nums; }
.tnum span { display: block; margin-top: 14px; color: var(--mute); font-size: 15px; }
.tguar { display: grid; gap: 12px; justify-self: end; width: min(100%, 440px); }
.tguar li { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 34, 77, .45); transition: border-color .3s, background .3s; }
.tguar li:hover { border-color: rgba(91, 200, 240, .4); background: rgba(23, 34, 77, .7); }
.tg-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ac); border: 1px solid rgba(91, 200, 240, .35); background: var(--ac-soft); }
.tguar b { display: block; font-family: var(--fd); font-weight: 500; font-size: 17px; letter-spacing: -.01em; color: var(--hi); line-height: 1.25; }
.tguar div span { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.marq { margin-top: clamp(44px, 5vw, 72px); overflow: hidden; border-block: 1px solid var(--line); padding: 18px 0; -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marq-track { display: flex; gap: 56px; width: max-content; animation: marq var(--marq-d, 40s) linear infinite; }
.marq-track span { flex: 0 0 auto; font-family: var(--fd); font-weight: 500; font-size: 22px; letter-spacing: -.01em; color: var(--text-2); white-space: nowrap; }
@keyframes marq { to { transform: translateX(calc(var(--marq-w) * -1px)); } }

/* ---------- работы ---------- */
.works { overflow: visible; }
.works-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
/* стрелки ленты - по бокам, по центру кадра */
.lane-btn {
  position: absolute; z-index: 4; top: calc(6px + min(84vw, 940px) * .3125); transform: translateY(-50%);
  width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; color: #0F1838;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 18px 40px -16px rgba(15, 24, 56, .55), inset 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .25s var(--ease), opacity .3s, background .25s, color .25s, box-shadow .25s;
}
.lane-prev { left: calc(max(var(--pad), (100% - var(--wrap)) / 2) - 32px); }
.lane-next { right: calc(max(var(--pad), (100% - var(--wrap)) / 2) - 32px); }
.lane-btn svg { transition: transform .25s var(--ease); }
.lane-prev svg { transform: scaleX(-1); }
.lane-btn:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }
@media (hover: hover) {
  .lane-btn:hover:not(:disabled) { background: #0F1838; color: #fff; box-shadow: 0 22px 46px -16px rgba(15, 24, 56, .7), 0 0 0 6px rgba(91, 200, 240, .18); }
  .lane-next:hover:not(:disabled) svg { transform: translateX(3px); }
  .lane-prev:hover:not(:disabled) svg { transform: scaleX(-1) translateX(3px); }
}
.lane-btn:active:not(:disabled) { transform: translateY(-50%) scale(.94); }
.lane-btn:disabled { opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.8); }
.lane-btn[hidden] { display: none; }
.filt { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 26px 0 28px; }
.filt button { background: none; border: 0; padding: 6px 0; font-size: 14.5px; color: var(--mute); cursor: pointer; position: relative; transition: color .2s; }
.filt button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ac); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.filt button:hover { color: var(--hi); }
.filt button.is-active { color: var(--hi); }
.filt button.is-active::after { transform: scaleX(1); box-shadow: var(--glow); }
.lane {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px 0 20px; padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2));
  scroll-padding-inline: max(var(--pad), calc((100% - var(--wrap)) / 2));
}
.lane-out { position: relative; z-index: 1; }
.lane::-webkit-scrollbar { display: none; }
.work { flex: 0 0 min(84vw, 940px); scroll-snap-align: start; display: block; position: relative; }
.work.is-hidden { display: none; }
.work-shot { position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--l1); }
.work-shot > img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .6s; }
.work:hover .work-shot > img { transform: scale(1.04); }
.work-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 24, 56, .55)); opacity: 0; transition: opacity .5s; }
.work:hover .work-shot::after { opacity: 1; }
.work-phone {
  position: absolute; right: 6%; bottom: -8%; width: 24%; min-width: 150px; max-width: 230px; border-radius: 22px; border: 1px solid rgba(188, 204, 255, .3);
  background: #0B1230; padding: 8px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9);
  transform: translateY(40px) rotate(-3deg); opacity: 0; transition: transform .7s var(--ease), opacity .5s; z-index: 2;
}
.work-phone img { width: 100%; height: auto; border-radius: 15px; }
.work:hover .work-phone { transform: translateY(0) rotate(-3deg); opacity: 1; }
.work-cap { display: flex; align-items: baseline; gap: 16px; padding: 16px 4px 0; }
.work-cap b { font-family: var(--fd); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--hi); }
.work-cap span { color: var(--mute); font-size: 15px; }
.work-cap .open { margin-left: auto; color: var(--ac); font-size: 14px; display: inline-flex; align-items: center; gap: 6px; opacity: .86; transition: opacity .3s; white-space: nowrap; }
.work:hover .work-cap .open { opacity: 1; }
.works-foot { display: flex; align-items: center; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.nick { color: var(--mute); font-size: 14px; }

/* ---------- ещё кейсы ---------- */
.cpl { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-bottom: clamp(40px, 5vw, 64px); }
.cpl li { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; align-items: baseline; justify-content: space-between; gap: 14px; transition: background .3s; }
.cpl li:hover { background: rgba(91, 200, 240, .05); }
.cpl b { font-family: var(--fd); font-weight: 300; font-size: clamp(30px, 3vw, 44px); letter-spacing: -.04em; color: var(--hi); font-variant-numeric: tabular-nums; }
.cpl span { color: var(--mute); font-size: 14.5px; text-align: right; }
.dcases { display: grid; grid-template-columns: 1.5fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.dcase { display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease); }
.dcase:first-child { grid-row: 1 / 3; }
.dcase img { width: 100%; height: 100%; object-fit: cover; object-position: top; aspect-ratio: 16 / 10; flex: 1 1 auto; border-bottom: 1px solid var(--line); transition: transform 1.2s var(--ease); }
.dcase:not(:first-child) img { aspect-ratio: 16 / 7; }
.dcase:hover img { transform: scale(1.03); }
.dcase-b { padding: 20px 22px 22px; position: relative; z-index: 1; }
.dcase-b b { display: block; font-family: var(--fd); font-weight: 500; font-size: 22px; color: var(--hi); letter-spacing: -.02em; }
.dcase-b span { display: block; color: var(--mute); font-size: 14px; margin: 2px 0 10px; }
.dcase-b p { color: var(--text-2); font-size: 15px; }

/* ---------- путь клика: живая сцена ---------- */
.scene { position: relative; --p: 0; }
.scene-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.sc-ghost { fill: none; stroke: rgba(188, 204, 255, .2); stroke-width: 1.2; stroke-dasharray: 2 7; stroke-linecap: round; }
.sc-line { fill: none; stroke: var(--ac); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 7px rgba(91, 200, 240, .85)); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); }
.sc-head { fill: #fff; filter: drop-shadow(0 0 6px rgba(91, 200, 240, 1)) drop-shadow(0 0 16px rgba(91, 200, 240, .8)); opacity: clamp(0, calc(var(--p) * 20), 1); }
.nodes { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.node { --k: 0; --dt: 18px; position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-top: 128px; }
.node:nth-child(even) { --dt: 82px; }
.node::before { content: ""; position: absolute; left: 50%; top: calc(var(--dt) + 22px); height: calc(128px - var(--dt) - 22px); border-left: 1px dashed rgba(188, 204, 255, .28); transition: border-color .5s; }
.node.lit::before { border-left-color: rgba(91, 200, 240, .7); }
.ui {
  position: relative; width: 100%; height: 150px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: rgba(23, 34, 77, .72);
  opacity: .32; transform: translateY(16px) scale(.97); filter: saturate(.3);
  transition: opacity .6s var(--ease), transform .7s var(--ease), border-color .5s, box-shadow .6s, filter .6s;
}
.node.lit .ui { opacity: 1; transform: none; filter: none; border-color: rgba(91, 200, 240, .42); box-shadow: 0 26px 60px -30px rgba(91, 200, 240, .55); }
.dot { position: absolute; z-index: 2; left: 50%; top: var(--dt); width: 15px; height: 15px; margin-left: -7.5px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s, transform .4s var(--ease); }
.node.lit .dot { transform: scale(1.2); }
.node > .ui { margin-bottom: 20px; }
.node.lit .dot { background: var(--ac); border-color: var(--ac); box-shadow: var(--glow); }
.node > b { font-family: var(--fd); font-weight: 500; font-size: 19px; line-height: 1.2; letter-spacing: -.01em; color: var(--hi); margin-bottom: 6px; opacity: .5; transition: opacity .5s; }
.node > span { color: var(--mute); font-size: 14.5px; line-height: 1.45; }
.node.lit > b { opacity: 1; }
/* узел 1: строка поиска печатается */
.ui-search { display: flex; align-items: center; gap: 8px; padding: 0 22px; color: var(--mute); }
.ui-search::before { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 54px; transform: translateY(-50%); border-radius: 27px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .045); }
.ui-search svg { position: relative; color: var(--ac); }
.ui-search .type { position: relative; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 13.5px; color: var(--hi); clip-path: inset(0 calc((1 - var(--k)) * 100%) 0 0); }
.ui-search .caret { position: relative; flex: 0 0 auto; width: 1.5px; height: 18px; margin-left: -8px; background: var(--ac); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
/* узел 2: объявление */
.ui-ad { padding: 20px 20px 0; }
.ad-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; }
.ad-top em { font-style: normal; font-weight: 700; font-size: 11.5px; color: var(--hi); }
.ad-t { margin: 9px 0 6px; font-size: 16.5px; line-height: 1.25; color: #A8C7FA; font-weight: 500; }
.ad-d { font-size: 13px; color: var(--mute); line-height: 1.4; }
.node.lit .ui-ad .ad-t { text-decoration: underline; text-decoration-color: rgba(168, 199, 250, .5); text-underline-offset: 3px; }
/* узел 3: сайт в телефоне прокручивается */
.ui-site { display: flex; justify-content: center; align-items: flex-start; padding-top: 14px; background: radial-gradient(90% 80% at 50% 0%, rgba(94, 107, 240, .25), transparent 70%), rgba(23, 34, 77, .72); }
.ui-phone { width: 98px; height: 170px; border-radius: 16px; padding: 4px; background: #0A1130; border: 1px solid rgba(188, 204, 255, .3); overflow: hidden; }
.ui-phone img { width: 100%; height: auto; border-radius: 12px; transition: transform 2.6s var(--ease) .3s; }
.node.lit .ui-phone img { transform: translateY(-34%); }
/* узел 4: WhatsApp */
.ui-wa { padding: 14px; background: linear-gradient(180deg, rgba(6, 51, 26, .35), rgba(23, 34, 77, .72) 60%); }
.wa-h { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #7FE3A8; margin-bottom: 12px; }
.wa-h svg { color: var(--wa); }
.wa-b { position: relative; margin-left: auto; max-width: 92%; padding: 10px 12px 22px; border-radius: 12px 12px 4px 12px; background: #005C4B; color: #fff; font-size: 13.5px; line-height: 1.35; transform: translateY(10px) scale(.94); transform-origin: bottom right; opacity: 0; transition: transform .5s var(--ease) .1s, opacity .4s .1s; }
.node.lit .wa-b { transform: none; opacity: 1; }
.wa-b em { font-style: normal; font-weight: 700; color: #9CF0C3; }
.wa-b i { position: absolute; right: 10px; bottom: 5px; font-style: normal; font-size: 10.5px; color: rgba(255, 255, 255, .7); }
/* узел 5: уведомление бота */
.ui-bot { display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.ui-bot svg { flex: 0 0 auto; }
.ui-bot p { min-width: 0; }
.ui-bot b { display: block; font-size: 15px; color: var(--hi); }
.ui-bot span { display: block; font-size: 12.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ui-bot::after { content: ""; position: absolute; left: 18px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 9px; box-shadow: 0 0 0 0 rgba(91, 200, 240, .7); }
.node.lit .ui-bot::after { animation: ping 1.8s var(--ease) .3s 2; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(91, 200, 240, .7); } 100% { box-shadow: 0 0 0 22px rgba(91, 200, 240, 0); } }

/* ---------- что входит: карточки с визуалом ---------- */
.pk-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pk { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; transition: transform .5s var(--ease), border-color .4s, opacity .8s var(--ease); }
.pk:hover { transform: translateY(-4px); border-color: var(--line-2); }
.pk-vis { position: relative; height: 220px; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(110% 90% at 20% 0%, rgba(94, 107, 240, .22), transparent 62%), rgba(15, 24, 56, .5); }
.pk-b { padding: 26px 28px 30px; position: relative; z-index: 1; }
.pk-t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); margin-bottom: 10px; }
.pk h3 { margin: 0 0 18px; font-family: var(--fd); font-weight: 500; font-size: clamp(24px, 2.2vw, 31px); line-height: 1.1; letter-spacing: -.02em; color: var(--hi); }
.bul { display: grid; gap: 9px; }
.bul li { position: relative; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.45; }
.bul li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 1px; background: var(--ac); }
/* визуал 1: ключи и минус-слова */
.pv-keys { display: flex; flex-wrap: wrap; align-content: center; gap: 9px; padding: 26px; }
.kw { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; white-space: nowrap; border: 1px solid; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.kw::before { font-weight: 700; }
.kw-p { color: var(--hi); border-color: rgba(91, 200, 240, .45); background: rgba(91, 200, 240, .09); }
.kw-p::before { content: "+"; color: var(--ac); }
.kw-m { color: var(--mute); border-color: var(--line); text-decoration: line-through; text-decoration-color: rgba(255, 154, 138, .7); }
.kw-m::before { content: "\2212"; color: #FF9A8A; }
.pk.in .kw { opacity: 1; transform: none; }
.pk.in .kw:nth-child(2) { transition-delay: .08s; } .pk.in .kw:nth-child(3) { transition-delay: .16s; } .pk.in .kw:nth-child(4) { transition-delay: .24s; } .pk.in .kw:nth-child(5) { transition-delay: .32s; } .pk.in .kw:nth-child(6) { transition-delay: .4s; }
.pk:hover .kw-p { border-color: var(--ac); }
/* визуал 2: сайт на ноутбуке и телефоне */
.pv-desk { position: absolute; left: 7%; top: 26px; width: 72%; aspect-ratio: 16 / 10; border-radius: 9px; overflow: hidden; border: 1px solid rgba(188, 204, 255, .22); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9); }
.pv-desk img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease); }
.pv-phone { position: absolute; right: 8%; top: 54px; width: 25%; aspect-ratio: 9 / 18; border-radius: 14px; padding: 4px; background: #0A1130; border: 1px solid rgba(188, 204, 255, .32); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .95); transform: translateY(30px); transition: transform .9s var(--ease); }
.pv-phone > div { width: 100%; height: 100%; border-radius: 10px; overflow: hidden; }
.pv-phone img { width: 100%; height: auto; transition: transform 3s var(--ease); }
.pk.in .pv-phone { transform: none; }
.pk:hover .pv-phone img { transform: translateY(-48%); }
.pk:hover .pv-desk img { transform: scale(1.05); }
/* визуал 3: цена обращения по неделям снижается */
.pv-bars { padding: 22px 28px 0; }
.pv-cap { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.bars { position: absolute; left: 28px; right: 28px; bottom: 0; height: 132px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: end; }
.bars i { height: calc(var(--h) * 100%); border-radius: 7px 7px 0 0; background: linear-gradient(180deg, rgba(91, 200, 240, .5), rgba(91, 200, 240, .06)); border: 1px solid rgba(91, 200, 240, .3); border-bottom: 0; transform: scaleY(0); transform-origin: bottom; transition: transform .9s var(--ease); }
.bars i:last-child { background: linear-gradient(180deg, rgba(91, 200, 240, .85), rgba(91, 200, 240, .12)); box-shadow: 0 0 30px rgba(91, 200, 240, .25); }
.pk.in .bars i { transform: none; }
.pk.in .bars i:nth-child(2) { transition-delay: .1s; } .pk.in .bars i:nth-child(3) { transition-delay: .2s; } .pk.in .bars i:nth-child(4) { transition-delay: .3s; }
.bars-ln { position: absolute; left: 28px; right: 28px; bottom: 0; height: 132px; width: calc(100% - 56px); overflow: visible; }
.bars-ln { clip-path: inset(-20px 100% -20px -20px); transition: clip-path 1.4s var(--ease) .5s; }
.bars-ln path { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(91, 200, 240, .9)); }
.pk.in .bars-ln { clip-path: inset(-20px -20px -20px -20px); }

/* ---------- бот: телефон с уведомлениями ---------- */
.bot { overflow: clip; }
.bot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.bot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.bot-tags li { padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; color: var(--text-2); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 16px; border: 1px solid rgba(91, 200, 240, .35); border-radius: var(--r-btn); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--hi); background: var(--ac-soft); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ac); box-shadow: var(--glow); }
.tg {
  position: relative; z-index: 1; justify-self: center; width: min(100%, 430px); padding: 12px;
  border-radius: 34px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #152050, #0C1433);
  box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .85), 0 0 0 8px rgba(255, 255, 255, .02), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.tg-h { display: flex; align-items: center; gap: 12px; padding: 10px 14px 14px; border-bottom: 1px solid var(--line); }
.tg-h b { display: block; font-size: 15.5px; color: var(--hi); }
.tg-h span { display: block; font-size: 12.5px; color: var(--ac); }
.tg-feed { display: flex; flex-direction: column; gap: 10px; padding: 14px 4px 4px; min-height: 492px; }
.msg {
  position: relative; padding: 13px 16px 14px; border-radius: 16px 16px 16px 5px; max-width: 94%;
  background: rgba(32, 45, 96, .82); border: 1px solid var(--line);
  opacity: 0; transform: translateY(28px) scale(.95); transform-origin: left bottom;
  transition: opacity .5s var(--ease), transform .6s cubic-bezier(.2, 1.3, .4, 1), border-color .6s;
}
.msg.on { opacity: 1; transform: none; animation: arrive 1.6s var(--ease); }
@keyframes arrive { 0% { border-color: rgba(91, 200, 240, .9); box-shadow: 0 0 0 0 rgba(91, 200, 240, .5); } 100% { border-color: var(--line); box-shadow: 0 0 0 14px rgba(91, 200, 240, 0); } }
.msg-sum { max-width: 100%; border-radius: 16px; background: rgba(91, 200, 240, .08); border-color: rgba(91, 200, 240, .25); }
.msg-h { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.msg-h b { font-size: 14.5px; color: var(--hi); }
.msg-h time { margin-left: auto; font-size: 12px; color: var(--mute); }
.ch { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.ch-wa { background: var(--wa); color: #06331A; }
.ch-tel { background: var(--ac); color: #071A33; }
.ch-form { background: var(--vi); color: #fff; }
.ch-sum { background: rgba(255, 255, 255, .12); color: var(--hi); }
.msg p { font-size: 13.5px; line-height: 1.5; color: var(--text-2); padding-right: 52px; }
.msg em { position: absolute; right: 14px; bottom: 12px; font-style: normal; font-family: var(--fd); font-weight: 600; font-size: 12.5px; color: var(--ac); letter-spacing: .06em; }
.msg-stat { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 12px; margin-top: 4px; }
.msg-stat b { display: block; font-family: var(--fd); font-weight: 300; font-size: 34px; letter-spacing: -.04em; color: var(--hi); line-height: 1; }
.msg-stat span { font-size: 12px; color: var(--mute); }
.chat-note { font-size: 12.5px; color: var(--mute); text-align: center; padding: 10px 0 4px; }

/* ---------- калькулятор: прибор ---------- */
.calc-box { display: grid; grid-template-columns: .95fr 1.3fr; overflow: hidden; border-radius: 22px; }
.calc-ctl { padding: clamp(24px, 3vw, 40px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 26px; }
.fld { display: flex; flex-direction: column; gap: 9px; }
.fld > span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.fld output { color: var(--hi); font-family: var(--fd); font-weight: 500; font-size: 16px; letter-spacing: 0; text-transform: none; }
select, input[type="text"], input[type="tel"] {
  width: 100%; height: 56px; padding: 0 16px; border-radius: var(--r-btn); border: 1px solid var(--line-2); background: rgba(15, 24, 56, .6); color: var(--hi);
  font: 500 16px var(--ft); appearance: none; -webkit-appearance: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
select { cursor: pointer; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239AA6CC' stroke-width='2' stroke-linecap='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
select:hover, input[type="text"]:hover, input[type="tel"]:hover { border-color: rgba(188, 204, 255, .45); }
select option { background: var(--bg); color: var(--hi); }
input::placeholder { color: rgba(154, 166, 204, .75); }
select:focus-visible, input:focus-visible { outline: none; border-color: var(--ac); box-shadow: 0 0 0 3px rgba(91, 200, 240, .2); background: rgba(15, 24, 56, .85); }
input[type="range"] { --fill: 11%; width: 100%; height: 30px; margin: 4px 0 0; appearance: none; -webkit-appearance: none; background: transparent; cursor: pointer; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--ac) var(--fill), var(--line-2) var(--fill)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--ac); }
input[type="range"]::-webkit-slider-thumb { appearance: none; -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10.5px; border-radius: 50%; background: #fff; border: 2px solid var(--ac); box-shadow: var(--glow); transition: transform .2s var(--ease); }
input[type="range"]:active::-webkit-slider-thumb, input[type="range"]:focus-visible::-webkit-slider-thumb { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(91, 200, 240, .2), var(--glow); }
input[type="range"]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--ac); box-shadow: var(--glow); }
.range-ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); }
.range-ends i { font-style: normal; }
.calc-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: auto; padding-top: 22px; border-top: 1px solid var(--line); }
.calc-mini b { display: block; font-family: var(--fd); font-weight: 500; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.03em; line-height: 1.05; color: var(--hi); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc-mini span { display: block; margin-top: 6px; color: var(--mute); font-size: 13.5px; }
.calc-res { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; position: relative; background: radial-gradient(90% 70% at 80% 0%, rgba(91, 200, 240, .1), transparent 70%); }
.meter-top b { display: block; font-family: var(--fd); font-weight: 300; font-size: clamp(60px, 7.4vw, 112px); line-height: .9; letter-spacing: -.055em; color: var(--hi); font-variant-numeric: tabular-nums; text-shadow: 0 0 40px rgba(91, 200, 240, .3); white-space: nowrap; }
.meter-top span { display: block; margin-top: 8px; color: var(--text-2); font-size: 16px; }
.month { margin-top: auto; padding-top: 6px; }
.cv-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0 0 12px; font-size: 13.5px; color: var(--mute); }
.cv-cap b { font-family: var(--fd); font-weight: 500; font-size: 18px; color: var(--hi); white-space: nowrap; font-variant-numeric: tabular-nums; }
.month-grid { --rows: 6; min-height: 150px; display: grid; grid-template-columns: repeat(30, 1fr); gap: 4px; align-items: end; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; }
.month-grid span { display: flex; flex-direction: column-reverse; gap: 2px; }
.month-grid i { display: block; height: min(14px, calc((150px - (var(--rows) - 1) * 2px) / var(--rows))); border-radius: 2px; background: var(--ac); box-shadow: 0 0 8px rgba(91, 200, 240, .45); animation: q-in .45s var(--ease) both; }
.month-grid span:nth-child(7n + 6) i, .month-grid span:nth-child(7n) i { background: rgba(91, 200, 240, .55); box-shadow: none; }
@keyframes q-in { from { opacity: 0; transform: translateY(-8px) scale(.6); } }
.crowd { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); }
.crowd-grid { display: grid; grid-template-columns: repeat(20, 9px); gap: 4px; }
.crowd-grid i { width: 9px; height: 9px; border-radius: 50%; background: rgba(188, 204, 255, .16); transition: background .35s var(--ease), box-shadow .35s var(--ease); }
.crowd-grid i.on { background: var(--wa); box-shadow: 0 0 8px rgba(37, 211, 102, .6); }
.crowd-t { margin: 0; display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.35; color: var(--text-2); }
.crowd-t b { font-family: var(--fd); font-weight: 500; font-size: 40px; line-height: 1; letter-spacing: -.03em; color: var(--hi); font-variant-numeric: tabular-nums; }
.m-axis { display: flex; justify-content: space-between; margin-top: 10px; font-size: 12px; color: var(--mute); letter-spacing: .04em; }
.calc-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); flex-wrap: wrap; }
.calc-foot .note { max-width: 640px; }

/* ---------- цена: одна композиция ---------- */
.price-plate { position: relative; overflow: hidden; border-radius: 26px; padding: clamp(28px, 4.4vw, 64px); background: linear-gradient(160deg, rgba(32, 45, 96, .75), rgba(15, 24, 56, .55) 70%); border-color: var(--line-2); }
.price-plate > *:not(.light) { position: relative; z-index: 1; }
.pp-top { display: grid; grid-template-columns: 1fr auto; gap: 24px 56px; align-items: end; }
.price-n { display: flex; align-items: baseline; gap: .12em; font-family: var(--fd); font-weight: 300; font-size: clamp(64px, 11.4vw, 176px); letter-spacing: -.06em; line-height: .84; color: var(--hi); font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 0 60px rgba(91, 200, 240, .25); }
.price-n small { font-size: .28em; font-weight: 300; letter-spacing: -.01em; color: var(--text-2); }
.price-t { display: block; font-family: var(--fd); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.02em; color: var(--text-2); margin-top: 16px; }
.incl { display: grid; gap: 14px; padding-bottom: 10px; }
.incl li { display: flex; align-items: center; gap: 12px; color: var(--hi); font-size: 17px; }
.incl svg { color: var(--ac); flex: 0 0 auto; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--ac-soft); }
.pp-trace { display: block; width: 100%; height: 56px; margin: 22px 0 6px; overflow: visible; }
.pp-trace path { fill: none; stroke: var(--ac); stroke-width: 2; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 7px rgba(91, 200, 240, .85)); }
.pp-trace { clip-path: inset(-20px 100% -20px -20px); transition: clip-path 1.8s var(--ease) .3s; }
.price-plate.in .pp-trace { clip-path: inset(-20px -20px -20px -20px); }
.pp-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px 40px; align-items: center; padding: 22px 0 28px; border-bottom: 1px solid var(--line); }
.pp-next b { display: block; font-family: var(--fd); font-weight: 500; font-size: clamp(28px, 2.8vw, 40px); letter-spacing: -.035em; line-height: 1; color: var(--hi); white-space: nowrap; }
.pp-next b small { font-size: .5em; color: var(--text-2); }
.pp-next span { display: block; margin-top: 8px; color: var(--mute); font-size: 14.5px; max-width: 300px; }
.terms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 28px; }
.terms li { display: flex; flex-direction: column; gap: 6px; }
.terms svg { color: var(--ac); margin-bottom: 6px; }
.terms b { font-family: var(--fd); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: -.01em; color: var(--hi); }
.terms span { color: var(--mute); font-size: 14px; }

/* ---------- процесс: шаги по линии ---------- */
.proc-list { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding-top: 40px; }
.proc-list::before, .proc-list::after { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: var(--line-2); }
.proc-list::after { height: 2px; top: 5.5px; background: var(--ac); box-shadow: var(--glow); transform: scaleX(var(--p)); transform-origin: left; }
.proc-list li { position: relative; }
.proc-list li::before { content: ""; position: absolute; left: 0; top: -40px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1.5px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.proc-list li.lit::before { background: var(--ac); border-color: var(--ac); box-shadow: var(--glow); }
.proc-list i { display: block; font-style: normal; font-family: var(--fd); font-weight: 300; font-size: clamp(56px, 6vw, 96px); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1px rgba(188, 204, 255, .45); margin-bottom: 18px; transition: color .6s, -webkit-text-stroke-color .6s, text-shadow .6s; }
.proc-list li.lit i { color: rgba(91, 200, 240, .1); -webkit-text-stroke-color: var(--ac); text-shadow: 0 0 30px rgba(91, 200, 240, .3); }
.proc-list b { display: block; font-family: var(--fd); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--hi); margin-bottom: 6px; }
.proc-list span { display: block; color: var(--mute); font-size: 15px; line-height: 1.45; }

/* ---------- FAQ ---------- */
.faq-in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-side { position: sticky; top: calc(var(--hdr) + 32px); }
.ask { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 24px 26px 26px; border-radius: 18px; }
.ask b { font-family: var(--fd); font-weight: 500; font-size: 21px; letter-spacing: -.01em; color: var(--hi); }
.ask > span { color: var(--mute); font-size: 14.5px; }
.ask .btn { margin-top: 12px; }
.qa { border-top: 1px solid var(--line-2); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-family: var(--fd); font-weight: 500; font-size: 19px; line-height: 1.3; letter-spacing: -.01em; color: var(--hi); transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--ac); }
.qa summary i { position: relative; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: var(--ac); transition: transform .4s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa summary:hover i { border-color: var(--ac); }
.qa details[open] summary i { background: var(--ac-soft); border-color: rgba(91, 200, 240, .5); }
.qa details[open] summary i::after { transform: rotate(0deg); }
.qa details::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.qa details[open]::details-content { block-size: auto; }
.qa p { padding: 0 64px 22px 0; color: var(--text-2); }

/* ---------- заявка: финальный экран ---------- */
.contact { --p: 0; padding-bottom: clamp(100px, 10vw, 150px); overflow: clip; }
.ct-trace { position: absolute; z-index: 0; pointer-events: none; overflow: visible; left: calc(50% - 50vw); width: calc(50vw + 32px + 60px); top: -64px; height: 96px; }
.ct-trace path { fill: none; stroke: var(--ac); stroke-width: 2; stroke-linecap: round; filter: drop-shadow(0 0 8px rgba(91, 200, 240, .8)); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); opacity: .7; }
.ct-trace .ghost { stroke-width: 12; opacity: .08; filter: blur(10px); stroke-dashoffset: 0; }
.ct-head { margin-bottom: clamp(40px, 5vw, 70px); }
.ct-h { margin: 0; font-family: var(--fd); font-weight: 500; font-size: clamp(44px, 7.2vw, 116px); line-height: .96; letter-spacing: -.035em; text-wrap: balance; }
html[lang="kk"] .ct-h { font-size: clamp(38px, 6.2vw, 100px); }
.ct-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ct-chips li { display: inline-flex; align-items: baseline; gap: 8px; padding: 11px 18px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(15, 24, 56, .7); }
.ct-chips b { color: var(--hi); font-weight: 600; font-size: 15px; white-space: nowrap; }
.ct-chips span { color: var(--mute); font-size: 14.5px; }
.contact-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-in > .c-txt { padding-top: 12px; }
.c-links { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 26px; }
.c-tel { font-family: var(--fd); font-weight: 500; font-size: clamp(32px, 3.6vw, 52px); letter-spacing: -.035em; color: var(--hi); transition: color .25s; width: max-content; }
.c-tel:hover { color: var(--ac); }
.c-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); width: max-content; transition: color .25s; }
.c-mail:hover { color: var(--hi); }
.c-btns { display: flex; flex-wrap: wrap; gap: 12px; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.form { position: relative; padding: clamp(26px, 3.2vw, 42px); display: flex; flex-direction: column; gap: 18px; border-radius: 22px; background: linear-gradient(170deg, rgba(32, 45, 96, .92), rgba(19, 29, 71, .92)); box-shadow: 0 50px 120px -50px rgba(91, 200, 240, .45), 0 30px 80px -40px rgba(0, 0, 0, .8); }
.form::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: conic-gradient(from var(--ang), rgba(91, 200, 240, .95), rgba(94, 107, 240, .35) 25%, rgba(188, 204, 255, .12) 50%, rgba(94, 107, 240, .35) 75%, rgba(91, 200, 240, .95)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: ring 7s linear infinite; }
@keyframes ring { to { --ang: 360deg; } }
.form > * { position: relative; }
.btn-xl { height: 62px; font-size: 16px; }
.err { color: #FF9A8A; font-size: 14px; }
.thanks { padding: 16px 18px; border-radius: var(--r-btn); border: 1px solid rgba(91, 200, 240, .4); background: var(--ac-soft); display: flex; flex-direction: column; gap: 4px; }
.thanks b { color: var(--hi); }
.thanks span { font-size: 14px; color: var(--text-2); }

/* ---------- подвал ---------- */
.foot { border-top: 1px solid var(--line); padding: 40px 0 110px; }
.foot-in { display: grid; grid-template-columns: auto 1fr auto; gap: 20px 40px; align-items: center; }
.foot-l { color: var(--mute); font-size: 14.5px; }
.foot-ig { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14.5px; }
.foot-ig:hover { color: var(--hi); }
.foot-c { grid-column: 1 / -1; font-size: 13px; color: var(--mute); border-top: 1px solid var(--line); padding-top: 18px; }

/* ---------- липкая панель ---------- */
.sticky {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: none; gap: 6px; padding: 6px;
  border-radius: 14px; background: rgba(15, 24, 56, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-2);
  transform: translateY(120%); opacity: 0; transition: transform .4s var(--ease), opacity .4s;
}
.sticky.is-on { transform: none; opacity: 1; }
body.menu-open .sticky { transform: translateY(120%); opacity: 0; pointer-events: none; }
.sticky a { flex: 1 1 0; height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 9px; font-weight: 500; font-size: 15px; background: rgba(255, 255, 255, .06); color: #fff; }
.sticky a span { white-space: nowrap; }
html[lang="kk"] .sticky a { font-size: 14px; }
.sticky a svg { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.sticky .st-wa { background: var(--wa); color: #06331A; }
.sticky .st-ig { flex: 0 0 50px; }

/* ---------- проявление ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-tel { display: none; }
  .hdr-in { width: min(100% - var(--pad) * 2, 1400px); }
  .nodes { gap: 14px; }
  .ui-ad { padding: 16px 14px 0; }
  .ad-t { font-size: 15px; }
}
/* казахские пункты длиннее - бургер раньше */
@media (max-width: 1300px) {
  html[lang="kk"] .nav { display: none; }
  html[lang="kk"] .burger { display: block; }
  html[lang="kk"] .hdr-tel { display: none; }
}
@media (max-width: 1024px) {
  .case-in { grid-template-columns: 1fr; gap: 18px; padding-bottom: 34%; }
  .proof { justify-self: start; width: 100%; max-width: 640px; margin-top: 0; padding: 0; border: 0; background: none; backdrop-filter: none; }
  .proof-grid { grid-template-columns: repeat(4, 1fr); }
  .bot-in, .contact-in, .faq-in { grid-template-columns: 1fr; gap: 40px; }
  .ct-trace { display: none; }
  .faq-side { position: static; }
  .trust-in { grid-template-columns: auto auto; }
  .tguar { grid-column: 1 / -1; justify-self: stretch; width: 100%; grid-template-columns: 1fr 1fr; }
  .cpl { grid-template-columns: 1fr 1fr; }
  .dcases { grid-template-columns: 1fr 1fr; }
  .dcase:first-child { grid-row: auto; grid-column: 1 / -1; }
  .dcase:not(:first-child) img { aspect-ratio: 16 / 10; }
  .calc-box { grid-template-columns: 1fr; }
  .calc-ctl { border-right: 0; border-bottom: 1px solid var(--line); }
  .pk-grid { grid-template-columns: 1fr 1fr; }
  .pk:last-child { grid-column: 1 / -1; }
  .pp-top { grid-template-columns: 1fr; }
  .incl { grid-template-columns: 1fr 1fr; }
  .pp-row { grid-template-columns: 1fr 1fr; }
  .pp-row .btn { grid-column: 1 / -1; justify-self: start; }
  .terms { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nodes { grid-template-columns: 1fr; row-gap: 30px; padding-left: 50px; max-width: 520px; }
  .node, .node:nth-child(even) { padding-top: 0; }
  .node::before { display: none; }
  .node .dot { left: -50px; top: 63px; margin: 0; }
  .node:nth-child(even) .dot { left: -30px; }
  .ui { height: 140px; margin-bottom: 14px; }
  .ui-phone { height: 160px; }
}
@media (max-width: 760px) {
  :root { --hdr: 64px; --pad: 18px; }
  .hdr-ig { display: none; }
  .hdr-in { gap: 12px; }
  .brand { gap: 9px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-wm { font-size: 20px; }
  .brand-wm small { display: none; }
  .hdr-right { gap: 8px; }
  .lang button { padding: 6px 9px; }
  .sticky { display: flex; }
  .wall-wrap { inset: -22% -34% -10% -34%; perspective: 1100px; }
  .wall { grid-template-columns: repeat(3, 1fr); gap: 14px; transform: rotateX(14deg) rotateY(-8deg) rotateZ(7deg) translateZ(calc(-40px + var(--stay) * -160px)) scale(1.08); }
  .wcol:nth-child(4) { display: none; }
  .wcol:nth-child(1) { margin-top: -120px; } .wcol:nth-child(2) { margin-top: 30px; } .wcol:nth-child(3) { margin-top: -220px; }
  .wtrack { gap: 14px; }
  .wtile { border-radius: 7px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(15, 24, 56, .7) 0%, rgba(15, 24, 56, .22) 20%, rgba(15, 24, 56, .5) 38%, rgba(15, 24, 56, .94) 56%, var(--bg) 78%); }
  .hero-in { align-items: flex-end; padding-bottom: 86px; }
  .hero-txt { max-width: none; }
  .h1 { font-size: clamp(38px, 10.4vw, 56px); margin-bottom: 16px; }
  html[lang="kk"] .h1 { font-size: clamp(32px, 9.2vw, 52px); }
  .hero .lead { font-size: 15.5px; margin-bottom: 20px; }
  .hero-cta { gap: 8px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .case-in { padding-top: calc(var(--hdr) + 16px); padding-bottom: 0; gap: 12px; align-content: start; }
  .case-num { gap: 12px; }
  .case-num .num { font-size: clamp(80px, 24vw, 112px); }
  .case-num small { font-size: 16px; max-width: 170px; padding-bottom: 4px; }
  .case-num small em { font-size: 11.5px; }
  .case-h { font-size: 18px; margin: 4px 0 8px; }
  .facts-row { margin: 8px 0 12px; }
  .facts-row li { flex: 1 1 0; padding: 10px 10px 0 0; margin-right: 10px; font-size: 12px; line-height: 1.3; }
  .facts-row li:last-child { margin-right: 0; padding-right: 0; }
  .facts-row li + li::before { left: -10px; }
  .facts-row li b { font-size: 21px; margin-bottom: 2px; }
  .case-p { display: none; }
  .live { font-size: 12.5px; padding: 8px 11px; margin-bottom: 12px; }
  .link-arr { font-size: 14.5px; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .proof-grid img:nth-child(n + 3) { display: none; }
  .proof figcaption { font-size: 11.5px; margin-top: 6px; }
  .chart { bottom: 86px; }
  .chart-meta { font-size: 10px; bottom: auto; top: var(--ch-top, 60%); letter-spacing: .06em; }
  .trust-in { gap: 26px 28px; }
  .tnum b { font-size: clamp(64px, 20vw, 88px); }
  .tnum span { font-size: 14px; margin-top: 10px; }
  .tguar { grid-template-columns: 1fr; }
  .work { flex-basis: 86vw; }
  .work-phone { min-width: 110px; width: 32%; right: 4%; bottom: -6%; padding: 5px; border-radius: 14px; }
  .work-phone img { border-radius: 10px; }
  .work-cap { flex-wrap: wrap; gap: 4px 12px; }
  .work-cap .open { margin-left: 0; flex-basis: 100%; }
  .works-head { flex-direction: column; align-items: flex-start; }
  .lane-btn { width: 46px; height: 46px; top: calc(6px + 86vw * .3125); }
  .lane-btn svg { width: 18px; height: 18px; }
  .lane-prev { left: 6px; } .lane-next { right: 6px; }
  .cpl { grid-template-columns: 1fr; }
  .cpl b { font-size: 30px; }
  .dcases { grid-template-columns: 1fr; }
  .pk-grid { grid-template-columns: 1fr; }
  .pk:last-child { grid-column: auto; }
  .pk-vis { height: 196px; }
  .pk-b { padding: 22px 22px 26px; }
  .tg { width: 100%; border-radius: 28px; }
  .tg-feed { min-height: 470px; }
  .msg-stat b { font-size: 28px; }
  .calc-mini b { font-size: 24px; }
  .month-grid { gap: 2px; min-height: 120px; }
  .crowd { grid-template-columns: 1fr; gap: 12px; }
  .crowd-grid { grid-template-columns: repeat(20, 1fr); gap: 3px; }
  .crowd-grid i { width: auto; height: auto; aspect-ratio: 1; }
  .calc-foot { flex-direction: column; align-items: stretch; }
  .calc-foot .btn { width: 100%; }
  .price-plate { border-radius: 22px; }
  .price-n { font-size: clamp(48px, 14.5vw, 84px); }
  .incl { grid-template-columns: 1fr; gap: 12px; }
  .incl li { font-size: 16px; }
  .pp-trace { height: 40px; margin: 16px 0 0; }
  .pp-row { grid-template-columns: 1fr; gap: 20px; }
  .pp-row .btn { width: 100%; }
  .terms { grid-template-columns: 1fr; gap: 20px; }
  .terms li { display: grid; grid-template-columns: 32px 1fr; gap: 2px 12px; }
  .terms svg { grid-row: 1 / 3; margin: 2px 0 0; }
  .proc-list { grid-template-columns: 1fr; gap: 30px; padding: 0 0 0 40px; }
  .proc-list::before, .proc-list::after { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .proc-list::after { width: 2px; left: 5.5px; transform: scaleY(var(--p)); transform-origin: top; }
  .proc-list li::before { left: -40px; top: 14px; }
  .proc-list li { display: grid; grid-template-columns: 70px 1fr; column-gap: 12px; align-items: start; }
  .proc-list i { grid-row: 1 / 3; font-size: 52px; margin: 0; }
  .proc-list b { font-size: 20px; margin: 4px 0 4px; }
  .qa summary { font-size: 17px; padding: 18px 0; }
  .qa p { padding-right: 20px; }
  .ct-h { font-size: clamp(40px, 11.4vw, 56px); }
  html[lang="kk"] .ct-h { font-size: clamp(34px, 9.6vw, 48px); }
  .ct-chips li { padding: 9px 14px; }
  .ct-chips b, .ct-chips span { font-size: 13.5px; }
  .c-btns .btn { flex: 1 1 auto; }
  .foot-in { grid-template-columns: 1fr; }
  .foot { padding-bottom: 100px; }
}
@media (max-width: 400px) {
  .case-num .num { font-size: 76px; }
  .tnum b { font-size: 64px; }
  .msg p { padding-right: 0; padding-bottom: 14px; }
}
@media (max-height: 760px) and (max-width: 760px) {
  .case-num .num { font-size: 72px; }
  .live { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wtrack, .marq-track, .form::before, .ui-search .caret { animation: none; }
  .txt > *, .rv, .hero-txt > *, .ui, .msg, .kw, .bars i, .wa-b { transition: none; opacity: 1; transform: none; }
  .bars-ln path, .pp-trace path { transition: none; stroke-dashoffset: 0; }
  .btn::after { display: none; }
  .wcol { opacity: 1; transform: none; }
}

/* ========== дополнения 06.10.2026: статьи и страница услуги (общие для главной и внутренних страниц) ========== */
/* ---------- карточки статей ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.post { display: flex; flex-direction: column; overflow: hidden; transition: transform .4s var(--ease); }
.post:hover { transform: translateY(-4px); }
.post-img { aspect-ratio: 1200 / 630; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--l1); }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post:hover .post-img img { transform: scale(1.04); }
.post-b { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 24px; flex: 1 1 auto; position: relative; z-index: 1; }
.post-m { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--mute); }
.post-t { font-family: var(--fd); font-weight: 500; font-size: 21px; line-height: 1.22; letter-spacing: -.015em; color: var(--hi); text-wrap: balance; }
.post-d { font-size: 15px; line-height: 1.5; color: var(--text-2); }
.post-go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; color: var(--ac); font-weight: 500; font-size: 14.5px; }
.post-go svg { transition: transform .25s var(--ease); }
.post:hover .post-go svg { transform: translateX(4px); }
/* первая статья в списке - крупно */
.posts-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.posts-feat .post:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; }
.posts-feat .post:first-child .post-img { aspect-ratio: auto; height: 100%; border-bottom: 0; border-right: 1px solid var(--line); }
.posts-feat .post:first-child .post-b { padding: clamp(24px, 3vw, 44px); justify-content: center; }
.posts-feat .post:first-child .post-t { font-size: clamp(26px, 2.6vw, 38px); }
.posts-feat .post:first-child .post-d { font-size: 16.5px; }

/* блок «Статьи» на главной */
.blog .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.post-lang:empty { display: none; }

.foot-nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; }
.foot-nav a { color: var(--text-2); transition: color .2s; }
.foot-nav a:hover { color: var(--ac); }
.works-foot .link-arr { margin-left: auto; }
@media (max-width: 1100px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .posts > .post:nth-child(3):last-child { grid-column: 1 / -1; }
  .posts > .post:nth-child(3):last-child .post-img { aspect-ratio: 1200 / 400; }
}
@media (max-width: 760px) {
  .posts, .posts-feat { grid-template-columns: 1fr; }
  .posts-feat .post:first-child { grid-template-columns: 1fr; }
  .posts-feat .post:first-child .post-img { aspect-ratio: 1200 / 630; height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .posts-feat .post:first-child .post-b { padding: 20px 22px 24px; }
  .posts > .post:nth-child(3):last-child { grid-column: auto; }
  .posts > .post:nth-child(3):last-child .post-img { aspect-ratio: 1200 / 630; }
  .works-foot .link-arr { margin-left: 0; flex-basis: 100%; }
}
/* пункт «Статьи» удлинил строку навигации: порог бургера по замеру 06.10.2026 (RU 1226px, EN 1211px, KZ 1355px + запас) */
@media (max-width: 1260px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-tel { display: none; }
}
@media (max-width: 1400px) {
  html[lang="kk"] .nav { display: none; }
  html[lang="kk"] .burger { display: block; }
  html[lang="kk"] .hdr-tel { display: none; }
}

/* ========== 08.10.2026: чередование тем, шрифт Inter Tight + курсив Noto Serif Display, фото и значки Google ========== */
/* светлая секция: те же переменные, другие значения; тёмный остров внутри светлой - класс .dk */
.lt {
  --bg: #EEF1F7; --bg-2: #E4E9F3; --l1: #FFFFFF; --l2: #F6F8FC;
  --line: rgba(15, 24, 56, .1); --line-2: rgba(15, 24, 56, .2);
  --text: #0F1838; --hi: #0F1838; --text-2: #3A4459; --mute: #5A6480;
  --ac: #2B78DA; --ac-soft: rgba(43, 120, 218, .1);
  --glow: 0 0 0 4px rgba(43, 120, 218, .14);
  color: var(--text); color-scheme: light;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(91, 200, 240, .16), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, rgba(94, 107, 240, .1), transparent 70%),
    var(--bg);
}
.dk {
  --bg: #0F1838; --l1: #17224D; --l2: #1E2A5A;
  --line: rgba(188, 204, 255, .14); --line-2: rgba(188, 204, 255, .26);
  --text: #F4F2EC; --hi: #fff; --text-2: #D5DAEC; --mute: #9AA6CC;
  --ac: #5BC8F0; --ac-soft: rgba(91, 200, 240, .12);
  --glow: 0 0 10px rgba(91, 200, 240, .55), 0 0 28px rgba(91, 200, 240, .25);
  color: var(--text);
}
/* на стыке тем отступ сверху нужен всегда */
.sec + .sec.lt, .sec.lt + .sec:not(.lt), .sec.lt + .sec[hidden] + .sec:not(.lt) { padding-top: clamp(80px, 9vw, 130px); }
.lt .light { opacity: .45; }
.lt .kicker svg { filter: none; }
.lt .spot { background: #fff; border-color: rgba(15, 24, 56, .08); box-shadow: 0 1px 0 rgba(15, 24, 56, .04), 0 24px 60px -36px rgba(15, 24, 56, .35); }
.lt .spot::before { background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 120, 218, .55), transparent 45%); }
.lt .spot::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 120, 218, .05), transparent 55%); }
.lt .btn-ac { background: #0F1838; color: #fff; }
.lt .btn-ac:hover { background: #1E2A5A; box-shadow: 0 14px 34px -14px rgba(15, 24, 56, .55); }
.lt .btn-ghost { background: #fff; }
.lt .btn-ghost:hover { border-color: var(--hi); background: #fff; }
.link-arr svg { color: #5BC8F0; }
.lt .link-arr { background: #0F1838; border-color: #0F1838; }
.lt .tnum b { color: var(--hi); }
.lt .tguar li { background: #fff; box-shadow: 0 18px 40px -30px rgba(15, 24, 56, .35); }
.lt .tguar li:hover { background: #fff; border-color: rgba(43, 120, 218, .4); }
.lt .marq { border-color: var(--line-2); }
.lt .marq-track span { color: #26304A; }
.lt .work-shot { box-shadow: 0 40px 80px -50px rgba(15, 24, 56, .55); }
.lt .work-shot::after { background: linear-gradient(180deg, transparent 55%, rgba(15, 24, 56, .35)); }
/* путь клика на светлом */
.lt .sc-ghost { stroke: rgba(15, 24, 56, .22); }
.lt .sc-line { filter: drop-shadow(0 0 5px rgba(43, 120, 218, .45)); }
.lt .sc-head { fill: var(--ac); filter: drop-shadow(0 0 6px rgba(43, 120, 218, .7)); }
.lt .node::before { border-left-color: rgba(15, 24, 56, .2); }
.lt .node.lit::before { border-left-color: rgba(43, 120, 218, .6); }
.lt .ui { background: #fff; filter: saturate(.2); box-shadow: 0 18px 40px -32px rgba(15, 24, 56, .4); }
.lt .node.lit .ui { filter: none; border-color: rgba(43, 120, 218, .35); box-shadow: 0 28px 60px -34px rgba(43, 120, 218, .55); }
.lt .ui-search::before { background: #F1F4FA; border-color: rgba(15, 24, 56, .14); }
.lt .ad-top { color: var(--text-2); }
.lt .ad-t { color: #1A0DAB; }
.lt .node.lit .ui-ad .ad-t { text-decoration-color: rgba(26, 13, 171, .4); }
.lt .ui-site { background: radial-gradient(90% 80% at 50% 0%, rgba(43, 120, 218, .16), transparent 70%), #fff; }
.lt .ui-wa { background: linear-gradient(180deg, rgba(37, 211, 102, .14), #fff 70%); }
.lt .wa-h { color: #128C4A; }
.lt .ui-bot svg { filter: drop-shadow(0 6px 12px rgba(94, 107, 240, .35)); }
/* бот: телефон остаётся тёмным островом */
.lt .tg { box-shadow: 0 70px 120px -60px rgba(15, 24, 56, .7), 0 0 0 8px rgba(15, 24, 56, .04), inset 0 1px 0 rgba(255, 255, 255, .08); }
.lt .bot-tags li { background: #fff; }
.lt .badge { color: var(--hi); }
.lt .badge::before { box-shadow: none; }
/* цена на светлом: белая плита */
.lt .price-plate { background: #fff; border-color: rgba(15, 24, 56, .08); box-shadow: 0 50px 100px -60px rgba(15, 24, 56, .45); }
.lt .price-plate .light { opacity: .35; }
.lt .price-n { text-shadow: none; }
.lt .pp-trace path { filter: drop-shadow(0 0 4px rgba(43, 120, 218, .45)); }
.lt .incl li { color: var(--hi); }
/* FAQ на светлом */
.lt .qa summary i { background: #fff; }

/* типографика: акцентные слова курсивом антиквы */
.case-num small > span, .case-h, .price-t { font-family: var(--fs); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.case-num small > span { font-size: 1.12em; }
.num, .tnum b, .price-n, .meter-top b, .cpl b { font-feature-settings: "tnum" 1, "ss01" 1; }

/* значки Google */
.g-ic { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; border-radius: 12px; background: #fff; box-shadow: 0 6px 18px -8px rgba(15, 24, 56, .35), 0 0 0 1px rgba(15, 24, 56, .06); }
.g-ic svg { display: block; }
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(32px, 4vw, 48px); }
.tools-l { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-right: 8px; }
.tool { display: inline-flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 40px -32px rgba(15, 24, 56, .45); }
.tool .g-ic { width: 46px; height: 46px; box-shadow: none; background: #F3F6FB; }
.tool b { display: block; font-family: var(--fd); font-weight: 600; font-size: 16px; letter-spacing: -.01em; color: var(--hi); line-height: 1.2; }
.tool div > span { display: block; font-size: 13.5px; color: var(--mute); }
.pk-badge { position: absolute; right: 16px; top: 16px; z-index: 3; width: 44px; height: 44px; }

/* фото: путь клика - широкий кадр под головой */
.how-photo { position: relative; margin: 0 0 clamp(36px, 4.4vw, 60px); border-radius: 22px; overflow: hidden; aspect-ratio: 21 / 8; background: #DDE3EE; box-shadow: 0 50px 100px -70px rgba(15, 24, 56, .7); }
.how-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.how-photo figcaption { position: absolute; left: 20px; bottom: 20px; display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: #0F1838; font-weight: 500; font-size: 15px; box-shadow: 0 16px 40px -20px rgba(15, 24, 56, .5); }
.how-photo figcaption .g-ic { width: 36px; height: 36px; border-radius: 9px; box-shadow: none; background: #F3F6FB; }
/* фото: вопрос - разговор за столом */
.ask-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
/* фото: Астана в заявке */
.c-city { position: relative; margin: 34px 0 0; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 9; max-width: 560px; border: 1px solid var(--line); }
.c-city img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.c-city figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; font-size: 14px; color: #fff; background: linear-gradient(180deg, transparent, rgba(7, 12, 32, .82)); }
.c-city figcaption b { font-weight: 600; }

/* герой: меньше кадров, крупнее, чистое поле под заголовком */
.wall-wrap { inset: -14% -10% -14% 40%; }
.wall { grid-template-columns: repeat(3, 1fr); gap: 26px; }
.wcol:nth-child(1) { margin-top: -140px; } .wcol:nth-child(2) { margin-top: 80px; } .wcol:nth-child(3) { margin-top: -260px; }
.wtrack { gap: 26px; }
.hero-scrim {
  background:
    linear-gradient(90deg, var(--bg) 0%, var(--bg) 38%, rgba(15, 24, 56, .86) 50%, rgba(15, 24, 56, .4) 62%, rgba(15, 24, 56, .08) 76%, rgba(15, 24, 56, 0) 88%),
    linear-gradient(180deg, rgba(15, 24, 56, .5) 0%, rgba(15, 24, 56, 0) 20%, rgba(15, 24, 56, 0) 70%, var(--bg) 100%);
}

@media (max-width: 1024px) {
  .how-photo { aspect-ratio: 16 / 8; }
}
@media (max-width: 760px) {
  .wall-wrap { inset: -22% -30% -10% -30%; }
  .wall { gap: 14px; }
  .wcol:nth-child(1) { margin-top: -120px; } .wcol:nth-child(2) { margin-top: 30px; } .wcol:nth-child(3) { margin-top: -220px; }
  .wtrack { gap: 14px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(15, 24, 56, .7) 0%, rgba(15, 24, 56, .22) 20%, rgba(15, 24, 56, .5) 38%, rgba(15, 24, 56, .94) 56%, var(--bg) 78%); }
  .how-photo { aspect-ratio: 4 / 3; border-radius: 18px; }
  .how-photo img { object-position: 60% 50%; }
  .how-photo figcaption { left: 12px; right: 12px; bottom: 12px; font-size: 14px; }
  .tools { gap: 10px; }
  .tools-l { flex-basis: 100%; }
  .tool { flex: 1 1 100%; }
  .c-city { margin-top: 26px; }
}
.bot-txt .lead { margin-top: 20px; }
.lt .ui { opacity: .6; }
.lt .node > b { opacity: .7; }
.how-photo img, .c-city img { height: 100%; }

/* ========== 08.10.2026, вторая итерация: значки, белый герой, светлая шапка, понятные кейсы ========== */
.g-ic svg { width: 56%; height: 56%; }
.brand-mark { overflow: visible; }

/* белый герой */
.hero.lt .hero-scrim {
  background:
    linear-gradient(90deg, #EEF1F7 0%, #EEF1F7 38%, rgba(238, 241, 247, .9) 50%, rgba(238, 241, 247, .45) 62%, rgba(238, 241, 247, .1) 76%, rgba(238, 241, 247, 0) 88%),
    linear-gradient(180deg, rgba(238, 241, 247, .6) 0%, rgba(238, 241, 247, 0) 22%, rgba(238, 241, 247, 0) 70%, #EEF1F7 100%);
}
.hero.lt .wtile { border-color: rgba(15, 24, 56, .08); box-shadow: 0 30px 60px -32px rgba(15, 24, 56, .5); }
.hero.lt .h1 b { color: var(--ac); }
.hero.lt .light-vi { opacity: .5; }

/* шапка над светлыми секциями */
.hdr.on-lt { background: rgba(255, 255, 255, .84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-color: rgba(15, 24, 56, .08); }
.hdr.on-lt .brand-wm { color: #0F1838; }
.hdr.on-lt .brand-wm small { color: #5A6480; }
.hdr.on-lt .nav a { color: #3A4459; }
.hdr.on-lt .nav a:hover { color: #0F1838; }
.hdr.on-lt .nav a::after { background: #2B78DA; }
.hdr.on-lt .lang { background: rgba(15, 24, 56, .07); }
.hdr.on-lt .lang button { color: #3A4459; }
.hdr.on-lt .lang button:hover { color: #0F1838; }
.hdr.on-lt .lang button.is-active { background: #0F1838; color: #fff; box-shadow: none; }
.hdr.on-lt .ic-btn, .hdr.on-lt .burger { background: #fff; border-color: rgba(15, 24, 56, .16); }
.hdr.on-lt .burger span { background: #0F1838; }
.hdr.on-lt .hdr-tel { background: #fff; color: #0F1838; border-color: rgba(15, 24, 56, .16); }
.hdr .brand-wm, .hdr .nav a, .hdr .lang, .hdr .lang button, .hdr .ic-btn, .hdr .burger, .hdr .hdr-tel { transition: color .3s, background .3s, border-color .3s; }

/* кейс: история вместо россыпи цифр */
.story { margin: 18px 0 18px; display: grid; gap: 0; max-width: 560px; border-top: 1px solid var(--line); }
.story > div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.story dt { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ac); padding-top: 4px; }
.story dd { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.45; }
.story > div:last-child dd { color: var(--hi); font-weight: 500; }
html[lang="kk"] .story > div { grid-template-columns: 150px 1fr; }

/* кейс: воронка от показа до обращения */
.proof.funnel { justify-self: end; width: min(100%, 440px); margin: 8px 0 0; padding: 22px 22px 18px; border-radius: 18px; border: 1px solid var(--line); background: rgba(23, 34, 77, .62); backdrop-filter: blur(8px); }
.fn-h { margin: 0 0 14px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.fn { display: grid; justify-items: start; }
.fn-row { width: calc(var(--w) * 100%); min-width: 190px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 16px; border-radius: 10px; background: linear-gradient(90deg, rgba(91, 200, 240, .14), rgba(91, 200, 240, .05)); border: 1px solid rgba(91, 200, 240, .16); }
.fn-row span { color: var(--text-2); font-size: 14.5px; }
.fn-row b { font-family: var(--fd); font-weight: 500; font-size: 22px; letter-spacing: -.02em; color: var(--hi); font-variant-numeric: tabular-nums; }
.fn-lead { background: linear-gradient(90deg, rgba(91, 200, 240, .34), rgba(91, 200, 240, .12)); border-color: rgba(91, 200, 240, .5); box-shadow: 0 0 30px -8px rgba(91, 200, 240, .45); }
.fn-lead span { color: #fff; font-weight: 500; }
.fn-lead b { font-size: 26px; }
.fn-rate { display: flex; align-items: baseline; gap: 8px; padding: 6px 0 6px 18px; margin-left: 14px; border-left: 1px dashed rgba(91, 200, 240, .45); font-size: 13px; color: var(--mute); }
.fn-rate b { font-weight: 600; font-size: 14px; color: var(--ac); }
.fn-sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.fn-sum b { color: var(--hi); font-weight: 600; }
.fn-cpl { padding: 4px 10px; border-radius: 8px; background: rgba(91, 200, 240, .14); color: var(--text-2); }
.fn-cpl b { color: #fff; font-size: 16px; }
.fn-bud { font-size: 13px; }
.proof.funnel figcaption { margin-top: 12px; }

@media (max-width: 1024px) {
  .proof.funnel { justify-self: start; width: 100%; max-width: 520px; padding: 18px; border: 1px solid var(--line); background: rgba(23, 34, 77, .62); }
}
@media (max-width: 760px) {
  .story { margin: 10px 0 12px; }
  .story > div, html[lang="kk"] .story > div { grid-template-columns: 1fr; gap: 2px; padding: 8px 0; }
  .story dt { padding: 0; font-size: 11px; }
  .story dd { font-size: 14px; line-height: 1.4; }
  .case .live { display: none; }
  .proof.funnel { padding: 12px 12px 10px; border-radius: 14px; }
  .fn-h, .proof.funnel figcaption { display: none; }
  .fn-row { padding: 6px 12px; min-width: 160px; }
  .fn-row span { font-size: 13px; }
  .fn-row b { font-size: 17px; }
  .fn-lead b { font-size: 20px; }
  .fn-rate { padding: 3px 0 3px 14px; margin-left: 12px; font-size: 12px; }
  .fn-rate b { font-size: 12.5px; }
  .fn-sum { margin-top: 8px; padding-top: 8px; font-size: 12.5px; gap: 4px 12px; }
  .fn-bud { display: none; }
  .hero.lt .hero-scrim { background: linear-gradient(180deg, rgba(238, 241, 247, .7) 0%, rgba(238, 241, 247, .15) 18%, rgba(238, 241, 247, .85) 36%, rgba(238, 241, 247, .97) 46%, #EEF1F7 60%); }
}
/* ещё кейсы: имя и число обращений под ним */
.cpl-n { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.cpl-n small { font-size: 12.5px; color: var(--mute); opacity: .85; white-space: nowrap; }
.cpl-n small span { font-size: inherit; }
@media (max-width: 760px) { .case .chart-meta { display: none; } }

/* ========== 09.10.2026: герой крупнее, путь клика крупнее и живой, шаги карточками ========== */
/* герой: заголовок и кнопки под первый экран, стена контрастнее */
@media (min-width: 761px) {
  .hero-txt { max-width: 780px; }
  .hero .h1 { font-size: clamp(56px, 6.6vw, 112px); margin-bottom: 28px; }
  html[lang="kk"] .hero .h1 { font-size: clamp(46px, 5.4vw, 92px); }
  .wall-wrap { inset: -14% -12% -14% 52%; }
  .hero .lead { max-width: 620px; font-size: clamp(17px, 1.45vw, 21px); margin-bottom: 36px; }
  .hero-cta { gap: 14px; margin-bottom: 26px; }
  .hero-cta .btn { height: 64px; padding: 0 32px; font-size: 17px; border-radius: 10px; }
  .hero-cta .btn svg { width: 20px; height: 20px; }
  .hero.lt .hero-scrim {
    background:
      linear-gradient(90deg, #EEF1F7 0%, #EEF1F7 46%, rgba(238, 241, 247, .9) 54%, rgba(238, 241, 247, .45) 61%, rgba(238, 241, 247, .08) 69%, rgba(238, 241, 247, 0) 77%),
      linear-gradient(180deg, rgba(238, 241, 247, .4) 0%, rgba(238, 241, 247, 0) 16%, rgba(238, 241, 247, 0) 80%, #EEF1F7 100%);
  }
}
.hero.lt .wall { filter: saturate(1.12) contrast(1.06); }
.hero.lt .wtile { border-color: rgba(15, 24, 56, .14); box-shadow: 0 44px 80px -34px rgba(15, 24, 56, .62), 0 12px 24px -16px rgba(15, 24, 56, .35); }
.hero.lt .wall-wrap::before {
  content: ""; position: absolute; inset: 6% 0 6% 8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(43, 120, 218, .2), rgba(43, 120, 218, 0));
}

/* путь клика: крупные карточки, заметный след и бегущий импульс после прорисовки */
.ui { height: 196px; border-radius: 18px; }
.node > .ui { margin-bottom: 22px; }
.node > b { font-size: 21px; }
.node > span { font-size: 15.5px; }
.ui-search { padding: 0 20px; gap: 8px; }
.ui-search::before { height: 60px; border-radius: 30px; }
.ui-search .type { font-size: 14px; }
.ui-ad { padding: 26px 22px 0; }
.ui-ad .ad-top { font-size: 13px; }
.ui-ad .ad-t { font-size: 19px; line-height: 1.25; margin: 10px 0 8px; }
.ui-ad .ad-d { font-size: 14px; }
.ui-site { padding-top: 16px; }
.ui-phone { width: 118px; height: 210px; border-radius: 18px; }
.ui-wa { padding: 18px; }
.ui-wa .wa-h { font-size: 14px; }
.ui-wa .wa-b { font-size: 15px; }
.ui-bot { gap: 14px; padding: 0 20px; }
.ui-bot svg { width: 40px; height: 40px; }
.ui-bot::after { left: 20px; width: 40px; height: 40px; margin-top: -20px; border-radius: 11px; }
.ui-bot b { font-size: 17px; }
.ui-bot span { font-size: 13px; }
.sc-line { stroke-width: 3; }
.sc-pulse {
  fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: 0;
  stroke-dasharray: .05 .95; stroke-dashoffset: 1;
  filter: drop-shadow(0 0 6px rgba(91, 200, 240, 1)) drop-shadow(0 0 14px rgba(91, 200, 240, .8));
}
.scene.done .sc-pulse { opacity: 1; animation: sc-run 3.4s cubic-bezier(.45, 0, .25, 1) infinite; }
@keyframes sc-run { from { stroke-dashoffset: 1.05; } to { stroke-dashoffset: 0; } }
.lt .sc-line { stroke: #2B78DA; filter: drop-shadow(0 0 6px rgba(43, 120, 218, .55)); }
@media (hover: hover) {
  .node.lit .ui { transition: opacity .6s var(--ease), transform .35s var(--ease), border-color .5s, box-shadow .4s, filter .6s; }
  .node.lit:hover .ui { transform: translateY(-6px); box-shadow: 0 36px 70px -32px rgba(43, 120, 218, .6); }
}
@media (max-width: 900px) {
  .ui { height: auto; min-height: 0; }
  .ui-search, .ui-bot { height: 96px; }
  .ui-ad { padding: 20px 20px 22px; }
  .ui-site { height: 176px; }
  .ui-phone { height: 190px; }
  .ui-wa { padding: 16px 16px 18px; }
}

/* как работаем: шаги карточками, цифра заливкой */
.proc-list { gap: 18px; }
.proc-list li {
  position: relative; min-height: 270px; padding: 30px 28px 32px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(30, 42, 90, .78), rgba(23, 34, 77, .32));
  border: 1px solid var(--line);
  transition: border-color .5s, box-shadow .6s, transform .6s var(--ease);
}
.proc-list li::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(60% 55% at 88% 0%, rgba(91, 200, 240, .2), rgba(91, 200, 240, 0)); opacity: 0; transition: opacity .8s;
}
.proc-list li.lit { border-color: rgba(91, 200, 240, .38); box-shadow: 0 40px 80px -46px rgba(91, 200, 240, .55); }
.proc-list li.lit::after { opacity: 1; }
.proc-list li::before { left: 28px; }
.proc-list i {
  font-weight: 500; font-size: clamp(64px, 6.2vw, 100px); margin-bottom: 26px;
  -webkit-text-stroke: 0; color: transparent; opacity: .38;
  background: linear-gradient(180deg, #FFFFFF 10%, #5BC8F0 100%); -webkit-background-clip: text; background-clip: text;
  transition: opacity .6s;
}
.proc-list li.lit i { -webkit-text-stroke: 0; color: transparent; text-shadow: none; opacity: 1; filter: drop-shadow(0 0 24px rgba(91, 200, 240, .3)); }
.ps-ic {
  position: absolute; right: 26px; top: 30px; width: 48px; height: 48px; padding: 12px; box-sizing: border-box;
  border-radius: 14px; color: var(--ac); background: rgba(91, 200, 240, .1); border: 1px solid rgba(91, 200, 240, .22);
}
.proc-list b { font-size: 24px; margin-bottom: 8px; }
.proc-list span { font-size: 15.5px; color: var(--text-2); }
@media (max-width: 1100px) {
  .proc-list { grid-template-columns: repeat(2, 1fr); }
  .proc-list::before, .proc-list::after { display: none; }
  .proc-list li::before { display: none; }
  .proc-list { padding-top: 0; }
  .proc-list li { min-height: 0; }
}
@media (max-width: 760px) {
  .proc-list { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .proc-list li { display: block; padding: 22px 22px 24px; border-radius: 18px; }
  .proc-list i { font-size: 56px; margin: 0 0 14px; }
  .ps-ic { top: 22px; right: 20px; width: 42px; height: 42px; padding: 10px; }
  .proc-list b { font-size: 20px; margin: 0 0 4px; }
}
@media (prefers-reduced-motion: reduce) { .scene.done .sc-pulse { animation: none; opacity: 0; } }

/* ========== 09.10.2026: телефон без анимаций от прокрутки (решение владельца) ========== */
/* плиты обычным потоком: ничего не держит экран и не наезжает, содержимое видно сразу */
@media (max-width: 760px) {
  .pw, .pw-hero, .pw.stack, .pw-hero.stack { height: auto; margin-bottom: 0; }
  .plate { position: relative; height: auto; min-height: 100svh; transform: none; border-radius: 0; box-shadow: none; }
  .plate::after, .case::before { display: none; }
  .hero.plate { height: 100svh; }
  .case-in { height: auto; padding-bottom: 196px; }
  .chart { top: auto !important; height: 150px; bottom: 26px; clip-path: none; }
  .txt > *, .rv, .hero-txt > *, .ui, .msg, .kw, .bars i, .wa-b, .proc-list li, .proc-list i { transition: none !important; opacity: 1; transform: none; }
  .wall, .wcol { transform: none; }
  .wall { transform: rotateX(14deg) rotateY(-8deg) rotateZ(7deg) translateZ(-40px) scale(1.08); }
  .bars-ln path, .pp-trace path { transition: none; stroke-dashoffset: 0; }
  .scene .sc-pulse { display: none; }
}
