/* =========================================================
   Тамплиер Диджитал — страницы кейсов /keysy/.
   Подключается поверх landing.css и service.css: первый экран,
   цифры, призыв и сетка услуг берутся оттуда.
   ========================================================= */

/* --------------------------------------------------------
   Первый экран: текст + паспорт проекта
   -------------------------------------------------------- */
.lv2-cs-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.lv2-cs-passport {
	padding: 26px 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: var(--shadow);
	backdrop-filter: blur(10px);
}
.lv2-cs-passport__label {
	display: block;
	margin-bottom: 14px;
	color: var(--teal);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.lv2-cs-passport dl { margin: 0; }
.lv2-cs-passport dl > div {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 12px;
	padding: 11px 0;
	border-top: 1px solid var(--line);
	font-size: 14px;
	line-height: 1.45;
}
.lv2-cs-passport dt { color: var(--muted-2); }
.lv2-cs-passport dd { margin: 0; color: var(--ink); }

.lv2-cs-passport__metric {
	display: flex;
	align-items: baseline;
	gap: 12px;
	margin-top: 14px;
	padding: 16px 18px;
	border-radius: var(--radius-sm);
	background: rgba(184, 255, 98, .1);
}
.lv2-cs-passport__metric strong {
	color: var(--lime-bright);
	font-size: 34px;
	line-height: 1;
}
.lv2-cs-passport__metric span { color: var(--body); font-size: 14px; line-height: 1.35; }

/* --------------------------------------------------------
   Решение: пять карточек в ряд + инструменты
   -------------------------------------------------------- */
.lv2-inc__grid.lv2-cs-solution { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

.lv2-cs-stack {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 26px;
}
.lv2-cs-stack__label { color: var(--muted-2); font-size: 13px; }
.lv2-cs-stack ul {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lv2-cs-stack li {
	padding: 7px 14px;
	border: 1px solid var(--accent-line);
	border-radius: 999px;
	color: var(--teal-bright);
	font-size: 13px;
}

/* --------------------------------------------------------
   Ход проекта: горизонтальная лента этапов
   -------------------------------------------------------- */
.lv2-cs-timeline {
	position: relative;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lv2-cs-timeline li {
	position: relative;
	padding: 24px 22px 0;
	border-top: 2px solid var(--line-2);
}
.lv2-cs-timeline li::before {
	content: "";
	position: absolute;
	top: -7px;
	left: 22px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 0 5px rgba(86, 211, 234, .18);
}
.lv2-cs-timeline__num {
	display: block;
	margin-bottom: 10px;
	color: var(--teal);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
}
.lv2-cs-timeline h3 { font-size: 17px; line-height: 1.35; }
.lv2-cs-timeline__term {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	color: var(--lime-bright);
	font-size: 13px;
}
.lv2-cs-timeline__term svg { width: 14px; height: 14px; }
.lv2-cs-timeline p {
	margin-top: 8px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

/* --------------------------------------------------------
   Было / стало
   -------------------------------------------------------- */
.lv2-cs-ba {
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.lv2-cs-ba__head,
.lv2-cs-ba__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
}
.lv2-cs-ba__head span {
	padding: 16px 26px;
	color: var(--muted-2);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.lv2-cs-ba__head span + span { color: var(--lime-bright); background: rgba(184, 255, 98, .06); }
.lv2-cs-ba__row { border-top: 1px solid var(--line); }
.lv2-cs-ba__row span {
	display: flex;
	gap: 12px;
	padding: 18px 26px;
	font-size: 15px;
	line-height: 1.5;
}
.lv2-cs-ba__row svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.lv2-cs-ba__before { color: var(--muted); }
.lv2-cs-ba__before svg { color: var(--muted-2); }
.lv2-cs-ba__after { color: var(--ink); background: rgba(184, 255, 98, .06); }
.lv2-cs-ba__after svg { color: var(--lime-bright); }

/* --------------------------------------------------------
   Скриншоты
   -------------------------------------------------------- */
.lv2-cs-gallery__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 18px;
}
.lv2-cs-gallery figure { margin: 0; }
.lv2-cs-gallery img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
}
.lv2-cs-gallery figcaption { margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.lv2-cs-gallery.is-wide { grid-column: 1 / -1; }
.lv2-cs-gallery a { display: block; cursor: zoom-in; }

/* Просмотр скриншота во весь экран */
.lv2-cs-lightbox-open { overflow: hidden; }
.lv2-cs-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 56px 72px;
	background: rgba(4, 22, 28, .92);
	backdrop-filter: blur(6px);
	opacity: 0;
	transition: opacity .25s var(--ease);
}
.lv2-cs-lightbox[hidden] { display: none; }
.lv2-cs-lightbox.is-open { opacity: 1; }
.lv2-cs-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	max-height: 100%;
	margin: 0;
}
.lv2-cs-lightbox__figure img {
	display: block;
	max-width: 100%;
	max-height: calc(100vh - 160px);
	border-radius: var(--radius-sm);
	background: #fff;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .5);
	object-fit: contain;
}
.lv2-cs-lightbox__figure figcaption { max-width: 760px; color: var(--body); font-size: 14px; line-height: 1.5; text-align: center; }
.lv2-cs-lightbox__close,
.lv2-cs-lightbox__nav {
	position: absolute;
	display: grid;
	place-items: center;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	background: rgba(255, 255, 255, .06);
	color: var(--ink);
	font: inherit;
	line-height: 1;
	cursor: pointer;
	transition: background .2s var(--ease), border-color .2s var(--ease);
}
.lv2-cs-lightbox__close:hover,
.lv2-cs-lightbox__nav:hover { border-color: var(--accent-line); background: rgba(255, 255, 255, .12); }
.lv2-cs-lightbox__close:focus-visible,
.lv2-cs-lightbox__nav:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.lv2-cs-lightbox__close { top: 14px; right: 14px; width: 44px; height: 44px; font-size: 28px; }
.lv2-cs-lightbox__nav { top: 50%; width: 48px; height: 48px; margin-top: -24px; font-size: 32px; }
.lv2-cs-lightbox__nav.is-prev { left: 14px; }
.lv2-cs-lightbox__nav.is-next { right: 14px; }
.lv2-cs-lightbox__count { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); color: var(--muted); font-size: 13px; }
.lv2-cs-lightbox.is-single .lv2-cs-lightbox__nav,
.lv2-cs-lightbox.is-single .lv2-cs-lightbox__count { display: none; }

@media (max-width: 640px) {
	.lv2-cs-lightbox { padding: 64px 12px 24px; }
	.lv2-cs-lightbox__nav { top: auto; bottom: 14px; margin-top: 0; width: 44px; height: 44px; }
	.lv2-cs-lightbox__figure img { max-height: calc(100vh - 200px); }
}
.lv2-cs-gallery a:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: var(--radius-sm); }

/* --------------------------------------------------------
   Слово клиенту
   -------------------------------------------------------- */
.lv2-cs-quote__box {
	position: relative;
	max-width: 920px;
	margin: 0 auto;
	padding: clamp(30px, 5vw, 56px);
	border: 1px solid var(--accent-line);
	border-radius: var(--radius);
	background: linear-gradient(135deg, rgba(0, 194, 224, .1), rgba(255, 255, 255, .03));
}
.lv2-cs-quote__mark {
	display: inline-flex;
	width: 46px;
	height: 46px;
	margin-bottom: 18px;
	color: var(--teal);
}
.lv2-cs-quote__mark svg { width: 100%; height: 100%; }
.lv2-cs-quote blockquote { margin: 0; }
.lv2-cs-quote blockquote p {
	color: var(--ink);
	font-size: clamp(17px, 1.9vw, 22px);
	line-height: 1.55;
}
.lv2-cs-quote figcaption {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-top: 24px;
	font-size: 14px;
}
.lv2-cs-quote figcaption strong { color: var(--ink); font-weight: 600; }
.lv2-cs-quote figcaption span { color: var(--muted); }

/* --------------------------------------------------------
   Карточки кейсов (каталог и «Другие внедрения»)
   -------------------------------------------------------- */
/* Каталог: фильтр по направлениям */
.lv2-cs-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 26px;
}
.lv2-cs-filter button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 16px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: transparent;
	color: var(--body);
	font: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.lv2-cs-filter button b { color: var(--muted-2); font-size: 12px; font-weight: 600; }
