/* Главная: устройство блоков, которых нет на других страницах. Общие детали — ui.css, значения — tokens.css (DESIGN.md).
   Подключается после tokens.css и ui.css. Тексты — src/index.src.html. */

/* ---------- 1. Первый экран ---------- */
.hero { padding: var(--sp-72) 0 var(--sp-56); }
.hero__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-56); align-items: center; }
.hero__main { display: flex; flex-direction: column; gap: var(--sp-24); min-width: 0; }
.hero .ui-h1 { font-size: var(--fs-display); } /* на главной H1 крупнее, чем на остальных страницах (решение 16.10.2026) */

/* Макет CRM — иллюстрация чужого интерфейса с подписью «Пример»: цвета и мелкие размеры не из палитры сайта
   (исключение, DESIGN.md §7). Шрифт — сайта. */
.crm-wrap { display: flex; flex-direction: column; gap: var(--sp-8); min-width: 0; }
.crm { border: 1px solid #d5dbe2; border-radius: var(--r-s); overflow: hidden; background: #f3f5f7; box-shadow: var(--sh-float); }
.crm__top { background: var(--c-white); border-bottom: 1px solid #dfe3e8; padding: var(--sp-12) var(--sp-16); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-12); }
.crm__title { font-size: 15px; font-weight: var(--fw-bold); color: #1f2a37; }
.crm__sub { font-size: 12px; color: #5f6b7a; margin-left: var(--sp-12); }
.crm__tools { display: flex; gap: var(--sp-8); align-items: center; }
.crm__search { font-size: 12px; color: #8a96a3; border: 1px solid #dfe3e8; border-radius: 4px; padding: 5px 10px; }
.crm__add { font-size: 12px; font-weight: var(--fw-bold); color: var(--c-white); background: #3bc8f5; border-radius: 4px; padding: 6px 10px; white-space: nowrap; }
.crm__cols { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-12); padding: 14px; }
.crm__col { display: flex; flex-direction: column; gap: var(--sp-8); }
.crm__colhead { display: flex; flex-direction: column; gap: var(--sp-4); padding-bottom: var(--sp-8); border-bottom: 3px solid #5ba7f7; }
.crm__colhead--ok { border-color: #7bc043; }
.crm__colhead b { font-size: 11px; letter-spacing: .04em; color: #333c47; }
.crm__colhead span { font-size: 11px; color: #5f6b7a; }
.deal { background: var(--c-white); border: 1px solid #dfe3e8; border-radius: 4px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.deal__row { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-8); }
.deal__name { font-size: 13px; font-weight: var(--fw-bold); color: #2a5885; }
.deal__time { font-size: 11px; color: #5f6b7a; white-space: nowrap; }
.deal__who { display: flex; align-items: center; gap: var(--sp-8); font-size: 12px; color: #333c47; }
.ava { width: 22px; height: 22px; border-radius: 50%; color: var(--c-white); font-size: 10px; font-weight: var(--fw-bold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.deal__sum { font-size: 13px; font-weight: var(--fw-bold); color: #1f2a37; }
.tags { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.tag { font-size: 10px; padding: 2px 6px; border-radius: 3px; background: #e8f1fb; color: #2a5885; }
.tag--grey { background: #eef0f3; color: #4a5562; }

/* ---------- 2. С кем работаем ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.ill-card { overflow: hidden; display: flex; flex-direction: column; }
/* Рисунки в карточках — встроенные SVG с цветами в разметке: иллюстрации, исключение DESIGN.md §7 */
.ill-card__img { aspect-ratio: 16 / 9; background: var(--c-soft); }
.ill-card__img svg { width: 100%; height: 100%; }
.ill-card__body { padding: var(--sp-24) var(--sp-24) var(--sp-32); display: flex; flex-direction: column; gap: var(--sp-12); }
.fit-panel { margin-top: var(--sp-48); padding: var(--sp-40); display: flex; flex-direction: column; gap: var(--sp-32); }
.fit-panel__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); }
.criteria { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-24) var(--sp-32); }
.crit { display: flex; flex-direction: column; gap: var(--sp-8); border-top: 2px solid var(--c-line); padding-top: var(--sp-20); }
.crit__label { font-size: var(--fs-caption); color: var(--c-text-3); }
.crit__val { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); color: var(--c-accent); }
.crit__text { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.fit-panel__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-16) var(--sp-32); padding-top: var(--sp-24); border-top: 1px solid var(--c-line); }
.fit-panel__foot p { font-size: var(--fs-small); color: var(--c-text-2); max-width: 640px; }

/* ---------- 3. Знакомая ситуация ---------- */
.pains { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-48) var(--col-gap); align-items: start; }
.pains__list { border-bottom: 1px solid var(--c-line); }
.pain { display: flex; gap: var(--sp-24); align-items: baseline; padding: var(--sp-20) 0; border-top: 1px solid var(--c-line); }
.pain__num { flex: 0 0 var(--sp-64); font-size: var(--fs-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); line-height: var(--lh-num); color: var(--c-accent-light); }
.pain__body { display: flex; flex-direction: column; gap: var(--sp-4); }
.form-card { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--sp-12); position: sticky; top: calc(var(--header-h) + var(--sp-24)); }
.form-card__kicker { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--c-inv-text-accent); }
.form-card__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); }

/* ---------- 4. Два инструмента ---------- */
#methods { padding-top: 0; } /* продолжает «Знакомую ситуацию» на том же фоне */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.tool { padding: var(--sp-40); display: flex; flex-direction: column; gap: var(--sp-16); }
.tool__tags { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.ui-card--accent .ui-tag { background: var(--c-inv-fill); color: var(--c-white); }
.tool__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-h3); }
.ui-card--accent .ui-text { color: var(--c-inv-text-accent); }
.tool__note { display: flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-small); font-weight: var(--fw-bold); }
.tool__link { margin-top: auto; font-weight: var(--fw-medium); color: var(--c-accent); }
.ui-card--accent .tool__link { color: var(--c-white); }
.teaser { margin-top: var(--sp-16); border-radius: var(--r-m); background: var(--c-soft); color: var(--c-accent-ink); overflow: hidden; }
.teaser summary { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12) var(--sp-24); padding: var(--sp-24) var(--sp-32); }
.teaser__title { font-size: var(--fs-lead); font-weight: var(--fw-medium); }
.teaser__more { display: inline-flex; align-items: center; gap: var(--sp-8); font-weight: var(--fw-medium); }
.teaser__more svg { transition: transform .2s; transform: rotate(180deg); }
.teaser[open] .teaser__more svg { transform: none; }
.teaser__body { padding: 0 var(--sp-32) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); max-width: 860px; }
.teaser__body p { color: var(--c-accent-ink); }
.teaser__body a { align-self: flex-start; font-weight: var(--fw-bold); border-bottom: 1px solid currentColor; }

/* ---------- 5. «Лиды по подписке» ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.split__col { display: flex; flex-direction: column; gap: var(--sp-24); min-width: 0; }
.format { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--sp-12); margin-top: var(--sp-8); }
.format__kicker { font-size: var(--fs-caption); font-weight: var(--fw-medium); color: var(--c-accent); }
.format__title { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); }
.format__note { display: flex; gap: var(--sp-12); align-items: flex-start; background: var(--c-soft); border-radius: var(--r-s); padding: var(--sp-12) var(--sp-16); font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-accent-ink); }
.format__note svg { flex-shrink: 0; margin-top: 1px; color: var(--c-accent); }
.timeline { display: flex; flex-direction: column; padding-top: var(--sp-8); min-width: 0; }
.timeline__label { font-size: var(--fs-caption); font-weight: var(--fw-bold); color: var(--c-text-3); padding-bottom: var(--sp-20); }
.tl { position: relative; display: flex; gap: var(--sp-24); padding-bottom: var(--sp-32); }
.tl:not(:last-child)::before { content: ''; position: absolute; left: 19px; top: 44px; bottom: calc(-1 * var(--sp-8)); width: 2px; background: var(--c-line); } /* линия по центру кружка 40 px */
.tl:last-child { padding-bottom: 0; }
.tl:last-child .ui-step-num, .step:last-child .ui-step-num { background: var(--c-accent); }
.tl__body { display: flex; flex-direction: column; gap: var(--sp-8); padding-top: var(--sp-8); flex: 1; min-width: 0; }
.tl__body h3 { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-h4); }
.mini-chips { display: flex; flex-wrap: wrap; gap: var(--sp-8); padding-top: var(--sp-4); }
.mini-chips span { font-size: var(--fs-caption); padding: var(--sp-4) var(--sp-12); border-radius: var(--r-s); background: var(--c-white); border: 1px solid var(--c-line); color: var(--c-text-2); }
.mini-chips--accent span { border-radius: var(--r-pill); border-color: var(--c-soft); color: var(--c-accent-hover); font-weight: var(--fw-medium); }
.anon { align-self: flex-start; display: flex; align-items: center; gap: var(--sp-8); flex-wrap: wrap; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-s); padding: var(--sp-8) var(--sp-12); margin-top: var(--sp-4); }
.anon__ava { width: 22px; height: 22px; border-radius: 50%; background: var(--c-line-strong); }
.anon__num { font-size: var(--fs-caption); color: var(--c-text-2); letter-spacing: .04em; }
.anon__tag { font-size: var(--fs-caption); font-weight: var(--fw-bold); padding: 2px var(--sp-8); border-radius: var(--r-pill); background: var(--c-soft); color: var(--c-accent-hover); }
/* Карточка заявки — в цветах сайта (решение 14.10.2026, DESIGN.md §3.13) */
.lead-card { margin-top: var(--sp-12); background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-m); padding: var(--sp-12) var(--sp-16); display: flex; flex-direction: column; gap: var(--sp-8); box-shadow: var(--sh-float); }
.lead-card__top { display: flex; justify-content: space-between; gap: var(--sp-8); }
.lead-card__title { font-size: var(--fs-small); font-weight: var(--fw-bold); color: var(--c-ink); }
.lead-card__time { font-size: var(--fs-caption); color: var(--c-text-3); white-space: nowrap; }
.lead-card__meta { font-size: var(--fs-caption); color: var(--c-text-2); }
.lead-card__note { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-2); background: var(--c-grey); border-radius: var(--r-s); padding: var(--sp-8) var(--sp-12); }

/* ---------- 5б. Примеры заявок ---------- */
.lm__in { display: flex; flex-direction: column; gap: var(--sp-40); }
.lm__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--sp-16) var(--sp-48); }
.lm__title { display: flex; flex-direction: column; gap: var(--sp-12); max-width: var(--w-title); }
.lm__sub { font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-text-2); max-width: 400px; }
.lm__grid { display: flex; flex-wrap: wrap; gap: var(--sp-24); align-items: stretch; }
.lm__leads { flex: 1 1 560px; min-width: 0; display: flex; flex-direction: column; gap: var(--sp-12); }
.lm__leadlist { display: flex; flex-direction: column; gap: var(--sp-12); }
/* Карточка заявки — в цветах сайта (решение 14.10.2026) */
.lm__card { background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-m); padding: var(--sp-16) var(--sp-20); display: flex; flex-direction: column; gap: var(--sp-8); box-shadow: var(--sh-card); }
.lm__ctop { display: flex; justify-content: space-between; align-items: center; gap: var(--sp-12); }
.lm__ctitle { font-size: var(--fs-body); font-weight: var(--fw-bold); color: var(--c-ink); }
.lm__meta { font-size: var(--fs-small); color: var(--c-text-2); }
.lm__nt { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); background: var(--c-grey); border-radius: var(--r-s); padding: var(--sp-8) var(--sp-12); }
.lm__hid { display: flex; align-items: center; gap: var(--sp-8); font-size: var(--fs-caption); color: var(--c-text-3); }
.lm__hid::before { content: ''; width: 22px; height: 22px; border-radius: 50%; background: var(--c-line-strong); flex-shrink: 0; }
.lm__locked { position: relative; border-radius: var(--r-m); overflow: hidden; }
.lm__blur { filter: blur(5px); opacity: .6; display: flex; flex-direction: column; gap: var(--sp-8); pointer-events: none; }
.sk { display: block; height: 10px; border-radius: 4px; background: var(--c-line); }
.sk--title { height: 14px; background: var(--c-line-strong); }
.sk--note { height: 34px; background: var(--c-grey); }
.lm__lockbadge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: var(--sp-8); }
.lm__lockbadge > span { display: flex; align-items: center; gap: var(--sp-8); background: var(--c-ink); color: var(--c-white); font-size: var(--fs-small); font-weight: var(--fw-medium); padding: var(--sp-12) var(--sp-20); border-radius: var(--r-pill); text-align: center; }
.lm__lockbadge svg { flex-shrink: 0; }
.lm__side { flex: 1 1 400px; min-width: 0; max-width: 460px; display: flex; flex-direction: column; gap: var(--sp-16); }
.lm__call { padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); }
.lm__callhead { display: flex; justify-content: space-between; gap: var(--sp-12); font-size: var(--fs-caption); color: var(--c-text-3); }
.lm__callhead > span:first-child { font-weight: var(--fw-bold); }
.lm__calls { display: flex; flex-direction: column; gap: var(--sp-8); }
.lm__citem { display: flex; align-items: center; gap: var(--sp-12); padding: var(--sp-8) var(--sp-12) var(--sp-8) var(--sp-8); border-radius: var(--r-s); background: var(--c-tint); }
.lm__play { width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--c-accent); color: var(--c-white); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.lm__cbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lm__cname { font-size: var(--fs-small); font-weight: var(--fw-bold); line-height: 1.35; color: var(--c-ink); }
.lm__cbar { height: 4px; border-radius: 2px; background: var(--c-soft); overflow: hidden; } /* полоса плеера — размер элемента управления */
.lm__cbar > span { display: block; height: 100%; width: 0; background: var(--c-accent); transition: width .2s linear; }
.lm__cdur { font-size: var(--fs-caption); color: var(--c-text-3); font-variant-numeric: tabular-nums; }
.lm__csoon { font-size: var(--fs-caption); color: var(--c-accent); }
.lm__csoon:empty { display: none; }
.lm__empty { margin: 0; font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-text-2); }
.lm__callnote { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-3); }
.lm__form { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--sp-12); flex: 1; }
.lm__ftitle { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); }
.lm__ftext { font-size: var(--fs-small); line-height: var(--lh-small); color: var(--c-inv-text-accent); }
.lm__chip { align-self: flex-start; font-size: var(--fs-caption); font-weight: var(--fw-bold); padding: 6px var(--sp-12); border-radius: var(--r-pill); background: var(--c-inv-fill); }
.lm__msgwrap { display: flex; flex-direction: column; gap: 6px; }
.lm__small { font-size: var(--fs-caption); color: var(--c-inv-text-accent); }
.lm__msgs { display: flex; gap: 6px; background: var(--c-inv-fill); border-radius: var(--r-m); padding: var(--sp-4); }
.lm__msg { flex: 1; font-family: var(--ff); font-size: var(--fs-small); font-weight: var(--fw-bold); padding: var(--sp-8) var(--sp-12); min-height: 44px; border-radius: var(--r-s); border: none; cursor: pointer; background: transparent; color: var(--c-white); }
.lm__msg[aria-pressed="true"] { background: var(--c-white); color: var(--c-ink); }
.lm__label { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-caption); color: var(--c-inv-text-accent); }
.lm__status { font-size: var(--fs-small); color: var(--c-white); }
.lm__status:empty { display: none; }
.lm__note { font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-inv-text-accent); }
.lm__note a { color: var(--c-white); text-decoration: underline; }

