/*
Theme Name: Khodiy — визитка
Theme URI: https://khodiy.com
Author: Ходий Илья Юрьевич
Author URI: https://khodiy.com
Description: Лёгкая авторская тема-визитка разработчика и вебмастера. Чистый PHP и CSS, полноэкранное меню, Gutenberg-контент, без обязательных плагинов.
Version: 2.2.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: khodiy
Tags: one-column, custom-menu, featured-images, blog
*/

/* ==========================================================================
   1. Шрифты
   ========================================================================== */

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/manrope-cyrillic.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-display: swap;
	font-weight: 200 800;
	src: url("assets/fonts/manrope-latin.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/unbounded-cyrillic.woff2") format("woff2-variations");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Unbounded";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url("assets/fonts/unbounded-latin.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================================
   2. Переменные и база
   ========================================================================== */

:root {
	--ink: #0c111b;
	--ink-soft: #161e2b;
	--paper: #f4f1e9;
	--paper-deep: #eae4d8;
	--white: #ffffff;
	--accent: #2f4bff;
	--accent-dark: #2138d8;
	--accent-bright: #8093ff;
	--lime: #c8ff4d;
	--muted: #5b6270;
	--muted-light: #a9b0bc;
	--line: rgba(12, 17, 27, 0.14);
	--line-soft: rgba(12, 17, 27, 0.08);
	--line-light: rgba(244, 241, 233, 0.18);
	--radius: 24px;
	--radius-sm: 14px;
	--container: 1200px;
	--header: 88px;
	--font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Unbounded", "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header) + 24px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.nav-open {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
	margin: 0;
}

h1,
h2,
h3,
h4 {
	color: var(--ink);
	font-family: var(--font-body);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.04em;
}

p {
	margin-bottom: 1em;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--accent-dark);
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

button,
input,
textarea {
	font: inherit;
}

strong {
	font-weight: 700;
}

[hidden] {
	display: none !important;
}

::selection {
	background: var(--accent);
	color: var(--white);
}

.editor-styles-wrapper {
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 18px;
	line-height: 1.6;
}

/* ==========================================================================
   3. Доступность
   ========================================================================== */

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	border: 0;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 100000;
	display: block;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	clip-path: none;
	border-radius: 8px;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.9rem;
	line-height: 1.5;
	text-decoration: none;
	box-shadow: 0 8px 30px rgba(12, 17, 27, 0.2);
}

:focus-visible {
	outline: 3px solid rgba(47, 75, 255, 0.45);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ==========================================================================
   4. Каркас
   ========================================================================== */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 28px;
}

.site {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	padding-top: var(--header);
}

.site-main {
	flex: 1 0 auto;
}

.page-content {
	padding-block: clamp(48px, 6vw, 76px) clamp(72px, 9vw, 112px);
}

.page-hero {
	position: relative;
	overflow: hidden;
	background: var(--ink);
	color: var(--paper);
}

.page-hero::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(244, 241, 233, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(244, 241, 233, 0.055) 1px, transparent 1px);
	background-size: 72px 72px;
	content: "";
	pointer-events: none;
}

.page-hero::after {
	position: absolute;
	top: -240px;
	right: -160px;
	width: 680px;
	height: 680px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.55) 0%, rgba(47, 75, 255, 0) 66%);
	content: "";
	pointer-events: none;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 48px;
	padding-block: clamp(58px, 8vw, 96px) clamp(52px, 7vw, 80px);
}

.page-hero--compact .page-hero__inner {
	padding-block: clamp(48px, 6vw, 72px);
}

.page-hero__title-wrap {
	max-width: 820px;
}

.page-hero .eyebrow {
	color: var(--accent-bright);
}

.page-title {
	margin-top: 18px;
	color: var(--paper);
	font-size: clamp(2.8rem, 6vw, 5.2rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
}

.page-hero__aside {
	flex: 0 0 auto;
	max-width: 300px;
	padding-bottom: 6px;
	text-align: right;
}

.page-hero__role {
	margin-bottom: 18px;
	color: var(--muted-light);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.09em;
	line-height: 1.5;
	text-transform: uppercase;
}

.page-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	border-bottom: 1px solid var(--lime);
	color: var(--lime);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.page-hero__cta:hover {
	border-bottom-color: var(--paper);
	color: var(--paper);
}

/* ==========================================================================
   5. Шапка
   ========================================================================== */

.site-header {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	z-index: 3000;
	height: var(--header);
	border-bottom: 1px solid transparent;
	background: rgba(244, 241, 233, 0.98);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
	border-bottom-color: var(--line-soft);
	background: var(--paper);
	box-shadow: 0 12px 34px rgba(12, 17, 27, 0.06);
}

body.admin-bar .site-header {
	top: 32px;
}

body.admin-bar .site {
	padding-top: calc(var(--header) + 32px);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	height: 100%;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: 0;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.header-cta span {
	color: var(--lime);
	font-size: 0.95rem;
}

.header-cta:hover {
	background: var(--accent);
	color: var(--white);
}

/* Логотип */

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}

.brand:hover {
	color: var(--ink);
}

.brand__mark {
	display: block;
	width: 44px;
	height: 44px;
	flex: none;
}

.brand__mark svg {
	display: block;
	width: 100%;
	height: 100%;
}

.brand__mark-bg {
	fill: var(--ink);
}

.brand__mark-line {
	stroke: var(--paper);
}

.brand__mark-accent {
	fill: var(--accent-bright);
	stroke: none;
}

.brand__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brand__name {
	font-family: var(--font-display);
	font-size: 1.08rem;
	font-weight: 600;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.brand__dot {
	color: var(--accent);
}

.brand__role {
	color: var(--muted);
	font-size: 0.56rem;
	font-weight: 600;
	letter-spacing: 0.11em;
	line-height: 1.3;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Навигация */

.site-nav {
	display: block;
	margin-left: auto;
}

.nav-list {
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 0;
	list-style: none;
}

.nav-list a {
	position: relative;
	display: inline-block;
	padding-block: 6px;
	color: var(--ink);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	line-height: 1.3;
	text-decoration: none;
	text-transform: uppercase;
}

.nav-list a::after {
	display: block;
	width: 4px;
	height: 4px;
	margin: 6px auto 0;
	border-radius: 50%;
	background: var(--accent);
	content: "";
	opacity: 0;
}

.nav-list a:hover,
.nav-list a[aria-current="page"],
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a {
	color: var(--accent);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after,
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after {
	opacity: 1;
}

.nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 50%;
	background: transparent;
	color: var(--ink);
	cursor: pointer;
}

.nav-toggle__box {
	display: grid;
	gap: 5px;
	width: 19px;
}

.nav-toggle__box span {
	display: block;
	height: 1.7px;
	border-radius: 2px;
	background: currentColor;
}

.nav-toggle[aria-expanded="true"] {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

/* Элементы полноэкранного меню, скрытые на десктопе */

.nav__head,
.nav__foot,
.nav-close {
	display: none;
}

/* ==========================================================================
   6. Главный экран
   ========================================================================== */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(58px, 7vw, 92px) clamp(64px, 8vw, 108px);
	background: var(--paper);
}

.hero::before {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(12, 17, 27, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(12, 17, 27, 0.045) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 62%, transparent 100%);
	-webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.4) 62%, transparent 100%);
	content: "";
	pointer-events: none;
}

.hero::after {
	position: absolute;
	top: -260px;
	right: -140px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.2) 0%, rgba(47, 75, 255, 0) 65%);
	content: "";
	pointer-events: none;
}

.hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
	gap: clamp(36px, 5.5vw, 80px);
	align-items: center;
}

.hero__copy {
	min-width: 0;
}

.hero__title {
	max-width: 760px;
	margin-top: 24px;
	font-size: clamp(3rem, 5.9vw, 5.5rem);
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.065em;
}

.hero__title em {
	color: var(--accent);
	font-style: normal;
}

.hero__text {
	max-width: 590px;
	margin-top: 26px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 1.08rem;
	line-height: 1.62;
}

.hero__actions {
	margin-top: 32px;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	max-width: 590px;
	margin-top: 46px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
}

.stat__value {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.04em;
}

.stat__label {
	margin-top: 7px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.74rem;
	line-height: 1.35;
}

.hero-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 500px;
	overflow: hidden;
	padding: 30px;
	border-radius: 28px;
	background: var(--ink);
	color: var(--paper);
	box-shadow: 0 34px 80px rgba(12, 17, 27, 0.2);
}

.hero-card::before {
	position: absolute;
	right: -170px;
	bottom: -190px;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.7) 0%, rgba(47, 75, 255, 0) 68%);
	content: "";
	pointer-events: none;
	z-index: 0;
}

.hero-card::after {
	position: absolute;
	top: -80px;
	left: -60px;
	width: 230px;
	height: 230px;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	content: "";
	pointer-events: none;
	z-index: 0;
}

.hero-card > *,
.hero-card > .wp-block-group__inner-container > * {
	position: relative;
	z-index: 1;
}

.hero-card__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	color: var(--muted-light);
	font-family: var(--font-display);
	font-size: 0.56rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.hero-card__top p {
	margin: 0;
}

.hero-card__label {
	margin-top: 44px;
	margin-bottom: 0;
	color: var(--lime);
	font-family: var(--font-display);
	font-size: 0.6rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.hero-card__name {
	margin: 12px 0 10px;
	color: var(--paper);
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 3.7vw, 3.4rem);
	font-weight: 600;
	line-height: 1.04;
	letter-spacing: -0.05em;
}

.hero-card__role {
	margin-bottom: 0;
	color: var(--muted-light);
	font-size: 0.72rem;
	line-height: 1.5;
}

.hero-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: 24px;
	padding: 0;
	list-style: none;
}

.hero-card__tags li {
	padding: 5px 10px;
	border: 1px solid var(--line-light);
	border-radius: 999px;
	color: var(--paper);
	font-family: var(--font-display);
	font-size: 0.55rem;
	letter-spacing: 0.06em;
}

.hero-card__quote {
	max-width: 300px;
	margin-top: 24px;
	margin-bottom: 0;
	padding-left: 14px;
	border-left: 1px solid var(--lime);
	color: var(--muted-light);
	font-size: 0.78rem;
	line-height: 1.5;
}

.hero-card__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: auto;
	padding-top: 22px;
	border-top: 1px solid var(--line-light);
}

.hero-card__foot p {
	margin: 0;
}

.hero-card__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--paper);
	font-size: 0.78rem;
	font-weight: 600;
}

.hero-card__status::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.14);
	content: "";
}

.hero-card__foot a {
	color: var(--paper);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
}

.hero-card__foot a:hover {
	color: var(--lime);
}

/* ==========================================================================
   7. Типографика секций
   ========================================================================== */

.eyebrow {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 0.61rem;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 18px;
	height: 1px;
	background: currentColor;
	content: "";
}

.eyebrow--pill {
	display: inline-flex;
	padding: 9px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.48);
	color: var(--ink);
	font-size: 0.57rem;
}

.eyebrow--pill::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--lime);
	box-shadow: 0 0 0 4px rgba(200, 255, 77, 0.25);
}

.eyebrow--pill::after {
	display: none;
}

.eyebrow--light {
	color: var(--accent-bright);
}

.section {
	position: relative;
	padding-block: clamp(72px, 9vw, 118px);
}

.section--soft {
	background: var(--paper-deep);
}

.section-head {
	max-width: 800px;
	margin-bottom: 42px;
}

.section-title {
	margin-top: 14px;
	font-size: clamp(2.1rem, 4.2vw, 3.7rem);
	line-height: 1.01;
	letter-spacing: -0.055em;
}

.section-lead {
	max-width: 650px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 1.02rem;
	line-height: 1.61;
}

.section--dark {
	background: var(--ink);
	color: var(--paper);
}

.section--dark .section-title,
.section--dark h2,
.section--dark h3 {
	color: var(--paper);
}

.section--dark .section-lead {
	color: var(--muted-light);
}

/* ==========================================================================
   8. Кнопки
   ========================================================================== */

.btn,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--font-body);
	font-size: 0.88rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.btn-primary,
.wp-block-button:not(.is-style-outline) .wp-block-button__link {
	background: var(--accent);
	color: var(--white);
}

.btn-primary:hover,
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	background: var(--ink);
	color: var(--paper);
	transform: translateY(-2px);
}

.btn-primary::after {
	margin-left: 2px;
	content: "↗";
	font-size: 0.95em;
}

.btn-ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--line);
	background: transparent;
	color: var(--ink);
}

.btn-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
	transform: translateY(-2px);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
	margin-left: 2px;
	content: "↗";
	font-size: 0.95em;
}

.wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.wp-block-button {
	margin: 0;
}

/* ==========================================================================
   9. Карточки услуг
   ========================================================================== */

.services-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.services-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 26px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
	transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
	border-color: rgba(47, 75, 255, 0.38);
	box-shadow: 0 18px 44px rgba(12, 17, 27, 0.08);
	transform: translateY(-4px);
}

.card-num {
	margin-bottom: 24px;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
}

.service-card h3 {
	margin-bottom: 10px;
	font-size: 1.36rem;
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.service-card > p {
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.56;
}

.service-card > .card-num {
	margin-bottom: 24px;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
}

.price-table {
	width: 100%;
	margin: auto 0 0;
	padding-top: 18px;
	border-collapse: collapse;
	font-size: 0.78rem;
}

.wp-block-table.price-table {
	overflow: visible;
	border: 0;
	background: transparent;
}

.wp-block-table.price-table table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}

.wp-block-table.price-table td {
	width: auto;
	padding: 9px 0;
	border: 0;
	border-top: 1px solid var(--line-soft);
	background: transparent;
	font-size: 0.78rem;
	line-height: 1.35;
	vertical-align: top;
}

.wp-block-table.price-table tr:first-child td {
	border-top: 0;
}

.wp-block-table.price-table td:first-child {
	width: 62%;
	padding-right: 12px;
	color: var(--muted);
	line-height: 1.35;
}

