/* Личный сайт Владислава Двойневского для клиентов с Профи.ру.
   Стиль новых КП агентства (nevsky-kp-pro / nevsky-kp-ads-pro): белый лист,
   Onest, пометки от руки (Caveat), рисованные стрелки, обводки, галочки,
   мокапы браузера и iPhone, крупные цифры без плашек. Тёмный блок только
   для итога и «Как начать». */

@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; font-weight: 400 700; font-display: swap; src: url(fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Caveat; font-weight: 400; font-display: swap; src: url(fonts/caveat-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: Caveat; font-weight: 400; font-display: swap; src: url(fonts/caveat-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: Caveat; font-weight: 600; font-display: swap; src: url(fonts/caveat-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: Caveat; font-weight: 600; font-display: swap; src: url(fonts/caveat-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Bad Script"; font-weight: 400; font-display: swap; src: url(fonts/bad-script-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: "Bad Script"; font-weight: 400; font-display: swap; src: url(fonts/bad-script-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }

:root {
  color-scheme: light;
  --ink: #1d1d1f;
  --ink2: #48484a;
  --mut: #6e6e73;
  --cap: #8e8e93;
  --line: #ececf0;
  --soft: #f5f5f7;
  --acc: #2f6bff;
  --acc-l: #c9d8ff;
  --acc-xl: #e8efff;
  --pen: #2f5bea;
  --red: #e0383e;
  --green: #1f9d57;
  --yellow: #ffc53d;
  --mark: #ffe68a;
  --letter: #24346b;
  --dark: #1d1d1f;
  --w: 1120px;
  --g: 24px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: Onest, system-ui, sans-serif; color: var(--ink); background: #fff; font-size: 17px; line-height: 1.5; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.wrap { max-width: calc(var(--w) + 2 * var(--g)); margin: 0 auto; padding: 0 var(--g); }
.nb { white-space: nowrap; }

/* ---------- шапка ---------- */
.top { position: sticky; top: 0; z-index: 40; background: #fff; transition: box-shadow .2s; }
.top.sh { box-shadow: 0 1px 0 var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.me { display: flex; align-items: center; gap: 12px; min-width: 0; }
.me img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.me b { display: block; font-size: 15px; font-weight: 600; line-height: 1.2; white-space: nowrap; }
.me span { display: block; font-size: 13px; color: var(--mut); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--ink2); }
.nav a:hover { color: var(--acc); }
.top-r { display: flex; align-items: center; gap: 14px; }
.pr { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.pr .st { color: #ffb300; letter-spacing: 1px; }
.pr b { color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 25px; background: var(--acc); color: #fff; font-size: 16px; font-weight: 600; white-space: nowrap; transition: background .15s, transform .15s; }
.btn:hover { background: #1f5bf0; }
.btn:active { transform: scale(.98); }
.btn.sm { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 20px; }
.btn.ghost { background: var(--soft); color: var(--ink); }
.btn.ghost:hover { background: #ebebef; }
.btn.light { background: #fff; color: var(--ink); }
.btn.light:hover { background: #eef1f8; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- общий текст ---------- */
section { padding: 120px 0 0; }
.kick { font-size: 13px; font-weight: 600; color: var(--acc); letter-spacing: .5px; text-transform: uppercase; margin-bottom: 12px; }
h1 { font-size: 58px; line-height: 1.04; font-weight: 600; letter-spacing: -1.6px; margin-bottom: 20px; }
h2 { font-size: 42px; line-height: 1.08; font-weight: 600; letter-spacing: -1px; margin-bottom: 14px; max-width: 900px; }
h3 { font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.4px; margin-bottom: 10px; }
.lead { font-size: 19px; color: var(--ink2); max-width: 720px; margin-bottom: 40px; }
.cap { font-size: 13px; color: var(--cap); line-height: 1.45; }
.mut { color: var(--mut); }
.big { font-size: 46px; font-weight: 600; letter-spacing: -1.2px; line-height: 1.02; white-space: nowrap; }
.big small { font-size: 22px; letter-spacing: -.3px; font-weight: 600; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 10px; vertical-align: 2px; white-space: nowrap; }
.t-b { background: var(--acc-xl); color: var(--acc); }
.t-g { background: #ddf3e6; color: #1c7c4a; }
.t-y { background: #fff1c9; color: #8a6200; }
.t-r { background: #fdecec; color: #c4373c; }

/* ---------- сцена: всё внутри масштабируется вместе с шириной ---------- */
.stage { position: relative; container-type: inline-size; width: 100%; aspect-ratio: var(--dw, 1000) / var(--dh); }
.stage > * { --u: calc(100cqw / var(--dw, 1000)); }
.abs { position: absolute; left: calc(var(--x, 0) * var(--u)); top: calc(var(--y, 0) * var(--u)); width: calc(var(--w) * var(--u)); }
.stage > svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 6; }
svg.ink path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }

/* пометка от руки */
.hw { font-family: Caveat, cursive; font-weight: 400; color: var(--pen); line-height: 1.04; white-space: nowrap; z-index: 7; }
.stage > .hw { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); font-size: calc(var(--f, 30) * var(--u)); transform: rotate(var(--r, -2deg)); transform-origin: left top; }
.hw.red { color: var(--red); font-weight: 600; }
.hw.green { color: var(--green); }
.hw.grey { color: var(--mut); }
.hw.yellow { color: var(--yellow); font-weight: 600; }
.hw .w { display: inline-block; }
.hw.inl { display: inline-block; font-size: 26px; transform: rotate(var(--r, -2deg)); }
.mnotes { display: none; }

/* браузер и телефон */
.shot { border-radius: calc(12 * var(--u)); overflow: hidden; background: #fff; box-shadow: 0 calc(16 * var(--u)) calc(44 * var(--u)) rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .06); }
.shot .bar { height: calc(30 * var(--u)); background: #f1f1f4; display: flex; align-items: center; gap: calc(7 * var(--u)); padding-left: calc(14 * var(--u)); }
.shot .bar i { width: calc(10 * var(--u)); height: calc(10 * var(--u)); border-radius: 50%; background: #d5d5da; }
.shot .bar span { margin-left: calc(14 * var(--u)); font-size: calc(13 * var(--u)); color: var(--cap); white-space: nowrap; }
.shot img, .shot video { width: 100%; height: auto; }
.shot .crop { overflow: hidden; }
.shot .crop img { width: 100%; }
.iph { background: #141416; padding: calc(var(--w) * .042 * var(--u)); border-radius: calc(var(--w) * .17 * var(--u)); box-shadow: 0 0 0 1.5px #3b3b3f, 0 calc(24 * var(--u)) calc(48 * var(--u)) rgba(15, 25, 45, .28); }
.iph .scr { overflow: hidden; border-radius: calc(var(--w) * .135 * var(--u)); aspect-ratio: 390 / 844; background: #fff; position: relative; padding-top: calc(var(--w) * .11 * var(--u)); }
.iph .scr img { width: 100%; }
.iph::before { content: ""; position: absolute; left: 50%; transform: translateX(-50%); top: calc(var(--w) * .077 * var(--u)); width: calc(var(--w) * .3 * var(--u)); height: calc(var(--w) * .085 * var(--u)); background: #000; border-radius: 99px; z-index: 2; }

/* ---------- первый экран ---------- */
.hero { padding: 48px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lead { margin-bottom: 30px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 16px; font-size: 14px; color: var(--mut); }
.nums { display: flex; gap: 30px; margin-top: 48px; flex-wrap: wrap; }
.nums .big { font-size: 36px; }
.nums .big small { font-size: 18px; }
.mb { display: none; }
.num { position: relative; }
.num .cap { margin-top: 6px; }
.mk { position: relative; display: inline-block; }
.mk > svg { position: absolute; left: -8px; right: -8px; top: 14%; height: 78%; width: calc(100% + 16px); z-index: -1; overflow: visible; }
.mk > svg path { fill: var(--mark); stroke: none; }
.num .big, .num .mk { position: relative; z-index: 1; isolation: isolate; }

.photo { border-radius: calc(28 * var(--u)); overflow: hidden; background: #ececec; }
.photo img, .photo video { width: 100%; height: 100%; object-fit: cover; }
.badge { background: #fff; border-radius: calc(20 * var(--u)); padding: calc(18 * var(--u)) calc(22 * var(--u)); box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .04); font-size: calc(19 * var(--u)); line-height: 1.3; white-space: nowrap; }
.badge b { font-size: calc(40 * var(--u)); letter-spacing: -1px; font-weight: 600; margin-right: calc(8 * var(--u)); }
.badge .st { color: #ffb300; font-size: calc(24 * var(--u)); letter-spacing: 2px; }
.badge span { display: block; color: var(--mut); font-size: calc(16 * var(--u)); }
.play { position: absolute; z-index: 5; display: flex; align-items: center; gap: calc(12 * var(--u)); background: #fff; border-radius: 99px; padding: calc(10 * var(--u)) calc(22 * var(--u)) calc(10 * var(--u)) calc(10 * var(--u)); font-size: calc(19 * var(--u)); font-weight: 600; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.play i { width: calc(48 * var(--u)); height: calc(48 * var(--u)); border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.play i svg { width: 34%; fill: #fff; margin-left: 8%; }

/* ---------- с чем приходят ---------- */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.cl { list-style: none; }
.cl li { position: relative; padding: 9px 0 9px 38px; font-size: 18px; }
.cl li > svg { position: absolute; left: 0; top: 11px; width: 24px; height: 24px; overflow: visible; }
.cl li > svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.cl.cols { columns: 2; column-gap: 40px; }
.cl.cols li { break-inside: avoid; }
.cl-h { font-size: 15px; font-weight: 600; color: var(--mut); margin-bottom: 6px; }

/* ---------- реклама ---------- */
.ggs { display: grid; grid-template-columns: 1.35fr 1fr; gap: 48px; align-items: start; }
.vid { position: relative; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 16px 44px rgba(20, 30, 50, .16), 0 0 0 1px rgba(0, 0, 0, .06); }
.vid .bar { height: 28px; background: #f1f1f4; display: flex; align-items: center; gap: 7px; padding-left: 13px; }
.vid .bar i { width: 9px; height: 9px; border-radius: 50%; background: #d5d5da; }
.vid .bar span { margin-left: 12px; font-size: 12px; color: var(--cap); }
.vid video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.vid .vbtn { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 99px; padding: 7px 18px 7px 7px; font-size: 15px; font-weight: 600; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }
.vid .vbtn i { width: 34px; height: 34px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.vid .vbtn i svg { width: 11px; fill: #fff; margin-left: 2px; }
.vid .vbtn small { color: var(--mut); font-weight: 500; font-size: 14px; }
.vid.on .vbtn { display: none; }
.vcap { margin-top: 12px; }

.bars { position: absolute; display: flex; align-items: flex-end; gap: calc(var(--gap, 14) * var(--u)); height: calc(var(--h) * var(--u)); }
.bars > div { flex: 1; position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bars > div i { display: block; width: 100%; height: calc(var(--v) * 100%); background: var(--acc-l); border-radius: calc(6 * var(--u)) calc(6 * var(--u)) calc(2 * var(--u)) calc(2 * var(--u)); transform-origin: bottom; }
.bars > div.hi i { background: var(--acc); }
.bars > div.gr i { background: var(--green); }
.bars > div b { font-size: max(12px, calc(var(--fs, 22) * var(--u))); font-weight: 600; margin-bottom: calc(6 * var(--u)); white-space: nowrap; }
.bars > div span { position: absolute; top: 100%; margin-top: calc(10 * var(--u)); font-size: max(10px, calc(var(--fs2, 16) * var(--u))); color: var(--cap); white-space: nowrap; }
.axis { position: absolute; font-size: max(11px, calc(17 * var(--u))); color: var(--cap); white-space: nowrap; }
.inview .bars > div i { animation: grow .9s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes grow { from { transform: scaleY(0); } }

.quote { position: relative; padding-left: 40px; margin-top: 30px; }
.quote::before { content: "«"; position: absolute; left: 0; top: -14px; font-size: 64px; line-height: 1; color: var(--acc); font-weight: 600; }
.quote p { font-size: 19px; line-height: 1.45; }
.quote .who { font-size: 14px; color: var(--mut); margin-top: 8px; }

.clinic { margin-top: 110px; }
.clinic-nums { display: flex; gap: 48px; flex-wrap: wrap; margin: 6px 0 34px; }
.clinic-nums .cap { margin-top: 6px; max-width: 220px; }

.more-ads { margin-top: 110px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.ma .stage { max-width: 300px; }
.ma .big { margin-top: 20px; }
.ma p { font-size: 16px; color: var(--ink2); margin-top: 6px; }
.ma .cap { margin-top: 8px; }

/* ---------- сайты ---------- */
.feat { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; margin-top: 90px; }
.feat:first-of-type { margin-top: 20px; }
.feat.rev { grid-template-columns: 1fr 1.25fr; }
.feat.rev .feat-v { order: 2; }
.feat h3 { margin-top: 8px; }
.feat p { color: var(--ink2); font-size: 17px; }
.feat .quote { margin-top: 22px; }
.feat .quote p { font-size: 17px; }
.feat .cl { margin-top: 14px; }
.feat .cl li { font-size: 16px; padding: 6px 0 6px 34px; }
.feat .cl li > svg { top: 7px; width: 22px; height: 22px; }

.strip { margin-top: 100px; }
.strip-h { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.thumb .tb { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(20, 30, 50, .12), 0 0 0 1px rgba(0, 0, 0, .06); background: #fff; }
.thumb .tb .bar { height: 22px; background: #f1f1f4; display: flex; align-items: center; gap: 5px; padding-left: 10px; }
.thumb .tb .bar i { width: 7px; height: 7px; border-radius: 50%; background: #d5d5da; }
.thumb .tb .im { aspect-ratio: 16 / 9.4; overflow: hidden; }
.thumb .tb img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.thumb b { display: block; font-size: 16px; font-weight: 600; margin-top: 14px; }
.thumb span { display: block; font-size: 14px; color: var(--mut); margin-top: 2px; }

/* ---------- SEO ---------- */
.seo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.hbar { position: absolute; left: calc(var(--x) * var(--u)); top: calc(var(--y) * var(--u)); width: calc(var(--w) * var(--u)); font-size: calc(19 * var(--u)); }
.hbar .r { display: grid; grid-template-columns: calc(270 * var(--u)) 1fr calc(96 * var(--u)); align-items: center; gap: calc(12 * var(--u)); height: calc(44 * var(--u)); }
.hbar .r > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .r .bv { height: calc(18 * var(--u)); border-radius: calc(5 * var(--u)); background: var(--acc-l); position: relative; }
.hbar .r .bv em { position: absolute; left: calc(100% + 8 * var(--u)); top: 50%; transform: translateY(-50%); font-style: normal; font-size: calc(16 * var(--u)); color: var(--mut); white-space: nowrap; }
.hbar .r.in .bv { background: var(--acc); }
.hbar .r .pos { text-align: right; font-weight: 600; white-space: nowrap; }
.hbar .r .pos.no { color: var(--red); }
.hbar .hd { display: grid; grid-template-columns: calc(270 * var(--u)) 1fr calc(96 * var(--u)); gap: calc(12 * var(--u)); color: var(--cap); font-size: calc(15 * var(--u)); margin-bottom: calc(6 * var(--u)); }
.hbar .hd span:last-child { text-align: right; }

/* ---------- команда ---------- */
.cmp { width: 100%; border-collapse: collapse; font-size: 17px; }
.cmp th { font-size: 15px; font-weight: 600; color: var(--mut); text-align: center; padding: 0 10px 14px; width: 18%; vertical-align: bottom; }
.cmp th.me-col { color: var(--acc); font-size: 17px; }
.cmp td { padding: 13px 10px; text-align: center; }
.cmp td:first-child { text-align: left; padding-left: 0; }
.cmp td.me-col { background: var(--acc-xl); }
.cmp tr:first-child th.me-col { border-radius: 16px 16px 0 0; background: var(--acc-xl); padding-top: 16px; }
.cmp tr:last-child td.me-col { border-radius: 0 0 16px 16px; }
.cmp td svg { width: 24px; height: 24px; overflow: visible; display: inline-block; vertical-align: middle; }
.cmp td svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2.6; }
.cmp td small { display: block; font-size: 13px; color: var(--mut); }
.team-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 64px; align-items: start; }
.team-side p { color: var(--ink2); margin-bottom: 14px; }
.team-side .hw.inl { margin-top: 6px; }

/* ---------- отзывы ---------- */
.rv-top { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; margin-bottom: 44px; }
.rv-score { display: flex; align-items: baseline; gap: 14px; }
.rv-score b { font-size: 84px; letter-spacing: -3px; font-weight: 600; line-height: .9; }
.rv-score .st { color: #ffb300; font-size: 28px; letter-spacing: 3px; }
.rv-facts { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: var(--soft); border-radius: 20px; padding: 8px 15px; font-size: 14px; white-space: nowrap; }
.chip svg { width: 15px; height: 15px; }
.rv { columns: 3; column-gap: 44px; }
.rv article { break-inside: avoid; margin-bottom: 40px; }
.rv article .st { color: #ffb300; font-size: 15px; letter-spacing: 2px; }
.rv article p { font-size: 16px; line-height: 1.5; margin-top: 6px; white-space: pre-line; }
.rv article .who { font-size: 14px; color: var(--mut); margin-top: 10px; }
.rv article .who b { color: var(--ink); font-weight: 600; }
.rv article .link { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--acc); }
.rv-more { display: none; }
.rv.open .rv-more { display: block; }
.rv-btn { margin-top: 4px; }

/* ---------- цены ---------- */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.pc .kick { margin-bottom: 8px; }
.pc h3 { font-size: 21px; margin-bottom: 6px; }
.pc .big { font-size: 36px; }
.pc .per { font-size: 14px; color: var(--mut); margin-top: 4px; min-height: 21px; }
.pc .cl { margin-top: 16px; }
.pc .cl li { font-size: 15px; padding: 6px 0 6px 30px; }
.pc .cl li > svg { top: 7px; width: 20px; height: 20px; }
.dark { background: var(--dark); color: #fff; border-radius: 26px; padding: 34px 40px; position: relative; }
.combo { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.combo h3 { margin-bottom: 6px; }
.combo p { color: #c7c7cc; font-size: 16px; max-width: 640px; }
.combo .big { color: #fff; }
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 44px; }
.pay h4 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pay p { font-size: 15px; color: var(--ink2); }

/* ---------- как работаю ---------- */
.flow { position: relative; }
.flow ol { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; position: relative; z-index: 1; }
.flow li .n { font-family: Caveat, cursive; font-size: 44px; color: var(--pen); line-height: 1; }
.flow li b { display: block; font-size: 18px; font-weight: 600; margin-top: 8px; }
.flow li p { font-size: 15px; color: var(--ink2); margin-top: 6px; }
.flow li .cap { margin-top: 8px; color: var(--acc); font-weight: 600; }
.flow > svg.ink { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: start; }
.letter { font-family: "Bad Script", cursive; color: var(--letter); font-size: 22px; line-height: 1.55; }
.letter p { margin-bottom: 18px; }
.sign { position: relative; display: inline-block; margin-top: 4px; font-size: 24px; }
.sign svg { position: absolute; left: -4px; right: -10px; bottom: -10px; width: calc(100% + 14px); height: 16px; overflow: visible; }
.sign svg path { fill: none; stroke: var(--letter); stroke-width: 2.2; stroke-linecap: round; }
.facts { list-style: none; margin-top: 26px; }
.facts li { padding: 10px 0; font-size: 16px; color: var(--ink2); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.facts li b { color: var(--ink); font-weight: 600; }

/* ---------- вопросы ---------- */
.faq-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.faq-cloud button { background: var(--soft); border-radius: 22px; padding: 11px 18px; font-size: 16px; transition: background .15s, color .15s; }
.faq-cloud button:hover { background: #ebebef; }
.faq-cloud button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.faq-ans { margin-top: 26px; min-height: 120px; max-width: 760px; position: relative; padding-left: 40px; }
.faq-ans::before { content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12.5c3-.3 9-.2 16-.6M14 6.8l5.6 5.1-5.4 5.4' fill='none' stroke='%232f5bea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.faq-ans h4 { font-size: 21px; font-weight: 600; margin-bottom: 8px; }
.faq-ans p { font-size: 18px; color: var(--ink2); }

/* ---------- как начать ---------- */
.start { margin-top: 120px; }
.start .dark { padding: 56px 60px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.start h2 { color: #fff; }
.start p { color: #c7c7cc; font-size: 18px; max-width: 560px; }
.start .acts { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.start .acts .btn { width: 100%; }
.start .tel { text-align: center; font-size: 15px; color: #c7c7cc; margin-top: 4px; }
.start .tel a { color: #fff; font-weight: 600; }
.start .hw.yellow { position: absolute; right: 60px; top: -22px; font-size: 32px; transform: rotate(-4deg); background: var(--dark); padding: 0 10px; border-radius: 10px; }

footer { padding: 56px 0 120px; font-size: 14px; color: var(--cap); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: var(--ink2); }

/* ---------- кружок с видео ---------- */
.bub { position: fixed; left: 22px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 12px; transition: transform .25s, opacity .25s; }
.bub.hide { transform: translateY(140%); opacity: 0; pointer-events: none; }
.bub-c { position: relative; width: 104px; height: 104px; border-radius: 50%; overflow: hidden; background: #ececec; box-shadow: 0 10px 34px rgba(15, 25, 45, .28), 0 0 0 3px #fff; cursor: pointer; flex: none; transition: width .3s, height .3s, border-radius .3s; }
.bub-c img, .bub-c video { width: 100%; height: 100%; object-fit: cover; }
.bub-c .pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--acc); }
.bub-t { background: #fff; border-radius: 18px 18px 18px 4px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(15, 25, 45, .16), 0 0 0 1px rgba(0, 0, 0, .05); font-size: 14px; line-height: 1.35; max-width: 220px; }
.bub-t b { display: block; }
.bub-x { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); font-size: 15px; line-height: 26px; text-align: center; color: var(--mut); z-index: 2; }
.bub.big .bub-c { width: 300px; height: 300px; }
.bub.big .bub-t { display: none; }
.bub-menu { position: absolute; left: 0; bottom: calc(100% + 12px); background: #fff; border-radius: 18px; padding: 10px; box-shadow: 0 16px 44px rgba(15, 25, 45, .2), 0 0 0 1px rgba(0, 0, 0, .05); display: none; min-width: 250px; }
.bub-menu.on { display: block; }
.bub-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.bub-menu a:hover { background: var(--soft); }
.bub-menu a svg { width: 20px; height: 20px; flex: none; }
.bub-menu .cap { padding: 4px 12px 6px; }

/* появление */
.rv-in { opacity: 0; transform: translateY(18px); transition: opacity .6s, transform .6s; }
.rv-in.inview { opacity: 1; transform: none; }
.draw path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); }
.inview .draw path, .draw.inview path { animation: draw .9s ease-out forwards; animation-delay: var(--d, .2s); }
@keyframes draw { to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) {
  .rv-in { opacity: 1; transform: none; transition: none; }
  .draw path { stroke-dasharray: none; stroke-dashoffset: 0; animation: none !important; }
  .inview .bars > div i { animation: none; }
}

/* ---------- планшет ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  h1 { font-size: 48px; }
  .prices { grid-template-columns: 1fr 1fr; gap: 44px 36px; }
  .flow ol { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .rv { columns: 2; }
}

/* ---------- телефон ---------- */
@media (max-width: 760px) {
  :root { --g: 16px; }
  body { font-size: 16px; }
  section { padding-top: 76px; }
  h1 { font-size: 36px; letter-spacing: -1px; }
  h2 { font-size: 29px; letter-spacing: -.6px; }
  h3 { font-size: 22px; }
  .lead { font-size: 17px; margin-bottom: 28px; }
  .big { font-size: 36px; }
  .top .wrap { height: 60px; }
  .pr { display: none; }
  .me span { display: none; }
  .hero { padding-top: 16px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 30px; }
  .hero-media { max-width: 400px; }
  .nums { display: grid; grid-template-columns: 1fr 1fr; }
  .nums .num:first-child { grid-column: 1 / -1; }
  .nums .big { font-size: 32px; }
  .dk { display: none; }
  .mb { display: inline; }
  .nums { gap: 26px 30px; margin-top: 36px; }
  .two, .ggs, .seo, .team-wrap, .about, .feat, .feat.rev { grid-template-columns: 1fr; gap: 30px; }
  .feat.rev .feat-v { order: 0; }
  .feat { margin-top: 64px; }
  .more-ads { grid-template-columns: 1fr; gap: 56px; margin-top: 72px; }
  .ma .stage { max-width: 260px; }
  .clinic { margin-top: 72px; }
  .clinic-nums { gap: 24px 32px; }
  .grid3 { grid-template-columns: 1fr 1fr; gap: 24px 14px; }
  .thumb b { font-size: 14px; }
  .thumb span { font-size: 13px; }
  .strip { margin-top: 64px; }
  .strip-h { flex-direction: column; align-items: start; }
  .cl.cols { columns: 1; }
  .cl li { font-size: 16px; }
  .rv { columns: 1; }
  .rv-score b { font-size: 64px; }
  .rv-top { gap: 18px; }
  .prices { grid-template-columns: 1fr; gap: 40px; }
  .combo { grid-template-columns: 1fr; }
  .pay { grid-template-columns: 1fr; gap: 22px; }
  .dark { padding: 28px 22px; border-radius: 22px; }
  .flow ol { grid-template-columns: 1fr; gap: 22px; }
  .flow li { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .flow li .n { grid-row: span 3; font-size: 38px; }
  .flow li b { margin-top: 2px; }
  .flow > svg.ink { display: none; }
  .letter { font-size: 19px; }
  .facts li { grid-template-columns: 1fr; gap: 0; }
  .faq-cloud button { font-size: 15px; padding: 9px 14px; }
  .faq-ans { padding-left: 32px; }
  .start { margin-top: 76px; }
  .start .dark { grid-template-columns: 1fr; padding: 36px 22px 26px; }
  .start .hw.yellow { right: 22px; font-size: 26px; }
  .cmp { font-size: 15px; }
  .cmp th { font-size: 12px; padding: 0 4px 10px; width: 21%; }
  .cmp th.me-col { font-size: 13px; }
  .cmp td { padding: 11px 4px; }
  .cmp td svg { width: 20px; height: 20px; }
  .cmp td small { display: none; }
  /* пометки сцены уходят под картинку списком, стрелки прячем */
  .stage > .hw.m-off, .stage > svg.ink .a { display: none; }
  .mnotes { display: block; list-style: none; margin-top: 18px; }
  .mnotes li { font-family: Caveat, cursive; font-size: 23px; line-height: 1.12; color: var(--pen); padding: 3px 0 3px 26px; position: relative; }
  .mnotes li::before { content: ""; position: absolute; left: 0; top: 12px; width: 16px; height: 2px; background: currentColor; border-radius: 2px; transform: rotate(-8deg); }
  .mnotes li.red { color: var(--red); font-weight: 600; }
  .mnotes li.green { color: var(--green); }
  .mnotes li.grey { color: var(--mut); }
  .bub { left: 12px; bottom: 12px; }
  .bub-c { width: 62px; height: 62px; }
  .bub-t { display: none; }
  .bub-x { width: 22px; height: 22px; line-height: 22px; font-size: 13px; top: -6px; right: -6px; }
  .stage[style*="--cut"] { margin-top: calc(var(--cut) * -100% / var(--dw)); }
  .ma .stage { max-width: 210px; }
  .rv:not(.open) article:nth-of-type(n+4) { display: none; }
  .bub.big .bub-c { width: 230px; height: 230px; }
}