.lv2-cs-filter button:hover { border-color: var(--accent-line); color: var(--ink); }
.lv2-cs-filter button.is-active { border-color: var(--lime); background: rgba(184, 255, 98, .12); color: var(--ink); }
.lv2-cs-filter button.is-active b { color: var(--lime-bright); }
.lv2-cs-filter button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.lv2-cs-card[hidden] { display: none; }
.lv2-cs-more__all { margin-top: 26px; text-align: center; }

.lv2-cs-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 18px;
}
.lv2-cs-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 26px 24px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: inherit;
	text-decoration: none;
	transition: border-color .4s var(--ease), transform .4s var(--ease);
}
a.lv2-cs-card:hover { border-color: var(--accent-line); transform: translateY(-3px); }
.lv2-cs-card.is-soon { opacity: .72; }
.lv2-cs-card__top { display: flex; align-items: center; gap: 12px; }
.lv2-cs-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 12px;
	background: rgba(0, 194, 224, .13);
	color: var(--teal);
}
.lv2-cs-card__icon svg { width: 20px; height: 20px; }
.lv2-cs-card__industry { color: var(--muted); font-size: 13px; }
.lv2-cs-card__metric { display: flex; align-items: baseline; gap: 10px; color: var(--body); font-size: 14px; }
.lv2-cs-card__metric strong { color: var(--lime-bright); font-size: 30px; line-height: 1; }
.lv2-cs-card__title { color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.3; }
.lv2-cs-card__text { color: var(--muted); font-size: 14px; line-height: 1.55; }
.lv2-cs-card__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 6px;
	color: var(--teal);
	font-size: 14px;
	font-weight: 600;
}
.lv2-cs-card__go svg { width: 16px; height: 16px; }


/* --------------------------------------------------------
   Проблема → как закрыли
   -------------------------------------------------------- */