.wp-block-table.price-table td:last-child {
	width: 38%;
	color: var(--ink);
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.card-link {
	margin-top: 17px;
}

.card-link a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.card-link a:hover {
	border-bottom-color: var(--accent);
	color: var(--accent);
}

.section-actions {
	margin-top: 30px;
}

.section-actions-wrap {
	margin-top: 0;
}

.price-note {
	max-width: 820px;
	margin-top: 28px;
	color: var(--muted);
	font-size: 0.86rem;
	line-height: 1.55;
}

.catalog-note {
	margin-top: 26px;
	color: var(--muted);
	font-size: 0.86rem;
}

/* ==========================================================================
   10. Сплит-блок, факты, процесс
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
	gap: clamp(32px, 6vw, 78px);
	align-items: start;
}

.split__copy {
	max-width: 650px;
}

.split__copy h2 {
	margin: 14px 0 20px;
	font-size: clamp(2rem, 4vw, 3.35rem);
	line-height: 1.02;
	letter-spacing: -0.055em;
}

.split__copy p {
	color: var(--muted);
	font-size: 1.01rem;
	line-height: 1.65;
}

.split__copy p + p {
	margin-top: 1em;
}

.split__copy a {
	font-weight: 700;
}

.fact-card {
	position: relative;
	overflow: hidden;
	padding: 32px;
	border-radius: 24px;
	background: var(--ink);
	color: var(--paper);
}

.fact-card::after {
	position: absolute;
	right: -100px;
	bottom: -120px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.6), transparent 68%);
	content: "";
	pointer-events: none;
}

.fact-card > * {
	position: relative;
	z-index: 1;
}

.fact-card .eyebrow {
	color: var(--lime);
}

.fact-card h3 {
	margin: 14px 0 18px;
	color: var(--paper);
	font-size: clamp(1.5rem, 2.5vw, 2rem);
	letter-spacing: -0.04em;
}

.fact-card h2 {
	margin: 14px 0 18px;
	color: var(--paper);
	font-size: clamp(1.8rem, 3.5vw, 3rem);
	letter-spacing: -0.05em;
}

.fact-card p {
	color: var(--muted-light);
}

.fact-card .wp-block-buttons {
	margin-top: 22px;
}

.fact-card .wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--line-light);
	color: var(--paper);
}

.fact-card .wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

.fact-list {
	padding: 0;
	list-style: none;
}

.fact-list li {
	position: relative;
	padding: 12px 0 12px 24px;
	border-top: 1px solid var(--line-light);
	color: var(--paper);
	font-size: 0.9rem;
	line-height: 1.45;
}

.fact-list li:first-child {
	border-top: 0;
}

.fact-list li::before {
	position: absolute;
	left: 0;
	color: var(--lime);
	content: "✓";
	font-weight: 700;
}

.process-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
}

.process-step {
	padding: 25px 30px 0 0;
	border-right: 1px solid var(--line);
}

.process-step:not(:first-child) {
	padding-left: 30px;
}

.process-step:last-child {
	padding-right: 0;
	border-right: 0;
}

.process-step__num {
	margin-bottom: 0;
	color: var(--accent);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.1em;
}

.process-step__title {
	margin-top: 24px;
	font-size: 1.28rem;
	letter-spacing: -0.035em;
}

.process-step__text {
	margin-top: 9px;
	margin-bottom: 0;
	color: var(--muted);
	font-size: 0.9rem;
	line-height: 1.55;
}

/* ==========================================================================
   11. CTA
   ========================================================================== */

.cta-section {
	position: relative;
	overflow: hidden;
	padding-block: clamp(68px, 9vw, 116px);
	background: var(--ink);
	color: var(--paper);
}

.cta-section::before {
	position: absolute;
	top: -300px;
	right: -150px;
	width: 800px;
	height: 800px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.55) 0%, rgba(47, 75, 255, 0) 67%);
	content: "";
	pointer-events: none;
}

.cta-section::after {
	position: absolute;
	right: 8%;
	bottom: -180px;
	width: 340px;
	height: 340px;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.cta-section__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
	gap: 48px;
	align-items: end;
}

.cta-copy {
	max-width: 760px;
}

.cta-title {
	margin-top: 18px;
	color: var(--paper);
	font-size: clamp(2.4rem, 5.2vw, 4.7rem);
	line-height: 0.98;
	letter-spacing: -0.06em;
}

.cta-text {
	max-width: 610px;
	margin-top: 20px;
	color: var(--muted-light);
	font-size: 1.02rem;
	line-height: 1.6;
}

.cta-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding-bottom: 6px;
}

.cta-actions .wp-block-buttons {
	flex-direction: column;
	align-items: flex-start;
}

.cta-section .wp-block-button:not(.is-style-outline) .wp-block-button__link,
.cta-section .btn-primary {
	background: var(--lime);
	color: var(--ink);
}

.cta-section .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover,
.cta-section .btn-primary:hover {
	background: var(--paper);
	color: var(--ink);
}

.cta-section .wp-block-button.is-style-outline .wp-block-button__link,
.cta-section .btn-ghost {
	border-color: var(--line-light);
	color: var(--paper);
}

.cta-section .wp-block-button.is-style-outline .wp-block-button__link:hover,
.cta-section .btn-ghost:hover {
	border-color: var(--paper);
	background: var(--paper);
	color: var(--ink);
}

.cta-note {
	color: var(--muted-light);
	font-size: 0.78rem;
}

/* ==========================================================================
   12. Страницы, интро и Gutenberg-группы
   ========================================================================== */

.entry-content {
	padding: 0;
}

.entry-content--front {
	padding: 0;
}

.page-intro {
	max-width: 860px;
}

.page-intro h2 {
	margin: 16px 0 18px;
	font-size: clamp(2rem, 4.1vw, 3.5rem);
	line-height: 1.01;
	letter-spacing: -0.055em;
}

.page-intro p {
	max-width: 700px;
	color: var(--muted);
	font-size: 1.04rem;
	line-height: 1.62;
}

.page-intro + .products-row,
.page-intro + .portfolio-row,
.page-intro + .contact-columns {
	margin-top: clamp(36px, 4vw, 52px);
}

.content-section {
	margin-top: clamp(58px, 8vw, 96px);
}

.content-section:first-child {
	margin-top: 0;
}

.content-section .section-head {
	margin-bottom: 30px;
}

.content-section .section-title {
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
}

