/* =========================================================================
   Apartex — стили главной страницы (front-page)
   Использует токены из main.css (:root). Подключается только на главной.
   ========================================================================= */

/* ---------- Анимация появления при скролле ----------
   Скрываем блоки ТОЛЬКО при наличии JS (класс .js на <html>).
   Без JS контент остаётся полностью видимым. */
.js .reveal {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .7s cubic-bezier(.22, .61, .36, 1), transform .7s cubic-bezier(.22, .61, .36, 1);
	transition-delay: var(--reveal-delay, 0ms);
}
.js .reveal--left { transform: translateX(-32px); }
.js .reveal--right { transform: translateX(32px); }
.js .reveal--zoom { transform: scale(.94); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Подсказку композитору держим только пока блок ещё не показан, затем снимаем. */
.js .reveal:not(.is-visible) { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
	.js .reveal, .js .reveal--left, .js .reveal--right, .js .reveal--zoom {
		opacity: 1 !important; transform: none !important; transition: none !important;
	}
}

/* ---------- Общие элементы секций ---------- */
.home-section { padding: 84px 0; }
.home-section--tint { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

/* =========================================================================
   1. Hero
   ========================================================================= */
.hero {
	position: relative; overflow: hidden;
	background: linear-gradient(180deg, #eff4ff 0%, #ffffff 70%);
	border-bottom: 1px solid var(--line-soft);
	padding: 56px 0 72px;
	/* Первый экран во всю высоту окна за вычетом липкой шапки (72px),
	   но не выше 900px — иначе на больших мониторах контент тонет в пустоте. */
	min-height: calc(100vh - 72px);
	min-height: min(calc(100svh - 72px), 860px);
	display: flex;
	align-items: center;
}
.hero > .container { width: 100%; }
.hero::before {
	content: ""; position: absolute; top: -180px; right: -160px; width: 560px; height: 560px;
	background: radial-gradient(circle, rgba(37, 99, 235,.16), transparent 62%); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.24fr 1fr; gap: 44px; align-items: center; position: relative; }
/* Отступы внутри первого экрана растут вместе с высотой окна, чтобы текст
   не «комкался» посередине на высоких мониторах. */
.hero h1 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 800; line-height: 1.22; letter-spacing: -.025em; margin: clamp(28px, 4.2vh, 48px) 0 clamp(24px, 3.6vh, 40px); text-wrap: balance; }
.hero h1 .accent { color: var(--brand); }
.hero__subtitle { font-size: 20px; line-height: 1.7; color: var(--muted); max-width: 52ch; margin: 0 0 clamp(36px, 6vh, 64px); }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__trust { margin-top: clamp(36px, 6vh, 64px); display: flex; align-items: center; gap: 20px; color: var(--muted); font-size: 14px; flex-wrap: wrap; }
.hero__trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--faint); }

.btn-video { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-video:hover { border-color: var(--brand); color: var(--brand); }
.btn-video .play-circle {
	width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand);
	display: inline-flex; align-items: center; justify-content: center; margin-right: -2px;
}
.btn-video .play-circle svg { width: 12px; height: 12px; }

/* Композиция визуала: панель + телефон + терминал */
.hero__visual { position: relative; min-height: 440px; }
/* Только на широких экранах (контейнер 1200px + поля ≥100px) панель крупнее
   и уходит вправо за край колонки — так первый экран заполняется продуктом,
   а не пустотой. Ниже 1400px запаса справа нет, телефон обрезало бы краем. */