.lv2-cs-fixes__list { display: grid; gap: 16px; }
.lv2-cs-fix {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	overflow: hidden;
}
.lv2-cs-fix__pain {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 28px 26px;
	border-right: 1px solid var(--line);
	background: rgba(255, 199, 44, .05);
}
.lv2-cs-fix__num { color: var(--amber); font-size: 30px; font-weight: 600; line-height: 1; }
.lv2-cs-fix__label {
	margin-top: 6px;
	color: var(--muted-2);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.lv2-cs-fix__pain h3 { font-size: 20px; line-height: 1.3; }
.lv2-cs-fix__body { padding: 28px 30px; }
.lv2-cs-fix__body > p { color: var(--body); font-size: 15.5px; line-height: 1.6; }
.lv2-cs-fix__points {
	display: grid;
	gap: 10px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.lv2-cs-fix__points li { display: flex; gap: 10px; color: var(--ink); font-size: 14.5px; line-height: 1.5; }
.lv2-cs-fix__points svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--teal); }
.lv2-cs-fix__metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lv2-cs-fix__metrics span {
	display: inline-flex;
	align-items: baseline;
	gap: 10px;
	padding: 10px 16px;
	border-radius: var(--radius-sm);
	background: rgba(184, 255, 98, .1);
	color: var(--body);
	font-size: 13.5px;
}
.lv2-cs-fix__metrics strong { color: var(--lime-bright); font-size: 22px; line-height: 1; }
.lv2-cs-fix__note {
	display: flex;
	gap: 10px;
	margin-top: 18px;
	padding-top: 16px;
	border-top: 1px dashed var(--line);
	color: var(--muted);
	font-size: 13.5px;
	line-height: 1.55;
}
.lv2-cs-fix__note svg { flex: none; width: 16px; height: 16px; margin-top: 2px; color: var(--teal); }

/* --------------------------------------------------------
   Отдельная часть решения (например, реестр)
   -------------------------------------------------------- */
.lv2-cs-feature__panel {
	display: grid;
	grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
	gap: clamp(26px, 4vw, 60px);
	align-items: center;
	padding: clamp(28px, 4vw, 52px);
	border: 1px solid var(--accent-line);
	border-radius: var(--radius);
	background: linear-gradient(135deg, rgba(0, 194, 224, .09), rgba(255, 255, 255, .02));
}
.lv2-cs-feature .lv2-head { margin-bottom: 0; }
.lv2-cs-feature__list { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.lv2-cs-feature__list li {
	display: flex;
	gap: 16px;
	padding: 18px 20px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: rgba(10, 58, 69, .5);
}
.lv2-cs-feature__list .lv2-inc__icon { flex: none; }
.lv2-cs-feature__list h3 { font-size: 16.5px; line-height: 1.35; }
.lv2-cs-feature__list p { margin-top: 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }


/* --------------------------------------------------------
   Макет задания на первом экране
   -------------------------------------------------------- */
.lv2-cs-hero__grid:has(.lv2-cs-mock) { grid-template-columns: minmax(0, 1fr) 430px; align-items: center; }

.lv2-cs-mock { position: relative; margin: 0; }
.lv2-cs-mock::before {
	content: "";
	position: absolute;
	inset: 12% -8% -6%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(184, 255, 98, .16), transparent 70%);
	pointer-events: none;
}
.lv2-cs-mock__window,
.lv2-cs-table {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--line-2);
	border-radius: var(--radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
	box-shadow: var(--shadow-lg);
	backdrop-filter: blur(14px);
}
.lv2-cs-mock__window { transform: rotate(-1.2deg); }
.lv2-cs-mock__bar {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-bottom: 1px solid var(--line);
	background: rgba(0, 0, 0, .12);
}
.lv2-cs-mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.lv2-cs-mock__bar span { margin-left: 8px; color: var(--muted-2); font-size: 12px; }
.lv2-cs-mock__body { display: flex; flex-direction: column; gap: 12px; padding: 20px 22px 22px; }
.lv2-cs-mock__meta { color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.lv2-cs-mock__title { color: var(--ink); font-size: 18px; line-height: 1.3; }
.lv2-cs-mock__file {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	padding: 8px 12px;
	border: 1px solid var(--line);
	border-radius: 10px;
	color: var(--body);
	font-size: 13px;
}
.lv2-cs-mock__file svg { width: 16px; height: 16px; color: var(--teal); }
.lv2-cs-mock__people { display: grid; gap: 2px; margin: 4px 0 0; padding: 0; list-style: none; }
.lv2-cs-mock__people li {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 9px 0;
	border-top: 1px solid var(--line);
}
.lv2-cs-mock__people b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.lv2-cs-mock__people small { display: block; color: var(--muted); font-size: 12.5px; }
.lv2-cs-mock__dot {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
}
.lv2-cs-mock__dot svg { width: 15px; height: 15px; }
.lv2-cs-mock__people .is-done .lv2-cs-mock__dot { background: rgba(184, 255, 98, .16); color: var(--lime-bright); }
.lv2-cs-mock__people .is-wait .lv2-cs-mock__dot {
	background: rgba(255, 199, 44, .16);
	color: var(--amber);
	animation: lv2-cs-pulse 2.2s var(--ease) infinite;
}
.lv2-cs-mock__comment {
	padding: 11px 14px;
	border: 1px dashed var(--line-2);
	border-radius: 10px;
	color: var(--muted-2);
	font-size: 13px;
}
.lv2-cs-mock__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lv2-cs-mock__actions span {
	padding: 11px;
	border-radius: 999px;
	font-size: 13.5px;
	font-weight: 600;
	text-align: center;
}
.lv2-cs-mock__actions .is-yes { background: var(--lime); color: #0a3a45; }
.lv2-cs-mock__actions .is-no { border: 1px solid var(--line-2); color: var(--body); }
.lv2-cs-mock figcaption,
.lv2-cs-table figcaption { margin-top: 14px; color: var(--muted-2); font-size: 12.5px; text-align: center; }

/* Участники «отмечаются» по очереди, когда макет появился на экране. */
.lv2-cs-mock .lv2-cs-mock__people li { opacity: 0; transform: translateX(10px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(.35s + var(--i) * .28s); }
.lv2-cs-mock.is-in .lv2-cs-mock__people li { opacity: 1; transform: none; }

@keyframes lv2-cs-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 199, 44, .45); }
	50% { box-shadow: 0 0 0 8px rgba(255, 199, 44, 0); }
}

