/* PROTOFLOW · страница «Сайт для креативной студии, дизайнера, видеопродакшна». 2026-11-20.
   Основа (токены, шапка, кнопки, вопросы, призыв) - как у соседних страниц; свои блоки в конце. Фон - общий /fon/. */
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("/stati/assets/fonts/golos-rub-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* 01. Токены: цвет (роли) -------------------------------------------------- */
:root {
  color-scheme: dark;
  --c-ink: #f4f2ff;
  --c-ink-2: rgba(244, 242, 255, 0.84);
  --c-ink-3: rgba(236, 234, 255, 0.66);
  --c-line: rgba(255, 255, 255, 0.1);
  --c-line-strong: rgba(255, 255, 255, 0.2);
  --c-accent: #b47cff;
  --c-accent-2: #ff9ffc;
  --c-accent-soft: rgba(180, 124, 255, 0.16);
  --c-link: #d9b8ff;
  --c-link-hover: #ff9ffc;
  --c-on-accent: #ffffff;
  --c-btn: linear-gradient(120deg, #5227ff, #8a3df0 55%, #c04ee8);
  --c-btn-hover: linear-gradient(120deg, #4a1fef, #7d33e3 55%, #b343db);
  /* плашки как на главной: полупрозрачные, фон главной просвечивает */
  --c-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.07), rgba(160, 80, 255, 0.05));
  --c-glass-hover: linear-gradient(145deg, rgba(160, 80, 255, 0.16), rgba(255, 110, 220, 0.07));
  --c-glass-line: rgba(255, 255, 255, 0.12);
  --c-glass-line-hover: rgba(255, 159, 252, 0.36);
  --c-plate: rgba(18, 10, 34, 0.72);
  --c-select: rgba(180, 124, 255, 0.38);
  --c-header: rgba(10, 6, 18, 0.78);
  --c-shadow: rgba(0, 0, 0, 0.45);
  /* чек: холодная бумага (не кремовая) */
  --c-paper: #f3f1fa;
  --c-paper-ink: #17121f;
  --c-paper-ink-2: #4b4360;
  --c-paper-line: rgba(23, 18, 31, 0.28);
  --c-mask: #000;
  --c-star: #ff9ffc;
  --c-star-head: #ffffff;
  --c-glare: rgba(255, 236, 252, 0.55);
  --c-text-shade: rgba(8, 5, 15, 0.85);
}

/* 01б. Токены: шрифт, размеры, отступы, радиусы, движение ----------------- */
:root {
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  /* Егор 20.11: основной 18-20 px на компьютере, 17-18 на телефоне, вторичный не мельче 15, заголовки 48-64 */
  --fs-xs: 0.9375rem;
  --fs-sm: 1rem;
  --fs-base: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-xl: clamp(1.375rem, 1.1rem + 0.9vw, 1.875rem);
  --fs-2xl: clamp(1.625rem, 1.2rem + 1.4vw, 2.375rem);
  --fs-h2: clamp(2.25rem, 1.35rem + 2.8vw, 3.75rem);
  --fs-h1: clamp(2.5rem, 1.3rem + 4vw, 4.75rem);
  --fs-big: clamp(2.5rem, 1.6rem + 4.8vw, 6rem);
  --lh-tight: 1.05;
  --lh-head: 1.12;
  --lh-text: 1.55;
  --fw-head: 600;
  --ls-display: -0.03em;
  --ls-head: -0.02em;
  --ls-brand: 0.02em;
  --ls-caps: 0.06em;
  --w-line: 34em;

  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  /* отступ между блоками: 72 на телефоне → 152 на большом экране (бриф, раздел 0, п. 3) */
  --sec-y: clamp(72px, 2.5rem + 7vw, 152px);

  --r-xs: 5px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --w-page: 1240px;
  --w-text: 760px;
  --w-faq: 920px;
  --w-shot-max: 1280px; /* не растягивать скрин работы больше его размера */
  --w-h2: 24ch;
  --w-h1-m: 12ch;
  --w-h1: 22ch;
  --w-cta-title: 14ch;
  --bullet-y: 0.7em;
  --w-receipt: 480px;
  --h-btn: 48px;
  --h-btn-big: 56px;
  --h-btn-huge: 68px;
  --h-tile: 96px;
  --st-flow: 120px;
  --st-flow-m: 64px;
  --st-bag: 170px;
  --st-bag-m: 96px;
  --st-own: 220px;
  --st-own-m: 120px;
  --st-cta: 112px;
  --dot: 16px;
  --zz: 10px;
  --tag-notch: 30px;
  --sh-shot: 0 40px 80px -30px var(--c-shadow);
  --sh-dot: 0 0 0 5px rgba(10, 6, 18, 0.9);
  --sh-ring: inset 0 0 0 1px var(--c-line-strong);
  --sh-step: inset 0 0 0 2px var(--c-line-strong);
  --sh-step-on: inset 0 0 0 2px var(--c-accent-2);
  --sh-text: 0 1px 2px var(--c-text-shade), 0 0 18px var(--c-text-shade);
  --tick: 22px;

  --t-lap: 2600ms;
  --t-lap-hover: 900ms;
  --t-glare: 650ms;
  --t-tick: 260ms;
  --d-tick: 90ms;
  --t-fast: 160ms;
  --t-base: 420ms;
  --t-slow: 700ms;
  --t-print: 900ms;
  --t-fill: 2400ms;
  --t-swing: 1200ms;
  --d-1: 120ms;
  --d-2: 200ms;
  --d-3: 240ms;
  --d-4: 360ms;
  --d-5: 650ms;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}
@media (max-width: 719px) {
  :root { --fs-base: 1.0625rem; --fs-lg: 1.25rem; }
}

/* 02. База --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s-20); interpolate-size: allow-keywords; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-text);
  color: var(--c-ink);
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
::selection { background: var(--c-select); color: var(--c-ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in srgb, currentColor 45%, transparent); }
a:hover { color: var(--c-link-hover); text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--c-accent-2); outline-offset: 3px; border-radius: var(--r-sm); }
h1, h2, h3 { margin: 0; font-weight: var(--fw-head); }
p, ul, ol, dl, dd { margin: 0; }
b { font-weight: var(--fw-head); color: var(--c-ink); }
.nowrap { white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--s-4); top: calc(-1 * var(--s-20)); z-index: 30; padding: var(--s-2) var(--s-4); background: var(--c-plate); color: var(--c-ink); border-radius: var(--r-sm); }
.skip:focus { top: var(--s-2); }

.wrap { max-width: var(--w-page); margin: 0 auto; padding: 0 var(--s-5); }
@media (min-width: 720px) { .wrap { padding: 0 var(--s-8); } }

/* 03. Шапка и подвал (как в блоге) --------------------------------------- */
.top { position: sticky; top: 0; z-index: 20; background: var(--c-header); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--c-line); }
.top__in { max-width: var(--w-page); margin: 0 auto; padding: var(--s-3) var(--s-5); display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); }
@media (min-width: 720px) { .top__in { padding: var(--s-3) var(--s-8); } }
.top a:first-child { display: inline-flex; align-items: center; }
.top .logo { width: 150px; height: auto; overflow: visible; display: block; }
.top__in { flex-wrap: wrap; }
.top__nav { display: flex; gap: var(--s-1) var(--s-5); font-size: var(--fs-sm); }
.top__nav a { color: var(--c-ink-2); text-decoration: none; padding: var(--s-2) 0; }
.top__nav a:hover { color: var(--c-link-hover); }
/* телефон: ссылки второй строкой под логотипом, листаются вбок внутри себя */
@media (max-width: 899px) {
  .top__nav { order: 3; flex: 1 0 100%; gap: var(--s-5); overflow-x: auto; scrollbar-width: none; margin-top: calc(-1 * var(--s-2)); }
  .top__nav::-webkit-scrollbar { display: none; }
  .top__nav a { white-space: nowrap; }
}
@media (min-width: 900px) { .top__nav { margin-left: auto; margin-right: var(--s-6); } }
.logo__wordmark { fill: var(--c-ink); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--c-accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .progress { animation: bar-grow linear both; animation-timeline: scroll(root); }
}
@keyframes bar-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: var(--h-btn); padding: var(--s-2) var(--s-5);
  border-radius: var(--r-pill); border: 1px solid transparent;
  font: 600 var(--fs-sm)/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--main { background: var(--c-btn); color: var(--c-on-accent); }
