/* Сайт Влада Ивкина: сайты и ИИ-боты для малого бизнеса.
   Палитра из трёх цветов: чернила, бумага, оранжевый. Оттенки делаем прозрачностью, новых цветов не вводим. */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-var-cyrillic.woff2?v=20261204") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-var-latin.woff2?v=20261204") format("woff2");
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15120f;
  --paper: #f4f0e8;
  --accent: #f2631a;

  --ink-70: rgba(21, 18, 15, .70);
  --ink-55: rgba(21, 18, 15, .55);
  --ink-12: rgba(21, 18, 15, .12);
  --ink-06: rgba(21, 18, 15, .06);
  --paper-70: rgba(244, 240, 232, .70);
  --paper-50: rgba(244, 240, 232, .50);
  --paper-14: rgba(244, 240, 232, .14);
  --paper-08: rgba(244, 240, 232, .08);
  --card: rgba(255, 255, 255, .55);
  --accent-12: rgba(242, 99, 26, .12);

  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --r: 22px;
  --r-s: 14px;
  --shadow: 0 24px 60px -24px rgba(21, 18, 15, .35);
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  font-weight: 450;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- типографика ---------- */
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.03; text-wrap: balance; }
h1 { font-size: clamp(34px, 4.1vw, 58px); }
h2 { font-size: clamp(30px, 3.7vw, 50px); letter-spacing: -0.032em; }
h3 { font-size: clamp(20px, 1.7vw, 24px); letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-70);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--accent); }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: var(--ink-70); max-width: 34em; }

/* ---------- кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; border: 0;
  font-weight: 750; font-size: 16px; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(242, 99, 26, .8); }
.btn--accent:hover { background: #e0560f; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink-12); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn .arr { transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- шапка ---------- */
.top {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 240, 232, .86);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.top.is-scrolled { border-bottom-color: var(--ink-12); }
.top__in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.logo__ava { width: 40px; height: 40px; border-radius: 50%; background: var(--ink) center 22%/cover no-repeat; flex: none; }
.logo__name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; line-height: 1.1; }
.logo__name small { display: block; font-weight: 550; font-size: 12.5px; letter-spacing: 0; color: var(--ink-55); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-70); }
.nav a:hover { color: var(--ink); }
.top__cta { display: flex; gap: 10px; align-items: center; }
.top__cta .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.ico-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center;
  background: transparent; box-shadow: inset 0 0 0 1.5px var(--ink-12); text-decoration: none;
}
.ico-btn:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.ico-btn svg { width: 20px; height: 20px; }
.burger { display: none; }

/* ---------- первый экран ---------- */
.hero { padding: clamp(20px, 3vw, 44px) 0 clamp(36px, 5vw, 64px); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero h1 { margin: 16px 0 20px; }
.hero h1 .price { white-space: nowrap; }
.hero .lead { margin-bottom: 22px; }
.free {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding: 16px 20px; border-radius: var(--r-s);
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-12);
  max-width: 600px; margin-bottom: 22px;
}
.free__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; display: grid; place-items: center; }
.free__ico svg { width: 24px; height: 24px; }
.free b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 3px; }
.free p { font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__msg { display: flex; gap: 8px; }
.hero__msg .btn { width: 56px; min-height: 56px; padding: 0; }
.hero__msg .btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero__msg .btn svg { width: 22px; height: 22px; }
.person { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.person__ava { width: 52px; height: 52px; border-radius: 50%; background: var(--ink) center 20%/cover no-repeat; flex: none; box-shadow: 0 0 0 3px var(--paper), 0 0 0 4.5px var(--ink-12); }
.person p { font-size: 14.5px; line-height: 1.45; color: var(--ink-70); }
.person p b { color: var(--ink); font-weight: 750; }

/* витрина справа: настоящие сайты и переписка бота */
.show { position: relative; height: 560px; }
.show__site {
  position: absolute; margin: 0; border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px var(--ink-12);
}
.show__site::before {
  content: ""; display: block; height: 22px; background: #efebe3;
  background-image: radial-gradient(circle at 12px 11px, var(--ink-12) 3.5px, transparent 4px), radial-gradient(circle at 26px 11px, var(--ink-12) 3.5px, transparent 4px), radial-gradient(circle at 40px 11px, var(--ink-12) 3.5px, transparent 4px);
}
.show__site img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.show__site--a { width: 84%; right: 0; top: 18px; z-index: 1; transform: rotate(1.5deg); }
.show__site--b { width: 70%; left: 0; top: 190px; z-index: 2; transform: rotate(-2.5deg); }
.show__tag {
  position: absolute; z-index: 5; display: inline-flex; gap: 8px; align-items: center;
  padding: 8px 12px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 12.5px; font-weight: 650; white-space: nowrap; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5);
}
.show__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); font-style: normal; }
.show__tag--a { right: 6%; top: 0; }
.show__tag--b { left: 2%; top: 172px; }