/* Паспорт проекта строкой под первым экраном */
.lv2-cs-strip {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin: clamp(34px, 4vw, 52px) 0 0;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
}
.lv2-cs-strip > div { padding: 16px 22px; }
.lv2-cs-strip > div + div { border-left: 1px solid var(--line); }
.lv2-cs-strip dt { color: var(--muted-2); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.lv2-cs-strip dd { margin: 4px 0 0; color: var(--ink); font-size: 15px; font-weight: 600; }

/* --------------------------------------------------------
   Схема маршрута
   -------------------------------------------------------- */
.lv2-cs-flow__track {
	position: relative;
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 34px;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.lv2-cs-flow__stage { position: relative; display: grid; gap: 12px; }

/* Стрелка к следующему этапу и бегущая по ней точка */
.lv2-cs-flow__stage:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -30px;
	width: 26px;
	height: 2px;
	background: linear-gradient(90deg, var(--line-2), var(--teal));
}
.lv2-cs-flow__stage:not(:last-child)::before {
	content: "";
	position: absolute;
	top: calc(50% - 3px);
	right: -30px;
	z-index: 1;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal-bright);
	box-shadow: 0 0 10px var(--teal);
	opacity: 0;
}
.lv2-cs-flow__track.is-in .lv2-cs-flow__stage:not(:last-child)::before {
	animation: lv2-cs-run 3.2s linear infinite;
	animation-delay: calc(var(--i) * .64s);
}
@keyframes lv2-cs-run {
	0% { opacity: 0; transform: translateX(-4px); }
	4% { opacity: 1; }
	16% { opacity: 1; transform: translateX(22px); }
	20%, 100% { opacity: 0; transform: translateX(22px); }
}

.lv2-cs-flow__node {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 20px 18px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	opacity: 0;
	transform: translateY(14px);
	transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .3s var(--ease);
	transition-delay: calc(var(--i) * .14s);
}
.lv2-cs-flow__track.is-in .lv2-cs-flow__node { opacity: 1; transform: none; }
.lv2-cs-flow__node:hover { border-color: var(--accent-line); }
.lv2-cs-flow__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 4px;
	border-radius: 11px;
	background: rgba(0, 194, 224, .13);
	color: var(--teal);
}
.lv2-cs-flow__icon svg { width: 19px; height: 19px; }
.lv2-cs-flow__node b { color: var(--ink); font-size: 15px; font-weight: 600; }
.lv2-cs-flow__node small { color: var(--muted); font-size: 13px; line-height: 1.45; }

.lv2-cs-flow__stage.is-parallel {
	padding: 30px 10px 10px;
	border: 1px dashed var(--accent-line);
	border-radius: calc(var(--radius-sm) + 6px);
}
.lv2-cs-flow__tag {
	position: absolute;
	top: -11px;
	left: 50%;
	transform: translateX(-50%);
	padding: 3px 12px;
	border-radius: 999px;
	background: #0a3a45;
	border: 1px solid var(--accent-line);
	color: var(--teal);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .05em;
	text-transform: uppercase;
	white-space: nowrap;
}
.lv2-cs-flow__stage.is-accent .lv2-cs-flow__node {
	border-color: rgba(184, 255, 98, .45);
	background: rgba(184, 255, 98, .08);
}
.lv2-cs-flow__stage.is-accent .lv2-cs-flow__icon { background: rgba(184, 255, 98, .16); color: var(--lime-bright); }

.lv2-cs-flow__loop {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 26px;
	color: var(--muted);
	font-size: 14px;
	text-align: center;
}
.lv2-cs-flow__loop svg { flex: none; width: 18px; height: 18px; color: var(--amber); }

/* --------------------------------------------------------
   Полосы сравнения времени
   -------------------------------------------------------- */
.lv2-cs-bars {
	display: grid;
	gap: 14px;
	margin-bottom: 22px;
	padding: 26px 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.lv2-cs-bars__title { margin-bottom: 4px; color: var(--ink); font-size: 16px; font-weight: 600; }
.lv2-cs-bars__row {
	display: grid;
	grid-template-columns: 340px minmax(0, 1fr) 70px;
	gap: 18px;
	align-items: center;
}
.lv2-cs-bars__label { color: var(--body); font-size: 14px; }
.lv2-cs-bars__label em {
	margin-left: 6px;
	padding: 2px 8px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	color: var(--muted);
	font-size: 11px;
	font-style: normal;
}
.lv2-cs-bars__track { height: 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.lv2-cs-bars__track i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--muted-2);
	transition: width 1.2s var(--ease);
	transition-delay: calc(.2s + var(--i) * .25s);
}
.lv2-cs-bars.is-in .lv2-cs-bars__track i { width: var(--w); }
.lv2-cs-bars__row.is-accent .lv2-cs-bars__track i { background: linear-gradient(90deg, var(--teal), var(--lime)); }
.lv2-cs-bars__row.is-plan .lv2-cs-bars__track i {
	background: repeating-linear-gradient(135deg, rgba(86, 211, 234, .55) 0 8px, rgba(86, 211, 234, .25) 8px 16px);
}
.lv2-cs-bars__value { color: var(--ink); font-size: 18px; font-weight: 600; text-align: right; }
.lv2-cs-bars__row.is-accent .lv2-cs-bars__value { color: var(--lime-bright); }