.btn--main:hover { background: var(--c-btn-hover); color: var(--c-on-accent); }
.btn--ghost { background: var(--c-plate); color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--ghost:hover { color: var(--c-ink); border-color: var(--c-accent-2); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--big { min-height: var(--h-btn-big); padding: var(--s-3) var(--s-8); font-size: var(--fs-base); }
.btn--huge { min-height: var(--h-btn-huge); padding: var(--s-4) var(--s-10); font-size: var(--fs-lg); }

.foot { margin-top: var(--sec-y); border-top: 1px solid var(--c-line); background: var(--c-plate); }
.foot__in { max-width: var(--w-page); margin: 0 auto; padding: var(--s-12) var(--s-5) var(--s-16); display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); font-size: var(--fs-sm); color: var(--c-ink-3); }
@media (min-width: 560px) { .foot__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .foot__in { grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); padding-left: var(--s-8); padding-right: var(--s-8); } }
.foot__col { display: grid; gap: var(--s-2); align-content: start; }
.foot__col p { max-width: var(--w-line); line-height: 1.5; }
.foot__brand { color: var(--c-ink); font-weight: 600; letter-spacing: var(--ls-brand); }
.foot__h { color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-1); }
.foot a[aria-current] { color: var(--c-ink); }
.foot a { color: var(--c-ink-2); text-decoration: none; }
.foot a:hover { color: var(--c-link-hover); }