/* ---------- 6. Яндекс Директ ---------- */
.direct-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-56); align-items: center; margin-bottom: var(--sp-56); }
.direct-head__text { display: flex; flex-direction: column; gap: var(--sp-16); }
.lp-shot { margin: 0; max-width: 460px; width: 100%; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-m); overflow: hidden; box-shadow: var(--sh-float); }
.lp-shot img { display: block; width: 100%; height: auto; }
.lp-mock__bar { padding: var(--sp-12) var(--sp-16); border-bottom: 1px solid var(--c-line); display: flex; align-items: center; gap: var(--sp-8); }
.lp-mock__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.lp-mock__url { flex: 1; margin-left: var(--sp-8); height: 20px; border-radius: 6px; background: var(--c-grey); }
.lp-mock__cap { padding: var(--sp-12) var(--sp-24); background: var(--c-soft); font-size: var(--fs-caption); color: var(--c-accent-ink); }
.stages { display: flex; gap: var(--grid-gap); align-items: stretch; }
.stage { flex: 1 1 0; min-width: 0; padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--sp-16); }
.stage__num { display: flex; align-items: baseline; gap: var(--sp-12); }
.stage__num b { font-size: var(--fs-h2); line-height: var(--lh-num); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); color: var(--c-accent); }
.stage__num span { font-size: var(--fs-small); font-weight: var(--fw-medium); color: var(--c-text-2); }
.stage__arrow { flex: 0 0 auto; align-self: center; color: var(--c-accent); }
.bridge { margin-top: var(--sp-48); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-12) var(--sp-24); padding: var(--sp-24) var(--sp-32); border-radius: var(--r-m); background: var(--c-soft); color: var(--c-accent-ink); }
.bridge__title { font-size: var(--fs-lead); line-height: var(--lh-lead); font-weight: var(--fw-medium); }
.bridge--outline { background: var(--c-grey); border: 1px solid var(--c-line-strong); color: var(--c-ink); }