@media (min-width: 1400px) {
	.hero__visual { width: 116%; }
}
.mock { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e2e7f0; display: inline-block; }
.mock-bar i:nth-child(1) { background: #ff6b6b; }
.mock-bar i:nth-child(2) { background: #ffd166; }
.mock-bar i:nth-child(3) { background: #2bd576; }

/* Панель руководителя */
.mock-dash { position: relative; z-index: 1; width: 100%; }
.mock-dash__body { padding: 18px; }
/* Реальный скриншот админки вместо CSS-макета */
.mock-dash--shot { overflow: hidden; padding: 0; }
/* Скриншот панели живёт в окне браузера — так же, как скриншоты на странице
   «Веб-панель». Скругление у самого кадра убрано: рамку рисует окно, а не
   картинка, иначе угол интерфейса срезается вместе с содержимым. */
.mock-dash__img { display: block; width: 100%; height: auto; }
.mock-bar--shot { padding: 11px 14px; background: #f1f4fa; border-bottom-color: var(--line); }
.mock-bar--shot i,
.mock-bar--shot i:nth-child(1),
.mock-bar--shot i:nth-child(2),
.mock-bar--shot i:nth-child(3) { background: #cdd5e3; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-stat { background: var(--surface); border-radius: 12px; padding: 12px; }
.mock-stat b { display: block; font-size: 20px; color: var(--ink); font-weight: 800; }
.mock-stat span { font-size: 11px; color: var(--muted); }
.mock-chart { display: flex; align-items: flex-end; gap: 9px; height: 110px; padding: 10px 4px 0; }
.mock-chart span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #6f9bff, #2563EB); opacity: .9; }

/* Телефон */
.mock-phone {
	position: absolute; right: -6px; bottom: -28px; z-index: 2;
	width: 172px; border-radius: 28px; padding: 4px; background: #0f172a; box-shadow: var(--shadow-lg);
}
.mock-phone__screen { background: #fff; border-radius: 24px; overflow: hidden; }
.mock-phone__top { background: var(--brand); color: #fff; padding: 14px 14px 16px; }
.mock-phone__top small { opacity: .85; font-size: 10px; }
.mock-phone__top b { display: block; font-size: 15px; font-weight: 700; }
.mock-row { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.mock-row .ic { width: 26px; height: 26px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; flex: none; }
.mock-row .ic svg { width: 14px; height: 14px; }
.mock-row .ln { flex: 1; }
.mock-row .ln em { display: block; height: 7px; width: 70%; background: #e9edf5; border-radius: 4px; margin-bottom: 5px; }
.mock-row .ln i { display: block; height: 6px; width: 45%; background: #f0f3f9; border-radius: 4px; }

/* Карточка отметки смены (белая, по макету) */
.mock-terminal {
	position: absolute; left: -18px; bottom: 36px; z-index: 3;
	width: 156px; background: #fff; color: var(--ink); border: 1px solid var(--line);
	border-radius: 18px; padding: 16px; box-shadow: var(--shadow-lg);
	text-align: center;
}
.mock-terminal .tclock { width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.mock-terminal .tclock svg { width: 24px; height: 24px; }
.mock-terminal b { font-size: 24px; font-weight: 800; display: block; color: var(--ink); letter-spacing: -.01em; }
.mock-terminal small { font-size: 12px; color: var(--muted); }
.mock-terminal .tbtn { margin-top: 12px; background: var(--brand-dark); color: #fff; font-weight: 700; font-size: 12px; padding: 9px 0; border-radius: 10px; }

/* =========================================================================
   2. Отрасли
   ========================================================================= */
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.industry {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 24px;
	box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dbe2ee; }
.industry__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.industry__icon svg { width: 26px; height: 26px; }
.industry h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.industry p { color: var(--muted); font-size: 15px; margin: 0; }

/* =========================================================================
   3. Проблемы → решения
   ========================================================================= */
.ps-list { display: grid; gap: 18px; max-width: 920px; margin: 0 auto; }
.ps-row {
	display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
}
.ps-cell { display: flex; align-items: center; gap: 14px; padding: 22px 24px; }
.ps-cell .ps-ic { width: 38px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; flex: none; }
.ps-cell .ps-ic svg { width: 20px; height: 20px; }
.ps-problem { background: #fff7f7; }
.ps-problem .ps-ic { background: #ffe3e3; color: #e2453d; }
.ps-problem b { color: #334155; font-weight: 600; }
.ps-arrow { display: flex; align-items: center; justify-content: center; padding: 0 4px; color: var(--faint); background: #fafbfd; }
.ps-arrow svg { width: 22px; height: 22px; }
.ps-solution .ps-ic { background: #e3f7ec; color: #0f9d58; }
.ps-solution b { color: var(--ink); font-weight: 700; }

/* =========================================================================
   4. Возможности
   ========================================================================= */
.features10 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.f10 {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px 18px;
	box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.f10:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: #dbe2ee; }
.f10__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.f10__icon svg { width: 22px; height: 22px; }
.f10 h3 { font-size: 15.5px; font-weight: 700; margin: 0; line-height: 1.35; }

/* =========================================================================
   5. Как работает
   ========================================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; }
.steps::before {
	content: ""; position: absolute; top: 38px; left: 16%; right: 16%; height: 2px;
	background: repeating-linear-gradient(90deg, #cdd9f5 0 10px, transparent 10px 20px);
	z-index: 0;
}
.step { position: relative; z-index: 1; text-align: center; }
.step__num {
	width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #fff;
	border: 2px solid var(--brand-soft); color: var(--brand);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); position: relative;
}
.step__num svg { width: 32px; height: 32px; }
.step__num span { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.step p { color: var(--muted); font-size: 15px; margin: 0 auto; max-width: 28ch; }

/* =========================================================================
   6. Интерфейс (вкладки)
   ========================================================================= */
.tabs-nav { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.tab-btn {
	display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); color: #475569; font-weight: 600; font-size: 15px; cursor: pointer;
	transition: all .15s ease;
}
.tab-btn svg { width: 18px; height: 18px; }
.tab-btn:hover { border-color: var(--brand); color: var(--brand); }
.tab-btn.is-active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 8px 18px rgba(37, 99, 235,.25); }
.tab-panels { position: relative; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: tabfade .4s ease both; }
@keyframes tabfade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tab-panel__frame {
	max-width: 980px; margin: 0 auto; background: linear-gradient(135deg, #001f5c, #1d4ed8);
	border-radius: 22px; padding: 28px; box-shadow: var(--shadow-lg);
}
.tab-screen { background: #fff; border-radius: 14px; overflow: hidden; min-height: 360px; }
.tab-screen .ts-head { display: flex; align-items: center; gap: 6px; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); }
.tab-screen .ts-head i { width: 9px; height: 9px; border-radius: 50%; background: #e2e7f0; }
.tab-screen .ts-body { padding: 22px; display: grid; grid-template-columns: 200px 1fr; gap: 18px; }
.tab-screen .ts-side { display: grid; gap: 10px; align-content: start; }
.tab-screen .ts-side .si { height: 34px; border-radius: 9px; background: var(--surface); }
.tab-screen .ts-side .si.on { background: var(--brand-soft); }
.tab-screen .ts-main { display: grid; gap: 14px; }
.tab-screen .ts-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tab-screen .ts-card { background: var(--surface); border-radius: 12px; padding: 16px; }
.tab-screen .ts-card b { font-size: 22px; color: var(--ink); display: block; }
.tab-screen .ts-card span { font-size: 12px; color: var(--muted); }
.tab-screen .ts-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; background: var(--surface); border-radius: 12px; padding: 16px; }
.tab-screen .ts-bars span { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #6f9bff, #2563EB); }
.tab-note { text-align: center; color: var(--body); font-weight: 600; margin: 18px 0 0; }
.tab-note__link { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font-weight: 700; color: var(--brand); white-space: nowrap; }
.tab-note__link:hover { color: var(--brand-dark); }
.tab-note__link svg { width: 16px; height: 16px; transition: transform .15s ease; }
.tab-note__link:hover svg { transform: translateX(3px); }

/* =========================================================================
   7. Кейсы
   ========================================================================= */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.case-card__media { height: 150px; position: relative; display: flex; align-items: center; justify-content: center; color: #fff; }
.case-card__media svg { width: 46px; height: 46px; opacity: .95; position: relative; z-index: 1; }
.case-card--a .case-card__media { background: linear-gradient(135deg, #2563EB, #38bdf8); }
.case-card--b .case-card__media { background: linear-gradient(135deg, #f59e0b, #ef7d4e); }
.case-card--c .case-card__media { background: linear-gradient(135deg, #7c3aed, #a855f7); }
.case-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); margin-bottom: 8px; }
.case-card h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.case-card p { color: var(--muted); font-size: 15px; margin: 0 0 16px; flex: 1; }
.case-card__result { display: flex; align-items: center; gap: 9px; font-weight: 700; color: #0f9d58; font-size: 15px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.case-card__result svg { width: 18px; height: 18px; }

/* =========================================================================
   8. Отзывы
   ========================================================================= */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.review__quote { color: var(--brand-soft); margin-bottom: 6px; }
.review__quote svg { width: 36px; height: 36px; color: #d6e2ff; }
.review__stars { display: flex; gap: 3px; color: #ffb020; margin-bottom: 12px; }
.review__stars svg { width: 16px; height: 16px; }
.review__text { color: #3d4a5c; font-size: 16px; line-height: 1.6; margin: 0 0 22px; flex: 1; }
.review__person { display: flex; align-items: center; gap: 13px; }
.review__avatar { width: 50px; height: 50px; border-radius: 50%; background: linear-gradient(135deg, #2563EB, #38bdf8); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 17px; flex: none; }
.review__name { display: block; font-weight: 700; color: var(--ink); font-size: 15px; line-height: 1.3; }
.review__role { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.review__result { margin-top: 16px; background: var(--brand-soft-2); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; color: var(--brand-dark); font-weight: 600; }

/* =========================================================================
   9. Тарифы
   ========================================================================= */
/* Число колонок = числу тарифов (--cols из шаблона), иначе 3. Так сетка не «съезжает» влево. */
.pricing-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 24px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 32px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.plan--featured { border-color: var(--brand); box-shadow: 0 20px 44px rgba(37, 99, 235,.18); transform: translateY(-8px); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; letter-spacing: .03em; }
.plan h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.plan__sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.plan__price b { font-size: 38px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; flex: none; }
.plan__price span { color: var(--muted); font-size: 14px; line-height: 1.3; }
.plan ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.plan li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #475569; }
.plan li svg { width: 18px; height: 18px; color: #0f9d58; flex: none; margin-top: 2px; }
.plan .btn { width: 100%; margin-top: auto; }

/* =========================================================================
   Кейсы/отзывы из базы + реальные скриншоты
   ========================================================================= */
a.case-card { text-decoration: none; color: inherit; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; }
.home-more { text-align: center; margin-top: 34px; }
a.f10 { text-decoration: none; color: inherit; }
a.industry { text-decoration: none; color: inherit; }

/* Аватар отзыва с фото */
.review__avatar { overflow: hidden; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Видео-отзыв */
.review--video { padding: 0; overflow: hidden; }
.review--video .review__video { position: relative; aspect-ratio: 16 / 11; border-radius: 0; box-shadow: none; margin: 0; cursor: pointer; }
.review--video .review__video img { width: 100%; height: 100%; object-fit: cover; }
.review--video .review__person { padding: 18px 22px 22px; }
.review__video-badge { position: absolute; left: 14px; top: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: rgba(15, 23, 42, .62); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 11px; border-radius: 999px; }
.review__video-badge svg { width: 13px; height: 13px; }
.review--video .review__video:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }

/* Реальный скриншот в блоке «Интерфейс» (резервируем высоту, чтобы не было сдвига) */
.tab-panel__frame--shot { background: linear-gradient(135deg, #eef3ff, #dde8ff); padding: 26px; min-height: 520px; display: flex; align-items: center; justify-content: center; }
.tab-shot { display: block; max-height: 620px; width: auto; max-width: 100%; margin: 0 auto; border-radius: 30px; box-shadow: 0 26px 60px rgba(8, 20, 70, .30); }

/* Реальный скриншот в телефоне первого экрана */
.mock-phone__shot { display: block; width: 100%; height: auto; aspect-ratio: 9 / 19.5; object-fit: cover; }

/* Галерея скриншотов в блоке «Интерфейс» */
.tab-panel__frame--gallery { padding: 36px 24px; }

/* =========================================================================
   Лендинги (Партнёрам / Реферальная программа)
   ========================================================================= */
.lp-hero { background: linear-gradient(180deg, #eff4ff 0%, #fff 80%); border-bottom: 1px solid var(--line-soft); padding: 56px 0 60px; text-align: center; }
.lp-hero__inner { max-width: 820px; margin: 0 auto; }
.lp-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -.02em; margin: 16px 0 16px; }
.lp-hero__lead { font-size: 19px; color: var(--muted); max-width: 60ch; margin: 0 auto 28px; }
.lp-hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-metrics { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; margin-top: 40px; }
.lp-metric { text-align: center; }
.lp-metric b { display: block; font-size: 34px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1; }
.lp-metric span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }

.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.lp-compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 920px; margin: 0 auto; }
.lp-compare__card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 30px 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.lp-compare__card h3 { font-size: 22px; font-weight: 800; margin: 0 0 4px; }
.lp-compare__for { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.lp-compare__card ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.lp-compare__card li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: #475569; }
.lp-compare__card li svg { width: 18px; height: 18px; color: #0f9d58; flex: none; margin-top: 2px; }
.lp-compare__card .btn { width: 100%; margin-top: auto; }

@media (max-width: 1024px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .tiers-grid { grid-template-columns: 1fr; } .lp-compare { grid-template-columns: 1fr; } .lp-metrics { gap: 28px; } }

/* =========================================================================
   Тарифы и калькулятор
   ========================================================================= */
.plan ul .plan__off, .plan ul .plan__off svg { color: var(--faint); }
/* Строка без галочки («и ещё N…») — отступ вместо иконки, чтобы текст
   не выпадал из общей колонки списка. */
.plan ul .plan__off:not(:has(svg)) { padding-left: 28px; }
/* Приписка под сеткой тарифов: модуль — не часть тарифа, у него своя цена. */
.plan-modules-note { display: flex; align-items: flex-start; gap: 9px; justify-content: center; max-width: 760px; margin: 26px auto 0; text-align: left; font-size: 14px; line-height: 1.55; color: var(--muted); }
.plan-modules-note svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.plan__support { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); margin: 0 0 16px; }
.plan__support svg { width: 15px; height: 15px; color: var(--brand); flex: none; }

.pc-period-switch { display: flex; width: max-content; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px; margin: 0 auto 32px; }
.pc-period { border: 0; background: transparent; padding: 9px 20px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: #475569; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.pc-period.is-active { background: var(--brand); color: #fff; }
.pc-period__badge { font-size: 12px; background: #e6f7ef; color: #0a7f46; padding: 2px 7px; border-radius: 999px; }
.pc-period.is-active .pc-period__badge { background: rgba(255, 255, 255, .25); color: #fff; }

.calc { max-width: 980px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.calc__tabs { display: flex; border-bottom: 1px solid var(--line); }
.calc__tab { flex: 1; border: 0; background: #fff; padding: 16px; font-weight: 700; font-size: 15px; color: var(--muted); cursor: pointer; }
.calc__tab.is-active { color: var(--brand); box-shadow: inset 0 -2px 0 var(--brand); }
.calc__body { display: grid; grid-template-columns: 1.2fr 1fr; }
.calc__controls { padding: 28px; border-right: 1px solid var(--line-soft); }
.calc__label { font-weight: 700; color: var(--ink); margin-bottom: 12px; font-size: 14px; }
.calc__tariffs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.calc__radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.calc__radio span { display: inline-flex; padding: 9px 16px; border: 1px solid var(--line); border-radius: 10px; font-weight: 600; font-size: 14px; cursor: pointer; }
.calc__radio input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.calc__radio input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.calc__modules { display: grid; gap: 8px; margin-bottom: 24px; }
.calc__mod { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; }
.calc__mod input { width: 18px; height: 18px; flex: none; accent-color: var(--brand); }
.calc__mod-name { flex: 1; font-size: 14.5px; color: var(--ink); }
.calc__mod-name em { color: var(--muted); font-style: normal; font-size: 12px; }
.calc__mod-rate { font-weight: 600; color: var(--brand); font-size: 13.5px; white-space: nowrap; }
.calc__emp .calc__label b { color: var(--brand); }
.calc__emp input[type=range] { width: 100%; accent-color: var(--brand); }
.calc__result { padding: 28px; background: var(--surface); display: flex; flex-direction: column; justify-content: center; }
.calc__total { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.calc__total .calc__per-m { font-size: 18px; color: var(--muted); font-weight: 600; }
.calc__breakdown { color: var(--muted); font-size: 14px; margin-top: 6px; }
.calc__year { margin-top: 10px; color: #0a7f46; font-weight: 600; font-size: 14px; }
.calc__result .btn { margin-top: 20px; }
.calc__note { font-size: 12.5px; color: var(--faint); margin: 10px 0 0; }

.lms-offer { display: flex; align-items: center; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow-sm); }
.lms-offer__icon { flex: none; width: 64px; height: 64px; border-radius: 18px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.lms-offer__icon svg { width: 32px; height: 32px; }
.lms-offer__text { flex: 1; }
.lms-offer__text h2 { font-size: 24px; margin: 0 0 8px; }
.lms-offer__text p { color: var(--muted); margin: 0; }

@media (max-width: 768px) { .calc__body { grid-template-columns: 1fr; } .calc__controls { border-right: 0; border-bottom: 1px solid var(--line-soft); } .lms-offer { flex-direction: column; text-align: center; } }

/* =========================================================================
   Адаптив
   ========================================================================= */
@media (max-width: 1024px) {
	.hero__grid { grid-template-columns: 1fr; gap: 48px; }
	.hero__visual { max-width: 480px; margin: 0 auto; }
	.industries-grid { grid-template-columns: repeat(2, 1fr); }
	.features10 { grid-template-columns: repeat(3, 1fr); }
	.cases-grid, .reviews-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
	.plan--featured { transform: none; }
	.tab-screen .ts-body { grid-template-columns: 1fr; }
	.tab-screen .ts-side { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
	.home-section { padding: 56px 0; }
	.hero { padding: 48px 0 64px; }
	.industries-grid { grid-template-columns: 1fr; }
	.features10 { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: 1fr; gap: 32px; }
	.steps::before { display: none; }
	.ps-row { grid-template-columns: 1fr; }
	/* Стрелку разворачиваем поворотом самой иконки. Повернуть весь блок нельзя:
	   в одну колонку он занимает всю ширину строки, и после rotate(90deg) его
	   фон встаёт вертикальной полосой поверх текста соседних ячеек. */
	.ps-arrow { padding: 10px 8px; transform: none; background: transparent; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
	.ps-arrow svg { transform: rotate(90deg); }
	.tab-screen .ts-cards { grid-template-columns: 1fr; }
	.tab-screen .ts-side { grid-template-columns: repeat(2, 1fr); }
	.hero__actions .btn { width: 100%; }
}

/* =========================================================================
   Презентация решения (single-solution)
   ========================================================================= */
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 12px; }

/* ---------- Боли ниши (заголовок + текст) ---------- */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.pain-card {
	position: relative; background: #fff; border: 1px solid var(--line); border-left: 3px solid #ef6b6b;
	border-radius: 14px; padding: 22px 22px 22px 56px; box-shadow: var(--shadow-sm);
}
.pain-card__ic { position: absolute; left: 18px; top: 21px; width: 26px; height: 26px; color: #ef6b6b; display: inline-flex; align-items: center; justify-content: center; }
.pain-card__ic svg { width: 22px; height: 22px; }
.pain-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.pain-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Что закрываем: карточки с иконками ---------- */
.covers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cover-card {
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 24px 22px; box-shadow: var(--shadow-sm);
}
.cover-card__ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 42px; height: 42px; border-radius: 11px; margin-bottom: 14px;
	background: rgba(37, 99, 235,.10); color: var(--brand);
}
.cover-card__ic svg { width: 22px; height: 22px; }
.cover-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.cover-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- Честно о границах ----------
   Ограничение, названное нами первым, работает на доверие. Поэтому блок
   спокойный и читаемый, а не «мелким шрифтом внизу». */
.honest-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: 980px; margin: 0 auto; }
.honest-card {
	background: var(--surface); border: 1px solid var(--line);
	border-left: 3px solid #94a3b8; border-radius: 14px; padding: 22px 24px;
}
.honest-card h3 { font-size: 16px; font-weight: 700; margin: 0 0 8px; }
.honest-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Сноска-дисклеймер на посадочных. */
.lp-disclaimer {
	max-width: 860px; margin: 32px auto 0; padding: 16px 20px;
	background: var(--surface); border: 1px dashed var(--line); border-radius: 12px;
	color: var(--muted); font-size: 14px; line-height: 1.6; text-align: center;
}

.sol-final__note { margin: 16px 0 0; font-size: 14px; color: var(--faint); }

@media (max-width: 900px) {
	.covers-grid { grid-template-columns: repeat(2, 1fr); }
	.honest-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.covers-grid { grid-template-columns: 1fr; }
}

/* ---------- Демо-блок: возможность + скриншот ---------- */
.demo-block { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.demo-block--flip .demo-block__text { order: 2; }
.demo-block__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.demo-block__icon svg { width: 26px; height: 26px; }
.demo-block__text h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 14px; }
.demo-block__lead { font-size: 17px; color: var(--muted); margin: 0 0 20px; }

.demo-bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.demo-bullets li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--body); }
.demo-bullets li svg { width: 20px; height: 20px; color: var(--brand); flex: none; margin-top: 1px; }
.demo-bullets b { color: var(--ink); }

.demo-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.demo-steps li { counter-increment: step; position: relative; padding-left: 46px; min-height: 32px; display: flex; flex-direction: column; justify-content: center; }
.demo-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.demo-steps b { font-size: 15px; color: var(--ink); }
.demo-steps span { font-size: 14px; color: var(--muted); }

.demo-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.demo-trio__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-align: center; }
.demo-trio__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.demo-trio__ic svg { width: 22px; height: 22px; }
.demo-trio__item b { display: block; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.demo-trio__item span { font-size: 13px; color: var(--muted); }
/* В режиме «три карточки» скриншот не выводим, пункты — на всю ширину */
.demo-block--trio { grid-template-columns: 1fr; }
.demo-block--trio .demo-block__media { display: none; }

.demo-callout { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.demo-callout svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.demo-callout--success { background: #e6f7ef; color: #0a7f46; }
.demo-callout--info { background: var(--brand-soft); color: var(--brand-dark); }

.demo-shot { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #fff; }
.demo-shot img { width: 100%; height: auto; display: block; }
/* Вертикальный экран телефона — по центру колонки, без скругления */
.demo-shot--phone { max-width: 300px; margin: 0 auto; border: 0; background: none; box-shadow: none; overflow: visible; }
.demo-shot--phone img { max-width: 100%; max-height: 560px; width: auto; height: auto; margin: 0 auto; border-radius: 0; box-shadow: var(--shadow-lg); }
/* В режиме презентации скриншот не должен вылезать за слайд */
.is-presenting .demo-shot--phone img { max-height: 56vh; }
/* Десктоп-скриншот админки — во всю ширину колонки */
.demo-shot--wide { border-radius: 0; }
.is-presenting .demo-shot--wide img { max-height: 52vh; width: auto; margin: 0 auto; }
.demo-shot--empty { aspect-ratio: 16 / 10; min-height: 260px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: linear-gradient(135deg, #001f5c, #1d4ed8); border: none; color: #fff; }
.demo-shot__ph { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.demo-shot__ph svg { width: 32px; height: 32px; }
.demo-shot__cap { font-weight: 700; letter-spacing: .04em; opacity: .9; }

/* ---------- Метрики результата ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.metric { text-align: center; }
.metric__value { display: block; font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; color: var(--brand); line-height: 1; }
.metric__label { display: block; font-weight: 700; font-size: 17px; margin: 10px 0 6px; color: var(--ink); }
.metric__note { display: block; font-size: 14px; color: var(--muted); }

/* ---------- Финансовый эффект ---------- */
.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fin-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.fin-card__ic { width: 42px; height: 42px; border-radius: 12px; background: #e6f7ef; color: #0a7f46; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.fin-card__ic svg { width: 22px; height: 22px; }
.fin-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 8px; }
.fin-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* ---------- Итоговый слайд ---------- */
.sol-final__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.sol-final__inner h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; margin: 0 0 28px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 28px; text-align: left; }
.summary-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: var(--shadow-sm); }
.summary-card__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.summary-card__ic svg { width: 22px; height: 22px; }
.summary-card h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.summary-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.sol-final__closing { font-size: 18px; color: var(--body); max-width: 640px; margin: 0 auto 26px; }
.sol-final__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =========================================================================
   Режим презентации (полноэкранные слайды)
   ========================================================================= */
.pres-controls {
	position: fixed; z-index: 1000; left: 50%; bottom: 22px; transform: translateX(-50%);
	display: none; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 999px;
	background: rgba(15,23,42,.88); backdrop-filter: blur(6px); box-shadow: var(--shadow-lg);
}
.is-presenting .pres-controls { display: flex; }
.pres-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s ease; }
.pres-btn:hover { background: rgba(255,255,255,.24); }
.pres-btn svg { width: 20px; height: 20px; }
.pres-exit { margin-left: 6px; background: rgba(255,255,255,.06); }
.pres-counter { color: #fff; font-weight: 600; font-size: 14px; padding: 0 10px; min-width: 54px; text-align: center; }

.is-presenting { overflow: hidden; }
.is-presenting .site-header,
.is-presenting .site-footer,
.is-presenting .back-link,
.is-presenting [data-present-start] { display: none !important; }
.is-presenting [data-presentation] {
	position: fixed; inset: 0; z-index: 900; background: var(--white);
	overflow-y: auto; scroll-snap-type: y proximity; scroll-behavior: smooth;
	scroll-padding-bottom: 96px; -webkit-overflow-scrolling: touch;
}
.is-presenting .pres-slide { min-height: 100vh; scroll-snap-align: start; display: flex; align-items: center; padding: 64px 0 96px; }
.is-presenting .pres-slide > .container { width: 100%; }
.is-presenting .reveal { opacity: 1 !important; transform: none !important; }
/* На низких экранах не привязываем слайды — иначе высокий слайд тяжело прокрутить. */
@media (max-height: 760px) { .is-presenting [data-presentation] { scroll-snap-type: none; } }

@media (max-width: 880px) {
	.demo-block { grid-template-columns: 1fr; gap: 28px; }
	.demo-block--flip .demo-block__text { order: 0; }
	.metric-grid, .fin-grid { grid-template-columns: repeat(2, 1fr); }
	.summary-grid, .pain-grid, .demo-trio { grid-template-columns: 1fr; }
}

/* =========================================================================
   Рекламная посадочная (template-ads.php)
   Mobile-first: сначала базовый (узкий) вид, затем расширения для десктопа.
   ========================================================================= */

/* Меню и виджеты на посадочной под трафик не нужны: любой лишний выход —
   потерянный клик. Оставляем логотип, телефон и главную кнопку.
   Селекторы с body — чтобы перебить .site-header.is-open .primary-nav из main.css. */
body.page-template-template-ads .primary-nav,
body.page-template-template-ads .nav-toggle,
body.page-template-template-ads .footer-grid,
body.page-template-template-ads .fv { display: none; }
body.page-template-template-ads .footer-bottom { border-top: 0; padding-top: 0; }

/* ---------- 1. Первый экран ---------- */
.ad-hero {
	background: linear-gradient(180deg, #eff4ff 0%, #fff 78%);
	border-bottom: 1px solid var(--line-soft);
	padding: 32px 0 44px;
}
.ad-hero__grid { display: grid; gap: 36px; align-items: center; }
.ad-hero h1 {
	font-size: clamp(28px, 6.4vw, 46px); font-weight: 800; line-height: 1.14;
	letter-spacing: -.025em; margin: 16px 0 14px; text-wrap: balance;
}
.ad-hero__lead { font-size: 17px; line-height: 1.6; color: var(--muted); margin: 0 0 24px; max-width: 54ch; }
.ad-hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.ad-hero__actions .btn { width: 100%; }
.ad-hero__offer { font-size: 14px; font-weight: 600; color: var(--brand-dark); }

.ad-trust { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.ad-trust li { display: flex; align-items: center; gap: 9px; font-size: 14.5px; color: var(--body); }
.ad-trust svg { width: 16px; height: 16px; color: #0a7f46; flex: none; }

/* Визуал: панель + телефон + карточка отметки смены */
.ad-mock { position: relative; padding-bottom: 18px; }
.ad-mock__dash, .ad-mock__fallback {
	width: 100%; background: #fff; border: 1px solid var(--line);
	border-radius: 18px; box-shadow: var(--shadow-lg); overflow: hidden;
}
/* Высоту ограничиваем: если в настройки темы загрузят вертикальный скриншот,
   первый экран растянется и кнопка уедет за сгиб. object-fit сохраняет пропорции. */
.ad-mock__dash { display: block; height: auto; max-height: 300px; object-fit: contain; object-position: center top; }
.ad-mock__phone {
	position: absolute; right: -4px; bottom: -6px; z-index: 2; width: 116px;
	border-radius: 22px; padding: 4px; background: #0f172a; box-shadow: var(--shadow-lg);
}
.ad-mock__phone img { border-radius: 18px; width: 100%; height: auto; }
.ad-mock__badge {
	position: absolute; left: -8px; bottom: 16px; z-index: 3; width: 132px;
	background: #fff; border: 1px solid var(--line); border-radius: 16px;
	padding: 12px; text-align: center; box-shadow: var(--shadow-lg);
}
.ad-mock__ic {
	width: 34px; height: 34px; margin: 0 auto 8px; border-radius: 50%;
	background: var(--brand-soft); color: var(--brand);
	display: flex; align-items: center; justify-content: center;
}
.ad-mock__ic svg { width: 19px; height: 19px; }
.ad-mock__badge b { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.ad-mock__badge small { font-size: 11.5px; color: var(--muted); }

/* ---------- 2. Проблемы ---------- */
.ad-pains { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.ad-pain {
	display: flex; gap: 14px; align-items: flex-start;
	background: #fff; border: 1px solid var(--line); border-left: 3px solid #ef6b6b;
	border-radius: 14px; padding: 20px; box-shadow: var(--shadow-sm);
}
.ad-pain__ic {
	flex: none; width: 38px; height: 38px; border-radius: 11px;
	background: #ffe9e9; color: #e2453d;
	display: flex; align-items: center; justify-content: center;
}
.ad-pain__ic svg { width: 20px; height: 20px; }
.ad-pain h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ad-pain p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- 3. Как работает ---------- */
.ad-flow { list-style: none; counter-reset: adstep; margin: 0; padding: 0; display: grid; gap: 22px; }
.ad-step { position: relative; text-align: center; }
.ad-step__num {
	position: relative; width: 68px; height: 68px; margin: 0 auto 14px;
	border-radius: 50%; background: #fff; border: 2px solid var(--brand-soft); color: var(--brand);
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.ad-step__num svg { width: 28px; height: 28px; }
.ad-step__num i {
	position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--brand); color: #fff; font-size: 12.5px; font-weight: 700; font-style: normal;
	display: flex; align-items: center; justify-content: center;
}
.ad-step h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ad-step p { margin: 0 auto; color: var(--muted); font-size: 14.5px; max-width: 32ch; }

/* ---------- 4. Интерфейс ---------- */
.ad-screens { display: grid; gap: 26px; }
.ad-screen { text-align: center; }
.ad-screen__media {
	display: flex; align-items: center; justify-content: center;
	margin-bottom: 16px; min-height: 200px;
}
.ad-screen__media img {
	max-width: 100%; height: auto; border-radius: 14px;
	box-shadow: 0 18px 40px rgba(8, 20, 70, .22); background: #fff;
}
.ad-screen__media--phone img { max-width: 210px; border-radius: 22px; }
.ad-screen__ph {
	width: 100%; min-height: 200px; border-radius: 16px; color: #fff;
	background: linear-gradient(135deg, #001f5c, #1d4ed8);
	display: flex; align-items: center; justify-content: center;
}
.ad-screen__ph svg { width: 46px; height: 46px; opacity: .9; }
.ad-screen h3 { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.ad-screen p { margin: 0 auto; color: var(--muted); font-size: 15px; max-width: 34ch; }

/* ---------- 5. Результат ---------- */
.ad-results { display: grid; gap: 16px; }
.ad-result {
	background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 22px; box-shadow: var(--shadow-sm);
}
.ad-result__ic {
	width: 42px; height: 42px; border-radius: 12px; margin-bottom: 12px;
	background: #e6f7ef; color: #0a7f46;
	display: inline-flex; align-items: center; justify-content: center;
}
.ad-result__ic svg { width: 22px; height: 22px; }
.ad-result h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.ad-result p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.ad-audience { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.ad-audience__title { text-align: center; font-size: 20px; font-weight: 700; margin: 0 0 22px; }
.ad-audience__grid { display: grid; gap: 16px; }
.ad-audience__item { display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; }
.ad-audience__ic {
	grid-row: span 2; width: 42px; height: 42px; border-radius: 12px;
	background: var(--brand-soft); color: var(--brand);
	display: flex; align-items: center; justify-content: center;
}
.ad-audience__ic svg { width: 22px; height: 22px; }
.ad-audience__item b { font-size: 16px; color: var(--ink); }
.ad-audience__item > span:last-child { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- 6. Призыв ---------- */
.ad-cta__offer { margin: 20px 0 0; font-size: 14px; color: rgba(255,255,255,.86); font-weight: 600; }

/* ---------- 7. Форма ---------- */
.ad-form { max-width: 520px; margin: 0 auto; }
.ad-form__alt { margin: 18px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.ad-form__alt a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ad-form__alt svg { width: 17px; height: 17px; }

/* ---------- Липкая кнопка (мобильный) ---------- */
.ad-sticky {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 120;
	display: flex; align-items: center; gap: 14px;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: rgba(255,255,255,.96); backdrop-filter: saturate(140%) blur(8px);
	border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(15,23,42,.10);
}
.ad-sticky[hidden] { display: none; }
.ad-sticky__offer { flex: 1; font-size: 13px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.ad-sticky .btn { flex: none; }
/* Чтобы кнопка не перекрывала последние строки подвала. */
body.has-ad-sticky { padding-bottom: 76px; }
/* Cookie-баннер приподнимаем над кнопкой: иначе он её накрывает у новых посетителей. */
body.has-ad-sticky .cookie-banner { bottom: calc(86px + env(safe-area-inset-bottom)); }

@media (min-width: 861px) {
	.ad-sticky { display: none !important; }
	body.has-ad-sticky { padding-bottom: 0; }
}

/* ---------- Модальная форма ---------- */
.ad-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.ad-modal[hidden] { display: none; }
.ad-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .58); }
.ad-modal__dialog {
	position: relative; z-index: 1; width: 100%; max-width: 460px;
	max-height: calc(100vh - 32px); overflow-y: auto; -webkit-overflow-scrolling: touch;
	background: #fff; border-radius: var(--radius-xl); padding: 26px 22px;
	box-shadow: var(--shadow-lg);
}
.ad-modal__close {
	position: absolute; top: 12px; right: 12px; width: 36px; height: 36px;
	border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted);
	display: flex; align-items: center; justify-content: center;
}
.ad-modal__close:hover { color: var(--ink); border-color: #cfd7e6; }
.ad-modal__close svg { width: 18px; height: 18px; }
.ad-modal-open { overflow: hidden; }

/* ---------- Десктоп ---------- */
@media (min-width: 861px) {
	.ad-hero { padding: 52px 0 64px; }
	.ad-hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
	.ad-hero__actions { flex-direction: row; align-items: center; gap: 18px; }
	.ad-hero__actions .btn { width: auto; }
	.ad-hero__lead { font-size: 19px; }
	.ad-trust { grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
	.ad-mock__dash { max-height: 440px; }
	.ad-mock__phone { width: 152px; right: -10px; bottom: -18px; }
	/* Карточку отметки смены держим у нижней кромки панели: так она не закрывает
	   данные на скриншоте, ради которых человек и смотрит первый экран. */
	.ad-mock__badge { width: 148px; left: -24px; bottom: -6px; }

	.ad-pains { grid-template-columns: repeat(2, 1fr); }
	.ad-flow { grid-template-columns: repeat(5, 1fr); gap: 18px; }
	.ad-screens { grid-template-columns: repeat(3, 1fr); gap: 30px; }
	.ad-results { grid-template-columns: repeat(4, 1fr); }
	.ad-audience__grid { grid-template-columns: repeat(3, 1fr); }

	/* Скриншоты у трёх ролей разной формы (телефон и широкая панель).
	   Фиксируем высоту области, иначе заголовки колонок встают на разной высоте. */
	.ad-screen__media, .ad-screen__ph { min-height: 320px; }
	.ad-screen__media img { max-height: 320px; width: auto; }
}

/* =========================================================================
   Скриншоты приложения: рамка iPhone и рамка браузера
   Используются на главной, на страницах приложений и в лендингах решений.
   ========================================================================= */
.iphone-row { display: flex; flex-wrap: wrap; gap: 30px 26px; justify-content: center; align-items: flex-start; }

.iphone { flex: 0 0 auto; width: 248px; max-width: 68vw; margin: 0; }
.iphone--sm { width: 206px; }
.iphone--lg { width: 292px; }

/* Корпус: градиент имитирует титановую рамку, внутренняя тень — фаску стекла. */
.iphone__body {
	position: relative;
	padding: 9px;
	border-radius: 46px;
	background: linear-gradient(145deg, #737b8e 0%, #2b3140 16%, #12161f 40%, #0b0e14 62%, #363d4d 86%, #656d80 100%);
	box-shadow:
		0 26px 54px -18px rgba(8, 20, 70, .48),
		0 6px 16px rgba(8, 20, 70, .16),
		inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.iphone__screen {
	position: relative;
	border-radius: 38px;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 1206 / 2622;
}
.iphone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Dynamic Island попадает ровно в вырез, который уже есть на скриншоте. */
.iphone__island {
	position: absolute;
	top: 1.25%;
	left: 50%;
	transform: translateX(-50%);
	width: 31%;
	aspect-ratio: 125 / 37;
	border-radius: 999px;
	background: #05070b;
}

.iphone__btn { position: absolute; width: 3px; border-radius: 3px; background: linear-gradient(90deg, #1b1f28, #4d5566 55%, #1b1f28); }
.iphone__btn--mute     { left: -2px; top: 15.5%; height: 3.2%; }
.iphone__btn--vol-up   { left: -2px; top: 22%;   height: 6%; }
.iphone__btn--vol-down { left: -2px; top: 29.5%; height: 6%; }
.iphone__btn--power    { right: -2px; top: 24%;  height: 9%; }

.iphone__cap { max-width: 258px; margin: 14px auto 0; text-align: center; }
.iphone__cap b { display: block; color: var(--ink); font-size: 14px; font-weight: 700; line-height: 1.35; }
.iphone__cap span { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; line-height: 1.5; }

/* Веб-панель — в рамке браузера. */
.webshot { width: 100%; margin: 0; }
.webshot__frame { border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.webshot__bar { display: flex; gap: 6px; padding: 11px 14px; background: #f1f4fa; border-bottom: 1px solid var(--line); }
.webshot__bar i { width: 9px; height: 9px; border-radius: 50%; background: #cdd5e3; }
.webshot img { width: 100%; height: auto; }
.webshot .iphone__cap { max-width: none; text-align: left; }

/* -------------------------------------------------------------------------
   Увеличение скриншота: прозрачная кнопка на всю рамку + лайтбокс.
   Кнопку ставит PHP (apartex_shot_zoom_html), открывает её модуль 13 в main.js.
   ------------------------------------------------------------------------- */
.webshot__frame,
.demo-shot--wide { position: relative; }

.shot-zoom {
	position: absolute; inset: 0; z-index: 3; padding: 0; border: 0; background: transparent;
	cursor: zoom-in; -webkit-appearance: none; appearance: none;
	display: flex; align-items: flex-end; justify-content: flex-end;
}
.shot-zoom__ic {
	margin: 10px; width: 34px; height: 34px; border-radius: 50%;
	background: rgba(15, 23, 42, .58); color: #fff;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: scale(.85); transition: opacity .16s ease, transform .16s ease;
}
.shot-zoom__ic svg { width: 17px; height: 17px; }
.shot-zoom:hover .shot-zoom__ic,
.shot-zoom:focus-visible .shot-zoom__ic { opacity: 1; transform: none; }
.shot-zoom:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
/* На тач-устройствах hover не наступает — показываем подсказку сразу, но тише. */
@media (hover: none) {
	.shot-zoom__ic { opacity: .62; transform: none; }
}

/* Лайтбокс скриншотов. */
.shotlb-open { overflow: hidden; }
.shotlb[hidden] { display: none; }
/* Кадр и подпись — две строки грида: подпись занимает столько, сколько ей нужно,
   кадру достаётся вся оставшаяся высота. Наложения не будет ни при какой длине подписи. */
.shotlb {
	position: fixed; inset: 0; z-index: 1200;
	display: grid; grid-template-rows: 1fr auto; justify-items: center; row-gap: 12px;
	padding: 52px 16px 16px;
}
.shotlb__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 24, .9); backdrop-filter: blur(4px); }
.shotlb__stage {
	position: relative; z-index: 1; align-self: stretch; min-height: 0; max-width: 100%;
	display: flex; align-items: center; justify-content: center;
}
.shotlb__img {
	max-width: min(96vw, 1500px); max-height: 100%; width: auto; height: auto; object-fit: contain;
	border-radius: 14px; background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.shotlb__meta { position: relative; z-index: 1; text-align: center; }
.shotlb__cap { max-width: 640px; margin: 0 auto; color: #fff; }
.shotlb__cap b { display: block; font-size: 15px; font-weight: 700; }
.shotlb__cap span { display: block; margin-top: 3px; color: rgba(255, 255, 255, .72); font-size: 13px; line-height: 1.5; }
.shotlb__counter { display: block; margin-top: 6px; color: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; }
.shotlb__close,
.shotlb__nav {
	position: absolute; z-index: 2; border: 0; border-radius: 50%; cursor: pointer; color: #fff;
	background: rgba(255, 255, 255, .12); display: flex; align-items: center; justify-content: center;
	transition: background .15s ease;
}
.shotlb__close:hover,
.shotlb__nav:hover { background: rgba(255, 255, 255, .26); }
.shotlb__close { top: 16px; right: 16px; width: 44px; height: 44px; }
.shotlb__close svg { width: 20px; height: 20px; }
.shotlb__nav { top: 50%; width: 52px; height: 52px; margin-top: -26px; }
.shotlb__nav svg { width: 24px; height: 24px; }
.shotlb__prev { left: 16px; }
.shotlb__next { right: 16px; }
.shotlb__nav[hidden] { display: none; }

@media (max-width: 760px) {
	.shotlb { padding: 48px 10px 12px; row-gap: 10px; }
	.shotlb__nav { width: 42px; height: 42px; margin-top: -21px; }
	.shotlb__prev { left: 6px; }
	.shotlb__next { right: 6px; }
}

@media (prefers-reduced-motion: reduce) {
	.shot-zoom__ic { transition: none; }
}

/* =========================================================================
   Страницы «Приложение сотрудника» и «Приложение руководителя»
   ========================================================================= */
.app-hero { padding: 36px 0 44px; background: linear-gradient(180deg, var(--brand-soft-2) 0%, #fff 72%); border-bottom: 1px solid var(--line-soft); }
.app-hero__grid { display: grid; gap: 34px; align-items: center; }
.app-hero h1 { font-size: 31px; letter-spacing: -.02em; margin-bottom: 14px; }
.app-hero__lead { font-size: 17px; line-height: 1.65; color: var(--body); margin: 0 0 22px; }
.app-hero__trust { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink); }
.app-hero__trust span { display: inline-flex; align-items: center; gap: 7px; }
.app-hero__trust svg { width: 16px; height: 16px; color: #16a34a; }
.app-hero .store-badges { margin-top: 22px; }

/* Быстрый переход по разделам длинной страницы. */
.app-toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.app-toc a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm); }
.app-toc a:hover { border-color: var(--brand); color: var(--brand); }
.app-toc svg { width: 16px; height: 16px; }

/* Нижняя панель вкладок приложения — карточками. */
.app-tabs { display: grid; gap: 14px; }
.app-tab { display: flex; gap: 13px; padding: 16px 17px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.app-tab__ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.app-tab__ic svg { width: 20px; height: 20px; }
.app-tab b { display: block; color: var(--ink); font-size: 15px; }
.app-tab p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; }

/* Пошаговый разбор экранов. */
.app-steps { display: flex; flex-direction: column; gap: 46px; }
.app-step { display: grid; gap: 26px; align-items: center; }
.app-step__num { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding: 0 11px; margin-bottom: 12px; border-radius: 11px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 800; }
.app-step__text h3 { font-size: 23px; letter-spacing: -.01em; margin-bottom: 10px; }
.app-step__text > p { margin: 0; font-size: 16px; line-height: 1.65; }
.app-step__list { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.app-step__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.55; }
.app-step__list svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: var(--brand); }
.app-tip { display: flex; gap: 10px; margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-md); background: var(--brand-soft-2); border: 1px solid #dbe6ff; font-size: 14.5px; line-height: 1.6; color: #33415c; }
.app-tip svg { flex: none; width: 17px; height: 17px; margin-top: 3px; color: var(--brand); }
.app-step--solo .app-step__text { max-width: 820px; }

/* Карточки настройки. */
.app-setup { display: grid; gap: 16px; }
.app-setup__item { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.app-setup__item h3 { font-size: 17px; margin-bottom: 8px; }
.app-setup__item p { margin: 0; font-size: 15px; line-height: 1.6; }
.app-setup__step { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); font-size: 12px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }

/* Галерея «все экраны». */
.app-gallery { padding-top: 4px; }

/* Заметка о недостающих экранах. */
.app-note { margin-top: 26px; padding: 16px 18px; border: 1px dashed #c8d5ef; border-radius: var(--radius-md); background: #fbfcff; color: var(--muted); font-size: 14.5px; text-align: center; }

@media (min-width: 861px) {
	.app-hero { padding: 52px 0 60px; }
	.app-hero__grid { grid-template-columns: 1.02fr .98fr; gap: 48px; }
	.app-hero h1 { font-size: 42px; }
	.app-hero__lead { font-size: 19px; }
	.app-tabs { grid-template-columns: repeat(4, 1fr); }
	.app-setup { grid-template-columns: repeat(3, 1fr); }
	.app-step { grid-template-columns: 1fr 1fr; gap: 52px; }
	.app-step--flip .app-step__text { order: 2; }
	.app-step--solo { grid-template-columns: 1fr; }
}

/* ---------- Рамка iPhone внутри готовых блоков ---------- */

/* Галерея на тёмном фоне вкладок «Интерфейс» на главной. */
.tab-panel__frame--gallery .iphone__cap b { color: #fff; }
.tab-panel__frame--gallery .iphone__cap span { color: rgba(255, 255, 255, .78); }
.tab-panel__frame--gallery .webshot__frame { border-color: rgba(255, 255, 255, .18); }

/* Рекламная посадочная: снимаем ограничения .ad-screen__media для рамки. */
.ad-screen__media .iphone { width: 200px; }
.ad-screen__media .iphone img { max-width: none; max-height: none; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.ad-screen__media .iphone__body { border-radius: 40px; padding: 8px; }
.ad-screen__media .iphone__screen { border-radius: 33px; }
/* На десктопе высота телефона держится в тех же 320px, что и скриншот панели,
   иначе подписи под тремя колонками встают на разной высоте. */
@media (min-width: 861px) {
	.ad-screen__media .iphone { width: 147px; }
	.ad-screen__media .iphone__body { border-radius: 30px; padding: 6px; }
	.ad-screen__media .iphone__screen { border-radius: 25px; }
}

/* ---------- Мобильная раскладка галерей ----------
   По одному телефону в ряд страница становится бесконечной,
   поэтому на узких экранах ставим два в ряд. */
@media (max-width: 860px) {
	.app-hero__media .iphone-row,
	.app-step__media .iphone-row,
	.app-gallery .iphone-row { gap: 22px 12px; }
	.app-hero__media .iphone,
	.app-step__media .iphone,
	.app-gallery .iphone { width: 43vw; max-width: 220px; }
	.iphone__cap { max-width: 100%; }
	.iphone__cap b { font-size: 13px; }
	.iphone__cap span { font-size: 12px; }
	.app-hero h1 { font-size: 27px; }
}

/* Лендинги решений: вертикальный скриншот возможности — тоже в рамке iPhone. */
.demo-shot--phone .iphone { width: 268px; max-width: 100%; margin: 0 auto; }
.demo-shot--phone .iphone img { max-width: none; max-height: none; width: 100%; height: 100%; border-radius: 0; box-shadow: none; }
.is-presenting .demo-shot--phone .iphone { width: min(268px, 25vh); }

/* Галерея скриншотов веб-панели: на десктопе по два в ряд. */
.webshot-grid { display: grid; gap: 30px; }
@media (min-width: 861px) {
	.webshot-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 30px; }
}
.app-hero__media .webshot { max-width: 100%; }

/* Шаг со скриншотом веб-панели: текст сверху, широкий кадр под ним. */
.app-step--stack { grid-template-columns: 1fr; gap: 24px; }
.app-step--stack .app-step__text { max-width: 880px; }
.app-step--stack .app-step__media { display: grid; gap: 30px; }
@media (min-width: 861px) {
	.app-step--stack .app-step__media--pair { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================================
   Лендинг «Рестораны и кафе» (template-parts/solutions/restaurants.php)
   Страница строится на контрасте «бумага → цифра», поэтому здесь только то,
   чего нет в общих компонентах: бумажный табель, связка контраста,
   лента шагов, калькулятор экономии и финальный экран с формой.
   ========================================================================= */

/* ---------- Первый экран ---------- */
.ind-hero { padding: 30px 0 56px; background: linear-gradient(180deg, var(--brand-soft-2) 0%, #fff 78%); border-bottom: 1px solid var(--line-soft); }
.ind-hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 48px; align-items: center; }
/* Ссылка «Все решения» должна стоять отдельной строкой над плашкой ниши. */
.ind-hero__text .back-link { display: flex; width: fit-content; margin-bottom: 14px; }
.ind-hero h1 { font-size: clamp(30px, 3.9vw, 48px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 18px; }
.ind-hero__lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 54ch; margin: 0 0 28px; }
.ind-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.ind-hero__trust { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ind-hero__trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); }
.ind-hero__trust svg { width: 16px; height: 16px; color: #0f9d58; flex: none; }

/* Запуск полноэкранного показа. Отдельной строкой под призывами: третьей
   крупной кнопкой он ломает ряд, а нужен не покупателю, а тому, кто показывает
   страницу на встрече. В режиме презентации скрывается (см. .is-presenting). */
.ind-present {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
	padding: 0; background: none; border: 0; cursor: pointer;
	font: inherit; font-size: 14px; font-weight: 700; color: var(--brand);
}
.ind-present svg { width: 16px; height: 16px; }
.ind-present:hover { color: var(--brand-dark); text-decoration: underline; }
.ind-present:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* Связка «как сейчас → как в Apartex». Стрелка между колонками. */
.contrast { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; }
.contrast__side { margin: 0; min-width: 0; }
.contrast__side figcaption { margin-top: 16px; text-align: center; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.contrast__tag { display: block; margin-bottom: 5px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contrast__tag--bad { color: #e2453d; }
.contrast__tag--good { color: #0f9d58; }
.contrast__arrow { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--brand); }
.contrast__arrow svg { width: 19px; height: 19px; }
/* Экран графика — плотная таблица «сотрудники × дни», поэтому телефон занимает
   всю свою колонку: при 208px ячейки уже не читались. Детали — по кнопке увеличения. */
.contrast__side--app .iphone { width: 100%; max-width: 240px; margin: 0 auto; }

/* ---------- Бумажный табель ---------- */
.paper { perspective: 900px; }
.paper__sheet {
	position: relative; padding: 16px 14px 22px; border-radius: 3px;
	background: linear-gradient(180deg, #fdfcf7 0%, #f6f2e8 100%);
	box-shadow: 0 18px 34px -14px rgba(63, 52, 30, .38), 0 2px 6px rgba(63, 52, 30, .12);
	transform: rotate(-2.4deg);
	/* Неровный нижний край — лист, вырванный из блока. */
	border: 1px solid #e8e0cd;
	font-family: "Courier New", ui-monospace, monospace;
	color: #3b3629;
	overflow: hidden;
}
.paper__head { text-align: center; line-height: 1.3; margin-bottom: 12px; }
.paper__head b { display: block; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.paper__head span { display: block; margin-top: 2px; font-size: 10.5px; color: #8a8168; }
.paper__grid { width: 100%; border-collapse: collapse; font-size: 11px; }
.paper__grid th, .paper__grid td { border: 1px solid #ccc3ab; padding: 5px 2px; text-align: center; }
.paper__grid th { font-weight: 700; font-size: 10px; color: #6f6650; background: rgba(203, 194, 170, .22); }
.paper__name { text-align: left !important; padding-left: 7px !important; white-space: nowrap; }
.paper__name b { display: block; font-size: 11px; font-weight: 700; }
.paper__name i { display: block; font-style: normal; font-size: 9px; color: #8a8168; }
/* Отметки от руки: лёгкий разнобой наклона и есть ощущение живого почерка. */
.paper__mark span { display: inline-block; font-weight: 700; color: #2f4a7a; }
.paper__mark:nth-child(2n) span { transform: rotate(-6deg); }
.paper__mark:nth-child(3n) span { transform: rotate(5deg) translateY(-1px); }
.paper__mark:nth-child(4n) span { transform: rotate(-2deg) translateY(1px); }
.paper__mark--fix span { color: #c0392b; text-decoration: line-through; }
.paper__scribble {
	position: absolute; right: 8px; bottom: 4px; transform: rotate(-7deg);
	font-size: 12px; font-weight: 700; color: #c0392b; letter-spacing: .02em;
}
/* След от кружки — деталь, которая делает лист узнаваемым. */
.paper__stain {
	position: absolute; left: -14px; top: 44px; width: 74px; height: 74px; border-radius: 50%;
	border: 7px solid rgba(150, 108, 54, .13); background: radial-gradient(circle, rgba(150, 108, 54, .05) 60%, transparent 62%);
	pointer-events: none;
}

/* ---------- Лента шагов ---------- */
.ind-flow { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.ind-flow--4 { grid-template-columns: repeat(4, 1fr); }
/* Соединительная линия за кружками — та же идея, что и в .steps. */
.ind-flow::before { content: ""; position: absolute; top: 29px; left: 12%; right: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.ind-flow__step { position: relative; z-index: 1; text-align: center; }
.ind-flow__num {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 58px; height: 58px; border-radius: 18px; margin-bottom: 14px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--brand);
}
.ind-flow__num svg { width: 26px; height: 26px; }
.ind-flow__num i {
	position: absolute; top: -7px; right: -7px; width: 24px; height: 24px; border-radius: 50%;
	background: var(--brand); color: #fff; font-style: normal; font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}
.ind-flow__step b { display: block; font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.ind-flow__step span { display: block; font-size: 14px; line-height: 1.5; color: var(--muted); max-width: 26ch; margin: 0 auto; }

/* Блок «цена ручного учёта» — про потери, поэтому иконки красные,
   хотя сам компонент .fin-card рассчитан на выгоду. */
.ind-cost .fin-card__ic { background: #ffe9e7; color: #e2453d; }

/* Пояснение под блоком: где цифры — оценка, а не измерение. */
.ind-disclaimer { max-width: 780px; margin: 30px auto 0; text-align: center; font-size: 13.5px; line-height: 1.6; color: var(--faint); }
.ind-disclaimer a { color: var(--brand); }

/* ---------- Калькулятор экономии ---------- */
.ind-calc__break { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 9px; }
.ind-calc__break li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 14px; color: var(--muted); border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.ind-calc__break b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.ind-calc__net { color: #0a7f46; font-weight: 700; }
.calc__controls .calc__emp + .calc__emp { margin-top: 20px; }
.calc__result .calc__label { margin-bottom: 6px; color: var(--muted); font-weight: 600; }

/* ---------- Было / стало ---------- */
.lp-compare__card--was li svg { color: #e2453d; }
.lp-compare__card--was { background: #fffaf9; border-color: #f6dedb; }

/* ---------- Финальный экран ---------- */
.ind-final { background: linear-gradient(180deg, #fff 0%, var(--brand-soft-2) 100%); }
.ind-final__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
/* Тот же экран без формы — финал презентации. Одна колонка по центру полосы,
   но с левым выравниванием текста: чек-лист по центру не читается. */
.ind-final__inner { max-width: 760px; margin: 0 auto; }
.ind-final__grid h2,
.ind-final__inner h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.16; margin: 12px 0 14px; }
.ind-final__lead { font-size: 17px; color: var(--muted); margin: 0 0 22px; }
.ind-final .demo-checklist { margin-bottom: 22px; }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
	.ind-flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; }
	.ind-flow--4 { grid-template-columns: repeat(2, 1fr); }
	.ind-flow::before { display: none; }
}
@media (max-width: 860px) {
	.ind-hero__grid,
	.ind-final__grid { grid-template-columns: 1fr; gap: 34px; }
	.ind-hero { padding-top: 18px; }
	/* На узком экране контраст читается сверху вниз — стрелка разворачивается. */
	.contrast { grid-template-columns: 1fr; justify-items: center; gap: 10px; }
	.contrast__arrow { transform: rotate(90deg); }
	.contrast__side { max-width: 320px; }
	.paper__sheet { transform: rotate(-1.6deg); }
}
@media (max-width: 560px) {
	.ind-flow,
	.ind-flow--4 { grid-template-columns: 1fr; gap: 22px; }
	.ind-flow__step { display: grid; grid-template-columns: 58px 1fr; gap: 0 16px; text-align: left; align-items: center; }
	.ind-flow__num { grid-row: span 2; margin-bottom: 0; }
	.ind-flow__step span { max-width: none; }
	.paper__grid { font-size: 10px; }
	.paper__name i { display: none; }
}

/* =========================================================================
   Отраслевая посадочная: блоки, которых нет в презентации
   (доказательства, отстройка, цена, точки конверсии).
   ========================================================================= */

/* ---------- Врезка с призывом между секциями ---------- */
/* Между первым экраном и подвалом было восемь секций без единой кнопки —
   человек загорался и не мог ничего нажать. */
.cta-inline {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	max-width: 920px; margin: 44px auto 0; padding: 22px 26px;
	background: var(--brand-soft-2); border: 1px solid #dbe7ff; border-radius: var(--radius-xl);
}
.cta-inline p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }
.cta-inline b { color: var(--ink); }
.cta-inline .btn { flex: none; }

/* ---------- Липкая полоса с призывом ---------- */
.sticky-cta[hidden] { display: none; }
.sticky-cta {
	position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
	display: flex; align-items: center; gap: 18px;
	max-width: min(680px, calc(100vw - 24px)); padding: 10px 12px 10px 22px;
	background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
	border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-lg);
}
.sticky-cta span { font-size: 15px; font-weight: 600; color: var(--ink); }
.sticky-cta .btn { flex: none; white-space: nowrap; }

/* ---------- Доказательства ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 34px; }
.proof-card {
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
	padding: 28px 26px; box-shadow: var(--shadow-sm);
}
.proof-card h3 { font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.proof-card p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.6; color: var(--body); }
.proof-card p:last-child { margin-bottom: 0; }
.proof-card__ic {
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px;
	background: var(--brand-soft-2); color: var(--brand);
}
.proof-card__ic svg { width: 22px; height: 22px; }

/* Зрелость продукта: магазины приложений и интеграции — ответ на вопрос
   «а вы вообще серьёзные?» без единой цифры про число клиентов. */
.proof-mature { margin-top: 34px; text-align: center; }
.proof-mature > p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.proof-tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 10px; margin: 0 0 22px; padding: 0; }
.proof-tags li {
	display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px;
	background: #fff; border: 1px solid var(--line); border-radius: 999px;
	font-size: 14px; font-weight: 600; color: var(--body);
}
.proof-tags svg { width: 15px; height: 15px; color: #0f9d58; flex: none; }
.proof-mature .store-badges { justify-content: center; }

/* ---------- Ценовой якорь ---------- */
.price-anchor {
	display: grid; grid-template-columns: auto 1fr; gap: 8px 34px; align-items: center;
	max-width: 860px; margin: 0 auto; padding: 32px 34px;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
}
.price-anchor__num { font-size: clamp(34px, 4.4vw, 52px); font-weight: 800; letter-spacing: -.02em; color: var(--brand); line-height: 1; }
.price-anchor__unit { display: block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.price-anchor__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--body); }
.price-anchor__body p:last-of-type { margin-bottom: 18px; }
.price-anchor__list { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 9px; }
.price-anchor__list li { display: flex; align-items: flex-start; gap: 9px; font-size: 15px; color: var(--body); }
.price-anchor__list svg { width: 17px; height: 17px; color: #0f9d58; flex: none; margin-top: 3px; }

/* Три довода отстройки — в три колонки: в двух третий висит сиротой. */
.honest-grid--3 { grid-template-columns: repeat(3, 1fr); max-width: none; }
@media (max-width: 980px) { .honest-grid--3 { grid-template-columns: 1fr; } }

/* ---------- Что будет после заявки ---------- */
.ind-final__sub { font-size: 17px; font-weight: 700; margin: 26px 0 0; }
.ind-final .ind-hero__trust { margin-top: 22px; }
.next-steps { list-style: none; counter-reset: ns; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.next-steps li { counter-increment: ns; display: flex; align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.55; color: var(--body); }
.next-steps li::before {
	content: counter(ns); flex: none; width: 26px; height: 26px; border-radius: 50%;
	background: var(--brand); color: #fff; font-size: 13px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}

/* ---------- Выбор канала связи в форме ---------- */
.lead-field--channel { border: 0; padding: 0; margin: 0 0 14px; }
.lead-choice { display: flex; flex-wrap: wrap; gap: 8px; }
.lead-choice label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; cursor: pointer; }
.lead-choice input { accent-color: var(--brand); }
.lead-choice label:has(input:checked) { border-color: var(--brand); background: var(--brand-soft-2); color: var(--brand-dark); font-weight: 600; }

/* ---------- Адаптив ---------- */
@media (max-width: 860px) {
	.proof-grid { grid-template-columns: 1fr; }
	.cta-inline { flex-direction: column; align-items: flex-start; gap: 16px; }
	.cta-inline .btn { width: 100%; }
	.price-anchor { grid-template-columns: 1fr; gap: 18px; padding: 26px 22px; text-align: left; }
}
@media (max-width: 560px) {
	.sticky-cta { left: 12px; right: 12px; bottom: 12px; transform: none; max-width: none; padding: 10px 10px 10px 16px; gap: 12px; }
	.sticky-cta span { font-size: 13.5px; line-height: 1.35; }
	.sticky-cta .btn { padding: 10px 16px; font-size: 14px; }
}

/* =========================================================================
   Страница тарифов-матрицы (template-pricing-matrix.php)
   Колонки тарифов сверху, длинная таблица сравнения снизу. Таблица шире
   экрана на мобильном, поэтому прокручивается вбок с закреплённой первой
   колонкой — иначе строку не с чем сопоставить.
   ========================================================================= */

.pm-hero { padding: 34px 0 8px; background: linear-gradient(180deg, var(--brand-soft-2) 0%, #fff 90%); }
.pm-hero__head { max-width: 760px; margin: 0 auto; text-align: center; }
.pm-hero h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 14px 0 16px; }
.pm-hero__lead { font-size: 18px; line-height: 1.6; color: var(--muted); margin: 0 0 10px; }
.pm-hero__note { font-size: 14px; color: var(--faint); margin: 0; }

/* ---------- Переключатель периода ---------- */
.pm-switch { display: inline-flex; gap: 4px; margin: 26px auto 0; padding: 5px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.pm-switch button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 10px 20px; border-radius: 999px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; }
.pm-switch button.is-active { background: var(--brand); color: #fff; }
.pm-switch__save { padding: 1px 9px; border-radius: 999px; background: #e3f7ec; color: #0a7f46; font-size: 12px; font-weight: 700; }
.pm-switch__save--none { background: transparent; color: var(--faint); font-weight: 600; }
.pm-switch button.is-active .pm-switch__save { background: rgba(255, 255, 255, .22); color: #fff; }
.pm-switch-wrap { text-align: center; }

/* ---------- Шапка таблицы = колонки тарифов ---------- */
/* Как у конкурента: название, перечёркнутая старая цена, текущая цена и состав
   по сотрудникам стоят прямо над своей колонкой, а не отдельными карточками.
   Так глаз не переносит цену на таблицу вручную. */
.pm-head { vertical-align: bottom; padding: 30px 18px 22px !important; }
.pm-head__badge { display: inline-block; margin-bottom: 10px; padding: 5px 14px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; }
.pm-head__name { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.pm-head__old { display: block; margin-top: 10px; font-size: 15px; color: var(--brand); text-decoration: line-through; opacity: .55; white-space: nowrap; }
.pm-head__old[hidden] { display: none; }
.pm-head__price { display: block; margin-top: 4px; font-size: 16px; font-weight: 500; color: var(--brand); white-space: nowrap; }
.pm-head__price b { font-size: 27px; font-weight: 800; letter-spacing: -.02em; }
.pm-head__seats { display: block; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); }
.pm-head__seats b { color: var(--ink); font-weight: 700; }
.pm-head .btn { margin-top: 18px; width: 100%; }

/* ---------- Таблица сравнения ---------- */
.pm-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
/* Фиксированная раскладка: без кнопок в шапке колонки начинали делиться по
   содержимому, и цена переносилась на вторую строку. Ширины задаём сами. */
.pm-table { width: 100%; min-width: 760px; border-collapse: collapse; background: #fff; table-layout: fixed; }
.pm-table__feature { width: 40%; }
.pm-head { width: 20%; }
.pm-table th, .pm-table td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--line-soft); }
.pm-table thead th { background: #fff; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 700; color: var(--ink); }
.pm-table__feature { position: sticky; left: 0; z-index: 1; background: #fff; text-align: left !important; }
.pm-table thead .pm-table__feature { z-index: 3; }
.pm-table__feature b { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
.pm-table__feature i { display: block; margin-top: 2px; font-style: normal; font-size: 13px; line-height: 1.45; color: var(--muted); }
.pm-table__group td { background: var(--surface); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; }
.pm-table__group td.pm-table__feature { background: var(--surface); }
.pm-yes { color: #0f9d58; }
.pm-yes svg { width: 20px; height: 20px; }
.pm-no { color: #cbd5e1; font-size: 18px; }
.pm-lim { font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.pm-col--best { background: #f7faff; }
.pm-table thead .pm-col--best { background: #f7faff; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.pm-table tbody tr:last-child .pm-col--best { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

/* ---------- Модули и «скоро» ---------- */
.pm-mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pm-mod { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: 24px 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pm-mod__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.pm-mod__top h3 { font-size: 18px; font-weight: 700; margin: 0; }
.pm-mod__price { font-size: 15px; font-weight: 800; color: var(--brand); white-space: nowrap; }
.pm-mod__for { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.pm-mod p { margin: 0 0 12px; font-size: 15px; line-height: 1.55; color: var(--body); }
.pm-mod ul { list-style: none; margin: auto 0 0; padding: 0; display: grid; gap: 8px; }
.pm-mod li { display: flex; gap: 8px; font-size: 14px; color: var(--muted); }
.pm-mod li svg { width: 15px; height: 15px; color: #0f9d58; flex: none; margin-top: 3px; }

.pm-soon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pm-soon__card { position: relative; background: #fff; border: 1px dashed #c8d5ef; border-radius: var(--radius-xl); padding: 30px 28px; }
.pm-soon__tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: var(--brand-soft-2); color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pm-soon__card h3 { font-size: 21px; font-weight: 800; margin: 14px 0 8px; }
.pm-soon__sub { margin: 0 0 16px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.pm-soon__card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pm-soon__card li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--body); }
.pm-soon__card li svg { width: 17px; height: 17px; color: var(--brand); flex: none; margin-top: 3px; }
.pm-soon__cta { margin: 18px 0 0; font-size: 14px; color: var(--faint); }

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
	.pm-mods { grid-template-columns: repeat(2, 1fr); }
	.pm-head { padding: 24px 12px 18px !important; }
	.pm-head__name { font-size: 20px; }
	.pm-head__price b { font-size: 23px; }
}
@media (max-width: 760px) {
	.pm-mods, .pm-soon { grid-template-columns: 1fr; }
	.pm-switch { flex-direction: column; border-radius: var(--radius-lg); width: 100%; }
	.pm-switch button { border-radius: var(--radius-md); }
	.pm-table__feature { min-width: 190px; }
	.pm-table th, .pm-table td { padding: 12px 12px; }
}
.pm-soon__note { margin: 16px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; line-height: 1.55; color: var(--faint); }
/* Условие, одинаковое для всех тарифов, печатается одной ячейкой на всю ширину. */
.pm-table td.pm-span { background: #fbfcfe; }
.pm-table td.pm-span .pm-lim { font-size: 14px; color: var(--body); }

/* ---------- Правки после разбора страницы тарифов ---------- */
/* Левая верхняя ячейка была дырой 460×300: теперь в ней заголовок таблицы
   и предупреждение, что модули не входят ни в один тариф. */
.pm-table__lead { vertical-align: bottom; padding-bottom: 22px !important; }
.pm-table__title { display: block; font-size: 20px; font-weight: 800; color: var(--ink); }
.pm-table__hint { display: block; margin-top: 8px; max-width: 34ch; font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--muted); }

/* Резюме различий первой строкой: разницу видно до чтения 22 строк. */
.pm-sum th, .pm-sum td { background: #f7f9fd; font-size: 14.5px; line-height: 1.45; }
.pm-sum th { font-weight: 700; color: var(--ink); }
.pm-sum td { color: var(--body); font-weight: 600; }
.pm-sum td.pm-col--best { background: #eef4ff; }

/* «Не входит» было почти невидимым (#cbd5e1) — разницу между тарифами
   не читалось силуэтом. Метка темнее, ячейка залита. */
.pm-no { color: var(--faint); font-size: 18px; }
.pm-table td:has(.pm-no) { background: #f8fafc; }

/* Полоса доказательств: на странице не было ни клиента, ни срока на рынке. */
.pm-proof-sec { padding-top: 0; }
.pm-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1000px; margin: 0 auto; }
.pm-proof__item { padding: 24px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.pm-proof__item b { display: block; font-size: 20px; font-weight: 800; color: var(--brand); margin-bottom: 8px; }
.pm-proof__item span { display: block; font-size: 14.5px; line-height: 1.55; color: var(--body); }

/* Терминалы: список вместо строки через точки. */
.pm-terminals { max-width: 860px; margin: 30px auto 0; padding: 26px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: var(--shadow-sm); }
.pm-terminals h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.pm-terminals p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--body); }
.pm-terminals ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.pm-terminals li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.pm-terminals li svg { width: 16px; height: 16px; color: #0f9d58; flex: none; margin-top: 3px; }

@media (max-width: 860px) {
	.pm-proof { grid-template-columns: 1fr; }
}