:where(.wp-block-group, .wp-block-columns, .wp-block-column, .wp-block-buttons, .wp-block-button) {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-columns.wp-block-columns {
	display: flex;
	align-items: stretch;
	gap: 18px;
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-columns > .wp-block-column {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.wp-block-columns > .wp-block-column > .wp-block-group {
	flex: 1 1 auto;
}

/*
 * WordPress may wrap group contents in .wp-block-group__inner-container
 * (WP 7.1+ / themes with theme.json support). Make the wrapper transparent
 * so custom flex/grid layouts still apply to the real children.
 */
.wp-block-group > .wp-block-group__inner-container {
	display: contents;
}

.wp-block-columns.hero__columns {
	align-items: center !important;
	gap: clamp(36px, 5.5vw, 80px);
}

.wp-block-columns.split-columns {
	align-items: flex-start !important;
	gap: clamp(32px, 6vw, 78px);
}

.wp-block-columns.contact-columns {
	align-items: flex-start !important;
	gap: 20px;
}

.wp-block-columns.cta-columns {
	align-items: flex-end !important;
	gap: 48px;
}

.wp-block-columns.process-columns {
	gap: 30px;
}

.services-row + .services-row,
.portfolio-row + .portfolio-row {
	margin-top: 18px;
}

.services-row .service-card,
.products-row .product-card,
.portfolio-row .portfolio-card {
	height: 100%;
}

.process-columns .process-step,
.process-columns .process-step:not(:first-child) {
	margin: 0;
	padding: 24px 0 0;
	border: 0;
	border-top: 1px solid var(--line);
}

:where(.wp-block-heading) {
	margin-top: 0;
	margin-bottom: 0;
}

:where(.wp-block-list) {
	margin-top: 0;
	margin-bottom: 0;
}

.prose .wp-block-list,
.legal .wp-block-list {
	padding-left: 1.2em;
}

.prose .wp-block-list li + li,
.legal .wp-block-list li + li {
	margin-top: 0.4em;
}

:where(.wp-block-table) {
	margin-top: 0;
	margin-bottom: 0;
}

.wp-block-table.price-table {
	margin: auto 0 0;
}

.wp-block-table table {
	margin: 0;
}

.wp-block-buttons .wp-block-button {
	margin: 0;
}

/* ==========================================================================
   13. Плагины и продукты
   ========================================================================== */

.products-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.product-card {
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
}

.product-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 250px;
	overflow: hidden;
	padding: 22px;
	border-radius: 16px;
	color: var(--paper);
}

.product-cover::after {
	position: absolute;
	top: -70px;
	right: -60px;
	width: 220px;
	height: 220px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	content: "";
}

.product-cover--blue {
	background: linear-gradient(135deg, #233bdd 0%, #101a52 100%);
}

.product-cover--lime {
	background: linear-gradient(135deg, #c8ff4d 0%, #6b9b18 100%);
	color: var(--ink);
}

.product-cover--ink {
	background: linear-gradient(135deg, #262c36 0%, #0b0f17 100%);
}

.product-cover__mark {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(2.2rem, 3.5vw, 3.4rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.05em;
}

.product-cover__meta {
	position: relative;
	z-index: 1;
	margin: 0;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.4;
	text-transform: uppercase;
}

.product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 8px 8px;
}

.product-card__body h2,
.product-card__body h3 {
	margin: 11px 0 8px;
	font-size: 1.28rem;
	letter-spacing: -0.03em;
}

.product-card__body p {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.product-card__body .wp-block-buttons {
	margin-top: auto;
	padding-top: 18px;
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 5px 10px;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.3;
}

.status::before {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.status--sale {
	background: #e8f8ed;
	color: #146c38;
}

.status--free {
	background: #edf0ff;
	color: var(--accent);
}

/* ==========================================================================
   14. Портфолио
   ========================================================================== */

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.portfolio-card {
	display: flex;
	flex-direction: column;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: var(--white);
}

.portfolio-cover {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 230px;
	overflow: hidden;
	padding: 22px;
	border-radius: 16px;
	background: var(--paper);
	color: var(--ink);
}

.portfolio-cover::after {
	position: absolute;
	top: -90px;
	right: -80px;
	width: 240px;
	height: 240px;
	border: 1px solid var(--line);
	border-radius: 50%;
	content: "";
}

.portfolio-cover--blue {
	background: linear-gradient(135deg, #dce3ff 0%, #aebdff 100%);
}

.portfolio-cover--lime {
	background: linear-gradient(135deg, #e8ffb8 0%, #c8ff4d 100%);
}

.portfolio-cover--sand {
	background: linear-gradient(135deg, #efe7d8 0%, #d9cdb7 100%);
}

.portfolio-cover--ink {
	background: linear-gradient(135deg, #252d3a 0%, #0b0f17 100%);
	color: var(--paper);
}

.portfolio-cover__num {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--font-display);
	font-size: 0.64rem;
	letter-spacing: 0.1em;
}

.portfolio-cover__type {
	position: relative;
	z-index: 1;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.4rem, 2.4vw, 2rem);
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.portfolio-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px 8px 8px;
}

.portfolio-card__type {
	margin-bottom: 6px;
	color: var(--muted);
	font-size: 0.67rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.portfolio-card__body h2,
.portfolio-card__body h3 {
	margin-bottom: 8px;
	font-size: 1.28rem;
	letter-spacing: -0.03em;
}

.portfolio-card__body p {
	color: var(--muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

.portfolio-card__body .wp-block-buttons {
	margin-top: auto;
	padding-top: 18px;
}

/* ==========================================================================
   15. Контакты и форма
   ========================================================================== */

.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
	gap: 20px;
	align-items: start;
}

.contact-card {
	position: relative;
	overflow: hidden;
	padding: 32px;
	border-radius: 24px;
	background: var(--ink);
	color: var(--paper);
}

.contact-card::after {
	position: absolute;
	right: -100px;
	bottom: -130px;
	width: 320px;
	height: 320px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.6), transparent 68%);
	content: "";
	pointer-events: none;
}

.contact-card > * {
	position: relative;
	z-index: 1;
}

.contact-card .eyebrow {
	color: var(--lime);
}

.contact-card h2 {
	margin: 14px 0 24px;
	color: var(--paper);
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	letter-spacing: -0.045em;
}

.contact-list {
	padding: 0;
	list-style: none;
}

.contact-list li {
	padding: 14px 0;
	border-top: 1px solid var(--line-light);
}

.contact-list li:first-child {
	border-top: 0;
}

.contact-list strong {
	display: block;
	margin-bottom: 4px;
	color: var(--muted-light);
	font-size: 0.59rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.contact-list a {
	color: var(--paper);
	font-size: 1.02rem;
	font-weight: 600;
	text-decoration: none;
	overflow-wrap: anywhere;
}

.contact-list a:hover {
	color: var(--lime);
}

.contact-card .socials {
	margin-top: 26px;
}

.contact-card .social-link {
	border-color: var(--line-light);
	color: var(--paper);
}

.contact-card .social-link__icon {
	background: rgba(244, 241, 233, 0.1);
	color: var(--paper);
}

.contact-card .social-link:hover {
	border-color: var(--lime);
	color: var(--lime);
}

.contact-card__note {
	margin-top: 22px;
	padding-top: 18px;
	border-top: 1px solid var(--line-light);
	color: var(--muted-light);
	font-size: 0.8rem;
	line-height: 1.5;
}

.contact-form-card {
	padding: 32px;
	border: 1px solid var(--line);
	border-radius: 24px;
	background: var(--white);
}

.contact-form-card .eyebrow {
	color: var(--accent);
}

.contact-form-card h2 {
	margin: 14px 0 8px;
	font-size: clamp(1.8rem, 3vw, 2.5rem);
	letter-spacing: -0.045em;
}

.contact-form-card > p {
	margin-bottom: 22px;
	color: var(--muted);
	font-size: 0.9rem;
}

.contact-form {
	display: grid;
	gap: 16px;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.form-field {
	display: grid;
	gap: 6px;
}

.form-field label {
	color: var(--ink);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: var(--paper);
	color: var(--ink);
	font-size: 0.94rem;
	line-height: 1.4;
}

.form-field textarea {
	min-height: 150px;
	resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
	color: #8a909b;
	opacity: 1;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field textarea:focus {
	border-color: var(--accent);
	outline: 2px solid rgba(47, 75, 255, 0.16);
	outline-offset: 0;
}

.form-field--checkbox {
	margin-top: 2px;
}

.form-consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--muted);
	font-size: 0.78rem;
	line-height: 1.5;
}

.form-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex: none;
	accent-color: var(--accent);
}

.form-consent a {
	color: var(--accent);
}

.required {
	color: var(--accent);
}

.form-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 2px;
}

.form-note {
	max-width: 260px;
	color: var(--muted);
	font-size: 0.72rem;
	line-height: 1.45;
}

.notice {
	margin-bottom: 18px;
	padding: 13px 15px;
	border: 1px solid;
	border-radius: 10px;
	font-size: 0.86rem;
	line-height: 1.5;
}

.notice--success {
	border-color: #b8e8c7;
	background: #eafaf0;
	color: #146c38;
}

.notice--error {
	border-color: #f0c0c0;
	background: #fff2f2;
	color: #9d2727;
}

/* ==========================================================================
   16. Блок оплаты и реквизиты
   ========================================================================== */

.payment-block {
	position: relative;
	overflow: hidden;
	margin-top: clamp(48px, 7vw, 72px);
	padding: 34px;
	border-radius: 24px;
	background: var(--ink);
	color: var(--paper);
}

.payment-block::after {
	position: absolute;
	top: -130px;
	right: -90px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.55), transparent 68%);
	content: "";
	pointer-events: none;
}

.payment-block > * {
	position: relative;
	z-index: 1;
}

.payment-block .eyebrow {
	color: var(--lime);
}

.payment-block__title {
	max-width: 760px;
	margin: 14px 0 14px;
	color: var(--paper);
	font-size: clamp(1.8rem, 3.4vw, 2.8rem);
	line-height: 1.03;
	letter-spacing: -0.05em;
}

.payment-block__lead {
	max-width: 760px;
	color: var(--muted-light);
	font-size: 0.95rem;
	line-height: 1.6;
}

.pay-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 22px 0;
	padding: 0;
	list-style: none;
}

.pay-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border: 1px solid var(--line-light);
	border-radius: 999px;
	color: var(--paper);
	font-size: 0.74rem;
	font-weight: 600;
	line-height: 1.3;
}

.pay-badge svg {
	width: 18px;
	height: 18px;
	flex: none;
	color: var(--lime);
}

.payment-block__footer {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	padding-top: 20px;
	border-top: 1px solid var(--line-light);
}

.payment-block__note {
	color: var(--muted-light);
	font-size: 0.8rem;
	line-height: 1.55;
}

.payment-block__note a {
	color: var(--lime);
	font-weight: 700;
	text-decoration: none;
}

.payment-block__note a:hover {
	color: var(--paper);
}

.req-box {
	max-width: 900px;
	margin-top: 20px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--white);
}

.req-box h2 {
	margin-bottom: 18px;
	font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.requisites {
	display: grid;
	gap: 12px;
}

.requisites__row {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 14px;
	font-size: 0.9rem;
}

.requisites__row dt {
	color: var(--muted);
}

.requisites__row dd {
	color: var(--ink);
	overflow-wrap: anywhere;
}

.requisites__account {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	font-size: 0.92em;
	letter-spacing: 0.02em;
}

/* ==========================================================================
   17. Социальные ссылки
   ========================================================================== */

.socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}

.social-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 7px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-size: 0.74rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: border-color 0.2s var(--ease), color 0.2s var(--ease), background 0.2s var(--ease);
}

.social-link:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.social-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 50%;
	background: var(--paper-deep);
}

.social-link__label {
	padding-right: 2px;
}

/* ==========================================================================
   18. Подвал
   ========================================================================== */

.site-footer {
	position: relative;
	overflow: hidden;
	padding-block: clamp(58px, 8vw, 88px) 26px;
	background: var(--ink);
	color: var(--paper);
}

.site-footer::after {
	position: absolute;
	right: -220px;
	bottom: -300px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(47, 75, 255, 0.28), transparent 68%);
	content: "";
	pointer-events: none;
}

