/* ============================================================
   Prom Digital — SMB / Битрикс24 · дизайн-система (2026–2027)
   Тёмный «ink» + тёплые кремовые поверхности, hairline-сетка,
   крупная типографика, ровные bento-секции.
   Подключается только к шаблонам page-tpl-smb-*.php (inc/enqueue.php).
   Все классы с префиксом pds-, чтобы не пересекаться с main.css.
   ============================================================ */

body.pds-body {
	background: #0b0c15;
}

/* ---------- Токены ---------- */

.pds {
	--pds-ink: #0b0c15;
	--pds-ink-2: #151a2c;
	--pds-ink-soft: #4b5064;
	--pds-ink-mute: #7c8195;
	--pds-cream: #f6f3ee;
	--pds-cream-2: #efeae1;
	--pds-white: #ffffff;
	--pds-line: rgba(11, 12, 21, 0.1);
	--pds-line-strong: rgba(11, 12, 21, 0.18);
	--pds-accent: #ff5e14;
	--pds-accent-soft: #ff8a3d;
	--pds-accent-ink: #cf4000;
	--pds-violet: #7c5cff;
	--pds-cyan: #22c8f5;
	--pds-radius: 22px;
	--pds-radius-lg: 30px;
	--pds-gap: clamp(16px, 1.7vw, 24px);
	/* Вертикальный ритм страницы: одинаковый шаг секций и подблоков везде.
	   Три уровня, больше не заводим: секции → заголовок → блоки → плашки. */
	--pds-section-y: clamp(60px, 6vw, 104px);
	--pds-head-gap: clamp(32px, 3.8vw, 56px);
	--pds-stack: clamp(24px, 2.8vw, 40px);
	--pds-stack-sm: clamp(16px, 1.6vw, 22px);
	/* Внутренний отступ всех карточек, панелей и форм — один на всю систему */
	--pds-card-p: clamp(22px, 1.9vw, 30px);
	/* Шаг между строками внутри карточки (заголовок, текст, список) */
	--pds-card-gap: 12px;
	--pds-shadow-1: 0 2px 6px rgba(11, 12, 21, 0.04), 0 18px 40px -26px rgba(11, 12, 21, 0.3);
	--pds-shadow-2: 0 26px 60px -28px rgba(11, 12, 21, 0.42);
	--pds-ease: cubic-bezier(0.22, 0.7, 0.28, 1);

	position: relative;
	background: var(--pds-cream);
	color: var(--pds-ink);
	font-family: var(--font-primary);
	font-size: 16.5px;
	line-height: 1.65;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

.pds *,
.pds *::before,
.pds *::after {
	box-sizing: border-box;
}

/* Ширина контейнера задаётся один раз — --container-max в main.css (1360 px).
   Шапка, секции и подвал сидят на одной сетке и выровнены по левому/правому краю. */

/* ---------- Типографика ---------- */

.pds h1,
.pds h2,
.pds h3,
.pds h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.08;
	letter-spacing: -0.025em;
	color: inherit;
	margin: 0;
	text-wrap: balance;
}

/* Сброс через :where() — нулевая специфичность. Иначе .pds p (0,1,1) бил
   однотипные правила вида .pds-price__note / .pds-services__note (0,1,0),
   и все отступы абзацев внутри карточек молча обнулялись. */
.pds :where(p) {
	margin: 0;
}

.pds b,
.pds strong {
	font-weight: 600;
}

/* ---------- Секции ---------- */

.pds-section {
	position: relative;
	padding: var(--pds-section-y) 0;
	background: var(--pds-cream);
}

.pds-section--alt {
	background: var(--pds-cream-2);
}

.pds-section--tight {
	padding: calc(var(--pds-section-y) * 0.72) 0;
}

.pds-section--dark {
	background: var(--pds-ink);
	color: #fff;
}

/* Заголовок секции */

.pds-head {
	max-width: 860px;
	margin-bottom: var(--pds-head-gap);
}

.pds-head h2 {
	font-size: clamp(27px, 3.4vw, 44px);
	margin-bottom: 16px;
}

.pds-head p {
	font-size: clamp(15.5px, 1.1vw, 18px);
	line-height: 1.65;
	color: var(--pds-ink-soft);
	max-width: 700px;
}

.pds-section--dark .pds-head p {
	color: rgba(255, 255, 255, 0.72);
}

.pds-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 14px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--pds-accent-ink);
}

.pds-eyebrow::before {
	content: "";
	width: 24px;
	height: 1px;
	background: currentColor;
	opacity: 0.65;
}

.pds-section--dark .pds-eyebrow,
.pds-hero .pds-eyebrow,
.pds-pagehead .pds-eyebrow,
.pds-cta .pds-eyebrow {
	color: #ffb08a;
}

/* ---------- Кнопки ---------- */

.pds-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	margin-bottom: var(--pds-stack-sm);
}

.pds-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-primary);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.3s var(--pds-ease), box-shadow 0.3s var(--pds-ease), background-color 0.3s, border-color 0.3s, color 0.3s;
}

.pds-btn--primary {
	background: linear-gradient(135deg, #ff8a3d 0%, #ff5e14 55%, #ef4a00 100%);
	color: #fff;
	box-shadow: 0 14px 30px -16px rgba(255, 94, 20, 0.95);
}

.pds-btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -16px rgba(255, 94, 20, 1);
}

.pds-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.22);
	color: #fff;
	backdrop-filter: blur(10px);
}

.pds-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
}

.pds-actions--light .pds-btn--ghost {
	background: rgba(255, 255, 255, 0.06);
	border-color: rgba(255, 255, 255, 0.24);
	color: #fff;
}

/* ---------- Скролл-контейнер и хедер ----------
   .page-main прокручивается внутри себя; убираем резерв под скроллбар,
   из-за которого справа появлялась серая полоса, и делаем тонкий ползунок. */

body.pds-body .page-main {
	scrollbar-gutter: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(11, 12, 21, 0.28) transparent;
}

body.pds-body .page-main::-webkit-scrollbar {
	width: 10px;
}

body.pds-body .page-main::-webkit-scrollbar-track {
	background: transparent;
}

body.pds-body .page-main::-webkit-scrollbar-thumb {
	background: rgba(11, 12, 21, 0.26);
	border: 3px solid transparent;
	border-radius: 999px;
	background-clip: content-box;
}

/* Ширина хедера = ширина области контента: считает main.js через
   --scrollbar-width (разница между документом и .page-main).
   Отдельный width: 100% здесь ломал совпадение краёв на 5–8 px. */

/* Хедер рассчитан на 8 пунктов + контакты: компактная сетка */
.pds-body .header-menu {
	gap: 2px;
}

.pds-body .header-menu a {
	padding: 7px 10px;
	font-size: 12.5px;
	white-space: nowrap;
	border-radius: 999px;
	transition: background-color 0.25s, color 0.25s;
}

.pds-body .header-menu a.is-current,
.pds-body .header-menu .current-menu-item > a {
	color: #fff;
	background: rgba(255, 94, 20, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 94, 20, 0.5);
}

/* ---------- Первый экран ---------- */

.pds-hero {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: calc(var(--header-height) + clamp(30px, 4vw, 64px)) 0 var(--pds-section-y);
	background: var(--pds-ink);
	color: #fff;
}

.pds-hero::before {
	content: "";
	position: absolute;
	inset: -25% -12% auto;
	height: 150%;
	z-index: -2;
	background:
		radial-gradient(44% 44% at 78% 4%, rgba(124, 92, 255, 0.45), transparent 62%),
		radial-gradient(38% 42% at 6% 0%, rgba(255, 94, 20, 0.36), transparent 60%),
		radial-gradient(40% 40% at 60% 88%, rgba(34, 200, 245, 0.16), transparent 62%);
	filter: blur(4px);
}

.pds-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 76px 76px;
	-webkit-mask-image: radial-gradient(130% 100% at 50% 0%, #000 26%, transparent 76%);
	mask-image: radial-gradient(130% 100% at 50% 0%, #000 26%, transparent 76%);
}

/*
 * Фото-фон первого экрана (hero-photo.jpg): лежит под градиентами и сеткой,
 * сильно приглушён и размыт — фото даёт глубину, но не мешает читать H1 и кнопки.
 * Без файла элемента в разметке нет (см. hero.php), секция остаётся на градиентах.
 */
.pds-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -3;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 42%;
	filter: blur(14px) saturate(0.75) brightness(0.42);
	opacity: 0.65;
	pointer-events: none;
}

.pds-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
}

.pds-hero__main {
	min-width: 0;
}

.pds-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 8px 16px 8px 12px;
	margin-bottom: var(--pds-stack-sm);
	border: 1px solid rgba(255, 255, 255, 0.16);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(14px);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: 0.01em;
	color: rgba(255, 255, 255, 0.86);
}

.pds-hero__badge::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #4ade80;
	box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
}