.chat {
  position: absolute; z-index: 4; right: -1%; bottom: 0; width: 56%; min-width: 280px;
  background: var(--ink); color: var(--paper); border-radius: 22px; padding: 16px 16px 14px;
  box-shadow: 0 30px 70px -20px rgba(21, 18, 15, .7);
}
.chat__head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--paper-50); margin-bottom: 12px; }
.chat__head b { color: var(--paper); font-weight: 700; }
.bub { border-radius: 16px; padding: 10px 13px 8px; font-size: 14px; line-height: 1.45; max-width: 92%; }
.bub + .bub { margin-top: 8px; }
.bub small { display: block; text-align: right; font-size: 11px; color: var(--paper-50); margin-top: 3px; }
.bub--in { background: var(--paper-08); border-bottom-left-radius: 6px; }
.bub--out { background: var(--accent); color: #fff; margin-left: auto; border-bottom-right-radius: 6px; }
.bub--out small { color: rgba(255,255,255,.75); }
.bub__who { display: block; font-size: 11.5px; font-weight: 750; opacity: .8; margin-bottom: 2px; }
.chat__foot { margin-top: 11px; font-size: 12px; color: var(--paper-50); line-height: 1.4; }

/* полоса фактов */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(36px, 5vw, 60px); border-top: 1.5px solid var(--ink); }
.fact { padding: 18px 22px 0 0; }
.fact + .fact { padding-left: 22px; border-left: 1px solid var(--ink-12); }
.fact b { display: block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.fact span { display: block; font-size: 14.5px; color: var(--ink-70); margin-top: 6px; line-height: 1.4; }

/* ---------- секции ---------- */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec--dark { background: var(--ink); color: var(--paper); }
.sec--dark .eyebrow, .sec--dark .lead { color: var(--paper-70); }
.sec__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 52px); }
.sec__head h2 { margin-top: 14px; }

