/*
Theme Name: Perfect Team — Миссия ТОП-1 (кабина)
Theme URI: https://team-perfect.ru/
Author: Perfect Team
Description: Тёмная «космическая» тема веб-студии Perfect Team («Миссия: ТОП-1»): главная в стиле центра управления полётами, статьи — на светлом фоне. Визуальный язык поисковой выдачи: заголовок страницы — запрос в строке поиска, услуги — сниппеты, кейсы — реальные позиции.
Version: 3.0.0
Requires PHP: 7.4
Text Domain: team-perfect
*/

/* ============ Токены ============ */
:root {
	--paper: #F3F4F8;
	--card: #FFFFFF;
	--ink: #15183A;
	--ink-2: #2A2F55;
	--muted: #5E6380;
	--line: #E1E3EC;
	--line-2: #CDD1DF;
	--blue: #2B44E8;
	--blue-d: #1C31C7;
	--green: #0E7C4A;
	--mark: #FFE25A;
	--mark-soft: #FFF6C9;
	--red: #D9443A;

	--display: "Unbounded", "Arial Black", system-ui, sans-serif;
	--text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 32px);
	--r-card: 20px;
	--r-ctl: 12px;
	--shadow: 0 1px 2px rgba(21, 24, 58, .06), 0 12px 32px -12px rgba(21, 24, 58, .18);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--row: 76px;
}

/* ============ База ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(88px + var(--adminbar, 0px)); }
body.admin-bar { --adminbar: 32px; }
@media (max-width: 782px) { body.admin-bar { --adminbar: 46px; } }
@media (max-width: 600px) { body.admin-bar { --adminbar: 0px; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.6 var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-d); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.muted { color: var(--muted); }

.h2, .prose h2 {
	font: 700 clamp(26px, 3.2vw, 40px)/1.12 var(--display);
	letter-spacing: -.02em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
.h3 { font: 600 clamp(19px, 2vw, 22px)/1.25 var(--display); letter-spacing: -.01em; margin: 0 0 20px; }

/* ============ Кнопки ============ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 26px;
	border: 2px solid transparent; border-radius: var(--r-ctl);
	font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn--full { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-d); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.linklike { background: none; border: 0; padding: 0; color: var(--blue); }

.icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: var(--r-ctl); color: var(--ink); border: 1px solid var(--line);
	background: var(--card); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }

/* ============ Шапка ============ */
.header {
	position: sticky; top: var(--adminbar, 0px); z-index: 50;
	background: var(--paper);
	border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(21, 24, 58, .35); }
