/* =====================================================================
   SAEG — многостраничная вёрстка.
   Подключается после main.css (стили главной): те же токены, кнопки, теги,
   заголовки, FAQ, процесс, подвал и попап. Здесь — только новые блоки.
   ===================================================================== */

/* ---------- общее ---------- */
.fnav a.l[aria-current] {
	color: var(--char);
}
.fnav a.l[aria-current]::after {
	transform: scaleX(1);
}
.links a[aria-current] {
	color: #fff;
}
.links a[aria-current]::after {
	transform: scaleX(1);
}
.menu-list a[aria-current] {
	opacity: 0.5;
}
.sec-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 30px;
	flex-wrap: wrap;
	margin-bottom: clamp(36px, 5vw, 60px);
}
.sec-head .lede {
	margin-top: 18px;
}
.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	transition: gap 0.4s var(--ease);
}
.link-arrow:hover {
	gap: 14px;
}
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.chips span {
	font-size: 13px;
	padding: 6px 12px;
	border: 1px solid var(--hair);
	border-radius: 2px;
	color: var(--gray);
	background: var(--paper2);
}
.grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}
.grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.paper2 {
	background: var(--paper2);
}

/* заглушка под изображение */
.ph {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
	overflow: hidden;
	background: #18181a;
	color: #fff;
	isolation: isolate;
}
.ph::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 40px 40px;
	-webkit-mask: radial-gradient(80% 80% at 50% 40%, #000, transparent);
	mask: radial-gradient(80% 80% at 50% 40%, #000, transparent);
}
.ph.g {
	background: #dfe2e6;
	color: var(--char);
}
.ph.k {
	background: #0b0b0c;
}
.ph.w {
	background: #fff;
	color: var(--char);
	border: 1px solid var(--hair);
}
.ph.g::before,
.ph.w::before {
	background-image:
		linear-gradient(rgba(10, 10, 12, 0.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(10, 10, 12, 0.06) 1px, transparent 1px);
}
.ph svg {
	width: min(70%, 300px);
	height: auto;
}
.ph > i {
	font-size: clamp(56px, 7vw, 96px);
	opacity: 0.9;
}
.ph .cap {
	position: absolute;
	left: 20px;
	top: 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.5;
}

/* фильтр */
.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 36px;
}
.filters button {
	height: 42px;
	padding: 0 18px;
	border-radius: 2px;
	border: 1px solid var(--hair);
	background: var(--paper2);
	font-size: 15px;
	font-weight: 500;
	cursor: pointer;
	transition:
		background 0.3s,
		color 0.3s,
		border-color 0.3s;
}
.filters button:hover {
	border-color: var(--char);
}
.filters button.on {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
[data-cat].is-hidden {
	display: none !important;
}

/* пагинация */
.pager {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 56px;
}
.pager a,
.pager span {
	min-width: 46px;
	height: 46px;
	padding: 0 14px;
	display: grid;
	place-items: center;
	border: 1px solid var(--hair);
	border-radius: 2px;
	background: var(--paper2);
	font-weight: 600;
	transition:
		background 0.3s,
		color 0.3s;
}
.pager a:hover {
	background: #0b0b0c;
	color: #fff;
}
.pager span[aria-current] {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}

/* ---------- шапка внутренних страниц ---------- */
.sh {
	position: relative;
	overflow: hidden;
	background: #050505;
	color: #fff;
	padding: calc(150px + env(safe-area-inset-top)) 0 clamp(60px, 7vw, 96px);
}
.sh::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 80px 80px;
	-webkit-mask: radial-gradient(70% 70% at 70% 10%, #000, transparent);
	mask: radial-gradient(70% 70% at 70% 10%, #000, transparent);
	pointer-events: none;
}
.sh::after {
	content: "";
	position: absolute;
	right: -10%;
	top: -30%;
	width: 70vw;
	height: 70vw;
	max-width: 900px;
	max-height: 900px;
	background: radial-gradient(closest-side, rgba(255, 255, 255, 0.09), transparent);
	pointer-events: none;
}
.sh .topbar {
	animation: none;
}
.sh .wrap {
	position: relative;
	z-index: 2;
}
.crumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 14px;
	color: #7d7d7d;
	margin-bottom: 34px;
}
.crumbs a {
	transition: color 0.3s;
}
.crumbs a:hover {
	color: #fff;
}
.crumbs [aria-current] {
	color: #d9d9d9;
}
.sh h1 {
	font-size: clamp(44px, 7.4vw, 120px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.98;
	max-width: 13ch;
}
.sh h1.sm {
	font-size: clamp(36px, 5.2vw, 80px);
	max-width: 20ch;
}
.sh .lede {
	color: #a3a3a3;
	max-width: 46ch;
}
.sh .acts {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 40px;
}
.sh .chips span {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.2);
	color: #d9d9d9;
}
.sh .split2 {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: clamp(40px, 6vw, 90px);
	align-items: center;
}
.sh .show {
	border-radius: 24px;
	background: #18181a;
	border: 1px solid rgba(255, 255, 255, 0.1);
	min-height: 380px;
	display: grid;
	place-items: center;
	padding: 30px;
}
.sh .show svg {
	width: min(100%, 380px);
	height: auto;
}

/* строка фактов (кейс, статья) */
.facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: clamp(50px, 7vw, 90px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.facts > div {
	padding: 22px 22px 0 0;
}
.facts > div + div {
	padding-left: 22px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.facts dt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7d7d7d;
	margin-bottom: 10px;
}
.facts dd {
	color: #e6e6e6;
	font-weight: 500;
}
.facts a {
	border-bottom: 1px solid currentColor;
}

/* оглавление направлений (услуги) */
.sx {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	margin-top: clamp(60px, 8vw, 110px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.sx a {
	display: grid;
	gap: 26px;
	padding: 24px 22px 26px 0;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	color: #d9d9d9;
	transition: color 0.3s;
}
.sx a + a {
	padding-left: 22px;
}
.sx a:last-child {
	border-right: 0;
}
.sx a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 1px;
	background: #fff;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.55s var(--ease);
}
.sx a:hover {
	color: #fff;
}
.sx a:hover::before {
	transform: scaleX(1);
	transform-origin: left;
}
.sx .no {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: #7d7d7d;
}
.sx .t {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px;
	font-size: clamp(17px, 1.5vw, 21px);
	font-weight: 500;
	letter-spacing: -0.015em;
	line-height: 1.2;
}
.sx i {
	font-size: 20px;
	flex: none;
	transition: transform 0.45s var(--ease);
}
.sx a:hover i {
	transform: translate(3px, 3px);
}

/* ---------- услуги ---------- */
.svcs {
	padding-bottom: clamp(40px, 6vw, 80px);
}
.svc {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: clamp(40px, 6vw, 90px);
	padding: clamp(60px, 8vw, 110px) 0;
	border-top: 1px solid var(--hair);
	scroll-margin-top: 40px;
}
.svc:first-child {
	border-top: 0;
	padding-top: 0;
}
.svc .side {
	position: sticky;
	top: 110px;
	align-self: start;
}
.svc .no {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--gray2);
}
.svc h2 {
	font-size: clamp(40px, 5vw, 80px);
	font-weight: 400;
	letter-spacing: -0.045em;
	line-height: 0.98;
	margin: 18px 0 22px;
}
.svc .side > p {
	color: var(--gray);
	font-size: clamp(17px, 1.4vw, 20px);
	max-width: 38ch;
}
.svc .chips {
	margin-top: 28px;
}
.svc .chips span {
	font-size: 14px;
	padding: 8px 14px;
}
.svc .side .row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px 28px;
	margin-top: 36px;
}
.svc .body {
	display: grid;
	gap: 16px;
	align-content: start;
}
.svc .show {
	border-radius: 24px;
	min-height: 340px;
	display: grid;
	place-items: center;
	padding: 30px;
	overflow: hidden;
	position: relative;
}
.svc .show svg {
	width: min(100%, 360px);
	height: auto;
}
.svc:nth-child(3n + 1) .show {
	background: #18181a;
	color: #fff;
}
.svc:nth-child(3n + 2) .show {
	background: #0b0b0c;
	color: #fff;
}
.svc:nth-child(3n + 3) .show {
	background: #dfe2e6;
	color: var(--char);
}
.svc .show .lbl {
	position: absolute;
	left: 26px;
	top: 22px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	opacity: 0.5;
}

/* карточки-пояснения */
.card {
	border-radius: 20px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	padding: clamp(24px, 3vw, 36px);
}
.card .k {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gray2);
	margin-bottom: 20px;
}
.card.ink {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
.card.ink .k {
	color: #7d7d7d;
}
.card h3 {
	margin-bottom: 10px;
}
.card > p {
	color: var(--gray);
}
.card.ink > p {
	color: #a3a3a3;
}
.card > i.ico {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 2px;
	background: #eceef1;
	font-size: 26px;
	margin-bottom: 26px;
}
.incl {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px 28px;
}
.incl li {
	display: flex;
	gap: 12px;
	font-weight: 500;
	line-height: 1.4;
}
.incl i {
	font-size: 20px;
	flex: none;
	margin-top: 1px;
}
.duo {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.duo .card p {
	font-size: clamp(19px, 1.6vw, 24px);
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.25;
	color: inherit;
}

/* CTA-плашка */
.ask .box {
	border-radius: 24px;
	background: #dfe2e6;
	padding: clamp(32px, 5vw, 72px);
	display: grid;
	grid-template-columns: 1.2fr auto;
	gap: 40px;
	align-items: end;
}
.ask .h2 {
	max-width: 16ch;
}
.ask .lede {
	margin-top: 18px;
}
.ask.flush {
	padding-top: 0;
}

/* ---------- карточка кейса ---------- */
.ccard {
	display: grid;
	gap: 20px;
	align-content: start;
}
.ccard .ph {
	transition: transform 0.8s var(--ease);
}
.ccard:hover .ph {
	transform: scale(0.985);
}
.ccard .meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: 13px;
	color: var(--gray2);
	font-weight: 600;
	letter-spacing: 0.04em;
}
.ccard h3 {
	font-size: clamp(22px, 1.9vw, 28px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.15;
}
.ccard p {
	color: var(--gray);
}
.ccard .res {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding-top: 16px;
	border-top: 1px solid var(--hair);
}
.ccard .res b {
	font-size: 30px;
	font-weight: 500;
	letter-spacing: -0.03em;
}
.ccard .res span {
	color: var(--gray);
	font-size: 15px;
}
.ccard.big {
	grid-column: span 2;
}
.ccard.big .ph {
	aspect-ratio: 16 / 8.2;
}

/* ---------- отзывы ---------- */
.reviews {
	columns: 3 320px;
	column-gap: 24px;
}
.reviews .rcard {
	break-inside: avoid;
	margin-bottom: 24px;
}
.rcard {
	display: grid;
	gap: 22px;
	border-radius: 20px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	padding: clamp(24px, 2.6vw, 34px);
}
.rcard.ink {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
.rcard .stars {
	display: flex;
	gap: 3px;
	font-size: 17px;
}
.rcard blockquote {
	font-size: 17px;
	line-height: 1.6;
}
.rcard.lg blockquote {
	font-size: clamp(20px, 1.8vw, 26px);
	line-height: 1.4;
	letter-spacing: -0.02em;
}
.who {
	display: flex;
	align-items: center;
	gap: 14px;
}
.ava {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	flex: none;
	background: #dfe2e6;
	color: var(--char);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
}
.rcard.ink .ava {
	background: #2a2a2d;
	color: #fff;
}
.who b {
	display: block;
	font-weight: 600;
}
.who span {
	font-size: 14px;
	color: var(--gray);
}
.rcard.ink .who span {
	color: #8d8d8d;
}
.rcard .foot-r {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding-top: 18px;
	border-top: 1px solid var(--hair);
	font-size: 14px;
	color: var(--gray);
}
.rcard.ink .foot-r {
	border-color: rgba(255, 255, 255, 0.12);
	color: #8d8d8d;
}
.rcard .foot-r a {
	color: var(--char);
	font-weight: 600;
	border-bottom: 1px solid currentColor;
}
.rcard.ink .foot-r a {
	color: #fff;
}

/* сводка (отзывы) */
.stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: clamp(50px, 7vw, 90px);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.stats > div {
	padding: 26px 22px 0 0;
}
.stats > div + div {
	padding-left: 22px;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.stats b {
	display: block;
	font-size: clamp(40px, 5vw, 72px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1;
}
.stats span {
	display: block;
	margin-top: 12px;
	color: #8d8d8d;
	font-size: 15px;
}

/* ---------- кейс ---------- */
.cover {
	margin-top: calc(-1 * clamp(40px, 5vw, 70px));
	position: relative;
	z-index: 3;
}
.cover .ph {
	aspect-ratio: 16 / 7.4;
	border-radius: 24px;
	box-shadow: 0 50px 90px -50px rgba(0, 0, 0, 0.5);
}
.story {
	display: grid;
	gap: 0;
}
.story .row {
	display: grid;
	grid-template-columns: 0.55fr 1.45fr;
	gap: clamp(30px, 5vw, 80px);
	padding: clamp(40px, 5vw, 64px) 0;
	border-top: 1px solid var(--hair);
}
.story .row:first-child {
	border-top: 0;
	padding-top: 0;
}
.story .row h2 {
	font-size: clamp(28px, 2.8vw, 40px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.05;
}
.story .row .no {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--gray2);
	margin-bottom: 14px;
}
.story .txt {
	display: grid;
	gap: 16px;
	font-size: clamp(17px, 1.35vw, 20px);
	color: #2c2f33;
	max-width: 62ch;
}
.story .txt ul {
	list-style: none;
	display: grid;
	gap: 12px;
}
.story .txt li {
	display: flex;
	gap: 12px;
}
.story .txt li i {
	font-size: 20px;
	margin-top: 4px;
	flex: none;
}
.metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}
.metrics .m {
	border-radius: 20px;
	padding: clamp(26px, 3vw, 40px);
	background: var(--paper2);
	border: 1px solid var(--hair);
}
.metrics .m:nth-child(2) {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
.metrics .m:nth-child(3) {
	background: #dfe2e6;
	border-color: #dfe2e6;
}
.metrics b {
	display: block;
	font-size: clamp(48px, 6vw, 96px);
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 0.95;
}
.metrics span {
	display: block;
	margin-top: 16px;
	opacity: 0.7;
	max-width: 26ch;
}
.gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.gallery .ph:first-child {
	grid-column: span 2;
	aspect-ratio: 16 / 7;
}
.next {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: end;
	gap: 30px;
	padding: clamp(40px, 5vw, 70px);
	border-radius: 24px;
	background: #0b0b0c;
	color: #fff;
	transition: background 0.4s;
}
.next:hover {
	background: #18181a;
}
.next .k {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #7d7d7d;
	margin-bottom: 16px;
}
.next h2 {
	font-size: clamp(30px, 4vw, 60px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.02;
	max-width: 18ch;
}
.next > i {
	font-size: clamp(40px, 5vw, 72px);
	transition: transform 0.5s var(--ease);
}
.next:hover > i {
	transform: translateX(10px);
}

/* ---------- блог ---------- */
.pcard {
	display: grid;
	gap: 18px;
	align-content: start;
}
.pcard .ph {
	transition: transform 0.8s var(--ease);
}
.pcard:hover .ph {
	transform: scale(0.985);
}
.pcard .meta {
	display: flex;
	gap: 14px;
	align-items: center;
	font-size: 13px;
	color: var(--gray2);
	font-weight: 600;
}
.pcard .meta .cat {
	color: var(--char);
	border: 1px solid var(--hair);
	border-radius: 2px;
	padding: 3px 9px;
	background: var(--paper2);
}
.pcard h3 {
	font-size: clamp(21px, 1.7vw, 25px);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.2;
}
.pcard p {
	color: var(--gray);
}
.pcard.big {
	grid-column: 1 / -1;
	grid-template-columns: 1.15fr 0.85fr;
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
}
.pcard.big .ph {
	aspect-ratio: 16 / 10;
}
.pcard.big .txt {
	display: grid;
	gap: 18px;
}
.pcard.big h3 {
	font-size: clamp(30px, 3.4vw, 52px);
	font-weight: 400;
	letter-spacing: -0.04em;
	line-height: 1.04;
}
.pcard.big p {
	font-size: clamp(17px, 1.3vw, 19px);
}

/* статья */
.art {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: clamp(40px, 6vw, 100px);
	align-items: start;
}
.art aside {
	position: sticky;
	top: 100px;
	display: grid;
	gap: 16px;
}
.toc {
	border-radius: 20px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	padding: 26px;
}
.toc .k {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gray2);
	margin-bottom: 14px;
}
.toc ol {
	list-style: none;
	counter-reset: t;
	display: grid;
	gap: 4px;
}
.toc li {
	counter-increment: t;
}
.toc a {
	display: flex;
	gap: 12px;
	padding: 6px 0;
	color: var(--gray);
	font-size: 15px;
	line-height: 1.35;
	transition: color 0.3s;
}
.toc a::before {
	content: counter(t, decimal-leading-zero);
	font-size: 12px;
	font-weight: 700;
	color: var(--gray2);
	padding-top: 2px;
}
.toc a:hover,
.toc a.on {
	color: var(--char);
}
.art aside .card.ink h3 {
	font-size: 22px;
	font-weight: 500;
	letter-spacing: -0.02em;
}
.art aside .card.ink .btn {
	margin-top: 22px;
	width: 100%;
}
.share {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--gray);
	font-size: 14px;
	padding: 0 4px;
}
.share a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 2px;
	border: 1px solid var(--hair);
	background: var(--paper2);
	font-size: 19px;
	color: var(--char);
	transition:
		background 0.3s,
		color 0.3s;
}
.share a:hover {
	background: #0b0b0c;
	color: #fff;
}

/* типографика текста статьи */
.prose {
	font-size: clamp(17px, 1.25vw, 19px);
	line-height: 1.7;
	color: #2c2f33;
	max-width: 70ch;
}
.prose > * + * {
	margin-top: 20px;
}
.prose .intro {
	font-size: clamp(20px, 1.7vw, 24px);
	line-height: 1.5;
	color: var(--char);
	letter-spacing: -0.015em;
}
.prose h2 {
	font-size: clamp(28px, 2.6vw, 40px);
	font-weight: 500;
	letter-spacing: -0.035em;
	line-height: 1.1;
	color: var(--char);
	margin-top: 56px;
	scroll-margin-top: 100px;
}
.prose h3 {
	font-size: 22px;
	color: var(--char);
	margin-top: 36px;
}
.prose ul,
.prose ol {
	padding-left: 0;
	list-style: none;
	display: grid;
	gap: 10px;
}
.prose ul li {
	position: relative;
	padding-left: 28px;
}
.prose ul li::before {
	content: "";
	position: absolute;
	left: 4px;
	top: 0.72em;
	width: 8px;
	height: 8px;
	background: var(--char);
	transform: rotate(45deg);
}
.prose ol {
	counter-reset: o;
}
.prose ol li {
	counter-increment: o;
	position: relative;
	padding-left: 44px;
}
.prose ol li::before {
	content: counter(o, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.2em;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--gray2);
}
.prose b,
.prose strong {
	color: var(--char);
	font-weight: 600;
}
.prose a {
	color: var(--char);
	border-bottom: 1px solid currentColor;
}
.prose blockquote {
	margin-top: 36px;
	padding: 6px 0 6px 28px;
	border-left: 2px solid var(--char);
	font-size: clamp(21px, 1.9vw, 28px);
	line-height: 1.35;
	letter-spacing: -0.02em;
	color: var(--char);
}
.prose .callout {
	display: flex;
	gap: 16px;
	padding: 24px 26px;
	border-radius: 16px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	font-size: 17px;
}
.prose .callout i {
	font-size: 24px;
	flex: none;
	color: var(--char);
}
.prose figure .ph {
	aspect-ratio: 16 / 8;
}
.prose figcaption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--gray2);
}
.prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: 16px;
	background: var(--paper2);
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--hair);
}
.prose th,
.prose td {
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--hair);
	vertical-align: top;
}
.prose th {
	font-size: 12px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gray2);
}
.prose tr:last-child td {
	border-bottom: 0;
}
.author {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-top: 56px;
	padding-top: 28px;
	border-top: 1px solid var(--hair);
	max-width: 70ch;
}
.author .ava {
	width: 56px;
	height: 56px;
	background: #0b0b0c;
	color: #fff;
}
.author b {
	display: block;
}
.author span {
	color: var(--gray);
	font-size: 15px;
}