/* ---------- 7. Связка ---------- */
.combo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-56) var(--col-gap); align-items: center; }
.combo__text { display: flex; flex-direction: column; gap: var(--sp-20); }
.adv { display: flex; flex-direction: column; gap: var(--sp-12); padding-top: var(--sp-8); }
.adv li { display: flex; gap: var(--sp-12); }
.adv svg { flex-shrink: 0; margin-top: 2px; color: var(--c-accent-light); }
.adv b { display: block; font-size: var(--fs-body); }
.adv span { font-size: var(--fs-small); color: var(--c-inv-text-2); }
.funnel { display: flex; flex-direction: column; gap: var(--sp-12); }
.fbar { display: flex; align-items: center; gap: var(--sp-20); }
.fbar__box { min-width: 220px; border-radius: var(--r-s); padding: var(--sp-16) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-4); background: var(--c-dark-2); }
.fbar__box b { font-size: var(--fs-body); }
.fbar__box span { font-size: var(--fs-caption); opacity: .85; }
/* Ширины полос схемы — геометрия рисунка (DESIGN.md §7) */
.fbar--w90 .fbar__box { width: 90%; }
.fbar--w38 .fbar__box { width: 38%; background: var(--c-dark-line); }
.fbar--w76 .fbar__box { width: 76%; color: var(--c-inv-text-2); }
.fbar--w62 .fbar__box { width: 62%; background: var(--c-accent); }
.fbar__note { font-size: var(--fs-caption); color: var(--c-accent-light); white-space: nowrap; }
.fstep { display: flex; align-items: center; gap: var(--sp-8); color: var(--c-accent-light); font-size: var(--fs-caption); padding: var(--sp-4) 0 var(--sp-4) var(--sp-20); }

