/* =========================================================
   tarkva.ee — Laskun OÜ
   Тёмная тема, зелёный акцент, стекло и mesh-градиенты
   ========================================================= */

:root {
  --bg: #060807;
  --bg-2: #0a0e0c;
  --bg-3: #0d1210;
  --line: rgba(214, 255, 232, 0.08);
  --line-2: rgba(214, 255, 232, 0.16);
  --text: #edf4ef;
  --muted: #8f9c94;
  --dim: #56635b;

  --g: #22e57f;          /* основной зелёный */
  --g-hi: #7dffb4;       /* светлый */
  --lime: #d6ff5c;       /* акцент-лайм */
  --g-deep: #0b5c34;
  --teal: #19c9b1;
  --ink: #03140a;        /* текст на зелёном */

  --font-d: "Unbounded", "Onest", system-ui, sans-serif;
  --font-b: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-dot: "Doto", ui-monospace, monospace;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;

  --pad: clamp(16px, 4vw, 56px);
  --sheet-r: clamp(28px, 3.2vw, 44px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-locked { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--g); color: var(--ink); }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: 10px; }
svg use { pointer-events: none; }

.page { overflow-x: clip; }
.container { width: 100%; max-width: 1480px; margin: 0 auto; padding-inline: var(--pad); }
.mut { color: var(--dim); }
.accent { color: var(--g); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- кнопки ---------- */
.btn {
  --h: 50px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
  will-change: transform;
}
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 60px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn .arr, .btn .ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--primary { background: var(--g); color: var(--ink); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--lime);
  transform: translateY(102%);
  transition: transform .55s var(--ease);
}
.btn--primary:hover::before { transform: none; }
.btn--primary { box-shadow: 0 10px 40px -12px rgba(34, 229, 127, .55); }

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line-2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(214, 255, 232, .3); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }

/* ---------- прогресс ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 100; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--g), var(--lime)); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- навигация ---------- */
.nav {
  position: fixed;
  top: 14px; left: var(--pad); right: var(--pad);
  z-index: 70;
  display: flex; align-items: center; gap: 18px;
  height: 64px;
  padding: 0 10px 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .6s var(--ease), background-color .4s, border-color .4s, backdrop-filter .4s;
}
.nav.is-scrolled {
  background: rgba(8, 12, 10, .62);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}
.nav.is-hidden { transform: translateY(calc(-100% - 20px)); }
/* ПК: после прокрутки без тёмной заливки — только размытие и тонкая рамка (16.11.2026: пользователь проверил в DevTools,
   «будет шикарно»). На телефоне заливка остаётся */
@media (min-width: 961px) { .nav.is-scrolled { background: none; } }

.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; }
.logo__mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: var(--ink); background: var(--g); box-shadow: 0 0 24px -4px rgba(34, 229, 127, .7); }
.logo__mark svg { width: 20px; height: 20px; }
.logo__word { font-family: var(--font-d); font-weight: 500; font-size: 21px; letter-spacing: -.05em; }
.logo__by { font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding-left: 12px; border-left: 1px solid var(--line-2); }

.nav__links { display: flex; gap: 2px; }
/* ПК: «Главная», «Услуги», «Портфолио» ровно по центру шапки (16.11.2026) — стеклянная полоса после прокрутки
   больше не пустая; текущий раздел подсвечен (aria-current ставит main.js) */
.nav__mid { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; gap: 4px; }
.nav__mid a { padding: 10px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); white-space: nowrap; transition: color .25s, background-color .25s; }
.nav__mid a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav__mid a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
@media (max-width: 960px) { .nav__mid { display: none; } }
.nav__links a { padding: 10px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .25s, background-color .25s; }
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }

.menu-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 46px; padding: 0 7px 0 20px;
  border-radius: 999px;
  background: #fff; color: #0a0a0a;
  font-weight: 500; font-size: 14px;
  transition: transform .4s var(--ease);
}
.menu-btn:hover { transform: scale(1.03); }
.menu-btn__dots, .menu-btn__x { width: 32px; height: 32px; border-radius: 50%; background: #0a0a0a; display: grid; grid-auto-flow: column; place-content: center; gap: 4px; position: relative; }
/* две точки; меню открыто — точки вытягиваются в чёрточки и с пружинкой складываются в крестик (v70) */
.menu-btn__dots { display: block; }
.menu-btn__dots i {
  position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 99px; background: #fff;
  transition: transform .6s cubic-bezier(.68, -.6, .32, 1.6), width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease);
}
.menu-btn__dots i:first-child { transform: translateX(-4.5px); }
.menu-btn__dots i:last-child { transform: translateX(4.5px); }
.menu-btn:not([aria-expanded="true"]):hover .menu-btn__dots i:first-child { transform: translateX(-6.5px); }
.menu-btn:not([aria-expanded="true"]):hover .menu-btn__dots i:last-child { transform: translateX(6.5px); }
.menu-btn__x::before, .menu-btn__x::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: #fff; border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.menu-btn__x::after { transform: translate(-50%, -50%) rotate(-45deg); }

/* ---------- HERO: сцена из слоёв ---------- */
.hero {
  --ph: 82%;            /* высота слоя с человеком */
  --px: 34%;            /* центр человека по горизонтали */
  position: relative;
  isolation: isolate;
  height: 100vh;
  height: 100svh;
  min-height: 680px;
  max-height: 1120px;
  overflow: hidden;
  background: #040806;
}
.scene { position: absolute; inset: 0; pointer-events: none; }
.scene--atmo { z-index: 0; }
.scene--stage { z-index: 1; }
.layer { position: absolute; will-change: transform; }
.layer > .li { width: 100%; height: 100%; }
.layer img { display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; }

/* вход: каждый слой проявляется «из глубины» со своей задержкой */
.js .layer > .li { opacity: 0; transform: scale(1.07); filter: blur(12px); transition: opacity 1.4s var(--ease), transform 2s var(--ease), filter 1.5s var(--ease); transition-delay: var(--in, 0s); }
.js .l-bg > .li { transform: scale(1.14); }
.js .l-plants-l > .li, .js .l-cat > .li, .js .l-plants-r > .li { transform: translateY(14%) scale(1.04); }
.is-loaded .layer > .li { opacity: 1; transform: none; filter: none; }

/* атмосфера */
.l-bg { inset: -4%; }
.l-bg img { object-fit: cover; object-position: 50% 30%; filter: brightness(.82); }
.l-mist, .l-mist2 { inset: 0; }
.l-mist canvas, .l-mist2 canvas { width: 100%; height: 100%; display: block; }
.l-beam { inset: -20% -10% -10% 25%; mix-blend-mode: screen; }
.l-beam .li { background: linear-gradient(104deg, transparent 38%, rgba(190, 255, 215, .08) 46%, rgba(190, 255, 215, .02) 52%, transparent 58%); animation: beam 14s ease-in-out infinite alternate; }
@keyframes beam { from { translate: -8% 0; } to { translate: 10% 0; } }
.l-mark { left: 2.5%; top: 30%; height: 42%; aspect-ratio: 1; color: rgba(214, 255, 232, .05); }
.l-mark svg { width: 100%; height: 100%; }
.l-dust { inset: 0; }
.l-dust canvas { width: 100%; height: 100%; display: block; }
.scene__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4, 8, 6, .7) 0%, rgba(4, 8, 6, 0) 20%, rgba(4, 8, 6, 0) 68%, rgba(4, 8, 6, .9) 100%),
    linear-gradient(90deg, rgba(4, 8, 6, .25) 0%, rgba(4, 8, 6, 0) 25%, rgba(4, 8, 6, 0) 48%, rgba(4, 8, 6, .7) 80%);
}

/* сцена */
.l-person { bottom: 0; left: var(--px); height: var(--ph); aspect-ratio: 1400 / 901; translate: -50% 0; }
.l-glow { left: calc(var(--px) - 18%); top: 8%; width: 36%; height: 80%; }
.l-glow .li { background: radial-gradient(closest-side, rgba(34, 229, 127, .26), transparent 75%); filter: blur(10px); animation: glowPulse 7s ease-in-out infinite; }
@keyframes glowPulse { 50% { opacity: .55; scale: .94; } }
.l-toasts { left: max(var(--pad), calc(var(--px) - 31%)); top: 26%; width: clamp(250px, 20vw, 320px); }
.l-plants-r { bottom: 7%; left: calc(var(--px) + 14%); height: 17%; aspect-ratio: 1000 / 385; }
.l-cat { right: 1.5%; bottom: calc(var(--sheet-r) - 1%); height: 25%; aspect-ratio: 700 / 601; }
.l-plants-l { left: -6%; bottom: -14%; height: 56%; aspect-ratio: 900 / 1003; }
.l-plants-l img { filter: blur(1.2px); }

.sway-a { transform-origin: 50% 100%; animation: sway 9s ease-in-out infinite; }
.sway-b { transform-origin: 50% 100%; animation: sway 11s ease-in-out -3s infinite; }
@keyframes sway { 0%, 100% { rotate: -1.2deg; } 50% { rotate: 1.3deg; } }
.breathe { transform-origin: 50% 100%; animation: breathe 4.2s ease-in-out infinite; }
@keyframes breathe { 50% { scale: 1.01 1.022; } }