.site-footer .container {
	position: relative;
	z-index: 1;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.35fr 0.7fr 0.85fr 0.9fr;
	gap: 34px;
}

.brand--footer {
	color: var(--paper);
}

.brand--footer:hover {
	color: var(--paper);
}

.brand--footer .brand__mark-bg {
	fill: var(--paper);
}

.brand--footer .brand__mark-line {
	stroke: var(--ink);
}

.brand--footer .brand__mark-accent {
	fill: var(--accent);
	stroke: none;
}

.brand--footer .brand__name {
	font-size: 1.16rem;
}

.brand--footer .brand__role {
	color: var(--muted-light);
}

.footer-intro {
	max-width: 330px;
	margin-top: 20px;
	color: var(--muted-light);
	font-size: 0.9rem;
	line-height: 1.55;
}

.footer-brand .socials {
	margin-top: 22px;
}

.footer-brand .social-link {
	border-color: var(--line-light);
	color: var(--paper);
}

.footer-brand .social-link:hover {
	border-color: var(--lime);
	color: var(--lime);
}

.footer-brand .social-link__icon {
	background: rgba(244, 241, 233, 0.1);
	color: var(--paper);
}

.footer-heading {
	margin-bottom: 16px;
	color: var(--muted-light);
	font-family: var(--font-display);
	font-size: 0.56rem;
	letter-spacing: 0.1em;
	line-height: 1.4;
	text-transform: uppercase;
}

.footer-links {
	display: grid;
	gap: 9px;
	padding: 0;
	list-style: none;
}

.footer-links a {
	color: var(--paper);
	font-size: 0.86rem;
	text-decoration: none;
}

.footer-links a:hover {
	color: var(--lime);
}

.footer-contact {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-contact__mail,
.footer-contact__phone {
	color: var(--paper);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.footer-contact__mail:hover,
.footer-contact__phone:hover {
	color: var(--lime);
}

.footer-contact__site {
	margin-top: 6px;
	color: var(--muted-light);
	font-family: var(--font-display);
	font-size: 0.62rem;
	letter-spacing: 0.06em;
	text-decoration: none;
}

.footer-contact__site:hover {
	color: var(--lime);
}

.footer-contact__note {
	max-width: 220px;
	margin-top: 18px;
	color: var(--muted-light);
	font-size: 0.76rem;
	line-height: 1.5;
}

.footer-meta {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
	gap: 40px;
	margin-top: 48px;
	padding-top: 28px;
	border-top: 1px solid var(--line-light);
}

.footer-requisites .requisites__row {
	grid-template-columns: 140px minmax(0, 1fr);
	font-size: 0.78rem;
}

.footer-requisites .requisites__row dt {
	color: var(--muted-light);
}

.footer-requisites .requisites__row dd {
	color: var(--paper);
}

.footer-payment > p:not(.footer-heading) {
	max-width: 400px;
	color: var(--muted-light);
	font-size: 0.8rem;
	line-height: 1.55;
}

.footer-payment strong {
	color: var(--paper);
}

.footer-payment a {
	display: inline-block;
	margin-top: 8px;
	color: var(--lime);
	font-size: 0.78rem;
	font-weight: 700;
	text-decoration: none;
}

.footer-payment a:hover {
	color: var(--paper);
}

.footer-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 26px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--line-light);
	color: var(--muted-light);
	font-size: 0.72rem;
}

.footer-bottom p {
	margin-bottom: 0;
}

.footer-top-link {
	color: var(--paper);
	text-decoration: none;
}

.footer-top-link:hover {
	color: var(--lime);
}

/* ==========================================================================
   19. Cookie-баннер и кнопка «наверх»
   ========================================================================== */

.cookie-banner {
	position: fixed;
	right: 20px;
	bottom: 20px;
	left: 20px;
	z-index: 2000;
	max-width: 1040px;
	margin-inline: auto;
}

.cookie-banner__card {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	padding: 14px 16px 14px 20px;
	border: 1px solid rgba(12, 17, 27, 0.12);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 16px 50px rgba(12, 17, 27, 0.15);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.cookie-banner__text {
	max-width: 760px;
	color: var(--muted);
	font-size: 0.79rem;
	line-height: 1.5;
}

.cookie-banner__text a {
	color: var(--accent);
}

.cookie-banner__button {
	flex: none;
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: var(--paper);
	font-size: 0.74rem;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.2s var(--ease);
}

.cookie-banner__button:hover {
	background: var(--accent);
	color: var(--white);
}

body.has-cookie-banner .to-top {
	display: none;
}

.to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 1900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--line-light);
	border-radius: 50%;
	background: var(--ink);
	color: var(--paper);
	cursor: pointer;
	box-shadow: 0 10px 30px rgba(12, 17, 27, 0.2);
	transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.to-top:hover {
	background: var(--accent);
	color: var(--white);
	transform: translateY(-2px);
}