/* ---------- 8. Кейсы ---------- */
.case-combo { display: flex; flex-wrap: wrap; background: var(--c-dark); color: var(--c-white); border-radius: var(--r-l); overflow: hidden; margin-bottom: var(--grid-gap); }
.case-combo__body { flex: 1 1 560px; min-width: 0; padding: var(--sp-40); display: flex; flex-direction: column; gap: var(--sp-24); }
.case-combo__title { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-h3); max-width: 560px; }
.case-combo__body p { color: var(--c-inv-text-2); max-width: 560px; }
.case-combo__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--sp-20); }
.case-combo__nums div { display: flex; flex-direction: column; gap: 6px; padding-top: var(--sp-16); border-top: 1px solid var(--c-dark-line); }
.case-combo__nums b { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); }
.case-combo__nums span { font-size: var(--fs-caption); color: var(--c-inv-text-3); }
.case-combo__more { display: inline-flex; align-items: center; gap: var(--sp-8); font-weight: var(--fw-medium); color: var(--c-accent-light); }
.case-combo__img { flex: 1 1 380px; min-height: 320px; background: var(--c-dark-2); display: flex; align-items: center; justify-content: center; }
.case-combo__img img { width: 100%; height: 100%; object-fit: cover; }
.case-combo__img--white { background: var(--c-white); }
.case-combo__img--white img { object-fit: contain; }
.case-combo__img--soft { background: #fcfcfc; } /* цвет фона самой фотографии, иначе виден стык — исключение */
.case-combo .ui-tag--inv { background: var(--c-inv-fill); }
.case__tags { display: flex; flex-wrap: wrap; gap: var(--sp-8); }
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--grid-gap); }
.case { overflow: hidden; display: flex; flex-direction: column; }
.case__img { aspect-ratio: 16 / 10; background: var(--c-grey); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__img--white { background: var(--c-white); }
.case__img--white img { object-fit: contain; }
.case__body { padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); flex: 1; }
.case__kind { font-size: var(--fs-caption); line-height: var(--lh-caption); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-accent); margin-bottom: calc(-1 * var(--sp-4)); } /* тип оборудования над заголовком */
.case__title { margin: 0; font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); letter-spacing: var(--ls-h4); }
.case__metrics { margin: auto 0 0; padding-top: var(--sp-16); border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-16); }
.case__metrics dt { font-size: var(--fs-h4); line-height: var(--lh-num); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); white-space: nowrap; }
.case__metrics dd { margin: 6px 0 0; min-height: 2.8em; font-size: var(--fs-caption); line-height: var(--lh-caption); color: var(--c-text-3); } /* две строки у всех: цифры соседних карточек стоят в одну линию */