.header__in { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--ink); }
.logo__mark { display: block; width: 30px; height: 38px; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: translate(2px, -3px) rotate(-6deg); }
.logo__text { font: 800 18px/1 var(--display); letter-spacing: -.02em; }
.logo--light, .logo--light:hover { color: #fff; }
.logo--light .logo__mark { filter: drop-shadow(0 0 10px rgba(61, 108, 242, .45)); }

.nav { flex: 1; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 10px 12px; white-space: nowrap; border-radius: 10px;
	color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
}
.nav__list a:hover { background: rgba(21, 24, 58, .06); }
.nav__contacts { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header__phone { color: var(--ink); text-decoration: none; font-weight: 600; margin-right: 8px; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .25s var(--ease), top .25s; }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

@media (max-width: 1320px) {
	.header__phone { display: none; }
}
@media (max-width: 1340px) {
	.nav__list a { padding: 10px 8px; font-size: 14px; }
}
@media (max-width: 1360px) {
	.header__actions .icon-btn { display: none; }
}
@media (max-width: 1140px) {
	.nav__list a { padding: 10px 7px; font-size: 14px; }
	.header__in { gap: 16px; }
}
body { overflow-x: clip; }
@media (max-width: 960px) {
	.header__in { height: 64px; }
	.burger { display: block; }
	.header__actions .icon-btn, .header__actions .btn { display: none; }
	.nav {
		position: fixed; inset: calc(64px + var(--adminbar, 0px)) 0 auto 0; z-index: 49;
		max-height: calc(100vh - 64px - var(--adminbar, 0px)); overflow-y: auto; overscroll-behavior: contain;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 12px var(--gut) 24px;
		transform: translateY(-8px); opacity: 0; visibility: hidden;
		transition: opacity .2s, transform .25s var(--ease), visibility .2s;
	}
	.nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 4px; font-size: 18px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__contacts { display: flex; flex-direction: column; gap: 4px; padding-top: 16px; }
	.nav__phone { font: 700 22px/1.2 var(--display); color: var(--ink); text-decoration: none; }
	.nav__hours { color: var(--muted); font-size: 14px; }
}

/* ============ Первый экран ============ */
.hero { padding: clamp(32px, 6vw, 80px) 0 clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title {
	font: 700 clamp(30px, 3.7vw, 54px)/1.08 var(--display);
	letter-spacing: -.03em; margin: 0 0 24px; text-wrap: balance;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 34em; margin: 0 0 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero__note { margin: 0; color: var(--muted); font-size: 15px; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
}

/* ---- мини-выдача ---- */
.serp {
	background: var(--card); border: 1px solid var(--line); border-radius: 24px;
	box-shadow: var(--shadow); padding: 20px;
}
.serp__bar {
	display: flex; align-items: center; gap: 8px;
	border: 2px solid var(--ink); border-radius: 14px; padding: 4px 4px 4px 14px;
	transition: border-color .2s;
}
.serp__bar:focus-within { border-color: var(--blue); }
.serp__icon { color: var(--muted); display: inline-flex; }
.serp__input {
	flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
	font: 500 17px/1.2 var(--text); color: var(--ink); padding: 12px 4px;
}
.serp__input::placeholder { color: var(--muted); }
.serp__go { border: 0; background: var(--mark); color: var(--ink); font-weight: 600; border-radius: 10px; padding: 0 18px; height: 44px; }
.serp__go:hover { background: #FFD92E; }
.serp__hint { margin: 10px 4px 14px; font-size: 13px; color: var(--muted); }

.serp__list { position: relative; list-style: none; margin: 0; padding: 0; height: calc(var(--row) * 7); }
.serp__row {
	position: absolute; left: 0; right: 0; top: 0; height: var(--row);
	display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px;
	padding: 0 12px; border-radius: 14px;
	transform: translateY(calc(var(--slot, 0) * var(--row)));
	transition: transform .55s var(--ease), background-color .4s, box-shadow .4s;
}
.serp__pos { font: 700 15px/1 var(--display); color: var(--line-2); text-align: center; transition: color .3s; }
.serp__body { display: grid; gap: 7px; min-width: 0; }
.serp__row--ghost i { display: block; height: 8px; border-radius: 4px; background: #ECEEF4; }
.serp__row--ghost i:first-child { height: 7px; background: #E3F1EA; width: 36% !important; }
.serp__row--ghost i:nth-child(2) { height: 11px; background: #E2E6FB; }

.serp__row--you { z-index: 2; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.serp__row--you .serp__body { gap: 3px; }
.serp__row--you .serp__pos { color: var(--ink); font-size: 18px; }
.serp__url { font-size: 13px; color: var(--green); }
.serp__title { font-weight: 600; color: var(--blue); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__title mark { background: var(--mark); color: inherit; padding: 0 2px; border-radius: 3px; }
.serp__snip { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.serp__delta[hidden] { display: none; }
.serp__delta:not([hidden]) { animation: pop .4s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.serp__delta { display: inline-flex; align-items: center; gap: 2px; color: var(--green); font: 700 13px/1 var(--display); }
.serp__row--you.is-climbing { box-shadow: inset 0 0 0 2px var(--blue), 0 10px 24px -12px rgba(43, 68, 232, .5); }
.serp__row--you.is-top { background: var(--mark-soft); box-shadow: inset 0 0 0 2px var(--mark); }
.serp__row--you.is-top .serp__pos { color: var(--green); }

@media (max-width: 520px) {
	:root { --row: 70px; }
	.serp { padding: 14px; border-radius: 20px; }
	.serp__go { padding: 0 12px; }
}

/* ============ Секции ============ */
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--paper { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--ink { background: var(--ink); color: #E9EAF5; }
.section--ink .muted { color: #A9ACC8; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 48px); }

/* ---- Цены: сниппеты ---- */
.split { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split__aside { position: sticky; top: 104px; }
.aside-card { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; }
.aside-card__t { font: 600 18px/1.3 var(--display); margin: 0 0 8px; }
.aside-card p { margin: 0 0 18px; color: var(--ink-2); font-size: 15px; }
.link-doc { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 15px; }

.results-h { font: 600 14px/1.2 var(--text); color: var(--muted); margin: 40px 0 6px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.results-h:first-child { margin-top: 0; }
.results { list-style: none; margin: 0; padding: 0; }
.result {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px;
	padding: 20px 0; border-bottom: 1px solid var(--line);
}
.result__link { text-decoration: none; display: grid; gap: 4px; }
.result__url { font-size: 14px; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 52ch; }
.result__title { font: 600 clamp(18px, 1.7vw, 21px)/1.3 var(--text); color: var(--blue); }
.result__link:hover .result__title { text-decoration: underline; text-underline-offset: .18em; }
.result__snip { grid-column: 1; margin: 6px 0 0; color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.result__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; font: 700 clamp(17px, 1.6vw, 20px)/1 var(--display); white-space: nowrap; }
.results--wide .result { grid-template-columns: 1fr; }

@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; }
	.split__aside { position: static; }
	.result { grid-template-columns: 1fr; }
	.result__price { grid-column: 1; grid-row: auto; margin-top: 10px; font-size: 18px; }
}

/* ---- Кейсы: таблица позиций ---- */
.cases { display: grid; gap: 24px; }
.case { background: #1D2150; border: 1px solid #2C3170; border-radius: var(--r-card); padding: clamp(18px, 3vw, 28px); }
.case__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.case__site { font: 700 clamp(19px, 2vw, 24px)/1.2 var(--display); margin: 0 0 4px; color: #fff; }
.case__niche { margin: 0; color: #A9ACC8; font-size: 15px; }
.case__report { color: #fff; font-size: 15px; white-space: nowrap; }
.case__report:hover { color: var(--mark); }
.case__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -4px; padding: 0 4px; }
.pos { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 4px; font-size: 15px; }
.pos th, .pos td { text-align: center; padding: 0; }
.pos thead th { font-weight: 500; font-size: 12px; color: #8C90B3; padding: 0 0 6px; white-space: nowrap; }
.pos thead th:first-child, .pos tbody th { text-align: left; }
.pos tbody th { font-weight: 500; color: #E9EAF5; padding-right: 12px; white-space: nowrap; }
.pos__freq { color: #8C90B3; font-size: 13px; width: 1%; padding-right: 8px !important; white-space: nowrap; }
.pos__cell {
	position: relative; height: 40px; min-width: 52px; border-radius: 8px;
	font: 700 15px/40px var(--display); color: #fff;
	background: rgba(255, 255, 255, .06);
}
.pos__cell.is-top { background: var(--mark); color: var(--ink); }
.pos__cell.is-near { background: #3D4BB8; }
.pos__cell.is-page { background: rgba(255, 255, 255, .1); }
.pos__cell.is-far { background: transparent; box-shadow: inset 0 0 0 1px #3A3F80; color: #A9ACC8; }
.pos__d { position: absolute; top: 3px; right: 4px; display: inline-flex; align-items: center; font: 600 10px/1 var(--text); font-style: normal; }
.pos__d svg { width: 8px; height: 8px; }
.pos__d--up { color: #3BD48A; }
.pos__cell.is-top .pos__d--up { color: var(--green); }
.pos__d--down { color: #FF8A80; }

/* появление ячеек слева направо — время идёт, позиции растут */
.js .case .pos__cell { opacity: 0; transform: scale(.86); }
.js .case.is-in .pos__cell { opacity: 1; transform: none; transition: opacity .35s ease, transform .45s var(--ease); transition-delay: calc(var(--i) * 140ms + 100ms); }

.more-cases { margin-top: 28px; color: #A9ACC8; max-width: 860px; }
.more-cases a { color: #fff; }
.more-cases a:hover { color: var(--mark); }

/* ---- Этапы ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.step { padding: 24px 24px 8px 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line); }
.step__n { display: block; font: 800 44px/1 var(--display); color: var(--ink); margin-bottom: 18px; letter-spacing: -.04em; }
.step__t { font: 600 18px/1.3 var(--display); margin: 0 0 10px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.step:nth-child(3) { padding-left: 0; border-left: 0; }
	.step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; }
	.step, .step + .step { padding: 22px 0 10px; border-left: 0; }
	.step + .step { border-top: 1px solid var(--line); }
}

/* ---- «Вместе с этим ищут» ---- */
.related { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.related a {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line);
	color: var(--ink); text-decoration: none; font-size: 15px;
	transition: border-color .2s, color .2s;
}
.related a svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.related a:hover { border-color: var(--blue); color: var(--blue); }
.related a:hover svg { color: var(--blue); }

/* ---- О студии ---- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { margin: 0; display: grid; gap: 0; border-top: 2px solid var(--ink); }
.facts div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font: 700 22px/1 var(--display); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ============ Заявка ============ */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact__ways { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.contact__ways a, .contact__ways .linklike { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; color: var(--ink); text-decoration: none; }
.contact__ways a:hover, .contact__ways .linklike:hover { color: var(--blue); }
.contact__ways li:first-child { display: grid; gap: 2px; margin-bottom: 6px; }
.contact__phone { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--display) !important; letter-spacing: -.02em; }
.contact__ways li:first-child span { color: var(--muted); font-size: 15px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); }
.form-card__note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* Contact Form 7 */
.wpcf7 form { display: grid; gap: 16px; }
.wpcf7 label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.wpcf7 br { display: none; }
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 input[type="number"], .wpcf7 textarea {
	width: 100%; min-height: 54px; padding: 14px 16px;
	border: 1.5px solid var(--line-2); border-radius: var(--r-ctl); background: #fff;
	font: 400 17px/1.3 var(--text); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(43, 68, 232, .14); }
.wpcf7 input[type="submit"], .wpcf7-submit {
	width: 100%; min-height: 56px; border: 0; border-radius: var(--r-ctl);
	background: var(--blue); color: #fff; font: 600 17px/1 var(--text); cursor: pointer; transition: background-color .2s;
}
.wpcf7-submit:hover { background: var(--blue-d); }
.wpcf7-spinner { position: absolute; }
.wpcf7-not-valid-tip { font-size: 13px; color: var(--red); font-weight: 400; }
.wpcf7 .wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 14px !important; border-radius: var(--r-ctl); font-size: 15px; border-width: 1.5px !important; }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--green) !important; background: #EAF6F0; }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--red) !important; background: #FDEEEC; }
.aiowps-captcha, .wpcf7 .aiowps-captcha { display: grid; gap: 8px; font-size: 15px; }

/* ============ Внутренние страницы ============ */
.phero { background: var(--card); border-bottom: 1px solid var(--line); padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--green); margin-bottom: 16px; }
.crumbs a { color: var(--green); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 70vw; }
.query {
	display: flex; align-items: center; gap: 14px;
	border: 2px solid var(--ink); border-radius: 18px; padding: 10px 10px 10px 20px;
	background: #fff; box-shadow: var(--shadow);
}
.query__icon { color: var(--muted); display: inline-flex; flex: none; }
.query__icon svg { width: 24px; height: 24px; }
.query__text {
	flex: 1; min-width: 0; margin: 0; padding: 8px 0;
	font: 700 clamp(22px, 3.4vw, 40px)/1.15 var(--display); letter-spacing: -.02em; text-wrap: balance;
}
.query__text::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 6px; vertical-align: -.08em; background: var(--blue); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.query__go { flex: none; align-self: stretch; display: inline-flex; align-items: center; padding: 0 24px; border-radius: 12px; background: var(--mark); color: var(--ink); font-weight: 600; text-decoration: none; }
.query__go:hover { background: #FFD92E; color: var(--ink); }
.phero__meta { margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.phero__meta a { color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
@media (max-width: 640px) {
	.query { flex-wrap: wrap; padding: 12px 14px; gap: 10px; }
	.query__icon { display: none; }
	.query__go { width: 100%; justify-content: center; min-height: 48px; }
}

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); align-items: start; }
.page-grid--single { grid-template-columns: minmax(0, 1fr); }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; }
.side-card--sticky { position: sticky; top: 100px; }
.side-card__t { font: 600 18px/1.2 var(--display); margin: 0 0 12px; }
.side-prices { list-style: none; margin: 0 0 18px; padding: 0; }
.side-prices li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.side-prices b { white-space: nowrap; }
@media (max-width: 960px) {
	.page-grid { grid-template-columns: 1fr; }
	.side-card--sticky { position: static; }
}

/* ---- Типографика текста ---- */
.prose { max-width: 72ch; font-size: 17px; line-height: 1.7; color: var(--ink-2); overflow-wrap: anywhere; }
.page-body { max-width: none; }
.page-body > * { max-width: 72ch; }
.prose h2 { font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); margin: 1.8em 0 .6em; }
.prose h3 { font: 600 clamp(18px, 1.8vw, 21px)/1.3 var(--display); color: var(--ink); margin: 1.6em 0 .5em; }
.prose h4 { font-size: 18px; color: var(--ink); margin: 1.4em 0 .4em; }
.prose > :first-child, .prose > div:first-child > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1.1em; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose ul li::marker { color: var(--blue); }
.prose [align="center"] { text-align: left; }
.prose img { border-radius: 12px; }
.prose .alignleft { float: left; margin: 6px 24px 12px 0; max-width: 45%; }
.prose .alignright { float: right; margin: 6px 0 12px 24px; max-width: 45%; }
.prose .aligncenter { display: block; margin: 1.4em auto; }
.prose::after { content: ""; display: table; clear: both; }
.prose h2, .prose h3 { clear: both; }
@media (max-width: 560px) { .prose .alignleft, .prose .alignright { float: none; margin: 1em 0; max-width: 100%; } }
.prose table { width: 100% !important; max-width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; background: transparent !important; display: block; overflow-x: auto; }
.prose td, .prose th { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.prose table table { display: table; margin: 0; }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 12px; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--mark); color: var(--ink); }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.prose .gallery-item { margin: 0; }

/* ============ Подвал ============ */
.footer { background: var(--ink); color: #A9ACC8; padding: clamp(48px, 6vw, 80px) 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer__brand p { margin: 18px 0 0; max-width: 30ch; }
.footer__h { color: #fff; font-weight: 600; margin: 0 0 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { color: #D7D9EC; text-decoration: none; }
.footer a:hover { color: var(--mark); }
.footer__contacts { display: grid; gap: 8px; align-content: start; }
.footer__phone { font: 700 18px/1.2 var(--display); color: #fff !important; }
.footer__legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid #2C3170; display: grid; gap: 6px; font-size: 13px; }
.footer__legal p { margin: 0; }
@media (max-width: 960px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

.to-top {
	position: fixed; left: 20px; bottom: 20px; z-index: 40;
	width: 44px; height: 44px; display: grid; place-items: center;
	border-radius: var(--r-ctl); background: var(--ink); color: #fff;
	opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--mark); }

/* Пагинация */
.nav-links { display: flex; gap: 8px; margin-top: 24px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; }
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* =====================================================================
   СТАТЬИ
   ===================================================================== */
.phero__meta { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.phero__meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--line-2); margin: 0 12px 3px -12px; vertical-align: middle; }

.article-cover { margin: 0 0 32px; border-radius: 24px; overflow: hidden; background: #E2E6FB; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
.article-cover__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }

.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 26px; margin: 0 0 36px; max-width: 72ch; }
.toc__t { font: 600 16px/1.2 var(--display); margin: 0 0 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; columns: 2; column-gap: 32px; }
.toc li { counter-increment: t; break-inside: avoid; padding: 6px 0; display: flex; gap: 10px; font-size: 15px; line-height: 1.4; }
.toc li::before { content: counter(t); flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--paper); font: 700 11px/22px var(--display); text-align: center; color: var(--muted); }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--blue); }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.side-toc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.side-toc__t { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.side-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; max-height: 40vh; overflow: auto; }
.side-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: 14px; line-height: 1.35; color: var(--ink-2); text-decoration: none; border-left: 2px solid transparent; }
.side-toc a:hover { background: var(--paper); }
.side-toc a.is-active { border-left-color: var(--blue); color: var(--blue); background: #EEF1FE; }
@media (max-width: 960px) { .side-toc { display: none; } }

/* Статья: карточка цен в правом верхнем углу, текст обтекает её и дальше идёт на всю ширину */
.page-flow { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px); }
.page-flow::after { content: ""; display: table; clear: both; }
.page-flow .page-side { float: right; width: 320px; margin: 0 0 32px 48px; }
.page-flow .page-body, .page-flow .prose, .page-flow .toc, .page-flow .faq { max-width: none; }
.page-flow .prose { font-size: 18px; }
.page-flow .prose > * { max-width: none; }
.page-flow .toc, .page-flow .inline-cta, .page-flow .faq, .page-flow .table-wrap, .page-flow .article-cover { display: flow-root; }
.page-flow .inline-cta { display: grid; }
@media (max-width: 960px) {
	.page-flow .page-side { float: none; width: auto; margin: 0 0 28px; }
}
.prose { max-width: 72ch; }
.prose .lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); padding-left: 20px; border-left: 4px solid var(--mark); }
.prose h2 { position: relative; padding-top: 28px; scroll-margin-top: 96px; }
.prose h2::before { content: ""; position: absolute; top: 0; left: 0; width: 48px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--mark)); }
.prose h3 { padding-left: 14px; border-left: 3px solid var(--blue); }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 30px; }
.prose ul > li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 14px; height: 14px; border-radius: 4px; background: var(--mark); box-shadow: inset 0 0 0 2px var(--ink); transform: rotate(45deg) scale(.7); }
.prose ol { counter-reset: o; list-style: none; padding-left: 0; }
.prose ol > li { counter-increment: o; position: relative; padding-left: 40px; }
.prose ol > li::before { content: counter(o); position: absolute; left: 0; top: .05em; width: 28px; height: 28px; border-radius: 8px; background: var(--ink); color: #fff; font: 700 13px/28px var(--display); text-align: center; }
.prose a { font-weight: 500; }
.prose strong { background: linear-gradient(transparent 62%, var(--mark-soft) 62%); }
.table-wrap { overflow-x: auto; margin: 1.6em 0; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.prose .table-wrap table { margin: 0; display: table; }
.prose .table-wrap td { border-bottom-color: var(--line); }
.prose .table-wrap tr:nth-child(even) td { background: #F8F9FC; }

.inline-cta {
	margin: 2.2em 0; padding: 24px 28px; border-radius: 20px;
	background: radial-gradient(120% 140% at 100% 0%, #2B44E8 0%, var(--ink) 60%); color: #fff;
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center;
}
.inline-cta p { margin: 0; color: #C9CCE6; font-size: 15px; }
.prose .inline-cta__t { font: 700 20px/1.25 var(--display); color: #fff; margin-bottom: 6px; }
.inline-cta .btn { grid-row: 1; grid-column: 2; }
.inline-cta__phone { grid-column: 1 / -1; color: #fff !important; font-weight: 600; text-decoration: none; opacity: .85; }
@media (max-width: 640px) { .inline-cta { grid-template-columns: 1fr; } .inline-cta .btn { grid-row: auto; grid-column: 1; } }

.faq { margin-top: 48px; max-width: 72ch; }
.faq__h { font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--display); margin: 0 0 18px; letter-spacing: -.02em; }
.faq__item { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; transition: border-color .2s; }
.faq__item[open] { border-color: var(--blue); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; font-weight: 600; font-size: 17px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--mark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 2v8M2 6h8' stroke='%2315183A' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; transition: transform .25s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { margin: 0; padding: 0 20px 20px; color: var(--ink-2); }

/* =====================================================================
   ГРАФИКА
   ===================================================================== */
.btn--mark { background: var(--mark); color: var(--ink); }
.btn--mark:hover { background: #FFD92E; color: var(--ink); }

/* ---- Ракета: пламя дрожит всегда ---- */
.rk-flame { transform-origin: 0 38px; animation: flame .12s ease-in-out infinite alternate; }
@keyframes flame { from { transform: scaleY(.82) scaleX(.94); } to { transform: scaleY(1.12) scaleX(1.04); } }

/* ---- Первый экран: фон и полёт ---- */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__bg svg { width: 100%; height: 100%; display: block; }
.orbit { position: absolute; z-index: 4; pointer-events: none; left: -70px; top: -70px; width: calc(100% + 100px); height: calc(100% + 160px); max-width: none; overflow: visible; }
.orbit__ring { transform-box: fill-box; transform-origin: center; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.7); opacity: 0; } }
@media (max-width: 960px) { .orbit { left: -30px; width: calc(100% + 50px); } }
@media (max-width: 520px) { .orbit { display: none; } }
.hero__hot { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; filter: drop-shadow(0 0 6px rgba(255, 200, 0, .8)); }
.hero.is-launch .hero__hot { animation: hot 2.1s cubic-bezier(.5, 0, .25, 1) forwards; }
@keyframes hot {
	0% { stroke-dashoffset: 1; opacity: 1; }
	80% { opacity: 1; }
	100% { stroke-dashoffset: 0; opacity: 0; }
}
.hero__rocket { opacity: 0; transition: opacity .3s; }
.hero.is-launch .hero__rocket { opacity: 1; }
.hero__sparks path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.6s ease-in-out infinite; }
.hero__sparks path:nth-child(2) { animation-delay: .9s; }
.hero__sparks path:nth-child(3) { animation-delay: 1.7s; }
@keyframes twinkle { 0%, 100% { transform: scale(.6) rotate(0); opacity: .5; } 50% { transform: scale(1.15) rotate(45deg); opacity: 1; } }

.hero__visual { position: relative; }
.serp { position: relative; z-index: 2; }
.chip {
	position: absolute; z-index: 3; margin: 0;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 14px 8px 8px; border-radius: 999px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
	font-size: 13px; font-weight: 500; color: var(--ink-2); white-space: nowrap;
	animation: bob 6s ease-in-out infinite;
}
.chip b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--mark); color: var(--ink); font: 700 13px/1 var(--display); }
.chip--a { top: -22px; right: 90px; }
.chip--b { bottom: -20px; left: -34px; animation-delay: -3s; }
.chip--b b { background: var(--ink); color: #fff; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 1100px) { .chip--b { left: 12px; } }
@media (max-width: 520px) { .chip { display: none; } }

/* ---- Фавиконы в сниппетах ---- */
.result__url { display: flex; align-items: center; gap: 10px; }
.result__url > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.fav {
	flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
	background: var(--c); color: #fff; box-shadow: 0 4px 10px -4px var(--c);
	transition: transform .3s var(--ease);
}
.fav svg { width: 16px; height: 16px; }
.result__link:hover .fav { transform: rotate(-8deg) scale(1.08); }

/* ---- Мини-график в кейсе ---- */
.case__head { flex-wrap: wrap; }
.case__head > div:first-child { flex: 1 1 220px; }
.case__trend { margin: 0; display: grid; gap: 4px; justify-items: end; flex: 0 1 260px; }
.case__trend figcaption { font-size: 12px; color: #A9ACC8; }
.spark { width: 100%; max-width: 260px; height: 70px; overflow: visible; }
.spark__area { fill: rgba(255, 226, 90, .12); }
.spark__line { fill: none; stroke: var(--mark); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.spark__dot { fill: var(--mark); stroke: #1D2150; stroke-width: 3; }
.js .case .spark__line { stroke-dashoffset: 1; }
.js .case .spark__dot, .js .case .spark__area { opacity: 0; }
.js .case.is-in .spark__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s cubic-bezier(.5, 0, .2, 1) .2s; }
.js .case.is-in .spark__area { opacity: 1; transition: opacity .8s ease 1.2s; }
.js .case.is-in .spark__dot { opacity: 1; transition: opacity .3s ease 1.5s; animation: dot 2s ease-out 1.8s infinite; }
@keyframes dot { 0% { stroke-width: 3; } 50% { stroke-width: 9; stroke: rgba(255, 226, 90, .25); } 100% { stroke-width: 3; } }
@media (max-width: 640px) { .case__trend { justify-items: start; order: 3; flex-basis: 100%; } }

/* ---- Иллюстрации этапов ---- */
.step__top { display: flex; justify-content: space-between; align-items: flex-start; height: 120px; margin-bottom: 18px; }
.step__top .step__n { margin-bottom: 0; }
.step__art { width: 112px; height: auto; max-height: 120px; object-fit: contain; flex: none; margin: -14px -6px 0 0; filter: drop-shadow(0 14px 18px rgba(21, 24, 58, .18)); transition: transform .5s var(--ease); }
.step:hover .step__art { transform: translateY(-6px) rotate(-3deg); }

/* ---- «В ТОП!» ---- */
.launch {
	position: relative; overflow: hidden; isolation: isolate;
	background: radial-gradient(120% 90% at 80% 110%, #2B44E8 0%, #1D2150 42%, var(--ink) 72%);
	color: #fff; padding: clamp(64px, 9vw, 128px) 0;
}
.launch__sky { position: absolute; inset: 0; z-index: -1; }
.launch__sky i {
	position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
	border-radius: 50%; background: #fff; opacity: .7;
	animation: star 3s ease-in-out infinite; animation-delay: var(--d);
}
@keyframes star { 0%, 100% { opacity: .25; } 50% { opacity: .95; } }
.launch__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.launch__big {
	margin: 0 0 8px; font: 800 clamp(64px, 12vw, 168px)/.9 var(--display); letter-spacing: -.04em;
	color: transparent;
	background: linear-gradient(180deg, var(--mark) 0 50%, rgba(255, 255, 255, .16) 50% 100%) no-repeat 0 100% / 100% 200%;
	-webkit-background-clip: text; background-clip: text;
	transition: background-position 1.6s cubic-bezier(.5, 0, .2, 1) .6s;
}
.launch.is-in .launch__big { background-position: 0 0; }
.launch__h { font: 700 clamp(22px, 2.6vw, 32px)/1.2 var(--display); letter-spacing: -.02em; margin: 0 0 16px; max-width: 22em; text-wrap: balance; }
.launch__sub { color: #C9CCE6; margin: 0 0 32px; max-width: 34em; }

.launch__scene { position: relative; height: 440px; }
.launch__scale {
	position: absolute; right: 0; top: 0; bottom: 30px; margin: 0; padding: 0; list-style: none;
	display: flex; flex-direction: column-reverse; justify-content: space-between;
	border-right: 2px dashed rgba(255, 255, 255, .25); padding-right: 14px;
}
.launch__scale li { font: 700 14px/1 var(--display); color: rgba(255, 255, 255, .35); text-align: right; transition: color .4s; }
.launch__scale li.is-one { color: var(--ink); background: var(--mark); border-radius: 999px; padding: 8px 12px; margin-right: -6px; }
.launch.is-in .launch__scale li:not(.is-one) { color: rgba(255, 255, 255, .8); }
.launch.is-in .launch__scale li:nth-child(1) { transition-delay: .3s; }
.launch.is-in .launch__scale li:nth-child(2) { transition-delay: .6s; }
.launch.is-in .launch__scale li:nth-child(3) { transition-delay: .9s; }
.launch.is-in .launch__scale li:nth-child(4) { transition-delay: 1.15s; }
.launch.is-in .launch__scale li:nth-child(5) { transition-delay: 1.35s; }

.launch__ship { position: absolute; left: 30%; bottom: 10px; width: 150px; transform: translateY(0); }
.launch__rocket { position: relative; z-index: 2; width: 150px; height: auto; display: block; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); transform-origin: 50% 70%; }
.launch.is-in .launch__rocket { animation: wobble 1.6s ease-in-out 2.5s infinite; }
@keyframes wobble { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.launch__trail {
	position: absolute; z-index: 1; left: 50%; top: 290px; width: 26px; height: 0; transform: translateX(-50%);
	background: linear-gradient(to bottom, rgba(255, 226, 90, .9), rgba(255, 122, 61, .35) 40%, rgba(255, 255, 255, 0));
	border-radius: 13px; filter: blur(3px);
}
.launch__smoke { position: absolute; left: 30%; bottom: 0; width: 150px; height: 60px; }
.launch__smoke i {
	position: absolute; bottom: 0; left: 50%; width: 70px; height: 70px; margin-left: -35px; border-radius: 50%;
	background: radial-gradient(circle at 40% 40%, #fff, #C9CEE6 70%); opacity: 0;
}
.launch.is-in .launch__ship { animation: liftoff 2.2s cubic-bezier(.55, 0, .2, 1) .3s forwards, hover 3.2s ease-in-out 2.5s infinite; }
.launch.is-in .launch__trail { animation: trail 2.2s cubic-bezier(.55, 0, .2, 1) .3s forwards; }
.launch.is-in .launch__smoke i { animation: puff 2.4s ease-out forwards; }
.launch__smoke i:nth-child(1) { --dx: -70px; animation-delay: .25s !important; }
.launch__smoke i:nth-child(2) { --dx: 70px; animation-delay: .32s !important; }
.launch__smoke i:nth-child(3) { --dx: -120px; animation-delay: .4s !important; }
.launch__smoke i:nth-child(4) { --dx: 120px; animation-delay: .45s !important; }
.launch__smoke i:nth-child(5) { --dx: -30px; animation-delay: .55s !important; }
.launch__smoke i:nth-child(6) { --dx: 30px; animation-delay: .6s !important; }
.launch__smoke i:nth-child(7) { --dx: 0px; animation-delay: .3s !important; }
@keyframes liftoff { from { transform: translateY(0); } to { transform: translateY(-90px); } }
@keyframes hover { 0%, 100% { transform: translateY(-90px); } 50% { transform: translateY(-102px); } }
@keyframes trail { from { height: 0; } to { height: 130px; } }
@keyframes puff {
	0% { opacity: 0; transform: translate(0, 0) scale(.3); }
	20% { opacity: .9; }
	100% { opacity: 0; transform: translate(var(--dx), -30px) scale(1.6); }
}
@media (max-width: 860px) {
	.launch__grid { grid-template-columns: 1fr; }
	.launch__scene { height: 360px; order: -1; }
	.launch__ship, .launch__smoke { left: calc(50% - 100px); }
}

/* ---- Шапка внутренних страниц ---- */
.phero { position: relative; overflow: hidden; isolation: isolate;
	background-image: radial-gradient(#D3D7EA 1.2px, transparent 1.3px); background-size: 24px 24px; background-color: var(--card); }
.phero__art { position: absolute; z-index: -1; right: max(0px, calc((100vw - var(--wrap)) / 2 - 120px)); top: 8px; width: 520px; height: 220px; overflow: visible; }
.phero__rk { animation: bob 5s ease-in-out infinite; }
.phero .wrap { position: relative; }
@media (max-width: 900px) { .phero__art { opacity: .5; right: -200px; } }

/* ============ «В ТОП!» v2 — ракета над выдачей с первым местом ============ */
.launch__scene--top1 { height: 460px; display: grid; place-items: center; }
.launch__halo { position: absolute; left: 50%; top: 44%; width: 340px; height: 340px; margin: -170px 0 0 -170px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 226, 90, .55), rgba(255, 226, 90, 0) 65%); opacity: 0; transform: scale(.6); }
.launch__top1 { position: relative; z-index: 2; width: min(300px, 70vw); height: auto; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45));
	opacity: 0; transform: translateY(80px) scale(.9); }
.launch__pin { position: absolute; z-index: 3; left: 2%; top: 34%; background: var(--mark); color: var(--ink); font: 700 14px/1 var(--display);
	padding: 10px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0, 0, 0, .3); opacity: 0; transform: scale(.4) rotate(-8deg); }
.launch.is-in .launch__top1 { animation: t1in 1.2s var(--ease) .2s forwards, t1float 4s ease-in-out 1.4s infinite; }
.launch.is-in .launch__halo { animation: haloin .9s ease-out .9s forwards, halo 2.8s ease-in-out 1.8s infinite; }
.launch.is-in .launch__pin { animation: pinin .5s cubic-bezier(.3, 1.6, .5, 1) 1.3s forwards; }
@keyframes t1in { to { opacity: 1; transform: none; } }
@keyframes t1float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes haloin { to { opacity: 1; transform: scale(1); } }
@keyframes halo { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .6; transform: scale(1.12); } }
@keyframes pinin { to { opacity: 1; transform: rotate(-8deg); } }
@media (max-width: 860px) { .launch__scene--top1 { height: 380px; } .launch__top1 { width: 230px; } .launch__pin { left: 4%; top: 20%; } }

/* ============ Портфолио ============ */
.pf-sec { overflow: hidden; }
.pf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.pf__card { margin: 0; position: relative; background: var(--card); border-radius: var(--r-card); overflow: hidden; outline: none;
	box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(21, 24, 58, .35);
	transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.js .pf__card { opacity: 0; }
.js .pf__card.is-in { opacity: 1; animation: pfin .8s var(--ease) var(--d, 0s) backwards; }
@keyframes pfin { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.pf__card:hover, .pf__card:focus-visible { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 1px 0 var(--line), 0 30px 60px -24px rgba(43, 68, 232, .45); }
.pf__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #ECEEF5; border-bottom: 1px solid var(--line); }
.pf__bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; }
.pf__bar i:nth-child(2) { background: #FEBC2E; } .pf__bar i:nth-child(3) { background: #28C840; }
.pf__bar span { flex: 1; margin-left: 8px; height: 20px; border-radius: 6px; background: #fff; font: 500 11px/20px var(--text); color: var(--muted);
	padding: 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf__shot { position: relative; height: 300px; overflow: hidden; background: #DDE0EA; }
.pf__shot img { display: block; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: top;
	transform: translateY(0); transition: transform var(--t, 3s) cubic-bezier(.45, 0, .55, 1); will-change: transform; }
.pf__card:hover .pf__shot img, .pf__card:focus-visible .pf__shot img { transform: translateY(calc(-100% + 300px)); }
.pf__shot::after { content: ""; position: absolute; inset: auto 0 0; height: 60px; background: linear-gradient(transparent, rgba(21, 24, 58, .25)); pointer-events: none; transition: opacity .3s; }
.pf__card:hover .pf__shot::after { opacity: 0; }
.pf__cap { display: grid; gap: 4px; padding: 16px 18px 18px; }
.pf__cap b { font: 600 17px/1.25 var(--display); }
.pf__cap span { color: var(--muted); font-size: 15px; }
.pf__cap em { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-style: normal; }
.pf__cap em i { font: 600 12px/1 var(--text); font-style: normal; padding: 6px 10px; border-radius: 999px; background: #EEF0FF; color: var(--blue); }
.pf__card--wide, .pf__more { grid-column: span 2; }
.pf__card--wide .pf__shot { height: 300px; }
.pf__more { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; padding: 28px; border-radius: var(--r-card);
	text-decoration: none; color: #fff; background: linear-gradient(135deg, var(--blue), #7B4DFF 60%, #D9443A); position: relative; overflow: hidden; min-height: 300px; }
.pf__more::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .18), transparent 30%); animation: spin 8s linear infinite; }
.pf__more > * { position: relative; }
.pf__more-n { font: 800 clamp(48px, 6vw, 72px)/1 var(--display); letter-spacing: -.04em; }
.pf__more-t { font: 500 18px/1.35 var(--text); max-width: 14em; }
@keyframes spin { to { transform: rotate(1turn); } }
@media (hover: none) {
	.pf__card.is-in .pf__shot img { animation: pfscroll calc(var(--t, 3s) * 2.2) ease-in-out 1.2s infinite alternate; }
}
@keyframes pfscroll { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(calc(-100% + 300px)); } }
@media (max-width: 960px) { .pf { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pf { grid-template-columns: 1fr; } .pf__card--wide, .pf__more { grid-column: auto; } .pf__more { min-height: 220px; } }

/* ============ Баннеры ============ */
.promo { padding: clamp(8px, 2vw, 24px) 0 clamp(40px, 5vw, 72px); }
.promo--foot { padding: clamp(40px, 5vw, 72px) 0; }
.promo__box { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
	gap: 24px 40px; padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px); border-radius: 28px; }
.promo--mid .promo__box { background: linear-gradient(115deg, #FFE25A 0%, #FFC83D 45%, #FF8A3D 100%); color: var(--ink); padding-right: clamp(24px, 14vw, 220px); }
.promo--foot .promo__box { background: radial-gradient(120% 140% at 0% 0%, #3A55FF 0%, #2B44E8 35%, #15183A 100%); color: #fff; grid-template-columns: auto minmax(0, 1fr) auto; }
.promo__shine { position: absolute; z-index: -1; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); transform: translateX(-100%); }
.promo.is-in .promo__shine { animation: shine 3.6s ease-in-out .4s infinite; }
@keyframes shine { 0% { transform: translateX(-100%); } 45%, 100% { transform: translateX(100%); } }
.promo__tag { display: inline-block; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; font: 700 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; background: var(--ink); color: var(--mark); }
.promo--foot .promo__tag { background: var(--mark); color: var(--ink); }
.promo__h { margin: 0 0 10px; font: 800 clamp(24px, 3.4vw, 42px)/1.08 var(--display); letter-spacing: -.03em; text-wrap: balance; }
.promo__num { display: inline-block; padding: 0 .18em; border-radius: .2em; background: var(--ink); color: var(--mark); transform: rotate(-2deg); }
.promo--foot .promo__num { background: var(--mark); color: var(--ink); }
.promo__sub { margin: 0; max-width: 36em; font-size: 16px; opacity: .85; }
.promo__cta { display: grid; gap: 12px; justify-items: center; }
.promo__link { font: 600 15px/1.2 var(--text); color: inherit; opacity: .8; }
.promo__link:hover { opacity: 1; color: inherit; }
.promo--mid .promo__art { position: absolute; z-index: -1; right: clamp(-10px, 2vw, 40px); top: 50%; width: clamp(90px, 10vw, 130px); height: auto;
	transform: translateY(-50%) rotate(28deg); filter: drop-shadow(0 18px 24px rgba(120, 50, 0, .35)); }
.promo--mid.is-in .promo__art { animation: promofly 3.2s ease-in-out infinite; }
@keyframes promofly { 0%, 100% { transform: translateY(-50%) rotate(28deg); } 50% { transform: translateY(-58%) rotate(24deg); } }
.promo--foot .promo__art { width: clamp(100px, 12vw, 170px); height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .4)); }
.promo--foot.is-in .promo__art { animation: medal 3.4s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes medal { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@media (max-width: 860px) {
	.promo__box, .promo--foot .promo__box { grid-template-columns: 1fr; }
	.promo__cta { justify-items: start; }
	.promo--mid .promo__box { padding-right: clamp(24px, 4vw, 56px); padding-bottom: 120px; }
	.promo--mid .promo__art { top: auto; bottom: -40px; right: 24px; transform: rotate(28deg); animation: none !important; }
	.promo--foot .promo__art { width: 110px; }
}

/* ============ География клиентов ============ */
.geo { overflow: hidden; }
.geo__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(24px, 3vw, 40px); }
.geo__head .h2 { margin: 0; color: #fff; }
.geo__kicker { margin: 0 0 10px; font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--mark); }
.geo__facts { display: flex; gap: clamp(20px, 4vw, 56px); margin: 0; }
.geo__facts dt { font-size: 14px; color: #A9ACC8; order: 2; }
.geo__facts div { display: flex; flex-direction: column-reverse; gap: 6px; }
.geo__facts dd { margin: 0; font: 800 clamp(28px, 3.4vw, 44px)/1 var(--display); color: #fff; letter-spacing: -.03em; }
.geo__map { position: relative; aspect-ratio: 1000 / 383; }
.geo__dots, .geo__arcs { position: absolute; inset: 0; width: 100%; height: 100%; }
.geo__dots { opacity: .45; }
.geo__arcs path { fill: none; stroke: var(--mark); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .85; vector-effect: non-scaling-stroke; }
.geo.is-in .geo__arcs path { animation: arc 1.4s var(--ease) forwards; animation-delay: calc(var(--i) * 140ms + .4s); }
@keyframes arc { to { stroke-dashoffset: 0; } }
.geo__pins { list-style: none; margin: 0; padding: 0; }
.geo__pin { position: absolute; width: 0; height: 0; outline: none; }
.geo__pin i { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--mark); box-shadow: 0 0 0 3px rgba(255, 226, 90, .25);
	transform: scale(0); cursor: pointer; }
.geo__pin i::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--mark); opacity: 0; }
.geo.is-in .geo__pin i { animation: pinpop .5s cubic-bezier(.3, 1.6, .5, 1) forwards; animation-delay: calc(var(--i) * 140ms + 1s); }
.geo.is-in .geo__pin i::after { animation: ping 2.4s ease-out infinite; animation-delay: calc(var(--i) * 200ms + 1.6s); }
.geo__pin--hub i { left: -9px; top: -9px; width: 18px; height: 18px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25), 0 0 24px 6px rgba(255, 226, 90, .6); }
@keyframes pinpop { to { transform: scale(1); } }
@keyframes ping { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.geo__tip { position: absolute; z-index: 5; left: 0; bottom: 14px; transform: translate(-50%, 6px); width: max-content; max-width: 240px; padding: 10px 12px; border-radius: 12px;
	background: #fff; color: var(--ink); font: 400 13px/1.35 var(--text); box-shadow: 0 14px 30px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.geo__tip b { display: block; font: 700 14px/1.2 var(--display); margin-bottom: 4px; }
.geo__pin--left .geo__tip { transform: translate(-85%, 6px); }
.geo__pin:hover .geo__tip, .geo__pin:focus .geo__tip { opacity: 1; transform: translate(-50%, 0); }
.geo__pin--left:hover .geo__tip, .geo__pin--left:focus .geo__tip { transform: translate(-85%, 0); }
.geo__pin:hover, .geo__pin:focus { z-index: 6; }
.geo__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; }
.geo__list li { padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); color: #D5D7EC; font-size: 14px; }
@media (max-width: 700px) { .geo__map { margin: 0 calc(var(--gut) * -1); } .geo__pin i { left: -4px; top: -4px; width: 8px; height: 8px; } .geo__pin--hub i { left: -6px; top: -6px; width: 12px; height: 12px; } }

/* ============ Первый экран 2.0 ============ */
/* 1. «Живая» плашка и кинетический заголовок */
.hero__live { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px; padding: 8px 14px 8px 12px; border-radius: 999px;
	background: var(--card); border: 1px solid var(--line); font: 600 14px/1.2 var(--text); color: var(--ink-2); box-shadow: 0 6px 18px -10px rgba(21, 24, 58, .3); }
.hero__live i { position: relative; width: 9px; height: 9px; border-radius: 50%; background: #1DB954; }
.hero__live i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1DB954; animation: live 1.8s ease-out infinite; }
@keyframes live { to { transform: scale(2.8); opacity: 0; } }
.hero__title .w { display: inline-block; }
.js .hero__title .w { opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); animation: wordin .8s var(--ease) forwards; animation-delay: calc(var(--w) * 90ms + 120ms); }
@keyframes wordin { to { opacity: 1; transform: none; filter: none; } }
.hero__title .hl { position: relative; z-index: 0; white-space: nowrap; }
.hero__title .hl::before { content: ""; position: absolute; z-index: -1; left: -.08em; right: -.08em; bottom: .06em; height: .42em; border-radius: .12em;
	background: var(--mark); transform: scaleX(0); transform-origin: left; animation: mark .7s var(--ease) 1s forwards; }
@keyframes mark { to { transform: scaleX(1); } }
.hero__title .brand { position: relative; white-space: nowrap; }
.hero__title .brand::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.04em; height: .09em; border-radius: 1em; transform: scaleX(0); transform-origin: left;
	animation: mark .6s var(--ease) forwards; }
.hero__title .brand--ya::after { background: #FC3F1D; animation-delay: 1.35s; }
.hero__title .brand--g::after { background: linear-gradient(90deg, #4285F4 0 25%, #EA4335 25% 50%, #FBBC05 50% 75%, #34A853 75%); animation-delay: 1.6s; }

/* 2. Цифры со счётчиком */
.hero__stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px clamp(20px, 3vw, 40px); margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.hero__stats div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero__stats dd { margin: 0; font: 800 clamp(24px, 2.4vw, 32px)/1 var(--display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.hero__stats dt { font-size: 13px; line-height: 1.3; color: var(--muted); max-width: 9em; }
.hero__stats div:nth-child(3) dd { color: var(--blue); }
@media (max-width: 600px) { .hero__stats { grid-template-columns: repeat(2, auto); } }

/* 3. Объёмная выдача: наклон за курсором и блик */
.tilt { position: relative; transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d;
	transition: transform .5s var(--ease); will-change: transform; }
.tilt.is-active { transition: transform .08s linear; }
.tilt__glare { position: absolute; z-index: 3; inset: 0; border-radius: 24px; pointer-events: none; opacity: 0; transition: opacity .3s;
	background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 55%); mix-blend-mode: soft-light; }
.tilt.is-active .tilt__glare { opacity: 1; }
.tilt .serp { position: relative; }

/* 4. Салют и штамп, когда «ваш сайт» выходит на 1 место */
.serp__stamp { position: absolute; z-index: 4; right: 18px; top: 76px; padding: 8px 14px; border: 3px solid var(--red); border-radius: 10px; color: var(--red);
	font: 800 20px/1 var(--display); letter-spacing: .02em; background: rgba(255, 255, 255, .9); opacity: 0; transform: scale(2.2) rotate(-14deg); pointer-events: none; }
.serp.is-win .serp__stamp { animation: stamp .45s cubic-bezier(.3, 1.4, .5, 1) forwards, stampout .4s ease 2.2s forwards; }
@keyframes stamp { to { opacity: 1; transform: scale(1) rotate(-10deg); } }
@keyframes stampout { to { opacity: 0; transform: scale(.9) rotate(-10deg); } }
.serp__confetti { position: absolute; z-index: 4; left: 50%; top: 110px; width: 0; height: 0; pointer-events: none; }
.serp__confetti i { position: absolute; width: 8px; height: 12px; border-radius: 2px; background: var(--c); opacity: 0;
	animation: conf 1.4s cubic-bezier(.15, .6, .4, 1) forwards; animation-delay: var(--dl); }
@keyframes conf {
	0% { opacity: 1; transform: translate(0, 0) rotate(0); }
	100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); }
}

/* 5. Лента сайтов клиентов */
.hero__marquee { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 24px;
	padding: 0 var(--gut); max-width: calc(var(--wrap) + var(--gut) * 2 + 240px); margin-left: auto; margin-right: auto; }
.hero__mq-label { font: 600 15px/1.3 var(--display); color: var(--ink); text-decoration: none; max-width: 9em; }
.hero__mq-label span { display: inline-block; transition: transform .3s var(--ease); color: var(--blue); }
.hero__mq-label:hover span { transform: translateX(4px); }
.mq { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq__track { display: flex; gap: 16px; width: max-content; animation: mq 50s linear infinite; padding: 10px 0 18px; }
.mq:hover .mq__track { animation-play-state: paused; }
.mq__item { flex: none; display: block; width: 200px; height: 124px; border-radius: 12px; overflow: hidden; background: #DDE0EA;
	box-shadow: 0 1px 0 var(--line), 0 12px 24px -14px rgba(21, 24, 58, .45); transition: transform .35s var(--ease); }
.mq__item:hover { transform: translateY(-6px) scale(1.04); }
.mq__item img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (max-width: 700px) { .hero__marquee { grid-template-columns: 1fr; gap: 10px; } .mq__item { width: 150px; height: 93px; } }

/* ======================================================================
   Полировка 1.2: улучшения по каждому блоку
   ====================================================================== */

/* --- Шапка --- */
.header__progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
	background: linear-gradient(90deg, var(--blue), #7B4DFF, var(--mark)); pointer-events: none; z-index: 2; }
.header__in { transition: height .3s var(--ease); }
.header.is-scrolled .header__in { height: 62px; }
.nav__list { position: relative; }
.nav__list a { position: relative; transition: color .2s, background-color .2s; }
.nav__list a.is-current { color: var(--blue); }
.nav__list a.is-current::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--blue); }
.logo:hover .logo__mark { animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: translate(2px, -4px) rotate(-8deg); } 60% { transform: translate(-1px, -2px) rotate(4deg); } }
.btn--shine { position: relative; overflow: hidden; gap: 8px; }
.btn--shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: btnshine 4.5s ease-in-out 2s infinite; }
@keyframes btnshine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: #1DB954; box-shadow: 0 0 0 0 rgba(29, 185, 84, .6); animation: dotlive 2s infinite; }
@keyframes dotlive { 70% { box-shadow: 0 0 0 7px rgba(29, 185, 84, 0); } 100% { box-shadow: 0 0 0 0 rgba(29, 185, 84, 0); } }

/* --- Первый экран: прожектор, магниты, стрелка вниз --- */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: var(--spot-o, 0); transition: opacity .4s;
	background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(43, 68, 232, .12), transparent 70%); }
[data-magnet] { transition: transform .25s var(--ease); }
.hero__down { display: block; width: 26px; height: 42px; margin: 28px auto 0; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.hero__down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--blue); animation: scrolldot 1.8s ease-in-out infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero__down:hover { border-color: var(--blue); }

/* --- Кнопка со стрелкой --- */
.btn--arrow::after { content: "→"; display: inline-block; margin-left: 10px; transition: transform .3s var(--ease); }
.btn--arrow:hover::after { transform: translateX(5px); }

/* --- Услуги и цены: вкладки, сниппеты --- */
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 4px; margin: 0 0 24px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); max-width: 100%; overflow-x: auto; }
.tabs button { position: relative; z-index: 1; border: 0; background: none; padding: 10px 18px; border-radius: 999px; font: 600 15px/1 var(--text); color: var(--ink-2); cursor: pointer; white-space: nowrap; transition: color .25s; }
.tabs button[aria-selected="true"] { color: #fff; }
.tabs__pill { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: var(--pl, 4px); width: var(--pw, 60px); border-radius: 999px; background: var(--ink); transition: left .35s var(--ease), width .35s var(--ease); }
.results-group { transition: opacity .3s; }
.results-group.is-hidden { display: none; }
.result { position: relative; padding-left: 18px; margin-left: -18px; padding-right: 12px; border-radius: 14px; transition: background-color .25s, transform .25s var(--ease); }
.result::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; border-radius: 4px; background: var(--mark); transform: scaleY(0); transition: transform .3s var(--ease); }
.result:hover { background: var(--card); transform: translateX(4px); }
.result:hover::before { transform: scaleY(1); }
.result__more { display: inline-block; margin-left: 10px; font: 600 14px/1 var(--text); font-style: normal; color: var(--ink); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); vertical-align: middle; }
.result:hover .result__more { opacity: .7; transform: none; }
.result__price { transition: color .25s, transform .25s var(--ease); }
.result:hover .result__price { color: var(--blue); transform: scale(1.06); }
.result .fav, .result__url svg { transition: transform .3s var(--ease); }
.result:hover .result__url svg { transform: rotate(-8deg) scale(1.1); }

/* --- Портфолио: фильтр, курсор, прогресс --- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 28px; }
.chips button { border: 1px solid var(--line-2); background: var(--card); padding: 10px 16px; border-radius: 999px; font: 600 14px/1 var(--text); color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.chips button:hover { border-color: var(--ink); color: var(--ink); }
.chips button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pf { position: relative; }
.pf__card.is-out { display: none; }
.pf__card.is-flip { animation: pfin .5s var(--ease) both; }
.pf__cursor { position: absolute; z-index: 10; left: 0; top: 0; padding: 9px 14px; border-radius: 999px; background: var(--mark); color: var(--ink); font: 700 13px/1 var(--display);
	pointer-events: none; opacity: 0; transform: translate(var(--cx, 0), var(--cy, 0)) translate(-50%, -140%) scale(.6); transition: opacity .2s, transform .12s linear; box-shadow: 0 10px 24px -8px rgba(21, 24, 58, .45); white-space: nowrap; }
.pf.is-hover .pf__cursor { opacity: 1; transform: translate(var(--cx, 0), var(--cy, 0)) translate(-50%, -140%) scale(1); }
@media (hover: none) { .pf__cursor { display: none; } }
.pf__prog { position: absolute; z-index: 2; right: 6px; top: 8px; bottom: 8px; width: 4px; border-radius: 4px; background: rgba(21, 24, 58, .15); overflow: hidden; opacity: 0; transition: opacity .3s; }
.pf__prog::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: 4px; background: var(--blue); transform: scaleY(0); transform-origin: top; }
.pf__card:hover .pf__prog { opacity: 1; }
.pf__card:hover .pf__prog::after { transform: scaleY(1); transition: transform var(--t, 3s) cubic-bezier(.45, 0, .55, 1); }

/* --- Баннеры: таймер, рамка, искры --- */
.promo__timer { display: flex; gap: 6px; margin: 0 0 4px; }
.promo__timer span { display: grid; justify-items: center; min-width: 50px; padding: 8px 6px 6px; border-radius: 12px; background: var(--ink); color: rgba(255, 255, 255, .7); font: 500 10px/1 var(--text); text-transform: uppercase; letter-spacing: .05em; }
.promo__timer b { font: 800 20px/1 var(--display); color: var(--mark); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.promo--mid .promo__box::before { content: ""; position: absolute; z-index: -3; inset: -2px; border-radius: 30px; background: conic-gradient(from var(--ang, 0deg), #FF8A3D, #FFE25A, #fff, #FFE25A, #FF8A3D); animation: ang 6s linear infinite; }
.promo--mid .promo__box::after { content: ""; position: absolute; z-index: -2; inset: 2px; border-radius: 26px; background: linear-gradient(115deg, #FFE25A 0%, #FFC83D 45%, #FF8A3D 100%); }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes ang { to { --ang: 360deg; } }
.promo--mid .promo__box { background: transparent; }
.promo__sparks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.promo__sparks i { position: absolute; width: 8px; height: 8px; background: #fff; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: sparkle 3s ease-in-out infinite; }
.promo__sparks i:nth-child(1) { left: 8%; top: 18%; } .promo__sparks i:nth-child(2) { left: 46%; top: 12%; animation-delay: .6s; }
.promo__sparks i:nth-child(3) { left: 62%; top: 78%; animation-delay: 1.2s; } .promo__sparks i:nth-child(4) { left: 28%; top: 82%; animation-delay: 1.8s; }
.promo__sparks i:nth-child(5) { left: 78%; top: 24%; animation-delay: 2.2s; } .promo__sparks i:nth-child(6) { left: 90%; top: 70%; animation-delay: .9s; }
@keyframes sparkle { 0%, 100% { opacity: 0; transform: scale(.4) rotate(0); } 50% { opacity: 1; transform: scale(1.4) rotate(90deg); } }

/* --- Кейсы: легенда, строки, было→стало --- */
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: -16px 0 24px; padding: 0; font-size: 14px; color: #C9CCE6; }
.legend li { display: flex; align-items: center; gap: 8px; }
.legend i { width: 16px; height: 16px; border-radius: 5px; }
.legend .is-top { background: var(--mark); } .legend .is-near { background: #3D4BB8; } .legend .is-page { background: rgba(255, 255, 255, .18); } .legend .is-far { box-shadow: inset 0 0 0 1px #5A60A8; }
.pos tbody tr { transition: background-color .2s; }
.pos tbody tr:hover th { color: var(--mark); }
.pos tbody tr:hover td { filter: brightness(1.18); }
.pos tbody th { position: sticky; left: 0; z-index: 1; background: #1D2150; }
.case__jump { display: flex; align-items: baseline; gap: 8px; margin: 6px 0 0; font: 800 28px/1 var(--display); color: #fff; }
.case__jump s { color: #8C90B3; text-decoration-thickness: 3px; text-decoration-color: var(--red); font-size: 20px; }
.case__jump span { color: var(--mark); font-size: 18px; }
.case__jump b { color: var(--mark); }

/* --- Как работаем: линия, сроки, карточки --- */
.steps { position: relative; border-top-color: transparent; }
.steps__line { position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--line-2); }
.steps__line i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--blue), #7B4DFF, var(--mark)); transform-origin: left; transform: scaleX(var(--sp, 0)); }
.step { transition: transform .35s var(--ease), background-color .35s; border-radius: 0 0 18px 18px; }
.step:hover { transform: translateY(-6px); background: var(--card); box-shadow: 0 20px 40px -26px rgba(21, 24, 58, .45); }
.step__n { background: linear-gradient(135deg, var(--ink), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step__dur { display: inline-block; white-space: nowrap; margin-left: 10px; padding: 5px 10px; border-radius: 999px; background: #EEF0FF; color: var(--blue); font: 600 12px/1 var(--text); vertical-align: 12px; }
.step__art { animation: stepbob 5s ease-in-out infinite; }
.step:nth-child(3) .step__art { animation-delay: -1.2s; } .step:nth-child(4) .step__art { animation-delay: -2.4s; } .step:nth-child(5) .step__art { animation-delay: -3.6s; }
@keyframes stepbob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }

/* --- Карта: связь списка и точек --- */
.geo__list li { cursor: default; transition: all .2s; }
.geo__list li:hover, .geo__list li:focus, .geo__list li.is-on { border-color: var(--mark); color: var(--ink); background: var(--mark); outline: none; }
.geo__pin.is-lit i { transform: scale(1.8) !important; background: #fff; }
.geo__pin.is-lit .geo__tip { opacity: 1; transform: translate(-50%, 0); }
.geo__pin--left.is-lit .geo__tip { transform: translate(-85%, 0); }
.geo__pin--hub::before { content: "штаб"; position: absolute; left: 14px; top: -24px; font: 700 10px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--mark); white-space: nowrap; }
.geo__map:hover .geo__arcs path { opacity: 1; stroke-width: 1.8; }

/* --- Вместе с этим ищут --- */
.related a { transition: all .25s var(--ease); }
.related a:hover { transform: translateY(-2px); background: #EEF0FF; box-shadow: 0 8px 18px -12px rgba(43, 68, 232, .6); }
.related a:hover svg { transform: rotate(-12deg) scale(1.15); }
.related a svg { transition: transform .3s var(--ease); }

/* --- О студии --- */
.facts div { transition: padding-left .25s var(--ease); }
.facts div:hover { padding-left: 10px; }
.facts div:hover dd { color: var(--blue); }

/* --- Заявка --- */
.trust { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.trust li { position: relative; padding-left: 32px; font-weight: 500; color: var(--ink); }
.trust li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 7px;
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.msg-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; max-width: 520px; }
.msg-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; color: #fff; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s; }
.msg-tile svg { width: 28px; height: 28px; flex: none; }
.msg-tile span { display: grid; gap: 2px; font-size: 13px; opacity: .92; line-height: 1.25; }
.msg-tile b { font: 700 16px/1.1 var(--display); opacity: 1; }
.msg-tile--tg { background: linear-gradient(135deg, #2AABEE, #229ED9); }
.msg-tile--wa { background: linear-gradient(135deg, #2FD366, #1DA851); }
.msg-tile:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(21, 24, 58, .6); }
@media (max-width: 420px) { .msg-tiles { grid-template-columns: 1fr; } }
.form-card { position: relative; isolation: isolate; }
.form-card::before { content: ""; position: absolute; z-index: -1; inset: -2px; border-radius: 26px; background: conic-gradient(from var(--ang, 0deg), var(--blue), #7B4DFF, var(--mark), var(--blue)); animation: ang 8s linear infinite; opacity: .55; filter: blur(14px); }
.form-card::after { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 24px; background: var(--card); }
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"], .wpcf7 textarea { transition: border-color .2s, box-shadow .2s, transform .2s; }
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="tel"]:focus { transform: translateY(-1px); }
.wpcf7-submit { background-image: linear-gradient(100deg, var(--blue), #4A5CF0) !important; transition: transform .2s var(--ease), box-shadow .2s !important; }
.wpcf7-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(43, 68, 232, .9); }
.wpcf7 form.sent .wpcf7-response-output { animation: pop .5s cubic-bezier(.3, 1.5, .5, 1); }
.form-card.is-sent::before { opacity: 1; background: conic-gradient(var(--green), #2FD366, var(--green)); }

/* --- Подвал --- */
.footer { overflow: hidden; }
.footer__since { display: inline-block; margin: 16px 0 0 !important; padding: 6px 12px; border-radius: 999px; background: #22275C; color: var(--mark); font: 600 12px/1 var(--text); }
.footer ul a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; padding-bottom: 2px; }
.footer ul a:hover { background-size: 100% 1px; }
.footer__word { margin: 48px 0 -0.18em; text-align: center; font: 800 clamp(44px, 11.2vw, 176px)/1 var(--display); letter-spacing: -.05em; white-space: nowrap;
	color: transparent; -webkit-text-stroke: 1.5px #2C3170; user-select: none; background: linear-gradient(90deg, transparent, rgba(255, 226, 90, .35), transparent) -100% 0 / 50% 100% no-repeat; -webkit-background-clip: text; background-clip: text; animation: wordshine 7s ease-in-out infinite; }
@keyframes wordshine { 0%, 40% { background-position: -100% 0; } 100% { background-position: 200% 0; } }
.to-top { background: var(--ink); box-shadow: 0 0 0 2px rgba(255, 255, 255, .85), 0 10px 24px -10px rgba(21, 24, 58, .6); }
.to-top img { transition: transform .35s var(--ease); }
.to-top:hover img { transform: translateY(-5px); }

/* --- Внутренние страницы и статьи --- */
.query__caret { display: none; } /* курсор уже рисует .query__text::after */
@keyframes caret { 50% { opacity: 0; } }
.copy-link { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font: inherit; color: var(--ink); font-weight: 600; cursor: pointer; }
.copy-link svg { width: 16px; height: 16px; }
.copy-link:hover { color: var(--blue); }
.copy-link.is-done span::after { content: " ✓"; color: var(--green); }
.toc a.is-current { color: var(--blue); font-weight: 600; }
.toc li:has(a.is-current)::before { background: var(--blue); color: #fff; }
.toc-fab { position: fixed; z-index: 41; right: 20px; bottom: 90px; display: none; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; border: 0;
	background: var(--card); color: var(--ink); font: 600 14px/1 var(--text); box-shadow: 0 12px 28px -12px rgba(21, 24, 58, .5); cursor: pointer; }
.toc-fab.is-on { display: inline-flex; }
.toc-pop { position: fixed; z-index: 42; right: 20px; bottom: 140px; width: min(360px, calc(100vw - 40px)); max-height: 60vh; overflow: auto; padding: 18px 20px; border-radius: 18px;
	background: var(--card); box-shadow: 0 24px 60px -20px rgba(21, 24, 58, .55); opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.toc-pop.is-open { opacity: 1; transform: none; pointer-events: auto; }
.toc-pop ol { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; font-size: 15px; }
.toc-pop a { color: var(--ink); text-decoration: none; }
.toc-pop a:hover, .toc-pop a.is-current { color: var(--blue); }
.page-side .side-card { transition: box-shadow .3s; }
.page-side .side-card:hover { box-shadow: 0 20px 40px -24px rgba(43, 68, 232, .5); }

/* Компоненты статей */
.prose .keypoints { margin: 0 0 1.8em; padding: 22px 24px 10px; border-radius: 18px; background: linear-gradient(135deg, #EEF0FF, #FFF6C9); border: 1px solid #DDE1FA; }
.prose .keypoints__t { margin: 0 0 10px; font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.prose .keypoints ul { margin-bottom: .6em; }
.prose .callout { position: relative; margin: 1.6em 0; padding: 18px 20px 18px 64px; border-radius: 16px; background: #EEF0FF; }
.prose .callout p:last-child { margin-bottom: 0; }
.prose .callout::before { content: "💡"; position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #fff; font-size: 17px; box-shadow: 0 4px 10px -4px rgba(21, 24, 58, .25); }
.prose .callout--warn { background: #FFF1EE; }
.prose .callout--warn::before { content: "⚠️"; }
.prose ul.checklist > li { padding-left: 34px; }
.prose ul.checklist > li::before { left: 0; top: .2em; width: 22px; height: 22px; border-radius: 7px; transform: none; box-shadow: none;
	background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; }
.prose ol.howto { list-style: none; counter-reset: howto; padding-left: 0; }
.prose ol.howto > li { counter-increment: howto; position: relative; padding: 0 0 18px 54px; margin: 0; }
.prose ol.howto > li::before { content: counter(howto); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--mark); font: 700 15px/1 var(--display); }
.prose ol.howto > li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 38px; bottom: 2px; width: 2px; background: var(--line-2); }

@media (prefers-reduced-motion: reduce) {
	.pf__cursor, .toc-fab { display: none !important; }
	.steps__line i { transform: none; }
}

/* ============ Блог ============ */
.section__head--row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; max-width: none; }
.section__head--row .h2 { margin: 0; }
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
.post-card { display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(21, 24, 58, .35);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -24px rgba(43, 68, 232, .4); }
.post-card__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #EEF0FF, #FFF6C9); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { display: grid; gap: 8px; padding: 18px 20px 22px; }
.post-card__meta { display: flex; gap: 10px; margin: 0; font: 600 12px/1 var(--text); color: var(--muted); }
.post-card__meta span:first-child { color: var(--blue); }
.post-card__t { margin: 0; font: 600 18px/1.3 var(--display); letter-spacing: -.01em; }
.post-card__t a { color: var(--ink); text-decoration: none; background: linear-gradient(var(--mark), var(--mark)) 0 88% / 0 .35em no-repeat; transition: background-size .35s var(--ease); }
.post-card:hover .post-card__t a { background-size: 100% .35em; }
.post-card__ex { margin: 0; color: var(--ink-2); font-size: 15px; }
.js .post-card[data-reveal] { opacity: 0; }
.js .post-card[data-reveal].is-in { opacity: 1; animation: pfin .7s var(--ease) backwards; }
.chips--links { margin: 0 0 28px; }
.chips--links a { border: 1px solid var(--line-2); background: var(--card); padding: 10px 16px; border-radius: 999px; font: 600 14px/1 var(--text); color: var(--ink-2); text-decoration: none; transition: all .25s var(--ease); }
.chips--links a small { margin-left: 4px; color: var(--muted); font-weight: 500; }
.chips--links a:hover { border-color: var(--ink); color: var(--ink); }
.chips--links a.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.chips--links a.is-on small { color: #A9ACC8; }
.pager { margin-top: 40px; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; }
.pager .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
@media (max-width: 960px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* ============ Короткая форма заявки ============ */
.quick { padding: clamp(8px, 2vw, 24px) 0 clamp(24px, 4vw, 48px); }
.quick__box { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: center;
	padding: clamp(24px, 3.5vw, 44px); border-radius: 28px; color: #fff;
	background: radial-gradient(90% 140% at 0% 0%, #3A55FF 0%, #2B44E8 30%, #15183A 85%); box-shadow: 0 30px 60px -30px rgba(43, 68, 232, .6); }
.quick__box::after { content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 226, 90, .35), transparent 65%); }
.quick__tag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 600 13px/1 var(--text); }
.quick__h { margin: 0 0 10px; font: 800 clamp(24px, 2.8vw, 36px)/1.1 var(--display); letter-spacing: -.03em; }
.quick__sub { margin: 0; color: #C9CCE6; font-size: 16px; max-width: 34em; }
.quick__alt { margin: 12px 0 0; font-size: 14px; color: #A9ACC8; }
.quick__alt a { color: #fff; }
.quick__alt a:hover { color: var(--mark); }
.tp-form--quick { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 12px !important; }
.tp-form--quick > p { margin: 0; }
.tp-form--quick label { color: #D7D9EC !important; font-size: 13px !important; gap: 6px !important; }
.tp-form--quick input[type="text"], .tp-form--quick input[type="tel"] { border-color: transparent !important; min-height: 54px; }
.tp-form--quick .wpcf7-submit { min-height: 54px; padding: 0 26px !important; background: var(--mark) !important; background-image: none !important; color: var(--ink) !important; white-space: nowrap; }
.tp-form--quick .wpcf7-submit:hover { background: #FFD92E !important; box-shadow: 0 14px 28px -12px rgba(255, 226, 90, .7); }
.tp-form--quick .wpcf7-response-output, .tp-form--quick .wpcf7-not-valid-tip { grid-column: 1 / -1; }
.tp-form--quick .wpcf7-response-output { color: var(--ink); background: #fff; }
.tp-form--quick fieldset, .tp-form--side fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tp-form--quick > p:has(.wpcf7-submit) { position: relative; }
.tp-form--quick .wpcf7-spinner { position: absolute; right: 8px; top: -26px; }
@media (max-width: 900px) { .quick__box { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tp-form--quick { grid-template-columns: 1fr; } .tp-form--quick .wpcf7-submit { width: 100%; } }

.side-form { position: relative; margin: 0 0 20px; padding: 16px; border-radius: 16px; background: #EEF0FF; }
.side-form__t { margin: 0 0 2px; font: 700 16px/1.2 var(--display); }
.side-form__s { margin: 0 0 12px; font-size: 13px; color: var(--muted); }
.tp-form--side { gap: 10px !important; }
.tp-form--side > p { margin: 0; }
.tp-form--side label { font-size: 13px !important; gap: 5px !important; }
.tp-form--side input[type="text"], .tp-form--side input[type="tel"] { min-height: 46px; background: #fff; }
.tp-form--side .wpcf7-submit { width: 100%; min-height: 48px; }
.side-form.is-sent { background: #EAF6F0; }

/* ============ Мини-выдача: понятная подпись и итог ============ */
.serp__demo { display: inline-block; margin-right: 8px; padding: 3px 8px; border-radius: 6px; background: #EEF0FF; color: var(--blue); font: 700 11px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; vertical-align: 1px; }
.serp__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.serp__trip { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 14px; color: var(--muted); }
.serp__trip s { font: 700 18px/1 var(--display); color: var(--muted); text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.serp__trip i { font-style: normal; color: var(--muted); }
.serp__trip b { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 8px; border-radius: 10px; background: var(--paper); font: 800 18px/1 var(--display); color: var(--ink); transition: background-color .3s, transform .3s var(--ease); }
.serp__trip b.is-one { background: var(--mark); transform: scale(1.12); }
.serp__cases { font: 600 14px/1.2 var(--text); color: var(--blue); text-decoration: none; }
.serp__cases:hover { text-decoration: underline; }

/* ============ Без анимаций — по настройке системы ============ */
@media print {
	.js .case .pos__cell { opacity: 1; transform: none; }
	.header, .to-top, .serp__bar { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .case .pos__cell { opacity: 1; transform: none; }
	.js .case .spark__line { stroke-dashoffset: 0; }
	.js .case .spark__dot, .js .case .spark__area { opacity: 1; }
	.launch__big { background-position: 0 0; }
	.launch__ship { transform: translateY(-90px); }
	.launch__trail { height: 130px; }
	.hero__rocket { display: none; }
	.launch__top1, .launch__pin, .launch__halo { opacity: 1; transform: none; }
	.js .pf__card { opacity: 1; transform: none; }
	.geo__arcs path { stroke-dashoffset: 0; }
	.geo__pin i { transform: none; }
	.js .hero__title .w { opacity: 1; transform: none; filter: none; }
	.hero__title .hl::before, .hero__title .brand::after { transform: none; }
	.tilt { transform: none; }
}