/* 04. Общее для блоков ---------------------------------------------------- */
.sec { padding-top: var(--sec-y); }
.sec__title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--ls-head); text-wrap: balance; max-width: var(--w-h2); }
.sec__lead { margin-top: var(--s-5); font-size: var(--fs-lg); line-height: 1.45; color: var(--c-ink-2); max-width: var(--w-line); }
.sec__aside { margin-top: var(--s-10); font-size: var(--fs-sm); color: var(--c-ink-3); max-width: var(--w-text); }

/* раскрывашка «подробнее»: подробности спрятаны, главное остаётся крупным */
.more-d { margin-top: var(--s-12); max-width: var(--w-text); }
.more-d summary {
  display: inline-flex; align-items: center; gap: var(--s-3); min-height: var(--h-btn);
  padding: var(--s-2) var(--s-6); border-radius: var(--r-pill); border: 1px solid var(--c-glass-line);
  background: var(--c-glass); cursor: pointer; list-style: none; font-weight: 500; color: var(--c-ink-2);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.more-d summary::-webkit-details-marker { display: none; }
.more-d summary::after { content: "+"; font-size: var(--fs-lg); line-height: 1; color: var(--c-ink-3); transition: rotate var(--t-base) var(--ease); }
.more-d[open] summary::after { rotate: 45deg; }
.more-d summary:hover { border-color: var(--c-glass-line-hover); color: var(--c-ink); }
.more-d__list { list-style: none; padding: var(--s-6) 0 0; display: grid; gap: var(--s-4); color: var(--c-ink-2); }

/* 12. Вопросы: плашки как на главной -------------------------------------- */
.faq__list { margin-top: var(--s-12); display: grid; gap: var(--s-3); max-width: var(--w-faq); }
.qa { border-radius: var(--r-lg); border: 1px solid var(--c-glass-line); background: var(--c-glass); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.qa:hover, .qa[open] { border-color: var(--c-glass-line-hover); background: var(--c-glass-hover); }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: center; padding: var(--s-5) var(--s-6); font-weight: 600; font-size: var(--fs-lg); line-height: 1.3; border-radius: var(--r-lg); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-weight: 400; font-size: var(--fs-xl); line-height: 1; color: var(--c-ink-3); transition: rotate var(--t-base) var(--ease); }
.qa[open] summary::after { rotate: 45deg; }
.qa__a { padding: 0 var(--s-6) var(--s-6); color: var(--c-ink-2); max-width: var(--w-line); }
@media (prefers-reduced-motion: no-preference) {
  .qa::details-content, .more-d::details-content { block-size: 0; overflow: clip; transition: block-size var(--t-base) var(--ease), content-visibility var(--t-base) allow-discrete; }
  .qa[open]::details-content, .more-d[open]::details-content { block-size: auto; }
}

/* 13. Призыв -------------------------------------------------------------- */
.cta { position: relative; display: grid; justify-items: start; gap: var(--s-5); padding: var(--s-12) var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line-hover); background: var(--c-glass); overflow: hidden; }
@media (min-width: 900px) { .cta { padding: var(--s-20) var(--s-16); } }
.cta__st { width: var(--st-cta); filter: drop-shadow(0 18px 22px var(--c-shadow)); }
@media (min-width: 900px) { .cta__st { position: absolute; right: var(--s-16); top: 50%; translate: 0 -50%; width: calc(var(--st-cta) * 1.6); } }
.cta__title { font-size: var(--fs-h2); line-height: var(--lh-head); letter-spacing: var(--ls-head); max-width: var(--w-cta-title); }
.cta__text { font-size: var(--fs-lg); color: var(--c-ink-2); }
.cta__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); margin-top: var(--s-5); }
.cta__tel { color: var(--c-ink); font-weight: 600; font-size: var(--fs-lg); text-decoration: none; white-space: nowrap; padding: var(--s-2) 0; }
.cta__tel:hover { color: var(--c-link-hover); }