/* ---------- 9. Как мы выстраиваем работу ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-40) var(--sp-24); }
.step { display: flex; flex-direction: column; gap: var(--sp-16); }
.step__head { display: flex; align-items: center; gap: var(--sp-12); }
.step__line { flex: 1; height: 2px; background: var(--c-line); }
.step:last-child .step__line { display: none; }
.step__note { align-self: flex-start; font-size: var(--fs-caption); font-weight: var(--fw-medium); padding: 6px var(--sp-12); border-radius: var(--r-pill); background: var(--c-soft); color: var(--c-accent-hover); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-16) var(--sp-24); margin-top: var(--sp-56); }
.cta-row span { font-size: var(--fs-small); color: var(--c-text-2); }

/* ---------- 10. Прозрачность ---------- */
.trust { padding: var(--sp-56) 0; }
.trust__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--sp-24) var(--sp-32); margin-top: var(--sp-32); }
.trust__item { display: flex; gap: var(--sp-12); }
.trust__item svg { flex-shrink: 0; margin-top: 2px; color: var(--c-accent); }
.trust__item b { display: block; font-size: var(--fs-body); }
.trust__item span { font-size: var(--fs-small); color: var(--c-text-2); }

/* ---------- 11. Команда ---------- */
.team { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: var(--grid-gap); }
.team__photo { width: 100%; height: 100%; min-height: 420px; max-height: 560px; object-fit: cover; border-radius: var(--r-l); }
.team__side { display: flex; flex-direction: column; gap: var(--grid-gap); min-width: 0; }
.person { padding: var(--card-pad); display: flex; flex-direction: column; gap: var(--sp-16); flex: 1; }
.person__head { display: flex; align-items: center; gap: var(--sp-16); }
.person__ava { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person__name { font-size: var(--fs-h4); line-height: var(--lh-h4); font-weight: var(--fw-bold); }
.person__role { font-size: var(--fs-small); color: var(--c-text-2); }
.person .ui-btn { margin-top: auto; align-self: flex-start; }
.mini-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.mini-stat { padding: var(--sp-20) var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-4); }
.mini-stat b { font-size: var(--fs-h3); line-height: var(--lh-h3); font-weight: var(--fw-bold); letter-spacing: var(--ls-num); color: var(--c-accent); }
.mini-stat span { font-size: var(--fs-small); color: var(--c-text-2); }