/* ---------- контакты ---------- */
.cgrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}
.channels {
	display: grid;
	gap: 16px;
}
.chan {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 20px;
	padding: 26px 28px;
	border-radius: 20px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	text-align: left;
	width: 100%;
	cursor: pointer;
	font: inherit;
	color: inherit;
	transition:
		background 0.4s,
		color 0.4s,
		border-color 0.4s;
}
.chan > i:first-child {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 2px;
	background: #eceef1;
	font-size: 28px;
	transition: background 0.4s;
}
.chan b {
	display: block;
	font-size: 20px;
	font-weight: 600;
	letter-spacing: -0.015em;
}
.chan span {
	color: var(--gray);
	font-size: 15px;
	transition: color 0.4s;
}
.chan > i:last-child {
	font-size: 22px;
	transition: transform 0.45s var(--ease);
}
.chan:hover {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
.chan:hover > i:first-child {
	background: #2a2a2d;
}
.chan:hover span {
	color: #a3a3a3;
}
.chan:hover > i:last-child {
	transform: translateX(5px);
}
.info {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}
.info .card p {
	color: var(--char);
	font-weight: 500;
	font-size: 18px;
	line-height: 1.4;
}
/* форма заявки прямо на странице (та же разметка, что в попапе) */
.panel.static {
	opacity: 1;
	transform: none;
	width: 100%;
	max-height: none;
	overflow: visible;
	border-radius: 24px;
	padding: clamp(26px, 3.4vw, 48px);
	box-shadow: none;
}
.panel.static h2 {
	max-width: 20ch;
	padding-right: 0;
	font-size: clamp(26px, 2.4vw, 36px);
}
.panel.static .subt {
	max-width: 46ch;
}
.panel.static input[type="text"],
.panel.static textarea {
	font: inherit;
	font-size: 16px;
	color: #fff;
	background: #050505;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 2px;
	padding: 14px;
	width: 100%;
	max-width: 100%;
	transition:
		border-color 0.3s,
		box-shadow 0.3s;
	appearance: none;
	-webkit-appearance: none;
}
.panel.static textarea {
	height: 120px;
	min-height: 88px;
	resize: vertical;
}
.panel.static input::placeholder,
.panel.static textarea::placeholder {
	color: #7f7f7f;
}
.panel.static input[type="text"]:focus,
.panel.static textarea:focus {
	outline: none;
	border-color: #fff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}
.panel.static .btn {
	height: 58px;
	width: 100%;
}
.panel.static .btn[disabled] {
	opacity: 0.55;
	pointer-events: none;
}

/* ---------- главная: дополнения ---------- */
.ex .more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
	font-weight: 600;
	padding-bottom: 4px;
	border-bottom: 1px solid currentColor;
	transition: gap 0.4s var(--ease);
}
.ex .more:hover {
	gap: 14px;
}

/* ---------- адаптив ---------- */
@media (max-width: 1100px) {
	.sx {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.sx a:nth-child(3) {
		border-right: 0;
	}
	.sx a:nth-child(4) {
		padding-left: 0;
	}
	.sx a:nth-child(n + 4) {
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.art {
		grid-template-columns: 1fr;
	}
	.art aside {
		position: static;
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
	.art aside .share {
		grid-column: 1 / -1;
	}
}
@media (max-width: 900px) {
	.svc,
	.sh .split2,
	.cgrid,
	.story .row {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.svc {
		gap: 36px;
	}
	.svc .side {
		position: static;
	}
	.ask .box,
	.next {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.facts {
		grid-template-columns: 1fr 1fr;
	}
	.facts > div:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.facts > div:nth-child(n + 3) {
		margin-top: 22px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.metrics {
		grid-template-columns: 1fr;
	}
	.pcard.big {
		grid-template-columns: 1fr;
	}
	.ccard.big {
		grid-column: auto;
	}
	.ccard.big .ph {
		aspect-ratio: 16 / 10;
	}
}
@media (max-aspect-ratio: 11/10), (max-width: 800px) {
	.sh {
		padding-top: calc(120px + env(safe-area-inset-top));
	}
}
@media (max-width: 640px) {
	.sx,
	.grid,
	.grid.two,
	.stats,
	.info,
	.art aside,
	.gallery {
		grid-template-columns: 1fr;
	}
	.gallery .ph:first-child {
		grid-column: auto;
	}
	.sx a,
	.sx a + a {
		padding: 18px 0;
		border-right: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		grid-template-columns: 44px 1fr;
		gap: 10px;
		align-items: center;
	}
	.sx a:first-child {
		border-top: 0;
	}
	.stats > div,
	.stats > div + div {
		padding: 22px 0;
		border-left: 0;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
	}
	.stats > div:first-child {
		border-top: 0;
	}
	.incl,
	.duo {
		grid-template-columns: 1fr;
	}
	.svc .show,
	.sh .show {
		min-height: 240px;
	}
	.sh .acts .btn {
		width: 100%;
	}
	.chan {
		padding: 20px;
		gap: 14px;
	}
	.chan > i:first-child {
		width: 46px;
		height: 46px;
		font-size: 23px;
	}
	.cover .ph {
		aspect-ratio: 4 / 3;
	}
}

/* документ (политика) */
.prose .card dl {
	display: grid;
	grid-template-columns: minmax(0, 220px) 1fr;
	gap: 10px 20px;
}
.prose .card dt {
	color: var(--gray);
	font-size: 15px;
}
.prose .card dd {
	font-weight: 600;
	color: var(--char);
}
@media (max-width: 640px) {
	.prose .card dl {
		grid-template-columns: 1fr;
		gap: 2px;
	}
	.prose .card dd {
		margin-bottom: 10px;
	}
}

/* =====================================================================
   WordPress: картинки в обложках, блоки Gutenberg в тексте статей и страниц
   ===================================================================== */
.ph > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
}
.ph:has(> img) .cap {
	display: none;
}
.prose > :first-child {
	margin-top: 0;
}
.prose img {
	max-width: 100%;
	height: auto;
	border-radius: 20px;
}
.prose figure {
	margin: 0;
}
.prose .wp-block-image figcaption,
.prose .wp-block-table figcaption {
	text-align: left;
}
.prose .wp-block-quote {
	margin-left: 0;
	margin-right: 0;
}
.prose .wp-block-quote p {
	color: inherit;
}
.prose .wp-block-quote cite {
	display: block;
	margin-top: 12px;
	font-size: 15px;
	font-style: normal;
	color: var(--gray);
	letter-spacing: 0;
}
.prose .wp-block-table {
	overflow-x: auto;
}
.prose .wp-block-table table {
	min-width: 480px;
}
.prose .wp-block-table thead {
	border-bottom: 0;
}
.prose .wp-block-table td,
.prose .wp-block-table th {
	border-left: 0;
	border-right: 0;
	border-top: 0;
}
.prose hr,
.prose .wp-block-separator {
	border: 0;
	border-top: 1px solid var(--hair);
	margin: 48px 0;
}
.prose .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.prose .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	height: 52px;
	padding: 0 26px;
	border-radius: 2px;
	background: #0b0b0c;
	color: #fff;
	border: 0;
	font-weight: 600;
	text-decoration: none;
}
.prose .is-style-callout {
	display: flex;
	gap: 16px;
	padding: 24px 26px;
	border-radius: 16px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	font-size: 17px;
}
.prose .is-style-callout::before {
	content: "\ea51";
	font-family: "tabler-icons";
	font-size: 24px;
	line-height: 1.2;
	flex: none;
	color: var(--char);
}
.prose .is-style-callout > * {
	margin: 0;
}
.prose .is-style-callout > * + * {
	margin-top: 10px;
}
.prose .is-style-card {
	border-radius: 20px;
	background: var(--paper2);
	border: 1px solid var(--hair);
	padding: clamp(22px, 3vw, 32px);
}
.prose .is-style-card > :first-child {
	margin-top: 0;
}
.prose .is-style-card table,
.prose .is-style-card .wp-block-table table {
	border: 0;
	min-width: 0;
}
.prose .is-style-card td:first-child {
	color: var(--gray);
	width: 40%;
}
.prose .is-style-card td {
	padding-left: 0;
}
.prose .has-text-align-center {
	text-align: center;
}

/* страница без оглавления (политика, обычные страницы) */
.doc {
	max-width: 900px;
}

/* 404 */
.e404 .acts {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 40px;
}

/* фильтр ссылками (кейсы, рубрики блога) */
.filters a {
	display: inline-flex;
	align-items: center;
	height: 42px;
	padding: 0 18px;
	border-radius: 2px;
	border: 1px solid var(--hair);
	background: var(--paper2);
	font-size: 15px;
	font-weight: 500;
	transition:
		background 0.3s,
		color 0.3s,
		border-color 0.3s;
}
.filters a:hover {
	border-color: var(--char);
}
.filters a[aria-current] {
	background: #0b0b0c;
	border-color: #0b0b0c;
	color: #fff;
}
.empty {
	color: var(--gray);
	font-size: 18px;
}