/* 14. Статьи: тихий выход -------------------------------------------------- */
.reads { padding-top: var(--s-20); }
.reads__title { font-size: var(--fs-lg); color: var(--c-ink-2); font-weight: 500; }
.reads__title--2 { margin-top: var(--s-8); }
.reads__list { list-style: none; padding: 0; margin-top: var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-3); }
.reads__list a { display: inline-flex; align-items: center; min-height: var(--h-btn); padding: var(--s-2) var(--s-5); border-radius: var(--r-pill); border: 1px solid var(--c-glass-line); background: var(--c-plate); color: var(--c-ink-2); text-decoration: none; font-size: var(--fs-sm); transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.reads__list a:hover { border-color: var(--c-glass-line-hover); color: var(--c-ink); }


/* шапка: меню */
.top__in { gap: var(--s-6); }
.nav { display: none; }
.nav ul { list-style: none; padding: 0; display: flex; gap: var(--s-2); }
.nav a { display: inline-flex; align-items: center; min-height: var(--h-btn); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); color: var(--c-ink-2); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease); }
.nav a:hover { color: var(--c-ink); background: var(--c-accent-soft); }
.top__r { display: flex; align-items: center; gap: var(--s-3); }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; min-height: var(--h-btn); padding: var(--s-2) var(--s-4); border-radius: var(--r-pill); border: 1px solid var(--c-line-strong); color: var(--c-ink-2); font-size: var(--fs-sm); font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { border-color: var(--c-accent-2); color: var(--c-ink); }
.menu__list { position: absolute; right: 0; top: calc(100% + var(--s-2)); min-width: 220px; padding: var(--s-2); list-style: none; background: var(--c-plate); backdrop-filter: blur(12px); border: 1px solid var(--c-glass-line); border-radius: var(--r-md); display: grid; }
.menu__list a { display: flex; align-items: center; min-height: var(--h-btn); padding: var(--s-2) var(--s-4); border-radius: var(--r-sm); color: var(--c-ink); text-decoration: none; }
.menu__list a:hover { background: var(--c-accent-soft); }
@media (min-width: 960px) { .nav { display: block; flex: 1; margin-left: var(--s-4); } .menu { display: none; } }
@media (max-width: 479px) { .top__in { gap: var(--s-2); } .top__r { gap: var(--s-2); } .top .btn--main, .menu summary { padding-left: var(--s-3); padding-right: var(--s-3); font-size: var(--fs-xs); } .top .logo { width: 108px; } }