/* ---------- 12. Частые вопросы ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--sp-48) var(--col-gap); }
.faq__intro { display: flex; flex-direction: column; gap: var(--sp-16); }
.faq__group { font-size: var(--fs-caption); font-weight: var(--fw-bold); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--c-text-3); padding: var(--sp-40) 0 var(--sp-12); }
.faq__group:first-child { padding-top: 0; }

/* ---------- 13. Финальная форма ---------- */
.final { background: var(--c-dark); color: var(--c-white); border-radius: var(--r-xl); padding: var(--panel-pad); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--sp-48); align-items: center; }
.final__text { display: flex; flex-direction: column; gap: var(--sp-16); }
.final__text p { color: var(--c-inv-text-2); }
.final__perks { display: flex; flex-wrap: wrap; gap: var(--sp-8) var(--sp-24); font-size: var(--fs-small); color: var(--c-accent-light); }
.final__form { display: flex; flex-direction: column; gap: var(--sp-12); }
.final__who { display: flex; align-items: center; gap: var(--sp-12); padding-bottom: 6px; }
.final__who img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.final__who b { display: block; font-size: var(--fs-body); }
.final__who span { font-size: var(--fs-small); color: var(--c-inv-text-3); }
.final .ui-consent { color: var(--c-inv-text-3); }
.final .ui-consent a { color: var(--c-inv-text-2); }