.pds-hero h1 {
	font-size: clamp(31px, 4.5vw, 58px);
	line-height: 1.03;
	letter-spacing: -0.035em;
	margin-bottom: clamp(20px, 1.7vw, 26px);
	color: #fff;
}

.pds-hero__lead {
	max-width: 620px;
	margin-bottom: var(--pds-stack);
	font-size: clamp(15.5px, 1.25vw, 18.5px);
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.78);
}

.pds-hero__micro {
	max-width: 560px;
	font-size: 13.5px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.6);
}

.pds-hero__micro b {
	color: rgba(255, 255, 255, 0.9);
}

/* Мокап-изображение */
.pds-hero__media {
	position: relative;
	margin: 0;
	min-width: 0;
}

.pds-hero__media img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 40px 70px rgba(0, 0, 0, 0.5));
}

.pds-hero__caption {
	margin-top: 14px;
	font-size: 12.5px;
	line-height: 1.5;
	text-align: center;
	color: rgba(255, 255, 255, 0.5);
}

/* Стеклянная панель «С чем остаётся компания» */

.pds-hero__panel {
	margin-top: var(--pds-stack);
	padding: var(--pds-card-p);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--pds-radius-lg);
	background: linear-gradient(150deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
	backdrop-filter: blur(14px);
}

.pds-card-panel__title {
	margin-bottom: 16px;
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.66);
}

/* Пять пунктов выстраиваются в один ровный ряд: flex с равным ростом,
   поэтому все колонки одинаковой ширины и правый край не «рвётся»
   (grid с auto-fit давал 4 + 1 — пустую ячейку). */
.pds-checklist {
	display: flex;
	flex-wrap: nowrap;
	gap: 14px 28px;
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-checklist li {
	position: relative;
	flex: 1 1 0;
	min-width: 0;
	padding-left: 32px;
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.82);
}

/* Уже 1366 px пять равных колонок дают строки по одному слову — список идёт
   в столбик, каждый пункт на всю ширину: дыр и «сирот» нет. */
@media (max-width: 1365px) {
	.pds-checklist {
		flex-direction: column;
		gap: 12px;
	}

	.pds-checklist li {
		flex: 0 0 auto;
	}
}

.pds-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: rgba(255, 94, 20, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 120, 60, 0.55);
}

.pds-checklist li::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 7px;
	width: 8px;
	height: 4px;
	border-left: 2px solid #ff9a63;
	border-bottom: 2px solid #ff9a63;
	transform: rotate(-45deg);
}

.pds-card-panel__note {
	margin-top: var(--pds-stack-sm);
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

/* Цифры первого экрана */

.pds-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--pds-gap);
	margin-top: var(--pds-stack);
}

.pds-fact {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.04);
	transition: background-color 0.3s, border-color 0.3s;
}

.pds-fact:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 154, 99, 0.4);
}

.pds-fact__value {
	font-family: var(--font-heading);
	font-size: clamp(23px, 2vw, 28px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1;
	color: #fff;
}

.pds-fact__label {
	font-size: 13px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.62);
}

/* ---------- Хлебные крошки и шапка внутренней страницы ---------- */

.pds-crumbs {
	padding: calc(var(--header-height) + 24px) 0 0;
	background: var(--pds-ink);
	font-size: 13px;
	color: rgba(255, 255, 255, 0.7);
}

.pds-crumbs a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: color 0.2s;
}

.pds-crumbs a:hover {
	color: #fff;
}

.pds-crumbs span {
	margin: 0 4px;
}

.pds-crumbs .breadcrumb_last,
.pds-crumbs [aria-current="page"] {
	color: rgba(255, 255, 255, 0.55);
}

.pds-pagehead {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: clamp(18px, 2vw, 26px) 0 clamp(46px, 5vw, 78px);
	background: var(--pds-ink);
	color: #fff;
}

.pds-pagehead::before {
	content: "";
	position: absolute;
	inset: -40% -10% auto;
	height: 150%;
	z-index: -2;
	background:
		radial-gradient(42% 52% at 82% 0%, rgba(124, 92, 255, 0.4), transparent 64%),
		radial-gradient(38% 46% at 4% 6%, rgba(255, 94, 20, 0.26), transparent 62%);
	filter: blur(4px);
}

.pds-pagehead::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 76px 76px;
	-webkit-mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 72%);
	mask-image: radial-gradient(120% 90% at 50% 0%, #000 20%, transparent 72%);
}

.pds-pagehead h1 {
	max-width: 980px;
	margin-bottom: clamp(16px, 1.8vw, 24px);
	font-size: clamp(29px, 4vw, 54px);
	line-height: 1.04;
	letter-spacing: -0.035em;
	color: #fff;
}

.pds-pagehead__lead {
	max-width: 780px;
	margin-bottom: clamp(22px, 2.4vw, 30px);
	font-size: clamp(15.5px, 1.2vw, 18px);
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.76);
}

.pds-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: clamp(18px, 2vw, 26px);
}

.pds-meta__item {
	padding: 9px 16px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	font-size: 13.5px;
	color: rgba(255, 255, 255, 0.72);
}

.pds-meta__item b {
	color: #fff;
	font-weight: 600;
}

.pds-pagehead .pds-actions,
.pds-pagehead .pds-actions--light {
	margin-bottom: 0;
}

.pds-pagehead .pds-actions--light .pds-btn--ghost {
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.06);
	color: #fff;
}

.pds-pagehead .pds-actions--light .pds-btn--ghost:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.36);
	color: #fff;
}

/* ---------- Сетки и карточки ---------- */

.pds-grid {
	display: grid;
	gap: var(--pds-gap);
	align-items: stretch;
}

.pds-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pds-grid--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pds-grid--4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pds-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
	transition: transform 0.35s var(--pds-ease), box-shadow 0.35s var(--pds-ease), border-color 0.35s;
}

.pds-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient(140deg, rgba(255, 94, 20, 0.07), transparent 46%);
	opacity: 0;
	transition: opacity 0.35s var(--pds-ease);
}

.pds-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 94, 20, 0.34);
	box-shadow: var(--pds-shadow-2);
}

.pds-card:hover::before {
	opacity: 1;
}

.pds-card h3 {
	font-size: clamp(17px, 1.3vw, 19.5px);
	line-height: 1.25;
}

/* Подпись со сроком/условием внизу карточки. */
.pds-card__meta {
	margin-top: auto;
	padding-top: 6px;
	font-size: 12.5px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--pds-ink-mute);
}

.pds-card p {
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--pds-ink-soft);
}

.pds-card .pds-link-more {
	margin-top: auto;
	padding-top: 16px;
}

.pds-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	margin-bottom: 2px;
	border: 1px solid rgba(255, 94, 20, 0.28);
	border-radius: 12px;
	background: rgba(255, 94, 20, 0.1);
	font-family: var(--font-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--pds-accent-ink);
}

.pds-card--pain {
	padding-top: var(--pds-card-p);
}

.pds-card--pain::after {
	content: "";
	position: absolute;
	top: 0;
	left: var(--pds-card-p);
	width: 34px;
	height: 3px;
	border-radius: 0 0 3px 3px;
	background: linear-gradient(90deg, #ff8a3d, #ff5e14);
}

.pds-card--pain h3 {
	color: var(--pds-ink);
}

/* ---------- Преимущества ---------- */

.pds-adv {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(262px, 1fr));
	gap: var(--pds-gap);
}

.pds-adv__item {
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
	transition: transform 0.35s var(--pds-ease), box-shadow 0.35s var(--pds-ease);
}

.pds-adv__item:hover {
	transform: translateY(-4px);
	box-shadow: var(--pds-shadow-2);
}

.pds-adv__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 2px;
	border: 1px solid rgba(255, 94, 20, 0.24);
	border-radius: 14px;
	background: linear-gradient(140deg, rgba(255, 94, 20, 0.14), rgba(124, 92, 255, 0.12));
	color: var(--pds-accent-ink);
}

.pds-adv__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.pds-adv__item h3 {
	font-size: clamp(17px, 1.3vw, 19px);
}

.pds-adv__item p {
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--pds-ink-soft);
}

/* ---------- Функционал Битрикс24 ---------- */

.pds-modules {
	display: grid;
	/* Шесть карточек — ровно 3 × 2: auto-fit давал 4 + 2 с «сиротами» во втором ряду. */
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pds-gap);
}

.pds-module {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
	transition: transform 0.35s var(--pds-ease), box-shadow 0.35s var(--pds-ease), border-color 0.35s var(--pds-ease);
}

.pds-module::after {
	content: "";
	position: absolute;
	inset: auto var(--pds-card-p) auto var(--pds-card-p);
	bottom: 0;
	height: 2px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--pds-accent), var(--pds-violet));
	opacity: 0;
	transition: opacity 0.35s var(--pds-ease);
}

.pds-module:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 94, 20, 0.3);
	box-shadow: var(--pds-shadow-2);
}

.pds-module:hover::after {
	opacity: 1;
}

.pds-module h3,
.pds-module h4 {
	font-size: clamp(16px, 1.2vw, 18px);
	line-height: 1.28;
}