/* ==========================================================================
   20. Полноэкранное мобильное меню
   ========================================================================== */

@media (max-width: 1080px) {
	.site-header__actions .header-cta {
		display: none;
	}

	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		inset: 0;
		z-index: 3200;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		overflow-y: auto;
		padding: 104px 28px 44px;
		background: var(--ink);
		color: var(--paper);
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
	}

	.site-nav.is-open {
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}

	.site-nav::before {
		position: absolute;
		top: -200px;
		right: -180px;
		width: 620px;
		height: 620px;
		border-radius: 50%;
		background: radial-gradient(circle, rgba(47, 75, 255, 0.55), transparent 68%);
		content: "";
		pointer-events: none;
	}

	.site-nav .brand {
		position: relative;
		z-index: 1;
		color: var(--paper);
	}

	.site-nav .brand__mark-bg {
		fill: var(--paper);
	}

	.site-nav .brand__mark-line {
		stroke: var(--ink);
	}

	.site-nav .brand__mark-accent {
		fill: var(--accent);
		stroke: none;
	}

	.site-nav .brand__role {
		color: var(--muted-light);
	}

	.nav__head {
		position: absolute;
		top: 20px;
		right: 28px;
		left: 28px;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 20px;
	}

	.nav-close {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		flex: none;
		padding: 0;
		border: 1px solid var(--line-light);
		border-radius: 50%;
		background: transparent;
		color: var(--paper);
		cursor: pointer;
	}

	.nav-close span {
		position: absolute;
		width: 19px;
		height: 1.7px;
		border-radius: 2px;
		background: currentColor;
	}

	.nav-close span:first-child {
		transform: rotate(45deg);
	}

	.nav-close span:last-child {
		transform: rotate(-45deg);
	}

	.nav-close:hover {
		border-color: var(--lime);
		color: var(--lime);
	}

	.nav-list {
		position: relative;
		z-index: 1;
		width: 100%;
		max-width: 620px;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		counter-reset: nav;
	}

	.nav-list li {
		border-top: 1px solid var(--line-light);
		counter-increment: nav;
	}

	.nav-list li:last-child {
		border-bottom: 1px solid var(--line-light);
	}

	.nav-list a {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 16px 32px;
		color: var(--paper);
		font-family: var(--font-display);
		font-size: clamp(1.35rem, 4.5vw, 2.15rem);
		font-weight: 500;
		letter-spacing: -0.04em;
		line-height: 1.1;
		text-align: center;
		text-transform: none;
	}

	.nav-list a::before {
		position: absolute;
		left: 0;
		color: var(--muted-light);
		content: "0" counter(nav);
		font-family: var(--font-display);
		font-size: 0.56rem;
		letter-spacing: 0.08em;
	}

	.nav-list a::after {
		display: none;
	}

	.nav-list a:hover {
		color: var(--lime);
	}

	.nav-list a[aria-current="page"] {
		color: var(--lime);
	}

	.nav__foot {
		position: relative;
		z-index: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 7px;
		margin-top: 26px;
		text-align: center;
	}

	.nav__label {
		margin-bottom: 4px;
		color: var(--muted-light);
		font-family: var(--font-display);
		font-size: 0.56rem;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	.nav__mail,
	.nav__phone {
		color: var(--paper);
		font-size: 0.88rem;
		font-weight: 600;
		text-decoration: none;
	}

	.nav__mail:hover,
	.nav__phone:hover {
		color: var(--lime);
	}

	.nav__foot .socials {
		justify-content: center;
		margin-top: 14px;
	}

	.nav__foot .social-link {
		border-color: var(--line-light);
		color: var(--paper);
	}

	.nav__foot .social-link:hover {
		border-color: var(--lime);
		color: var(--lime);
	}

	.nav__foot .social-link__icon {
		background: rgba(244, 241, 233, 0.1);
		color: var(--paper);
	}
}

/* ==========================================================================
   21. Адаптивность
   ========================================================================== */

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

	.hero__copy {
		max-width: 820px;
	}

	.hero-card {
		max-width: 560px;
		min-height: 430px;
	}

	.services-grid,
	.products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-docs {
		grid-column: auto;
	}
}

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

	.fact-card {
		max-width: 620px;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}

	.process-grid {
		grid-template-columns: 1fr;
	}

	.process-step,
	.process-step:not(:first-child) {
		padding: 24px 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
	}

	.process-step:last-child {
		border-bottom: 0;
	}

	.process-step__title {
		margin-top: 12px;
	}

	.cta-section__inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.cta-actions {
		align-items: flex-start;
	}

	.portfolio-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}

	.footer-brand {
		grid-column: 1 / -1;
	}

	.footer-docs {
		grid-column: auto;
	}

	.footer-meta {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.page-hero__inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 30px;
	}

	.page-hero__aside {
		max-width: none;
		padding-bottom: 0;
		text-align: left;
	}

	.page-hero__role {
		margin-bottom: 12px;
	}

	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .site {
		padding-top: calc(var(--header) + 46px);
	}
}