/* --------------------------------------------------------
   Макет таблицы реестра
   -------------------------------------------------------- */
.lv2-cs-table { margin: 22px 0 0; }
.lv2-cs-table__scroll { overflow-x: auto; }
.lv2-cs-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 14px; }
.lv2-cs-table th {
	padding: 12px 20px;
	color: var(--muted-2);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
	text-align: left;
	text-transform: uppercase;
}
.lv2-cs-table td { padding: 14px 20px; border-top: 1px solid var(--line); color: var(--body); }
.lv2-cs-table td:first-child { color: var(--ink); font-weight: 600; }
.lv2-cs-table tbody tr { transition: background .3s var(--ease); }
.lv2-cs-table tbody tr:hover { background: rgba(255, 255, 255, .04); }
.lv2-cs-table__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 10px;
	border-radius: 999px;
	background: rgba(184, 255, 98, .12);
	color: var(--lime-bright);
	font-size: 12.5px;
	white-space: nowrap;
}
.lv2-cs-table__chip svg { width: 13px; height: 13px; }
.lv2-cs-table figcaption { padding: 0 0 14px; }

@media (prefers-reduced-motion: reduce) {
	.lv2-cs-mock .lv2-cs-mock__people li,
	.lv2-cs-flow__node { opacity: 1 !important; transform: none !important; transition: none !important; }
	.lv2-cs-bars__track i { width: var(--w) !important; transition: none !important; }
	.lv2-cs-flow__stage::before,
	.lv2-cs-mock__people .is-wait .lv2-cs-mock__dot { animation: none !important; }
}


/* --------------------------------------------------------
   Главы: шапка с номером, подзаголовки, отступы
   -------------------------------------------------------- */
.lv2--case [id^="ch-"],
.lv2--case #request { scroll-margin-top: 96px; }

.lv2-cs-sub {
	margin: clamp(34px, 4vw, 52px) 0 18px;
	color: var(--ink);
	font-size: clamp(19px, 2vw, 24px);
	line-height: 1.3;
	text-align: center;
}
.lv2-cs-flow .lv2-cs-sub { margin-top: 0; }

/* Первый экран: цифры-доказательства */
.lv2-cs-proof {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	max-width: 560px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}
.lv2-cs-proof li { display: flex; flex-direction: column; gap: 6px; padding-left: 14px; border-left: 2px solid rgba(184, 255, 98, .45); }
.lv2-cs-proof strong { color: var(--lime-bright); font-size: clamp(26px, 2.6vw, 34px); line-height: 1; }
.lv2-cs-proof span { color: var(--muted); font-size: 13px; line-height: 1.35; }