/* ---------- Планшет ---------- */
@media (max-width: 1023px) {
  .hero { padding: var(--sp-48) 0 var(--sp-40); }
  .hero__grid, .pains, .split, .direct-head, .combo, .final, .faq, .team { grid-template-columns: minmax(0, 1fr); }
  .crm-wrap { max-width: 600px; }
  /* три карточки остаются в ряд до телефона: в две колонки третья оставалась одна */
  .criteria, .steps, .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-combo__img { flex-basis: 100%; min-height: 0; height: 320px; }
  .form-card { position: static; max-width: 560px; }
  .tools { grid-template-columns: minmax(0, 1fr); }
  .stages { flex-direction: column; }
  .stage__arrow { transform: rotate(90deg); }
  .case-combo__body { padding: var(--sp-32); }
  .step__line { display: none; }
  .team__photo { min-height: 0; aspect-ratio: 16 / 10; }
  .lm__side { max-width: none; flex-basis: 100%; }
  .lm__leads { flex-basis: 100%; }
}

/* ---------- Телефон ---------- */
@media (max-width: 767px) {
  /* Первый экран на телефоне: ниши — компактнее и все видны (переносом, без прокрутки);
     «Обсудить проект» заменяет плавающая кнопка (ui.css, .ui-fab), остаётся «Рассчитать цену заявки» — тёмной */
  .hero__main .ui-chip { min-height: 38px; padding: var(--sp-4) var(--sp-16); font-size: var(--fs-caption); }
  .hero__discuss { display: none; }
  .hero__calc { background: var(--c-ink); border-color: var(--c-ink); color: var(--c-white); }
  .crm__sub, .crm__search { display: none; }
  .crm__cols { grid-template-columns: 1fr; }
  .crm__col:last-child { display: none; }
  .grid-3, .criteria, .cases, .steps, .trust__grid, .mini-stats { grid-template-columns: minmax(0, 1fr); }
  .fit-panel { padding: var(--sp-24); margin-top: var(--sp-32); }
  .pain { gap: var(--sp-16); }
  .pain__num { flex-basis: 44px; }
  .form-card .ui-btn, .final__form .ui-btn, .cta-row .ui-btn { width: 100%; }
  .bridge { padding: var(--sp-20); margin-top: var(--sp-32); }
  .tool { padding: var(--sp-24); }
  .teaser summary { padding: var(--sp-16) var(--sp-20); }
  .teaser__body { padding: 0 var(--sp-20) var(--sp-20); }
  .stage { padding: var(--sp-24); }
  .fbar__box { min-width: 0; }
  .fbar--w90 .fbar__box, .fbar--w76 .fbar__box { width: 100%; }
  .fbar--w38 .fbar__box { width: 70%; }
  .fbar--w62 .fbar__box { width: 88%; }
  .fbar__note { display: none; }
  .final { border-radius: var(--r-l); }
  .case-combo__body { padding: var(--sp-24); }
  .case-combo__nums { grid-template-columns: minmax(0, 1fr); gap: var(--sp-12); }
  .case-combo__img { min-height: 200px; }
  .lm__in { gap: var(--sp-24); }
  .lm__card { padding: var(--sp-16); }
  .lm__ctop { flex-direction: column; align-items: flex-start; gap: 6px; }
  .lm__lockbadge > span { font-size: var(--fs-caption); padding: var(--sp-8) var(--sp-16); }
  .lm__form { padding: var(--sp-24); }
}