/* мобильная нижняя панель */
.dock { display: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .hero__grid { grid-template-columns: 1fr; }
  .show { max-width: 640px; width: 100%; margin: 8px auto 0; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { margin-top: 18px; border-top: 1px solid var(--ink-12); }
  .sec__head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top__in { height: 62px; gap: 12px; }
  .top__cta .btn { display: none; }
  .logo__ava { width: 36px; height: 36px; }
  .logo__name { font-size: 16.5px; }
  .hero { padding-top: 18px; }
  .hero h1 { margin: 14px 0 16px; }
  .free { padding: 15px 16px; gap: 13px; }
  .free__ico { width: 38px; height: 38px; }
  .hero__actions .btn--accent { width: 100%; }
  .hero__msg { width: 100%; }
  .hero__msg .btn { flex: 1; }
  .show { height: auto; padding-top: 16px; }
  .show__site--a { position: relative; width: 100%; top: 0; transform: rotate(0); }
  .show__site--b, .show__tag--b { display: none; }
  .show__tag--a { right: 10px; top: 0; }
  .chat { position: relative; width: 94%; right: auto; margin: -64px 0 0 auto; }
  .hero__msg { width: auto; }
  .hero__msg .btn { flex: none; }
  .fact { padding-right: 12px; }
  .fact + .fact { padding-left: 14px; }
  .fact:nth-child(3) { padding-left: 0; }
  .dock {
    display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 240, 232, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--ink-12);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .dock.is-on { transform: none; }
  .dock .btn { min-height: 48px; padding: 0 10px; font-size: 14.5px; }
  body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- звезда в фактах ---------- */
.fact b .star { width: .62em; height: .62em; color: var(--accent); vertical-align: .08em; }

/* ---------- услуги ---------- */
.sec--tight { padding-top: clamp(40px, 5vw, 72px); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card {
  display: flex; flex-direction: column; gap: 14px;
  padding: 26px 24px 22px; border-radius: var(--r);
  background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-12);
}
.card--main { background: var(--ink); color: var(--paper); box-shadow: none; }
.card__top { display: flex; flex-direction: column; gap: 8px; }
.card__price { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; color: var(--accent); }
.card > p { font-size: 15.5px; line-height: 1.55; color: var(--ink-70); }
.card--main > p { color: var(--paper-70); }
.ticks { list-style: none; margin: 4px 0 0; padding: 0; border-top: 1px solid var(--ink-12); }
.card--main .ticks { border-top-color: var(--paper-14); }
.ticks li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ink-12); font-size: 14.5px; line-height: 1.35; }
.card--main .ticks li { border-bottom-color: var(--paper-14); }
.ticks li span { color: var(--ink-70); }
.card--main .ticks li span { color: var(--paper-70); }
.ticks li b { font-weight: 750; white-space: nowrap; text-align: right; }
.card__link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font-weight: 750; font-size: 15.5px; text-decoration: none; color: inherit; }
.card__link svg { width: 18px; height: 18px; color: var(--accent); transition: transform .15s ease; }
.card__link:hover svg { transform: translateX(3px); }
.also { margin-top: 22px; font-size: 15.5px; color: var(--ink-70); max-width: 62em; }

/* ---------- шаги ---------- */
.sec--paper2 { background: rgba(21, 18, 15, .035); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.step { padding: 22px 22px 24px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-12); display: flex; flex-direction: column; gap: 10px; }
.step__n { font-size: 15px; font-weight: 800; color: var(--accent); letter-spacing: .02em; }
.step h3 { font-size: 20px; }
.step p { font-size: 15px; line-height: 1.55; color: var(--ink-70); }
.step:nth-child(2) { background: var(--ink); color: var(--paper); box-shadow: none; }
.step:nth-child(2) p { color: var(--paper-70); }
.quote { margin: clamp(28px, 4vw, 44px) 0 0; padding: 0 0 0 26px; border-left: 3px solid var(--accent); max-width: 880px; }
.quote blockquote { margin: 0; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.45; font-weight: 600; letter-spacing: -0.015em; }
.quote figcaption { margin-top: 12px; font-size: 14.5px; color: var(--ink-70); }
.quote figcaption b { color: var(--ink); }

/* ---------- работы ---------- */
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
.work { display: flex; flex-direction: column; gap: 18px; }
.work__shot { position: relative; display: block; border-radius: 16px; overflow: visible; padding-right: 8%; padding-bottom: 6%; }
.work__shot > img:first-child { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 14px; box-shadow: 0 0 0 1px var(--paper-14); transition: transform .3s ease; }
.work__mob { position: absolute; right: 0; bottom: 0; width: 23%; height: auto; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 14px; border: 4px solid var(--ink); box-shadow: 0 0 0 1px var(--paper-14), 0 20px 40px -10px rgba(0,0,0,.6); }
.work__shot:hover > img:first-child { transform: translateY(-4px); }
.work__meta h3 { color: var(--paper); }
.work__meta p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--paper-70); max-width: 36em; }
.work__url { display: inline-flex; gap: 8px; align-items: center; margin-top: 12px; font-weight: 700; font-size: 15px; color: var(--paper); text-decoration: none; border-bottom: 1.5px solid var(--paper-14); padding-bottom: 2px; }
.work__url svg { width: 16px; height: 16px; color: var(--accent); }
.work__url:hover { border-bottom-color: var(--accent); }