/* 01. Было и стало: карточки-переключатели */
.lv2-cs-problems__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lv2-cs-problem {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 26px 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color .3s var(--ease), background .3s var(--ease), transform .3s var(--ease);
}
.lv2-cs-problem:hover { border-color: rgba(255, 199, 44, .5); transform: translateY(-2px); }
.lv2-cs-problem:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.lv2-cs-problem__num { color: var(--amber); font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.lv2-cs-problem__title { color: var(--ink); font-size: 19px; font-weight: 600; line-height: 1.3; }
.lv2-cs-problem__text { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.lv2-cs-problem__mark {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	align-self: flex-start;
	margin-top: 8px;
	padding: 6px 14px 6px 6px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	color: var(--body);
	font-size: 13px;
	font-weight: 600;
}
.lv2-cs-problem__mark i {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	color: transparent;
	transition: background .25s var(--ease), color .25s var(--ease);
}
.lv2-cs-problem__mark svg { width: 13px; height: 13px; }
.lv2-cs-problem [data-on] { display: none; }
.lv2-cs-problem[aria-pressed="true"] { border-color: rgba(184, 255, 98, .55); background: rgba(184, 255, 98, .07); }
.lv2-cs-problem[aria-pressed="true"] .lv2-cs-problem__mark { border-color: rgba(184, 255, 98, .5); color: var(--lime-bright); }
.lv2-cs-problem[aria-pressed="true"] .lv2-cs-problem__mark i { border-color: var(--lime); background: var(--lime); color: #0a3a45; }
.lv2-cs-problem[aria-pressed="true"] [data-on] { display: inline; }
.lv2-cs-problem[aria-pressed="true"] [data-off] { display: none; }

.lv2-cs-match {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin-top: 20px;
	padding: 22px 26px;
	border: 1px dashed var(--line-2);
	border-radius: var(--radius);
	transition: border-color .3s var(--ease), background .3s var(--ease);
}
.lv2-cs-match.is-hit { border-style: solid; border-color: rgba(184, 255, 98, .5); background: rgba(184, 255, 98, .07); }
.lv2-cs-match__text { flex: 1 1 360px; color: var(--body); font-size: 16px; line-height: 1.5; }
.lv2-cs-match.is-hit .lv2-cs-match__text { color: var(--ink); }
.lv2-cs-match [hidden] { display: none; }

/* Решения: что отвергли и что выбрали */
.lv2-cs-approach .lv2-cs-timeline { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.lv2-cs-decisions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lv2-cs-decision {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.lv2-cs-decision__label { color: var(--muted-2); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.lv2-cs-decision h4 { margin-bottom: 4px; color: var(--ink); font-size: 18px; line-height: 1.35; }
.lv2-cs-decision p { display: flex; gap: 10px; font-size: 14.5px; line-height: 1.5; }
.lv2-cs-decision p svg { flex: none; width: 17px; height: 17px; margin-top: 2px; }
.lv2-cs-decision__no { color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(255, 255, 255, .25); }
.lv2-cs-decision__no svg { color: #ff8a7a; }
.lv2-cs-decision__yes { color: var(--ink); }
.lv2-cs-decision__yes svg { color: var(--lime-bright); }
.lv2-cs-decision__why {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px dashed var(--line);
	color: var(--teal-bright) !important;
}

/* 02. Решение: отступы между частями главы */
.lv2-cs-solution-ch .lv2-cs-solution,
.lv2-cs-solution-ch .lv2-cs-fixes__list { margin-top: clamp(34px, 4vw, 52px); }
.lv2-cs-solution-ch .lv2-cs-feature { margin-top: clamp(34px, 4vw, 52px); }
.lv2-cs-feature__title { font-size: clamp(24px, 2.8vw, 34px); }
.lv2-cs-feature__list h4 { color: var(--ink); font-size: 16.5px; line-height: 1.35; }
.lv2-cs-solution-ch .lv2-cs-gallery__grid { margin-top: 24px; }

/* 03. Результаты */
.lv2-cs-facts { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); gap: 16px; margin-bottom: 22px; }
.lv2-cs-fact {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 26px 22px;
	border: 1px solid rgba(184, 255, 98, .3);
	border-radius: var(--radius);
	background: linear-gradient(160deg, rgba(184, 255, 98, .09), rgba(255, 255, 255, .02) 65%);
}
.lv2-cs-fact__icon { color: var(--lime-bright); }
.lv2-cs-fact__icon svg { width: 22px; height: 22px; }
.lv2-cs-fact strong { color: var(--lime-bright); font-size: clamp(34px, 3.6vw, 48px); line-height: 1; letter-spacing: -.02em; }
.lv2-cs-fact span { color: var(--body); font-size: 14px; line-height: 1.45; }
.lv2-cs-fact em {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 2px 9px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	color: var(--muted);
	font-size: 11px;
	font-style: normal;
}
.lv2-cs-fact.is-plan { border-color: var(--line); background: var(--surface); }
.lv2-cs-fact.is-plan strong,
.lv2-cs-fact.is-plan .lv2-cs-fact__icon { color: var(--teal-bright); }
.lv2-cs-results .lv2-cs-quote__box { margin-top: clamp(34px, 4vw, 52px); }
.lv2-cs-next__lead { max-width: 680px; margin: -6px auto 22px; color: var(--muted); text-align: center; }
.lv2-cs-next h4 { color: var(--ink); font-size: 17px; line-height: 1.35; }

/* --------------------------------------------------------
   Заявка по кейсу: текст + форма Битрикс24 на светлой карточке
   -------------------------------------------------------- */
.lv2-cs-request__panel {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
	gap: clamp(28px, 4vw, 60px);
	align-items: start;
	overflow: hidden;
	padding: clamp(28px, 4.5vw, 60px);
	border: 1px solid rgba(184, 255, 98, .4);
	border-radius: calc(var(--radius) + 6px);
	background:
		radial-gradient(60% 80% at 0% 0%, rgba(0, 194, 224, .18), transparent 70%),
		radial-gradient(50% 70% at 100% 100%, rgba(184, 255, 98, .12), transparent 70%),
		rgba(255, 255, 255, .03);
	box-shadow: var(--shadow-lg);
}
.lv2-cs-request__title { margin-top: 4px; color: var(--ink); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.02em; }
.lv2-cs-request__lead { margin-top: 16px; color: var(--body); font-size: clamp(15.5px, 1.5vw, 18px); line-height: 1.6; }
.lv2-cs-request__list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.lv2-cs-request__list li { display: flex; align-items: center; gap: 14px; color: var(--ink); font-size: 16px; line-height: 1.45; }
.lv2-cs-request__list b {
	flex: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--lime);
	color: #0a3a45;
	font-size: 14px;
}
.lv2-cs-request__note { display: flex; align-items: center; gap: 10px; margin-top: 24px; color: var(--muted); font-size: 14px; }
.lv2-cs-request__note svg { width: 18px; height: 18px; color: var(--teal); }
.lv2-cs-request__call { margin-top: 10px; color: var(--muted); font-size: 14px; }
.lv2-cs-request__call a { color: var(--teal-bright); font-weight: 600; white-space: nowrap; }

.lv2-cs-request__form {
	--surface: #ffffff;
	--ink: #062430;
	--body: #2f4f5c;
	--muted: #4f6f7c;
	--line: rgba(6, 36, 46, .10);
	padding: 26px 24px 12px;
	border-radius: var(--radius);
	background: #ffffff;
	color: #2f4f5c;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.lv2-cs-request__formtitle { display: block; margin: 0 6px 6px; color: #062430; font-size: 18px; font-weight: 600; }
.lv2-cs-request__form .lv2-b24 { min-height: 360px; }

/* --------------------------------------------------------
   Оглавление по главам (широкий экран)
   -------------------------------------------------------- */
.lv2-cs-rail {
	position: fixed;
	top: 50%;
	left: 18px;
	z-index: 60;
	display: none;
	flex-direction: column;
	gap: 14px;
	transform: translateY(-50%);
	opacity: 0;
	pointer-events: none;
	transition: opacity .4s var(--ease);
}
.lv2-cs-rail.is-shown { opacity: 1; pointer-events: auto; }
.lv2-cs-rail ol { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.lv2-cs-rail a[data-lv2-cs-rail-link] {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 5px 8px;
	border-radius: 999px;
	color: var(--muted-2);
	font-size: 12px;
	text-decoration: none;
	transition: color .25s var(--ease), background .25s var(--ease);
}
.lv2-cs-rail b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	font-size: 11px;
	transition: all .25s var(--ease);
}
.lv2-cs-rail span {
	max-width: 0;
	overflow: hidden;
	white-space: nowrap;
	opacity: 0;
	transition: max-width .35s var(--ease), opacity .25s var(--ease);
}
.lv2-cs-rail:hover span { max-width: 190px; opacity: 1; }
.lv2-cs-rail:hover a[data-lv2-cs-rail-link] { background: rgba(10, 58, 69, .92); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6); }
.lv2-cs-rail a.is-active { color: var(--ink); }
.lv2-cs-rail a.is-active b { border-color: var(--teal); background: var(--teal); color: #0a3a45; }
.lv2-cs-rail a.is-done b { border-color: var(--teal); color: var(--teal); }
.lv2-cs-rail__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-left: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: var(--lime);
	color: #0a3a45;
	font-size: 12.5px;
	font-weight: 600;
	text-decoration: none;
}
.lv2-cs-rail__cta svg { width: 14px; height: 14px; }

@media (min-width: 1400px) {
	.lv2-cs-rail { display: flex; }
}

/* --------------------------------------------------------
   Первый экран: «было» под цифрой, снимок портала вместо макета
   -------------------------------------------------------- */
.lv2-cs-proof small,
.lv2-cs-fact small { color: var(--muted-2); font-size: 12.5px; line-height: 1.35; }
.lv2-cs-fact small { margin-top: -2px; }

.lv2-cs-shot { margin: 0; }
.lv2-cs-shot img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
.lv2-cs-shot figcaption { margin-top: 14px; color: var(--muted-2); font-size: 12.5px; text-align: center; }

/* --------------------------------------------------------
   Коротко о проекте: паспорт строкой + задача / решение / результат
   -------------------------------------------------------- */
.lv2-cs-brief { padding-top: 0; }
.lv2-cs-brief .lv2-cs-strip { gap: 1px; margin-top: 0; overflow: hidden; background: var(--line); }
/* Ячейки на сплошном фоне: при переносе строки линии-разделители не рвутся. */
.lv2-cs-brief .lv2-cs-strip > div { border: 0; background: #0d4250; }

.lv2-cs-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 16px;
}
.lv2-cs-summary__item {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px 24px 26px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: var(--surface);
}
.lv2-cs-summary__item:last-child { border-color: rgba(184, 255, 98, .35); background: rgba(184, 255, 98, .06); }
.lv2-cs-summary__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--teal);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.lv2-cs-summary__item:last-child .lv2-cs-summary__label { color: var(--lime-bright); }
.lv2-cs-summary__label svg { width: 16px; height: 16px; }
.lv2-cs-summary p { color: var(--ink); font-size: 15.5px; line-height: 1.55; }

/* Карточка проблемы: что стало после внедрения */
.lv2-cs-problem__after {
	display: flex;
	gap: 10px;
	margin-top: 4px;
	padding-top: 12px;
	border-top: 1px dashed var(--line);
	color: var(--body);
	font-size: 14.5px;
	line-height: 1.5;
}
.lv2-cs-problem__after svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--lime-bright); }
.lv2-cs-problem__after b { color: var(--lime-bright); font-weight: 600; }

/* Призыв сразу после решения */
.lv2-cs-inline {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
	margin-top: clamp(34px, 4vw, 52px);
	padding: 22px 26px;
	border: 1px solid var(--accent-line);
	border-radius: var(--radius);
	background: linear-gradient(120deg, rgba(86, 211, 234, .1), rgba(255, 255, 255, .02) 70%);
}
.lv2-cs-inline p { flex: 1 1 320px; color: var(--ink); font-size: clamp(16px, 1.6vw, 19px); font-weight: 600; line-height: 1.4; }

/* Результаты: оговорка о точности цифр, «что дальше» со ссылками */
.lv2-cs-results__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
	color: var(--muted-2);
	font-size: 13px;
	text-align: center;
}
.lv2-cs-results__note svg { flex: none; width: 15px; height: 15px; }
.lv2-cs-next .lv2-res__row.is-link { color: inherit; text-decoration: none; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.lv2-cs-next .lv2-res__row.is-link:hover { border-color: var(--accent-line); transform: translateY(-2px); }

/* --------------------------------------------------------
   04/05. Вопросы
   -------------------------------------------------------- */
.lv2-cs-faq__list {
	display: grid;
	gap: 12px;
	max-width: 860px;
	margin: 0 auto;
}
.lv2-cs-faq__item {
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	transition: border-color .3s var(--ease);
}
.lv2-cs-faq__item[open] { border-color: var(--accent-line); }
.lv2-cs-faq__item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 22px;
	color: var(--ink);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.lv2-cs-faq__item summary::-webkit-details-marker { display: none; }
.lv2-cs-faq__item summary span {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line-2);
	border-radius: 50%;
	color: var(--teal);
	transition: transform .3s var(--ease);
}
.lv2-cs-faq__item summary svg { width: 16px; height: 16px; }
.lv2-cs-faq__item[open] summary span { transform: rotate(45deg); }
.lv2-cs-faq__item p {
	padding: 0 22px 22px;
	color: var(--body);
	font-size: 15.5px;
	line-height: 1.6;
}

/* --------------------------------------------------------
   Адаптив
   -------------------------------------------------------- */
@media (max-width: 1024px) {
	.lv2-cs-hero__grid { grid-template-columns: 1fr; }
	.lv2-cs-passport { max-width: 560px; }
	.lv2-cs-feature__panel { grid-template-columns: 1fr; }
	.lv2-cs-request__panel { grid-template-columns: 1fr; }
	.lv2-cs-request__copy,
	.lv2-cs-request__form { width: 100%; max-width: 620px; margin-inline: auto; }
	.lv2-cs-mock { margin-inline: auto; }
	.lv2-cs-flow__node { display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 14px 16px; }
	.lv2-cs-flow__icon { grid-row: span 2; margin: 0; }
	.lv2-cs-flow__node b, .lv2-cs-flow__node small { grid-column: 2; }
	.lv2-cs-facts { grid-template-columns: repeat(2, 1fr); }
	.lv2-cs-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.lv2-cs-summary { grid-template-columns: 1fr; }
	.lv2-cs-fix { grid-template-columns: 1fr; }
	.lv2-cs-fix__pain { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; border-right: 0; border-bottom: 1px solid var(--line); padding: 20px 22px; }
	.lv2-cs-fix__pain h3 { flex-basis: 100%; }
	.lv2-cs-fix__body { padding: 22px; }
	.lv2-cs-hero__grid:has(.lv2-cs-mock) { grid-template-columns: 1fr; }
	.lv2-cs-mock { max-width: 460px; }

	/* Схема встаёт вертикально, стрелки смотрят вниз. */
	.lv2-cs-flow__track { grid-auto-flow: row; grid-template-columns: 1fr; gap: 30px; max-width: 520px; margin-inline: auto; }
	.lv2-cs-flow__stage:not(:last-child)::after { top: auto; bottom: -26px; right: auto; left: 50%; width: 2px; height: 22px; background: linear-gradient(180deg, var(--line-2), var(--teal)); }
	.lv2-cs-flow__stage:not(:last-child)::before { display: none; }
	.lv2-cs-flow__stage.is-parallel { grid-template-columns: 1fr 1fr; }
	.lv2-cs-bars__row { grid-template-columns: 1fr 60px; gap: 8px 14px; }
	.lv2-cs-bars__label { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
	.lv2-cs-ba__head { display: none; }
	.lv2-cs-ba__row { grid-template-columns: 1fr; }
	.lv2-cs-ba__row span { padding: 14px 18px; }
	.lv2-cs-ba__after { border-top: 1px dashed var(--line); }
	.lv2-cs-cards { grid-template-columns: 1fr; }
	.lv2-cs-filter { flex-wrap: nowrap; margin-inline: -16px; padding: 0 16px 4px; overflow-x: auto; scrollbar-width: none; }
	.lv2-cs-filter button { flex: none; }
	.lv2-cs-passport dl > div { grid-template-columns: 76px minmax(0, 1fr); }
	.lv2-cs-mock__window { transform: none; }
	.lv2-cs-strip { grid-template-columns: 1fr; }
	.lv2-cs-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
	.lv2-cs-brief .lv2-cs-strip { grid-template-columns: 1fr 1fr; }
	.lv2-cs-brief .lv2-cs-strip > div { padding: 12px 16px; }
	.lv2-cs-brief .lv2-cs-strip dd { font-size: 14px; }
	/* Нечётная последняя ячейка встаёт на всю строку, без пустой соседки. */
	.lv2-cs-brief .lv2-cs-strip > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
	.lv2-cs-faq__item summary { padding: 18px; font-size: 16px; }
	.lv2-cs-faq__item p { padding: 0 18px 18px; }
	.lv2-cs-inline { padding: 20px; }
	.lv2-cs-inline .lv2-btn { width: 100%; justify-content: center; }
	.lv2-cs-flow__stage.is-parallel { grid-template-columns: 1fr; }
	.lv2-cs-bars { padding: 20px; }
	.lv2-cs-problems__grid,
	.lv2-cs-decisions,
	.lv2-cs-approach .lv2-cs-timeline { grid-template-columns: 1fr; }
	.lv2--case .lv2-crumbs a { display: inline-block; padding: 10px 0; margin-block: -10px; }
	.lv2-cs-facts { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lv2-cs-fact { padding: 18px 16px; }
	.lv2-cs-fact em { top: 12px; right: 12px; }
	.lv2-cs-match .lv2-btn { width: 100%; justify-content: center; }
	.lv2-cs-request__form { padding: 20px 14px 8px; }
	.lv2-cs-proof { gap: 10px; }
	.lv2-cs-proof li { padding-left: 10px; }
	.lv2-cs-proof strong { font-size: 26px; }
	.lv2-cs-proof span { font-size: 12px; }
}
