/* Лендинг Profit Digital Flow — тёмная неоново-оранжевая тема.
   Всё скоупится на body.pdf-landing, чтобы не задевать остальные страницы. */

body.pdf-landing {
	--bg: #0b0b0f;
	--bg-2: #131318;
	--line: rgba(255, 255, 255, 0.08);
	--ink: #f5f2ec;
	--muted: #9c9aa3;
	--flame: #ff5a1f;
	--amber: #ffb35c;
	--glow: rgba(255, 90, 31, 0.35);
	--font-display: "Unbounded", sans-serif;
	--font-body: "Manrope", sans-serif;
	--font-mono: "JetBrains Mono", monospace;

	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

.pdf-landing h1, .pdf-landing h2, .pdf-landing h3 {
	font-family: var(--font-display);
	color: var(--ink);
	margin: 0 0 0.5em;
	line-height: 1.15;
}
.pdf-landing a { color: inherit; text-decoration: none; }
.pdf-landing img { max-width: 100%; }

.pdf-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Появление при скролле ---------- */
.pdf-landing .reveal {
	opacity: 0;
	transform: translateY(30px);
	filter: blur(8px);
	transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1), filter 0.75s ease;
}
.pdf-landing .reveal.is-in { opacity: 1; transform: none; filter: blur(0); }
@media (prefers-reduced-motion: reduce) {
	.pdf-landing .reveal { opacity: 1; transform: none; filter: none; transition: none; }
	.pdf-landing * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Объём: зерно, свечение курсора, прогресс, блики ---------- */
body.pdf-landing::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 500;
	pointer-events: none;
	opacity: 0.05;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
}
.pdf-cursor {
	position: fixed;
	left: 0;
	top: 0;
	width: 700px;
	height: 700px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 90, 31, 0.1), transparent 62%);
	pointer-events: none;
	mix-blend-mode: screen;
	z-index: 2;
	will-change: transform;
}
#pdf-progress {
	position: fixed;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--flame), var(--amber));
	box-shadow: 0 0 12px var(--glow);
	z-index: 400;
}
body.admin-bar #pdf-progress { top: 32px; }
.pdf-btn { position: relative; overflow: hidden; }
.pdf-btn::after {
	content: "";
	position: absolute;
	top: 0;
	left: -80%;
	width: 55%;
	height: 100%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transform: skewX(-20deg);
	transition: left 0.55s ease;
	pointer-events: none;
}
.pdf-btn:hover::after { left: 130%; }
.pdf-card:hover .pdf-card-icon { transform: rotate(-7deg) scale(1.1); }
.pdf-card-icon { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pdf-card, .pdf-srv-panel, .pdf-rev-card, .pdf-work, .pdf-metric {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 10px 30px rgba(0, 0, 0, 0.25);
}
.pdf-metric, .pdf-rev-card { transition: transform 0.2s ease-out, border-color 0.25s, box-shadow 0.25s; }

/* ---------- Появление первого экрана при загрузке ---------- */
.pdf-header {
	animation: pdf-header-in 0.7s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes pdf-header-in {
	from { transform: translateY(-100%); opacity: 0; }
	to { transform: none; opacity: 1; }
}
.pdf-slide-main .pdf-slide-copy > * {
	opacity: 0;
	animation: pdf-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.pdf-slide-main .pdf-slide-copy > *:nth-child(1) { animation-delay: 0.15s; }
.pdf-slide-main .pdf-slide-copy > *:nth-child(2) { animation-delay: 0.3s; }
.pdf-slide-main .pdf-slide-copy > *:nth-child(3) { animation-delay: 0.5s; }
.pdf-slide-main .pdf-slide-copy > *:nth-child(4) { animation-delay: 0.68s; }
.pdf-slide-main .pdf-slide-copy > *:nth-child(5) { animation-delay: 0.85s; }
@keyframes pdf-rise {
	from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
	to { opacity: 1; transform: none; filter: blur(0); }
}
/* После первого проигрыша (и при возврате из кэша «назад») контент баннера всегда видим */
body.pdf-entered .pdf-slide-main .pdf-slide-copy > * {
	animation: none;
	opacity: 1;
	transform: none;
	filter: none;
}
body.pdf-entered .pdf-header { animation: none; }

/* ---------- Бегущая строка ---------- */
.pdf-ticker {
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #0d0c11;
	overflow: hidden;
	padding: 17px 0;
}
.pdf-ticker-track {
	display: flex;
	gap: 46px;
	width: max-content;
	animation: pdf-marquee 34s linear infinite;
}
.pdf-ticker span {
	font: 500 13px/1 var(--font-mono);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 46px;
}
.pdf-ticker i { color: var(--flame); font-style: normal; text-shadow: 0 0 10px var(--glow); }
@keyframes pdf-marquee {
	to { transform: translateX(-50%); }
}

/* ---------- Шапка ---------- */
.pdf-header {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 100;
	background: rgba(11, 11, 15, 0.72);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--line);
}
body.admin-bar .pdf-header { top: 32px; }
@media (max-width: 782px) {
	body.admin-bar .pdf-header { top: 46px; }
}
.pdf-header-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.pdf-logo {
	font-family: var(--font-display);
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.pdf-logo span { color: var(--flame); }
.pdf-logo-dot {
	display: inline-block;
	width: 7px; height: 7px;
	margin-left: 4px;
	border-radius: 50%;
	background: var(--flame);
	box-shadow: 0 0 10px var(--flame);
	animation: pdf-pulse 2.4s ease-in-out infinite;
}
@keyframes pdf-pulse {
	0%, 100% { box-shadow: 0 0 6px var(--flame); }
	50% { box-shadow: 0 0 16px var(--flame), 0 0 32px var(--glow); }
}
.pdf-nav { display: flex; gap: 26px; margin-left: auto; }
.pdf-nav li, .pdf-footer-nav li { display: contents; list-style: none; }

/* Пары меню DE/RU: показывается то, что соответствует выбранному языку */
.pdf-menu-de { display: contents; }
.pdf-menu-ru { display: none; }
body.pdf-ru .pdf-menu-ru { display: contents; }
body.pdf-ru .has-ru .pdf-menu-de { display: none; }
.pdf-nav a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color 0.2s; }
.pdf-nav a:hover { color: var(--ink); }
.pdf-header-actions { display: flex; align-items: center; gap: 16px; }
.pdf-lang {
	display: flex;
	border: 1px solid var(--line);
	border-radius: 999px;
	overflow: hidden;
}
.pdf-lang button {
	background: none;
	border: 0;
	color: var(--muted);
	font: 500 12px/1 var(--font-mono);
	padding: 8px 12px;
	cursor: pointer;
	transition: color 0.2s, background 0.2s;
}
.pdf-lang button.is-active { background: var(--flame); color: #160903; }
.pdf-burger { display: none; }
@media (max-width: 720px) {
	body.pdf-landing button.pdf-burger,
	body.pdf-landing button.pdf-burger:hover,
	body.pdf-landing button.pdf-burger:focus,
	body.pdf-landing button.pdf-burger:active {
		appearance: none;
		-webkit-appearance: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.16);
		border-radius: 50%;
		background: transparent;
		cursor: pointer;
		outline: none;
		box-shadow: none;
		flex: 0 0 42px;
	}
	.pdf-burger span,
	.pdf-burger span::before,
	.pdf-burger span::after {
		display: block;
		width: 17px;
		height: 2px;
		background: var(--ink);
		border-radius: 2px;
		transition: transform 0.25s, top 0.25s, background 0.2s;
	}
	.pdf-burger span { position: relative; }
	.pdf-burger span::before,
	.pdf-burger span::after {
		content: "";
		position: absolute;
		left: 0;
	}
	.pdf-burger span::before { top: -6px; }
	.pdf-burger span::after { top: 6px; }
	body.pdf-nav-open .pdf-burger span { background: transparent; }
	body.pdf-nav-open .pdf-burger span::before { top: 0; transform: rotate(45deg); background: var(--amber); }
	body.pdf-nav-open .pdf-burger span::after { top: 0; transform: rotate(-45deg); background: var(--amber); }

	body.pdf-nav-open .pdf-nav {
		display: flex;
		position: fixed;
		top: 67px;
		left: 0;
		right: 0;
		flex-direction: column;
		gap: 0;
		margin: 0;
		background: rgba(11, 11, 15, 0.97);
		backdrop-filter: blur(14px);
		-webkit-backdrop-filter: blur(14px);
		border-bottom: 1px solid var(--line);
		padding: 6px 24px 16px;
		z-index: 99;
	}
	body.admin-bar.pdf-nav-open .pdf-nav { top: 113px; }
	body.pdf-nav-open .pdf-nav a,
	body.pdf-nav-open .pdf-nav li a {
		display: block;
		width: 100%;
		padding: 15px 0;
		font-size: 17px;
		color: var(--ink);
		border-bottom: 1px solid var(--line);
	}
}

/* ---------- Кнопки ---------- */
.pdf-btn {
	display: inline-block;
	background: linear-gradient(120deg, var(--flame), #ff7a33);
	color: #160903;
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 700;
	padding: 15px 30px;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	box-shadow: 0 0 24px var(--glow);
	transition: transform 0.2s, box-shadow 0.2s;
}
.pdf-btn:hover { transform: translateY(-2px); box-shadow: 0 0 40px var(--glow), 0 8px 24px rgba(0, 0, 0, 0.4); color: #160903; }
.pdf-btn-sm { padding: 10px 20px; font-size: 14px; box-shadow: 0 0 14px var(--glow); }
.pdf-btn-ghost {
	background: transparent;
	color: var(--ink);
	border: 1px solid rgba(255, 255, 255, 0.22);
	box-shadow: none;
}
.pdf-btn-ghost:hover { border-color: var(--flame); color: var(--amber); box-shadow: 0 0 18px var(--glow); }
.pdf-btn-full { width: 100%; }

/* ---------- Хиро ---------- */
.pdf-hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding: 150px 0 100px;
	overflow: hidden;
}
.pdf-hero-glow {
	position: absolute;
	inset: 0;
	background:
		radial-gradient(600px 320px at 78% 18%, rgba(255, 90, 31, 0.16), transparent 70%),
		radial-gradient(500px 300px at 12% 80%, rgba(255, 179, 92, 0.07), transparent 70%);
	pointer-events: none;
}
/* ---------- Слайдер ---------- */
/* Хиро — flex-контейнер, поэтому обёртке нужна полная ширина, иначе она сожмётся */
.pdf-hero .pdf-wrap { width: 100%; }
.pdf-slides { position: relative; z-index: 2; }

/* Фоновая картинка слайда на весь блок */
.pdf-hero-bgs { position: absolute; inset: 0; z-index: 1; will-change: transform; }
.pdf-hero-glow, .pdf-cta-bg, .pdf-prc-img, .pdf-section-glow { will-change: transform; }
.pdf-hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	opacity: 0;
	transition: opacity 0.8s ease;
}
.pdf-hero-bg.is-active { opacity: 1; }
.pdf-hero-bg video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.pdf-hero-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 11, 15, 0.72) 8%, rgba(11, 11, 15, 0.34) 46%, rgba(11, 11, 15, 0.05) 100%),
		linear-gradient(0deg, rgba(11, 11, 15, 0.72) 0%, rgba(11, 11, 15, 0) 26%),
		linear-gradient(180deg, rgba(11, 11, 15, 0.55) 0%, rgba(11, 11, 15, 0) 18%);
}
.pdf-slide-bgimg .pdf-slide-copy { max-width: 620px; }
.pdf-slide-bgimg .pdf-slide-h,
.pdf-slide-bgimg .pdf-sub { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.pdf-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 48px;
	align-items: center;
	opacity: 0;
	transform: translateX(48px);
	transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
	visibility: hidden;
}
.pdf-slide.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
	visibility: visible;
}
/* Главный слайд остаётся в потоке и задаёт высоту слайдера */
.pdf-slide-main { position: relative; inset: auto; grid-template-columns: 1fr; }
.pdf-slide-main .pdf-slide-copy { max-width: 900px; }
.pdf-slide-h {
	font-size: clamp(30px, 4.4vw, 54px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 22px;
}
.pdf-slide .pdf-btn { margin-top: 4px; }
.pdf-slide-visual {
	display: flex;
	align-items: center;
	justify-content: center;
}
.pdf-slide-visual img {
	max-width: 100%;
	max-height: 480px;
	border-radius: 22px;
	border: 1px solid var(--line);
	box-shadow: 0 0 50px rgba(255, 90, 31, 0.15), 0 30px 60px rgba(0, 0, 0, 0.45);
}
.pdf-slider-nav {
	position: relative;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	margin-top: 26px;
}
/* body.pdf-landing в селекторах — защита от синих кнопочных стилей Astra */
body.pdf-landing button.pdf-slider-arrow,
body.pdf-landing button.pdf-slider-arrow:hover,
body.pdf-landing button.pdf-slider-arrow:focus,
body.pdf-landing button.pdf-slider-arrow:active {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.16);
	background: transparent;
	color: var(--muted);
	line-height: 1;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
body.pdf-landing button.pdf-slider-arrow:hover,
body.pdf-landing button.pdf-slider-arrow:focus-visible {
	color: var(--amber);
	border-color: var(--flame);
	box-shadow: 0 0 16px var(--glow);
}
.pdf-slider-arrow svg { width: 18px; height: 18px; }
.pdf-slider-dots { display: flex; gap: 10px; }
body.pdf-landing .pdf-slider-dots button,
body.pdf-landing .pdf-slider-dots button:hover,
body.pdf-landing .pdf-slider-dots button:focus,
body.pdf-landing .pdf-slider-dots button:active {
	appearance: none;
	-webkit-appearance: none;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	cursor: pointer;
	outline: none;
	box-shadow: none;
	transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
}
body.pdf-landing .pdf-slider-dots button.is-active {
	background: var(--flame);
	box-shadow: 0 0 10px var(--flame);
	transform: scale(1.3);
}

/* Рисованные визуалы слайдов */
.pdf-art { width: min(400px, 80%); }
.pdf-art-orb {
	position: relative;
	aspect-ratio: 1;
}
.pdf-art-orb i {
	position: absolute;
	inset: 12%;
	border-radius: 50%;
	background: radial-gradient(circle at 34% 30%, var(--amber), var(--flame) 55%, #7a2508 100%);
	box-shadow: 0 0 90px var(--glow), 0 0 200px rgba(255, 90, 31, 0.25);
	animation: pdf-pulse 4s ease-in-out infinite;
}
.pdf-art-orb u {
	position: absolute;
	inset: 0;
	border: 1px solid rgba(255, 179, 92, 0.35);
	border-radius: 50%;
	transform: scaleY(0.42) rotate(-14deg);
	animation: pdf-orb-ring 14s linear infinite;
}
@keyframes pdf-orb-ring {
	from { transform: scaleY(0.42) rotate(-14deg); }
	to { transform: scaleY(0.42) rotate(346deg); }
}
.pdf-art-hex .hex-core {
	filter: drop-shadow(0 0 24px var(--glow));
	animation: pdf-pulse 3.4s ease-in-out infinite;
}
.pdf-art-hex use { stroke-width: 1.5; }
.pdf-art-grid .grid-chip {
	fill: #17120e;
	stroke-width: 1.5;
	filter: drop-shadow(0 0 18px var(--glow));
}
.pdf-art-grid .grid-trace {
	stroke: rgba(255, 255, 255, 0.12);
	stroke-width: 1.5;
}
.pdf-art-grid .grid-pulse {
	stroke: var(--flame);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 16 84;
	filter: drop-shadow(0 0 5px var(--flame));
	animation: pdf-current 2.6s linear infinite;
}
.pdf-art-grid .gp2 { animation-delay: 0.6s; }
.pdf-art-grid .gp3 { animation-delay: 1.2s; }
.pdf-art-grid .gp4 { animation-delay: 1.8s; }
@keyframes pdf-current {
	from { stroke-dashoffset: 116; }
	to { stroke-dashoffset: -100; }
}
.pdf-art-wave .wv {
	stroke-width: 1.5;
	stroke-dasharray: 4 10;
	transform-origin: 130px 120px;
}
.pdf-art-wave .wv1 { animation: pdf-wv 16s linear infinite; }
.pdf-art-wave .wv2 { animation: pdf-wv 24s linear infinite reverse; }
.pdf-art-wave .wv3 { animation: pdf-wv 36s linear infinite; }
.pdf-art-wave .wv-core {
	filter: drop-shadow(0 0 14px var(--flame));
	animation: pdf-pulse 3s ease-in-out infinite;
}
@keyframes pdf-wv {
	from { transform: rotate(0deg); }
	to { transform: rotate(360deg); }
}
.pdf-eyebrow {
	font: 500 13px/1.4 var(--font-mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--amber);
	margin: 0 0 22px;
}
.pdf-hero h1 {
	font-size: clamp(34px, 5.6vw, 66px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
}
.pdf-hero h1 em {
	font-style: normal;
	background: linear-gradient(100deg, var(--flame), var(--amber));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-shadow: 0 0 60px var(--glow);
}
.pdf-sub { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 620px; margin: 0 0 36px; }
.pdf-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 52px; }
.pdf-chips { display: flex; flex-wrap: wrap; gap: 14px; }
.pdf-chip-stat {
	display: flex;
	align-items: baseline;
	gap: 10px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid var(--line);
	border-radius: 14px;
	padding: 12px 18px;
	backdrop-filter: blur(8px);
}
.pdf-chip-stat b { font: 600 22px/1 var(--font-display); color: var(--amber); }
.pdf-chip-stat span { font-size: 13px; color: var(--muted); }

/* Печатающийся заголовок */
.pdf-caret {
	display: inline-block;
	width: 3px;
	height: 0.85em;
	margin-left: 4px;
	vertical-align: baseline;
	background: var(--amber);
	box-shadow: 0 0 10px var(--flame);
	animation: pdf-blink 0.8s steps(1) infinite;
}
@keyframes pdf-blink {
	50% { opacity: 0; }
}

/* ---------- Секции ---------- */
.pdf-section { position: relative; padding: 110px 0; border-top: 1px solid var(--line); overflow: hidden; }
/* Чередование тонов фона, чтобы читалась глубина при параллаксе */
#about, #works { background: linear-gradient(180deg, #0f0d13, #0c0b10); }
#process { background: linear-gradient(180deg, #100c0d, #0b0b0f); }

/* Параллакс-декор: размытые шары разных оттенков и контурные слова */
.pdf-plx-orb {
	position: absolute;
	width: 560px;
	aspect-ratio: 1;
	border-radius: 50%;
	filter: blur(42px);
	pointer-events: none;
	will-change: transform;
	z-index: 0;
}
.pdf-orb-flame { background: radial-gradient(circle, rgba(255, 90, 31, 0.45), transparent 68%); }
.pdf-orb-amber { background: radial-gradient(circle, rgba(255, 179, 92, 0.34), transparent 68%); }
.pdf-orb-red { background: radial-gradient(circle, rgba(255, 61, 46, 0.32), transparent 68%); }
.pdf-plx-word {
	position: absolute;
	font: 700 clamp(120px, 18vw, 250px)/1 var(--font-display);
	letter-spacing: -0.02em;
	color: transparent;
	-webkit-text-stroke: 1.5px rgba(255, 90, 31, 0.24);
	pointer-events: none;
	will-change: transform;
	user-select: none;
	z-index: 0;
}
.pdf-section .pdf-wrap { position: relative; z-index: 1; }
.pdf-label {
	display: flex;
	align-items: center;
	gap: 12px;
	font: 500 13px/1 var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 18px;
}
.pdf-label span:first-child { color: var(--flame); }
.pdf-label::after { content: ""; flex: 0 0 48px; height: 1px; background: linear-gradient(90deg, var(--flame), transparent); }
.pdf-section h2 {
	font-size: clamp(26px, 3.6vw, 44px);
	font-weight: 600;
	letter-spacing: -0.02em;
	max-width: 720px;
	margin: 0 0 18px;
}
.pdf-section-sub { color: var(--muted); max-width: 640px; margin: 0 0 48px; }

/* ---------- Сетки и карточки ---------- */
.pdf-grid { display: grid; gap: 18px; margin-top: 42px; }
.pdf-grid-4 { grid-template-columns: repeat(4, 1fr); }
.pdf-grid-2 { grid-template-columns: repeat(2, 1fr); }
.pdf-grid-srv { grid-template-columns: repeat(4, 1fr); }
.pdf-card {
	position: relative;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 26px 24px;
	backdrop-filter: blur(8px);
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pdf-card:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 90, 31, 0.45);
	box-shadow: 0 0 32px rgba(255, 90, 31, 0.12), 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pdf-card h3 { font-size: 18px; font-weight: 600; margin: 0 0 10px; }
.pdf-card p { font-size: 15px; color: var(--muted); margin: 0; }
.pdf-card-srv { padding-top: 22px; }

/* ---------- Услуги: панель деталей + список ---------- */
.pdf-srv-explorer {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 56px;
	align-items: stretch;
	margin-top: 46px;
}
.pdf-srv-list { order: 1; }
.pdf-srv-detail { display: grid; order: 2; }
.pdf-srv-panel {
	grid-area: 1 / 1;
	display: flex;
	flex-direction: column;
	height: 100%;
	box-sizing: border-box;
	opacity: 0;
	transform: translateY(16px);
	visibility: hidden;
	transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.45s;
	background: linear-gradient(165deg, rgba(255, 90, 31, 0.1), rgba(255, 255, 255, 0.03) 60%), #121014;
	border: 1px solid rgba(255, 90, 31, 0.3);
	border-radius: 22px;
	padding: 34px;
}
.pdf-srv-panel .pdf-btn-sm2 { margin-top: auto; align-self: flex-start; }
.pdf-srv-txt:last-of-type { margin-bottom: 26px; }
.pdf-srv-panel.is-active { opacity: 1; transform: none; visibility: visible; }
.pdf-srv-panel-head {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
}
.pdf-srv-panel-head .pdf-card-icon { margin-bottom: 0; flex: 0 0 46px; }
.pdf-srv-panel-head h3 { font-size: 21px; margin: 0; }
.pdf-srv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pdf-srv-tags span {
	font: 500 12px/1 var(--font-mono);
	color: var(--amber);
	border: 1px solid rgba(255, 90, 31, 0.4);
	border-radius: 999px;
	padding: 7px 12px;
}
.pdf-srv-k {
	font: 500 12px/1 var(--font-mono);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--flame);
	margin: 0 0 8px;
}
.pdf-srv-txt { color: #b9b6bf; font-size: 15px; margin: 0 0 20px; }
.pdf-btn-sm2 { padding: 11px 22px; font-size: 14px; }
.pdf-srv-list { list-style: none; margin: 0; padding: 0; }
body.pdf-landing .pdf-srv-list button,
body.pdf-landing .pdf-srv-list button:hover,
body.pdf-landing .pdf-srv-list button:focus,
body.pdf-landing .pdf-srv-list button:active {
	appearance: none;
	-webkit-appearance: none;
	display: flex;
	align-items: baseline;
	gap: 14px;
	width: 100%;
	padding: 21px 6px;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	text-align: left;
	font-family: var(--font-display);
	font-size: clamp(18px, 2vw, 24px);
	font-weight: 600;
	letter-spacing: -0.01em;
	color: rgba(245, 242, 236, 0.28);
	cursor: pointer;
	outline: none;
	box-shadow: none;
	transition: color 0.25s;
}
body.pdf-landing .pdf-srv-list button:hover { color: rgba(245, 242, 236, 0.65); }
body.pdf-landing .pdf-srv-list button.is-active { color: var(--ink); }
.pdf-srv-arr {
	color: var(--flame);
	opacity: 0;
	transition: opacity 0.25s;
	text-shadow: 0 0 12px var(--glow);
}
.pdf-srv-list button.is-active .pdf-srv-arr { opacity: 1; }
.pdf-srv-idx {
	margin-left: auto;
	font: 400 12px/1 var(--font-mono);
	color: var(--muted);
}
@media (max-width: 900px) {
	.pdf-srv-explorer { grid-template-columns: 1fr; gap: 0; }
	.pdf-srv-panel { height: auto; }
	/* Аккордеон: панель деталей вставляется прямо под выбранный пункт */
	.pdf-srv-list li .pdf-srv-detail { margin: 16px 0 12px; }
}

/* Яркие карточки с иконками (секция «Подход») */
.pdf-section-glow {
	position: absolute;
	inset: 0;
	background: radial-gradient(640px 340px at 82% 20%, rgba(255, 90, 31, 0.1), transparent 70%);
	pointer-events: none;
}
.pdf-card-feature {
	/* непрозрачная основа, чтобы линия этапов не просвечивала сквозь карточку */
	background: linear-gradient(165deg, rgba(255, 90, 31, 0.13), rgba(255, 255, 255, 0.03) 62%), #121014;
	border-color: rgba(255, 90, 31, 0.32);
}

/* Линия «этапов» сквозь карточки + бегущий импульс */
.pdf-grid-steps { position: relative; }
.pdf-grid-steps .pdf-card { position: relative; z-index: 1; }
/* Линия с импульсом — только в однорядной сетке «Подход» */
.pdf-grid-4.pdf-grid-steps::before {
	content: "";
	position: absolute;
	top: 49px;
	left: 10px;
	right: 10px;
	height: 2px;
	background: linear-gradient(90deg, transparent, rgba(255, 90, 31, 0.55) 6%, rgba(255, 90, 31, 0.55) 94%, transparent);
	z-index: 0;
}
.pdf-grid-4.pdf-grid-steps::after {
	content: "";
	position: absolute;
	top: 45px;
	left: -90px;
	width: 90px;
	height: 10px;
	border-radius: 5px;
	background: linear-gradient(90deg, transparent, var(--amber), transparent);
	filter: blur(1px) drop-shadow(0 0 10px var(--flame));
	animation: pdf-step-pulse 4.2s linear infinite;
	z-index: 0;
}
@keyframes pdf-step-pulse {
	from { left: -90px; }
	to { left: 100%; }
}
@media (max-width: 1024px) {
	.pdf-grid-4.pdf-grid-steps::before,
	.pdf-grid-4.pdf-grid-steps::after { display: none; }
}
.pdf-card-feature p { color: #b9b6bf; }
.pdf-card-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 13px;
	background: linear-gradient(135deg, var(--flame), var(--amber));
	color: #160903;
	box-shadow: 0 0 20px var(--glow);
}
.pdf-card-icon svg { width: 24px; height: 24px; }

/* Каскадное появление карточек-этапов задаёт landing.js через transition-delay */
.pdf-grid-steps .reveal { transform: translateY(36px) scale(0.97); }
.pdf-grid-steps .reveal.is-in { transform: none; }
.pdf-srv-num {
	display: block;
	font: 500 12px/1 var(--font-mono);
	color: var(--flame);
	margin-bottom: 14px;
}

/* ---------- Процесс: сетка шагов 3×2 ---------- */
.pdf-flow-meta { display: flex; gap: 10px; margin-bottom: 14px; }
.pdf-flow-days, .pdf-flow-free {
	font: 500 12px/1 var(--font-mono);
	padding: 6px 10px;
	border-radius: 999px;
	border: 1px solid var(--line);
	color: var(--muted);
}
.pdf-flow-free { border-color: rgba(255, 90, 31, 0.5); color: var(--amber); }
.pdf-prc-carousel { margin-top: 46px; }
.pdf-prc-slides { position: relative; }
.pdf-prc-slide {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 48px;
	align-items: center;
	opacity: 0;
	transform: translateX(40px);
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
	position: absolute;
	inset: 0;
}
.pdf-prc-slide:first-child { position: relative; inset: auto; }
.pdf-prc-slide.is-active {
	opacity: 1;
	transform: none;
	visibility: visible;
	pointer-events: auto;
}
.pdf-prc-img {
	position: relative;
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(255, 90, 31, 0.3);
	box-shadow: 0 0 46px rgba(255, 90, 31, 0.14), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.pdf-prc-img img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
}
.pdf-prc-imgnum {
	position: absolute;
	top: 14px;
	right: 14px;
	font: 500 12px/1 var(--font-mono);
	letter-spacing: 0.12em;
	color: var(--amber);
	background: rgba(11, 11, 15, 0.72);
	border: 1px solid rgba(255, 90, 31, 0.4);
	border-radius: 999px;
	padding: 8px 12px;
	backdrop-filter: blur(6px);
}
.pdf-prc-body h3 { font-size: clamp(22px, 2.6vw, 30px); margin: 0 0 12px; }
.pdf-prc-body p { color: #b9b6bf; font-size: 16px; margin: 0; max-width: 480px; }
.pdf-prc-nav { justify-content: flex-start; margin-top: 30px; }
@media (max-width: 900px) {
	.pdf-prc-slide { grid-template-columns: 1fr; gap: 22px; }
	.pdf-prc-img img { height: 220px; }
	.pdf-prc-nav { justify-content: center; }
}

/* ---------- Работы: мокапы ноутбук + телефон ---------- */
.pdf-works {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
	margin-top: 46px;
}
.pdf-work {
	display: block;
	padding: 30px 30px 20px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01) 60%), #101014;
	transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.pdf-work:hover {
	transform: translateY(-5px);
	border-color: rgba(255, 90, 31, 0.5);
	box-shadow: 0 0 36px rgba(255, 90, 31, 0.14), 0 20px 50px rgba(0, 0, 0, 0.4);
}
.pdf-work-devices { position: relative; }
.pdf-laptop { width: 88%; }
.pdf-laptop-screen {
	border: 7px solid #1c1c22;
	border-radius: 14px 14px 4px 4px;
	overflow: hidden;
	background: #000;
}
.pdf-laptop-screen img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: top;
}
.pdf-laptop-base {
	width: 112%;
	margin-left: -6%;
	height: 13px;
	background: linear-gradient(180deg, #2a2a31, #17171c);
	border-radius: 3px 3px 12px 12px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.pdf-phone {
	position: absolute;
	right: 0;
	bottom: -10px;
	width: 23%;
	border: 5px solid #1c1c22;
	border-radius: 20px;
	overflow: hidden;
	background: #000;
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 22px rgba(255, 90, 31, 0.14);
}
.pdf-phone img {
	display: block;
	width: 100%;
	aspect-ratio: 9 / 19;
	object-fit: cover;
	object-position: top;
}
/* Прокрутка длинного скриншота внутри мокапа (hover или тап) */
.pdf-laptop-screen.pdf-scrollshot { aspect-ratio: 4 / 3; }
.pdf-phone.pdf-scrollshot { aspect-ratio: 9 / 19; }
.pdf-scrollshot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: auto;
	object-fit: initial;
	transition: transform 1.4s ease-out;
	will-change: transform;
}
.pdf-work:hover .pdf-laptop-screen.pdf-scrollshot img,
.pdf-work.is-scroll .pdf-laptop-screen.pdf-scrollshot img {
	transform: translateY(-66%);
	transition: transform 9s cubic-bezier(0.33, 0.05, 0.4, 1);
}
.pdf-work:hover .pdf-scrollshot-m img,
.pdf-work.is-scroll .pdf-scrollshot-m img {
	transform: translateY(-65%);
	transition: transform 9s cubic-bezier(0.33, 0.05, 0.4, 1);
}
.pdf-work-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 20px;
}
.pdf-work-link { display: flex; align-items: center; gap: 8px; }
.pdf-work-meta b {
	font-family: var(--font-display);
	font-size: 16px;
	font-weight: 600;
	color: var(--ink);
}
.pdf-work-meta > span { font: 500 12px/1 var(--font-mono); color: var(--muted); }
.pdf-work-arr {
	color: var(--flame);
	font-size: 18px;
	transition: transform 0.25s;
}
.pdf-work-link:hover .pdf-work-arr { transform: translate(3px, -3px); }
.pdf-work-link:hover b { color: var(--amber); }
@media (max-width: 720px) {
	.pdf-works { grid-template-columns: 1fr; }
}

/* ---------- Результаты ---------- */
.pdf-metrics { margin-bottom: 26px; }
.pdf-metric {
	text-align: left;
	background: linear-gradient(160deg, rgba(255, 90, 31, 0.09), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 90, 31, 0.25);
	border-radius: 18px;
	padding: 26px 24px;
}
.pdf-metric b {
	display: block;
	font: 700 clamp(30px, 3.4vw, 42px)/1 var(--font-display);
	background: linear-gradient(100deg, var(--flame), var(--amber));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	margin-bottom: 10px;
}
.pdf-metric span { font-size: 14px; color: var(--muted); }
/* Карусель отзывов */
.pdf-rev-carousel { margin-top: 14px; }
.pdf-rev-slides { position: relative; }
.pdf-rev-slide {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	align-items: stretch;
	opacity: 0;
	transform: translateX(40px);
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.5s;
}
.pdf-rev-slide:first-child { position: relative; inset: auto; }
.pdf-rev-slide.is-active {
	opacity: 1;
	transform: none;
	visibility: visible;
	pointer-events: auto;
}
.pdf-rev-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 34px 26px 24px;
	background: linear-gradient(165deg, rgba(255, 90, 31, 0.1), rgba(255, 255, 255, 0.03) 60%), #121014;
	border: 1px solid rgba(255, 90, 31, 0.3);
	border-left: 3px solid var(--flame);
	border-radius: 20px;
}
.pdf-rev-mark {
	position: absolute;
	top: 2px;
	left: 16px;
	font: 700 64px/1 var(--font-display);
	color: rgba(255, 90, 31, 0.3);
	pointer-events: none;
}
.pdf-rev-card p {
	position: relative;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	margin: 0 0 20px;
	flex: 1;
}
.pdf-rev-card footer {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
}
.pdf-rev-card cite { font: 500 12px/1.4 var(--font-mono); color: var(--muted); font-style: normal; }
.pdf-rev-metric {
	font: 500 13px/1 var(--font-mono);
	color: var(--amber);
	border: 1px solid rgba(255, 90, 31, 0.45);
	border-radius: 999px;
	padding: 8px 14px;
	box-shadow: 0 0 14px rgba(255, 90, 31, 0.12);
}
.pdf-rev-nav { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 900px) {
	.pdf-rev-slide { grid-template-columns: 1fr; }
	.pdf-rev-nav { justify-content: center; }
}