@media (max-width: 720px) {
	:root {
		--header: 76px;
	}

	body {
		font-size: 17px;
	}

	.container {
		padding-inline: 20px;
	}

	.hero__stats {
		gap: 14px;
	}

	.hero-card {
		min-height: 400px;
		padding: 24px;
	}

	.services-grid,
	.products-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.footer-brand,
	.footer-docs {
		grid-column: auto;
	}

	.form-grid {
		grid-template-columns: 1fr;
	}

	.payment-block__footer {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.contact-card,
	.contact-form-card,
	.payment-block,
	.fact-card {
		padding: 24px;
	}

	.cookie-banner {
		right: 12px;
		bottom: 12px;
		left: 12px;
	}

	.cookie-banner__card {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		padding: 16px;
	}

	.cookie-banner__button {
		width: 100%;
	}

	.to-top {
		right: 16px;
		bottom: 16px;
		width: 46px;
		height: 46px;
	}

	.footer-bottom {
		flex-direction: column;
	}
}

@media (max-width: 560px) {
	.site-header__inner {
		gap: 14px;
	}

	.brand__mark {
		width: 38px;
		height: 38px;
	}

	.brand__name {
		font-size: 0.98rem;
	}

	.brand__role {
		font-size: 0.5rem;
		letter-spacing: 0.08em;
	}

	.hero {
		padding-top: 46px;
	}

	.eyebrow--pill {
		padding: 0;
		border: 0;
		background: transparent;
		font-size: 0.5rem;
		letter-spacing: 0.05em;
	}

	.eyebrow--pill::before {
		box-shadow: none;
	}

	.hero__title {
		font-size: clamp(2.65rem, 12.5vw, 3.8rem);
	}

	.hero__text {
		font-size: 1rem;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.hero__actions .wp-block-button,
	.hero__actions .wp-block-button__link {
		width: 100%;
	}

	.hero-card__name {
		font-size: 2.2rem;
	}

	.page-title {
		font-size: clamp(2.35rem, 11vw, 3.2rem);
	}

	.section-title {
		font-size: clamp(1.9rem, 9vw, 2.6rem);
	}

	.cta-title {
		font-size: clamp(2rem, 10vw, 2.8rem);
	}

	.requisites__row {
		grid-template-columns: 1fr;
		gap: 3px;
	}

	.footer-requisites .requisites__row {
		grid-template-columns: 1fr;
	}

	.nav__head,
	.nav-list,
	.nav__foot {
		max-width: 100%;
	}

	.nav-list a {
		padding-block: 14px;
	}

	.cta-actions,
	.cta-actions .wp-block-buttons,
	.cta-actions .wp-block-button {
		width: 100%;
	}

	.cta-actions .wp-block-button__link,
	.cta-actions .btn {
		width: 100%;
	}
}

@media (max-width: 380px) {
	.brand__role {
		display: none;
	}

	.brand__name {
		font-size: 0.9rem;
	}
}

@media (max-width: 1024px) {
	.wp-block-columns.hero__columns {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.hero__columns > .wp-block-column {
		flex-basis: 100% !important;
	}

	.wp-block-columns.hero__columns .hero-card {
		max-width: 560px;
	}
}

@media (max-width: 900px) {
	.wp-block-columns.split-columns,
	.wp-block-columns.contact-columns,
	.wp-block-columns.cta-columns {
		flex-wrap: wrap !important;
	}

	.wp-block-columns.split-columns > .wp-block-column,
	.wp-block-columns.contact-columns > .wp-block-column,
	.wp-block-columns.cta-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* ==========================================================================
   22. Блог, 404, пагинация, таблицы
   ========================================================================== */

.post-list {
	display: grid;
	gap: 16px;
	max-width: 900px;
}

.post-card {
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--white);
}

.post-meta {
	margin-bottom: 7px;
	color: var(--muted);
	font-size: 0.72rem;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.post-card__title {
	font-size: clamp(1.3rem, 2.4vw, 1.7rem);
	letter-spacing: -0.035em;
}

.post-card__title a {
	color: var(--ink);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--accent);
}

.post-card__excerpt {
	margin-top: 9px;
	color: var(--muted);
	font-size: 0.9rem;
}

.post-card__excerpt p {
	margin-bottom: 0;
}

.pagination {
	margin-top: 32px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding-inline: 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	text-decoration: none;
}

.page-numbers:hover,
.page-numbers.current {
	border-color: var(--ink);
	background: var(--ink);
	color: var(--paper);
}

.post-navigation {
	max-width: 900px;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid var(--line);
	font-size: 0.88rem;
}

.post-navigation .nav-links {
	justify-content: space-between;
	gap: 16px;
}

.error-404 {
	max-width: 850px;
	padding-block: clamp(20px, 4vw, 48px);
}

.error-404__code {
	color: transparent;
	font-family: var(--font-display);
	font-size: clamp(5rem, 16vw, 11rem);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.08em;
	-webkit-text-stroke: 1px var(--line);
}

.error-404 h1 {
	margin-top: 20px;
	font-size: clamp(2rem, 4.4vw, 3.6rem);
	letter-spacing: -0.055em;
}

.error-404__text {
	max-width: 620px;
	margin-top: 16px;
	color: var(--muted);
	font-size: 1rem;
}

.error-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 28px;
}

.prose {
	max-width: 860px;
}

.prose > * {
	margin-top: 0;
	margin-bottom: 0;
}

.prose > * + * {
	margin-top: 1em;
}

.prose > h2 {
	margin-top: 2em;
	font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.prose > h2 + *,
.prose > h3 + * {
	margin-top: 0.5em;
}

.prose h3 {
	margin-top: 1.6em;
	font-size: 1.2rem;
}

.prose ul,
.prose ol {
	margin-block: 0;
	padding-left: 1.3em;
}

.prose li + li {
	margin-top: 0.35em;
}

.prose li::marker {
	color: var(--accent);
}

.prose a {
	text-decoration: underline;
}

.prose hr {
	border: 0;
	border-top: 1px solid var(--line);
	margin-block: 2em;
}

.legal {
	max-width: 900px;
}

.legal > * {
	margin-top: 0;
	margin-bottom: 0;
}

.legal > * + * {
	margin-top: 1em;
}

.legal > h2 {
	margin-top: 2.2em;
	font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}

.legal > h2 + * {
	margin-top: 0.55em;
}

.legal ul,
.legal ol {
	padding-left: 1.3em;
}

.legal li + li {
	margin-top: 0.35em;
}

.legal a {
	text-decoration: underline;
}

.legal .wp-block-table {
	margin-block: 20px;
	overflow-x: auto;
}

.table-wrap {
	margin-block: 20px;
	overflow-x: auto;
}

.table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 0.88rem;
}

.table th,
.table td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.table th {
	background: var(--paper-deep);
	color: var(--ink);
	font-weight: 700;
}

.legal .wp-block-table table {
	width: 100%;
	min-width: 640px;
	border-collapse: collapse;
	font-size: 0.86rem;
}

.legal .wp-block-table th,
.legal .wp-block-table td {
	padding: 10px 12px;
	border: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}

.legal .wp-block-table th {
	background: var(--paper-deep);
	font-weight: 700;
}

code {
	padding: 2px 5px;
	border-radius: 4px;
	background: var(--paper-deep);
	font-size: 0.88em;
}

.page-links {
	margin-top: 24px;
}

/* ==========================================================================
   23. Финальные акценты: главный экран, карточки, юр. страницы
   ========================================================================== */

@keyframes khodiy-aurora {
	from {
		transform: translate3d(0, 0, 0) scale(1);
		opacity: 0.85;
	}
	to {
		transform: translate3d(-36px, 28px, 0) scale(1.12);
		opacity: 0.55;
	}
}

@keyframes khodiy-rise {
	from {
		opacity: 0;
		transform: translateY(18px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes khodiy-card-in {
	from {
		opacity: 0;
		transform: translateY(26px) scale(0.985);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Шапка и главный экран больше не сливаются */

/* No backdrop-filter/transform here: .site-nav is a fixed full-screen child. */
.site-header {
	border-bottom: 1px solid var(--line-soft);
	background: var(--paper);
}

body.admin-bar .site-nav {
	top: 32px;
	bottom: 0;
	height: auto;
}

@media (max-width: 782px) {
	body.admin-bar .site-header {
		top: 46px;
	}

	body.admin-bar .site {
		padding-top: calc(var(--header) + 46px);
	}

	body.admin-bar .site-nav {
		top: 46px;
		bottom: 0;
		height: auto;
	}
}

.hero {
	border-bottom: 1px solid var(--line-soft);
	background:
		radial-gradient(ellipse 75% 70% at 88% 4%, rgba(47, 75, 255, 0.13), transparent 64%),
		radial-gradient(ellipse 55% 45% at 5% 100%, rgba(200, 255, 77, 0.1), transparent 68%),
		linear-gradient(180deg, #f8f5ed 0%, #eef0f7 58%, #f4f1e9 100%);
}

.hero::after {
	animation: khodiy-aurora 14s ease-in-out infinite alternate;
}

.hero__copy .eyebrow {
	animation: khodiy-rise 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.hero__copy .hero__title {
	animation: khodiy-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.hero__copy .hero__text {
	animation: khodiy-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

.hero__copy .hero__actions {
	animation: khodiy-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero__copy .hero__stats {
	animation: khodiy-rise 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.38s both;
}

.hero-card {
	animation: khodiy-card-in 0.95s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero__text {
	max-width: 620px;
	margin-top: 26px;
	margin-bottom: 0;
	padding: 14px 18px 14px 20px;
	border-left: 2px solid var(--accent);
	border-radius: 0 12px 12px 0;
	background: linear-gradient(90deg, rgba(47, 75, 255, 0.055), rgba(47, 75, 255, 0));
	color: #303746;
	font-size: 1.06rem;
	line-height: 1.64;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 30px;
}

.hero__actions .wp-block-button {
	flex: 0 0 212px;
	margin: 0;
}

.hero__actions .wp-block-button__link {
	width: 100%;
	min-height: 48px;
	padding: 14px 18px;
}

/* Cookie-баннер компактнее */

.cookie-banner {
	right: 16px;
	bottom: 16px;
	left: 16px;
	max-width: 760px;
}

.cookie-banner__card {
	gap: 14px;
	padding: 11px 12px 11px 16px;
	border-radius: 14px;
}

.cookie-banner__text {
	max-width: 560px;
	font-size: 0.74rem;
	line-height: 1.45;
}

.cookie-banner__button {
	padding: 9px 16px;
	font-size: 0.7rem;
}

/* Цветные иконки мессенджеров */

.social-link__icon {
	width: 30px;
	height: 30px;
	overflow: hidden;
	border-radius: 9px;
	background: transparent;
}

.social-link__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.footer-brand .social-link__icon {
	background: transparent;
}

/* Номера услуг и шагов */

.card-num {
	font-size: 1.08rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.process-step__num {
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: 0.08em;
}

/* Большие полупрозрачные номера портфолио */

.portfolio-cover__num {
	position: absolute;
	top: 16px;
	right: 20px;
	z-index: 0;
	margin: 0;
	color: rgba(12, 17, 27, 0.13);
	font-family: var(--font-display);
	font-size: clamp(4.4rem, 7vw, 6.6rem);
	font-weight: 600;
	letter-spacing: -0.09em;
	line-height: 0.72;
	pointer-events: none;
}

.portfolio-cover--ink .portfolio-cover__num {
	color: rgba(244, 241, 233, 0.18);
}

.portfolio-cover__type {
	max-width: 70%;
	margin-top: auto;
}

/* Иконки продуктов на обложках */

.product-cover__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	color: var(--paper);
	line-height: 0;
}

.product-cover--lime .product-cover__icon {
	color: var(--ink);
}

.product-cover__icon svg {
	display: block;
	width: clamp(76px, 8vw, 112px);
	height: auto;
}

.product-card__body h2 {
	line-height: 1.2;
}

/* Отступ после вступительного абзаца */

.page-intro + .products-row,
.page-intro + .portfolio-row,
.page-intro + .contact-columns {
	margin-top: clamp(48px, 6vw, 72px);
}

/* Карточки «Прямая связь» и «Заявка» одной высоты */

.wp-block-columns.contact-columns {
	align-items: stretch !important;
}

.contact-columns .contact-card,
.contact-columns .contact-form-card {
	height: 100%;
}

/* Реквизиты и контакты в подвале — один шрифт */

.requisites__row {
	grid-template-columns: 170px minmax(0, 1fr);
	font-size: 0.88rem;
}

.requisites__row dt,
.requisites__row dd {
	font-family: var(--font-body);
}

.requisites__row dd {
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.01em;
}

.requisites__account {
	font-family: inherit;
	font-size: 1em;
	letter-spacing: inherit;
}

.footer-contact__mail,
.footer-contact__phone,
.footer-contact__site {
	font-family: var(--font-body);
	font-size: 0.92rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.5;
	text-decoration: none;
}

.footer-contact__mail,
.footer-contact__phone {
	color: var(--paper);
}

.footer-contact__site {
	margin-top: 4px;
	color: var(--muted-light);
	font-weight: 500;
}

.footer-contact__mail:hover,
.footer-contact__phone:hover,
.footer-contact__site:hover {
	color: var(--lime);
}

.footer-payment-list {
	display: grid;
	gap: 6px;
	margin: 0 0 14px;
	padding: 0;
	color: var(--muted-light);
	font-size: 0.84rem;
	line-height: 1.5;
	list-style: none;
}

.footer-payment-list strong {
	color: var(--paper);
	font-weight: 600;
}

/* Юридические страницы: читаемая типографика и одинаковые списки */

.legal {
	max-width: 820px;
	color: #2d333d;
	font-size: 1.02rem;
	line-height: 1.76;
}

.legal p {
	margin: 0 0 1.15em;
}

.legal p:last-child {
	margin-bottom: 0;
}

.legal .wp-block-paragraph:first-child {
	color: var(--ink);
	font-size: 1.08rem;
}

.legal h2 {
	scroll-margin-top: calc(var(--header) + 24px);
	margin: 2.5em 0 0.85em;
	padding-bottom: 0.45em;
	border-bottom: 1px solid var(--line-soft);
	font-size: clamp(1.5rem, 2.2vw, 1.95rem);
	line-height: 1.2;
	letter-spacing: -0.035em;
}

.legal h3 {
	margin: 1.8em 0 0.6em;
	font-size: 1.25rem;
	line-height: 1.3;
}

.legal .wp-block-list {
	margin: 1em 0 1.35em;
	padding-left: 1.6em;
	list-style-position: outside;
}

.legal .wp-block-list li {
	margin: 0.5em 0;
	padding-left: 0.2em;
}

.legal .wp-block-list li + li {
	margin-top: 0.5em;
}

.legal .wp-block-list li::marker {
	color: var(--accent);
	font-weight: 700;
}

.legal .wp-block-list .wp-block-list {
	margin: 0.55em 0 0.65em;
	padding-left: 1.35em;
}

.legal .wp-block-list ul,
.legal .wp-block-list ol {
	padding-left: 1.35em;
}

.legal a {
	color: var(--accent);
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
}

.legal strong {
	color: var(--ink);
}

.legal .wp-block-table {
	margin-block: 24px;
}

.legal .wp-block-table th,
.legal .wp-block-table td {
	padding: 12px 14px;
	line-height: 1.55;
}

.page-hero .page-title {
	font-size: clamp(2.5rem, 5vw, 4.6rem);
}

@media (max-width: 900px) {
	.contact-columns .contact-card,
	.contact-columns .contact-form-card {
		height: auto;
	}
}

@media (max-width: 700px) {
	.legal {
		font-size: 1rem;
		line-height: 1.72;
	}

	.legal h2 {
		margin-top: 2em;
		font-size: 1.45rem;
	}

	.legal .wp-block-list {
		padding-left: 1.35em;
	}

	.legal .wp-block-list .wp-block-list {
		padding-left: 1.15em;
	}
}

@media (max-width: 560px) {
	.hero__actions .wp-block-button {
		flex: 1 1 100%;
		width: 100%;
	}

	.cookie-banner {
		right: 10px;
		bottom: 10px;
		left: 10px;
	}

	.cookie-banner__card {
		padding: 12px;
		gap: 10px;
	}

	.cookie-banner__text {
		font-size: 0.72rem;
	}

	.portfolio-cover__num {
		top: 12px;
		right: 14px;
		font-size: 4.2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hero::after,
	.hero__copy .eyebrow,
	.hero__copy .hero__title,
	.hero__copy .hero__text,
	.hero__copy .hero__actions,
	.hero__copy .hero__stats,
	.hero-card {
		animation: none !important;
	}

	html {
		scroll-behavior: auto !important;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