/* подвал: четыре колонки */
@media (min-width: 800px) { .foot__in { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.foot__h { color: var(--c-ink); font-weight: 600; margin-bottom: var(--s-1); }


/* ===== Свои блоки страницы «Сайт для креативной студии» (20.11) ===== */
:root {
  --w-h1-k: 24ch;
  --w-h2-k: 20ch;
  --fs-h1-k: clamp(1.75rem, 1rem + 3.6vw, 4.5rem);
  --fs-ticker: clamp(3rem, 1.6rem + 6vw, 7.5rem);
  --fs-num: clamp(2.75rem, 2rem + 4vw, 5.5rem);
  --fs-gal: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem);
  --st-hero: 120px;
  --st-hero-m: 80px;
  --st-tile: 120px;
  --st-tile-m: 88px;
  --glow: 380px;
  --blur-in: 14px;
  --skew-max: 7deg;
  --gap-tick: 0.6em;
  --stroke-tick: max(1px, 0.028em);
  --mask-edge: 12%;
  --r-frame: 18px;
  --gal-min: 320px;
  --t-wipe: 780ms;
  --t-img: 1100ms;
  --t-stagger: 70ms;
  --t-blur: 900ms;
  --d-auto: 5200ms;
  --c-glow: radial-gradient(circle, rgba(180, 124, 255, 0.32), rgba(255, 159, 252, 0.09) 45%, transparent 68%);
  --c-dot-off: rgba(255, 255, 255, 0.28);
  --c-bar: rgba(255, 255, 255, 0.14);
  --h-bar: 3px;
  --c-mask: #000;
}

/* 05. Первый экран ---------------------------------------------------------- */
.hero { padding-top: var(--s-4); }
.hero__in { display: grid; gap: var(--s-10) var(--s-16); align-items: center; padding-bottom: var(--s-8); }
.crumbs { padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); font-size: var(--fs-xs); color: var(--c-ink-3); margin-bottom: var(--s-6); text-shadow: var(--sh-text); }
.crumbs li + li::before { content: "/"; margin-right: var(--s-2); }
.crumbs a { color: var(--c-ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--c-link-hover); }
.hero__title { font-size: var(--fs-h1-k); line-height: var(--lh-tight); letter-spacing: var(--ls-display); text-wrap: balance; max-width: var(--w-h1-k); }
.hero__lead { margin-top: 0; font-size: var(--fs-lg); line-height: 1.45; color: var(--c-ink-2); max-width: 24em; text-shadow: var(--sh-text); }
.hero__in > * { min-width: 0; }
.hero__head { grid-column: 1 / -1; }
.hero__text { position: relative; isolation: isolate; }
.hero__text::before { content: ""; position: absolute; z-index: -1; inset: calc(-1 * var(--s-10)) calc(-1 * var(--s-4)); background: radial-gradient(closest-side, var(--c-scrim), transparent); pointer-events: none; }
@media (min-width: 960px) { .hero__text::before { inset: calc(-1 * var(--s-10)) calc(-1 * var(--s-12)); } }
.hero__price { margin-top: var(--s-6); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-4); }
.hero__sum { font-size: var(--fs-num); font-weight: 600; line-height: 1; letter-spacing: var(--ls-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero__from { font-size: var(--fs-2xl); font-weight: 500; color: var(--c-ink-2); margin-right: var(--s-2); letter-spacing: 0; }
.hero__term { font-size: var(--fs-lg); color: var(--c-ink-2); text-shadow: var(--sh-text); }
.hero__term b { font-size: var(--fs-xl); }
.hero__note { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--c-ink-3); text-shadow: var(--sh-text); }
.hero__act { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }

/* слово «выплывает из размытия» (идея reactbits BlurText); без JS заголовок виден сразу */
.bw { display: inline-block; white-space: nowrap; }
.js .hero__title.is-split .bw { opacity: 0; filter: blur(var(--blur-in)); transform: translateY(0.28em); }
.js .hero__title.is-split.is-on .bw { opacity: 1; filter: blur(0); transform: none; transition: opacity var(--t-blur) var(--ease-out), filter var(--t-blur) var(--ease-out), transform var(--t-blur) var(--ease-out); transition-delay: calc(var(--i) * var(--t-stagger)); }

/* стопка из трёх экранов: главный впереди, два выглядывают сзади */
.deck { position: relative; margin: 0; padding: var(--s-6) 0 var(--s-10); }
.deck__s { border-radius: var(--r-frame); overflow: hidden; border: 1px solid var(--c-line-strong); box-shadow: var(--sh-shot); background: var(--c-plate); }
.deck__s img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.deck__s--front { position: relative; z-index: 2; }
.deck__s--b, .deck__s--c { position: absolute; z-index: 1; width: 82%; opacity: 0.9; transition: transform var(--t-slow) var(--ease-out); }
.deck__s--b { right: 0; top: 0; transform: translate(0, 0) rotate(5deg); }
.deck__s--c { left: 0; bottom: 0; transform: translate(0, 0) rotate(-5deg); }
.deck:hover .deck__s--b, .deck:focus-within .deck__s--b { transform: translate(3%, -6%) rotate(8deg); }
.deck:hover .deck__s--c, .deck:focus-within .deck__s--c { transform: translate(-3%, 6%) rotate(-8deg); }
.deck__cap { position: relative; z-index: 3; margin-top: var(--s-4); width: fit-content; max-width: 100%; padding: var(--s-1) var(--s-3); border-radius: var(--r-pill); background: var(--c-plate); font-size: var(--fs-xs); color: var(--c-ink-3); }
.deck__st { position: absolute; z-index: 4; width: var(--st-hero-m); right: calc(-1 * var(--s-2)); top: calc(-1 * var(--s-6)); filter: drop-shadow(0 18px 22px var(--c-shadow)); pointer-events: none; }
@media (min-width: 960px) {
  .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .deck { padding-right: var(--s-4); }
  .deck__st { width: var(--st-hero); right: var(--s-4); top: calc(-1 * var(--s-10)); }
}

@media (max-width: 959px) {
  .hero__in { margin: 0 var(--s-5); padding: var(--s-6) var(--s-5); background: var(--c-plate); border-radius: var(--r-xl); gap: var(--s-8); }
  .hero__text::before { content: none; }
}
@media (min-width: 720px) and (max-width: 959px) { .hero__in { margin: 0 var(--s-8); } }

/* 06. Бегущая строка: для кого (идея reactbits ScrollVelocity) --------------- */
.ticker { margin-top: var(--s-12); overflow: clip; padding: var(--s-4) 0; mask-image: linear-gradient(to right, transparent, var(--c-mask) var(--mask-edge), var(--c-mask) calc(100% - var(--mask-edge)), transparent); -webkit-mask-image: linear-gradient(to right, transparent, var(--c-mask) var(--mask-edge), var(--c-mask) calc(100% - var(--mask-edge)), transparent); }
.ticker__row { display: flex; width: max-content; font-size: var(--fs-ticker); line-height: 1.1; font-weight: 600; letter-spacing: var(--ls-display); white-space: nowrap; will-change: transform; }
.ticker__row + .ticker__row { margin-top: var(--s-2); }
.ticker__part { display: flex; flex: none; gap: var(--gap-tick); padding-right: var(--gap-tick); }
.ticker__row--line span { color: var(--c-accent-2); -webkit-text-fill-color: transparent; -webkit-text-stroke: var(--stroke-tick) var(--c-accent-2); }
.ticker__row span:nth-child(even) { color: var(--c-accent); }
.ticker__row--line span:nth-child(even) { color: var(--c-accent); -webkit-text-stroke-color: var(--c-accent); }
.ticker__lead { margin-bottom: var(--s-4); font-size: var(--fs-sm); color: var(--c-ink-3); }
/* без JS строки стоят и переносятся */
html:not(.js) .ticker__row { width: auto; flex-wrap: wrap; font-size: var(--fs-2xl); }
html:not(.js) .ticker__part + .ticker__part { display: none; }

/* 07. Почему сайт, а не соцсети -------------------------------------------- */
.why__grid { list-style: none; padding: 0; margin-top: var(--s-16); display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .why__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6); } }
.tile { position: relative; overflow: hidden; display: grid; gap: var(--s-4); align-content: start; padding: var(--s-8) var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line); background: var(--c-glass); transition: border-color var(--t-fast) var(--ease); }
.tile::before { content: ""; position: absolute; width: var(--glow); height: var(--glow); left: calc(var(--mx, -999px) - var(--glow) / 2); top: calc(var(--my, -999px) - var(--glow) / 2); background: var(--c-glow); opacity: 0; transition: opacity var(--t-base) var(--ease); pointer-events: none; }
.tile.is-lit::before { opacity: 1; }
.tile:hover { border-color: var(--c-glass-line-hover); }
.tile > * { position: relative; }
.tile__st { width: var(--st-tile-m); height: var(--st-tile-m); object-fit: contain; filter: drop-shadow(0 14px 18px var(--c-shadow)); }
@media (min-width: 900px) { .tile__st { width: var(--st-tile); height: var(--st-tile); } }
.tile__t { font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.tile__s { font-size: var(--fs-sm); color: var(--c-ink-3); }

/* 08. Работы: переключатель с шторкой (главный блок) ------------------------- */
.gal { margin-top: var(--s-16); display: grid; gap: var(--s-8); }
@media (min-width: 960px) { .gal { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: var(--s-16); align-items: start; } }
.gal__stage { position: relative; margin: 0; }
@media (min-width: 960px) { .gal__stage { position: sticky; top: var(--s-24); order: 2; } }
.gal__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--c-line-strong); box-shadow: var(--sh-shot); background: var(--c-plate); aspect-ratio: 16 / 9; max-width: var(--w-shot-max); }
.gal__fig { margin: 0; }
.gal__fig img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.js .gal__fig { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path 0s, visibility 0s linear var(--t-wipe); }
.js .gal__fig img { transform: scale(1.12); }
.js .gal__fig.is-back { clip-path: inset(100% 0 0 0); }
.js .gal__fig.is-prev { clip-path: inset(0); visibility: visible; z-index: 1; transition: none; }
.js .gal__fig.is-on { clip-path: inset(0); visibility: visible; z-index: 2; transition: clip-path var(--t-wipe) var(--ease-out), visibility 0s; }
.js .gal__fig.is-on img { transform: scale(1); transition: transform var(--t-img) var(--ease-out); }
.gal__cap { margin-top: var(--s-4); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s-2) var(--s-4); font-size: var(--fs-sm); color: var(--c-ink-3); }
.gal__count { font-variant-numeric: tabular-nums; color: var(--c-ink-2); }
.gal__list { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
@media (min-width: 960px) { .gal__list { order: 1; gap: var(--s-1); } }
.gal__tab { position: relative; width: 100%; text-align: left; font: inherit; color: var(--c-ink-3); background: transparent; border: 0; border-radius: var(--r-md); padding: var(--s-4) var(--s-5); cursor: pointer; display: grid; gap: var(--s-1); overflow: hidden; transition: color var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.gal__tab:hover { color: var(--c-ink-2); }
.gal__tab[aria-pressed="true"] { color: var(--c-ink); background: var(--c-glass); }
.gal__name { font-size: var(--fs-gal); font-weight: 600; line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.gal__sub { font-size: var(--fs-sm); }
.gal__bar { position: absolute; left: 0; bottom: 0; height: var(--h-bar); width: 100%; background: var(--c-accent-2); transform-origin: 0 50%; transform: scaleX(0); }
.gal__tab[aria-pressed="true"] .gal__bar.is-run { animation: gal-run var(--d-auto) linear forwards; }
@keyframes gal-run { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* без JS: все скрины подряд, кнопки не нужны */
html:not(.js) .gal__list { display: none; }
html:not(.js) .gal__stage .gal__frame { aspect-ratio: auto; display: grid; gap: var(--s-6); border: 0; background: none; box-shadow: none; overflow: visible; }
html:not(.js) .gal__fig img { border-radius: var(--r-lg); border: 1px solid var(--c-line-strong); }
@media (max-width: 959px) {
  .gal__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gal__tab { padding: var(--s-3) var(--s-4); border: 1px solid var(--c-glass-line); background: var(--c-plate); }
  .gal__name { font-size: var(--fs-lg); }
}
@media (max-width: 479px) { .gal__list { grid-template-columns: minmax(0, 1fr); } }

/* 09. Цена ------------------------------------------------------------------- */
.price__grid { margin-top: var(--s-16); display: grid; gap: var(--s-6); }
@media (min-width: 900px) { .price__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plan { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-10) var(--s-6); border-radius: var(--r-xl); border: 1px solid var(--c-glass-line); background: var(--c-glass); position: relative; overflow: hidden; }
@media (min-width: 720px) { .plan { padding: var(--s-12); } }
.plan::before { content: ""; position: absolute; width: var(--glow); height: var(--glow); left: calc(var(--mx, -999px) - var(--glow) / 2); top: calc(var(--my, -999px) - var(--glow) / 2); background: var(--c-glow); opacity: 0; transition: opacity var(--t-base) var(--ease); pointer-events: none; }
.plan.is-lit::before { opacity: 1; }
.plan > * { position: relative; }
.plan--main { border-color: var(--c-glass-line-hover); }
.plan__name { font-size: var(--fs-xl); font-weight: 600; color: var(--c-ink-2); }
.plan__sum { font-size: var(--fs-num); font-weight: 600; line-height: 1; letter-spacing: var(--ls-display); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan__from { font-size: var(--fs-2xl); font-weight: 500; color: var(--c-ink-2); margin-right: var(--s-2); letter-spacing: 0; }
.plan__days { font-size: var(--fs-lg); color: var(--c-ink-2); }
.plan__days b { font-size: var(--fs-xl); }
.plan__for { font-size: var(--fs-sm); color: var(--c-ink-3); max-width: var(--w-line); }
.incl { list-style: none; padding: 0; margin-top: var(--s-12); display: grid; gap: var(--s-3); max-width: var(--w-text); }
.incl li { position: relative; padding-left: var(--s-8); font-size: var(--fs-base); color: var(--c-ink-2); }
.incl li::before { content: ""; position: absolute; left: 0; top: var(--bullet-y); width: var(--s-3); height: var(--s-3); border-radius: 50%; background: var(--c-accent-2); }
.incl__t { margin-top: var(--s-12); font-size: var(--fs-2xl); font-weight: 600; line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.incl__t + .incl { margin-top: var(--s-5); }
.price__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5); margin-top: var(--s-12); }

/* 10. Как проходит ----------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin-top: var(--s-16); display: grid; gap: var(--s-8); counter-reset: st; position: relative; }
.steps::before { content: ""; position: absolute; background: var(--c-bar); left: calc(var(--s-8) - 1px); top: var(--s-8); bottom: var(--s-8); width: 2px; }
.step { position: relative; display: grid; grid-template-columns: var(--s-16) minmax(0, 1fr); column-gap: var(--s-5); align-items: start; }
.step__n { position: relative; z-index: 1; width: var(--s-16); height: var(--s-16); display: grid; place-items: center; border-radius: 50%; background: var(--c-plate); box-shadow: var(--sh-step); font-size: var(--fs-xl); font-weight: 600; transition: box-shadow var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.step__t { font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--ls-head); padding-top: var(--s-3); }
.step__s { grid-column: 2; margin-top: var(--s-2); font-size: var(--fs-base); color: var(--c-ink-3); max-width: var(--w-line); }
.js .steps.is-armed .step:not(.is-on) .step__n { background: transparent; box-shadow: inset 0 0 0 2px var(--c-bar); color: var(--c-ink-3); }
.js .steps.is-armed .step.is-on .step__n { box-shadow: var(--sh-step-on); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-6); }
  .steps::before { left: var(--s-8); right: calc(25% - var(--s-8)); top: calc(var(--s-8) - 1px); bottom: auto; width: auto; height: 2px; }
  .step { grid-template-columns: minmax(0, 1fr); row-gap: var(--s-4); }
  .step__s { grid-column: 1; }
  .step__t { padding-top: var(--s-2); }
}

/* 11. После сдачи (как у соседних страниц) ---------------------------------- */
.after__in { display: grid; gap: var(--s-8); align-items: center; }
@media (min-width: 900px) { .after__in { grid-template-columns: auto minmax(0, 1fr); gap: var(--s-20); } }
.after__big { font-size: var(--fs-big); line-height: 1; font-weight: 600; letter-spacing: var(--ls-display); }
.after__unit { font-size: var(--fs-2xl); font-weight: 500; color: var(--c-ink-2); margin-top: var(--s-2); max-width: 12em; }
.after__list { list-style: none; padding: 0; display: grid; gap: var(--s-8); }
.after__list b { display: block; font-size: var(--fs-2xl); line-height: var(--lh-head); letter-spacing: var(--ls-head); }
.after__list span { display: block; margin-top: var(--s-2); color: var(--c-ink-3); font-size: var(--fs-base); }

/* появление */
@media (prefers-reduced-motion: no-preference) {
  .js .sec__title, .js .cta__title { opacity: 0; transition: opacity var(--t-slow) var(--ease); }
  .js .sec__title.is-in, .js .cta__title.is-in { opacity: 1; }
  .js .tile, .js .plan { opacity: 0; translate: 0 var(--s-6); transition: opacity var(--t-slow) var(--ease), translate var(--t-slow) var(--ease-out), border-color var(--t-fast) var(--ease); }
  .js .tile.is-in, .js .plan.is-in { opacity: 1; translate: 0 0; }
  .js .tile:nth-child(2) { transition-delay: var(--d-1); }
  .js .tile:nth-child(3) { transition-delay: var(--d-2); }
  .js .deck { animation: in-fade var(--t-slow) var(--ease) var(--d-3) both; }
}
@keyframes in-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}
