/* Визитка Сергея Зелёного: светлый фон, графит и зелёный — отдельно от тёмного шаблона сайтов студий */
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(fonts/unbounded-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 500; font-display: swap; src: url(fonts/unbounded-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url(fonts/unbounded-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Unbounded"; font-weight: 600; font-display: swap; src: url(fonts/unbounded-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(fonts/golos-text-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url(fonts/golos-text-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url(fonts/golos-text-cyrillic-500-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 500; font-display: swap; src: url(fonts/golos-text-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(fonts/golos-text-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 600; font-display: swap; src: url(fonts/golos-text-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20BD; }

/* Палитра: светлый фон, графит и зелёный — цвет из фамилии.
   Украшений «просто так» нет: стрелка — «было → стало», зелёный отрезок пути — то, что до оплаты,
   зелёное кольцо вокруг фото — как у аватарки в Telegram, где Сергей отвечает сам. */
:root {
  --bg: #EEF1EE;          /* фон страницы */
  --surface: #F8FAF8;     /* светлые плашки */
  --ink: #14181A;         /* графит — текст */
  --ink-2: #4A524F;       /* второстепенный текст */
  --line: #CDD5CF;        /* линии и рамки */
  --green: #34B97A;       /* акцент: кнопки, кольцо, стрелка */
  --green-hover: #2DA86D;
  --green-deep: #167A4C;  /* зелёный текст на светлом */
  --green-soft: #DDF0E4;  /* подложки, «исходящее» сообщение */
  --green-lite: #5BD69A;  /* зелёный на тёмном */
  --gloss: #0F1312;       /* тёмные поверхности */
  --display: "Unbounded", "Arial Black", sans-serif;
  --text: "Golos Text", system-ui, sans-serif;
  --pad: clamp(16px, 5vw, 64px);
  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.02em; text-wrap: balance; }
h2 { font-size: clamp(26px, 3.2vw, 40px); line-height: 1.12; }
p { margin: 0; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 12px; font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; transition: transform .15s, background-color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn .ic { flex-shrink: 0; }
.btn--green { background: var(--green); color: var(--ink); }
.btn--green:hover { background: var(--green-hover); box-shadow: 0 10px 24px -12px rgba(22,122,76,.75); }
.btn--line { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: rgba(20,24,26,.06); }
.btn--sm { min-height: 42px; padding: 0 16px; font-size: 15px; border-radius: 10px; }

/* Аватар: зелёное кольцо, как у аватарки в Telegram */
.who__ava, .chat__row img { border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--green); }

/* Шапка */
.top { max-width: var(--max); margin: 0 auto; padding: 22px var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.who { display: inline-flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; text-decoration: none; }
.who__ava { width: 40px; height: 40px; }

/* Первый экран */
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(28px, 6vw, 72px) var(--pad) clamp(56px, 8vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.hero__lead { margin-top: 24px; max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); }
.hero__btns { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Было → стало: карточка на Картах и свой сайт */
.panel { margin: 0; }
.panel__pair { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.panel__half { position: relative; min-height: 380px; padding: 52px 22px 24px; border-radius: 20px; overflow: hidden; }
.panel__half--matte { background: #D6DBD7; color: #5B635F; }
.panel__half--gloss { background: radial-gradient(120% 90% at 80% 0%, #26302C 0%, var(--gloss) 60%); color: #E8EEEA; }
.panel__tag { position: absolute; top: 18px; left: 22px; right: 12px; font-size: 13px; font-weight: 500; opacity: .85; }
.panel__arrow { position: absolute; z-index: 2; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; border: 6px solid var(--bg); background: var(--green); color: var(--ink); display: grid; place-items: center; }
.panel__arrow .ic { width: 22px; height: 22px; stroke-width: 2.2; }
.panel figcaption { margin-top: 16px; font-size: 14px; color: var(--ink-2); max-width: 46em; }

.card { display: grid; gap: 12px; }
.card__name { font-weight: 600; font-size: 17px; color: #3A423E; }
.card__rate { font-size: 14px; }
.card__rate b { color: #3A423E; }
.stars { color: #98A19C; letter-spacing: 1px; }
.card__row { font-size: 14px; }
.card__btns { display: flex; gap: 8px; }
.card__btns span { padding: 9px 12px; border-radius: 9px; background: #C4CAC6; font-size: 13px; }
.card__q { margin-top: 18px; padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: #E8ECE9; color: #3A423E; font-size: 14px; max-width: 15em; }
.card__wait { display: flex; align-items: center; gap: 6px; margin-top: -4px; font-size: 12px; color: #737C77; }
.card__wait .ic { width: 14px; height: 14px; }

/* Колонка фиксирована: иначе длинная цена «от 45 000 ₽» (неразрывная) раздвигает её, и пока цена набирается, вёрстка прыгает */
.mini { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.mini__h { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
.mini__h em { display: block; font-style: normal; color: var(--green-lite); }
.mini__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mini__pills span { padding: 7px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.16); font-size: 12px; color: #C2CBC6; }
.mini__pills span.is-on { border-color: var(--green-lite); color: #fff; }
.mini__pills--svc span.is-on { background: var(--green-lite); color: var(--ink); }
.mini__sum { margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mini__cta { justify-self: start; padding: 11px 14px; border-radius: 9px; background: var(--green-lite); color: var(--ink); font-size: 13px; font-weight: 600; }
/* Блик проходит по «отполированной» половине один раз при загрузке */
.panel__glint { position: absolute; inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.14) 48%, rgba(255,255,255,.04) 52%, transparent 60%); transform: translateX(-60%); pointer-events: none; }
@keyframes glint { to { transform: translateX(60%); } }

/* Разделы */
.sec { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--pad); border-top: 1px solid var(--line); }
.feats { margin: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.feats > div { padding: 22px 0; border-top: 1px solid var(--line); }
.feats dt { font-weight: 600; font-size: 18px; }
.feats dd { margin: 6px 0 0; color: var(--ink-2); max-width: 34em; }

/* Демо: тёмная полоса — единственное место, где страница уходит в «глянец» */
.sec--demo { max-width: none; border-top: 0; background: var(--gloss); color: #E8EEEA; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.demo__txt p { margin: 20px 0 28px; color: #B6C0BA; max-width: 30em; }
.demo__shots { position: relative; display: block; padding-bottom: 6%; }
.demo__desk { width: 88%; border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); outline: 1px solid rgba(255,255,255,.08); }
.demo__phone { position: absolute; right: 0; bottom: 0; width: 26%; border-radius: 18px; outline: 6px solid #222826; box-shadow: 0 24px 50px -20px rgba(0,0,0,.95); }

/* Путь: зелёный отрезок — всё, что до оплаты; на третьем шаге линия становится графитовой */
.steps { margin: 48px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.steps li { counter-increment: s; position: relative; padding: 34px clamp(16px, 3vw, 40px) 0 0; border-top: 3px solid var(--line); }
.steps li::after { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--ink); transform-origin: left center; }
.steps li.is-free::after { background: var(--green); }
.steps li::before { content: counter(s); position: absolute; z-index: 1; top: -19px; left: 0; width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--bg); background: var(--ink); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--display); }
.steps li.is-free::before { background: var(--green); color: var(--ink); }
.steps__tag { display: inline-block; margin-bottom: 12px; padding: 5px 11px; border-radius: 99px; background: #DCE1DD; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.is-free .steps__tag { background: var(--green-soft); color: var(--green-deep); }
.steps h3 { font-size: 20px; line-height: 1.2; }
.steps p { margin-top: 10px; color: var(--ink-2); }
.steps__note { margin-top: 36px; display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); }
.steps__note .ic { margin-top: 3px; color: var(--green-deep); }

/* Пакеты и цены */
.top__link { margin-left: auto; padding: 8px 4px; font-weight: 600; font-size: 15px; text-decoration: none; }
.top__link:hover { color: var(--green-deep); }
.prices__lead { margin-top: 16px; max-width: 46em; color: var(--ink-2); }
.plans { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.plan { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.plan--main { border: 2px solid var(--green); box-shadow: 0 24px 48px -32px rgba(22,122,76,.55); }
.plan__badge { position: absolute; top: -13px; left: 22px; padding: 4px 12px; border-radius: 99px; background: var(--green); color: var(--ink); font-size: 13px; font-weight: 600; }
.plan h3, .subs h3, .extras h3 { font-size: 22px; }
.plan__price { margin-top: 10px; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.plan__price small { display: inline-block; font: 500 14px/1.3 var(--text); letter-spacing: 0; color: var(--ink-2); }
.plan__meta { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.plan__lead { font-weight: 500; }
.plan__list, .plan__minus { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan__list li, .plan__minus li { position: relative; padding-left: 26px; }
.plan__list li::before { content: ""; position: absolute; left: 2px; top: .32em; width: 11px; height: 6px; border-left: 2.2px solid var(--green-deep); border-bottom: 2.2px solid var(--green-deep); transform: rotate(-45deg); }
.plan__minus-title { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.plan__minus li { color: var(--ink-2); }
.plan__minus li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 12px; height: 2px; border-radius: 1px; background: #A3ACA7; }
.plan__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }

.subs { margin-top: 24px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 20px clamp(24px, 4vw, 56px); padding: 28px clamp(22px, 3vw, 36px); border-radius: 20px; background: var(--green-soft); }
.subs .plan__foot { grid-column: 1 / -1; margin-top: 0; border-top-color: rgba(22,122,76,.22); }

.compare { margin-top: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.compare summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; cursor: pointer; list-style: none; }
.compare summary::-webkit-details-marker { display: none; }
.compare summary::after { content: "+"; font: 600 24px/1 var(--display); color: var(--green-deep); transition: transform .2s; }
.compare[open] summary::after { transform: rotate(45deg); }
.compare__wrap { overflow-x: auto; padding: 0 22px 22px; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; line-height: 1.4; }
.compare th, .compare td { padding: 10px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.compare thead th { border-top: 0; font-family: var(--display); font-size: 15px; }
.compare thead th:nth-child(3), .compare td:nth-child(3) { background: rgba(52,185,122,.09); }
.compare tbody th { width: 26%; font-weight: 500; color: var(--ink-2); }
.compare td.no { color: #A3ACA7; }
.compare__hint { display: none; margin: 0 18px 8px; font-size: 13px; color: var(--ink-2); }

.extras { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 32px clamp(32px, 5vw, 72px); }
.extras__list { margin: 16px 0 0; }
.extras__list > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.extras__list dt { font-weight: 500; }
.extras__list dd { margin: 0; text-align: right; color: var(--ink-2); }
.extras__no { margin-top: 16px; color: var(--ink-2); }

/* Кто делает */
.sec--me { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.me__photo { position: relative; margin: 6%; }
.me__photo::before { content: ""; position: absolute; inset: -6%; border-radius: 50%; background: var(--green); }
.me__photo img { position: relative; width: 100%; }
.me__txt p { margin-top: 20px; max-width: 34em; font-size: clamp(18px, 1.6vw, 21px); }
.me__txt .me__lead { font-weight: 600; }
.me__txt p + p { margin-top: 12px; }

/* Призыв: как выглядит первое сообщение */
.cta { max-width: var(--max); margin: 0 auto clamp(48px, 7vw, 88px); padding: clamp(28px, 5vw, 64px); background: var(--surface); border-radius: 24px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta h2 { max-width: 16em; }
.cta p { margin: 16px 0 28px; max-width: 36em; color: var(--ink-2); }
.chat { display: grid; gap: 14px; padding: 22px 18px; border-radius: 18px; background: #E2E8E3; font-size: 15px; line-height: 1.4; }
.chat__msg { position: relative; max-width: 86%; padding: 10px 14px 22px; border-radius: 16px; }
.chat__seen { color: var(--green-deep); }
.chat__stack { display: grid; max-width: 86%; }
.chat__stack .chat__msg { max-width: none; }
.chat__stack > * { grid-area: 1 / 1; }
.chat__typing { display: none; }
.chat__msg time { position: absolute; right: 12px; bottom: 5px; font-size: 11px; color: var(--ink-2); opacity: .75; }
.chat__msg--out { justify-self: end; background: var(--green-soft); border-bottom-right-radius: 4px; }
.chat__row { display: flex; align-items: flex-end; gap: 10px; }
.chat__row img { width: 34px; height: 34px; flex-shrink: 0; }
.chat__msg--in { background: #fff; border-bottom-left-radius: 4px; }
@media (min-width: 1241px) { .cta { margin-left: auto; margin-right: auto; } }
@media (max-width: 1240px) { .cta { margin-left: var(--pad); margin-right: var(--pad); } }

.foot { max-width: var(--max); margin: 0 auto; padding: 28px var(--pad) 40px; display: flex; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--ink-2); border-top: 1px solid var(--line); }

/* Планшет */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .sec--demo { grid-template-columns: 1fr; }
  .cta { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 640px; }
  .plan--main { order: -1; }
  .subs, .extras { grid-template-columns: 1fr; }
}
/* Телефон */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top .btn span { display: none; }
  .top .btn { padding: 0 12px; }
  .who { gap: 12px; font-size: 15px; }
  .who__ava { width: 34px; height: 34px; }
  .top__link { font-size: 14px; }
  .plan { padding: 24px 18px; }
  .extras__list > div { flex-direction: column; gap: 2px; }
  .extras__list dd { text-align: left; }
  .compare summary { padding: 16px 18px; }
  .compare__wrap { padding: 0 12px 16px; }
  .compare__hint { display: block; }
  .panel__pair { gap: 8px; }
  .panel__half { min-height: 300px; padding: 44px 12px 16px; border-radius: 16px; }
  .panel__tag { left: 12px; top: 14px; font-size: 11px; }
  .wide-only { display: none; }
  .panel__arrow { width: 32px; height: 32px; margin: -16px 0 0 -16px; border-width: 4px; }
  .panel__arrow .ic { width: 14px; height: 14px; }
  .card { gap: 9px; }
  .card__name { font-size: 15px; }
  .card__rate, .card__row, .card__q { font-size: 12px; }
  .card__btns span { padding: 7px 8px; font-size: 11px; }
  .card__wait { font-size: 11px; }
  .mini { gap: 9px; }
  .mini__h { font-size: 14px; }
  .mini__pills span { padding: 5px 6px; font-size: 10px; }
  .mini__pills span:nth-child(3) { display: none; }
  .mini__sum { font-size: clamp(14px, 4.8vw, 20px); }
  .mini__cta { padding: 8px 10px; font-size: 11px; }
  .feats { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .steps li { padding-right: 0; }
  .sec--me { grid-template-columns: 1fr; gap: 28px; }
  .me__photo { width: min(240px, 70%); margin: 4% 0 0 4%; }
  .btn { min-height: 50px; }
  .hero__btns .btn { flex: 1 1 100%; justify-content: center; }
  .cta .btn { width: 100%; justify-content: center; }
  .chat { font-size: 14px; padding: 18px 14px; }
  .foot { flex-direction: column; }
}
/* Узкие телефоны (320–360 px): карточка на Картах не должна обрезаться */
@media (max-width: 360px) {
  .panel__half { padding-left: 10px; padding-right: 10px; }
  .panel__tag { left: 10px; }
  .card { grid-template-columns: minmax(0, 1fr); }
  .card__name { font-size: 13px; }
  .card__rate, .card__row, .card__q { font-size: 11px; }
  .card__btns { flex-wrap: wrap; gap: 6px; }
  .card__btns span { padding: 6px 7px; font-size: 10px; }
  .mini__h { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ——— Движение ———
   Работает только при классе .motion на <html>: его ставит скрипт в <head>, если в системе не включено
   «уменьшить движение». Без него страница сразу в финальном виде. Каждое движение что-то показывает:
   вопрос в личке висит без ответа (часы идут), стрелка «было → стало», калькулятор сам набирает цену,
   путь прорисовывается до оплаты и после, кольцо вокруг фото как у аватарки в Telegram, Сергей печатает ответ. */
@property --ring { syntax: "<angle>"; inherits: false; initial-value: 360deg; }

.motion [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--d, 0s), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.motion [data-reveal].in { opacity: 1; transform: none; }
.motion .btn .ic { transition: transform .25s ease; }
.motion .btn:hover .ic { transform: translate(2px, -2px); }

/* Сравнение: вопрос → ждёт ответа → стрелка → выбор машины и услуг → цена → кнопка → блик */
.motion .panel .card__q { opacity: 0; transform: translateY(8px) scale(.96); transform-origin: left bottom; transition: opacity .4s ease .1s, transform .5s cubic-bezier(.3,1.4,.5,1) .1s; }
.motion .panel .card__wait { opacity: 0; transition: opacity .5s ease .6s; }
.motion .panel.play .card__q, .motion .panel.play .card__wait { opacity: 1; transform: none; }
.card__hand { transform-origin: 12px 12px; }
.motion .card__hand { animation: hand 6s linear infinite; }
@keyframes hand { to { transform: rotate(360deg); } }
.motion .panel.play .panel__arrow { animation: nudge 1s cubic-bezier(.3,.7,.3,1) 1s both; }
@keyframes nudge {
  0% { transform: none; box-shadow: 0 0 0 0 rgba(52,185,122,.55); }
  35% { transform: translateX(7px); }
  100% { transform: none; box-shadow: 0 0 0 18px rgba(52,185,122,0); }
}
.motion .panel .mini__pills span.is-on { transition: background-color .35s ease var(--d, 0s), border-color .35s ease var(--d, 0s), color .35s ease var(--d, 0s); }
.motion .panel:not(.play) .mini__pills span.is-on { border-color: rgba(255,255,255,.16); background: transparent; color: #C2CBC6; }
.motion .panel .mini__sum { opacity: 0; transition: opacity .3s ease 2.2s; }
.motion .panel.play .mini__sum { opacity: 1; }
.motion .panel.play .mini__cta { animation: ping 1.2s ease-out 3.1s both; }
@keyframes ping { from { box-shadow: 0 0 0 0 rgba(91,214,154,.6); } to { box-shadow: 0 0 0 14px rgba(91,214,154,0); } }
.motion .panel.play .panel__glint { animation: glint 1.8s 3.3s cubic-bezier(.2,.7,.2,1) forwards; }

/* Путь: линия прорисовывается шаг за шагом — зелёная до оплаты, графитовая после */
.motion .steps li::after { transform: scaleX(0); transition: transform .6s cubic-bezier(.5,0,.3,1) calc(var(--i) * .6s + .15s); }
.motion .steps li::before { transform: scale(0); transition: transform .45s cubic-bezier(.3,1.5,.5,1) calc(var(--i) * .6s); }
.motion .steps li > * { opacity: 0; transform: translateY(10px); transition: opacity .5s ease calc(var(--i) * .6s + .25s), transform .6s ease calc(var(--i) * .6s + .25s); }
.motion .steps.play li::after, .motion .steps.play li::before, .motion .steps.play li > * { opacity: 1; transform: none; }

/* Фото: зелёное кольцо обегает аватарку */
.motion .me__photo::before { --ring: 0deg; -webkit-mask: conic-gradient(from 210deg, #000 var(--ring), transparent 0); mask: conic-gradient(from 210deg, #000 var(--ring), transparent 0); transition: --ring 1.4s cubic-bezier(.5,0,.2,1) .35s; }
.motion .me__photo.play::before { --ring: 360deg; }
.motion .me__photo img { opacity: 0; transform: scale(.94); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.motion .me__photo.play img { opacity: 1; transform: none; }

/* Переписка: сообщение студии → «прочитано» → Сергей печатает → ответ */
.motion .chat__msg--out { opacity: 0; transform: translateY(10px); transition: opacity .4s ease .1s, transform .5s ease .1s; }
.motion .chat__seen { color: var(--ink-2); transition: color .3s ease 1s; }
.motion .chat.play .chat__seen { color: var(--green-deep); }
.motion .chat__row img { opacity: 0; transition: opacity .3s ease .9s; }
.motion .chat__typing { display: flex; align-self: end; justify-self: start; gap: 4px; padding: 14px 16px; border-radius: 16px 16px 16px 4px; background: #fff; opacity: 0; }
.motion .chat__typing i { width: 7px; height: 7px; border-radius: 50%; background: #9AA39E; animation: dot 1s ease-in-out infinite; }
.motion .chat__typing i:nth-child(2) { animation-delay: .15s; }
.motion .chat__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.motion .chat.play .chat__typing { animation: typing 1.6s ease .9s both; }
@keyframes typing { 0% { opacity: 0; transform: translateY(6px); } 15%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; visibility: hidden; } }
.motion .chat__msg--in { opacity: 0; transform: translateY(8px); transition: opacity .4s ease 2.45s, transform .5s ease 2.45s; }
.motion .chat.play .chat__msg--out, .motion .chat.play .chat__row img, .motion .chat.play .chat__msg--in { opacity: 1; transform: none; }

/* Демо: телефон «подъезжает» к ноутбуку */
.motion .demo__shots .demo__phone { opacity: 0; transform: translateY(40px); transition: opacity .6s ease .45s, transform .9s cubic-bezier(.2,.7,.2,1) .45s; }
.motion .demo__shots.in .demo__phone { opacity: 1; transform: none; }