.pds-module p {
	font-size: 14.5px;
	line-height: 1.6;
	color: var(--pds-ink-soft);
}

.pds-modules__note {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	margin-top: var(--pds-stack);
	padding: var(--pds-stack-sm) var(--pds-card-p);
	border: 1px dashed var(--pds-line-strong);
	border-radius: var(--pds-radius);
	background: rgba(255, 255, 255, 0.62);
	font-size: 14.8px;
	line-height: 1.6;
	color: var(--pds-ink-soft);
}

.pds-modules__note a {
	color: var(--pds-accent-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

/* ---------- Функционал: навигация и четыре контура ---------- */

.pds-modnav {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 var(--pds-stack);
}

.pds-modnav a {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 14px;
	border: 1px solid var(--pds-line-strong);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pds-ink);
	text-decoration: none;
	transition: color 0.25s var(--pds-ease), border-color 0.25s var(--pds-ease), background 0.25s var(--pds-ease);
}

.pds-modnav a:hover,
.pds-modnav a:focus-visible {
	border-color: rgba(255, 94, 20, 0.45);
	background: var(--pds-white);
	color: var(--pds-accent-ink);
}

.pds-modset {
	scroll-margin-top: calc(var(--header-height) + 16px);
}

.pds-modset + .pds-modset {
	margin-top: var(--pds-stack);
}

.pds-modset__head {
	display: grid;
	gap: var(--pds-card-gap);
	max-width: 84ch;
	margin-bottom: var(--pds-stack-sm);
}

.pds-modset__head h3 {
	font-size: clamp(20px, 1.65vw, 25px);
	line-height: 1.22;
}

/* Ровно три карточки в контуре: 3 → 1 колонка, чтобы не оставлять «сироту» 2 + 1.
   В одну колонку карточка раскладывается в две внутренние колонки (текст + состав),
   иначе справа остаётся пустое поле. */

.pds-modset .pds-modules {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pds-modset .pds-module p,
.pds-modset .pds-module__list {
	max-width: 64ch;
}

@media (max-width: 1050px) {
	.pds-modset .pds-modules {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-modset .pds-module {
		display: grid;
		grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
		grid-template-areas:
			"title title"
			"text list";
		column-gap: var(--pds-gap);
		row-gap: var(--pds-stack-sm);
		align-items: start;
	}

	.pds-modset .pds-module h4 {
		grid-area: title;
	}

	.pds-modset .pds-module p {
		grid-area: text;
		max-width: none;
	}

	.pds-modset .pds-module__list {
		grid-area: list;
		max-width: none;
	}
}

@media (max-width: 560px) {
	.pds-modset .pds-module {
		display: flex;
		grid-template-areas: none;
	}
}

.pds-modset__head p {
	font-size: 15px;
	line-height: 1.62;
	color: var(--pds-ink-soft);
}

/* Состав карточки: три пункта «что настраиваем» — конкретика вместо «гибкой настройки» */

.pds-module__list {
	display: grid;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-module__list li {
	position: relative;
	padding-left: 18px;
	font-size: 13.5px;
	line-height: 1.5;
	color: var(--pds-ink-soft);
}

.pds-module__list li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 7px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgba(255, 94, 20, 0.55);
}

/* Дополнительные модули контура — чипами, чтобы не растягивать сетку карточек */

.pds-modset__more {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-top: var(--pds-gap);
}

.pds-modset__more-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pds-ink-mute);
}

/* ---------- Самодиагностика: чек-лист + вердикт ---------- */

.pds-check {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
	gap: var(--pds-gap);
	align-items: start;
}

.pds-check__list {
	display: grid;
	gap: var(--pds-card-gap);
	margin: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-cream);
}

.pds-check__list legend {
	padding: 0 8px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--pds-ink-mute);
}

.pds-check__item {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 10px 12px;
	border: 1px solid transparent;
	border-radius: 14px;
	font-size: 15px;
	line-height: 1.45;
	cursor: pointer;
	transition: background 0.18s var(--pds-ease), border-color 0.18s var(--pds-ease);
}

.pds-check__item:hover {
	background: rgba(11, 12, 21, 0.04);
}

.pds-check__item.is-checked {
	border-color: rgba(255, 94, 20, 0.32);
	background: rgba(255, 138, 61, 0.14);
}

.pds-check__item input {
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--pds-accent);
	cursor: pointer;
}

.pds-check__panel {
	padding: var(--pds-card-p);
	border-radius: var(--pds-radius);
	background: var(--pds-ink);
	color: var(--pds-white);
	box-shadow: var(--pds-shadow-2);
}

.pds-check__score {
	display: flex;
	align-items: baseline;
	gap: 8px;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.62);
}

.pds-check__score strong {
	font-size: 34px;
	line-height: 1;
	font-variant-numeric: tabular-nums;
	color: var(--pds-accent-soft);
}

.pds-check__verdict {
	margin-top: var(--pds-stack-sm);
}

.pds-check__verdict h3 {
	margin: 0;
	font-size: 19px;
	line-height: 1.3;
}

.pds-check__verdict p {
	margin-top: var(--pds-card-gap);
	font-size: 14.5px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.72);
}

.pds-check__panel .pds-btn {
	margin-top: var(--pds-stack-sm);
}

.pds-check__note {
	margin-top: var(--pds-stack-sm);
	font-size: 13px;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.64);
}

@media (max-width: 1023px) {
	.pds-check {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 560px) {
	.pds-check__item {
		font-size: 14px;
		padding: 8px 10px;
	}

	.pds-check__score strong {
		font-size: 28px;
	}
}


/* ---------- ИИ-агенты (тёмная секция) ---------- */

.pds-ai {
	position: relative;
	overflow: hidden;
}

.pds-ai::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(58% 70% at 10% 0%, rgba(124, 92, 255, 0.34), transparent 62%),
		radial-gradient(52% 62% at 92% 8%, rgba(255, 94, 20, 0.26), transparent 66%),
		radial-gradient(46% 60% at 62% 100%, rgba(34, 200, 245, 0.2), transparent 70%);
}

.pds-ai .container {
	position: relative;
	z-index: 1;
}

.pds-ai__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pds-gap);
}

.pds-ai__card {
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: var(--pds-radius);
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	transition: transform 0.35s var(--pds-ease), border-color 0.35s var(--pds-ease), background 0.35s var(--pds-ease);
}

.pds-ai__card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 138, 61, 0.42);
	background: rgba(255, 255, 255, 0.09);
}

.pds-ai__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 2px;
	border: 1px solid rgba(255, 138, 61, 0.42);
	border-radius: 14px;
	background: linear-gradient(140deg, rgba(255, 138, 61, 0.22), rgba(124, 92, 255, 0.26));
	color: #ffb37a;
}

.pds-ai__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.pds-ai__card h3 {
	font-size: clamp(17px, 1.3vw, 19px);
	color: #fff;
}

.pds-ai__card p {
	font-size: 14.5px;
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.72);
}

.pds-ai__note {
	margin-top: var(--pds-stack);
	padding: var(--pds-card-p);
	border: 1px solid rgba(255, 138, 61, 0.32);
	border-radius: var(--pds-radius);
	background: rgba(255, 138, 61, 0.1);
}

.pds-ai__note h3 {
	margin-bottom: 6px;
	font-size: clamp(16px, 1.2vw, 18px);
	color: #fff;
}

.pds-ai__note p {
	font-size: 14.5px;
	line-height: 1.62;
	color: rgba(255, 255, 255, 0.74);
}

/* ---------- Этапы ---------- */

.pds-steps {
	display: grid;
	gap: 0;
	border-top: 1px solid var(--pds-line-strong);
}

.pds-step {
	position: relative;
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) auto;
	gap: clamp(14px, 2vw, 28px);
	align-items: start;
	padding: var(--pds-stack-sm) 0;
	border-bottom: 1px solid var(--pds-line);
}

.pds-step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid var(--pds-line-strong);
	border-radius: 14px;
	background: var(--pds-white);
	font-family: var(--font-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--pds-ink);
	transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.pds-step:hover .pds-step__num {
	background: linear-gradient(135deg, #ff8a3d, #ff5e14);
	border-color: transparent;
	color: #fff;
}

.pds-step h3 {
	margin-bottom: 8px;
	font-size: clamp(17.5px, 1.5vw, 21px);
}

.pds-step p {
	max-width: 780px;
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--pds-ink-soft);
}

.pds-step__term {
	justify-self: end;
	padding: 7px 14px;
	border: 1px solid var(--pds-line);
	border-radius: 999px;
	background: var(--pds-white);
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
	color: var(--pds-ink);
}

/* ---------- Цены ---------- */

.pds-prices {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--pds-gap);
	align-items: stretch;
}

/* Три проектных пакета и два блока сопровождения — без пустых колонок. */
.pds-prices--3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pds-prices--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pds-support__grid {
	margin-top: var(--pds-stack);
}