/* ---------- CTA + форма ---------- */
.pdf-cta { overflow: hidden; }
.pdf-cta-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
}
.pdf-cta-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(11, 11, 15, 0.85) 0%, rgba(11, 11, 15, 0.55) 55%, rgba(11, 11, 15, 0.75) 100%),
		linear-gradient(0deg, rgba(11, 11, 15, 0.9) 0%, rgba(11, 11, 15, 0.25) 40%),
		linear-gradient(180deg, rgba(11, 11, 15, 0.9) 0%, rgba(11, 11, 15, 0.2) 35%);
}
.pdf-cta-in {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 480px;
	gap: 56px;
	align-items: center;
}
.pdf-cta-text h2 { max-width: none; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55); }
.pdf-cta-text .pdf-section-sub { margin-bottom: 0; color: #c9c6cf; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55); }
@media (max-width: 1024px) {
	.pdf-cta-in { grid-template-columns: 1fr; gap: 36px; }
}

/* Модальное окно формы */
.pdf-modal {
	position: fixed;
	inset: 0;
	z-index: 300;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.pdf-modal[hidden] { display: none; }
.pdf-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(5, 5, 8, 0.78);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.pdf-modal-dialog {
	position: relative;
	width: min(560px, 100%);
	max-height: calc(100vh - 40px);
	overflow-y: auto;
	background: var(--bg-2);
	border: 1px solid rgba(255, 90, 31, 0.35);
	border-radius: 22px;
	padding: 30px;
	box-shadow: 0 0 60px rgba(255, 90, 31, 0.18), 0 30px 80px rgba(0, 0, 0, 0.6);
	animation: pdf-modal-in 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes pdf-modal-in {
	from { opacity: 0; transform: translateY(24px) scale(0.98); }
	to { opacity: 1; transform: none; }
}
.pdf-modal-title { font-size: 22px; margin: 0 0 20px; padding-right: 40px; }
body.pdf-landing button.pdf-modal-close,
body.pdf-landing button.pdf-modal-close:focus,
body.pdf-landing button.pdf-modal-close:active {
	appearance: none;
	-webkit-appearance: none;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	color: var(--muted);
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	outline: none;
	box-shadow: none;
	transition: color 0.2s, border-color 0.2s;
}
body.pdf-landing button.pdf-modal-close:hover { color: var(--ink); border-color: var(--flame); background: transparent; }
.pdf-modal .pdf-form { background: none; border: 0; padding: 0; backdrop-filter: none; }
.pdf-modal .pdf-form-ok { border: 0; background: none; padding: 30px 10px; }
.pdf-form {
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
	border: 1px solid var(--line);
	border-radius: 22px;
	padding: 30px;
	backdrop-filter: blur(10px);
}
.pdf-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pdf-form label { display: block; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.pdf-form label span { display: block; margin-bottom: 6px; }
.pdf-form input,
.pdf-form select,
.pdf-form textarea {
	width: 100%;
	box-sizing: border-box;
	background: rgba(11, 11, 15, 0.7);
	border: 1px solid var(--line);
	border-radius: 12px;
	color: var(--ink);
	font: 400 15px/1.4 var(--font-body);
	padding: 13px 14px;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.pdf-form input:focus,
.pdf-form select:focus,
.pdf-form textarea:focus {
	outline: none;
	border-color: var(--flame);
	box-shadow: 0 0 0 3px rgba(255, 90, 31, 0.18);
}
/* body.pdf-landing — защита от стилей селектов Astra (обрезали текст по высоте) */
body.pdf-landing .pdf-form select {
	appearance: none;
	-webkit-appearance: none;
	height: auto;
	min-height: 49px;
	line-height: 1.4;
	padding: 13px 40px 13px 14px;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239c9aa3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 14px;
}
.pdf-form option { background: var(--bg-2); color: var(--ink); }
.pdf-hp { position: absolute !important; left: -9999px !important; }
.pdf-form-note { font-size: 12px; color: var(--muted); text-align: center; margin: 14px 0 0; }
.pdf-form-error { color: #ff7b6b; font-size: 14px; text-align: center; margin: 14px 0 0; }
.pdf-form-ok {
	text-align: center;
	padding: 60px 30px;
	border: 1px solid rgba(255, 90, 31, 0.4);
	border-radius: 22px;
	background: rgba(255, 90, 31, 0.06);
}
.pdf-form-ok-icon {
	width: 64px; height: 64px;
	margin: 0 auto 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	font-size: 28px;
	color: #160903;
	background: linear-gradient(120deg, var(--flame), var(--amber));
	box-shadow: 0 0 34px var(--glow);
}

/* ---------- Футер ---------- */
.pdf-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.pdf-footer-in {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 40px;
}
.pdf-footer-tag { color: var(--muted); font-size: 14px; max-width: 320px; margin: 14px 0 0; }
.pdf-footer-nav { display: flex; flex-direction: column; gap: 10px; }
.pdf-footer-nav a { color: var(--muted); font-size: 14px; transition: color 0.2s; }
.pdf-footer-nav a:hover { color: var(--amber); }
.pdf-footer-copy {
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font: 400 12px/1 var(--font-mono);
}

/* ---------- Внутренние страницы (Impressum и т.п.) ---------- */
.pdf-page { padding: 150px 0 90px; min-height: 60vh; }
.pdf-page h1 {
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 34px;
}
.pdf-page-content { max-width: 800px; }
.pdf-page-content h2 {
	font-size: 21px;
	font-weight: 600;
	margin: 40px 0 12px;
}
.pdf-page-content p { color: #b9b6bf; font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.pdf-page-content strong { color: var(--ink); }
.pdf-page-content a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.pdf-page-content a:hover { color: var(--flame); }
.pdf-page-content ul, .pdf-page-content ol { color: #b9b6bf; padding-left: 22px; }

/* Страница «Про нас» */
.pdf-about-hero {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 48px;
	align-items: center;
}
.pdf-about-hero .pdf-sub { max-width: 560px; }

/* Светящийся глобус из точек */
.pdf-globe {
	position: relative;
	width: min(420px, 78vw);
	aspect-ratio: 1;
	justify-self: center;
}
.pdf-globe-halo {
	position: absolute;
	inset: -14%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 130, 45, 0.5), rgba(255, 90, 31, 0.14) 55%, transparent 72%);
	filter: blur(20px);
	animation: pdf-pulse 5s ease-in-out infinite;
}
.pdf-globe-sphere {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 28%, rgba(255, 179, 92, 0.28), transparent 58%),
		radial-gradient(circle, #1c130c 0%, #0b0908 72%);
	box-shadow:
		inset -34px -44px 90px rgba(0, 0, 0, 0.85),
		inset 12px 12px 70px rgba(255, 120, 40, 0.22),
		0 0 60px rgba(255, 90, 31, 0.25);
	overflow: hidden;
}
.pdf-globe-sphere::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background-image: radial-gradient(rgba(255, 205, 160, 0.85) 1.2px, transparent 1.4px);
	background-size: 13px 13px;
	-webkit-mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 71%);
	mask-image: radial-gradient(circle at 50% 50%, #000 55%, transparent 71%);
	animation: pdf-globe-spin 26s linear infinite;
	opacity: 0.7;
}
@keyframes pdf-globe-spin {
	from { background-position: 0 0; }
	to { background-position: 260px 0; }
}

/* Заголовок, появляющийся по словам */
.pdf-words .w {
	display: inline-block;
	opacity: 0;
	transform: translateY(26px);
	filter: blur(6px);
	animation: pdf-word 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
	animation-delay: calc(var(--wi) * 0.09s + 0.2s);
}
@keyframes pdf-word {
	to { opacity: 1; transform: none; filter: blur(0); }
}
.pdf-about h1.pdf-words {
	font-size: clamp(32px, 4.6vw, 54px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 24px;
}
@media (max-width: 900px) {
	.pdf-about-hero { grid-template-columns: 1fr; gap: 36px; }
	.pdf-globe { width: min(300px, 70vw); }
}

.pdf-about .pdf-section { margin-top: 40px; }
.pdf-about-story {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 56px;
	align-items: center;
}
.pdf-about-p {
	color: #b9b6bf;
	font-size: 17px;
	line-height: 1.75;
	max-width: 580px;
	margin: 0 0 18px;
}
.pdf-about-img {
	margin: 0;
	border-radius: 22px;
	overflow: hidden;
	border: 1px solid rgba(255, 90, 31, 0.3);
	box-shadow: 0 0 46px rgba(255, 90, 31, 0.14), 0 24px 60px rgba(0, 0, 0, 0.45);
}
.pdf-about-img img { display: block; width: 100%; }
@media (max-width: 900px) {
	.pdf-about-story { grid-template-columns: 1fr; gap: 30px; }
}

/* Страница «Услуги»: стек карточек, наезжающих при прокрутке */
.pdf-svc-stack { margin-top: 64px; }
.pdf-svc-card {
	position: sticky;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	min-height: min(600px, calc(100svh - 190px));
	margin-bottom: 14vh;
	background: linear-gradient(165deg, rgba(255, 90, 31, 0.1), rgba(255, 255, 255, 0.02) 55%), #141015;
	border: 1px solid rgba(255, 90, 31, 0.35);
	border-radius: 26px;
	overflow: hidden;
	box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.07);
	will-change: transform, filter;
}
.pdf-svc-card:last-child { margin-bottom: 6vh; }
.pdf-svc-body {
	display: flex;
	flex-direction: column;
	padding: 42px 44px 38px;
}
.pdf-svc-body .pdf-eyebrow { margin-bottom: 14px; }
.pdf-svc-body h2 {
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 18px;
}
.pdf-svc-txt { color: #b9b6bf; font-size: 15px; line-height: 1.65; margin: 0 0 20px; max-width: 480px; }
.pdf-svc-btn { margin-top: auto; align-self: flex-start; }
.pdf-svc-img { margin: 0; position: relative; min-height: 300px; }
.pdf-svc-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #141015 0%, rgba(20, 16, 21, 0) 30%);
}
.pdf-svc-img img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
@media (max-width: 900px) {
	.pdf-svc-card { grid-template-columns: 1fr; min-height: auto; margin-bottom: 10vh; }
	.pdf-svc-img { order: -1; min-height: 200px; }
	.pdf-svc-img::after { background: linear-gradient(0deg, #141015 0%, rgba(20, 16, 21, 0) 45%); }
	.pdf-svc-body { padding: 26px 22px 26px; }
}

/* Страница «Как работаем»: скролл-таймлайн */
.pdf-flowline {
	position: relative;
	margin-top: 80px;
	padding-left: 92px;
}
.pdf-flowline::before {
	content: "";
	position: absolute;
	left: 27px;
	top: 6px;
	bottom: 6px;
	width: 2px;
	background: rgba(255, 255, 255, 0.1);
}
.pdf-flowline-progress {
	position: absolute;
	left: 27px;
	top: 6px;
	width: 2px;
	height: 0;
	background: linear-gradient(180deg, var(--flame), var(--amber));
	box-shadow: 0 0 14px var(--glow);
}
.pdf-flow-item {
	position: relative;
	display: grid;
	grid-template-columns: 1.15fr 0.85fr;
	gap: 44px;
	align-items: center;
	padding-bottom: 110px;
	opacity: 0.28;
	transform: translateX(26px);
	transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.pdf-flow-item:last-child { padding-bottom: 30px; }
.pdf-flow-item.is-on { opacity: 1; transform: none; }
.pdf-flow-img {
	margin: 0;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid rgba(255, 90, 31, 0.28);
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
	transition: box-shadow 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
	transform: scale(0.96);
}
.pdf-flow-item.is-on .pdf-flow-img {
	box-shadow: 0 0 38px rgba(255, 90, 31, 0.18), 0 20px 50px rgba(0, 0, 0, 0.5);
	transform: none;
}
.pdf-flow-img img {
	display: block;
	width: 100%;
	height: 240px;
	object-fit: cover;
}
.pdf-flow-node2 {
	position: absolute;
	left: -92px;
	top: 0;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #131016;
	border: 1px solid rgba(255, 255, 255, 0.14);
	font: 600 16px/1 var(--font-display);
	color: var(--muted);
	transition: border-color 0.4s, color 0.4s, box-shadow 0.4s;
}
.pdf-flow-item.is-on .pdf-flow-node2 {
	border-color: var(--flame);
	color: var(--amber);
	box-shadow: 0 0 22px var(--glow);
}
.pdf-flow-content h2 {
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
}
.pdf-flow-content p { color: #b9b6bf; font-size: 16px; line-height: 1.7; max-width: 620px; margin: 0; }
.pdf-prc-cta { margin: 40px 0 20px; padding-left: 92px; }
@media (max-width: 900px) {
	.pdf-flow-item { grid-template-columns: 1fr; gap: 22px; }
	.pdf-flow-img img { height: 190px; }
}
@media (max-width: 720px) {
	.pdf-flowline { padding-left: 66px; }
	.pdf-flow-node2 { left: -66px; width: 44px; height: 44px; font-size: 14px; }
	.pdf-flowline::before, .pdf-flowline-progress { left: 21px; }
	.pdf-flow-item { padding-bottom: 70px; }
	.pdf-prc-cta { padding-left: 0; }
}

/* Страница «Работы»: кейсы */
.pdf-cases { margin-top: 70px; }
.pdf-case {
	display: grid;
	grid-template-columns: 1.02fr 0.98fr;
	gap: 56px;
	align-items: center;
	padding: 54px 0;
	border-top: 1px solid var(--line);
}
.pdf-case:first-child { border-top: 0; padding-top: 0; }
.pdf-case-rev .pdf-case-devices { order: 2; }
/* мокапы внутри кейса — без карточной рамки блока работ */
.pdf-case .pdf-work,
.pdf-case .pdf-work:hover {
	background: none;
	border: 0;
	padding: 0;
	box-shadow: none;
	transform: none;
}
.pdf-case-body .pdf-work-link b { font-size: 22px; }
.pdf-case-tag {
	display: inline-block;
	font: 500 12px/1 var(--font-mono);
	color: var(--muted);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 7px 12px;
	margin: 14px 0 4px;
}
.pdf-case-body .pdf-srv-k { margin-top: 18px; }
.pdf-case-txt { color: #b9b6bf; font-size: 15px; line-height: 1.65; margin: 0; max-width: 520px; }
.pdf-case-metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
@media (max-width: 900px) {
	.pdf-case { grid-template-columns: 1fr; gap: 30px; padding: 40px 0; }
	.pdf-case-rev .pdf-case-devices { order: 0; }
}

/* Кнопка «наверх» Astra — в цвет сайта вместо синего */
body.pdf-landing #ast-scroll-top {
	background-color: var(--flame) !important;
	color: #160903 !important;
	box-shadow: 0 0 18px var(--glow);
}

/* ---------- Адаптив ---------- */
@media (max-width: 1024px) {
	.pdf-grid-4, .pdf-grid-srv { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.pdf-slide { grid-template-columns: 1fr; gap: 24px; align-content: center; }
	.pdf-slide-visual { display: none; }
}
@media (max-width: 720px) {
	.pdf-nav { display: none; }
	.pdf-header-in { gap: 14px; }
	.pdf-header-actions { margin-left: auto; }
	.pdf-btn-sm { display: none; }
	.pdf-section { padding: 72px 0; }
	.pdf-grid-2 { grid-template-columns: 1fr; }
	.pdf-form-row { grid-template-columns: 1fr; gap: 0; }
	.pdf-hero { min-height: auto; padding-top: 100px; padding-bottom: 44px; }
	.pdf-hero h1 { font-size: clamp(29px, 8vw, 36px); }
	.pdf-hero-bg::after {
		background: linear-gradient(180deg, rgba(11, 11, 15, 0.84) 0%, rgba(11, 11, 15, 0.66) 55%, rgba(11, 11, 15, 0.88) 100%);
	}
	.pdf-footer-in { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 520px) {
	.pdf-grid-4, .pdf-grid-srv { grid-template-columns: 1fr; }
	.pdf-chips { gap: 8px; }
	.pdf-chip-stat { padding: 9px 12px; gap: 8px; }
	.pdf-chip-stat b { font-size: 17px; }
	.pdf-chip-stat span { font-size: 11px; }
}