@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .steps { grid-template-columns: 1fr; }
  .works { grid-template-columns: 1fr; }
  .ticks li { font-size: 14px; }
}

.lbl-m { display: none; }
@media (max-width: 640px) { .lbl-d { display: none; } .lbl-m { display: inline; } }

/* ---------- вариант Б: тёмный первый экран с фото ---------- */
.hero--b { background: var(--ink); color: var(--paper); }
.hero--b .eyebrow, .hero--b .lead, .hero--b .person p { color: var(--paper-70); }
.hero--b .person p b { color: var(--paper); }
.hero--b .free { background: var(--paper-08); box-shadow: inset 0 0 0 1.5px var(--paper-14); }
.hero--b .free p { color: var(--paper-70); }
.hero--b .btn--ghost { color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--paper-14); }
.hero--b .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--paper); }
.hero--b .person__ava { box-shadow: 0 0 0 3px var(--ink), 0 0 0 4.5px var(--paper-14); }
.hero--b .facts { border-top-color: var(--paper); }
.hero--b .fact + .fact { border-left-color: var(--paper-14); }
.hero--b .fact span { color: var(--paper-70); }
.showb { position: relative; height: 580px; }
.showb__rings { position: absolute; left: 50%; top: 52%; width: 520px; height: 520px; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, var(--accent) 0 44%, transparent 44.3%), radial-gradient(circle, transparent 0 56%, var(--paper-14) 56.2% 56.6%, transparent 56.8% 70%, var(--paper-08) 70.2% 70.6%, transparent 70.8%); }
.showb__photo { position: absolute; left: 50%; bottom: 0; width: 470px; height: auto; transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); mask-image: linear-gradient(to bottom, #000 78%, transparent 100%); }
.showb__site { position: absolute; margin: 0; left: -4%; top: 40px; width: 250px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); transform: rotate(-4deg); }
.showb__site img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.showb__site figcaption { font-size: 12px; font-weight: 650; color: var(--ink); padding: 7px 10px; }
.showb__bub { position: absolute; right: -2%; top: 170px; width: 250px; background: var(--accent); color: #fff; border-radius: 16px 16px 6px 16px; padding: 11px 13px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.showb__rate { position: absolute; left: 2%; bottom: 70px; background: var(--paper); color: var(--ink); border-radius: 16px; padding: 12px 16px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.7); }
.showb__rate b { display: flex; align-items: center; gap: 6px; font-size: 26px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.showb__rate svg { width: 20px; height: 20px; color: var(--accent); }
.showb__rate span { font-size: 13px; color: var(--ink-70); }
@media (max-width: 1100px) { .showb { width: 100%; max-width: 560px; margin: 8px auto 0; } }
@media (max-width: 640px) {
  .showb { height: 440px; }
  .showb__rings { width: 360px; height: 360px; }
  .showb__photo { width: 340px; }
  .showb__site { width: 170px; top: 10px; left: 0; }
  .showb__bub { display: none; }
  .showb__rate { left: auto; right: 0; bottom: 40px; padding: 10px 12px; }
  .showb__site { transform: rotate(-3deg); }
}

/* ---------- путь заявки ---------- */
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
.path::before { content: ""; position: absolute; left: 4%; right: 4%; top: 19px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); z-index: 0; }
.path__step { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.path__n { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 6px var(--paper); }
.path__ui { height: 250px; border-radius: 18px; padding: 16px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-12); overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 6px; margin-top: 6px; }
.path__step h3 { font-size: 19px; margin-top: 6px; }
.path__step > p { font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.ui-ad small { font-size: 12px; font-weight: 700; color: var(--ink-55); }
.ui-ad b { font-size: 19px; line-height: 1.25; color: #2a50c8; font-weight: 700; letter-spacing: -0.01em; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ui-ad p { font-size: 14px; color: var(--ink-70); }
.ui-site { padding: 14px 0 0; justify-content: flex-start; align-items: center; background: var(--ink); box-shadow: none; }
.ui-site img { width: 62%; height: auto; border-radius: 14px 14px 0 0; box-shadow: 0 0 0 4px #000; }
.ui-chat { background: var(--ink); box-shadow: none; justify-content: flex-end; }
.ui-chat .bub { font-size: 13px; max-width: 96%; }
.ui-chat .bub--in { color: var(--paper); }
.ui-lead { background: var(--accent); color: #fff; box-shadow: none; }
.ui-lead small { font-size: 12px; font-weight: 700; opacity: .85; }
.ui-lead b { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.ui-lead p { font-size: 14.5px; line-height: 1.5; opacity: .95; }
.path__note { margin-top: 20px; font-size: 13.5px; color: var(--ink-55); }

/* ---------- боты в работах ---------- */
.bots { margin-top: clamp(44px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--paper-14); }
.bots__title { color: var(--paper); margin-bottom: 20px; }
.bots__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bot { padding: 22px; border-radius: var(--r); background: var(--paper-08); box-shadow: inset 0 0 0 1px var(--paper-14); }
.bot__tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.bot h4 { margin: 0 0 8px; font-size: 19px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.25; }
.bot p { font-size: 15px; line-height: 1.55; color: var(--paper-70); }

/* ---------- таблица цен ---------- */
.price-table { border-top: 1.5px solid var(--ink); }
.pt-row { display: grid; grid-template-columns: 1.15fr .8fr 1.6fr 1.15fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--ink-12); align-items: baseline; }
.pt-row span { font-size: 15px; line-height: 1.5; color: var(--ink-70); }
.pt-row b { color: var(--ink); font-weight: 750; font-size: 16.5px; letter-spacing: -0.01em; }
.pt-head span { font-size: 12.5px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-55); }
.pt-row .pt-sum { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; white-space: nowrap; }

/* ---------- обо мне ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__photo { position: relative; aspect-ratio: 1 / 1.02; border-radius: 28px; background: var(--accent); overflow: hidden; display: flex; align-items: flex-end; justify-content: center; }
.about__photo img { width: 96%; height: auto; }
.about__text h2 { margin: 14px 0 20px; }
.about__text .lead + .lead { margin-top: 14px; }
.about__list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.about__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; font-weight: 600; }
.about__list svg { width: 22px; height: 22px; flex: none; color: var(--accent); margin-top: 1px; }

/* ---------- отзывы ---------- */
.reviews { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 22px; border-radius: var(--r); background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink-12); }
.review__stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.review blockquote { margin: 10px 0 14px; font-size: 16px; line-height: 1.55; }
.review figcaption { font-size: 13.5px; color: var(--ink-55); }
.review figcaption b { display: block; color: var(--ink); font-size: 15px; font-weight: 750; }
.reviews__all { margin-top: 8px; }

/* ---------- приёмка ---------- */
.accept { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.accept h2 { margin: 14px 0 18px; }
.accept__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-14); }
.accept__list li { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--paper-14); font-size: 16.5px; line-height: 1.5; }
.accept__list svg { width: 24px; height: 24px; flex: none; color: var(--accent); }

/* ---------- вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__head { position: sticky; top: 100px; }
.faq__head h2 { margin: 14px 0 18px; }
.qa { border-bottom: 1px solid var(--ink-12); }
.qa:first-child { border-top: 1.5px solid var(--ink); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 18px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.35; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px; border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(45deg); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa p { padding: 0 44px 22px 0; font-size: 16px; line-height: 1.6; color: var(--ink-70); }

/* ---------- заявка ---------- */
.lead-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.lead-form__text h2 { margin: 14px 0 18px; }
.lead-form__msg { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.lead-form__msg p { width: 100%; font-size: 15px; color: var(--paper-70); }
.lead-form__msg .btn { min-height: 50px; }
.form { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { font-size: 14px; font-weight: 700; color: var(--ink-70); margin-bottom: 10px; padding: 0; }
.chips label { cursor: pointer; }
.chips label { position: relative; }
.chips input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); margin: 0; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink-12); font-size: 15px; font-weight: 650; transition: background-color .15s ease, color .15s ease; }
.chips input:checked + span { background: var(--ink); color: var(--paper); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.field { display: grid; gap: 7px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--ink-70); }
.field i { font-style: normal; font-weight: 500; color: var(--ink-55); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--ink-12); border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .15s ease; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-bad input { border-color: var(--accent); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--ink-70); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.consent.is-bad span { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__btn { width: 100%; }
.form__note { font-size: 13.5px; color: var(--ink-55); text-align: center; }
.form__ok { padding: 16px 18px; border-radius: 14px; background: var(--accent-12); font-size: 15.5px; line-height: 1.5; }
.form.is-sent .chips, .form.is-sent .field, .form.is-sent .consent, .form.is-sent .form__btn, .form.is-sent .form__note { display: none; }

/* ---------- подвал ---------- */
.foot { background: var(--ink); color: var(--paper-70); padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--paper-14); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot .logo__name { color: var(--paper); }
.foot .logo__name small { color: var(--paper-50); }
.foot__brand p { margin-top: 16px; font-size: 14px; line-height: 1.6; }
.foot__nav { display: grid; gap: 10px; align-content: start; }
.foot__nav a { color: var(--paper-70); text-decoration: none; font-size: 15px; }
.foot__nav a:hover { color: var(--paper); }
.foot__copy { margin-top: 36px; font-size: 13px; color: var(--paper-50); }
.sec--tight-b { padding-bottom: clamp(56px, 6vw, 88px); }

@media (max-width: 1100px) {
  .path { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .path::before { display: none; }
  .bots__grid { grid-template-columns: 1fr; }
  .pt-row { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .pt-row span:nth-child(3), .pt-row span:nth-child(4) { grid-column: 1 / -1; }
  .pt-head { display: none; }
  .about, .accept, .faq, .lead-form { grid-template-columns: 1fr; }
  .about__photo { max-width: 420px; }
  .faq__head { position: static; }
  .foot__in { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .path { grid-template-columns: 1fr; }
  .path__ui { height: 220px; }
  .pt-row .pt-sum { font-size: 17px; }
  .reviews { columns: 1; }
  .qa summary { font-size: 16.5px; }
  .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
  .foot__in { grid-template-columns: 1fr; }
}

/* ---------- посадочные: возможности и переписка в тёмном первом экране ---------- */
.cards--features .card { gap: 12px; }
.card__check { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: var(--accent); background: var(--accent-12); }
.card__check svg { width: 23px; height: 23px; }
.hero-chat { min-width: 0; width: 100%; max-width: 510px; margin-left: auto; display: grid; gap: 16px; }
.chat.chat--dark { position: static; width: 100%; min-width: 0; margin: 0; background: var(--paper-08); box-shadow: inset 0 0 0 1.5px var(--paper-14); border-radius: var(--r); padding: 22px; }
.chat--dark .chat__head { font-size: 13px; }
.chat--dark .bub { font-size: 15px; }
.chat--dark .bub--in { color: var(--paper); }
.chat--dark .bub--out { color: var(--paper); }
.chat--dark .chat__foot { font-size: 13px; color: var(--paper-70); margin-top: 16px; }
.hero-chat__lead { padding: 20px 22px; border-radius: var(--r); display: grid; gap: 6px; }
.hero-chat__lead.ui-lead { color: var(--paper); }
.telegram-draft { padding: 22px; border-radius: var(--r); background: var(--paper); color: var(--ink); display: grid; gap: 8px; }
.telegram-draft small { font-size: 12px; font-weight: 700; color: var(--ink-55); }
.telegram-draft > b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.telegram-draft > p { font-size: 14.5px; line-height: 1.5; color: var(--ink-70); }
.telegram-draft__actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.telegram-draft__actions span { flex: 1 1 auto; text-align: center; padding: 9px 10px; border-radius: var(--r-s); background: var(--ink-06); box-shadow: inset 0 0 0 1px var(--ink-12); font-size: 12px; font-weight: 750; }
.telegram-draft__actions span:first-child { background: var(--accent); color: var(--paper); box-shadow: none; }
.bots--standalone { margin: 0; padding: 0; border: 0; }
.avito-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(230px, .4fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.avito-proof .lead { max-width: 44em; margin-top: 22px; }
.avito-proof__rating { padding: 28px; border: 1.5px solid var(--paper-14); border-radius: var(--r); display: grid; gap: 8px; text-decoration: none; color: var(--paper); }
.avito-proof__rating b { display: flex; align-items: center; gap: 14px; font-size: clamp(48px, 5vw, 70px); letter-spacing: -.04em; font-weight: 800; line-height: 1; }
.avito-proof__rating svg { width: 32px; height: 32px; color: var(--accent); }
.avito-proof__rating span { font-size: 16px; color: var(--paper-70); }
.avito-proof__rating span:last-child { text-decoration: underline; text-underline-offset: 4px; }
.cards--prices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--prices .card { padding: clamp(24px, 4vw, 42px); gap: 18px; }
.cards--prices .card__price { font-size: clamp(32px, 3.8vw, 52px); line-height: 1.12; }
.cards--prices .card > p { font-size: 17px; }
@media (max-width: 1100px) {
  .hero-chat { margin: 8px auto 0; max-width: 620px; }
  .avito-proof { grid-template-columns: 1fr; }
  .avito-proof__rating { max-width: 320px; }
}
@media (max-width: 640px) {
  .chat.chat--dark { padding: 18px; }
  .chat--dark .bub { font-size: 14px; }
  .hero-chat__lead, .telegram-draft { padding: 18px; }
  .cards--prices { grid-template-columns: 1fr; }
  .hero--chat .hero__text { min-width: 0; }
}

/* ---------- общее меню, согласие на cookie и служебные страницы ---------- */
[hidden] { display: none !important; }
.menu-toggle { display: none; }
.mobile-menu { display: none; }
.cookie { position: fixed; z-index: 60; bottom: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 12px var(--pad); background: var(--paper); color: var(--ink); border-top: 1px solid var(--ink-12); font-size: 12px; line-height: 1.4; }
.cookie p { margin: 0; }
.cookie p a { margin-left: 6px; }
.cookie button { flex: none; min-height: 36px; border: 1px solid var(--ink-12); border-radius: var(--r-s); padding: 6px 12px; background: transparent; font-size: 12px; font-weight: 750; cursor: pointer; }
.cookie .cookie__allow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cookie-settings { display: inline; border: 0; padding: 0; background: transparent; color: inherit; margin-left: 16px; font-size: inherit; text-decoration: underline; cursor: pointer; }
.form__error { display: grid; gap: 14px; padding: 16px; border: 1.5px solid var(--accent); border-radius: var(--r-s); font-size: 14px; line-height: 1.5; }
.form__error p { margin: 0; }
.form__error textarea { width: 100%; color: var(--ink); background: var(--paper); font: inherit; border: 1px solid var(--ink-12); border-radius: var(--r-s); padding: 10px; }
.form__btn:disabled { opacity: .6; cursor: wait; }
.clipboard-helper { position: fixed; left: -9999px; top: 0; }
.legal.wrap { max-width: calc(760px + 2 * var(--pad)); overflow-wrap: anywhere; }
.legal h1 { font-size: clamp(32px, 4vw, 52px); margin-bottom: 20px; }
.legal h2 { font-size: clamp(24px, 3vw, 30px); margin: 40px 0 16px; }
.legal p, .legal ul, .legal ol { margin: 0 0 18px; }
.legal li + li { margin-top: 10px; }
.legal ul, .legal ol { padding-left: 24px; }
.legal a { text-underline-offset: 3px; }
.legal .lead { margin-bottom: 32px; }
@media (max-width: 1100px) {
  .top__in { gap: 16px; }
  .top__cta { order: 2; }
  .top__cta > .btn { display: none; }
  .menu-toggle { order: 3; width: 44px; height: 44px; padding: 10px; flex: none; display: grid; place-items: center; border: 1.5px solid var(--ink-12); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle svg { width: 22px; height: 22px; }
  .menu-toggle > span { display: block; width: 20px; height: 2px; background: var(--ink); }
  .mobile-menu { position: fixed; z-index: 70; top: 72px; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; align-items: stretch; gap: 0; overflow-y: auto; padding: 20px 24px calc(28px + env(safe-area-inset-bottom)); background: var(--paper); border-left: 1px solid var(--ink-12); transform: translateX(0); transition: transform .2s ease; }
  @starting-style { .mobile-menu { transform: translateX(100%); } }
  .mobile-menu > a { padding: 13px 0; border-bottom: 1px solid var(--ink-12); text-decoration: none; font-size: 18px; font-weight: 750; }
  .mobile-menu > a.btn { padding: 12px 20px; margin-top: 12px; font-size: 15px; }
  .menu-close { align-self: flex-end; background: transparent; border: 0; text-decoration: underline; padding: 0 0 12px; font-size: 14px; cursor: pointer; }
  .mobile-menu__messengers { display: flex; gap: 10px; padding-top: 20px; }
  .mobile-menu__messengers .btn { flex: 1; }
  body.menu-is-open { overflow: hidden; }
  .menu-is-open::after { content: ''; position: fixed; inset: 72px 0 0; background: var(--ink-70); z-index: 65; }
  .menu-is-open .cookie, .menu-is-open .dock { visibility: hidden; }
}
@media (max-width: 640px) {
  .top__cta { display: none; }
  .mobile-menu { top: 62px; }
  .menu-is-open::after { top: 62px; }
  .cookie { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 8px; padding: 7px 12px; bottom: env(safe-area-inset-bottom); font-size: 10.5px; line-height: 1.25; }
  .cookie p { grid-column: 1 / -1; }
  .cookie button { min-height: 28px; padding: 4px 6px; font-size: 10.5px; }
  .has-dock .cookie { bottom: var(--dock-height, 69px); padding-bottom: 7px; }
  .cookie-settings { margin: 12px 0 0; display: block; }
}

/* длинные заголовки на страницах ботов: не больше четырёх строк */
.hero--chat h1 { font-size: clamp(32px, 3.5vw, 50px); }

/* самые узкие телефоны: длинные кнопки переносятся */
@media (max-width: 360px) {
  .btn { font-size: 15px; padding: 10px 18px; white-space: normal; text-align: center; line-height: 1.25; }
  .hero__msg .btn { padding: 0; }
}

/* нижняя панель на узких телефонах: мессенджеры иконками */
@media (max-width: 400px) {
  .dock { grid-template-columns: 52px 52px 1fr; }
  .dock .btn--ghost { font-size: 0; gap: 0; padding: 0; }
  .dock .btn--ghost svg { width: 22px; height: 22px; }
}