/* Факторы цены: компактные карточки под сеткой пакетов. */
.pds-factors {
	margin-top: var(--pds-stack);
}

.pds-factors h3 {
	margin-bottom: var(--pds-stack-sm);
	font-size: clamp(19px, 1.6vw, 23px);
	line-height: 1.25;
}

.pds-factors__note {
	margin-top: var(--pds-stack);
	margin-bottom: 0;
}

/* Шесть факторов цены идут той же сеткой 3 × 2, что и модули (см. .pds-modules). */

.pds-price {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius-lg);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
	transition: transform 0.35s var(--pds-ease), box-shadow 0.35s var(--pds-ease);
}

.pds-price:hover {
	transform: translateY(-4px);
	box-shadow: var(--pds-shadow-2);
}

.pds-price__flag {
	position: absolute;
	top: 18px;
	right: 18px;
	padding: 5px 12px;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8a3d, #ff5e14);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
}

.pds-price h3 {
	padding-right: 66px;
	margin-bottom: 10px;
	font-size: 16px;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.pds-price__value {
	margin-bottom: 6px;
	font-family: var(--font-heading);
	font-size: clamp(23px, 2.1vw, 29px);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.15;
	color: var(--pds-ink);
}

.pds-price__term {
	margin-bottom: 12px;
	font-size: 12.5px;
	color: var(--pds-ink-mute);
}

.pds-price__note {
	margin-bottom: 16px;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pds-ink-soft);
}

.pds-price__list {
	display: grid;
	gap: 10px;
	margin: 0 0 var(--pds-stack-sm);
	padding: 0;
	list-style: none;
}

.pds-price__list li {
	position: relative;
	padding-left: 22px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--pds-ink-soft);
}

.pds-price__list li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 7px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pds-accent);
	opacity: 0.75;
}

.pds-price .pds-btn {
	width: 100%;
	margin-top: auto;
	padding: 13px 18px;
	font-size: 14.5px;
}

/* Второстепенная кнопка внутри светлой карточки: базовый ghost рассчитан на тёмный фон. */
.pds-price .pds-btn--ghost {
	background: transparent;
	border-color: var(--pds-line-strong);
	color: var(--pds-ink);
}

.pds-price .pds-btn--ghost:hover {
	border-color: rgba(255, 94, 20, 0.45);
	color: var(--pds-accent-ink);
}

.pds-price__meta {
	margin-top: auto;
	padding-top: 6px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--pds-ink-mute);
}

.pds-price--featured {
	border-color: rgba(255, 94, 20, 0.4);
	background: linear-gradient(160deg, #1b2036 0%, #0b0c15 68%);
	color: #fff;
	box-shadow: 0 30px 60px -32px rgba(11, 12, 21, 0.65);
}

.pds-price--featured h3,
.pds-price--featured .pds-price__value {
	color: #fff;
}

.pds-price--featured .pds-price__term,
.pds-price--featured .pds-price__note,
.pds-price--featured .pds-price__list li {
	color: rgba(255, 255, 255, 0.72);
}

.pds-price--featured .pds-price__list li::before {
	background: #ff9a63;
	opacity: 1;
}

/* ---------- Схема «единый контур» ---------- */

.pds-figure {
	margin: var(--pds-stack) 0 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius-lg);
	background:
		radial-gradient(60% 80% at 88% 0%, rgba(124, 92, 255, 0.12), transparent 68%),
		radial-gradient(50% 70% at 0% 100%, rgba(255, 94, 20, 0.12), transparent 66%),
		var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

.pds-figure svg {
	display: block;
	width: 100%;
	height: auto;
}

.pds-figure figcaption {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid var(--pds-line);
	font-size: 13.5px;
	line-height: 1.6;
	color: var(--pds-ink-soft);
}

/* ---------- Изображения, заглушки и двухколоночные раскладки ---------- */

.pds-media {
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius-lg);
	background: var(--pds-cream-2);
	box-shadow: var(--pds-shadow-1);
}

.pds-media img {
	display: block;
	width: 100%;
	height: auto;
}

.pds-media--r43 img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.pds-media--r169 img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.pds-media--r1610 img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.pds-media figcaption {
	padding: 14px var(--pds-card-p);
	border-top: 1px solid var(--pds-line);
	background: var(--pds-white);
	font-size: 13px;
	line-height: 1.55;
	color: var(--pds-ink-mute);
}

/* Центрированная «плашка» под скриншот интерфейса */

.pds-media--shot {
	max-width: 880px;
	margin: var(--pds-stack) auto 0;
}

/* Карточка с картинкой сверху (услуги, кейсы) */

.pds-card--media {
	padding: 0;
	gap: 0;
}

.pds-card__media {
	overflow: hidden;
	background: var(--pds-cream-2);
}

.pds-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	transition: transform 0.5s var(--pds-ease);
}

.pds-card--media:hover .pds-card__media img {
	transform: scale(1.03);
}

.pds-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--pds-card-gap);
	padding: var(--pds-card-p);
}

/* Две колонки: текст + изображение */

.pds-split {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
	gap: clamp(24px, 3.2vw, 52px);
	align-items: start;
}

.pds-split > * {
	min-width: 0;
}

.pds-split + .pds-numbers {
	margin-top: var(--pds-stack);
}

/* Блок «проблемы» с картинкой справа */

.pds-pains {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
	gap: clamp(20px, 2.4vw, 36px);
	align-items: stretch;
}

.pds-pains .pds-grid--4 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pds-pains__media {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pds-pains__media img {
	flex: 1 1 auto;
	min-height: 220px;
	height: 100%;
	aspect-ratio: auto;
	/* contain: колонка тянется по высоте карточек, и заглушка не должна обрезаться */
	object-fit: contain;
}

/* Реальное фото: cover вместо contain, иначе на краях появляются полосы --pds-cream-2 */
.pds-pains__media.pds-pains__media--photo img {
	object-fit: cover;
	object-position: center 45%;
}

.pds-flow__t {
	font-family: var(--font-primary);
	font-size: 13.5px;
	font-weight: 600;
	fill: var(--pds-ink);
}

.pds-flow__s {
	font-family: var(--font-primary);
	font-size: 11.5px;
	fill: var(--pds-ink-mute);
}

.pds-flow__t--light {
	fill: #ffffff;
}

.pds-flow__s--light {
	fill: rgba(255, 255, 255, 0.66);
}

/* ---------- FAQ ---------- */

#pds-faq .container {
	display: grid;
	grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
	gap: clamp(26px, 4vw, 72px);
	align-items: start;
}

#pds-faq .pds-head {
	position: sticky;
	top: calc(var(--header-height) + 24px);
	margin-bottom: 0;
}

.pds-faq {
	display: grid;
	gap: 12px;
	max-width: none;
}

.pds-faq details {
	padding: 0 var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: 16px;
	background: var(--pds-white);
	transition: border-color 0.25s, box-shadow 0.25s;
}

.pds-faq details:hover {
	border-color: rgba(255, 94, 20, 0.3);
}

.pds-faq details[open] {
	border-color: rgba(255, 94, 20, 0.4);
	box-shadow: var(--pds-shadow-1);
}

.pds-faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
	padding: var(--pds-stack-sm) 0;
	font-family: var(--font-heading);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
	cursor: pointer;
	list-style: none;
}

.pds-faq summary::-webkit-details-marker {
	display: none;
}

.pds-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 94, 20, 0.1);
	font-family: var(--font-primary);
	font-size: 17px;
	font-weight: 600;
	line-height: 25px;
	text-align: center;
	color: var(--pds-accent-ink);
	transition: transform 0.25s;
}

.pds-faq details[open] summary::after {
	content: "–";
	transform: rotate(180deg);
}

.pds-faq__answer {
	max-width: 760px;
	padding: 0 0 var(--pds-stack-sm);
	font-size: 15px;
	line-height: 1.7;
	color: var(--pds-ink-soft);
}

/* ---------- Отзывы ---------- */

.pds-reviews {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: var(--pds-gap);
}

.pds-review {
	display: block;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--pds-line);
	border-radius: 18px;
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

/* Кнопка-превью: единственный интерактивный элемент карточки.
   Подпись — обычный текст, цвет при наведении не меняется. */
.pds-review__media {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: zoom-in;
	overflow: hidden;
}

.pds-review__media img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.45s var(--pds-ease);
}

.pds-review__media:hover img,
.pds-review__media:focus-visible img {
	transform: scale(1.03);
}

.pds-review__media:focus-visible {
	outline: 2px solid var(--pds-accent);
	outline-offset: -2px;
}

.pds-review__caption {
	display: block;
	padding: 14px 18px;
	border-top: 1px solid var(--pds-line);
	font-size: 13px;
	font-weight: 600;
	color: var(--pds-ink);
}

/* ---------- Заявка (CTA) ---------- */

.pds-cta {
	position: relative;
	isolation: isolate;
	overflow: clip;
	padding: var(--pds-section-y) 0;
	background: var(--pds-ink);
	color: #fff;
}