/* живые уведомления: так выглядит автоматизация для владельца бизнеса */
.toasts { position: relative; height: 250px; }
.toast {
  position: absolute; left: 0; right: 0; top: 0;
  display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px;
  border-radius: 20px;
  background: rgba(14, 24, 19, .58);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .13), 0 24px 48px -18px rgba(0, 0, 0, .75);
  color: #eef6f1;
  transform-origin: 50% 0;
  transition: transform .9s var(--ease), opacity .9s var(--ease);
}
.toast__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--g); color: var(--ink); box-shadow: 0 0 20px rgba(34, 229, 127, .45); }
.toast__ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.toast__ic--lime { background: var(--lime); box-shadow: 0 0 20px rgba(214, 255, 92, .4); }
.toast__ic--glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.toast__t { font-size: 14px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast__d { font-size: 12.5px; color: #a9bab0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.toast__time { align-self: start; font-size: 11px; color: #7f9187; padding-top: 2px; }

/* заголовок и кнопки */
.hero__ui { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero__ui a, .hero__ui button, .hero-ticker { pointer-events: auto; }
.js [data-ui] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--in, 0s); }
.is-loaded [data-ui] { opacity: 1; transform: none; }

.hero-right { position: absolute; right: var(--pad); top: 50%; translate: 0 -56%; width: min(43vw, 660px); }
.hero-title {
  margin-top: 24px;
  font-family: var(--font-d);
  font-weight: 600;
  font-size: clamp(40px, 4.7vw, 84px);
  line-height: 1.04;
  letter-spacing: -.055em;
  text-shadow: 0 4px 30px rgba(2, 8, 5, .6);
}
.hero-title__l { display: block; }
.hl { position: relative; isolation: isolate; display: inline-block; padding: .06em .26em .14em; margin: .06em 0 .08em -.18em; color: var(--ink); text-shadow: none; }
.hl::before {
  content: ""; position: absolute; inset: -.1em -.12em -.06em; z-index: -1;
  background: url("../img/hero/stroke.webp") center / 100% 100% no-repeat;
  transform: rotate(-1.8deg);
  filter: drop-shadow(0 10px 28px rgba(34, 229, 127, .4));
}
.hero-title .rotator { display: inline-block; white-space: nowrap; }
.hero-title .rotator .scr { color: rgba(3, 20, 10, .45); }
.hero-cta { margin-top: clamp(18px, 3vh, 30px); }
.hero-cta__lead { max-width: 500px; color: #b9c8bf; font-size: clamp(15px, 1.15vw, 18px); line-height: 1.6; }
.hero-cta__lead b { font-weight: 600; color: #eef5f1; }   /* «от 4 дней» — чуть жирнее (16.11.2026) */
.hero-cta .hero__ctas { margin-top: 24px; }

/* бегущая линия направлений: при наведении плавно замедляется */
.hero-ticker { position: absolute; left: 0; right: 24vw; bottom: calc(var(--sheet-r) + clamp(10px, 2vh, 20px)); }
.ticker { overflow: hidden; padding: 6px 0; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.ticker__track { display: flex; gap: 12px; width: max-content; will-change: transform; }
.svc-chip {
  display: inline-flex; align-items: center; gap: 10px; flex: none;
  height: 44px; padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(34, 229, 127, .4);
  background: rgba(4, 12, 8, .55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #d9e8de; font-size: 13px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.svc-chip:hover { border-color: var(--g); background: rgba(34, 229, 127, .12); box-shadow: 0 0 22px rgba(34, 229, 127, .25); }
.svc-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--g); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.status {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(34, 229, 127, .3);
  background: rgba(4, 12, 8, .55);
  backdrop-filter: blur(10px);
  color: #cfeedd; font-size: 13px; font-weight: 500;
  transition: background-color .3s;
}
.status:hover { background: rgba(34, 229, 127, .14); }
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--g); flex: none; }
.status__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--g); animation: ping 2s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* бегущая строка (общий класс) */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 10px; width: max-content; animation: marquee 44s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* планшет */
@media (max-width: 1180px) {
  .hero { --ph: 70%; --px: 30%; }
  .hero-right { width: min(50vw, 560px); }
  .l-toasts { left: var(--pad); top: 30%; width: 250px; }
  .hero-ticker { right: 20vw; }
  .svc-chip { height: 40px; padding: 0 14px; font-size: 12px; }
}

/* телефон: заголовок → сцена → кнопки → бегущая линия */
@media (max-width: 760px) {
  .hero { height: auto; max-height: none; min-height: 100svh; display: flex; flex-direction: column; padding: 96px 0 calc(var(--sheet-r) + 20px); }
  .hero__ui, .hero-right { display: contents; }
  .hero-head { order: 1; position: relative; z-index: 3; margin: 0 var(--pad); }
  .hero-title { font-size: clamp(34px, 10.4vw, 50px); margin-top: 18px; }
  .scene--stage { order: 2; position: relative; inset: auto; height: 92vw; max-height: 460px; margin-top: 6px; flex: none; }
  .l-person { height: auto; width: 168vw; left: 50%; bottom: 0; }
  .l-glow { left: 18%; width: 64%; top: 0; height: 100%; }
  .l-toasts { left: var(--pad); top: 2%; width: min(270px, 70vw); }
  .toasts { height: 150px; }
  .toast { padding: 10px 12px; grid-template-columns: 34px minmax(0, 1fr) auto; }
  .toast__ic { width: 34px; height: 34px; border-radius: 10px; }
  .l-plants-r, .l-mark { display: none; }
  .l-plants-l { left: -14vw; bottom: -10vw; height: auto; width: 44vw; }
  .l-cat { right: -2vw; bottom: 0; height: auto; width: 34vw; }
  .hero-cta { order: 3; position: relative; z-index: 3; margin: 18px var(--pad) 0; }
  .hero-cta__lead { font-size: 15px; }
  .hero-cta .hero__ctas { margin-top: 18px; }
  .hero-cta .hero__ctas .btn { flex: 1 1 auto; }
  .hero-ticker { order: 4; position: relative; inset: auto; margin-top: 24px; z-index: 3; }
  .scene__shade { background: linear-gradient(180deg, rgba(4, 8, 6, .55) 0%, rgba(4, 8, 6, .2) 30%, rgba(4, 8, 6, 0) 45%, rgba(4, 8, 6, .92) 76%); }
}

/* мини-виджеты и точечные графики (блок «Работы») */
.w__foot { font-size: 11px; color: rgba(255, 255, 255, .72); margin-top: 8px; }
.w__foot--split { display: flex; justify-content: space-between; }
.dots-chart { display: grid; grid-template-columns: repeat(var(--cols, 14), 1fr); gap: 5px; margin-top: 14px; }
.dots-chart i { aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .16); transition: background-color .6s, transform .6s var(--ease); }
.dots-chart i.on { background: #fff; transform: scale(1.1); }
.dots-chart i.hot { background: var(--lime); }

/* ---------- общие секции ---------- */
.sheet {
  position: relative;
  z-index: 2;
  margin-top: calc(var(--sheet-r) * -1);
  border-radius: var(--sheet-r) var(--sheet-r) 0 0;
  background: var(--bg-2);
  padding: clamp(72px, 9vw, 140px) 0;
  box-shadow: 0 -1px 0 rgba(214, 255, 232, .07), 0 -30px 80px -40px rgba(0, 0, 0, .8);
}
.sheet.process { background: var(--bg); padding: 0; }
.sheet.work { background: var(--bg-2); }
.sheet.about { background: var(--bg); }
.sheet.faq { background: var(--bg-2); }
.sheet.contact { background: #050a07; overflow: hidden; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-title {
  font-family: var(--font-d);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 100px);
  line-height: 1;
  letter-spacing: -.055em;
}
.sec-sub { max-width: 400px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.eyebrow { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--g); margin-bottom: 20px; font-weight: 600; }

/* разбиение заголовков на слова */
.w-split { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.w-split > span { display: inline-block; transform: translateY(108%); transition: transform 1.1s var(--ease); }
.is-in .w-split > span, .is-in.w-split > span { transform: none; }

[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--rd, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }
html:not(.js) .w-split > span { transform: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: #b9c7be; }
.chips--sm li { font-size: 11px; padding: 5px 10px; }

.dotnum { font-family: var(--font-dot); font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- УСЛУГИ ---------- */
.price-list { border-top: 1px solid var(--line); }
.price-row {
  --from: bottom;
  position: relative;
  isolation: isolate;
  width: 100%;
  display: grid;
  grid-template-columns: 34px minmax(0, 2.1fr) minmax(0, 1fr) 110px 140px 50px;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: clamp(22px, 2.6vw, 34px) 0;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: color .35s;
}
.price-row::before {
  content: ""; position: absolute; z-index: -1;
  top: -1px; bottom: -1px;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: var(--g);
  transform: scaleY(0);
  transform-origin: 50% var(--from);
  transition: transform .6s var(--ease);
}
.price-row:hover, .price-row:focus-visible { color: var(--ink); }
.price-row:hover::before, .price-row:focus-visible::before { transform: scaleY(1); }
.price-row:focus-visible { outline: none; }
/* слева в строке — зелёная звёздочка вместо «▸» (16.11.2026), мерцает вразнобой, как у фактов в блоке звонка;
   на зелёной подсветке строки — тёмная (color: var(--ink) при наведении ниже) */
.price-row__arrow { position: relative; isolation: isolate; display: block; width: 18px; height: 18px; font-size: 0; color: var(--g); transition: transform .6s var(--ease), color .3s; }
.price-row__arrow::before { content: ""; position: absolute; inset: 0; background: currentColor; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.price-row__arrow::after { content: ""; position: absolute; z-index: -1; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: rgba(34, 229, 127, .45); filter: blur(7px); transition: opacity .3s; }
.price-row:hover .price-row__arrow::after, .price-row:focus-visible .price-row__arrow::after { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .price-row__arrow::before { animation: cbStar 4.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.7s); }
}
.price-list li:nth-child(2) .price-row__arrow { --k: 1; } .price-list li:nth-child(3) .price-row__arrow { --k: 2; }
.price-list li:nth-child(4) .price-row__arrow { --k: 3; } .price-list li:nth-child(5) .price-row__arrow { --k: 4; }
.price-list li:nth-child(6) .price-row__arrow { --k: 5; }
.price-row__title { font-family: var(--font-d); font-weight: 400; font-size: clamp(26px, 2.9vw, 50px); letter-spacing: -.05em; line-height: 1.05; transition: transform .6s var(--ease); }
.price-row__desc { font-size: 15px; color: var(--muted); transition: color .3s; }
.price-row__time { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: color .3s; }
.price-row__price { font-family: var(--font-d); font-size: clamp(17px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.03em; white-space: nowrap; }
.price-row__plus { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 22px; font-weight: 300; transition: transform .6s var(--ease), background-color .3s, color .3s, border-color .3s; }
.price-row:hover .price-row__arrow { transform: translateX(14px); color: var(--ink); }
.price-row:hover .price-row__title { transform: translateX(26px); }
.price-row:hover .price-row__desc, .price-row:hover .price-row__time { color: rgba(3, 20, 10, .72); }
.price-row:hover .price-row__plus { background: #fff; color: #000; border-color: #fff; transform: rotate(90deg); }

.services__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); }

/* ---------- ИНСПЕКТОР (hover-рамка) ---------- */
.inspector {
  position: fixed; left: 0; top: 0; z-index: 65;
  pointer-events: none;
  border: 1px dashed rgba(34, 229, 127, .7);
  background: rgba(34, 229, 127, .025);
  opacity: 0;
  transition: opacity .25s;
  will-change: transform, width, height;
}
.inspector.is-on { opacity: 1; }
/* рамка на шапке и в меню — над шапкой (у .nav z-index 70); на белой панели меню заливка чуть заметнее */
.inspector.is-top { z-index: 75; background: rgba(34, 229, 127, .07); }
.inspector i { position: absolute; width: 13px; height: 13px; border: 2px solid var(--g); }
.inspector .tl { top: -3px; left: -3px; border-right: 0; border-bottom: 0; }
.inspector .tr { top: -3px; right: -3px; border-left: 0; border-bottom: 0; }
.inspector .bl { bottom: -3px; left: -3px; border-right: 0; border-top: 0; }
.inspector .br { bottom: -3px; right: -3px; border-left: 0; border-top: 0; }
.inspector__tag {
  position: absolute; left: -1px; bottom: calc(100% + 6px);
  display: inline-flex; align-items: baseline; gap: 8px;
  padding: 4px 9px;
  border-radius: 6px 6px 6px 2px;
  background: var(--g); color: var(--ink);
  font: 600 12px/1.2 var(--font-b);
  white-space: nowrap;
}
.inspector__tag small { font: 500 10px var(--font-mono); opacity: .6; }

/* ---------- ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ---------- */
.hscroll { position: relative; }
.hscroll__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  gap: clamp(28px, 5vh, 56px);
  padding: calc(var(--sheet-r) + 40px) 0 40px;
}
.hscroll__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.hscroll__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; min-width: 180px; }
.hscroll__count { font: 500 14px var(--font-mono); color: var(--muted); }
.hscroll__count b { color: var(--g); font-weight: 600; }
.hscroll__bar { width: 180px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.hscroll__bar i { display: block; height: 100%; background: var(--g); transform-origin: 0 50%; transform: scaleX(0); }

.hscroll__track { display: flex; gap: 20px; width: max-content; padding-inline: var(--pad); will-change: transform; }

.pcard {
  position: relative; isolation: isolate;
  flex: 0 0 clamp(290px, 27vw, 420px);
  height: clamp(400px, 56vh, 560px);
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 32px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #0d1310 0%, #090d0b 100%);
  display: flex; flex-direction: column;
  overflow: hidden;
  transition: border-color .5s, transform .7s var(--ease);
}
.pcard__glow {
  position: absolute; inset: 0; z-index: -1; opacity: 0;
  background:
    radial-gradient(380px circle at var(--mx, 50%) var(--my, 30%), rgba(34, 229, 127, .2), transparent 65%),
    linear-gradient(180deg, transparent 25%, rgba(11, 92, 52, .55) 100%);
  transition: opacity .6s;
}
.pcard:hover { border-color: rgba(34, 229, 127, .35); }
.pcard:hover .pcard__glow { opacity: 1; }
.pcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pcard__num { font-family: var(--font-dot); font-weight: 900; font-size: clamp(76px, 7vw, 112px); line-height: .8; color: rgba(34, 229, 127, .28); transition: color .5s, text-shadow .5s; }
.pcard:hover .pcard__num { color: var(--g); text-shadow: 0 0 30px rgba(34, 229, 127, .5); }
.pcard__kicker { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 6px; text-align: right; }
.pcard__title { margin-top: auto; font-family: var(--font-d); font-weight: 400; font-size: clamp(24px, 2.1vw, 34px); line-height: 1.1; letter-spacing: -.045em; }
.pcard__text { margin: 16px 0 22px; color: #a6b3ab; font-size: 15px; line-height: 1.6; }
.pcard--cta { color: var(--ink); border: 0; }
.pcard--cta .pcard__kicker { color: rgba(3, 20, 10, .7); text-align: left; }
.pcard--cta .pcard__title { font-size: clamp(34px, 3vw, 48px); color: #fff; }
.pcard--cta .pcard__text { color: rgba(255, 255, 255, .85); }
.pcard--cta .btn { align-self: flex-start; }

/* выключенный sticky (мобильные, reduced motion) */
.hs-off .hscroll__sticky { position: relative; height: auto; padding: calc(var(--sheet-r) + 56px) 0 72px; }
.hs-off .hscroll__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; scroll-padding-inline: var(--pad); }
.hs-off .hscroll__track::-webkit-scrollbar { display: none; }
.hs-off .pcard { scroll-snap-align: start; }

/* ---------- mesh-градиенты и стекло ---------- */
.mesh-1 {
  background:
    radial-gradient(55% 60% at 32% 72%, rgba(2, 10, 6, .88) 0%, rgba(2, 10, 6, 0) 70%),
    radial-gradient(75% 65% at 92% 4%, #e2ff7a 0%, rgba(226, 255, 122, 0) 62%),
    linear-gradient(150deg, #3ef0a2 0%, #13894f 55%, #073a20 100%);
}
.mesh-2 {
  background:
    radial-gradient(50% 55% at 70% 65%, rgba(2, 12, 12, .85) 0%, rgba(2, 12, 12, 0) 70%),
    radial-gradient(70% 60% at 8% 6%, #a6fff0 0%, rgba(166, 255, 240, 0) 60%),
    linear-gradient(160deg, #23d0b8 0%, #0f6d62 60%, #06302c 100%);
}
.mesh-3 {
  background:
    radial-gradient(60% 60% at 85% 90%, rgba(214, 255, 92, .65) 0%, rgba(214, 255, 92, 0) 65%),
    radial-gradient(60% 60% at 20% 20%, rgba(34, 229, 127, .55) 0%, rgba(34, 229, 127, 0) 70%),
    linear-gradient(160deg, #0f2a1c, #061009);
}
.mesh-4 {
  background:
    radial-gradient(55% 60% at 40% 75%, rgba(4, 10, 7, .85) 0%, rgba(4, 10, 7, 0) 70%),
    linear-gradient(150deg, #a9c7b6 0%, #5c7f6c 60%, #2c4136 100%);
}
.glass {
  background: rgba(16, 23, 19, .55);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -24px rgba(0, 0, 0, .7);
}

/* ---------- РАБОТЫ ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.wcard {
  position: relative; isolation: isolate;
  border-radius: 32px;
  border: 1px solid var(--line);
  background: #0c1210;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 560px;
  transition: border-color .5s;
}
.wcard::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .6s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 40%), rgba(34, 229, 127, .12), transparent 65%);
}
.wcard:hover { border-color: rgba(34, 229, 127, .3); }
.wcard:hover::before { opacity: 1; }
.wcard--7 { grid-column: span 7; }
.wcard--5 { grid-column: span 5; }
.wcard__stage { position: relative; flex: 1; overflow: hidden; padding: clamp(24px, 3vw, 40px); display: grid; place-items: center; }
.wcard__info { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 22px 28px 26px; border-top: 1px solid var(--line); }
.wcard__kicker { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.wcard__title { font-family: var(--font-d); font-weight: 400; font-size: clamp(20px, 1.8vw, 28px); letter-spacing: -.04em; }

/* 1 — воронка */
.stage-funnel { background: radial-gradient(70% 70% at 70% 0%, rgba(34, 229, 127, .14), transparent 70%); gap: 22px; align-content: center; }
.browser { width: min(100%, 560px); border-radius: 18px; overflow: hidden; background: #f3f6f4; color: #0b120e; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); transform: perspective(1200px) rotateX(8deg); transition: transform .9s var(--ease); }
.wcard:hover .browser { transform: perspective(1200px) rotateX(0); }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e3e9e5; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #c5cfc9; }
.browser__bar span { margin: 0 auto; font: 11px var(--font-mono); color: #66736b; background: #fff; padding: 3px 14px; border-radius: 999px; }
.browser__body { padding: 22px; }
.lp { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: center; }
.lp__copy { display: flex; flex-direction: column; gap: 10px; }
.lp__h { font-family: var(--font-d); font-size: clamp(14px, 1.4vw, 20px); line-height: 1.15; letter-spacing: -.04em; }
.sk { display: block; height: 7px; border-radius: 4px; background: #d6ded9; width: 92%; }
.sk--s { width: 40%; background: #b6f5d3; }
.sk--m { width: 70%; }
.lp__btn { align-self: flex-start; margin-top: 6px; padding: 9px 14px; border-radius: 999px; background: #0b120e; color: #fff; font-size: 11px; font-weight: 600; animation: pulseBtn 2.4s ease-in-out infinite; }
@keyframes pulseBtn { 0%, 100% { box-shadow: 0 0 0 0 rgba(34, 229, 127, .6); } 50% { box-shadow: 0 0 0 8px rgba(34, 229, 127, 0); } }
.lp__img { aspect-ratio: 1; border-radius: 14px; }
.funnel { width: min(100%, 560px); display: grid; gap: 10px; }
.funnel__row { display: grid; grid-template-columns: 70px 1fr 56px; align-items: center; gap: 12px; font-size: 12px; color: var(--muted); }
.funnel__row i { display: block; height: 10px; width: var(--w); border-radius: 999px; background: repeating-linear-gradient(90deg, rgba(214, 255, 232, .35) 0 3px, transparent 3px 8px); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1.4s var(--ease) .2s; }
.funnel__row.is-hot i { background: repeating-linear-gradient(90deg, var(--g) 0 3px, transparent 3px 8px); }
.funnel__row b { font-family: var(--font-dot); font-weight: 900; font-size: 18px; color: var(--text); text-align: right; }
.funnel__row.is-hot b { color: var(--g); }
.is-in .funnel__row i { transform: scaleX(1); }

/* 2 — дашборд */
.stage-dash { background: linear-gradient(160deg, #10241a, #060b08); place-items: stretch; align-content: center; gap: 0; }
.dash { border-radius: 26px; padding: 22px; width: 76%; max-width: 420px; justify-self: start; align-self: start; }
.dash__label { font-size: 13px; color: #cfe0d5; }
.dash__num { display: flex; align-items: flex-start; gap: 4px; margin-top: 8px; }
.dash__num .dotnum { font-size: clamp(44px, 4.4vw, 64px); line-height: 1; }
.dash__num sup { font-size: 16px; color: var(--muted); margin-top: 6px; }
.dots-chart--wide { --cols: 22; gap: 4px; }
.insight { position: absolute; right: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 28px); width: min(46%, 230px); aspect-ratio: .78; border-radius: 30px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .15); transform: rotate(4deg); transition: transform .9s var(--ease); }
.wcard:hover .insight { transform: rotate(0) translateY(-6px); }
.insight__k { font-size: 12px; color: rgba(255, 255, 255, .8); }
.insight__t { font-size: clamp(15px, 1.3vw, 19px); line-height: 1.25; letter-spacing: -.02em; }

/* 3 — телефон */
.stage-phone { background: radial-gradient(60% 60% at 50% 100%, rgba(25, 201, 177, .18), transparent 70%), #0a100d; padding-bottom: 0; align-content: end; }
.phone { width: min(300px, 82%); border-radius: 42px 42px 0 0; padding: 14px 12px 0; background: #020403; box-shadow: 0 0 0 7px #1a201d, 0 0 0 8px #2b332f, 0 40px 80px -20px rgba(0, 0, 0, .8); transform: translateY(40px); transition: transform .9s var(--ease); }
.wcard:hover .phone { transform: translateY(14px); }
.phone__notch { width: 86px; height: 22px; border-radius: 999px; background: #000; margin: 0 auto 14px; box-shadow: inset 0 0 0 1px #1c211e; }
.phone__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tile { border-radius: 22px; padding: 12px; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; font-size: 11px; }
.tile b { font-family: var(--font-b); font-weight: 400; font-size: 26px; line-height: 1; letter-spacing: -.03em; }
.tile b.dotnum { font-family: var(--font-dot); font-weight: 900; font-size: 34px; }
.tile small { font-size: 12px; }
.slider { position: relative; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(255, 255, 255, .3), #ff6b6b); }
.slider i { position: absolute; left: 66%; top: -6px; width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 8px solid var(--lime); animation: slideK 4s ease-in-out infinite alternate; }
@keyframes slideK { to { left: 30%; } }
.dotrow { display: flex; gap: 5px; }
.dotrow i { width: 5px; height: 5px; border-radius: 50%; background: #fff; animation: dotPulse 1.6s ease-in-out infinite; }
.dotrow i:nth-child(2) { animation-delay: .1s; } .dotrow i:nth-child(3) { animation-delay: .2s; } .dotrow i:nth-child(4) { animation-delay: .3s; } .dotrow i:nth-child(5) { animation-delay: .4s; } .dotrow i:nth-child(6) { animation-delay: .5s; } .dotrow i:nth-child(7) { animation-delay: .6s; }
@keyframes dotPulse { 50% { opacity: .25; transform: scale(.7); } }
.phone__dock { display: flex; justify-content: center; gap: 0; margin: 14px auto 18px; width: 120px; height: 44px; border-radius: 999px; background: #1d2421; overflow: hidden; }
.phone__dock span { flex: 1; display: grid; place-items: center; font-size: 22px; }
.phone__dock span:first-child { background: #fff; color: #000; border-radius: 999px; }
.phone__mic::before { content: ""; width: 8px; height: 13px; border: 2px solid #fff; border-radius: 6px; }

/* 4 — бот */
.stage-bot { background: radial-gradient(70% 70% at 20% 10%, rgba(214, 255, 92, .1), transparent 70%), #0a100d; gap: 22px; align-content: center; }
.chat { width: min(100%, 440px); border-radius: 26px; overflow: hidden; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat__head b { display: block; font-size: 14px; }
.chat__head small { font-size: 12px; color: var(--g); }
.chat__ava { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: var(--ink); font-family: var(--font-d); font-weight: 600; }
.chat__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; min-height: 250px; }
.msg { align-self: flex-start; max-width: 88%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: rgba(255, 255, 255, .07); font-size: 13px; line-height: 1.5; }
.msg--btns { display: flex; gap: 6px; padding: 0; background: none; }
.msg--btns span { padding: 8px 12px; border-radius: 10px; background: rgba(34, 229, 127, .14); color: var(--g-hi); font-size: 12px; font-weight: 600; }
.msg--ok { color: var(--g-hi); background: rgba(34, 229, 127, .08); }
.chat[data-chat] .msg { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.chat[data-chat] .msg.show { opacity: 1; transform: none; }
.flow { display: flex; align-items: center; width: min(100%, 440px); }
.flow__node { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: #c9d6ce; white-space: nowrap; }
.flow__node.is-hot { border-color: var(--g); color: var(--g); }
.flow i { flex: 1; height: 1px; min-width: 14px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 50%) 0 0 / 8px 1px; animation: flowMove 1s linear infinite; }
@keyframes flowMove { to { background-position: 8px 0; } }

/* ---------- ПОЧЕМУ Я ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.about__text { margin-top: 28px; max-width: 560px; color: #b2bfb7; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; }
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { border-radius: 30px; padding: clamp(22px, 2.4vw, 32px); min-height: clamp(190px, 18vw, 250px); display: flex; flex-direction: column; justify-content: space-between; gap: 18px; }
.stat:nth-child(2), .stat:nth-child(4) { transform: translateY(36px); }
.stat:nth-child(2).is-in, .stat:nth-child(4).is-in { transform: translateY(36px); }
.stat .dotnum { font-size: clamp(64px, 6vw, 96px); line-height: .85; }
.stat .dotnum small { font-size: .45em; margin-left: 4px; }
.stat p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .85); max-width: 220px; }
.stat.glass p { color: #a9b6ae; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__side { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(17px, 1.5vw, 21px); font-weight: 500; letter-spacing: -.01em; transition: color .3s; }
.faq__q:hover { color: var(--g-hi); }
.faq__q i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform .6s var(--ease), background-color .3s, border-color .3s; }
.faq__q i::before, .faq__q i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 1.6px; background: currentColor; transform: translate(-50%, -50%); }
.faq__q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .5s var(--ease); }
.faq__item.is-open .faq__q i { background: var(--g); border-color: var(--g); color: var(--ink); transform: rotate(180deg); }
.faq__item.is-open .faq__q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 64px 28px 0; color: #a6b3ab; line-height: 1.7; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* ---------- ЗАЯВКА ---------- */
.contact { padding-bottom: clamp(72px, 9vw, 140px); }
.contact__gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; pointer-events: none;
  background:
    radial-gradient(40% 50% at 15% 20%, rgba(34, 229, 127, .16), transparent 70%),
    radial-gradient(35% 40% at 90% 90%, rgba(214, 255, 92, .08), transparent 70%); }
.contact__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact__title { font-family: var(--font-d); font-weight: 400; font-size: clamp(44px, 6.6vw, 112px); line-height: .98; letter-spacing: -.06em; }
.contact__lead { margin-top: 28px; max-width: 520px; color: #b2bfb7; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; }
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; max-width: 520px; }
.steps li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); font-size: 14px; }
.steps b { font: 600 13px var(--font-mono); color: var(--g); padding: 4px 7px; border-radius: 8px; background: rgba(34, 229, 127, .1); }
.direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.direct__a { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; transition: background-color .3s, border-color .3s, color .3s; }
.direct__a:hover { background: var(--g); border-color: var(--g); color: var(--ink); }
.direct__a svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.brief { border-radius: 34px; padding: clamp(22px, 3vw, 40px); display: flex; flex-direction: column; gap: 22px; }
.brief__set { border: 0; margin: 0; padding: 0; min-width: 0; }
.brief__set legend { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; padding: 0; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; cursor: pointer; }
.pick input { position: absolute; opacity: 0; pointer-events: none; }
.pick span { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: #c3d0c8; transition: background-color .25s, color .25s, border-color .25s; }
.pick label:hover span { border-color: rgba(34, 229, 127, .5); }
.pick input:checked + span { background: var(--g); border-color: var(--g); color: var(--ink); font-weight: 600; }
.pick input:focus-visible + span { outline: 2px solid var(--g); outline-offset: 2px; }
.brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 26px 18px 10px;
  border-radius: 18px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .25);
  color: var(--text);
  font: inherit; font-size: 15px;
  resize: vertical;
  transition: border-color .25s, background-color .25s;
}
.field textarea { min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--g); background: rgba(34, 229, 127, .05); }
.field label { position: absolute; left: 19px; top: 18px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: 0 0; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--g); }
.field.is-error input { border-color: #ff6b6b; }
.brief__note { font-size: 12px; color: var(--muted); text-align: center; }
.brief__note.is-ok { color: var(--g-hi); font-size: 14px; }
.brief.is-sent .btn--primary { pointer-events: none; }

/* ---------- ПОДВАЛ ---------- */
.footer { position: relative; z-index: 3; background: #030504; padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__brand { font-family: var(--font-d); font-weight: 500; font-size: 28px; letter-spacing: -.05em; }
.footer__brand span { color: var(--g); }
.footer__muted { color: var(--muted); font-size: 14px; margin-top: 12px; line-height: 1.6; }
.footer__nav, .footer__contacts { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; }
.footer__nav a, .footer__contacts a:not(.btn) { color: #b9c7be; transition: color .25s; }
.footer__nav a:hover, .footer__contacts a:not(.btn):hover { color: var(--g); }
.footer__contacts .btn { margin-top: 8px; }
.footer__dots { width: 100%; height: clamp(120px, 21vw, 340px); margin-top: clamp(40px, 6vw, 80px); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 20px; padding-bottom: 28px; color: var(--dim); font-size: 13px; border-top: 1px solid var(--line); }
.footer__bottom a:hover { color: var(--g); }

/* ---------- мобильная CTA ---------- */
.mcta {
  position: fixed; left: 16px; right: 16px; bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  height: 56px; border-radius: 999px;
  background: var(--g); color: var(--ink);
  font-weight: 600;
  box-shadow: 0 16px 40px -10px rgba(34, 229, 127, .6);
  transform: translateY(140%);
  transition: transform .6s var(--ease);
}
.mcta .arr { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mcta.is-on { transform: none; }

/* ---------- слои: меню и услуга ---------- */
.blob { position: fixed; inset: 0; z-index: 80; width: 100vw; height: 100vh; pointer-events: none; display: none; overflow: visible; }
.blob path { fill: var(--g); }

.layer-bar {
  position: sticky; top: 0; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px var(--pad);
  min-height: 78px;
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 7, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.layer-bar__crumb { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.svc, .menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); opacity: 0; pointer-events: none; }
.svc[hidden], .menu[hidden] { display: none; }
.svc.is-open, .menu.is-open { opacity: 1; pointer-events: auto; animation: layerIn 1s var(--ease) forwards; }
.svc.is-closing, .menu.is-closing { opacity: 1; animation: layerOut .45s var(--ease-io) forwards; }
@keyframes layerIn { 0% { background-color: var(--g); } 100% { background-color: var(--bg); } }
@keyframes layerOut { 0% { background-color: var(--bg); } 100% { background-color: var(--g); } }
.svc.is-open .layer-bar, .menu.is-open .layer-bar { animation: fadeUp .8s var(--ease) .15s both; }
.svc.is-closing > *, .menu.is-closing > * { opacity: 0; transition: opacity .25s; }

.svc__scroll { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.svc__body { max-width: 1280px; margin: 0 auto; padding: clamp(36px, 7vw, 96px) var(--pad) clamp(56px, 8vw, 120px); }
.svc.is-open .svc__body > * { animation: fadeUp .9s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .07s); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

.svc-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.svc-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-top: 10px; }
.svc-title { font-family: var(--font-d); font-weight: 400; font-size: clamp(40px, 6.2vw, 104px); line-height: .95; letter-spacing: -.06em; }
.svc-price { text-align: right; display: flex; flex-direction: column; gap: 6px; }
.svc-price b { font-family: var(--font-d); font-weight: 500; font-size: clamp(32px, 4.6vw, 72px); line-height: 1; letter-spacing: -.05em; color: var(--g-hi); white-space: nowrap; }
.svc-price span { font-size: 14px; color: var(--muted); }
.svc-lead { margin: clamp(32px, 5vw, 56px) 0 0; max-width: 940px; font-size: clamp(18px, 2vw, 27px); line-height: 1.45; letter-spacing: -.01em; color: #dce7e0; }
.svc-block { margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); }
.svc-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.svc-incl { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 48px; }
.svc-incl li { position: relative; padding-left: 22px; font-size: clamp(15px, 1.2vw, 17px); color: #d6e1da; }
.svc-incl li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--g); }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.stage { border-radius: 24px; padding: 24px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, 0)); display: flex; flex-direction: column; gap: 10px; transition: border-color .4s, transform .5s var(--ease); }
.stage:hover { border-color: rgba(34, 229, 127, .4); transform: translateY(-4px); }
.stage__n { font: 500 12px var(--font-mono); color: var(--muted); }
.stage__amt { font-family: var(--font-d); font-weight: 500; font-size: clamp(30px, 3vw, 42px); letter-spacing: -.05em; color: var(--g-hi); line-height: 1.1; }
.stage h3 { font-size: 17px; font-weight: 600; }
.stage p { font-size: 14px; color: #9fada5; line-height: 1.55; }
.svc-cta { margin-top: clamp(40px, 6vw, 72px); border-radius: 32px; padding: clamp(24px, 4vw, 48px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.svc-cta p { font-family: var(--font-d); font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -.04em; line-height: 1.1; max-width: 560px; color: #fff; }
.svc-cta div { display: flex; gap: 10px; flex-wrap: wrap; }

.menu__body { min-height: calc(100% - 78px); display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; padding: clamp(32px, 6vw, 80px) var(--pad); }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { display: flex; align-items: baseline; gap: 18px; padding: 6px 0; font-family: var(--font-d); font-size: clamp(34px, 6vw, 84px); line-height: 1.05; letter-spacing: -.055em; transition: color .3s, transform .6s var(--ease); }
.menu__nav a small { font: 500 13px var(--font-mono); color: var(--muted); letter-spacing: 0; }
.menu__nav a:hover { color: var(--g); transform: translateX(14px); }
.menu.is-open .menu__nav a { animation: fadeUp .9s var(--ease) both; }
.menu.is-open .menu__nav a:nth-child(1) { animation-delay: .18s; } .menu.is-open .menu__nav a:nth-child(2) { animation-delay: .23s; } .menu.is-open .menu__nav a:nth-child(3) { animation-delay: .28s; }
.menu.is-open .menu__nav a:nth-child(4) { animation-delay: .33s; } .menu.is-open .menu__nav a:nth-child(5) { animation-delay: .38s; } .menu.is-open .menu__nav a:nth-child(6) { animation-delay: .43s; }
.menu__side { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; color: var(--muted); }
.menu.is-open .menu__side { animation: fadeUp .9s var(--ease) .45s both; }

/* ---------- адаптив ---------- */
@media (max-width: 1180px) {
  .nav__links { display: none; }
  .price-row { grid-template-columns: 28px minmax(0, 1.5fr) minmax(0, 1fr) 130px 50px; }
  .price-row__time { display: none; }
}

@media (max-width: 960px) {

  .sec-head { flex-direction: column; align-items: flex-start; }
  .work-grid { grid-template-columns: 1fr; }
  .wcard--7, .wcard--5 { grid-column: auto; }
  .wcard { min-height: 480px; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .faq__side { position: static; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > div:first-child { grid-column: 1 / -1; }
  .menu__body { grid-template-columns: 1fr; align-content: space-between; }
}

@media (max-width: 720px) {
  .logo__by { display: none; }
  .nav { top: 10px; height: 58px; padding: 0 6px 0 14px; }
  .nav__cta { display: none; }
  .menu-btn { height: 44px; }

  .price-row { grid-template-columns: minmax(0, 1fr) 40px; grid-template-areas: "t plus" "d plus" "p plus"; row-gap: 6px; column-gap: 14px; padding: 22px 0; }
  .price-row__arrow { display: none; }
  .price-row__title { grid-area: t; font-size: 23px; }
  .price-row__desc { grid-area: d; font-size: 14px; }
  .price-row__price { grid-area: p; font-size: 16px; color: var(--g-hi); margin-top: 4px; }
  .price-row:hover .price-row__price { color: var(--ink); }
  .price-row__plus { grid-area: plus; width: 40px; height: 40px; font-size: 18px; }
  .price-row:hover .price-row__title { transform: none; }

  .about__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { border-radius: 24px; min-height: 170px; }
  .stat:nth-child(2), .stat:nth-child(4), .stat:nth-child(2).is-in, .stat:nth-child(4).is-in { transform: none; }
  .stat .dotnum { font-size: 56px; }
  .stat p { font-size: 13px; }

  .hscroll__head { flex-direction: column; align-items: flex-start; }
  .hscroll__meta { align-items: flex-start; }
  .pcard { flex-basis: 84vw; height: 440px; }
  .brief__row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .faq__a p { padding-right: 0; }
  .svc-head { grid-template-columns: 1fr; }
  .svc-price { text-align: left; }
  .svc-incl { grid-template-columns: 1fr; }
  .footer__bottom { padding-bottom: 96px; }
  .mcta { display: flex; }
  .lp { grid-template-columns: 1fr; }
  .lp__img { display: none; }
  .insight { width: 52%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Доработки v3: точечные цифры, голограмма на лице, меню, языки
   ========================================================= */

/* точечные цифры из круглых точек (Doto, ось ROND) */
.dotnum, .dots {
  font-family: var(--font-dot);
  font-weight: 700;
  font-variation-settings: "ROND" 100;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-shadow: 0 0 14px rgba(255, 255, 255, .35), 0 0 34px rgba(125, 255, 180, .25);
}

/* живая голограмма поверх лица: скан-линия и мерцание по контуру */
.l-person .li { position: relative; }
.facefx {
  position: absolute; left: 39.1%; top: 9.6%; width: 20.2%; height: 34.4%;
  mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(48% 50% at 42% 46%, #000 55%, transparent 100%);
  mask-image: radial-gradient(48% 50% at 42% 46%, #000 55%, transparent 100%);
  animation: faceFlicker 6s steps(1) infinite;
}
.facefx::before {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(180deg, rgba(150, 255, 210, .07) 0 1px, transparent 1px 4px),
    linear-gradient(100deg, rgba(60, 255, 190, .16), transparent 48%);
}
.facefx i {
  position: absolute; left: 0; right: 0; height: 22%; top: -25%;
  background: linear-gradient(180deg, transparent, rgba(140, 255, 210, .32), transparent);
  animation: faceScan 5.5s cubic-bezier(.5, 0, .5, 1) infinite;
}
@keyframes faceScan { 0%, 15% { top: -25%; } 70%, 100% { top: 105%; } }
@keyframes faceFlicker { 0%, 100% { opacity: 1; } 47% { opacity: .55; } 48% { opacity: 1; } 81% { opacity: .75; } 82% { opacity: 1; } }

/* номера этапов «Полный цикл» */
.pcard__num {
  font-family: var(--font-dot); font-weight: 600; font-variation-settings: "ROND" 100;
  font-size: clamp(84px, 7.6vw, 124px); line-height: .78; letter-spacing: .02em;
  color: rgba(255, 255, 255, .2);
  transition: color .5s, text-shadow .5s;
}
.pcard:hover .pcard__num { color: #fff; text-shadow: 0 0 16px rgba(255, 255, 255, .45), 0 0 40px rgba(34, 229, 127, .7); }

/* выбор языка */
.lang { position: relative; }
.lang__btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 46px; padding: 0 14px 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(8, 14, 11, .5);
  backdrop-filter: blur(12px);
  font-size: 13px; font-weight: 600; letter-spacing: .06em;
  transition: background-color .25s, border-color .25s;
}
.lang__btn:hover { background: rgba(255, 255, 255, .08); }
.lang__btn i { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .4s var(--ease); }
.lang.is-open .lang__btn i { transform: translateY(1px) rotate(-135deg); }
.lang__list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 3;
  min-width: 200px; padding: 6px;
  border-radius: 20px;
  background: rgba(10, 16, 13, .9);
  backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(-6px) scale(.97); transform-origin: 90% 0;
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .4s var(--ease);
}
.lang.is-open .lang__list { opacity: 1; transform: none; pointer-events: auto; }
.lang__btn { padding: 0 14px 0 12px; gap: 9px; }
.lang__list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; font-size: 14px; color: #cbd8d0; transition: background-color .2s, color .2s; }
.lang__list a:hover, .lang__list a:focus-visible { background: rgba(255, 255, 255, .06); color: #fff; }
.lang__list a.is-active { color: #fff; }
.lang__list a.is-active::after { content: ''; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
/* флажки — круглые картинки; у русского нейтральный кружок «РУ» (буквы в CSS, чтобы не попадали в переводы) */
.flag { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: center / cover no-repeat; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.lang__list .flag { width: 20px; height: 20px; }
.flag--et { background-image: url(../img/flags/et.svg); }
.flag--en { background-image: url(../img/flags/en.svg); }
.flag--fi { background-image: url(../img/flags/fi.svg); }
.flag--sv { background-image: url(../img/flags/sv.svg); }
.flag--ru { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .4); }
.flag--ru::before { content: 'РУ'; font-size: 8.5px; font-weight: 700; letter-spacing: .02em; line-height: 1; color: #eef4f0; }
.lang__list .flag--ru::before { font-size: 8px; }

/* меню (v70, «как на freelance-blog.com»): белая панель «вытекает» из белой кнопки, как желе. Форму на ходу рисует
   main.js (Jelly: clip-path path() по пружинам — углы быстрее, середины краёв отстают и пружинят), в покое — CSS ниже.
   Слева и снизу у панели запас --jm: там видно, как край на излёте выгибается наружу. Пункты — лесенкой с наклоном.
   Без JS и при reduced motion — простое раскрытие clip-path inset. Тень не ставим: clip-path её срезал бы */
.menu-btn { position: relative; z-index: 3; overflow: hidden; isolation: isolate; }
.menu-btn::before {   /* наведение: снизу поднимается зелёная заливка с выгнутым краем */
  content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--g);
  border-radius: 50% 50% 0 0 / 60% 60% 0 0; transform: translateY(102%);
  transition: transform .7s cubic-bezier(.19, 1, .22, 1), border-radius .7s cubic-bezier(.19, 1, .22, 1);
}
.menu-btn:not([aria-expanded="true"]):hover::before, .menu-btn:not([aria-expanded="true"]):focus-visible::before { transform: none; border-radius: 0; }
.mpanel {
  --jm: 64px;
  /* верх и правый край — вровень со стеклянной полосой шапки (16.11.2026: раньше панель торчала над ней на 8 px) */
  position: absolute; top: 0; right: 0; z-index: 2;
  width: calc(min(420px, 100vw - 2 * var(--pad)) + var(--jm));
  padding: 72px 30px calc(26px + var(--jm)) calc(30px + var(--jm));
  background: #f3f5f1; color: #0b0f0d;
  clip-path: inset(0 0 calc(100% - 62px) calc(100% - 140px) round 30px);
  opacity: 0;
  pointer-events: none;
  transition: clip-path .6s var(--ease), opacity .25s;
}
.menu-open .mpanel { clip-path: inset(0 0 var(--jm) var(--jm) round 30px); opacity: 1; pointer-events: auto; }
.mpanel.is-jelly { transition: none; opacity: 1; }
.mpanel__nav { display: flex; flex-direction: column; }
.mpanel__nav a {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid rgba(11, 15, 13, .1);
  font-family: var(--font-d); font-size: clamp(23px, 2vw, 29px); line-height: 1.12; letter-spacing: -.045em; color: #0b0f0d;
  opacity: 0; transform: translateY(26px) rotate(3deg); transform-origin: 0 100%;
  transition: opacity .25s, transform .5s cubic-bezier(.19, 1, .22, 1);
}
/* значок пункта — тёмная плитка из набора калькулятора (assets/img/q), как в каталоге услуг; при наведении чуть
   приподнимается и поворачивается, а вокруг пункта встаёт рамка-сетка «перейти» (inspector в main.js). Кружков нет */
.mpanel__ic {
  flex: none; width: 44px; height: 44px; border-radius: 12px; object-fit: cover;
  box-shadow: 0 8px 18px -10px rgba(11, 15, 13, .55);
  transition: transform .6s cubic-bezier(.19, 1, .22, 1);
}
.mpanel__nav a:hover .mpanel__ic, .mpanel__nav a:focus-visible .mpanel__ic { transform: translateY(-2px) scale(1.08) rotate(-5deg); }
.mpanel__nav a:focus-visible { outline: 2px solid var(--g); outline-offset: 4px; border-radius: 10px; }
.mpanel__nav a small { margin-left: auto; font: 500 12px var(--font-mono); color: rgba(11, 15, 13, .42); letter-spacing: 0; transition: color .3s; }
.mpanel__nav a:hover small { color: #0b8f4d; }
.mpanel__nav a:nth-child(1) { --i: 1; } .mpanel__nav a:nth-child(2) { --i: 2; } .mpanel__nav a:nth-child(3) { --i: 3; }
.mpanel__nav a:nth-child(4) { --i: 4; } .mpanel__nav a:nth-child(5) { --i: 5; } .mpanel__nav a:nth-child(6) { --i: 6; }
.mpanel__nav a:nth-child(7) { --i: 7; } .mpanel__nav a:nth-child(8) { --i: 8; }
.menu-open .mpanel__nav a { opacity: 1; transform: none; transition: opacity .6s, transform 1s cubic-bezier(.19, 1, .22, 1); transition-delay: calc(var(--i, 0) * 60ms + 80ms); }
.mpanel__cta { margin-top: 22px; opacity: 0; transform: translateY(20px); transition: opacity .25s, transform .5s cubic-bezier(.19, 1, .22, 1); }
.mpanel__mail { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: rgba(11, 15, 13, .55); opacity: 0; transition: opacity .25s, color .2s; }
.mpanel__mail:hover { color: #0b8f4d; }
.menu-open .mpanel__cta { opacity: 1; transform: none; transition: opacity .6s .55s, transform 1s cubic-bezier(.19, 1, .22, 1) .55s; }
.menu-open .mpanel__mail { opacity: 1; transition: opacity .6s .62s, color .2s; }
.menu-open .menu-btn__dots i { width: 14px; height: 2px; margin: -1px 0 0 -7px; }
.menu-open .menu-btn__dots i:first-child { transform: rotate(45deg); }
.menu-open .menu-btn__dots i:last-child { transform: rotate(-45deg); }
@media (prefers-reduced-motion: reduce) {
  .mpanel__nav a, .menu-open .mpanel__nav a, .mpanel__cta, .menu-open .mpanel__cta { transform: none; transition: opacity .2s; }
}

@media (max-width: 720px) {
  .lang__btn { height: 44px; padding: 0 12px; }
  .nav { gap: 8px; }
  .mpanel { width: calc(100vw - 2 * var(--pad) + 4px + var(--jm)); right: -8px; top: -8px; padding: 70px 22px calc(20px + var(--jm)) calc(22px + var(--jm)); }
}

/* ---------- «Что я строю»: без карточек, большой телефон ---------- */
.sheet.work { background: radial-gradient(70% 60% at 72% 50%, rgba(34, 229, 127, .1), transparent 70%), var(--bg-2); overflow: hidden; }
.work__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.work__sub { margin-top: 24px; }
.work__tabs { margin-top: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: 6px; }
.work__tabs button {
  position: relative; width: 100%;
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 14px; align-items: center;
  padding: 18px 20px; border-radius: 22px; text-align: left;
  transition: background-color .4s, color .3s;
}
.work__tabs button::after { /* прогресс автопереключения */
  content: ""; position: absolute; left: 20px; right: 20px; bottom: 8px; height: 2px; border-radius: 2px;
  background: var(--g); transform: scaleX(0); transform-origin: 0 50%; opacity: 0;
}
.work__tabs button.is-active::after { opacity: .7; animation: tabProgress var(--cycle, 5s) linear forwards; }
.work__tabs.is-paused button.is-active::after { animation-play-state: paused; }
@keyframes tabProgress { to { transform: scaleX(1); } }
.work__tabs b { font: 500 13px var(--font-mono); color: var(--dim); transition: color .3s; }
.work__tabs strong { display: block; font-family: var(--font-d); font-weight: 400; font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -.04em; color: #9aa79f; transition: color .3s; }
.work__tabs small { display: block; margin-top: 2px; font-size: 14px; color: var(--dim); transition: color .3s; }
.work__tabs button:hover strong { color: #dfe9e3; }
.work__tabs button.is-active { background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line); }
.work__tabs button.is-active b { color: var(--g); }
.work__tabs button.is-active strong { color: #fff; }
.work__tabs button.is-active small { color: var(--muted); }

.work__stage { position: relative; height: clamp(620px, 52vw, 780px); display: grid; place-items: center; }
.work__glow { position: absolute; inset: 10% 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 229, 127, .3), transparent 70%); filter: blur(30px); animation: glowPulse 7s ease-in-out infinite; }

.xphone {
  position: relative; z-index: 2;
  width: clamp(270px, 23vw, 340px); aspect-ratio: 9 / 18.6;
  padding: 12px; border-radius: 52px;
  background: #020403;
  box-shadow: 0 0 0 6px #1a201d, 0 0 0 7px #313a35, 0 60px 120px -30px rgba(0, 0, 0, .9), 0 0 80px -10px rgba(34, 229, 127, .25);
  transform: rotate(-4deg);
  display: flex; flex-direction: column;
}
.xphone__notch { position: absolute; top: 20px; left: 50%; translate: -50% 0; width: 92px; height: 26px; border-radius: 999px; background: #000; box-shadow: inset 0 0 0 1px #1b201d; z-index: 3; }
.screens { position: relative; flex: 1; border-radius: 42px; overflow: hidden; background: linear-gradient(180deg, #0c1410, #060a08); }
.screen { position: absolute; inset: 0; padding: 58px 16px 16px; opacity: 0; transform: scale(1.04); filter: blur(6px); transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s var(--ease); }
.screen.is-active { opacity: 1; transform: none; filter: none; }
.xphone__dock { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; display: flex; width: 116px; height: 44px; border-radius: 999px; background: rgba(29, 36, 33, .9); overflow: hidden; z-index: 3; }
.xphone__dock span { flex: 1; display: grid; place-items: center; font-size: 22px; color: #fff; }
.xphone__dock span:first-child { background: #fff; color: #000; border-radius: 999px; }

.scr__k { font-size: 12px; color: #9fb0a6; }
.scr__k--sec { margin-top: 16px; }
.scr__big { display: flex; align-items: flex-start; gap: 4px; margin-top: 6px; }
.scr__big .dots { font-size: clamp(40px, 3.6vw, 52px); line-height: 1; }
.scr__big small { font-size: 15px; color: var(--muted); margin-top: 4px; }
.scr__badge { display: inline-block; margin-top: 8px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(34, 229, 127, .15); color: var(--g-hi); }
.scr__spark { height: 50px; margin-top: 8px; }
.scr__spark svg { width: 100%; height: 100%; overflow: visible; }
.scr__spark path { fill: none; stroke: var(--g); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(34, 229, 127, .8)); }
.screen.is-active .scr__spark path { animation: sparkDraw 1.6s var(--ease) .3s forwards; }
@keyframes sparkDraw { to { stroke-dashoffset: 0; } }
.deals { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; }
.deals li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 16px; background: rgba(255, 255, 255, .05); font-size: 12px; opacity: 0; transform: translateY(8px); }
.screen.is-active .deals li { animation: fadeUp .6s var(--ease) forwards; }
.screen.is-active .deals li:nth-child(2) { animation-delay: .15s; } .screen.is-active .deals li:nth-child(3) { animation-delay: .3s; }
.deals small { display: block; font-size: 10.5px; color: var(--muted); }
.ava { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; background: rgba(255, 255, 255, .1); }
.st { font-style: normal; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #cfdcd4; }
.st--new { background: rgba(214, 255, 92, .18); color: var(--lime); }
.st--paid { background: var(--g); color: var(--ink); }

.site { border-radius: 22px; padding: 16px; background: #eef3f0; color: #0b120e; display: flex; flex-direction: column; gap: 8px; }
.site__brand { font-size: 10px; font-weight: 600; color: #4d6157; }
.site__h { font-family: var(--font-d); font-size: 17px; line-height: 1.15; letter-spacing: -.04em; }
.site .sk { background: #d4ddd8; }
.site__btn { align-self: flex-start; margin-top: 4px; padding: 9px 14px; border-radius: 999px; background: #0b120e; color: #fff; font-size: 11px; font-weight: 600; animation: pulseBtn 2.4s ease-in-out infinite; }
.site__img { height: 70px; border-radius: 14px; margin-top: 4px; }
.site__toast { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 10px 12px; border-radius: 16px; background: rgba(34, 229, 127, .14); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(10px); }
.site__toast i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: var(--ink); font-style: normal; }
.site__toast small { display: block; font-weight: 400; color: var(--muted); font-size: 10.5px; }
.screen.is-active .site__toast { animation: fadeUp .6s var(--ease) 1s forwards; }
.site__funnel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 12px; text-align: center; }
.site__funnel span { padding: 10px 4px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.site__funnel .dots { display: block; font-size: 22px; }
.site__funnel small { font-size: 10px; color: var(--muted); }

.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tiles .tile { min-height: 116px; border-radius: 24px; }
.tiles .tile .dots { font-size: 32px; line-height: 1; }
.tiles .tile .dots small { font-family: var(--font-b); font-size: 12px; text-shadow: none; margin-left: 2px; }
.tile--wide { grid-column: 1 / -1; min-height: 92px !important; flex-direction: row !important; align-items: center !important; gap: 12px; }
.tile__note { font-size: 11px; color: #a7b8ae; }

.chat2 { display: flex; flex-direction: column; gap: 7px; }
.chat2__head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.chat2__head i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: var(--ink); font-style: normal; font-family: var(--font-d); }
.chat2__head small { display: block; font-weight: 400; font-size: 11px; color: var(--g); }
.chat2 .msg { font-size: 12px; opacity: 0; transform: translateY(8px); }
.screen.is-active .chat2 .msg { animation: fadeUp .5s var(--ease) forwards; }
.screen.is-active .chat2 .msg:nth-of-type(2) { animation-delay: .5s; } .screen.is-active .chat2 .msg:nth-of-type(3) { animation-delay: 1s; }
.screen.is-active .chat2 .msg:nth-of-type(4) { animation-delay: 1.5s; } .screen.is-active .chat2 .msg:nth-of-type(5) { animation-delay: 2s; }

/* плавающие таблетки-виджеты вокруг телефона */
.fpill {
  position: absolute; z-index: 3;
  width: clamp(190px, 15vw, 240px); padding: 16px 22px 18px;
  border-radius: 999px;
  color: #fff; text-align: center;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .16);
  backdrop-filter: blur(14px);
  will-change: transform;
}
.fpill--a { left: 0; top: 14%; }
.fpill--b { right: -2%; top: 42%; }
.fpill--c { left: 6%; bottom: 12%; }
.fpill.glass { background: rgba(16, 26, 21, .6); }
.fpill__k { display: block; font-size: 12px; color: rgba(255, 255, 255, .8); }
.fpill__row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.fpill__row .dots { font-size: clamp(36px, 3vw, 46px); line-height: 1; }
.fpill__row small { font-size: 12px; color: rgba(255, 255, 255, .75); }
.fpill__row em { font-style: normal; font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .45); }

/* ---------- «Почему я»: таблетки с точечными цифрами ---------- */
.about__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spill {
  position: relative; overflow: hidden;
  min-height: clamp(180px, 15vw, 220px);
  padding: 22px 26px;
  border-radius: 999px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 30px 60px -28px rgba(0, 0, 0, .8);
}
.spill:nth-child(2), .spill:nth-child(4) { transform: translateY(32px); }
.spill.is-in:nth-child(2), .spill.is-in:nth-child(4) { transform: translateY(32px); }
.spill--glass { background: radial-gradient(60% 70% at 50% 110%, rgba(34, 229, 127, .28), transparent 70%), rgba(16, 24, 20, .7); }
.spill__k { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.spill .dots { font-size: clamp(54px, 5vw, 80px); line-height: 1; }
.spill .dots small { font-family: var(--font-b); font-size: .3em; font-weight: 500; text-shadow: none; margin-left: 4px; }
.spill p { max-width: 210px; font-size: 13px; line-height: 1.4; color: rgba(255, 255, 255, .78); }

/* ---------- окно услуги: цены точками, этапы-таблетки ---------- */
.svc-price b { font-family: var(--font-b); color: inherit; }
.svc-price__num { display: inline-flex; align-items: flex-start; gap: 6px; }
.svc-price__num .pre { font: 500 clamp(16px, 1.4vw, 22px) var(--font-b); color: var(--muted); margin-top: .5em; }
.svc-price__num .dots { font-size: clamp(48px, 6vw, 96px); line-height: 1; }
.svc-price__num .cur { font: 500 clamp(20px, 2vw, 32px) var(--font-b); color: var(--g-hi); margin-top: .2em; }
.stages { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.stage {
  position: relative; overflow: hidden;
  min-height: 230px;
  padding: 26px 28px;
  border: 0; border-radius: 48px;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  display: flex; flex-direction: column; gap: 6px;
  transition: transform .6s var(--ease);
}
.stage:hover { transform: translateY(-6px) rotate(-.6deg); }
.stages .stage:nth-child(4n+1) { background: radial-gradient(55% 60% at 30% 75%, rgba(2, 10, 6, .8), transparent 70%), radial-gradient(75% 65% at 92% 4%, #e2ff7a, transparent 62%), linear-gradient(150deg, #3ef0a2, #13894f 55%, #073a20); }
.stages .stage:nth-child(4n+2) { background: radial-gradient(50% 55% at 70% 65%, rgba(2, 12, 12, .8), transparent 70%), radial-gradient(70% 60% at 8% 6%, #a6fff0, transparent 60%), linear-gradient(160deg, #23d0b8, #0f6d62 60%, #06302c); }
.stages .stage:nth-child(4n+3) { background: radial-gradient(55% 60% at 40% 75%, rgba(4, 10, 7, .8), transparent 70%), linear-gradient(150deg, #a9c7b6, #5c7f6c 60%, #2c4136); }
.stages .stage:nth-child(4n+4) { background: radial-gradient(60% 60% at 85% 90%, rgba(214, 255, 92, .6), transparent 65%), radial-gradient(60% 60% at 20% 20%, rgba(34, 229, 127, .5), transparent 70%), linear-gradient(160deg, #0f2a1c, #061009); }
.stage__n { font: 600 11px var(--font-mono); letter-spacing: .1em; color: rgba(255, 255, 255, .75); }
.stage__amt { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; font-family: var(--font-b); color: #fff; }
.stage__amt .dots { font-size: clamp(46px, 4vw, 64px); line-height: 1; }
.stage__amt .rest { font-size: 16px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.stage h3 { margin-top: auto; font-size: 17px; font-weight: 600; color: #fff; }
.stage p { font-size: 13.5px; color: rgba(255, 255, 255, .8); line-height: 1.5; }

/* ---------- форма-квиз ---------- */
.quiz {
  position: relative;
  padding: clamp(22px, 3vw, 40px);
  border-radius: 44px;
  background: radial-gradient(60% 50% at 100% 0%, rgba(34, 229, 127, .14), transparent 70%), rgba(14, 21, 17, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.quiz__head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.quiz__step { display: inline-flex; align-items: baseline; gap: 6px; }
.quiz__step .dots { font-size: 44px; line-height: 1; }
.quiz__step small { font: 500 13px var(--font-mono); color: var(--muted); }
.quiz__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.quiz__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--g), var(--lime)); transform-origin: 0 50%; transform: scaleX(.33); transition: transform .7s var(--ease); }
.quiz__back { font-size: 13px; color: var(--muted); padding: 8px 12px; border-radius: 999px; transition: color .2s, background-color .2s; }
.quiz__back:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.quiz__steps { position: relative; }
.js .quiz__steps { display: grid; }
.quiz__panel { border: 0; margin: 0; padding: 0; min-width: 0; }
.js .quiz__panel { grid-area: 1 / 1; opacity: 0; transform: translateX(40px); pointer-events: none; transition: opacity .5s var(--ease), transform .7s var(--ease); }
.js .quiz__panel.is-past { transform: translateX(-40px); }
.js .quiz__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quiz__q { padding: 0; margin-bottom: 20px; font-family: var(--font-d); font-size: clamp(22px, 2.2vw, 32px); letter-spacing: -.045em; line-height: 1.15; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; padding: 8px 8px 8px 22px; border-radius: 999px; background: #121a16; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background-color .3s, box-shadow .3s, transform .4s var(--ease), color .3s; }
.opt:hover { box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .5); transform: translateY(-2px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { font-size: 15px; font-weight: 500; }
.opt span .dots { font-size: 22px; margin-right: 4px; }
.opt i { flex: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: background-color .3s, transform .5s var(--ease); }
.opt i::before { content: ""; width: 12px; height: 7px; border-left: 2px solid #0a0f0c; border-bottom: 2px solid #0a0f0c; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .4s var(--ease); }
.opt input:checked ~ i::before { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.opt:has(input:checked) { background: var(--g); color: var(--ink); box-shadow: 0 14px 40px -14px rgba(34, 229, 127, .6); }
.opt:has(input:checked) .dots { color: var(--ink); text-shadow: none; }
.opt:has(input:focus-visible) { outline: 2px solid var(--g); outline-offset: 3px; }
.opt--ghost { background: transparent; }
.opts--budget .opt--ghost { grid-column: 1 / -1; }
.quiz .brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.send { margin-top: 16px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; padding: 8px 8px 8px 28px; border-radius: 999px; background: var(--g); color: var(--ink); font-size: 16px; font-weight: 600; box-shadow: 0 16px 44px -14px rgba(34, 229, 127, .6); transition: background-color .3s, transform .5s var(--ease); }
.send:hover { background: var(--lime); }
.send i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: #0a0f0c; color: #fff; transition: transform .5s var(--ease); }
.send:hover i { transform: rotate(-45deg); }
.send .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.quiz .brief__note { margin-top: 18px; }

@media (max-width: 960px) {
  .work__grid { grid-template-columns: 1fr; }
  .work__stage { height: 640px; }
}
@media (max-width: 720px) {
  .work__tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad); }
  .work__tabs::-webkit-scrollbar { display: none; }
  .work__tabs li { flex: none; }
  .work__tabs button { grid-template-columns: auto; padding: 12px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
  .work__tabs b, .work__tabs small { display: none; }
  .work__tabs strong { font-size: 15px; white-space: nowrap; }
  .work__tabs button::after { left: 16px; right: 16px; bottom: 4px; }
  .work__stage { height: 600px; }
  .xphone { width: 260px; }
  .fpill { width: 156px; padding: 12px 14px 14px; }
  .fpill__row .dots { font-size: 30px; }
  .fpill--a { left: -2%; top: 6%; }
  .fpill--b { right: -3%; top: 46%; }
  .fpill--c { left: -2%; bottom: 6%; }
  .spill { border-radius: 64px; min-height: 170px; padding: 18px 14px; }
  .spill:nth-child(2), .spill:nth-child(4), .spill.is-in:nth-child(2), .spill.is-in:nth-child(4) { transform: none; }
  .spill .dots { font-size: 50px; }
  .spill p { font-size: 12px; }
  .stage { border-radius: 36px; min-height: 200px; }
  .opts { grid-template-columns: 1fr; }
  .quiz { border-radius: 32px; }
  .quiz .brief__row { grid-template-columns: 1fr; }
}

/* «Что я строю»: телефон справа, виджеты слева — не перекрывают экран */
.xphone { justify-self: end; margin-right: 6%; }
.fpill--a { left: 0; top: 10%; }
.fpill--b { left: 8%; right: auto; top: 40%; }
.fpill--c { left: -2%; bottom: 12%; }
@media (max-width: 720px) {
  .xphone { justify-self: center; margin-right: 0; }
  .fpill--a { left: -3%; top: 4%; }
  .fpill--b { left: auto; right: -3%; top: 44%; }
  .fpill--c { left: -3%; bottom: 6%; }
}
@media (max-width: 760px) {
  .l-toasts { top: auto; bottom: 1%; left: var(--pad); width: min(240px, 62vw); }
  .toasts { height: 128px; }
}

/* v4: цельная композиция слева — мазок за спиной, уведомления у плеча */
.l-swipe { left: -6%; top: 30%; width: 58%; aspect-ratio: 820 / 511; opacity: .5; }
.l-toasts { left: calc(var(--px) - 26%); top: 42%; width: clamp(250px, 20vw, 310px); }
.toasts { perspective: 900px; }
.toast { transform-style: preserve-3d; }
.l-toasts .li { transform-origin: 100% 50%; }
.l-toasts .toasts { transform: perspective(900px) rotateY(14deg); }
@media (max-width: 1180px) { .l-toasts { left: var(--pad); top: 46%; } }
@media (max-width: 760px) {
  .l-swipe { display: none; }
  .l-toasts .toasts { transform: none; }
}
@media (max-width: 760px) { .l-toasts { top: auto; bottom: 1%; left: var(--pad); width: min(240px, 62vw); } }

/* v4: новое фото, целые горшки на столе, кот как на фото */
.l-person { aspect-ratio: 1400 / 913; }
.l-plants-r { left: calc(var(--px) + 17%); bottom: 6.3%; height: 16.5%; aspect-ratio: 1000 / 501; }
.l-cat { right: 0; bottom: calc(var(--sheet-r) - 1.5%); height: 24%; aspect-ratio: 640 / 628; }
@media (max-width: 1180px) { .l-plants-r { left: calc(var(--px) + 20%); height: 14%; } }
@media (max-width: 760px) { .l-cat { right: -1vw; bottom: 0; height: auto; width: 30vw; } }
/* стол поднят над бегущей линией: горшки видны целиком и стоят на столе */
.hero { --ph: 76%; }
.l-person { bottom: 9%; }
.l-plants-r { bottom: 15.2%; }
@media (max-width: 1180px) { .hero { --ph: 68%; } .l-plants-r { bottom: 14.6%; } }
@media (max-width: 760px) { .l-person { bottom: 0; } }
@media (max-width: 760px) {
  .scene--stage { height: 100vw; max-height: 480px; margin-top: 14px; }
  .l-person { width: 150vw; }
}

/* v5: горшки стоят на нижнем краю (как коробка с котом), линия проходит за ними */
.scene--front { z-index: 3; }
.js .l-pots > .li, .js .l-pot-l > .li { transform: translateY(14%) scale(1.04); }
.l-pots { left: calc(var(--px) + 18%); bottom: calc(var(--sheet-r) - 1%); height: 15%; aspect-ratio: 1000 / 501; }
.l-pot-l { left: -2%; bottom: calc(var(--sheet-r) - 1%); height: 48%; aspect-ratio: 700 / 1000; }
.l-plants-l { display: none; }

/* уведомления: выше и левее, списком из четырёх */
.l-toasts { left: var(--pad); top: 15%; width: clamp(250px, 19vw, 290px); }
.l-toasts .toasts { height: 330px; transform: perspective(900px) rotateY(8deg); }
@media (max-width: 1180px) { .l-toasts { top: 18%; } }
@media (max-width: 760px) {
  .scene--front { display: none; }
  .l-plants-l { display: block; }
  .l-toasts { top: auto; bottom: 1%; }
  .l-toasts .toasts { height: 128px; transform: none; }
}
.l-pot-l { aspect-ratio: 720 / 995; }
/* горшки читаются на тёмном: подсветка пола и тонкий контур */
.l-pots img, .l-pot-l img { filter: brightness(1.22) drop-shadow(0 0 1px rgba(150, 255, 200, .35)) drop-shadow(0 -6px 18px rgba(34, 229, 127, .18)); }
.l-pots::before, .l-pot-l::before {
  content: ""; position: absolute; z-index: -1; left: 4%; right: 4%; bottom: -10px; height: 34%;
  background: radial-gradient(50% 50% at 50% 70%, rgba(34, 229, 127, .32), transparent 75%);
  filter: blur(10px);
}
.l-pot-l::before { left: 18%; right: 18%; height: 20%; }
.is-loaded .l-pots > .li, .is-loaded .l-pot-l > .li { transform: none; }

/* v6: один горшок закрывает обрезанный край стола */
.hero { --hh: clamp(680px, 100svh, 1120px); --half: .5827; }  /* половина ширины слоя со столом: 76% × 1400/913 / 2 */
.l-pots { left: calc(var(--px) + var(--hh) * var(--half)); translate: -50% 0; bottom: calc(var(--sheet-r) - 1.5%); height: 30%; aspect-ratio: 560 / 595; }
.l-pots::before { left: 14%; right: 14%; height: 18%; }

/* монстера слева: ниже и спокойнее, не перетягивает внимание */
.l-pot-l { left: -3%; bottom: calc(var(--sheet-r) - 3.5%); height: 36%; }
.l-pot-l img { filter: brightness(.86) saturate(.9) blur(.5px) drop-shadow(0 0 1px rgba(150, 255, 200, .25)); }

/* слои на всю ширину с запасом: при движении мыши по краям не появляется «полоса-дыра» */
.l-mist, .l-mist2 { inset: -6%; }
.l-dust { inset: -5%; }

/* блок с заголовком и кнопками выше, ближе к шапке */
.hero-right { top: clamp(104px, 13vh, 150px); translate: none; }

@media (max-width: 1180px) { .hero { --half: .5214; } .l-pots { height: 26%; } }
/* блок с заголовком и кнопками: чуть ниже и чуть правее */
.hero-right { top: clamp(136px, 17vh, 190px); right: max(16px, calc(var(--pad) - 28px)); }
.l-pots { height: 27%; }

/* v7: горшок убран; края стола мягко растворяются в темноте вместо резкого среза */
.l-person img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
}

/* v8: «кустик» торчит из нижнего края между бегущей линией и котом */
.js .l-bush > .li { transform: translateY(18%) scale(1.04); }
.is-loaded .l-bush > .li { transform: none; }
.l-bush { right: 14.5%; bottom: calc(var(--sheet-r) - 8px); width: clamp(260px, 23vw, 360px); aspect-ratio: 800 / 243; }
.l-bush img { filter: brightness(1.05) drop-shadow(0 -6px 18px rgba(34, 229, 127, .15)); }

/* v9: кустик выходит из-за края hero и свешивается на блок «Услуги» */
.edge-bush {
  position: absolute; z-index: 5; top: 0; right: 14.5%;
  width: clamp(260px, 23vw, 360px); aspect-ratio: 800 / 243;
  transform: translateY(-64%);
  pointer-events: none;
}
.edge-bush img {
  width: 100%; height: 100%; display: block;
  -webkit-mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .6) 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 52%, rgba(0, 0, 0, .6) 72%, transparent 100%);
  filter: brightness(1.05) drop-shadow(0 12px 18px rgba(0, 0, 0, .55));
}
@media (max-width: 760px) { .edge-bush { display: none; } }

/* v10: куст растёт в hero (основание за краем блока), через край свисают только листья */
.edge-bush { aspect-ratio: 800 / 308; transform: translateY(-79%); }
.edge-bush img {
  -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 88%, transparent 100%);
  filter: brightness(1.05) drop-shadow(0 10px 14px rgba(0, 0, 0, .6));
  transform-origin: 50% 79%;
}

/* v11: новый высокий куст заполняет пространство между ноутбуком и котом */
.edge-bush { right: 13.9%; width: clamp(240px, 19.5vw, 330px); aspect-ratio: 640 / 706; transform: translateY(-79.5%); }
.edge-bush img { transform-origin: 50% 79.5%; -webkit-mask-image: linear-gradient(180deg, #000 92%, transparent 100%); mask-image: linear-gradient(180deg, #000 92%, transparent 100%); }
.edge-bush { width: clamp(230px, 18.4vw, 320px); right: 14.2%; }

/* v12: куст конопли — крона тянется вправо и немного закрывает коробку кота */
.edge-bush { right: 13.2%; width: clamp(250px, 23.6vw, 380px); aspect-ratio: 700 / 608; transform: translateY(-77.7%); }
.edge-bush img { transform-origin: 50% 77.7%; }

/* v13: реалистичный тёмный куст конопли, чуть правее */
.edge-bush { right: 11.5%; width: clamp(250px, 24.3vw, 390px); aspect-ratio: 700 / 613; transform: translateY(-75.1%); }
.edge-bush img { transform-origin: 50% 75.1%; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .6)); }

/* v14: филодендрон с эпипремнумом вместо конопли — лианы свисают на блок «Услуги» */
.edge-bush { right: 11.5%; width: clamp(260px, 27.5vw, 440px); aspect-ratio: 700 / 603; transform: translateY(-67.8%); }
.edge-bush img { transform-origin: 50% 67.8%; -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 90%, transparent 100%); }

/* v15: один настоящий папоротник (Kimberly Queen) — вайи свисают на блок «Услуги» */
.edge-bush { right: 11.5%; width: clamp(250px, 26.4vw, 420px); aspect-ratio: 720 / 616; transform: translateY(-69%); }
.edge-bush img { transform-origin: 50% 69%; -webkit-mask-image: linear-gradient(180deg, #000 90%, transparent 100%); mask-image: linear-gradient(180deg, #000 90%, transparent 100%); }

/* v16: чистая вырезка папоротника, лёгкий параллакс (смещение через translate, transform — для JS) */
.edge-bush { aspect-ratio: 720 / 624; transform: none; translate: 0 -72.4%; will-change: transform; }
.edge-bush img {
  transform-origin: 50% 72.4%;
  -webkit-mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 96%, transparent 100%);
}
.edge-bush { width: clamp(250px, 25vw, 400px); }

/* дымка видна только после успешной отрисовки; при потере WebGL-контекста холст не закрывает сцену белым */
.l-mist canvas, .l-mist2 canvas { opacity: 0; transition: opacity .8s ease; }
.l-mist canvas.gl-ok, .l-mist2 canvas.gl-ok { opacity: 1; }

/* v18: папоротник выглядывает из-за блока «Услуги»: срез спрятан на 8px ниже края блока */
.l-fern { right: 11.5%; bottom: calc(var(--sheet-r) - 8px); width: clamp(250px, 25vw, 400px); aspect-ratio: 720 / 408; }
.l-fern img { transform-origin: 50% 100%; filter: drop-shadow(0 -4px 16px rgba(0, 0, 0, .35)); }
.js .l-fern > .li { transform: translateY(18%) scale(1.03); }
.is-loaded .l-fern > .li { transform: none; }

/* v19: папоротник из двух слоёв в одних координатах.
   Задний — в hero, основание уходит за край блока «Услуги»; передний — поверх блока, только свисающие вайи.
   Линия края блока = 62.39% высоты картинки. Оба слоя двигаются одинаково (один data-depth). */
.l-fern, .fern-front { right: 10%; width: clamp(250px, 25vw, 400px); aspect-ratio: 720 / 623; }
.l-fern { bottom: var(--sheet-r); translate: 0 37.61%; }
.fern-front { position: absolute; top: 0; z-index: 5; pointer-events: none; translate: 0 -62.39%; will-change: transform; }
.l-fern img, .fern-front img { display: block; width: 100%; height: 100%; transform-origin: 50% 100%; filter: none; }
.js .l-fern > .li { transform: none !important; filter: none !important; }
.js .fern-front { opacity: 0; transition: opacity 1.4s var(--ease) .75s; }
.is-loaded .fern-front { opacity: 1; }
@media (max-width: 760px) { .fern-front { display: none; } }

/* v20: цельные свисающие вайи; край блока читается как край полки (блик + тень от листьев) */
.l-fern, .fern-front { aspect-ratio: 720 / 586; }
.l-fern { translate: 0 33.47%; }
.fern-front { translate: 0 -66.53%; }
.fern-front img { filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); }
.sheet.services::after {
  content: ""; position: absolute; z-index: 4; left: 8%; right: 8%; top: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(214, 255, 232, .14) 25%, rgba(214, 255, 232, .14) 75%, transparent);
}

/* v21: новый папоротник без горшка — листья свисают через край по всей ширине, ничего не вырезано.
   Линия края блока = 61.41% высоты картинки. */
.l-fern, .fern-front { aspect-ratio: 720 / 632; }
.l-fern { translate: 0 38.59%; }
.fern-front { translate: 0 -61.41%; }
.fern-front img { filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .45)); }
.sheet.services::after { display: none; }

/* v23: низ первого экрана плавно уходит в цвет блока «Услуги» — без резкой ступеньки фона за папоротником.
   Лежит над дымкой и столом, но под котом, бегущей линией и передним планом (папоротник, монстера). */
.hero__floor {
  position: absolute; left: 0; right: 0; bottom: var(--sheet-r);
  height: clamp(70px, 10vh, 110px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 14, 12, 0) 0%, rgba(10, 14, 12, .45) 40%, rgba(10, 14, 12, .85) 75%, #0a0e0c 100%);
}
.sheet.services { box-shadow: 0 -30px 80px -40px rgba(0, 0, 0, .8); }
@media (max-width: 760px) { .hero__floor { display: none; } }

/* =========================================================
   v24: точечный шрифт 5×7, мини-логотип из точек, разделы по референсам
   ========================================================= */

/* ---------- точечный шрифт 5×7 (SVG, круглые точки) ---------- */
.dm { display: inline-block; height: .72em; vertical-align: baseline; overflow: visible; fill: currentColor; }
.dm-sr { position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.dots, .dotnum, .pcard__num, [data-dm] { font-family: var(--font-b); font-weight: 400; font-variation-settings: normal; letter-spacing: 0; text-shadow: none !important; }
.dots .dm, .dotnum .dm, [data-dm] .dm { filter: drop-shadow(0 0 .045em rgba(255, 255, 255, .28)); }
.pcard__num .dm { transition: filter .5s; }
.pcard:hover .pcard__num .dm { filter: drop-shadow(0 0 .05em rgba(255, 255, 255, .7)) drop-shadow(0 0 .2em rgba(34, 229, 127, .6)); }
.scr__big { align-items: baseline; gap: .3em; }
.scr__big small { font-size: clamp(22px, 2vw, 30px); color: #d5e5db; margin: 0; }
.spill .dots small { margin-left: 6px; }

/* ---------- мини-логотип из точек (как большой в подвале), на hover — зелёная волна ---------- */
.logo__word {
  display: block; width: 128px; height: 24px; font-size: 0;
  -webkit-mask: url("../img/logo-dots.svg") center / contain no-repeat;
  mask: url("../img/logo-dots.svg") center / contain no-repeat;
  background: linear-gradient(100deg, #e9f3ed 0 40%, var(--g) 46%, var(--lime) 50%, var(--g) 54%, #e9f3ed 60% 100%);
  background-size: 280% 100%;
  background-position: 100% 0;
  transition: background-position 1.2s var(--ease);
  animation: logoSweep 1.8s var(--ease) 1.4s 1;
}
.logo:hover .logo__word { background-position: 0 0; }
@keyframes logoSweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* ---------- кнопки ---------- */
.btn--white { background: #fff; color: #0a120e; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .45); }
.btn--white:hover { background: var(--lime); }
.btn--grad { color: #03140a; background: linear-gradient(100deg, var(--lime), var(--g) 60%, var(--g-hi)); box-shadow: 0 14px 34px -12px rgba(34, 229, 127, .7); }
.btn--grad:hover { filter: brightness(1.08); }

/* ---------- ярлык-таблетка и заголовок-утверждение (как в референсе About) ---------- */
.pill-label { display: inline-flex; margin: 0 0 22px; font: 500 15px/1 var(--font-b); letter-spacing: 0; }
.pill-label span {
  display: inline-block; padding: 11px 20px; border-radius: 999px; color: #e9f4ee;
  border: 1.5px solid transparent;
  background: linear-gradient(#0a0e0c, #0a0e0c) padding-box, linear-gradient(90deg, var(--g), var(--lime), var(--teal)) border-box;
}
.statement { font-family: var(--font-d); font-weight: 500; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.18; letter-spacing: -.04em; color: #eaf3ee; max-width: 760px; }
.statement .st-hl { background: linear-gradient(95deg, var(--g) 0%, var(--lime) 55%, var(--g-hi) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.statement .dim { color: #4c5b53; }

/* ---------- «Что входит»: стеклянные плашки с галочками, отмечаются по очереди ---------- */
.svc-incl { gap: 10px 12px; }
.svc-incl li {
  position: relative; display: flex; align-items: center; gap: 14px;
  min-height: 56px; padding: 8px 22px 8px 9px; border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .03));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  color: #e3ece6; font-size: 15px; line-height: 1.35;
}
.svc-incl li::before {
  position: relative; left: auto; top: auto; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--g); box-shadow: 0 8px 18px -6px rgba(34, 229, 127, .7);
}
.svc-incl li::after {
  content: ""; position: absolute; left: 22px; top: 50%;
  width: 12px; height: 6.5px; border-left: 2.2px solid #03140a; border-bottom: 2.2px solid #03140a;
  transform: translateY(-65%) rotate(-45deg);
}
.svc.is-open .svc-incl li::before { animation: incCircle .5s var(--ease) both; animation-delay: calc(.6s + var(--k, 0) * .12s); }
.svc.is-open .svc-incl li::after { animation: incCheck .45s var(--ease) both; animation-delay: calc(.75s + var(--k, 0) * .12s); }
@keyframes incCircle { from { background-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); } to { background-color: var(--g); box-shadow: 0 8px 18px -6px rgba(34, 229, 127, .7); } }
@keyframes incCheck { from { opacity: 0; transform: translateY(-65%) rotate(-45deg) scale(0); } to { opacity: 1; transform: translateY(-65%) rotate(-45deg) scale(1); } }

/* ---------- этапы оплаты: карточки как «Today task» ---------- */
.stages { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.stage { min-height: 310px; padding: 24px 24px 22px; border-radius: 40px; gap: 14px; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(80% 60% at 0% 0%, rgba(3, 10, 6, .55), transparent 72%); }
.stage > * { position: relative; z-index: 1; }
.stage__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.stage__title { font-size: 30px; line-height: 1.12; color: #fff; }
.stage__ic { width: 86px; height: 86px; object-fit: contain; margin: -12px -10px -10px 0; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .35)); transition: transform .7s var(--ease); }
.stage:hover .stage__ic { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
.stage__chk {
  align-self: flex-start; display: flex; align-items: center; gap: 10px;
  padding: 6px 16px 6px 6px; border-radius: 999px;
  background: rgba(255, 255, 255, .16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.stage__chk i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; }
.stage__chk i::after { content: ""; position: absolute; left: 8.5px; top: 9px; width: 10px; height: 5.5px; border-left: 2px solid #0b5c34; border-bottom: 2px solid #0b5c34; transform: rotate(-45deg); }
.stage .stage__chk h3 { margin: 0; font-size: 15.5px; font-weight: 600; color: #fff; }
.stage p { margin: 0; font-size: 13.5px; color: rgba(255, 255, 255, .84); line-height: 1.5; }
.stage__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.stage__amt { display: block; margin: 0; line-height: 1; color: #fff; }
.stage__amt .dots { font-size: clamp(40px, 3.4vw, 54px); }
.stage__when { flex: none; padding: 9px 14px; border-radius: 999px; background: #fff; color: #0a120e; font-size: 12.5px; font-weight: 600; white-space: nowrap; }

/* ---------- цена в окне услуги точками: «1 200 €» ---------- */
.svc-price__num { align-items: baseline; gap: .35em; }
.svc-price__num .pre { margin: 0; }

/* ---------- баннер услуги как «Marketplace», зелёный ---------- */
.svc-cta { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 20px; min-height: 260px; padding: clamp(28px, 4vw, 48px); border-radius: 40px; }
.svc-cta .svc-cta__copy { position: relative; z-index: 2; display: flex; flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 10px; max-width: 600px; }
.svc-cta .svc-cta__t { font-family: var(--font-d); font-weight: 600; font-size: clamp(26px, 3vw, 46px); line-height: 1.05; letter-spacing: -.045em; color: #fff; max-width: none; }
.svc-cta .svc-cta__s { font-family: var(--font-b); font-weight: 500; font-size: 16px; line-height: 1.5; letter-spacing: 0; color: rgba(255, 255, 255, .86); max-width: none; }
.svc-cta .btn--white { margin-top: 14px; }
.svc-cta__img { position: relative; z-index: 1; width: clamp(170px, 21vw, 290px); height: auto; margin: -36px -8px -44px 0; filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .35)); animation: ctaFloat 6s ease-in-out infinite; }
@keyframes ctaFloat { 50% { transform: translateY(-10px) rotate(-3deg); } }
.spark { position: absolute; z-index: 1; width: 18px; height: 18px; background: #fff; opacity: .85; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 3.2s ease-in-out infinite; }
.spark--a { left: 56%; top: 16%; }
.spark--b { left: 49%; bottom: 18%; width: 12px; height: 12px; animation-delay: -1.5s; }
@keyframes twinkle { 50% { transform: scale(.55) rotate(45deg); opacity: .35; } }

/* ---------- «Что я строю»: карточки как в референсе About ---------- */
.work__ribbon { position: absolute; z-index: 0; right: -4%; top: -6%; width: clamp(220px, 22vw, 340px); height: auto; mix-blend-mode: screen; opacity: .8; pointer-events: none; transform: rotate(8deg); }
.ftile { position: absolute; z-index: 3; overflow: hidden; isolation: isolate; color: #fff; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(255, 255, 255, .12); will-change: transform; }
.ftile--metric { left: 0; top: 8%; width: clamp(200px, 16vw, 250px); padding: 18px 20px 22px; border-radius: 28px; background: linear-gradient(160deg, rgba(32, 52, 42, .94), rgba(9, 16, 12, .94)); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.ftile__ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--g-hi), var(--g) 55%, #0f7a45); box-shadow: 0 10px 20px -8px rgba(34, 229, 127, .7); }
.ftile__ic svg { width: 22px; height: 22px; fill: none; stroke: #03140a; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ftile__num { position: relative; z-index: 1; margin-top: 14px; display: flex; align-items: baseline; gap: 8px; line-height: 1; }
.ftile__num .dots { font-size: 54px; }
.ftile__t { position: relative; z-index: 1; margin-top: 8px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.ftile__t em { font-style: normal; color: var(--g-hi); font-weight: 600; }
.ftile__waves { position: absolute; z-index: 0; left: -30%; bottom: -26%; width: 170%; max-width: none; height: auto; opacity: .6; mix-blend-mode: screen; pointer-events: none; }
.ftile--stack { left: 6%; top: 47%; display: flex; align-items: center; gap: 12px; width: clamp(230px, 17.5vw, 280px); padding: 12px 18px 12px 12px; border-radius: 999px; background: rgba(8, 14, 11, .84); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.stack { display: flex; flex: none; }
.stack i { width: 36px; height: 36px; margin-left: -10px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #2c3c34, #151f1a); box-shadow: 0 0 0 2px #0a110d; }
.stack i:first-child { margin-left: 0; background: linear-gradient(135deg, var(--g-hi), var(--g)); }
.stack svg { width: 17px; height: 17px; fill: none; stroke: #e9f4ee; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stack i:first-child svg { stroke: #03140a; }
.ftile--stack p { font-size: 13px; line-height: 1.35; color: #cfe0d6; }
.ftile--stack p b { color: #fff; }
.ftile--grad { left: -1%; bottom: 11%; width: clamp(200px, 15vw, 240px); padding: 14px 24px 16px; border-radius: 999px; background: linear-gradient(100deg, #d6ff5c 0%, #22e57f 55%, #0f7a45 100%); color: #03140a; }
.ftile--grad .ftile__num { margin: 0; }
.ftile--grad .ftile__num .dots { font-size: 44px; }
.ftile--grad .ftile__num span { font: 700 15px var(--font-b); }
.ftile--grad .ftile__t { margin-top: 2px; color: rgba(3, 20, 10, .8); font-weight: 600; }
.ftile--grad .dm { filter: none; }

/* ---------- FAQ: ярлык, карточка звонка, вопросы-карточки ---------- */
.sheet.faq { overflow: hidden; background: radial-gradient(55% 45% at 88% 6%, rgba(34, 229, 127, .1), transparent 70%), var(--bg-2); }
.faq__ribbon { position: absolute; z-index: 0; right: -2%; top: -7%; width: clamp(200px, 19vw, 300px); height: auto; mix-blend-mode: screen; opacity: .75; pointer-events: none; transform: rotate(-14deg) scaleX(-1); }
.faq__head { position: relative; z-index: 1; margin-bottom: clamp(28px, 4vw, 48px); }
.faq__head .statement { max-width: 900px; }
.faq__grid { position: relative; z-index: 1; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.callcard {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  min-height: 420px; padding: clamp(24px, 3vw, 36px); border-radius: 36px;
  background: linear-gradient(165deg, rgba(214, 255, 232, .14), rgba(255, 255, 255, .03) 55%), #0c1410;
  box-shadow: inset 0 0 0 1px rgba(214, 255, 232, .12), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.callcard__ava { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(34, 229, 127, .55); }
.callcard__t { margin-top: 6px; font-family: var(--font-d); font-weight: 600; font-size: clamp(22px, 2vw, 30px); line-height: 1.05; letter-spacing: -.04em; text-transform: uppercase; }
.callcard__d { max-width: 340px; color: #b9c8bf; font-size: 15px; line-height: 1.6; }
.callcard .btn { margin-top: 8px; }
.callcard__waves { position: absolute; z-index: -1; left: -30%; bottom: -14%; width: 160%; max-width: none; height: auto; mix-blend-mode: screen; opacity: .8; pointer-events: none; }
.faq__list { border-top: 0; display: flex; flex-direction: column; gap: 12px; }
.faq__item { border-bottom: 0; border-radius: 22px; background: #f1f6f3; color: #0c1410; overflow: hidden; box-shadow: 0 16px 34px -24px rgba(0, 0, 0, .6); transition: background-color .4s; }
.faq__item.is-open { background: linear-gradient(135deg, #c6f6da 0%, #e6f6ec 45%, #f3f8f5 100%); }
.faq__q { padding: 20px 22px 20px 24px; font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; color: #0c1410; }
.faq__q:hover { color: #0b5c34; }
.faq__q i { width: 34px; height: 34px; border-color: rgba(12, 20, 16, .2); color: #0c1410; }
.faq__item.is-open .faq__q i { background: #0c1410; border-color: #0c1410; color: #fff; }
.faq__a p { padding: 0 24px 22px; color: #3a4a41; font-size: 15px; line-height: 1.65; }

@media (max-width: 960px) {
  .faq__grid { grid-template-columns: 1fr; }
  .callcard { min-height: 0; padding-bottom: 120px; }
}
@media (max-width: 720px) {
  .logo__word { width: 107px; height: 20px; }
  .statement { font-size: 24px; }
  .svc-incl { grid-template-columns: 1fr; }
  .stage { min-height: 0; border-radius: 32px; }
  .stage__ic { width: 72px; height: 72px; }
  .svc-cta { grid-template-columns: 1fr; padding-right: 120px; }
  .svc-cta__img { position: absolute; right: -24px; top: -14px; width: 150px; margin: 0; }
  .ftile--metric { left: -2%; top: 4%; width: 160px; padding: 14px 14px 18px; }
  .ftile__num .dots { font-size: 40px; }
  .ftile__ic { width: 36px; height: 36px; border-radius: 12px; }
  .ftile--stack { left: auto; right: -3%; top: 50%; width: 205px; padding: 10px 14px 10px 10px; }
  .stack i { width: 30px; height: 30px; }
  .ftile--grad { left: -3%; bottom: 6%; width: 170px; padding: 12px 18px; }
  .ftile--grad .ftile__num .dots { font-size: 34px; }
  .work__ribbon { width: 180px; right: -14%; top: -4%; }
  .faq__ribbon { width: 160px; right: -10%; }
}
.ftile--grad .dots { color: #03140a; }
/* колонка «Что я строю» не расширяется по ширине ленты вкладок на телефоне */
@media (max-width: 960px) { .work__grid { grid-template-columns: minmax(0, 1fr); } .work__copy { min-width: 0; } }

/* =========================================================
   v27: шаги заявки — лента плашек; прямые контакты; подвал «Быстрые ссылки»
   ========================================================= */
:root { --arr-ne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 9.5l7-7M4 2.5h5.5V8' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* шаги */
.steps { position: relative; display: flex; flex-direction: column; gap: 10px; max-width: 460px; margin-top: 34px; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; border-left: 1.5px dashed rgba(214, 255, 232, .22); }
.steps li {
  position: relative; display: flex; align-items: center; gap: 14px;
  padding: 8px 20px 8px 8px; border: 0; border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 15px; transition: background-color .3s, box-shadow .3s, transform .5s var(--ease);
}
.steps li:hover { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .35); }
.steps li > i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #0b120e; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .22); }
.steps li.is-done > i { background: var(--g); box-shadow: 0 8px 18px -6px rgba(34, 229, 127, .7); }
.steps li.is-done > i::after { content: ""; position: absolute; left: 13.5px; top: 50%; width: 12px; height: 6.5px; border-left: 2.2px solid #03140a; border-bottom: 2.2px solid #03140a; transform: translateY(-65%) rotate(-45deg); }
.steps li.is-next > i { box-shadow: inset 0 0 0 1.5px var(--g); }
.steps li.is-next > i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--g); box-shadow: 0 0 12px rgba(34, 229, 127, .9); }
.steps li.is-next > i::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--g); animation: ringPulse 2.2s var(--ease) infinite; }
@keyframes ringPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.steps__t { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.steps .steps__t b { padding: 0; border-radius: 0; background: none; font: 600 15.5px/1.3 var(--font-b); color: #eef5f1; }
.steps__t small { font-size: 12.5px; line-height: 1.35; color: #8fa197; }
.steps__n { margin-left: auto; padding-left: 10px; font-size: 22px; color: rgba(255, 255, 255, .3); }
.steps li.is-done .steps__n { color: var(--g-hi); }
.steps__n .dm { filter: none !important; }
.steps.is-in li { animation: fadeUp .7s var(--ease) both; animation-delay: calc(.1s + var(--k, 0) * .1s); }
.steps.is-in li.is-done > i::after { animation: incCheck .45s var(--ease) both; animation-delay: .55s; }

/* прямые контакты */
.direct { margin-top: 22px; }
.direct__a {
  height: auto; min-height: 52px; gap: 12px; padding: 6px 20px 6px 6px; border: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  color: #eef5f1; font-size: 15px; font-weight: 500;
}
.direct__a:hover { background: rgba(34, 229, 127, .12); border-color: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .4); }
.direct__ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--g-hi), var(--g)); }
.direct__a .direct__ic svg { width: 18px; height: 18px; stroke: #03140a; }
.direct__a::after, .footer__nav a::after, .footer__contacts a:not(.btn)::after {
  content: ""; flex: none; width: 11px; height: 11px;
  background: currentColor; -webkit-mask: var(--arr-ne) center / contain no-repeat; mask: var(--arr-ne) center / contain no-repeat;
  opacity: .7; transition: transform .35s var(--ease), opacity .3s;
}
.direct__a:hover::after, .footer__nav a:hover::after, .footer__contacts a:not(.btn):hover::after { transform: translate(2px, -2px); opacity: 1; }

/* подвал: заголовки колонок и ссылки со стрелкой ↗ */
.footer__h { margin-bottom: 4px; font-size: 14px; color: #6f8077; }
.footer__nav, .footer__contacts { gap: 14px; }
.footer__nav a, .footer__contacts a:not(.btn) { display: inline-flex; align-items: center; gap: 10px; color: #edf4ef; font-size: 16px; font-weight: 500; }
.footer__nav a:hover, .footer__contacts a:not(.btn):hover { color: var(--g-hi); }
.footer__contacts .btn { margin-top: 10px; }

@media (max-width: 720px) {
  .steps { max-width: none; }
  .steps__t small { font-size: 12px; }
}

/* =========================================================
   v28: цена в окне услуги «загорается», «от» не слипается с цифрами;
   этапы оплаты — синие карточки, название этапа с галочкой внизу справа
   ========================================================= */
/* «от»: обычный межбуквенный интервал (раньше наследовался −0.05em от крупной цены) и отступ от цифр */
.svc-price .svc-price__num { gap: clamp(10px, 1vw, 14px); }
.svc-price .svc-price__num .pre { letter-spacing: 0; line-height: 1; }
.svc-price .dots { color: var(--g); }

/* табло: сами точки зелёные, как деньги. Сначала тусклые, вспыхивают слева направо с коротким миганием */
.svc-price .dm { filter: none; }
.svc-price .dm circle { fill: rgba(34, 229, 127, .16); }
.svc.is-open .svc-price .dm circle { animation: dotOn .5s linear both; animation-delay: calc(.5s + var(--d, 0ms)); }
.svc.is-open .svc-price .dm { animation: dmGlow 1.1s var(--ease) 1.1s both; }
@keyframes dotOn {
  0% { fill: rgba(34, 229, 127, .16); }
  30% { fill: #9dffc8; }
  48% { fill: rgba(34, 229, 127, .42); }
  66%, 100% { fill: #22e57f; }
}
/* лёгкое свечение самих диодов, без ореола вокруг цифр */
@keyframes dmGlow {
  from { filter: drop-shadow(0 0 0 rgba(34, 229, 127, 0)); }
  to { filter: drop-shadow(0 0 .035em rgba(34, 229, 127, .5)); }
}

/* этапы: синие и фиолетовые карточки — зелёные иконки на них больше не теряются */
.stage::before { background: radial-gradient(80% 60% at 0% 0%, rgba(3, 6, 28, .5), transparent 72%); }
.stages .stage:nth-child(4n+1) { background: radial-gradient(55% 60% at 26% 88%, rgba(4, 10, 46, .6), transparent 70%), radial-gradient(70% 55% at 50% -10%, rgba(255, 255, 255, .16), transparent 70%), linear-gradient(200deg, #4a8bff, #2457de 42%, #13308f 78%, #0b1a52); }
.stages .stage:nth-child(4n+2) { background: radial-gradient(50% 55% at 72% 78%, rgba(12, 6, 46, .6), transparent 70%), radial-gradient(70% 55% at 40% -10%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(200deg, #8574ff, #4f3fe0 45%, #2a1e92 80%, #170f56); }
.stages .stage:nth-child(4n+3) { background: radial-gradient(55% 60% at 38% 86%, rgba(6, 10, 32, .6), transparent 70%), linear-gradient(200deg, #6f84bd, #47599a 50%, #262f5b 85%, #1a2144); }
.stages .stage:nth-child(4n+4) { background: radial-gradient(60% 60% at 85% 92%, rgba(124, 104, 255, .5), transparent 65%), radial-gradient(60% 60% at 18% 18%, rgba(56, 132, 255, .4), transparent 70%), linear-gradient(160deg, #121b42, #070b1e); }

/* название этапа с галочкой — внизу справа, на месте прежней белой плашки; если не влезает — переносится вниз */
.stage__foot { flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.stage__amt .dots, .stage__amt .dm { display: block; }
.stage__foot .stage__chk { align-self: center; margin-left: auto; }
.stages:has(> .stage:nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 720px) {
  .stages:has(> .stage:nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .svc.is-open .svc-price .dm circle, .svc.is-open .svc-price .dm { animation-delay: 0s !important; }
}

/* окно услуги: контент начинается под верхней панелью (78px) и на узких экранах */
.svc__body { padding-top: max(100px, clamp(36px, 7vw, 96px)); }
@media (max-width: 720px) {
  /* баннер: пузырь отдельной строкой над заголовком, чтобы не наезжал на длинные названия услуг */
  .svc-cta { padding-right: clamp(28px, 4vw, 48px); }
  .svc-cta__img { position: relative; right: auto; top: auto; order: -1; justify-self: end; width: 128px; margin: -18px -14px -22px 0; }
}
/* =========================================================
   v30: галочки-иконки; этапы крупнее; кнопка «Получить расчёт»; логотип;
   «Что я строю» — длинная лента и кнопка «домой»; FAQ — карточка звонка
   ========================================================= */
:root {
  --chk-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.6 12.6l4.1 4.1 8.7-9.2' fill='none' stroke='%2303140a' stroke-width='2.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --chk-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.6 12.6l4.1 4.1 8.7-9.2' fill='none' stroke='%230b5c34' stroke-width='2.9' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
@keyframes chkPop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

/* галочки: одна и та же SVG-иконка ровно по центру кружка (вместо повёрнутых рамок, которые ложились неровно) */
.svc-incl li::after { left: 9px; top: 50%; width: 38px; height: 38px; margin-top: -19px; border: 0; transform: none; background: var(--chk-dark) center / 18px no-repeat; }
.svc.is-open .svc-incl li::after { animation-name: chkPop; }
.stage__chk i::after { inset: 0; left: 0; top: 0; width: auto; height: auto; border: 0; transform: none; background: var(--chk-green) center / 15px no-repeat; }
.steps li.is-done > i::after { inset: 0; left: 0; top: 0; width: auto; height: auto; border: 0; transform: none; background: var(--chk-dark) center / 19px no-repeat; }
.steps.is-in li.is-done > i::after { animation-name: chkPop; }

/* этапы: «ЭТАП 01» крупнее и жирнее, описание крупнее, иконки чуть больше; без поворота при наведении */
.stage__title { font-size: 40px; line-height: 1.1; }
.stage__title .dm circle { stroke: currentColor; stroke-width: .1px; }
.stage p { font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .88); }
.stage__ic { width: 96px; height: 96px; }
.stage:hover { transform: translateY(-6px); }
/* пузырь в баннере только плавает вверх-вниз, без вращения — так картинка остаётся чёткой */
@keyframes ctaFloat { 50% { transform: translateY(-8px); } }

/* «Получить расчёт»: зелёная кнопка, стрелка в тёмном кружке, блик раз в несколько секунд */
.btn--cta { padding: 0 7px 0 28px; gap: 16px; box-shadow: 0 16px 40px -14px rgba(34, 229, 127, .75), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn--cta .btn__ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--g); transition: transform .5s var(--ease); }
.btn--cta:hover .btn__ic { transform: translateX(2px) rotate(-45deg); }
.btn--cta:hover .arr { transform: none; }
.btn--cta::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: inherit; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .6) 50%, transparent 62%); transform: translateX(-120%); animation: btnShine 3.8s var(--ease-io) 1.5s infinite; }
@keyframes btnShine { 0% { transform: translateX(-120%); } 30%, 100% { transform: translateX(120%); } }
.services__foot p { color: #c9d6ce; font-size: 16px; }

/* логотип: новая раскладка точек (между «r» и «k» пустая колонка) */
.logo__word { -webkit-mask-image: url("../img/logo-dots.svg?v=30"); mask-image: url("../img/logo-dots.svg?v=30"); }

/* «Что я строю»: лента сверху донизу за телефоном, телефон левее */
.work__ribbon { z-index: 1; right: -11%; top: -15%; width: clamp(360px, 48vw, 720px); opacity: .9; transform: rotate(4deg); }
.xphone { margin-right: 15%; }
.deals small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* док телефона: «+» и «домой», белая плашка переезжает к нажатой */
.xphone__dock { cursor: pointer; }
.xphone__dock .dock__pill { position: absolute; z-index: 0; left: 0; top: 0; width: 50%; height: 100%; border-radius: 999px; background: #fff; transition: transform .45s var(--ease); }
.xphone__dock[data-on="home"] .dock__pill { transform: translateX(100%); }
.xphone__dock .dock__btn { position: relative; z-index: 1; color: #fff; background: none; transition: color .3s; }
.xphone__dock .dock__btn.is-on { color: #050807; }
.xphone__dock .dock__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* FAQ: карточка звонка без фото — крупный заголовок, понятная польза */
.callcard { gap: 18px; }
.callcard__t { margin-top: 0; font-size: clamp(34px, 3.6vw, 54px); line-height: .98; }
.callcard__t em { font-style: normal; background: linear-gradient(100deg, var(--lime), var(--g) 70%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.callcard__d { max-width: 440px; color: #d6e2db; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.55; }
.callcard__list { display: flex; flex-direction: column; gap: 10px; }
.callcard__list li { display: flex; align-items: center; gap: 12px; color: #eef5f1; font-size: 15.5px; font-weight: 500; }
.callcard__list li::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--chk-dark) center / 14px no-repeat, var(--g); box-shadow: 0 6px 14px -6px rgba(34, 229, 127, .8); }

@media (max-width: 720px) {
  .stage__title { font-size: 34px; }
  .stage p { font-size: 15px; }
  .stage__ic { width: 80px; height: 80px; }
  .btn--cta { width: 100%; justify-content: space-between; }
  .xphone { margin-right: 0; }
  .work__ribbon { width: 72vw; right: -22%; top: -8%; }
}

/* =========================================================
   v31: форма-калькулятор — выше, шаги по одному, кнопка-свайп «Далее», «назад», цена после отправки
   ========================================================= */
.quiz { display: flex; flex-direction: column; min-height: 720px; }
.quiz__steps { flex: 1; }
.quiz__q small { display: block; margin-top: 8px; font: 500 13.5px/1.4 var(--font-b); letter-spacing: 0; color: var(--muted); }
.quiz__hint { margin: -6px 0 18px; max-width: 460px; color: #b9c8bf; font-size: 15px; line-height: 1.55; }
/* бюджет на шаге «Какой масштаб проекта?» — по желанию (16.11.2026) */
.quiz__budget { margin-top: 14px; max-width: 420px; }
.opts--col { grid-template-columns: 1fr; }
.opt span b { display: block; font-size: 15.5px; font-weight: 600; }
.opt span small { display: block; margin-top: 3px; font-size: 13px; font-weight: 500; color: var(--muted); }
.opt:has(input:checked) span small { color: rgba(3, 20, 10, .72); }
/* галочка в вариантах — та же SVG-иконка, что и везде */
.opt i::before { width: 22px; height: 22px; border: 0; background: var(--chk-dark) center / 22px no-repeat; transform: scale(0); }
.opt input:checked ~ i::before { transform: scale(1); }
.quiz__panel.is-shake { animation: qShake .42s var(--ease); }
@keyframes qShake { 20% { translate: -10px 0; } 45% { translate: 8px 0; } 70% { translate: -4px 0; } 100% { translate: 0 0; } }
.brief__note.is-err { color: #ff9f9f; }

/* низ карточки: «назад» + дорожка свайпа */
.quiz__nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.quiz.is-done .quiz__nav { display: none; }
.quiz__back { position: static; flex: none; width: 64px; height: 64px; padding: 0; border-radius: 50%; display: grid; place-items: center; font-size: 0; color: #fff; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .3s, transform .4s var(--ease); }
.quiz__back:hover { color: #fff; background: rgba(255, 255, 255, .12); transform: translateX(-2px); }
.quiz__back[hidden] { display: none; }
.quiz__back .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: scaleX(-1); }
.swipe { position: relative; flex: 1; min-width: 0; height: 64px; border-radius: 999px; overflow: hidden; cursor: pointer; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; }
.swipe__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 64px; border-radius: 999px; pointer-events: none; background: linear-gradient(90deg, rgba(34, 229, 127, .06), rgba(34, 229, 127, .42)); }
.swipe__label { position: absolute; inset: 0; display: grid; place-items: center; padding: 0 72px; text-align: center; font-size: 15.5px; font-weight: 600; letter-spacing: .01em; color: transparent; background: linear-gradient(100deg, rgba(255, 255, 255, .45) 42%, #fff 50%, rgba(255, 255, 255, .45) 58%) 100% 0 / 260% 100%; -webkit-background-clip: text; background-clip: text; animation: swipeShine 2.4s linear infinite; opacity: calc(1 - var(--p, 0) * 1.6); pointer-events: none; }
@keyframes swipeShine { from { background-position: 100% 0; } to { background-position: 0% 0; } }
.swipe__knob { position: absolute; z-index: 1; left: 6px; top: 6px; width: 52px; height: 52px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: var(--g); color: #03140a; box-shadow: 0 10px 24px -8px rgba(34, 229, 127, .8); cursor: grab; touch-action: none; }
.swipe__knob:active { cursor: grabbing; }
.swipe__knob:focus-visible { outline: 2px solid var(--g-hi); outline-offset: 3px; }
.swipe__knob .arr { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.swipe.is-ready .swipe__knob { animation: knobNudge 1.8s var(--ease) infinite; }
@keyframes knobNudge { 0%, 55%, 100% { translate: 0 0; } 25% { translate: 10px 0; } }
.swipe.is-send .swipe__knob { background: var(--lime); box-shadow: 0 10px 24px -8px rgba(214, 255, 92, .8); }
.swipe.is-send .swipe__fill { background: linear-gradient(90deg, rgba(214, 255, 92, .06), rgba(214, 255, 92, .4)); }

/* итог: вилка цены загорается зелёными точками */
.quiz__done { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 10px; }
.quiz__done-k { color: var(--g-hi); font-size: 15px; font-weight: 600; }
.quiz__done-t { font-family: var(--font-d); font-size: clamp(24px, 2.4vw, 34px); letter-spacing: -.045em; line-height: 1.1; }
.quiz__price { margin: 10px 0 0; }
.quiz__price .dots { font-size: clamp(32px, 3.4vw, 50px); line-height: 1; color: var(--g); }
.quiz__price .dm { filter: none; }
.quiz__price .dm circle { fill: rgba(34, 229, 127, .16); }
.quiz.is-done .quiz__price .dm circle { animation: dotOn .5s linear both; animation-delay: calc(.35s + var(--d, 0ms)); }
.quiz.is-done .quiz__price .dm { animation: dmGlow 1.1s var(--ease) 1.2s both; }
.quiz__unit { color: var(--muted); font-size: 13.5px; }
.quiz__done-d { max-width: 440px; margin-top: 6px; color: #c9d6ce; font-size: 15px; line-height: 1.55; }
.quiz__again { margin-top: 10px; padding: 12px 20px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .3s; }
.quiz__again:hover { background: rgba(255, 255, 255, .12); }

@media (max-width: 720px) {
  .quiz { min-height: 0; }
  .quiz__back { width: 58px; height: 58px; }
  .swipe { height: 58px; }
  .swipe__knob { width: 46px; height: 46px; }
  .swipe__label { padding: 0 62px; }   /* поровну с обеих сторон: надпись по центру всей кнопки, а не правее кружка (18.11) */
}
@media (max-width: 360px) {          /* «Отправить заявку» на узком телефоне — в одну строку, кружок не задевает */
  .swipe__label { padding: 0 56px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .quiz.is-done .quiz__price .dm circle, .quiz.is-done .quiz__price .dm { animation-delay: 0s !important; }
}

/* =========================================================
   v32: калькулятор — 3D-иконки у вариантов, иконки в полях, номер шага загорается;
   левая колонка заявки — только текст, почта и телефон
   ========================================================= */
.opt { justify-content: flex-start; gap: 14px; padding-left: 8px; }
.opt > span { flex: 1; min-width: 0; }
.opt__ic {
  flex: none; width: 48px; height: 48px; border-radius: 50%;
  background-image: url("../img/ui/quiz-ic@2x.webp?v=32"), radial-gradient(circle at 32% 26%, #213028, #0a110d 72%);
  background-image: image-set(url("../img/ui/quiz-ic.webp?v=32") 1x, url("../img/ui/quiz-ic@2x.webp?v=32") 2x, url("../img/ui/quiz-ic@3x.webp?v=32") 3x), radial-gradient(circle at 32% 26%, #213028, #0a110d 72%);
  background-size: 2200% 100%, 100% 100%;
  background-position: calc(var(--i, 0) * 100% / 21) 50%, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: transform .5s var(--ease), box-shadow .3s;
}
.opt:hover .opt__ic { transform: scale(1.06) rotate(-4deg); }
.opt:has(input:checked) .opt__ic { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 8px 18px -8px rgba(0, 0, 0, .55); }

/* поля контактов: иконка слева */
.field--ic input, .field--ic textarea { padding-left: 50px; }
.field--ic label { left: 50px; }
.field__ic { position: absolute; z-index: 1; left: 16px; top: 17px; width: 22px; height: 22px; color: var(--muted); pointer-events: none; transition: color .3s; }
.field__ic svg { display: block; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.field__ic svg[data-k] { display: none; }
.field__ic[data-k="chat"] svg[data-k="chat"], .field__ic[data-k="tg"] svg[data-k="tg"],
.field__ic[data-k="mail"] svg[data-k="mail"], .field__ic[data-k="phone"] svg[data-k="phone"] { display: block; animation: icPop .35s var(--ease); }
@keyframes icPop { from { transform: scale(.5); opacity: 0; } }
.field--ic:focus-within .field__ic { color: var(--g); }

/* номер шага загорается по точкам при переходе вперёд */
.quiz__step .dots.is-ignite .dm circle { animation: dotOnW .5s linear both; animation-delay: calc(.1s + var(--d, 0ms)); }
@keyframes dotOnW { 0% { fill: rgba(255, 255, 255, .14); } 30% { fill: #fff; } 48% { fill: rgba(255, 255, 255, .4); } 66%, 100% { fill: #fff; } }

/* «Другое»: цену не показываем — посчитаю по описанию */
.quiz.is-custom .quiz__price { display: none; }

@media (max-width: 720px) {
  .opt__ic { width: 44px; height: 44px; }
  .opt { gap: 12px; }
}

/* =========================================================
   v33: «Что я строю» — без карточки поверх телефона, мини-плитки во вкладках,
   экраны заполнены до дока, «+» открывает шторку действий
   ========================================================= */
/* вкладки: мини-плитка с 3D-иконкой вместо номера, без серой рамки у активной */
.work__tabs button { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; padding: 14px 18px 18px 14px; }
.work__tabs button.is-active { background: none; box-shadow: none; }
.wtab__ic {
  display: block; width: 52px; height: 52px; border-radius: 16px;
  background-image: url("../img/ui/quiz-ic@2x.webp?v=32"), linear-gradient(160deg, #1e3429, #0a120e);
  background-image: image-set(url("../img/ui/quiz-ic.webp?v=32") 1x, url("../img/ui/quiz-ic@2x.webp?v=32") 2x, url("../img/ui/quiz-ic@3x.webp?v=32") 3x), linear-gradient(160deg, #1e3429, #0a120e);
  background-size: 2200% 100%, 100% 100%;
  background-position: calc(var(--i, 0) * 100% / 21) 50%, 0 0;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  filter: grayscale(.85) brightness(.72);
  transition: filter .4s, box-shadow .4s, transform .5s var(--ease);
}
.work__tabs button:hover .wtab__ic { filter: grayscale(.25) brightness(.95); }
.work__tabs button.is-active .wtab__ic { filter: none; transform: scale(1.05); box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .55), 0 12px 28px -10px rgba(34, 229, 127, .7); }

/* экраны: контент до дока, без пустых полей */
.screen { padding-bottom: 84px; }
.scr__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.scr__stats span { padding: 10px 12px; border-radius: 16px; background: rgba(255, 255, 255, .05); }
.scr__stats .dots { display: block; font-size: 26px; line-height: 1; }
.scr__stats em { display: block; font-style: normal; font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--g-hi); }
.scr__stats small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.screen.is-active .deals li:nth-child(4) { animation-delay: .45s; }
.site__sub { font-size: 11.5px; line-height: 1.4; color: #4d6157; }
.site__proof { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 8px 10px; border-radius: 14px; background: #fff; }
.site__avas { display: flex; }
.site__avas i { width: 24px; height: 24px; margin-left: -6px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--g), #0f7a45); box-shadow: 0 0 0 2px #fff; }
.site__avas i:first-child { margin-left: 0; }
.site__avas i:nth-child(2) { background: linear-gradient(135deg, #6c8cff, #3446c9); }
.site__avas i:nth-child(3) { background: linear-gradient(135deg, #ffb35c, #e0702a); }
.site__proof b { display: block; font-size: 11px; color: #e3a400; letter-spacing: .02em; }
.site__proof small { display: block; font-size: 10px; color: #4d6157; }
.tile--bars { flex-direction: column !important; align-items: stretch !important; min-height: 0 !important; gap: 8px; }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; }
.bars i { flex: 1; height: calc(var(--h, .5) * 100%); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--g-hi), var(--g)); transform-origin: 50% 100%; }
.bars i:last-child { background: linear-gradient(180deg, #f3ffbf, var(--lime)); }
.screen.is-active .bars i { animation: barUp .8s var(--ease) both; }
.screen.is-active .bars i:nth-child(2) { animation-delay: .06s; } .screen.is-active .bars i:nth-child(3) { animation-delay: .12s; }
.screen.is-active .bars i:nth-child(4) { animation-delay: .18s; } .screen.is-active .bars i:nth-child(5) { animation-delay: .24s; }
.screen.is-active .bars i:nth-child(6) { animation-delay: .3s; } .screen.is-active .bars i:nth-child(7) { animation-delay: .36s; }
@keyframes barUp { from { transform: scaleY(0); } }
.screen.is-active .chat2 .msg:nth-of-type(6) { animation-delay: 2.5s; }
.chat2__input { position: absolute; left: 16px; right: 16px; bottom: 74px; display: flex; align-items: center; justify-content: space-between; padding: 6px 6px 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); font-size: 12px; color: var(--muted); }
.chat2__input i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; color: #03140a; background: var(--g); }

/* «+»: шторка быстрых действий выезжает снизу экрана, «домой» её закрывает */
.xsheet { position: absolute; z-index: 2; left: 8px; right: 8px; bottom: 8px; padding: 10px 12px 70px; border-radius: 26px 26px 36px 36px; background: rgba(13, 20, 16, .97); box-shadow: 0 -24px 40px -12px rgba(0, 0, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .08); transform: translateY(110%); transition: transform .55s var(--ease); }
.xsheet.is-open { transform: none; }
.xsheet__grip { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: rgba(255, 255, 255, .22); }
.xsheet__t { margin: 0 4px 8px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.xsheet__list { display: flex; flex-direction: column; gap: 6px; }
.xsheet__list button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 12px 6px 6px; border-radius: 18px; background: rgba(255, 255, 255, .05); color: #eef5f1; font-size: 13px; font-weight: 600; text-align: left; transition: background-color .25s; }
.xsheet__list button:hover { background: rgba(34, 229, 127, .14); }
.xsheet__list button span { flex: 1; }
.xsheet__list button i { font-style: normal; font-size: 18px; color: var(--muted); }
.xsheet .opt__ic { width: 36px; height: 36px; }
.xsheet.is-open .xsheet__list button { animation: fadeUp .45s var(--ease) both; }
.xsheet.is-open .xsheet__list button:nth-child(2) { animation-delay: .06s; }
.xsheet.is-open .xsheet__list button:nth-child(3) { animation-delay: .12s; }
.xtoast { position: absolute; z-index: 2; left: 50%; top: 54px; translate: -50% 0; padding: 9px 14px; border-radius: 999px; background: var(--g); color: #03140a; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 24px -8px rgba(34, 229, 127, .8); opacity: 0; pointer-events: none; }
.xtoast.is-on { animation: xToast 2.6s var(--ease) both; }
@keyframes xToast { 0% { opacity: 0; transform: translateY(-10px); } 12%, 80% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-6px); } }

@media (max-width: 960px) {
  .xphone .deals li:nth-child(4), .xphone .tile--bars { display: none; }
}
@media (max-width: 720px) {
  .work__tabs button { grid-template-columns: 30px auto; gap: 10px; padding: 8px 16px 8px 8px; }
  .wtab__ic { width: 30px; height: 30px; border-radius: 10px; }
  .xphone .scr__stats { display: none; }
}

/* v34: экран сайта в телефоне — конверсия внизу, без пустого места над доком */
.site__conv { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; padding: 12px 14px; border-radius: 16px; background: linear-gradient(100deg, rgba(34, 229, 127, .16), rgba(34, 229, 127, .04)); box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .18); font-size: 12px; font-weight: 600; opacity: 0; transform: translateY(8px); }
.site__conv small { display: block; margin-top: 2px; font-size: 10.5px; font-weight: 400; color: var(--muted); }
.site__conv .dots { font-size: 26px; line-height: 1; }
.screen.is-active .site__conv { animation: fadeUp .6s var(--ease) 1.3s forwards; }

/* v35: варианты калькулятора — без белого кружка справа (место для текста), выбор = зелёная плашка + галочка на иконке */
.quiz .opt { padding-right: 18px; }
.quiz .opt > i { display: none; }
.opt__ic { position: relative; }
.opt__ic::after { content: ""; position: absolute; right: -4px; bottom: -4px; width: 20px; height: 20px; border-radius: 50%; background: var(--chk-dark) center / 13px no-repeat, #fff; box-shadow: 0 3px 8px rgba(0, 0, 0, .35); transform: scale(0); transition: transform .35s var(--ease); }
.opt:has(input:checked) .opt__ic::after { transform: scale(1); }

/* =========================================================
   v36: калькулятор — карточки с реалистичными рендерами, выбор рамкой (меньше зелёного);
   заголовок калькулятора; SEO-тексты; рендеры во вкладках и в шторке телефона
   ========================================================= */
.contact__eyebrow { margin-bottom: 18px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.quiz { min-height: 780px; }
.opts--cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.quiz .opts--cards .opt { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 10px; min-height: 0; padding: 7px 7px 12px; border-radius: 22px; background: #121515; color: #eef2f0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.opt__img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; border-radius: 16px; background: #0e1111; object-fit: cover; transition: transform .6s var(--ease); }
.quiz .opts--cards .opt > span { flex: none; padding: 0 6px; }
.opts--cards .opt span b { font-size: 14px; line-height: 1.25; }
.opts--cards .opt span small { font-size: 12px; line-height: 1.35; }
.quiz .opts--cards .opt:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.opts--cards .opt:hover .opt__img { transform: scale(1.03); }
.quiz .opts--cards .opt:has(input:checked) { background: #151a18; color: #fff; box-shadow: inset 0 0 0 2px var(--g), 0 16px 34px -20px rgba(34, 229, 127, .55); }
.quiz .opts--cards .opt:has(input:checked) span small { color: var(--muted); }
.opts--cards .opt::after { content: ""; position: absolute; z-index: 1; top: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: var(--chk-dark) center / 14px no-repeat, var(--g); box-shadow: 0 4px 10px rgba(0, 0, 0, .4); transform: scale(0); transition: transform .35s var(--ease); }
.opts--cards .opt:has(input:checked)::after { transform: scale(1); }
.quiz .opts--cards .opt--ghost { grid-column: 1 / -1; flex-direction: row; align-items: center; padding: 14px 18px; background: transparent; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.quiz .opts--cards .opt--ghost > span { flex: 1; padding: 0; }
.quiz .opts--cards .opt--ghost::after { top: 50%; margin-top: -12px; }

/* вкладки и шторка телефона: те же рендеры */
img.wtab__ic { background: #0e1111; object-fit: cover; filter: brightness(.6); }
.work__tabs button:hover img.wtab__ic { filter: brightness(.85); }
.work__tabs button.is-active img.wtab__ic { filter: none; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .28), 0 12px 26px -12px rgba(0, 0, 0, .8); }
.xsheet__ic { flex: none; width: 36px; height: 36px; border-radius: 12px; object-fit: cover; background: #0e1111; }

/* SEO-тексты: свёрнуты с плавным затуханием, разворачиваются кнопкой */
.seo-sec { padding: clamp(56px, 7vw, 100px) 0; }
.seo { position: relative; max-width: 920px; }
.seo__body { max-height: 320px; overflow: hidden; color: #a9b6af; font-size: 15.5px; line-height: 1.75; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.seo.is-open .seo__body { max-height: none; -webkit-mask-image: none; mask-image: none; }
.seo__body h2 { margin: 0 0 16px; font-family: var(--font-d); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.12; letter-spacing: -.04em; color: #eef5f1; }
.seo__body h2:not(:first-child) { margin-top: 48px; }
.seo__body h3 { margin: 28px 0 10px; font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; line-height: 1.3; color: #e6eee9; }
.seo__body h4 { margin: 20px 0 8px; font-size: 16px; font-weight: 600; color: #dbe5df; }
.seo__body p { margin: 0 0 14px; }
.seo__body ul { display: grid; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.seo__body li { position: relative; padding-left: 22px; }
.seo__body li::before { content: ""; position: absolute; left: 3px; top: .72em; width: 6px; height: 6px; border-radius: 50%; background: #8fa197; }
.seo__body strong { color: #e6eee9; font-weight: 600; }
.seo__more { margin-top: 18px; display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; color: #fff; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .3s; }
.seo__more:hover { background: rgba(255, 255, 255, .12); }
.seo__more .arr { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transition: transform .4s var(--ease); }
.seo.is-open .seo__more .arr { transform: rotate(-90deg); }
.seo--svc { margin-top: clamp(32px, 4vw, 52px); }
.seo--svc .seo__body { max-height: 230px; }
.seo--svc .seo__body > h3:first-child { margin-top: 0; }

@media (max-width: 720px) {
  .quiz { min-height: 0; }
  .opts--cards { grid-template-columns: 1fr 1fr; }
  .seo__body { font-size: 15px; }
}

/* v37: карточка звонка — живой фон (canvas с волнами), реагирует на курсор */
.callcard__gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.callcard.has-gl .callcard__waves { display: none; }

/* v39: под живыми линиями — исходная текстура волн, «дышит» и смещается за курсором */
.callcard.has-gl .callcard__waves { display: block; opacity: .5; translate: var(--wx, 0) var(--wy, 0); animation: wavesBreath 9s ease-in-out infinite alternate; }
@keyframes wavesBreath { from { scale: 1; } to { scale: 1.07; } }
/* v40: карточки калькулятора — у картинки воздух сверху (предмет меньше), подписи выровнены: название сверху, цена у нижнего края */
.quiz .opts--cards .opt { padding: 7px 7px 14px; }
.opt__img { box-sizing: border-box; padding: 12px 12px 4px; object-fit: contain; }
.quiz .opts--cards .opt > span { flex: 1; display: flex; flex-direction: column; padding: 0 6px; }
.opts--cards .opt span small { margin-top: auto; padding-top: 6px; }
/* v41: стол во всю ширину экрана — широкий слой (4416×1024), центр исходного стола по-прежнему в --px.
   На телефоне — узкий кадр (person-m.webp), как раньше */
.l-person { aspect-ratio: 4416 / 1024; translate: -36.232% 0; }
.l-person picture { display: block; width: 100%; height: 100%; }
.l-person img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2.5%, #000 97.5%, transparent 100%);
}
@media (max-width: 760px) {
  .l-person { aspect-ratio: 1370 / 913; translate: -50% 0; }
  .l-person img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 94%, transparent 100%);
  }
}

/* уведомления растут вместе с экраном (масштаб всего стека, позиции внутри не ломаются) */
.l-toasts { transform-origin: 0 0; }
@media (min-width: 1600px) { .l-toasts { scale: 1.12; } }
@media (min-width: 1800px) { .l-toasts { scale: 1.24; } }
@media (min-width: 2100px) { .l-toasts { scale: 1.38; } }
@media (min-width: 2500px) { .l-toasts { scale: 1.55; } }

/* заголовок с кнопками на широких экранах — по центру свободного места справа от ноутбука, а не у самого края.
   0.4787 × высота hero = правый край крышки ноутбука от центра стола (76% × 645/1024) */
.hero-right { right: max(16px, calc(var(--pad) - 28px), calc((66vw - var(--hh) * .4787 - 660px) / 2)); }

/* v41: «Один разработчик» — живое фото вместо кружка-аватара.
   Десктоп: текст | фото, ниже четыре цифры в ряд; планшет: текст сверху, фото | цифры; телефон: всё в колонку */
.about__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "copy photo" "stats stats"; row-gap: clamp(56px, 6vw, 96px); }
.about__copy { grid-area: copy; }
.about__photo {
  grid-area: photo; justify-self: end; position: relative; margin: 0;
  width: min(100%, 440px); aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden;
  background: #0d1511; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .85);
}
.about__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about__photo::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(4, 8, 6, .5) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}
.about__photo figcaption {
  position: absolute; right: 16px; bottom: 16px; z-index: 1;
  display: grid; gap: 2px; padding: 12px 18px; border-radius: 20px;
  background: rgba(10, 18, 14, .5);
  -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.about__photo figcaption b { font-family: var(--font-d); font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.about__photo figcaption span { font-size: 13px; color: #c3cfc8; }
.about__stats { grid-area: stats; grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1180px) {
  .about__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-areas: "copy copy" "photo stats"; }
  .about__photo { justify-self: start; }
  .about__stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .about__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "photo" "stats"; row-gap: 32px; }
  .about__photo { width: 100%; border-radius: 28px; }
}
/* на ноутбучных экранах блок уже: кнопки не наезжают на крышку ноутбука (заголовок помещается — 7.5em при 4.7vw) */
@media (min-width: 1181px) { .hero-right { width: min(37vw, 660px); } }

/* v43: новый портрет за столом с MacBook (1536×1024). Слой с человеком короткий, края его стола растворяются,
   а под ним идёт полоса столешницы: начинается за монстерой слева и заканчивается в папоротнике справа */
.l-person { aspect-ratio: 1536 / 1024; translate: -39.6% 0; }
.l-person img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 84%, transparent 97%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 84%, transparent 97%);
}
.l-desk {
  bottom: 9%;
  height: calc(var(--ph) * 120 / 1024);                       /* строки 904–1024 кадра — столешница с кромкой */
  left: calc(-3% + var(--hh) * .13);                           /* центр монстеры */
  right: calc(10% + clamp(250px, 25vw, 400px) * .45);          /* внутри папоротника */
}
.l-desk .li {
  background: url("../img/hero/desk-tile.webp?v=43") 0 0 / auto 100% repeat-x;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 90px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 90px), transparent 100%);
}
/* правый край крышки ноутбука теперь 590 px кадра от точки привязки: 76% × 590/1024 = 0.4379 × высота hero */
.hero-right { right: max(16px, calc(var(--pad) - 28px), calc((66vw - var(--hh) * .4379 - 660px) / 2)); }
@media (max-width: 760px) {
  .l-desk { display: none; }
  .l-person { aspect-ratio: 1536 / 1024; translate: -39.6% 0; }
  .l-person img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 92%, transparent 100%);
  }
}
/* заголовок и кнопки всегда поверх растений переднего плана (папоротник не должен перекрывать кнопку) */
.hero__ui { z-index: 4; }

/* v44: портрет как сейчас (кудри, щетина, зелёные глаза). Человек на кадре крупнее, поэтому слой чуть меньше,
   лицо стоит там же, где раньше (--px минус 78 px кадра) */
.hero { --ph: 64%; }
@media (max-width: 1180px) { .hero { --ph: 58%; } }
.l-person { translate: -40.76% 0; }
.l-desk { height: calc(var(--ph) * 87 / 1024); }              /* строки 937–1024: столешница и торец */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=44"); }
/* правый край крышки: 788 px кадра от точки привязки → 64% × 788/1024 = 0.4925 × высота hero */
.hero-right { right: max(16px, calc(var(--pad) - 28px), calc((66vw - var(--hh) * .4925 - 660px) / 2)); }
@media (max-width: 760px) { .l-person { translate: -40.76% 0; } }
/* стол стоит прямо на бегущей строке: столешница видна целиком, торец уходит за строку */
@media (min-width: 761px) {
  .l-person, .l-desk { bottom: calc(var(--sheet-r) + clamp(10px, 2vh, 20px) + 50px); }
}
/* ноутбучные экраны: блок с заголовком чуть уже и шрифт чуть меньше — кнопки не задевают крышку MacBook */
@media (min-width: 1181px) and (max-width: 1800px) {
  .hero-right { width: min(35vw, 660px); }
  .hero-title { font-size: clamp(40px, 4.4vw, 84px); }
}
/* планшет: человек чуть меньше, заголовок выше, два уведомления над головой — ничего не наезжает друг на друга */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero { --ph: 54%; }
  .hero-right { top: clamp(104px, 14vh, 150px); }
  .l-toasts { top: 13%; }
}

/* v46: вариант 3 с чуть более вытянутым лицом. Лицо (середина глаз x≈585) — там же относительно --px,
   рука доходит до 35 px кадра, ноутбук — до 1461 px, поэтому края слоя растворяются только в самых крайних полосках */
.l-person { translate: -43.16% 0; }
.l-person img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 96%, transparent 100%);
}
.l-desk { height: calc(var(--ph) * 95 / 1024); }               /* строки 929–1024 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=46"); }
/* правый край крышки: 795 px кадра от точки привязки → 64% × 795/1024 = 0.4969 × высота hero */
.hero-right { right: max(16px, calc(var(--pad) - 28px), calc((66vw - var(--hh) * .4969 - 660px) / 2)); }
@media (max-width: 760px) {
  .l-person { translate: -43.16% 0; }
  .l-person img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 96%, transparent 100%);
  }
}
/* планшет под вариант 3: крышка ноутбука выше — слой чуть меньше, заголовок чуть выше */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero { --ph: 50%; }
  .hero-right { top: clamp(96px, 12.5vh, 140px); }
}

/* v47: настоящее лицо (селфи анфас) на портрете за столом. Крышка MacBook заканчивается там же, где раньше
   (1480 px кадра), поэтому кнопки её не задевают; лицо чуть левее */
.l-person { translate: -44.4% 0; }
.l-person img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 97.2%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 97.2%, transparent 100%);
}
.l-desk { height: calc(var(--ph) * 109 / 1024); }              /* строки 915–1024 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=47"); }
/* правый край крышки: 798 px кадра от точки привязки → 64% × 798/1024 = 0.4988 × высота hero */
.hero-right { right: max(16px, calc(var(--pad) - 28px), calc((66vw - var(--hh) * .4988 - 660px) / 2)); }
@media (max-width: 760px) {
  .l-person { translate: -44.4% 0; }
  .l-person img {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 97.2%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 1.8%, #000 97.2%, transparent 100%);
  }
}

/* v48: портрет в серо-голубой рубашке, с улыбкой. Крышка MacBook заканчивается там же (1460 px кадра → 798 px от точки привязки) */
.l-person { translate: -43.1% 0; }
.l-desk { height: calc(var(--ph) * 113 / 1024); }              /* строки 911–1024: кромка 917, дерево с 1010 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=48"); }
@media (max-width: 760px) { .l-person { translate: -43.1% 0; } }
/* планшет под v48: крышка MacBook чуть выше, чем у прошлых вариантов — слой немного меньше, заголовок немного выше */
@media (min-width: 761px) and (max-width: 1180px) {
  .hero { --ph: 47%; }
  .hero-right { top: clamp(88px, 11.5vh, 132px); }
}

/* v49: белая рубашка с длинными рукавами, спокойная полуулыбка. Крышка MacBook — 1462 px кадра (798 px от точки привязки) */
.l-person { translate: -43.23% 0; }
.l-desk { height: calc(var(--ph) * 114 / 1024); }              /* строки 910–1024: кромка 916, дерево с 1010 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=50"); }
@media (max-width: 760px) { .l-person { translate: -43.23% 0; } }

/* v51: более реалистичный портрет по свежим фото (худощавый, длинная шея, спокойный взгляд, полуулыбка).
   Крышка MacBook — 1471 px кадра (те же 798 px от точки привязки), стол — чёрный мрамор без деревянного торца */
.l-person { translate: -43.82% 0; }
.l-desk { height: calc(var(--ph) * 119 / 1024); }              /* строки 905–1024: кромка 911, мрамор до низа */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=51"); }
@media (max-width: 760px) { .l-person { translate: -43.82% 0; } }

/* v52: шапка и блок с заголовком не выходят за ширину макета (контейнер 1480 px с полями --pad).
   --gut — отступ от края экрана до края макета; на узких экранах он равен --pad */
:root { --gut: max(var(--pad), calc((100% - 1480px) / 2 + var(--pad))); }
.nav { left: var(--gut); right: var(--gut); }
@media (min-width: 761px) { .hero-right { right: var(--gut); } }
/* десктоп: блок занимает место от крышки MacBook до края макета. Если экран высокий, блок может встать над крышкой
   (с зазором 30 px). Заголовок растёт вместе с блоком: самая длинная строка («приложений» с плашкой) ≈ 8.2em.
   0.4988 × hh — правый край крышки от точки привязки; 0.7213 × hh − отступ снизу — верх крышки;
   176 px + 3vh + 4.8 × шрифт текста — значок, отступы, три строки текста, кнопки и зазор 30 px над крышкой */
@media (min-width: 1181px) {
  .hero-right {
    --t: 136px;
    --lid: calc(var(--hh) * .7213 - var(--sheet-r) - clamp(10px, 2vh, 20px) - 50px);
    top: var(--t);
    width: clamp(320px, max(66% - var(--gut) - var(--hh) * .4988 - 24px,
      (var(--lid) - var(--t) - 176px - clamp(18px, 3vh, 30px) - 4.8 * clamp(15px, 1.15vw, 18px)) * 2.4), 660px);
    container-type: inline-size;
  }
  .hero-title { font-size: min(84px, 12cqi); }
}
/* слово в плашке не шире самого длинного («приложений» ≈ 7.68em): случайные буквы во время смены слова
   не раздвигают плашку и не вылезают за край макета */
.hero-title .rotator { max-width: 7.72em; clip-path: inset(-.5em -.06em -.5em -.5em); }
/* узкий блок (небольшие ноутбуки): кнопки чуть компактнее, чтобы стояли в один ряд */
@container (max-width: 400px) {
  .hero__ctas { gap: 10px; }
  .hero__ctas .btn--lg { --h: 52px; padding: 0 18px; font-size: 15px; }
}

/* v52, телефон: человек чуть меньше и левее — видна крышка MacBook с логотипом; справа над плечом три уведомления;
   кот чуть меньше и у самого края, чтобы не закрывал логотип; кнопки сразу под сценой, текст под ними;
   маленький папоротник у правого края, как на десктопе свисает на блок «Услуги» */
@media (max-width: 760px) {
  .scene--stage { height: min(88vw, 480px); }
  .l-person { width: min(130vw, 720px); left: 35%; }
  .l-glow { left: 4%; width: 60%; }
  .l-cat { width: 23vw; right: -4vw; }
  .l-toasts { top: 3%; bottom: auto; left: auto; right: var(--pad); width: clamp(176px, 47vw, 240px); }
  .l-toasts .toasts { height: 150px; }
  .toast { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; padding: 8px 10px; border-radius: 15px; }
  .toast__ic { width: 28px; height: 28px; border-radius: 9px; }
  .toast__ic svg { width: 16px; height: 16px; }
  .toast__t { display: block; font-size: 12.5px; line-height: 1.3; }
  .toast__d { font-size: 11px; line-height: 1.3; }
  .toast__time { display: none; }

  .hero-cta { display: flex; flex-direction: column; }
  .hero-cta .hero__ctas { order: -1; margin-top: 0; }
  .hero-cta__lead { margin-top: 18px; }

  .scene--front { display: block; z-index: 4; }
  .l-pot-l { display: none; }
  .l-fern, .fern-front { display: block; right: -5vw; width: 30vw; }
}

/* v53: лента «Полный цикл разработки» начинается и заканчивается по краям макета, а не у краёв экрана */
.hscroll__track { padding-inline: var(--gut); }
.hs-off .hscroll__track { scroll-padding-inline: var(--gut); }

/* v53: телефон в «Что я строю» на мобильном — тот же экран, что на ПК (все сделки и цифры), просто меньше */
@media (max-width: 960px) {
  .xphone { width: 340px; zoom: .8; }
  .xphone .deals li:nth-child(4) { display: grid; }
  .xphone .tile--bars { display: flex; }
}
@media (max-width: 720px) { .xphone .scr__stats { display: grid; } }

/* v53: калькулятор в окне (тот же слой, что у окна услуги) */
.calc__body { max-width: 760px; margin: 0 auto; padding: calc(78px + clamp(20px, 3.5vw, 44px)) var(--pad) clamp(48px, 7vw, 96px); }   /* 78 px — панель «Закрыть» сверху */
.calc__title { font-family: var(--font-d); font-weight: 400; font-size: clamp(32px, 4vw, 56px); line-height: 1; letter-spacing: -.05em; }
.calc__lead { margin-top: 14px; max-width: 600px; color: #b9c8bf; font-size: clamp(14px, 1.1vw, 16px); line-height: 1.6; }
.calc__slot { margin-top: clamp(22px, 3vw, 34px); }
.calc__slot .quiz { margin: 0; }
.calc.is-open .calc__body > * { animation: fadeUp .9s var(--ease) both; animation-delay: calc(.2s + var(--i, 0) * .08s); }
/* на широких экранах — как блок «Заявка»: заголовок слева, форма справа, кнопка «Далее» помещается на экран */
@media (min-width: 1100px) {
  .calc__body {
    max-width: 1280px; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); grid-template-rows: auto 1fr;
    column-gap: clamp(40px, 5vw, 96px); align-items: start; padding-top: calc(78px + clamp(22px, 2.6vw, 40px));
  }
  .calc__title { grid-column: 1; grid-row: 1; margin-top: clamp(16px, 2vw, 32px); font-size: clamp(40px, 4.4vw, 72px); }
  .calc__lead { grid-column: 1; grid-row: 2; margin-top: 18px; }
  .calc__slot { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; }
}

/* v54: согласие на cookie для Google Analytics — карточка внизу слева, по краю макета */
.consent {
  position: fixed; left: var(--gut); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 65;
  width: min(420px, calc(100vw - 2 * var(--pad)));
  padding: 18px 18px 16px; border-radius: 24px;
  background: rgba(10, 16, 13, .9);
  -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(0, 0, 0, .8);
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.consent.is-on { opacity: 1; transform: none; pointer-events: auto; }
.consent__t { font-family: var(--font-d); font-size: 16px; letter-spacing: -.02em; }
.consent__d { margin-top: 6px; font-size: 13px; line-height: 1.55; color: #a9bab0; }
.consent__btns { display: flex; gap: 8px; margin-top: 14px; }
.consent__btns .btn { flex: 1 1 0; }
.consent-open .mcta { opacity: 0; pointer-events: none; }
.footer__cookie { color: inherit; font-size: inherit; }
.footer__cookie:hover { color: var(--g); }

/* v55, языковые версии: заголовок hero подгоняется под самое длинное слово в плашке.
   --tfit — во сколько раз заголовок меньше русского (1 = как в русском), --rotw — ширина слова в плашке.
   Замеры (ширина плашки в em): ru «приложений» 8.2, et «CRM-süsteeme» 9.39, en «CRM systems» 8.54, fi «CRM-järjestelmiä» 10.34, sv «CRM-system» 7.98 */
html[lang="et"] { --tfit: .87; --rotw: 8.92em; }
html[lang="en"] { --tfit: .96; --rotw: 8.08em; }
html[lang="fi"] { --tfit: .79; --rotw: 9.87em; }
.hero-title .rotator { max-width: var(--rotw, 7.72em); }
html:not([lang="ru"]) .hero-title { font-size: clamp(calc(40px * var(--tfit, 1)), calc(4.7vw * var(--tfit, 1)), 84px); }
/* v68: нижний предел 30px, а не 34px — на телефонах шириной меньше 330 px шрифт продолжает уменьшаться,
   иначе длинная третья строка (et «mis toovad kasu», fi «tekemään tulosta») переносится */
@media (max-width: 760px) { html:not([lang="ru"]) .hero-title { font-size: clamp(calc(30px * var(--tfit, 1)), calc(10.4vw * var(--tfit, 1)), 50px); } }
@media (min-width: 1181px) { html:not([lang="ru"]) .hero-title { font-size: min(84px, calc(12cqi * var(--tfit, 1))); } }
/* v55: колонка цены в списке услуг шире там, где слово «от» длиннее (alates, alkaen, från, from): цена не наезжает на «+».
   Множитель — самая длинная цена языка в em шрифта цены (et «alates 290 €/kuu» ≈ 10.05em) */
html[lang="en"] { --pw: calc(clamp(17px, 1.5vw, 22px) * 8.9); }
html[lang="et"] { --pw: calc(clamp(17px, 1.5vw, 22px) * 10.2); }
html[lang="fi"] { --pw: calc(clamp(17px, 1.5vw, 22px) * 11.8); }   /* v69: «tarjouksen mukaan» (цена по расчёту) ≈ 11.4em */
html[lang="sv"] { --pw: calc(clamp(17px, 1.5vw, 22px) * 9.5); }
@media (min-width: 721px) { html:not([lang="ru"]) .price-row { grid-template-columns: 34px minmax(0, 2.1fr) minmax(0, 1fr) 110px var(--pw, 140px) 50px; } }
/* v69: на 721–1180px колонки «срок» нет (display: none) — без этого цена попадала в узкую колонку 110px и наезжала на «+» */
@media (min-width: 721px) and (max-width: 1180px) { html:not([lang="ru"]) .price-row { grid-template-columns: 28px minmax(0, 1.5fr) minmax(0, 1fr) var(--pw, 130px) 50px; } }
/* длинное слово в узкой карточке переносится, а не вылезает за край (в переводах есть мягкие переносы &shy;) */
html:not([lang="ru"]) .opt b, html:not([lang="ru"]) .opt small, html:not([lang="ru"]) .pcard__title, html:not([lang="ru"]) .pcard__text, html:not([lang="ru"]) .spill p { overflow-wrap: break-word; }
/* v55: заголовок уведомления в hero — блок, поэтому длинный текст обрезается многоточием, а не наезжает на время */
.toast > span:nth-child(2) { min-width: 0; }
.toast__t { display: block; }
@media (min-width: 1181px) { .l-toasts { width: clamp(264px, 20.5vw, 300px); } }
/* v55: заголовок окна услуги не шире колонки — длинное слово уменьшается скриптом (fitWord), а не вылезает за экран */
.svc-head > .svc-title { min-width: 0; }
.svc-cta__copy { min-width: 0; } .svc-cta__t { overflow-wrap: break-word; }

/* v56: кнопка «Все работы» под вкладками «Что я строю» ведёт на /portfolio/ */
.work__all { margin-top: clamp(20px, 2.4vw, 30px); }

/* v57: «Что я строю» — природная виноградная лоза вместо стеклянной ленты (рендер Blender: assets/raw/ui/vine).
   Картинка привязана к телефону: высота — 5 ширин телефона, центр и наклон (−4°) как у телефона,
   поэтому листья выглядывают из-за него одинаково на любом экране. На ПК лоза выше секции —
   входит за верхний край и уходит за нижний. --x повторяет положение телефона: справа с отступом 15%
   (на ≤720px — по центру); --pw — видимая ширина телефона. */
.work__copy { position: relative; z-index: 2; }
.work__stage { --pw: clamp(270px, 23vw, 340px); --x: calc(85% - var(--pw) / 2); }
.work__ribbon { top: calc(50% - var(--pw) * 2.5); right: auto; left: var(--x); width: auto; max-width: none; height: calc(var(--pw) * 5); opacity: 1; mix-blend-mode: normal; transform: translateX(-50%) rotate(-4deg); }
/* телефон и планшет: над телефоном текст, поэтому верх лозы проявляется из темноты, а низ уходит за край секции */
@media (max-width: 960px) {
  .work__stage { --pw: 272px; --x: calc(85% - 136px); }
  .work__ribbon { -webkit-mask-image: linear-gradient(transparent 8%, #000 19%); mask-image: linear-gradient(transparent 8%, #000 19%); }
}
@media (max-width: 720px) { .work__stage { --x: 50%; } }

/* v57: «Другое» в калькуляторе — ровная строка: текст по центру по высоте, одинаковые отступы, галочка справа по центру.
   Общие правила карточек (.quiz .opts--cards .opt …) стоят ниже правил этой строки и перебивали их: отступы 7/7/14 */
.quiz .opts--cards .opt.opt--ghost { min-height: 64px; padding: 14px 56px 14px 20px; align-items: center; }
.quiz .opts--cards .opt.opt--ghost > span { padding: 0; justify-content: center; }
.quiz .opts--cards .opt.opt--ghost span small { margin-top: 3px; padding-top: 0; }
.quiz .opts--cards .opt.opt--ghost::after { top: 50%; right: 18px; margin-top: -12px; }

/* v57: «Частые вопросы» — лоза с клеверами выходит из-за верхнего края блока, лежит на кромке и свисает справа
   (рендер Blender: assets/raw/ui/vine/drape.py). Кромка блока — на 16 % ширины картинки от её верха, поэтому картинка
   поднята на 16 % своей ширины. Над кромкой лоза ложится на предыдущий блок, ниже — на этот; текст и карточки — поверх */
.sheet.faq { overflow: visible; }
.faq__vine { --w: min(1000px, 70vw); position: absolute; z-index: 0; top: calc(var(--w) * -0.16); right: 0; width: var(--w); height: auto; max-width: none; pointer-events: none; }
.sheet.faq > .container { position: relative; z-index: 1; }

/* v57: русский флаг в переключателе языков вместо значка «РУ» — по просьбе владельца */
.flag--ru { background: center / cover no-repeat url(../img/flags/ru.svg); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.flag--ru::before { content: none; }
/* в кнопке переключателя при русском языке — просто «RU» без кружка и обводки (флаг — только в списке):
   обводка кружка вместе с рамкой кнопки давала двойную обводку */
.lang__btn .flag--ru { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; }
.lang__btn .flag--ru::before { content: 'RU'; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; line-height: 1; color: #eef4f0; }

/* v59: без мышки (телефон, планшет) карточка подсвечивается сама, когда она в середине экрана (touchLit в main.js) —
   те же эффекты, что при наведении на ПК */
@media (hover: none) {
  .pcard.is-lit { border-color: rgba(34, 229, 127, .35); }
  .pcard.is-lit .pcard__glow { opacity: 1; }
  .pcard.is-lit .pcard__num { color: #fff; text-shadow: 0 0 16px rgba(255, 255, 255, .45), 0 0 40px rgba(34, 229, 127, .7); }
  .pcard.is-lit .pcard__num .dm { filter: drop-shadow(0 0 .05em rgba(255, 255, 255, .7)) drop-shadow(0 0 .2em rgba(34, 229, 127, .6)); }
  .stage.is-lit { border-color: rgba(34, 229, 127, .4); transform: translateY(-6px); }
  .stage.is-lit .stage__ic { transform: translateY(-6px) rotate(-6deg) scale(1.06); }
  .steps li.is-lit { transform: translateX(4px); box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .35); }
}

/* v60: в hero вместо фото — персонаж в стиле Pixar (белая рубашка) за тем же столом с MacBook.
   Крышка заканчивается на 1439 px кадра — те же 798 px от точки привязки, поэтому блок с заголовком стоит, как раньше;
   стол — с 912-й строки, плитка desk-tile.webp собрана из чистых краёв этого же стола (x 4–132 и 1378–1532) */
.l-person { translate: -41.73% 0; }
.l-desk { height: calc(var(--ph) * 118 / 1024); }              /* строки 906–1024 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=53"); }
@media (max-width: 760px) { .l-person { translate: -41.73% 0; } }

/* калькулятор: персонаж сидит на верхнем крае карточки, ноги свисают над полоской шагов.
   Сиденье и кисти — на 61.5% высоты картинки; голень правой ноги — отдельный слой, ось — колено (64.2%, 63%) */
.quiz-seat { position: relative; --sh: clamp(190px, 15.5vw, 232px); }   /* --sh — высота кадра персонажа */
/* две колонки (шире 960 px): карточка стоит у верхнего края листа, а у .sheet overflow: hidden — без отступа голова
   срезалась бы краем (16.11.2026). Опускаем карточку ровно настолько, чтобы голова помещалась */
@media (min-width: 961px) {
  /* голова — 61,5 % кадра над карточкой; верхнее поле листа — clamp(72px, 9vw, 140px); над головой остаётся 16 px */
  .quiz-seat { margin-top: max(0px, calc(var(--sh) * .615 + 16px - clamp(72px, 9vw, 140px))); }
}
.quiz-seat .quiz__head { margin-bottom: 36px; }               /* под ботинками — воздух до вопроса */
.sitter {
  position: absolute; z-index: 3; right: 9%; top: calc(var(--sh) * -.615);
  width: calc(var(--sh) * 392 / 820); height: var(--sh); pointer-events: none;
}
.sitter img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sitter__leg { transform-origin: 64.2% 63%; }
@media (prefers-reduced-motion: no-preference) {
  .sitter__leg { animation: sitter-leg 7s ease-in-out 2s infinite; }
}
@keyframes sitter-leg {
  0%, 52%, 100% { transform: none; }
  58% { transform: rotate(-5deg); }
  65% { transform: rotate(4deg); }
  72% { transform: rotate(-2.5deg); }
  79% { transform: rotate(1.2deg); }
  86% { transform: none; }
}
/* форма уехала в окно калькулятора — персонаж не висит в воздухе */
.quiz-seat:not(:has(> .quiz)) .sitter { display: none; }
@media (max-width: 760px) {
  /* телефон (16.11.2026: «побольше, до границ»): ширина ~112 px на 390–430 px экрана, ноги — почти до вопроса;
     на узких телефонах меньше, чтобы голова не наезжала на кнопки контактов слева */
  .quiz-seat { --sh: clamp(176px, 60vw, 234px); }
  .sitter { right: 7%; }
}

/* v61: «ЭТАП 01» и проценты в карточках этапов — жирнее: у точек обводка цветом самих точек (радиус .36 → .46 и .43) */
.stage__title .dm circle { stroke: currentColor; stroke-width: .2; }
.stage__amt .dm circle { stroke: currentColor; stroke-width: .14; }

/* «Почему я»: живые таблетки (liveStats в main.js). Блик идёт за курсором, точки светятся, таблетка чуть приподнимается;
   is-set — короткая вспышка, когда число встало на место; is-lit — то же без мышки, когда таблетка в середине экрана */
.spill { transition: translate .5s var(--ease), box-shadow .5s; }
/* появление лесенкой: таблетку показывает liveStats() (класс is-in) — по очереди, сначала проявляется и поднимается,
   потом набирает число. --sy — постоянный сдвиг 2-й и 4-й таблеток вниз (на телефоне его нет) */
.spill[data-stat] {
  --sy: 0px; opacity: 0; transform: translateY(calc(var(--sy) + 30px));
  transition: opacity .6s var(--ease), transform .8s var(--ease), translate .5s var(--ease), box-shadow .5s;
}
.spill[data-stat]:nth-child(2), .spill[data-stat]:nth-child(4) { --sy: 32px; }
.spill[data-stat].is-in, html:not(.js) .spill[data-stat] { opacity: 1; transform: translateY(var(--sy)); }
@media (max-width: 720px) { .spill[data-stat]:nth-child(2), .spill[data-stat]:nth-child(4) { --sy: 0px; } }
@media (prefers-reduced-motion: reduce) { .spill[data-stat] { opacity: 1; transform: translateY(var(--sy)); } }
.spill::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .4s;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 65%);
}
.spill > * { position: relative; z-index: 1; }
.spill .dots .dm { transition: filter .45s; }
.spill:hover, .spill.is-lit { translate: 0 -6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .26), 0 40px 70px -30px rgba(0, 0, 0, .85), 0 0 60px -20px rgba(34, 229, 127, .45); }
.spill:hover::after, .spill.is-lit::after { opacity: 1; }
.spill:hover .dots .dm, .spill.is-lit .dots .dm, .spill.is-set .dots .dm {
  filter: drop-shadow(0 0 .05em rgba(255, 255, 255, .8)) drop-shadow(0 0 .22em rgba(34, 229, 127, .75));
}
/* медленный блик по таблетке — даже когда её никто не трогает */
@media (prefers-reduced-motion: no-preference) {
  .spill { background-size: 140% 140%; animation: spill-drift 14s ease-in-out infinite alternate; }
  .spill:nth-child(2) { animation-delay: -4s; }
  .spill:nth-child(3) { animation-delay: -8s; }
  .spill:nth-child(4) { animation-delay: -11s; }
}
@keyframes spill-drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }

/* окно услуги: у каждой услуги своё животное на линии над «Что входит» (картинки assets/img/zoo, опорные линии —
   assets/raw/decor/process.py). --pw ширина, --pl доля высоты картинки, где проходит линия, --pk высота над линией
   на 1 px ширины, --pr сдвиг от правого края (у леопарда хвост свисает за конец линии) */
.svc-block { position: relative; }
.svc-block:has(> .svc-pet--leopard) { --pw: 269px; --pl: 0.463; --pk: 0.313; --pr: -30px; }
.svc-block:has(> .svc-pet--white-tiger) { --pw: 133px; --pl: 1.000; --pk: 1.335; --pr: 12px; }
.svc-block:has(> .svc-pet--chameleon) { --pw: 216px; --pl: 0.715; --pk: 0.499; --pr: 0px; }
.svc-block:has(> .svc-pet--monkey) { --pw: 69px; --pl: 0.030; --pk: 0.076; --pr: 22px; }
.svc-block:has(> .svc-pet--flamingos) { --pw: 226px; --pl: 1.000; --pk: 0.664; --pr: 0px; }
.svc-block:has(> .svc-pet--pigeon) { --pw: 115px; --pl: 1.000; --pk: 1.302; --pr: 20px; }
.svc-pet {
  --ps: 1;
  position: absolute; z-index: 3; top: -1px; right: var(--pr, 0px);
  width: calc(var(--pw) * var(--ps)); height: auto; max-width: none;
  translate: 0 calc(var(--pl) * -100%); pointer-events: none;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .45));
}
.svc-pet--leopard { transform-origin: 50% 46%; --idle: pet-breathe; --idle-t: 4.6s; }
.svc-pet--white-tiger { transform-origin: 50% 100%; --idle: pet-breathe; --idle-t: 3.8s; }
.svc-pet--chameleon { transform-origin: 40% 71%; --idle: pet-rock; --idle-t: 2.6s; }
.svc-pet--monkey { transform-origin: 50% 2%; --idle: pet-swing; --idle-t: 2.4s; }
.svc-pet--flamingos { transform-origin: 50% 100%; --idle: pet-breathe; --idle-t: 5.2s; }
.svc-pet--pigeon { transform-origin: 50% 100%; --idle: pet-look; --idle-t: 4.2s; }
@media (prefers-reduced-motion: no-preference) {
  .svc-pet { animation: pet-in .9s .3s both, var(--idle, none) var(--idle-t, 5s) ease-in-out 1.2s infinite alternate; }
}
@keyframes pet-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes pet-breathe { to { scale: 1 1.018; } }
@keyframes pet-rock { from { rotate: -1.4deg; } to { rotate: 1.4deg; } }
@keyframes pet-swing { from { rotate: -7deg; } to { rotate: 7deg; } }
@keyframes pet-look { 0%, 30% { rotate: 0deg; } 45% { rotate: -2.2deg; } 70% { rotate: 1.6deg; } 100% { rotate: 0deg; } }
/* уже экран: описание на всю ширину — над линией оставляем место под животное. Только без JS: со скриптом линию ставит
   petGap() в main.js — ровно так, чтобы животное не задевало цену и текст (раньше на 961–1199 px оставалась пустая полоса) */
@media (max-width: 1199px) {
  html:not(.js) .svc-block:has(> .svc-pet) { margin-top: max(64px, calc(var(--pw) * var(--ps, 1) * var(--pk) + 24px)); }
}
@media (max-width: 720px) {
  .svc-block:has(> .svc-pet) { --ps: .72; }
  .svc-pet { --ps: .72; }
  .svc-block:has(> .svc-pet--leopard) { --pr: -12px; }          /* хвост не уходит за край экрана */
  .svc-block:has(> .svc-pet--monkey) > .svc-incl { margin-top: 76px; }   /* обезьянка висит в просвете, а не на тексте */
}

/* баннер «Обсудим …?» в окне услуги: вместо 3D-самолётика — персонаж показывает на кнопку, голова выходит за верх баннера */
.svc-cta { overflow: visible; }
.svc-cta__me {
  position: absolute; z-index: 1; right: clamp(16px, 7%, 96px); bottom: 0;
  height: calc(100% + 72px); width: auto; max-width: none; pointer-events: none;
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .35));
}
@media (max-width: 900px) {
  .svc-cta { padding-right: clamp(28px, 34vw, 210px); }
  .svc-cta__me { right: 6px; height: min(calc(100% + 40px), 300px); }
}
/* телефон: текст баннера на всю ширину, персонаж стоит за верхним краем баннера — видны голова, рука и телефон */
@media (max-width: 560px) {
  .svc-cta { margin-top: 176px; padding-right: clamp(24px, 6vw, 32px); }
  .svc-cta__me { top: -138px; bottom: auto; right: 2px; height: 262px; clip-path: inset(0 0 calc(100% - 139px) 0); }
}

/* длинный SEO-блок «в дебрях»: по верхнему краю лежат лианы, у правого угла переваливаются через край и свисают вдоль него.
   Край блока — на 18.2% высоты картинки (assets/raw/decor/process.py); телефон — видна полоса, свисающие концы за краем экрана */
.seo-sec { position: relative; }
.seo-sec > .container { position: relative; z-index: 1; }
.seo-liana { position: absolute; z-index: 2; top: 0; right: 0; width: min(40vw, 560px); height: auto; max-width: none; translate: 0 -31.25%; pointer-events: none; }
@media (max-width: 760px) { .seo-liana { width: 62vw; } }

/* v62: hero — персонаж целиком в стиле своего листа: шерстяные кудри, простое лицо, длинная шея, тонкие руки
   (было: мультяшная голова на реалистичном теле). Крышка MacBook — 1425 px кадра, те же 798 px от точки привязки */
.l-person { translate: -40.82% 0; }
.l-desk { height: calc(var(--ph) * 117 / 1024); }              /* строки 907–1024 */
.l-desk .li { background-image: url("../img/hero/desk-tile.webp?v=55"); }
@media (max-width: 760px) { .l-person { translate: -40.82% 0; } }

/* =========================================================
   v63: «Выручка · ноябрь» — линия растёт вместе с цифрой (main.js → revenue): кончик идёт слева направо,
   цифра — высота, на которую линия уже поднялась; на кончике светящаяся точка, в конце от неё расходятся тихие круги
   ========================================================= */
.scr__spark { position: relative; }
.scr__spark path { stroke-dasharray: none; stroke-dashoffset: 0; }
.screen.is-active .scr__spark path { animation: none; }
.scr__tip {
  position: absolute; left: 0; top: 0; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%;
  background: #e9fff2; box-shadow: 0 0 0 2px rgba(34, 229, 127, .6), 0 0 14px 3px rgba(34, 229, 127, .7);
  opacity: 0; transition: opacity .35s var(--ease); pointer-events: none;
}
.scr__tip.is-on { opacity: 1; }
.scr__tip::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(34, 229, 127, .75); opacity: 0; }
.scr__tip.is-done::after { animation: tipPing 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
@keyframes tipPing { 0% { transform: scale(.6); opacity: .9; } 70%, 100% { transform: scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .scr__tip.is-done::after { animation: none; } }

/* =========================================================
   v64: «Частые вопросы» в стиле сайта (белые плашки и голографические волны выглядели чужими, как с чужого макета).
   Вопросы — тёмные карточки с тонкой рамкой, как этапы и калькулятор; номер вопроса точками (как у этапов) тусклый,
   у открытого загорается; открытый — зелёная рамка и мягкое свечение из угла. Карточка звонка — как «Нужен похожий
   сайт?» в портфолио: тёмно-зелёная с рамкой, «20» точками (main.js → callcard), кнопка прижата к низу, на неё
   показывает персонаж с телефоном (point: кончик пальца на 48 % высоты картинки, у её левого края)
   ========================================================= */
.faq__list { gap: 10px; }
.faq__item {
  position: relative; border-radius: 24px; color: var(--text);
  background: rgba(255, 255, 255, .025);
  box-shadow: inset 0 0 0 1px rgba(214, 255, 232, .08);
  transition: background-color .4s, box-shadow .4s;
}
.faq__item:hover { box-shadow: inset 0 0 0 1px rgba(214, 255, 232, .16); }
.faq__item.is-open {
  background: radial-gradient(140% 120% at 0% 0%, rgba(34, 229, 127, .13), transparent 58%), rgba(255, 255, 255, .03);
  box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .35), 0 26px 50px -34px rgba(34, 229, 127, .45);
}
.faq__q { justify-content: flex-start; gap: 18px; padding: 20px 20px 20px 22px; color: var(--text); font-size: clamp(15px, 1.15vw, 17px); font-weight: 600; }
.faq__q > span { flex: 1; }
.faq__q:hover { color: #fff; }
.faq__n { flex: none; width: 34px; font-size: 26px; line-height: 1; color: rgba(255, 255, 255, .2); transition: color .4s; }
.faq__n .dm { display: block; filter: none; transition: filter .4s; }
.faq__q:hover .faq__n { color: rgba(255, 255, 255, .5); }
.faq__item.is-open .faq__n { color: #fff; }
.faq__item.is-open .faq__n .dm { filter: drop-shadow(0 0 .05em rgba(255, 255, 255, .6)) drop-shadow(0 0 .2em rgba(34, 229, 127, .6)); }
.faq__q i { width: 36px; height: 36px; border-color: rgba(214, 255, 232, .18); color: var(--text); }
.faq__q:hover i { border-color: rgba(34, 229, 127, .6); }
.faq__item.is-open .faq__q i { background: var(--g); border-color: var(--g); color: var(--ink); }
.faq__a p { padding: 0 64px 22px 74px; color: #a6b3ab; font-size: 15px; line-height: 1.65; }

.callcard {
  border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(34, 229, 127, .2), rgba(34, 229, 127, .03) 55%), var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .25), 0 40px 80px -40px rgba(0, 0, 0, .8);
}
.callcard > :not(.callcard__me) { position: relative; z-index: 1; }
.callcard__t em { background: none; color: var(--g); }
.callcard__t .dots { color: var(--g); text-shadow: none; font-size: 1.16em; line-height: 0; }
.callcard__t .dots .dm { filter: drop-shadow(0 0 .04em rgba(34, 229, 127, .8)); }
.callcard__t .dots .dm circle { stroke: currentColor; stroke-width: .2; }   /* «20» жирнее: точки крупнее, как у заголовков этапов */
.callcard__list { margin-bottom: 12px; }
.callcard .btn { margin-top: auto; }
.callcard__me {
  --w: clamp(130px, 13.5vw, 200px);
  position: absolute; z-index: 0; right: 16px;
  bottom: calc(clamp(24px, 3vw, 36px) + 30px - var(--w) * .801);
  width: var(--w); height: auto; max-width: none; pointer-events: none;
}
@media (max-width: 960px) {
  .callcard { min-height: 0; padding-bottom: clamp(24px, 3vw, 36px); }
}
@media (max-width: 720px) {
  .faq__q { gap: 12px; padding: 18px 16px 18px 16px; }
  .faq__n { width: 28px; font-size: 22px; }
  .faq__a p { padding: 0 16px 20px 56px; }
  .callcard__me { --w: 104px; right: 8px; }
  .callcard__list { margin-bottom: 44px; }       /* место под голову персонажа рядом с кнопкой — не на тексте списка */
}

/* v67: «Laskun» в подвале — только на русской версии (main.js, laskun): по-русски слово звучит как «ласкун»,
   при наведении, фокусе или касании над словом выпадает подсказка, что оно финское. Слово — в начале строки,
   поэтому карточка выровнена по его левому краю (по центру ушла бы за край экрана на телефоне) */
.has-tip { position: relative; cursor: help; outline: none; text-decoration: underline dotted rgba(214, 255, 232, .38); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.has-tip:hover, .has-tip:focus-visible, .has-tip.is-open { color: #eef5f1; text-decoration-color: var(--g); }
.tip {
  position: absolute; z-index: 20; left: -12px; bottom: calc(100% + 12px);
  display: flex; align-items: flex-start; gap: 10px; width: max-content; max-width: min(300px, calc(100vw - 32px));
  padding: 11px 15px 12px 11px; border-radius: 14px; background: #0c1410;
  box-shadow: inset 0 0 0 1px rgba(125, 255, 180, .22), 0 18px 40px -14px rgba(0, 0, 0, .9);
  color: #b4c2ba; font-size: 13.5px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-align: left; white-space: normal; cursor: default;
  opacity: 0; visibility: hidden; translate: 0 6px; pointer-events: none;
  transition: opacity .25s, translate .35s var(--ease), visibility 0s .35s;
}
.tip::after { content: ""; position: absolute; left: 30px; bottom: -6px; width: 11px; height: 11px; background: #0c1410; rotate: 45deg; box-shadow: 1px 1px 0 rgba(125, 255, 180, .22); }
.tip .flag { width: 18px; height: 18px; margin-top: 1px; }
.tip b { display: block; margin-bottom: 2px; color: #eef5f1; font-weight: 600; }
.has-tip:hover .tip, .has-tip:focus-visible .tip, .has-tip.is-open .tip { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .25s, translate .35s var(--ease), visibility 0s; }
/* телефон: слово стоит у самого края контейнера — карточка не доходит до края экрана ближе 12 px */
@media (max-width: 480px) { .tip { left: -4px; } .tip::after { left: 22px; } }
@media (prefers-reduced-motion: reduce) { .tip, .has-tip:hover .tip, .has-tip:focus-visible .tip, .has-tip.is-open .tip { translate: none; } }

/* v67: ссылки внутри SEO-текстов (портфолио: соседние кейсы и калькулятор) — светлее текста, с зелёным подчёркиванием */
.seo__body a { color: #e6eee9; text-decoration: underline; text-decoration-color: rgba(34, 229, 127, .5); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .25s, text-decoration-color .25s; }
.seo__body a:hover, .seo__body a:focus-visible { color: var(--g); text-decoration-color: var(--g); }

/* v67: обратный звонок — короткая форма «имя и телефон» (main.js, callback): окно #callback, из-за верхнего края которого
   выглядывает персонаж (кадр peek: линия среза — 95.06 % высоты, ниже неё только кончики пальцев — они лежат на краю окна),
   и встроенная форма после цен (.cb-inline). Поля 16 px, чтобы телефон не увеличивал страницу при фокусе */
.cb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 16px; border: 0; background: transparent; color: inherit; overflow-y: auto; overscroll-behavior: contain; }
.cb[open] { display: grid; place-items: center; }
.cb::backdrop { background: rgba(2, 6, 4, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cb__card {
  --pw: 168px;
  position: relative; width: min(440px, 100%); margin: calc(var(--pw) * 789 / 720 * .95 + 8px) 0 16px; padding: 30px 28px 24px; border-radius: 28px;
  background: radial-gradient(120% 90% at 0% 0%, rgba(34, 229, 127, .2), rgba(34, 229, 127, .03) 55%), var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(34, 229, 127, .3), 0 40px 90px -30px rgba(0, 0, 0, .9);
}
.cb[open] .cb__card { animation: cbIn .5s var(--ease) both; }
@keyframes cbIn { from { opacity: 0; translate: 0 26px; scale: .97; } }
.cb__peek { position: absolute; left: 22px; top: calc(var(--pw) * 789 / 720 * -.9506); width: var(--pw); height: auto; max-width: none; pointer-events: none; }
.cb[open] .cb__peek { animation: cbPeek .7s .12s var(--ease) both; }
@keyframes cbPeek { from { clip-path: inset(100% 0 0 0); translate: 0 30%; } to { clip-path: inset(0 0 0 0); translate: 0 0; } }
.cb__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); transition: background-color .25s; }
.cb__x:hover, .cb__x:focus-visible { background: rgba(255, 255, 255, .14); }
.cb__x span, .cb__x span::before { display: block; width: 16px; height: 1.6px; border-radius: 2px; background: #eef5f1; rotate: 45deg; }
.cb__x span::before { content: ""; rotate: 90deg; }
.cb__kicker { margin: 0 0 10px; padding-right: 44px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g); }
.cb__t { margin: 0 0 10px; padding-right: 30px; font: 500 clamp(22px, 2.2vw, 27px)/1.12 var(--font-d); letter-spacing: -.045em; color: #eef5f1; }
.cb__d { margin: 0 0 20px; color: #a9b6af; font-size: 14.5px; line-height: 1.6; }

.cb-form { position: relative; display: grid; gap: 10px; }
/* поле (16.11.2026): значок слева, подпись «Имя» / «Телефон» — внутри поля, на его линии. При фокусе или с текстом
   подпись уезжает вверх и мельчает, а в поле проступает подсказка-пример («Например, +372 …») */
.cb-field { position: relative; display: block; }
.cb-field__ic {
  position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none;
  fill: none; stroke: #8fa197; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: stroke .25s;
}
.cb-field input {
  width: 100%; height: 56px; padding: 22px 16px 6px 48px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #eef5f1; font: inherit; font-size: 16px;
  transition: box-shadow .25s, background-color .25s;
}
.cb-field > span {
  position: absolute; left: 48px; top: 28px; transform: translateY(-50%); transform-origin: 0 50%;
  color: #8fa197; font-size: 15px; line-height: 1; white-space: nowrap; pointer-events: none;
  transition: top .3s var(--ease), transform .3s var(--ease), color .3s;
}
.cb-field input:focus + span, .cb-field input:not(:placeholder-shown) + span { top: 16px; transform: translateY(-50%) scale(.78); color: var(--g); }
.cb-field input::placeholder { color: transparent; transition: color .25s; }
.cb-field input:focus::placeholder { color: #5f6d65; }
.cb-field:focus-within .cb-field__ic { stroke: var(--g); }
.cb-field input:focus { outline: none; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1.5px var(--g), 0 0 0 4px rgba(34, 229, 127, .12); }
.cb-field.is-error input { box-shadow: inset 0 0 0 1.5px #ff7b7b; }
.cb-field.is-error > span, .cb-field.is-error .cb-field__ic { color: #ff9b9b; stroke: #ff9b9b; }
.cb-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.cb-form__go { margin-top: 6px; justify-content: center; }
.cb-form__note { margin: 2px 0 0; color: #6f7d75; font-size: 12.5px; line-height: 1.5; }
.cb-form__note.is-err { color: #ff8f8f; }
.cb-form.is-sending .cb-form__go { opacity: .65; pointer-events: none; }
.cb-form.is-sent .cb-field, .cb-form.is-sent .cb-form__go { display: none; }
.cb-form.is-sent .cb-form__note { display: flex; align-items: center; gap: 12px; margin: 0; color: #eef5f1; font-size: 15px; line-height: 1.5; }
.cb-form.is-sent .cb-form__note::before { content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2303140a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 0 22px rgba(34, 229, 127, .45); }

/* встроенная форма после цен (16.11.2026): слева — зачем, справа — поля «Имя» и «Телефон» друг под другом и кнопка.
   Между ними место для персонажа в новой позе (.cb-inline__me, кадр ждёт генерации — assets/raw/character/BRIEF.md §6):
   когда картинка есть в разметке, сетка сама становится трёхколоночной */
.cb-inline {
  --cbp: clamp(20px, 2.4vw, 30px);
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 18px clamp(24px, 3vw, 44px); align-items: center;
  margin-top: clamp(22px, 2.6vw, 32px); padding: var(--cbp); border-radius: 26px;
  background: radial-gradient(90% 140% at 0% 0%, rgba(34, 229, 127, .1), transparent 60%), rgba(255, 255, 255, .02);
  box-shadow: inset 0 0 0 1px var(--line);
}
.cb-inline:has(.cb-inline__me) { grid-template-columns: minmax(0, 1fr) auto minmax(300px, 380px); }
.cb-inline > :not(.cb-inline__fern) { position: relative; z-index: 1; }
.cb-inline__copy { align-self: start; }   /* заголовок, текст и пункты — по верху, вровень с полем «Имя» (16.11.2026) */
/* папоротник (16.11.2026: «пустовато на больших экранах») — растёт от нижнего края в пустом месте слева от персонажа,
   правым краем чуть заходит за него; отступ справа = поле карточки + колонка формы + промежуток + почти весь персонаж */
.cb-inline__fern {
  position: absolute; z-index: 0; bottom: 0; width: clamp(160px, 13vw, 230px); height: auto; pointer-events: none; opacity: .92;
  right: calc(var(--cbp) + 380px + clamp(24px, 3vw, 44px) + clamp(150px, 13vw, 190px) * .85);
}
@media (max-width: 1199px) { .cb-inline__fern { display: none; } }
/* персонаж стоит на нижнем крае карточки (низ кадра — ровный срез по брюкам), голова на 16 px выше верхнего края:
   отрицательные поля — чтобы карточка не росла из-за высокого кадра */
.cb-inline__me {
  align-self: end; width: clamp(150px, 13vw, 190px); height: auto;
  margin: calc((var(--cbp) + 16px) * -1) 0 calc(var(--cbp) * -1); pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .35));
}
.cb-inline__t { margin: 0 0 10px; font: 600 clamp(24px, 2.3vw, 34px)/1.1 var(--font-d); letter-spacing: -.04em; color: #fff; }   /* пожирнее (16.11.2026): 600 — самый жирный из подключённых Unbounded 300..600 */
.cb-inline__d { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
/* три факта под текстом (16.11.2026: «заполнить пространство») — зелёные звёздочки, как у фактов на страницах услуг */
.cb-inline__facts { list-style: none; display: grid; gap: 9px; margin: 16px 0 0; padding: 0; }
.cb-inline__facts li { position: relative; isolation: isolate; display: flex; align-items: center; gap: 10px; color: #cfdcd4; font-size: 14.5px; line-height: 1.4; }
.cb-inline__facts li::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--g); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }
.cb-inline__facts li::after { content: ""; position: absolute; z-index: -1; left: 1px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: rgba(34, 229, 127, .45); filter: blur(7px); }
.cb-inline__facts li:nth-child(2) { --k: 1; }
.cb-inline__facts li:nth-child(3) { --k: 2; }
@media (prefers-reduced-motion: no-preference) {
  .cb-inline__facts li::before { animation: cbStar 4.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -1.4s); }
}
@keyframes cbStar { 0%, 100% { transform: none; } 50% { transform: scale(.72) rotate(45deg); opacity: .75; } }
.cb-form--row { grid-template-columns: minmax(0, 1fr); }
.cb-form--row .cb-form__go { margin-top: 4px; --h: 54px; }
@media (max-width: 960px) {
  .cb-inline, .cb-inline:has(.cb-inline__me) { grid-template-columns: 1fr; }
  .cb-inline__facts { display: none; }   /* на телефоне и планшете пунктов нет (16.11.2026) */
  /* персонаж на телефоне и планшете (21.11.2026, «справа на мобилке тоже»): стоит справа на нижнем крае карточки,
     как на ПК — ровный срез по брюкам; поля, кнопка и текст рядом с ним становятся уже, чтобы он их не закрывал */
  .cb-inline { --me: clamp(142px, 30vw, 210px); }
  .cb-inline > .cb-inline__me { position: absolute; z-index: 2; right: max(4px, calc(var(--cbp) - 14px)); bottom: 0; width: var(--me); margin: 0; }
  .cb-inline .cb-form--row { margin-right: calc(var(--me) * .8); }
  .cb-inline .cb-form__note { margin-right: calc(var(--me) * .14); }   /* локоть персонажа — у нижнего края, текст под ним не прячем */
}
@media (min-width: 560px) and (max-width: 960px) {   /* здесь голова поднимается до текста — он тоже сторонится; места хватает, локоть не заходит на кнопку */
  .cb-inline__d { margin-right: calc(var(--me) * .9); }
  .cb-inline .cb-form--row { margin-right: calc(var(--me) * .92); }
  .cb-inline .cb-form__note { margin-right: 0; }
}
/* маленькая ширина (21.11.2026, «персонажа под инпутами либо на задний фон»): поля «Имя» и «Телефон» — во всю ширину,
   персонаж стоит под ними: голова сразу под полем «Телефон» (макушка может спрятаться за ним), рядом с кнопкой и подписью,
   низ срезан нижним краем карточки. Форма идёт в разметке после картинки, поэтому лежит поверх неё — поля непрозрачные,
   того же цвета, что раньше (5 % белого поверх карточки), чтобы сквозь них ничего не просвечивало */
@media (max-width: 559px) {
  .cb-inline { --me: 146px; overflow: clip; }
  .cb-inline > .cb-inline__me { z-index: 1; bottom: calc(var(--me) * -.55); }
  .cb-inline .cb-form--row { margin-right: 0; }
  .cb-inline .cb-form--row .cb-form__go { margin-right: calc(var(--me) * .74); padding: 0 16px; gap: 8px; }
  .cb-inline .cb-form__note { margin-right: calc(var(--me) * .9); }
  .cb-inline .cb-field input { background-color: rgb(27, 31, 29); }
  .cb-inline .cb-field input:focus { background-color: rgb(32, 37, 34); }
}
@media (min-width: 420px) and (max-width: 559px) {   /* подпись здесь в одну строку — карточка ниже, персонажа чуть опускаем, чтобы лоб не уходил под поле */
  .cb-inline > .cb-inline__me { bottom: calc(var(--me) * -.63); }
}
@media (max-width: 520px) {
  .cb__card { --pw: 132px; padding: 26px 20px 20px; }
  .cb__peek { left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .cb[open] .cb__card, .cb[open] .cb__peek { animation: none; } }

/* ---------- курсор сайта (16.11.2026, v70): зелёная стрелка и зелёная рука-указатель с тёмным контуром ----------
   Только для мыши (pointer: fine); на телефоне курсора нет. В полях ввода — обычный текстовый курсор, у ползунка
   калькулятора — «схватить». Картинки — SVG прямо здесь; если браузер их не берёт, остаются обычные auto / pointer */
:root {
  --cur: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 3.5v20.2l5.3-5.1 3.6 8.2 3.9-1.7-3.6-8.1h7.4z' fill='%2322e57f' stroke='%2304140b' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") 5 3, auto;
  --cur-hand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cg fill='%2304140b' stroke='%2304140b' stroke-width='3' stroke-linejoin='round'%3E%3Crect x='11' y='2.5' width='5' height='16' rx='2.5'/%3E%3Crect x='15.6' y='10' width='4.6' height='10' rx='2.3'/%3E%3Crect x='19.8' y='11.3' width='4.6' height='9' rx='2.3'/%3E%3Crect x='24' y='13' width='4.2' height='8' rx='2.1'/%3E%3Crect x='11' y='15' width='17.2' height='15' rx='5.5'/%3E%3Crect x='5.6' y='14.2' width='5' height='10.5' rx='2.5' transform='rotate(-38 8.1 19.45)'/%3E%3C/g%3E%3Cg fill='%2322e57f'%3E%3Crect x='11' y='2.5' width='5' height='16' rx='2.5'/%3E%3Crect x='15.6' y='10' width='4.6' height='10' rx='2.3'/%3E%3Crect x='19.8' y='11.3' width='4.6' height='9' rx='2.3'/%3E%3Crect x='24' y='13' width='4.2' height='8' rx='2.1'/%3E%3Crect x='11' y='15' width='17.2' height='15' rx='5.5'/%3E%3Crect x='5.6' y='14.2' width='5' height='10.5' rx='2.5' transform='rotate(-38 8.1 19.45)'/%3E%3C/g%3E%3Cpath d='M15.8 15.6v4.2M20 16.4v3.8M24.2 17.4v3.2' stroke='%2304140b' stroke-width='1.1' stroke-linecap='round'/%3E%3C/svg%3E") 13 3, pointer;
}
@media (pointer: fine) {
  html { cursor: var(--cur); }
  a[href], button:not(:disabled), [role="button"], label, summary, select, .opt, .swipe, .xphone__dock, .pick label,
  input[type="checkbox"], input[type="radio"] { cursor: var(--cur-hand); }
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), textarea, [contenteditable="true"] { cursor: text; }
  button.swipe__knob { cursor: grab; }
  button.swipe__knob:active { cursor: grabbing; }
}

/* ========== загрузочный экран: «tarkva» из звёздочек-лампочек (разметка и скрипт — блок «boot» сразу после <body>) ==========
   205 звёздочек на сетке логотипа 48 × 9 (assets/img/logo-dots.svg): сначала тусклые, загораются волной слева направо
   со случайным разбросом — вспышка и мерцание, как у звёздочек в прайсе; за словом растёт мягкое свечение. Анимируются
   только opacity и scale — это идёт мимо основного потока, поэтому огоньки не дёргаются, пока страница грузится.
   Пока экран на месте (html.booting), анимации страницы стоят на паузе и начинаются, когда он уходит */
.boot {
  position: fixed; inset: 0; z-index: 2147483000; display: grid; place-items: center; background: var(--bg);
  transition: opacity .6s var(--ease), visibility 0s .6s;
  animation: bootSafe 0s 6s forwards;   /* страховка: если скрипт не сработал, экран всё равно уходит */
}
html:not(.js) .boot { display: none; }
.boot.is-out { opacity: 0; visibility: hidden; pointer-events: none; }
.boot__word { position: relative; width: min(76vw, 880px); aspect-ratio: 48 / 9; transition: scale .8s var(--ease); }
.boot.is-out .boot__word { scale: 1.05; }
.boot__word::before {
  content: ""; position: absolute; inset: -70% -14%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(34, 229, 127, .2), rgba(34, 229, 127, 0));
  opacity: 0; animation: bootGlow 1.7s .15s ease-out forwards;
}
.boot__word i {
  position: absolute; left: calc((var(--x) + .5) * 100% / 48); top: calc((var(--y) + .5) * 100% / 9);
  width: calc(var(--s) * 100% / 48 * .95); aspect-ratio: 1; translate: -50% -50%;   /* меньше клетки — каждая звёздочка отдельной лампочкой */
  background: var(--g); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  opacity: .1;
  animation: bootOn .5s var(--d) both, bootTw var(--t) calc(var(--d) + .5s) ease-in-out infinite;
}
@keyframes bootOn { 0% { opacity: .1; scale: .7; } 40% { opacity: 1; scale: 1.6; } 100% { opacity: 1; scale: 1; } }
@keyframes bootTw { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }
@keyframes bootGlow { to { opacity: 1; } }
@keyframes bootSafe { to { opacity: 0; visibility: hidden; } }
.booting .page *, .booting .page *::before, .booting .page *::after,
.booting .nav *, .booting .nav *::before, .booting .nav *::after { animation-play-state: paused !important; }
@media (max-width: 640px) { .boot__word { width: 86vw; } }

/* =========================================================
   Карточка работы — «стеклянная папка» (21.11.2026 перенесена сюда из portfolio.css, чтобы те же карточки стояли
   и на главной): снимок сайта выглядывает из матового кармана; при наведении — а на телефоне, когда карточка
   в середине экрана (touchLit, .is-lit), — снимок выезжает, карман зеленеет. Разметку собирает i18n/portfolio.py
   (folder, tags): /portfolio/, страницы услуг (i18n/services.py), «Последние проекты» на главной. Сетки — у каждой свои.
   ========================================================= */
:root { --glass: rgba(255, 255, 255, .045); --glass-2: rgba(255, 255, 255, .08); --glass-line: rgba(255, 255, 255, .09); }
.pf-card { position: relative; display: flex; flex-direction: column; border-radius: 26px; padding: 12px 12px 0; background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .012)); border: 1px solid var(--line); transition: border-color .3s, transform .6s var(--ease); }
.pf-card[hidden] { display: none; }
.pf-card:is(:hover, .is-lit) { border-color: var(--line-2); transform: translateY(-4px); }
.pf-card:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }
.folder { position: relative; aspect-ratio: 16 / 12.2; }
.folder__back { position: absolute; inset: 7% 0 0; border-radius: 18px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.folder__back::before { content: ""; position: absolute; top: -9.5%; right: 7%; width: 34%; height: 13%; border-radius: 12px 12px 0 0; background: inherit; box-shadow: inherit; }
.folder__img {
  position: absolute; left: 8%; top: 0; width: 84%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top;
  border-radius: 10px; transform: translateY(9%) rotate(-1.4deg); transform-origin: 50% 100%;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .85); transition: transform .7s var(--ease);
}
:is(.pf-card:is(:hover, .is-lit), .next-card:hover) .folder__img { transform: translateY(-3%) rotate(0deg); }
.folder__front {
  position: absolute; left: 0; right: 0; bottom: 0; height: 56%; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px;
  padding: 0 14px 13px 16px; border-radius: 0 0 18px 18px;
  background: linear-gradient(180deg, rgba(228, 236, 232, .42), rgba(228, 236, 232, .26));
  backdrop-filter: blur(22px) saturate(85%) brightness(1.08); -webkit-backdrop-filter: blur(22px) saturate(85%) brightness(1.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
  clip-path: polygon(0% 7%, .8% 2.4%, 3% .5%, 6% 0%, 37% 0%, 40% .9%, 42.6% 3.4%, 45.2% 8%, 47.8% 12.4%, 50.6% 14.6%, 54% 15.2%, 95% 15.2%, 98% 16%, 99.5% 18.5%, 100% 22%, 100% 100%, 0% 100%);
  transition: background .5s;
}
:is(.pf-card:is(:hover, .is-lit), .next-card:hover) .folder__front { background: linear-gradient(180deg, rgba(46, 229, 132, .78), rgba(31, 191, 104, .62)); }
.folder__dom { font-size: 12.5px; color: rgba(255, 255, 255, .92); text-shadow: 0 1px 8px rgba(0, 0, 0, .35); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .4s; }
.folder__go { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .22); transition: background .4s; }
.folder__go svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
:is(.pf-card:is(:hover, .is-lit), .next-card:hover) .folder__dom { color: var(--ink); text-shadow: none; }
:is(.pf-card:is(:hover, .is-lit), .next-card:hover) .folder__go { background: var(--ink); }
.pf-card__live {
  position: absolute; top: 11%; right: 10%; z-index: 1; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px 5px 8px; border-radius: 999px; background: rgba(6, 8, 7, .78); backdrop-filter: blur(10px); font-size: 11.5px; color: #dfe9e3;
}
.pf-card__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 10px var(--g); }
.pf-card__body { display: grid; gap: 5px; padding: 16px 8px 20px; }
.pf-card :is(h2, h3) { display: flex; align-items: center; gap: 10px; margin: 0; font: 500 clamp(19px, 1.5vw, 24px)/1.1 var(--font-d); letter-spacing: -.045em; }
.pf-card :is(h2, h3)::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dim); transition: background .3s, box-shadow .3s; }
.pf-card:is(:hover, .is-lit) :is(h2, h3)::before { background: var(--g); box-shadow: 0 0 10px var(--g); }
.pf-card p { margin: 0; padding-left: 17px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0 0 0 17px; list-style: none; }
.tags li { padding: 5px 10px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font-size: 11.5px; color: #a9bab0; }
.tags li.is-dev { border-color: rgba(214, 255, 92, .35); color: var(--lime); }

/* «Последние проекты» на главной (21.11.2026): сразу после формы «Нет времени разбираться?» — три первых кейса
   (i18n/portfolio.py → home_cards) и кнопка «Смотреть всё портфолио». Шапка как у «Услуги и цены»: заголовок слева, подпись справа */
.pfh__head { margin-bottom: clamp(32px, 4vw, 56px); }
.pfh__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.pfh__all { margin-top: clamp(22px, 2.6vw, 36px); }
@media (max-width: 900px) {   /* на планшете две в ряд, третью прячем — чтобы не висела одна во втором ряду */
  .pfh__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pfh__grid > .pf-card:nth-child(n + 3) { display: none; }
}
@media (max-width: 640px) {   /* на телефоне все три друг под другом, кнопка во всю ширину */
  .pfh__grid { grid-template-columns: minmax(0, 1fr); }
  .pfh__grid > .pf-card:nth-child(n + 3) { display: flex; }
  .pfh__all { width: 100%; justify-content: center; }
}