.pds-cta::before {
	content: "";
	position: absolute;
	inset: -30% -10% auto;
	height: 160%;
	z-index: -2;
	background:
		radial-gradient(44% 48% at 88% 8%, rgba(124, 92, 255, 0.42), transparent 64%),
		radial-gradient(42% 46% at 4% 92%, rgba(255, 94, 20, 0.32), transparent 62%);
	filter: blur(4px);
}

.pds-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
	background-size: 76px 76px;
	-webkit-mask-image: radial-gradient(120% 100% at 30% 0%, #000 20%, transparent 74%);
	mask-image: radial-gradient(120% 100% at 30% 0%, #000 20%, transparent 74%);
}

.pds-cta__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
	gap: clamp(28px, 4vw, 64px);
	align-items: start;
}

.pds-cta h2 {
	margin-bottom: 16px;
	font-size: clamp(26px, 3.2vw, 42px);
	line-height: 1.06;
	letter-spacing: -0.03em;
	color: #fff;
}

.pds-cta__lead {
	max-width: 560px;
	margin-bottom: 24px;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.76);
}

.pds-cta__contacts {
	display: grid;
	gap: 10px;
	font-size: 14.5px;
	color: rgba(255, 255, 255, 0.66);
}

.pds-cta__contacts a {
	color: #fff;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.24);
}

.pds-cta__contacts a:hover {
	color: #ffb08a;
	border-color: #ff8a3d;
}

/* ---------- Форма ---------- */

.pds-form {
	display: grid;
	gap: 16px;
	padding: var(--pds-card-p);
	border-radius: var(--pds-radius-lg);
	background: var(--pds-white);
	color: var(--pds-ink);
	box-shadow: var(--pds-shadow-2);
}

.pds-form__title {
	font-family: var(--font-heading);
	font-size: 19px;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.pds-form__hint {
	font-size: 13px;
	line-height: 1.55;
	color: var(--pds-ink-mute);
}

.pds-form .form-group {
	display: grid;
	gap: 8px;
	margin: 0;
}

.pds-form .form-label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--pds-ink-soft);
}

.pds-form .required {
	color: var(--pds-accent);
}

.pds-form .form-input,
.pds-form input[type="text"],
.pds-form input[type="tel"],
.pds-form input[type="email"],
.pds-form textarea,
.pds-form select {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid var(--pds-line-strong);
	border-radius: 12px;
	background: #fbfaf8;
	color: var(--pds-ink);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.4;
	transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.pds-form .form-input::placeholder,
.pds-form textarea::placeholder {
	color: #a6a9b8;
}

.pds-form input:focus,
.pds-form textarea:focus,
.pds-form select:focus {
	outline: none;
	border-color: var(--pds-accent);
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 94, 20, 0.13);
}

.pds-form .form-checkboxes {
	display: grid;
	gap: 8px;
	margin: 0;
}

.pds-form .form-checkbox-label {
	display: flex;
	align-items: flex-start;
	gap: 9px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--pds-ink-soft);
}

.pds-form .form-checkbox-label input {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin-top: 1px;
	accent-color: var(--pds-accent);
}

.pds-form .form-checkbox-label a {
	color: var(--pds-accent-ink);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.pds-form .form-consent-error {
	font-size: 12.5px;
	color: #c0392b;
}

.pds-form button[type="submit"] {
	width: 100%;
	padding: 15px 20px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8a3d 0%, #ff5e14 55%, #ef4a00 100%);
	color: #fff;
	font-family: inherit;
	font-size: 15.5px;
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.3s var(--pds-ease), box-shadow 0.3s var(--pds-ease);
	box-shadow: 0 14px 30px -16px rgba(255, 94, 20, 0.95);
}

.pds-form button[type="submit"]:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -16px rgba(255, 94, 20, 1);
}

.pds-form .form-success {
	padding: 26px 8px;
	text-align: center;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--pds-ink);
}

.pds-form .form-error {
	border-color: #d1453b;
	background: #fff6f5;
}

/* ---------- Таблица цен ---------- */

.pds-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	border: 1px solid var(--pds-line);
	border-radius: 18px;
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

.pds-table th,
.pds-table td {
	padding: 16px 20px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--pds-line);
	font-size: 14.5px;
	line-height: 1.55;
}

.pds-table th {
	background: #fbfaf8;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--pds-ink-mute);
}

.pds-table td:last-child,
.pds-table th:last-child {
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	color: var(--pds-ink);
}

.pds-table tr:last-child td {
	border-bottom: 0;
}

.pds-table tbody tr:hover td {
	background: rgba(255, 94, 20, 0.03);
}

.pds-table td span {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	font-weight: 400;
	white-space: normal;
	color: var(--pds-ink-soft);
}

/* ---------- Вспомогательные блоки ---------- */

.pds-note {
	margin-top: var(--pds-stack);
	font-size: 14px;
	line-height: 1.65;
	color: var(--pds-ink-soft);
}

.pds-note a {
	color: var(--pds-accent-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 94, 20, 0.4);
}

.pds-note a:hover {
	color: var(--pds-accent);
	border-color: var(--pds-accent);
}

.pds-link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14.5px;
	font-weight: 600;
	color: var(--pds-accent-ink);
	text-decoration: none;
	transition: gap 0.25s var(--pds-ease), color 0.25s;
}

.pds-link-more:hover {
	gap: 12px;
	color: var(--pds-accent);
}

.pds-list-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 32px;
	max-width: 1100px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-list-cols li {
	position: relative;
	padding-left: 30px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--pds-ink-soft);
}

.pds-list-cols li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(255, 94, 20, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 94, 20, 0.4);
}

.pds-list-cols li::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 8px;
	width: 7px;
	height: 4px;
	border-left: 2px solid var(--pds-accent);
	border-bottom: 2px solid var(--pds-accent);
	transform: rotate(-45deg);
}

.pds-list-cols a {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 94, 20, 0.35);
	transition: color 0.25s, border-color 0.25s;
}

.pds-list-cols a:hover {
	color: var(--pds-accent-ink);
	border-color: var(--pds-accent);
}

/* Компактный список состава внутри карточки направления */

.pds-list-tight {
	display: grid;
	gap: 10px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.pds-list-tight li {
	position: relative;
	padding-left: 22px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--pds-ink-soft);
}

.pds-list-tight li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 7px;
	width: 9px;
	height: 9px;
	border-radius: 3px;
	background: rgba(255, 94, 20, 0.14);
	box-shadow: inset 0 0 0 1px rgba(255, 94, 20, 0.45);
}

/* Пошаговый состав направления: «что происходит внутри работ».
   Счётчик вместо маркеров — шаги читаются как процесс, а не как список фич. */

.pds-flow {
	counter-reset: pds-flow;
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-flow li {
	position: relative;
	counter-increment: pds-flow;
	padding-left: 34px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--pds-ink-soft);
}

.pds-flow li::before {
	content: counter(pds-flow, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 23px;
	height: 23px;
	border-radius: 50%;
	background: rgba(255, 94, 20, 0.12);
	box-shadow: inset 0 0 0 1px rgba(255, 94, 20, 0.38);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	color: var(--pds-ink);
}

.pds-flow__title {
	display: block;
	margin-bottom: 3px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--pds-ink);
}

/* Чипы систем в карточке интеграций: сразу видно, «с чем», а не только «1С» */

.pds-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pds-tags li {
	max-width: 100%;
	padding: 4px 10px;
	border: 1px solid var(--pds-line);
	border-radius: 9px;
	background: var(--pds-cream-2);
	font-size: 12.2px;
	line-height: 1.35;
	color: var(--pds-ink-soft);
	overflow-wrap: anywhere;
}

/* Подвал карточки направления: что остаётся у вас + срок.
   Прижат к низу — карточки в ряду выравниваются по высоте. */

.pds-card__foot {
	display: grid;
	gap: 4px;
	margin-top: auto;
	padding-top: var(--pds-stack-sm);
	border-top: 1px solid var(--pds-line);
}

.pds-card .pds-card__outcome {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pds-ink-soft);
}

.pds-card .pds-card__need {
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--pds-ink-mute);
}

.pds-card .pds-card__need b,
.pds-card__outcome b {
	font-weight: 600;
	color: var(--pds-ink);
}

.pds-card .pds-card__meta {
	margin-top: 0;
	padding-top: 0;
	font-size: 12.5px;
	line-height: 1.5;
	font-weight: 500;
	color: var(--pds-ink-mute);
}

/* Якоря отдельных карточек-направлений (меню и подвал ведут прямо на них) */

.pds-card[id] {
	scroll-margin-top: calc(var(--header-height) + 16px);
}

.pds-services__note {
	margin: var(--pds-stack) 0 0;
	font-size: 15px;
	line-height: 1.65;
	color: var(--pds-ink-soft);
}

.pds-services__note a {
	color: var(--pds-accent-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 94, 20, 0.4);
}

.pds-services__note a:hover {
	color: var(--pds-accent);
	border-color: var(--pds-accent);
}


.pds-prose p {
	max-width: 780px;
	margin-bottom: 16px;
	font-size: clamp(15.5px, 1.1vw, 17.5px);
	line-height: 1.75;
	color: var(--pds-ink-soft);
}

.pds-prose p:last-child {
	margin-bottom: 0;
}

.pds-numbers {
	margin-top: var(--pds-stack);
}

.pds-numbers .pds-card {
	gap: 6px;
}

.pds-numbers .pds-price__value {
	font-size: clamp(26px, 2.6vw, 34px);
}

.pds-subhead {
	margin: var(--pds-stack) 0 14px;
	font-size: clamp(18px, 1.6vw, 22px);
}

.pds-subhead:first-of-type {
	margin-top: 0;
}

.pds-subhead a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 0.2s, border-color 0.2s;
}

.pds-subhead a:hover {
	color: var(--pds-accent-ink);
	border-color: rgba(255, 94, 20, 0.4);
}

.pds-legal {
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--pds-line);
}

.pds-legal p {
	font-size: 13px;
	line-height: 1.7;
	color: var(--pds-ink-mute);
}

/* ---------- Контакты ---------- */

.pds-contacts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: var(--pds-gap);
	max-width: none;
}

.pds-contacts__row {
	display: grid;
	gap: 4px;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

.pds-contacts__label {
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--pds-ink-mute);
}

.pds-contacts__value {
	font-family: var(--font-heading);
	font-size: clamp(16px, 1.3vw, 18.5px);
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--pds-ink);
	overflow-wrap: anywhere;
}

.pds-contacts__value a {
	color: inherit;
	text-decoration: none;
}

.pds-contacts__value a:hover {
	color: var(--pds-accent-ink);
}

/* Старые служебные классы (контакты юрлица) */
.pds-name,
.pds-phone,
.pds-comment {
	font-size: 15px;
	color: var(--pds-ink-soft);
}

.pds-zayavka {
	margin-top: var(--pds-stack-sm);
}

/* ============================================================
   Адаптив
   ============================================================ */

/* Мобильное меню для компактного хедера (8 пунктов не влезают) */
@media (max-width: 1279px) {
	.pds-body .menu-toggle {
		display: flex;
	}

	.pds-body .header-menu {
		position: fixed;
		inset: var(--header-height) 0 auto;
		flex-direction: column;
		gap: 4px;
		padding: 18px clamp(16px, 4vw, 28px) 24px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		background: rgba(11, 12, 21, 0.97);
		backdrop-filter: blur(20px);
		box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
		transform: translateY(-110%);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: transform 0.32s var(--pds-ease), opacity 0.32s var(--pds-ease);
		z-index: 999;
	}

	.pds-body .header-menu.active {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	.pds-body .header-menu li {
		width: 100%;
	}

	.pds-body .header-menu a {
		display: block;
		width: 100%;
		padding: 13px 14px;
		font-size: 15px;
		border-radius: 12px;
	}

	.pds-body .header-email {
		display: none;
	}
}

@media (max-width: 1080px) {
	.pds-grid--4,
	.pds-prices,
	.pds-facts,
	.pds-modules {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pds-hero h1 {
		font-size: clamp(29px, 5vw, 46px);
	}
}

@media (max-width: 1023px) {
	.pds-body .header-phone {
		display: none;
	}

	.pds-split,
	.pds-pains,
	.pds-hero__grid,
	.pds-cta__grid,
	#pds-faq .container {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-pains__media img {
		min-height: 0;
		height: auto;
		aspect-ratio: 16 / 10;
	}

	/* Фото на мобильном — 4:3: из портретного кадра 13:14 при 16:10 срезается
	   почти половина высоты, при 4:3 — четверть */
	.pds-pains__media.pds-pains__media--photo img {
		aspect-ratio: 4 / 3;
	}

	.pds-media--shot {
		max-width: none;
	}

	.pds-hero__media {
		max-width: 560px;
		margin: 0 auto;
	}

	.pds-hero__lead,
	.pds-pagehead__lead {
		max-width: none;
	}

	#pds-faq .pds-head {
		position: static;
		margin-bottom: var(--pds-stack-sm);
	}

	.pds-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pds-ai__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-step {
		grid-template-columns: 56px minmax(0, 1fr);
		grid-template-areas:
			"num body"
			". term";
	}

	.pds-step__num {
		grid-area: num;
	}

	.pds-step > div {
		grid-area: body;
	}

	.pds-step__term {
		grid-area: term;
		justify-self: start;
	}
}

@media (max-width: 767px) {
	.pds-body .header-social {
		display: none;
	}

	.pds-pains .pds-grid--4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-media figcaption {
		padding: 12px 16px;
	}

	.pds {
		font-size: 16px;
	}

	.pds-head {
		margin-bottom: var(--pds-head-gap);
	}

	.pds-facts,
	.pds-prices,
	.pds-modules,
	.pds-grid--2,
	.pds-grid--3,
	.pds-grid--4,
	.pds-list-cols {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-hero {
		padding-bottom: var(--pds-section-y);
	}

	.pds-pagehead h1,
	.pds-hero h1 {
		letter-spacing: -0.03em;
	}

	.pds-actions {
		gap: 10px;
	}

	.pds-actions .pds-btn {
		flex: 1 1 100%;
	}

	.pds-figure {
		padding: 14px;
	}

	.pds-figure svg {
		min-width: 620px;
	}

	.pds-figure {
		overflow-x: auto;
	}

	.pds-review img {
		aspect-ratio: 4 / 3;
	}

	.pds-table {
		display: block;
		overflow-x: auto;
		white-space: nowrap;
	}

	.pds-table td span {
		white-space: normal;
		min-width: 220px;
	}
}

@media (max-width: 560px) {
	body.pds-body .pds .container {
		padding-inline: 16px;
	}

	.pds-card,
	.pds-price,
	.pds-adv__item,
	.pds-fact,
	.pds-hero__panel,
	.pds-figure,
	.pds-form {
		border-radius: 20px;
	}

	.pds-hero__badge {
		font-size: 11.5px;
	}

	.pds-step {
		padding: 18px 0;
	}

	.pds-step__num {
		width: 40px;
		height: 40px;
		border-radius: 12px;
	}
}

/* Уважение к системным настройкам */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.pds *,
	.pds *::before,
	.pds *::after {
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
	}

	.pds-card:hover,
	.pds-price:hover,
	.pds-adv__item:hover,
	.pds-review:hover,
	.pds-btn--primary:hover {
		transform: none;
	}
}

/* ============================================================
   Служебное
   ============================================================ */

.pds-page {
	position: relative;
}

/* Якорные переходы не прячут заголовки под фиксированным хедером */
.pds-section[id],
.pds-cta[id],
.pds-figure[id] {
	scroll-margin-top: calc(var(--header-height) + 16px);
}

.pds-section > .container > .pds-link-more,
.pds-hero > .container > .pds-link-more {
	margin-top: var(--pds-stack);
}

.pds-prose a,
.pds-legal a {
	color: var(--pds-accent-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 94, 20, 0.4);
}

.pds-prose a:hover,
.pds-legal a:hover {
	color: var(--pds-accent);
	border-color: var(--pds-accent);
}

/* Длинные списки цен и таблицы на узких экранах не ломают сетку */
.pds-price__list,
.pds-table td {
	overflow-wrap: anywhere;
}
/* ---------- Сертификаты и компетенции ---------- */

.pds-cert-partner {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	align-items: center;
	gap: var(--pds-stack);
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius-lg);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

/* Скан — кнопка (открывает лайтбокс). Подписи рядом — обычный текст. */
.pds-cert-partner__media {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	border: 0;
	border-radius: 16px;
	background: var(--pds-cream-2);
	cursor: zoom-in;
}

.pds-cert-partner__media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 900 / 636;
	object-fit: cover;
	transition: transform 0.45s var(--pds-ease);
}

.pds-cert-partner__media:hover img,
.pds-cert-partner__media:focus-visible img {
	transform: scale(1.03);
}

.pds-cert-partner__media:focus-visible,
.pds-cert__media:focus-visible {
	outline: 2px solid var(--pds-accent);
	outline-offset: 3px;
}

.pds-cert-partner__body {
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
}

.pds-cert-partner__badge {
	align-self: flex-start;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(255, 94, 20, 0.12);
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--pds-accent-ink);
}

.pds-cert-partner__title {
	font-family: var(--font-heading);
	font-size: clamp(20px, 1.7vw, 26px);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.pds-cert-partner__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--pds-ink-soft);
}

.pds-cert-partner__meta,
.pds-cert__meta {
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--pds-ink-mute);
}

.pds-certs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pds-gap);
	margin-top: var(--pds-stack);
}

.pds-cert {
	display: flex;
	flex-direction: column;
	gap: var(--pds-card-gap);
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

.pds-cert__media {
	display: block;
	width: 100%;
	padding: 0;
	overflow: hidden;
	margin-bottom: var(--pds-stack-sm);
	border: 0;
	border-radius: 14px;
	background: var(--pds-cream-2);
	cursor: zoom-in;
}

.pds-cert__media img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.45s var(--pds-ease);
}

.pds-cert__media:hover img,
.pds-cert__media:focus-visible img {
	transform: scale(1.03);
}

.pds-cert__title {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
}

@media (max-width: 1023px) {
	.pds-cert-partner {
		grid-template-columns: 1fr;
	}

	.pds-certs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 560px) {
	.pds-certs {
		grid-template-columns: 1fr;
	}
}



/* ---------- Лайтбокс документов (сертификаты, отзывы) ----------
   Попап создаётся в assets/js/smb.js и вставляется в body, поэтому
   токены .pds здесь недоступны — значения заданы напрямую. */

/* Пока попап открыт, внешний скролл-контейнер не прокручивается.
   !important нужен: responsive.css задаёт .page-main { overflow-y: auto !important }. */
.page-main.is-pds-locked {
	overflow: hidden !important;
}

.pds-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(16px, 4vw, 56px);
	background: rgba(11, 12, 21, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pds-lightbox.is-open {
	display: flex;
}

.pds-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	max-width: min(100%, 960px);
	max-height: 100%;
	margin: 0;
	animation: pds-lightbox-in 0.28s var(--pds-ease, cubic-bezier(0.22, 0.7, 0.28, 1));
}

.pds-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 180px);
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.pds-lightbox__caption {
	padding: 0 8px;
	font-size: 13.5px;
	line-height: 1.5;
	text-align: center;
	color: rgba(255, 255, 255, 0.78);
}

.pds-lightbox__close {
	position: absolute;
	top: clamp(12px, 2vw, 24px);
	right: clamp(12px, 2vw, 24px);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	font-size: 26px;
	line-height: 1;
	color: #fff;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s;
}

.pds-lightbox__close:hover,
.pds-lightbox__close:focus-visible {
	border-color: rgba(255, 255, 255, 0.64);
	background: rgba(255, 255, 255, 0.2);
}

@keyframes pds-lightbox-in {
	from {
		opacity: 0;
		transform: translateY(10px) scale(0.985);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 767px) {
	.pds-lightbox {
		padding: 58px 14px 22px;
	}

	.pds-lightbox__img {
		max-height: calc(100vh - 150px);
	}

	.pds-lightbox__caption {
		font-size: 12.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pds-lightbox__figure {
		animation: none;
	}

	.pds-lightbox__close,
	.pds-cert__media img,
	.pds-cert-partner__media img,
	.pds-review__media img {
		transition: none;
	}
}

/* ---------- Страница «Разработка приложений» ---------- */

/*
 * Первый экран страницы приложений собран вручную (apps-hero.php): цифры
 * .pds-facts стоят внутри .pds-pagehead, потому что рассчитаны на тёмный фон.
 * Кадра-макета в шапке нет: «окно с воронкой» — приём первого экрана главной,
 * а страница про приложения и интеграции, поэтому шапка текстовая, как у
 * остальных внутренних страниц. Ритм внутри колонки — токенами: бейдж → h1 →
 * лид → чипы → кнопки. У .pds-meta и h1 по умолчанию clamp()-отступы (26 и
 * 24 px), из-за чего шаг между строками шапки гулял на 3–6 px; здесь он
 * выровнен по --pds-stack-sm.
 */
.pds-apps-head__main {
	min-width: 0;
}

.pds-apps-head .pds-meta {
	gap: var(--pds-card-gap);
	margin-bottom: var(--pds-stack-sm);
}

.pds-apps-head h1 {
	margin-bottom: var(--pds-stack-sm);
}

/* Лид на этой странице длиннее обычного: 780 px рвёт строку раньше времени. */
.pds-apps-head .pds-pagehead__lead {
	max-width: 880px;
	margin-bottom: var(--pds-stack);
}

.pds-apps-head .pds-actions {
	margin-bottom: 0;
}

.pds-apps-head .pds-facts {
	margin-top: var(--pds-stack);
}

/* Иконки типов работ: та же «плитка», что у преимуществ, но компактнее. */
.pds-module__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 94, 20, 0.24);
	border-radius: 13px;
	background: linear-gradient(140deg, rgba(255, 94, 20, 0.14), rgba(124, 92, 255, 0.12));
	color: var(--pds-accent-ink);
}

.pds-module__icon svg {
	display: block;
	width: 21px;
	height: 21px;
}

/* Чипы технологий → схема → карточки «что это даёт»: держим единый ритм. */
.pds-tags + .pds-figure {
	margin-top: var(--pds-stack);
}

.pds-figure + .pds-modules {
	margin-top: var(--pds-stack);
}

.pds-ai__note .pds-btn {
	margin-top: var(--pds-stack-sm);
}

/*
 * Цифры Маркетплейса идут сразу за заголовком: .pds-numbers добавляет свой
 * margin-top, а .pds-head уже дал отступ «заголовок → контент», поэтому здесь
 * двойной отступ не нужен.
 */
#pds-apps-marketplace .pds-numbers {
	margin-top: 0;
}

/*
 * Макет карточки каталога слева, требования модерации справа. Карточка собрана
 * кодом, а не картинкой: она показывает, из каких элементов состоит объявление
 * в каталоге, и не изображает чужой скриншот.
 */
.pds-apps-mp {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	gap: var(--pds-gap);
	margin-top: var(--pds-stack);
	align-items: start;
}

.pds-apps-mp__checks {
	display: grid;
	gap: var(--pds-gap);
}

.pds-mpcard {
	display: flex;
	flex-direction: column;
	gap: var(--pds-stack-sm);
	margin: 0;
	padding: var(--pds-card-p);
	border: 1px solid var(--pds-line);
	border-radius: var(--pds-radius-lg);
	background: var(--pds-white);
	box-shadow: var(--pds-shadow-1);
}

.pds-mpcard__top {
	display: flex;
	align-items: center;
	gap: var(--pds-card-gap);
}

.pds-mpcard__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255, 94, 20, 0.24);
	border-radius: 14px;
	background: linear-gradient(140deg, rgba(255, 94, 20, 0.16), rgba(124, 92, 255, 0.14));
	color: var(--pds-accent-ink);
}

.pds-mpcard__icon svg {
	display: block;
	width: 22px;
	height: 22px;
}

.pds-mpcard__ident {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.pds-mpcard__name {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--pds-ink);
}

.pds-mpcard__cat {
	font-size: 12.5px;
	line-height: 1.4;
	color: var(--pds-ink-mute);
}

.pds-mpcard__install {
	margin-left: auto;
	padding: 7px 14px;
	border-radius: 999px;
	background: linear-gradient(120deg, #ff8a3d, #ff5e14);
	color: #ffffff;
	font-size: 12.5px;
	font-weight: 600;
	white-space: nowrap;
}

/* Миниатюры шагов: подложка и «строки» текста, читаемого текста внутри нет. */
.pds-mpcard__shots {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--pds-card-gap);
}

.pds-mpcard__shot {
	position: relative;
	display: block;
	height: 64px;
	overflow: hidden;
	border: 1px solid var(--pds-line);
	border-radius: 12px;
	background: linear-gradient(150deg, var(--pds-cream-2), var(--pds-white));
}

.pds-mpcard__shot::after {
	content: "";
	position: absolute;
	top: 14px;
	left: 12px;
	right: 34%;
	height: 5px;
	border-radius: 3px;
	background: rgba(11, 12, 21, 0.16);
	box-shadow:
		0 14px 0 rgba(11, 12, 21, 0.09),
		0 28px 0 rgba(11, 12, 21, 0.06);
}

/* Три миниатюры — три разных «экрана»: список, форма, блок с акцентом. */
.pds-mpcard__shot:nth-child(2)::after {
	top: 13px;
	right: 12px;
	height: 8px;
	background: rgba(11, 12, 21, 0.13);
	box-shadow:
		0 20px 0 rgba(11, 12, 21, 0.08),
		0 32px 0 rgba(11, 12, 21, 0.055);
}

.pds-mpcard__shot:nth-child(3)::after {
	top: 14px;
	left: 12px;
	right: 46%;
	height: 20px;
	border-radius: 6px;
	background: linear-gradient(120deg, rgba(255, 138, 61, 0.32), rgba(255, 94, 20, 0.2));
	box-shadow: 0 26px 0 rgba(11, 12, 21, 0.08);
}

.pds-mpcard__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--pds-card-gap);
	padding-top: var(--pds-stack-sm);
	border-top: 1px solid var(--pds-line);
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--pds-ink-mute);
}

.pds-mpcard__stars {
	color: #ff8a3d;
	letter-spacing: 0.08em;
}

.pds-mpcard figcaption {
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--pds-ink-mute);
}

#pds-apps-marketplace .pds-note {
	margin-top: var(--pds-stack);
}

@media (max-width: 1080px) {
	.pds-apps-mp {
		grid-template-columns: minmax(0, 1fr);
	}

	.pds-mpcard {
		max-width: 520px;
	}
}

@media (max-width: 560px) {
	.pds-mpcard__top {
		flex-wrap: wrap;
	}

	.pds-mpcard__install {
		margin-left: 0;
	}
}




/* ---------- Кейсы страницы приложений ---------- */

/* Карточка кейса = .pds-card + .pds-case: иконка и тип сверху, затем название
   и лид, подробности — в <details>. «Где работает» прижато к низу. */
.pds-case {
	height: 100%;
}

.pds-case__top {
	display: flex;
	align-items: center;
	gap: var(--pds-card-gap);
	margin-bottom: 2px;
}

.pds-case__tag {
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--pds-ink-mute);
}

.pds-case h3 {
	font-size: 19px;
	line-height: 1.26;
}

.pds-case__lead {
	font-size: 14.5px;
	line-height: 1.62;
	color: var(--pds-ink-soft);
}

/* Кнопка «Что внутри и что это даёт» — открывает модалку с подробностями.
   Стоит подвалом карточки: прижата к низу, чтобы в ряду из трёх карточек
   линия шла на одной высоте. */
.pds-case__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	margin-top: auto;
	padding: var(--pds-stack-sm) 0 0;
	border: 0;
	border-top: 1px solid var(--pds-line);
	background: none;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: -0.01em;
	text-align: left;
	color: var(--pds-accent-ink);
	cursor: pointer;
	transition: color 0.2s;
}

.pds-case__more:hover,
.pds-case__more:focus-visible {
	color: var(--pds-accent);
}

.pds-case__more::after {
	content: "";
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background-color: rgba(255, 94, 20, 0.12);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23cf4000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M12.5 6l6 6-6 6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 13px 13px;
	transition: background-color 0.2s, transform 0.2s var(--pds-ease);
}

.pds-case__more:hover::after,
.pds-case__more:focus-visible::after {
	background-color: rgba(255, 94, 20, 0.2);
	transform: translateX(2px);
}

.pds-case__list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0 0 0 16px;
	list-style: none;
}

.pds-case__list li {
	position: relative;
}

.pds-case__list li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: -13px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--pds-accent);
	opacity: 0.75;
}

.pds-case__impact b,
.pds-case__tech b {
	color: var(--pds-ink);
}

.pds-case__tech {
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--pds-ink-mute);
}

/* «Где работает» показывается в модалке рядом со стеком: текст рендерится
   вне обёртки .pds, поэтому цвет задан литералами. */
.pds-casemodal__body .pds-case__where {
	font-size: 12.5px;
	line-height: 1.55;
	color: #7c8195;
}


/* ---------- Модалка кейса (страница приложений) ----------
   Панель создаётся в assets/js/smb.js и вставляется в body, поэтому токены
   .pds здесь недоступны — значения заданы напрямую. z-index ниже, чем у общей
   модалки заявки (.contact-modal-overlay = 99999): из кейса открывается форма. */

.pds-casemodal {
	position: fixed;
	inset: 0;
	z-index: 99990;
	display: none;
	align-items: center;
	justify-content: center;
	padding: clamp(14px, 4vw, 48px);
	background: rgba(11, 12, 21, 0.88);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.pds-casemodal.is-open {
	display: flex;
}

.pds-casemodal__panel {
	position: relative;
	width: 100%;
	max-width: 680px;
	max-height: calc(100vh - 96px);
	overflow-y: auto;
	padding: clamp(24px, 3vw, 40px);
	border-radius: 22px;
	background: #ffffff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
	scrollbar-color: rgba(11, 12, 21, 0.25) transparent;
	animation: pds-casemodal-in 0.28s cubic-bezier(0.22, 0.7, 0.28, 1);
}

.pds-casemodal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(11, 12, 21, 0.12);
	border-radius: 50%;
	background: #f6f3ee;
	font-size: 24px;
	line-height: 1;
	color: #4b5064;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.pds-casemodal__close:hover,
.pds-casemodal__close:focus-visible {
	border-color: rgba(255, 94, 20, 0.45);
	background: #fdece4;
	color: #cf4000;
}

.pds-casemodal__tag {
	display: block;
	margin-bottom: 10px;
	padding-right: 56px;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: #7c8195;
}

.pds-casemodal__title {
	margin: 0 56px 16px 0;
	font-family: var(--font-heading);
	font-size: clamp(21px, 2.4vw, 27px);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.02em;
	color: #0b0c15;
	text-wrap: balance;
}

.pds-casemodal__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 15px;
	line-height: 1.62;
	color: #4b5064;
}

.pds-casemodal__body p {
	margin: 0;
}

.pds-casemodal__body .pds-case__list {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
	padding: 0 0 0 18px;
	list-style: none;
}

.pds-casemodal__body .pds-case__list li {
	position: relative;
}

.pds-casemodal__body .pds-case__list li::before {
	content: "";
	position: absolute;
	top: 9px;
	left: -14px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #ff5e14;
	opacity: 0.75;
}

.pds-casemodal__body b {
	font-weight: 600;
	color: #0b0c15;
}

.pds-casemodal__body .pds-case__tech {
	font-size: 12.5px;
	line-height: 1.55;
	color: #7c8195;
}

.pds-casemodal__foot {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid rgba(11, 12, 21, 0.1);
}

.pds-casemodal__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 26px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, #ff8a3d 0%, #ff5e14 55%, #ef4a00 100%);
	font-family: var(--font-primary);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	color: #ffffff;
	cursor: pointer;
	box-shadow: 0 14px 30px -16px rgba(255, 94, 20, 0.95);
	transition: transform 0.2s, box-shadow 0.2s;
}

.pds-casemodal__cta:hover,
.pds-casemodal__cta:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 20px 40px -16px rgba(255, 94, 20, 1);
}

@keyframes pds-casemodal-in {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: none;
	}
}

@media (max-width: 560px) {
	.pds-casemodal {
		padding: 10px;
	}

	.pds-casemodal__panel {
		max-height: calc(100vh - 40px);
		padding: 24px 18px 22px;
		border-radius: 18px;
	}

	.pds-casemodal__close {
		top: 10px;
		right: 10px;
		width: 38px;
		height: 38px;
		font-size: 21px;
	}

	.pds-casemodal__tag {
		padding-right: 44px;
	}

	.pds-casemodal__title {
		margin-right: 44px;
	}

	.pds-casemodal__cta {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pds-casemodal__panel {
		animation: none;
	}

	.pds-casemodal__cta,
	.pds-case__more::after {
		transition: none;
	}

	.pds-casemodal__cta:hover,
	.pds-casemodal__cta:focus-visible {
		transform: none;
	}
}


/* ============================================================
   Мягкое приглашение к заявке (.pds-nudge)
   Тихое касание в шве между блоками: текст вполголоса + ссылка.
   Специально не кнопка и не плашка — на странице уже есть пунктирные
   заметки (.pds-modules__note), поэтому здесь только акцентная линия.
   ============================================================ */

.pds-nudge {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 10px 12px;
	max-width: 82ch;
	margin-top: var(--pds-stack);
	padding-left: var(--pds-card-gap);
	border-left: 2px solid rgba(255, 94, 20, 0.28);
	font-size: 15px;
	line-height: 1.65;
	color: var(--pds-ink-soft);
}

.pds-nudge a {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	color: var(--pds-accent-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s;
}

.pds-nudge__label {
	text-decoration: underline;
	text-decoration-color: rgba(255, 94, 20, 0.38);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-color 0.2s;
}

.pds-nudge a:hover,
.pds-nudge a:focus-visible {
	color: var(--pds-accent);
}

.pds-nudge a:hover .pds-nudge__label,
.pds-nudge a:focus-visible .pds-nudge__label {
	text-decoration-color: var(--pds-accent);
}

.pds-nudge--plain {
	margin-top: var(--pds-stack-sm);
	padding-left: 0;
	border-left: 0;
}

/* В тёмной секции — те же роли цвета, но светлыми чернилами. */
.pds-section--dark .pds-nudge {
	border-left-color: rgba(255, 138, 61, 0.45);
	color: rgba(255, 255, 255, 0.74);
}

.pds-section--dark .pds-nudge a {
	color: #ffb489;
}

.pds-section--dark .pds-nudge__label {
	text-decoration-color: rgba(255, 138, 61, 0.45);
}

.pds-section--dark .pds-nudge a:hover,
.pds-section--dark .pds-nudge a:focus-visible {
	color: #fff;
}

.pds-section--dark .pds-nudge a:hover .pds-nudge__label,
.pds-section--dark .pds-nudge a:focus-visible .pds-nudge__label {
	text-decoration-color: #fff;
}

@media (max-width: 767px) {
	.pds-nudge {
		gap: 6px 10px;
		font-size: 14.5px;
		line-height: 1.6;
		padding-left: 12px;
	}

	.pds-nudge a {
		white-space: normal;
	}
}
