/* ==========================================================================
   Бизнес Решения — ТО ИТ. Лендинг по макету Figma (1920 + 360).
   ========================================================================== */

/* ---------- Шрифты (Geologica, variable, self-hosted) ---------- */

@font-face {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/geologica-cyrillic.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Geologica';
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url('../fonts/geologica-latin.woff2') format('woff2');
	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;
}

/* ---------- Токены ---------- */

:root {
	--bg: #F3F4F6;
	--blue: #122EBA;
	--blue-soft: #4158C8;
	--text: #222222;
	--gray: #9CA2AF;
	--border: #E5E7EB;
	--white-20: rgba(255, 255, 255, 0.2);
	--white-40: rgba(255, 255, 255, 0.4);
	--red-dark: #570F1C;
	--warn: #BA6612;
	--radius-xl: 24px;
	--radius-md: 8px;
	--speed: .2s;
}

/* ---------- База ---------- */

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

html { scroll-behavior: smooth; overflow-x: hidden; background: var(--bg); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Geologica', 'Segoe UI', Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.3;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4, ul, hr { margin: 0; padding: 0; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
	max-width: 1560px;
	margin-inline: auto;
	padding-inline: 20px;
}

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

/* ---------- Кнопки ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 10px 40px;
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.3;
	text-align: center;
	transition: opacity var(--speed), background var(--speed), transform var(--speed);
}
.btn:hover { opacity: .9; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--blue); color: #fff; }
.btn-outline { background: #fff; border-color: var(--border); color: var(--blue); }
.btn-white { background: #fff; color: var(--blue); }
.btn-ghost { background: var(--white-20); color: #fff; }
.btn-gray { background: var(--border); color: var(--text); }
.btn-block { width: 100%; }
.btn-wide { width: 456px; }

/* ---------- Шапка ---------- */

.site-header {
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow var(--speed);
}
.site-header.is-stuck {
	box-shadow: 0 8px 24px rgba(34, 34, 34, .08);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 80px;
}

.logo { flex-shrink: 0; }

.header-nav {
	display: flex;
	align-items: center;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	padding: 10px 12px;
	font-size: 16px;
	color: var(--text);
	transition: color var(--speed);
}
.nav-link:hover { color: var(--blue); }
.nav-link.is-active { color: var(--blue); font-weight: 500; }

/* Якоря не прячутся под липкой шапкой */
[id] { scroll-margin-top: 96px; }

.header-right {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-phone {
	font-weight: 500;
	font-size: 20px;
	color: var(--blue);
	margin-right: 12px;
	white-space: nowrap;
}

.yandex-badge {
	display: flex;
	align-items: center;
	gap: 4px;
	background: #fff;
	border-radius: 48px;
	padding-right: 20px;
	margin-right: 8px;
}
.yandex-badge img { border-radius: 48px; }
.yandex-info {
	display: flex;
	flex-direction: column;
	width: 66px;
}
.yandex-score {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	font-size: 16px;
}
.yandex-count { font-weight: 300; font-size: 12px; color: var(--gray); }

.socials { display: flex; gap: 8px; }

.social-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	transition: border-color var(--speed);
}
.social-btn:hover { border-color: var(--blue); }
.social-btn img { width: 22px; }

.burger {
	display: none;
	width: 52px;
	height: 52px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}
.burger span {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--blue);
	border-radius: 2px;
	transition: transform var(--speed), opacity var(--speed);
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
	position: absolute;
	inset: 80px 20px auto;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 12px;
	display: flex;
	flex-direction: column;
	box-shadow: 0 16px 40px rgba(18, 46, 186, .12);
	z-index: 60;
}
.mobile-nav[hidden] { display: none; }
.mobile-nav .nav-link { padding: 14px 20px; font-size: 18px; }
.mobile-nav .nav-link + .nav-link { border-top: 1px solid var(--border); }

/* ---------- Hero ---------- */

.hero { margin-top: 32px; margin-bottom: 160px; }

.hero-container {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.hero-photo {
	order: 3;
	width: 100%;
	aspect-ratio: 1520 / 560;
	object-fit: cover;
	border: 4px solid #fff;
	border-radius: var(--radius-xl);
	margin-top: 32px;
}

.hero-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.pill {
	display: inline-flex;
	align-items: center;
		padding: 9px 28px;
	background: #fff;
	border: 1px solid var(--blue);
	border-radius: 40px;
	font-weight: 300;
	font-size: 16px;
	color: var(--blue);
}

.hero-row {
	display: flex;
	align-items: flex-end;
	gap: 96px;
	margin-top: 12px;
}

.hero-text { flex: 1 1 auto; }

.hero-text h1 {
	font-weight: 700;
	font-size: 48px;
	line-height: 1.1;
	max-width: 868px;
}

.hero-lead {
	font-weight: 600;
	font-size: 16px;
	margin-top: 16px;
	max-width: 868px;
}

.hero-aside {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 556px;
	max-width: 100%;
}

.hero-price { display: flex; align-items: flex-start; gap: 24px; }

.price-value {
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	color: var(--blue);
	white-space: nowrap;
}

.price-note { font-weight: 300; max-width: 111px; }

.price-subnote { font-weight: 300; opacity: .5; }

.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-actions .btn { flex: 0 0 auto; white-space: nowrap; }

/* Плашка мониторинга — десктоп: бар поверх нижнего края фото (2184:5) */
.monitor-card {
	position: absolute;
	left: 44px;
	right: 44px;
	bottom: 24px;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 88px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 24px;
}

.monitor-card h3 {
	font-weight: 500;
	font-size: 20px;
	letter-spacing: .02em;
	margin: 0;
	white-space: nowrap;
}

.monitor-list {
	margin-top: 0;
	display: flex;
	flex: 1 1 auto;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

.monitor-row {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	padding: 0 24px;
	border-top: 0;
	border-left: 1px solid var(--border);
}
.monitor-row:first-child { padding-left: 0; border-left: 0; }
.monitor-name { font-weight: 300; font-size: 16px; white-space: nowrap; }

.monitor-status {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-weight: 600;
	font-size: 12px;
	color: var(--blue);
	white-space: nowrap;
}
.monitor-status i {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--blue);
}
.monitor-status.color-warn { color: var(--warn); }
.monitor-status.color-warn i { background: var(--warn); }
.monitor-status.color-info { color: var(--gray); }
.monitor-status.color-info i { background: var(--gray); }

/* ---------- Секции: каркас ---------- */

.section { margin-bottom: 160px; }

.section-frame {
	position: relative;
	width: 100%;
	margin: 0 auto 160px;
	border-radius: 0;
	/* border-radius: var(--radius-xl); */

	overflow: hidden;
}

.section-frame .container {
	position: relative;
}

.section-blue { background: var(--blue); color: #fff; }
.section-frame { padding-block: 80px; }
.section-grad {
	background: radial-gradient(circle at 50% 50%, #E5E7EB 0%, #D1D4DB 100%);
}
.section-grad .grad-noise {
	position: absolute;
	inset: 0;
	background: url('../img/noise.png') repeat;
	background-size: 1024px 1024px;
	opacity: .2;
	mix-blend-mode: overlay;
	pointer-events: none;
}

.frame-decor {
	position: absolute;
	top: -225px;
	right: -108px;
	width: 1170px;
	opacity: 1;
	pointer-events: none;
	user-select: none;
}
/* «Сколько стоит» (2184:739) и «Доступ» (2184:1928): вектор x=1032 в секции 1880 → правый свес 322 */
#prices .frame-decor,
.section-access .frame-decor { right: -322px; }

.section-head h2,
.section > .container > h2,
.section-frame h2,
.cta-card h2 {
	font-weight: 700;
	font-size: 48px;
	line-height: 1.2;
}

.section-head h2.on-blue,
.section-head .on-blue,
.on-blue { color: #fff; }

.section-head .section-sub {
	font-weight: 500;
	font-size: 20px;
	margin-top: 24px;
	max-width: 1006px;
}

/* Подзаголовки секций: Medium 20 по макету (2184:834); отдельного правила для
   «белых» секций больше нет — оно ошибочно сбрасывало 20px до 16px в .section */
.section-grad .section-sub:not(.on-blue) { font-weight: 300; }

.section-head { max-width: 1006px; }

/* ---------- Тарифы «Сколько стоит» ---------- */

.pricing-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin-top: 40px;
}

.pricing-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
	min-width: 0;
	background: var(--blue);
	border: 1px solid #fff;
	border-radius: var(--radius-xl);
}

.pricing-card h3 { font-weight: 700; font-size: 32px; line-height: 1.1; }
.pricing-card .card-head p { font-weight: 300; margin-top: 12px; }

.pricing-card hr {
	border: 0;
	border-top: 1px solid var(--white-20);
}

.pricing-card .check-list { flex: 1 1 auto; }

.check-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-content: start;
}
.check-list li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-weight: 300;
}
.check-list .ico-check { flex-shrink: 0; }
.check-list.dark { gap: 16px; }
.check-list.dark li { font-weight: 300; }

.pricing-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}
.pricing-price .price-label { font-weight: 300; max-width: 158px; }
.price-line { display: flex; align-items: flex-start; gap: 16px; }
.price-big { font-weight: 700; font-size: 40px; line-height: 1.2; white-space: nowrap; }
.price-per {
	font-weight: 600;
	font-size: 14px;
	opacity: .6;
	padding-top: 8px;
	max-width: 111px;
}

.pricing-card .btn-block { margin-top: 0; }

/* ---------- Проблемы ---------- */

.problem-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-top: 32px;
}

.problem-card {
	position: relative;
	min-height: 184px;
	padding: 24px;
	background: #fff;
	border-radius: var(--radius-xl);
}
.problem-card:nth-child(even) { background: #E9EAEE; }

.problem-card .num-badge {
	display: inline-flex;
	align-items: center;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-weight: 500;
	color: var(--blue);
	font-size: 20px;
}

.problem-card .quote-ico {
	position: absolute;
	top: 12px;
	right: 24px;
	opacity: .35;
}

.problem-card p {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: 24px;
	font-weight: 500;
font-size: 18px;
}

/* ---------- Что берём ---------- */

.services-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.service-chip {
	background: #fff;
	border-radius: 16px;
	padding: 20px;
}
.service-chip h3 { font-weight: 500; font-size: 16px; }
.service-chip p { font-weight: 300; margin-top: 12px; color: var(--gray); }

/* ---------- Что входит ---------- */

.included-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 32px;
}

.included-card {
	background: #fff;
	border-radius: var(--radius-xl);
	padding: 32px;
	display: flex;
	flex-direction: column;
}
.included-card h3 {
	font-weight: 600;
	font-size: 16px;
	margin-top: 48px;
	white-space: pre-line;
}
.included-card .check-list { margin-top: 16px; }
.included-card .check-list li { font-weight: 300; }

/* ---------- Калькулятор ---------- */

.calc-layout {
	display: grid;
	grid-template-columns: 1fr 493px;
	gap: 20px;
	align-items: start;
	margin-top: 40px;
}

.calc-group + .calc-group { margin-top: 48px; }

.calc-group-title {
	font-weight: 500;
	font-size: 20px;
	text-transform: uppercase;
	margin-bottom: 24px;
}

.calc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.calc-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 31px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	cursor: pointer;
	transition: border-color var(--speed);
}
.calc-item:hover { border-color: var(--blue); }
.calc-item input { position: absolute; opacity: 0; pointer-events: none; }

.checkbox {
	flex-shrink: 0;
	width: 48px;
	height: 48px;
	border: 1px solid var(--blue);
	border-radius: 12px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23122EBA' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center no-repeat;
	background-size: 0;
	transition: background-size var(--speed);
}
.calc-item input:checked ~ .checkbox { background-size: 24px; }

.calc-label { font-weight: 300; }

.calc-panel {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background: var(--blue);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 30px;
}
/* Знак «1С» в панели (2184:1725): 1170×885, left 24, по центру вертикали, за контентом */
.calc-panel .frame-decor {
	width: 1170px;
	max-width: none;
	top: 50%;
	right: auto;
	left: 24px;
	transform: translateY(-50%);
	z-index: -1;
}
.calc-panel h3 { font-weight: 700; font-size: 32px; line-height: 1.2; }

.calc-count { display: flex; align-items: center; gap: 30px; }
.calc-number { font-weight: 700; font-size: 98px; line-height: 1.2; }
.calc-count-info { display: flex; flex-direction: column; gap: 8px; }
.calc-count-word { font-weight: 600; font-size: 14px; }
.calc-count-sub { font-weight: 600; font-size: 14px; opacity: .5; }

.calc-form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.select-wrap select,
.calc-form input[type="tel"] {
	width: 100%;
	min-height: 52px;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid #fff;
	border-radius: var(--radius-md);
	color: #fff;
	font-family: inherit;
	font-weight: 500;
	font-size: 16px;
	appearance: none;
	outline: none;
}
.calc-form input[type="tel"] { border-color: var(--white-40); }
.calc-form input[type="tel"]::placeholder { color: var(--white-40); opacity: 1; }
.calc-form input:focus, .select-wrap select:focus { border-color: #fff; }

.select-wrap { position: relative; }
.select-wrap::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.select-wrap select option { color: var(--text); }

.calc-form .btn { margin-top: 20px; }

.form-note {
	font-weight: 300;
	font-size: 16px;
	text-align: center;
	margin-top: 12px;
}
.form-note.on-blue { opacity: .5; }
.form-note.small { font-size: 12px; text-align: left; }

/* ---------- Разовые работы ---------- */

.onetime-layout {
	display: grid;
	grid-template-columns: 1fr 493px;
	gap: 149px;
	align-items: start;
}

.section-head.no-gap .section-sub { margin-top: 24px; }
.section-head.no-gap { max-width: 100%; }

.onetime-info .btn { margin-top: 24px; width: 365px; }

/* Подпись под кнопкой: 365px (2184:1904), по центру, #4B5363 без прозрачности */
.btn-note {
	font-weight: 300;
	margin-top: 16px;
	max-width: 365px;
	color: #4B5363;
	text-align: center;
}
.btn-note.center { max-width: none; }

.onetime-list {
	background: #fff;
	border: 1px solid #F3F4F6;
	border-radius: var(--radius-xl);
	padding: 24px;
}

.onetime-row {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 0;
	border-bottom: 1px solid var(--border);
}
.onetime-row:first-child { padding-top: 0; }
.onetime-row:last-child { border-bottom: 0; padding-bottom: 0; }
.onetime-price { font-weight: 300; font-size: 16px; color: var(--blue); }
.onetime-name { font-weight: 600; font-size: 12px; opacity: .5; }

/* ---------- Доступ ---------- */

.access-head h2 { max-width: 1006px; }
.access-head .section-sub { max-width: 1006px; font-weight: 500; font-size: 20px; margin-top: 24px; }
.access-head .btn { margin-top: 24px; }

.access-strip {
	display: grid;
	grid-template-columns: 383fr 392fr 392fr 303fr;
	background: var(--blue-soft);
	border-radius: var(--radius-xl);
	padding: 24px;
	margin-top: 40px;
}
/* Ритм макета 2184:1988: 88px от текста до разделителя, тексты 295/215 */
.access-item {
	display: flex;
	align-items: center;
	padding-right: 88px;
}
.access-item + .access-item { border-left: 1px solid var(--white-20); padding-left: 88px; }
.access-item:last-child { padding-right: 0; }
.access-item p { font-weight: 300; max-width: 215px; }
.access-item:first-child p { max-width: 295px; }

/* ---------- Этапы ---------- */

.steps-layout {
	display: grid;
	grid-template-columns: 1fr 622px;
	gap: 148px;
	align-items: start;
}

/* 96px = липкая шапка 80 + отступ, чтобы колонка не уезжала под шапку */
.steps-info { position: sticky; top: 96px; }
.steps-info h2 { font-weight: 700; font-size: 48px; line-height: 1.2; }

.steps-text { margin-top: 24px; display: flex; flex-direction: column; gap: 16px; }
.steps-text p { font-weight: 300; }

.steps-list { display: flex; flex-direction: column; gap: 20px; }

.step-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 32px;
	min-height: 195px;
}
.step-head {
	display: flex;
	align-items: center;
	gap: 16px;
}
.step-head .num-badge {
	display: inline-flex;
	align-items: center;
	padding: 10px 12px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-weight: 500;
	color: var(--blue);
}
.step-head h3 { font-weight: 600; font-size: 16px; }
.step-card > p { font-weight: 300; margin-top: 20px; }

.steps-right .btn { margin-top: 32px; }
.steps-right .btn-note { margin-top: 16px; }

/* ---------- География ---------- */

.geo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	align-items: stretch;
}

.geo-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--bg);
	border-radius: var(--radius-xl);
	padding: 48px;
    overflow: hidden;
}

.geo-gerb {
	position: absolute;
    top: 0;
    right: 0;
    width: 113px;
    height: 113px;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.geo-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 0; flex: 1; }

.geo-small { font-weight: 500; font-size: 20px; }
.geo-card h3 { font-weight: 700; font-size: 32px; line-height: 1.2; margin-top: 8px; }
.geo-text { font-weight: 300; margin-top: 24px; }

.geo-note {
	background: #EEF1FB;
	border-radius: 16px;
	padding: 24px;
	margin-top: 28px;
}
.geo-note h4 { font-weight: 500; font-size: 20px; color: var(--blue); }
.geo-note p { font-weight: 300; margin-top: 12px; }

.geo-contacts {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	margin-top: 28px;
}
.geo-contact { display: flex; flex-direction: column; gap: 12px; padding: 16px 0 8px; }
.geo-contact:nth-child(-n+2) { padding: 8px 0 24px; border-bottom: 1px solid rgba(18, 46, 186, 0.1); }
.geo-value { font-weight: 500; font-size: 20px; color: var(--blue); }
.geo-label { font-weight: 300; }

.geo-card > .btn { margin-top: 32px; }

/* ---------- Сисадмин ---------- */

.sysadmin-layout {
	display: grid;
	grid-template-columns: 1fr 620px;
	gap: 150px;
	align-items: start;
}

.sysadmin-info { display: flex; flex-direction: column; min-height: 417px; }
.sysadmin-info h2 { font-weight: 700; font-size: 48px; line-height: 1.2; }
/* Medium 20 (2184:2404); селектор с .section-grad перебивает .section-grad .section-sub:not(.on-blue) */
.section-grad .sysadmin-info .section-sub { font-weight: 500; font-size: 20px; margin-top: 24px; max-width: 750px; }
.sysadmin-note { font-weight: 300; margin-top: auto; padding-top: 40px; }

.sysadmin-cards { display: flex; flex-direction: column; gap: 17px; }

.sysadmin-card {
	background: #fff;
	border: 1px solid var(--bg);
	border-radius: var(--radius-xl);
	padding: 24px;
}
.sysadmin-card h3 { font-weight: 500; font-size: 20px; }

.tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}
.tag {
	display: inline-flex;
	padding: 12px 16px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-weight: 300;
}

/* ---------- Отзывы ---------- */

.reviews-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.reviews-head h2 { font-weight: 700; font-size: 48px; line-height: 1.2; }

.reviews-arrows { display: flex; gap: 12px; }
.arrow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	color: var(--text);
	transition: border-color var(--speed);
}
.arrow-btn:hover { border-color: var(--blue); }

.reviews-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 90px) / 3);
	gap: 20px;
	margin-top: 32px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.reviews-track::-webkit-scrollbar { display: none; }

.review-card {
	scroll-snap-align: start;
	min-height: 400px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 32px;
}
.review-top { display: flex; flex-direction: column; gap: 8px; }
.review-top h3 { font-weight: 500; font-size: 20px; }
.review-date { font-weight: 300; color: var(--gray); }
.review-text { font-weight: 300; }

.review-author { display: flex; align-items: center; gap: 16px; }
.review-author img {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	object-fit: cover;
}
.review-author div { display: flex; flex-direction: column; gap: 4px; }
.review-name { font-weight: 300; }
.review-company { font-weight: 300; color: var(--gray); }

/* ---------- Формы ---------- */

.forms-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	align-items: stretch;
}

.form-card {
	position: relative;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-xl);
	padding: 48px 60px;
	min-height: 486px;
}

.form-deco {
	position: absolute;
	top: -47px;
	left: 390px;
	width: 1057px;
	pointer-events: none;
	user-select: none;
}
.form-red .form-deco { left: -365px; }
.form-light > *:not(.form-deco),
.form-red > *:not(.form-deco) { position: relative; z-index: 1; }
.form-card .form-body { margin-top: auto; padding-top: 24px; }
.form-card .form-label { font-weight: 300; }
.form-card h3 { font-weight: 700; font-size: 32px; margin-top: 8px; }
.form-card .form-desc { font-weight: 300; margin-top: 16px; }

.form-light {
	background: #fff;
	border: 1px solid var(--blue);
}
.form-red {
	background: var(--red-dark);
	color: #fff;
}

.inline-form { display: flex; flex-direction: column; gap: 12px; }

.inline-form input {
	width: 100%;
	min-height: 52px;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-family: inherit;
	font-weight: 300;
	font-size: 16px;
	outline: none;
}
.form-red .inline-form input { border-color: var(--white-40); color: #fff; }
.form-red .inline-form input::placeholder { color: var(--white-40); opacity: 1; }
.inline-form input:focus { border-color: var(--blue); }

.inline-form .btn { flex: 0 0 auto; }

.form-card .form-note { margin-top: 12px; }
.form-red .form-note { color: #fff; opacity: .7; }
.form-note.small { font-weight: 600; font-size: 12px; opacity: 1; }
.form-note .dim { opacity: .4; }
.form-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.form-note b { font-weight: 600; }

.form-divider {
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 12px;
	color: rgba(255, 255, 255, .4);
	margin: 8px 0;
}
.form-divider::before,
.form-divider::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, .2);
}

/* ---------- Contact Form 7 ---------- */

.cf7-wrap p { margin: 0 0 12px; }
.cf7-wrap p:last-of-type { margin-bottom: 0; }
.cf7-wrap p[style*="display:none"],
.cf7-wrap p[style*="display: none"] { margin: 0; }

/* Формы-карточки: поле + кнопка в одной строке (grid по детям CF7) */
.form-card .cf7-wrap form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: stretch;
}
.form-card .cf7-wrap form > p { margin: 0; display: flex; }
.form-card .cf7-wrap form > .wpcf7-response-output { grid-column: 1 / -1; }

.cf7-wrap input[type="tel"],
.cf7-wrap input[type="email"],
.cf7-wrap select {
	width: 100%;
	min-height: 52px;
	padding: 10px 20px;
	background: transparent;
	border: 1px solid var(--white-40);
	border-radius: var(--radius-md);
	color: #fff;
	font-family: inherit;
	font-weight: 500;
	font-size: 16px;
	outline: none;
	transition: border-color var(--speed);
}
.cf7-wrap input::placeholder { color: var(--white-40); opacity: 1; }
.cf7-wrap input:focus,
.cf7-wrap select:focus { border-color: #fff; }

/* Светлая форма (прайс на почту) */
.form-light .cf7-wrap input[type="email"] {
	border-color: #9CA2AF;
	color: var(--text);
}
.form-light .cf7-wrap input::placeholder { color: #6B7280; }

/* Кнопка отправки */
.cf7-wrap input[type="submit"] {
	min-height: 52px;
	padding: 10px 20px;
	border: 0;
	border-radius: var(--radius-md);
	background: #fff;
	color: var(--blue);
	font-family: inherit;
	font-weight: 500;
	font-size: 16px;
	cursor: pointer;
	transition: opacity var(--speed);
}
.cf7-wrap input[type="submit"]:hover { opacity: .9; }
.form-light .cf7-wrap input[type="submit"] {
	background: var(--blue);
	color: #fff;
}
.form-red .cf7-wrap input[type="submit"] { color: var(--red-dark); }
.cf7-wrap input[type="submit"].disabled { opacity: .5; cursor: default; }
/* Кнопка «Получить расчёт» — на всю ширину панели (2184:1464) */
.calc-panel .cf7-wrap input[type="submit"] { width: 100%; }

/* Селект в синей панели калькулятора */
.calc-panel .cf7-wrap select {
	appearance: none;
	border-color: #fff;
	padding-right: 44px;
}
.calc-panel .cf7-wrap .wpcf7-form-control-wrap[data-name="servers"] {
	position: relative;
	display: block;
}
.calc-panel .cf7-wrap .wpcf7-form-control-wrap[data-name="servers"]::after {
	content: '';
	position: absolute;
	right: 20px;
	top: 50%;
	width: 10px;
	height: 10px;
	border-right: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
.calc-panel .cf7-wrap select option { color: var(--text); }

/* Ответ формы и ошибки */
.wpcf7-response-output {
	margin: 12px 0 0;
	padding: 0;
	border: 0;
	font-weight: 300;
	font-size: 14px;
	text-align: center;
	color: #fff;
	opacity: .9;
}
.form-light .wpcf7-response-output { color: var(--text); }
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.mail-failed .wpcf7-response-output { opacity: 1; }
.wpcf7-not-valid-tip {
	color: #ffc9c9;
	font-size: 12px;
	margin-top: 4px;
}
.form-light .wpcf7-not-valid-tip { color: #c02626; }
.wpcf7-spinner { display: none; }
.wpcf7-form-control-wrap { display: block; }

/* ---------- FAQ ---------- */

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 32px;
}

.faq-item {
	background: #fff;
	border-radius: var(--radius-xl);
	padding: 24px;
}

.faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	background: none;
	border: 0;
	padding: 0;
	text-align: left;
	font-family: inherit;
	font-weight: 700;
	font-size: 32px;
	line-height: 1.2;
	color: var(--text);
}
.faq-question:hover span:first-child { color: var(--blue); }

.faq-arrow {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	background: #D1D4DB;
	border-radius: var(--radius-md);
	transition: transform var(--speed), background var(--speed);
}
.faq-item.is-open .faq-arrow {
	transform: rotate(90deg);
	background: var(--blue);
	color: #fff;
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height .3s ease, opacity .25s ease;
}
.faq-item.is-open .faq-answer { opacity: 1; }
.faq-answer p { font-weight: 300; max-width: 1200px; padding: 24px 8px 8px; }

/* ---------- CTA: синяя карточка 1520×333 в контенте (2185:2797) ---------- */
.cta-card {
	position: relative;
	z-index: 0;
	overflow: hidden;
	background: var(--blue);
	color: #fff;
	border-radius: var(--radius-xl);
	padding: 60px;
}
.cta-deco {
	position: absolute;
	top: -171px;
	left: 659px;
	width: 1506px;
	max-width: none;
	z-index: -1;
	pointer-events: none;
	user-select: none;
}
.cta-card h2 { line-height: 1.1; }
.cta-card .section-sub { margin-top: 20px; max-width: 746px; font-size: 20px; }

.cta-actions { display: flex; gap: 16px; margin-top: 36px; }

/* ---------- Подвал ---------- */

.site-footer {
	width: 100%;
	margin: 0 auto;
	background: var(--blue);
	color: #fff;
	border-radius: 0;
	/* border-radius: var(--radius-xl); */

	padding: 44px 0 24px;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 40px;
	align-items: start;
}

.footer-brand { display: flex; flex-direction: column; gap: 24px; }
.footer-company { font-weight: 300; }
.footer-requisites { display: flex; flex-direction: column; gap: 8px; font-weight: 300; }
.footer-requisites em { font-style: normal; opacity: .6; }
.footer-copy { font-weight: 300; }

.footer-nav {
	display: flex;
	gap: 16px;
	padding-top: 8px;
}
.footer-nav .nav-link { color: #fff; padding: 10px 14px; }
.footer-nav .nav-link:hover { color: #fff; opacity: .8; }

.footer-contacts { justify-self: end; }

.footer-site {
	display: flex;
	gap: 8px;
	margin-bottom: 24px;
}
.footer-site .social-btn { background: var(--white-20); border-color: transparent; }
.footer-site .social-btn img { width: 22px; }
.footer-site-btn { padding: 10px 20px; }

.footer-contact-lines { display: flex; flex-direction: column; gap: 8px; }

.footer-line {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 16px;
}
.footer-contact-value { font-weight: 300; order: 2; }
.footer-contact-label { font-weight: 300; opacity: .6; order: 1; }
.footer-contact-value a:hover { text-decoration: underline; }
.footer-contact-label { font-weight: 300; opacity: .6; }

.footer-rule {
	border: 0;
	border-top: 1px solid var(--white-20);
	margin: 40px 0 16px;
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.made-in {
	display: inline-flex;
	align-items: flex-end;
	gap: 6px;
	font-weight: 300;
	font-size: 16px;
	opacity: .8;
}
.made-in img { height: 16px; width: auto; filter: brightness(0) invert(1); }

.footer-links { display: flex; gap: 24px; }
.footer-links a {
	font-weight: 300;
	font-size: 12px;
	opacity: .6;
	transition: opacity var(--speed);
}
.footer-links a:hover { opacity: 1; }

/* ==========================================================================
   Планшет
   ========================================================================== */

@media (max-width: 1400px) {
	.section-frame .container,
	.footer-inner { padding-inline: 60px; }

	.hero-row { gap: 48px; }
	.hero-aside { width: 480px; }

	.calc-layout { grid-template-columns: 1fr 420px; }
	.calc-grid { grid-template-columns: repeat(2, 1fr); }
	.calc-item { min-height: 96px; padding: 24px; }

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

	.access-item { padding-right: 32px; }
	.access-item + .access-item { padding-left: 32px; }

	.onetime-layout,
	.steps-layout { grid-template-columns: 1fr; gap: 48px; }
	.steps-info { position: static; }

	.sysadmin-layout { grid-template-columns: 1fr; gap: 48px; }
	.sysadmin-info { min-height: 0; gap: 24px; }

	.reviews-track { grid-auto-columns: calc((100% - 20px) / 2); }
}

/* ==========================================================================
   Мобильная версия (по макету 360)
   ========================================================================== */

@media (max-width: 768px) {

	body { font-size: 16px; }

	.container { padding-inline: 20px; }

	/* --- Ритм --- */
	.section { margin-bottom: 80px; }
	.section-frame {
		width: calc(100% - 40px);
		margin-inline: 20px;
		margin-bottom: 80px;
	}
	.section-frame .container,
	.footer-inner { padding-inline: 20px; }

	.section-frame { padding-top: 20px; padding-bottom: 20px; }
	.section-blue { padding-top: 20px; padding-bottom: 20px; }

	/* --- Типографика --- */
	.section-head h2,
	.section > .container > h2,
	.section-frame h2,
	.cta-card h2,
	.steps-info h2,
	.sysadmin-info h2,
	.reviews-head h2 {
		font-size: 28px;
	}
	.section-head .section-sub { font-size: 16px; font-weight: 500; margin-top: 16px; }

	/* --- Кнопки --- */
	.btn { padding: 10px 20px; }
	.btn-wide { min-width: 0; width: 100%; }

	/* --- Шапка --- */
	.header-inner { height: 76px; }
	.header-nav, .header-phone, .yandex-badge, .socials { display: none; }
	.burger { display: inline-flex; }
	.mobile-nav { inset: 76px 20px auto; }

	/* --- Hero --- */
	.hero { margin-top: 0; margin-bottom: 80px; }
	.hero-photo {
		order: -1;
		margin-top: 0;
		height: 240px;
		aspect-ratio: auto;
		border-width: 2px;
	}
	.hero-badges {
		flex-direction: column;
		gap: 8px;
		margin-top: 16px;
	
	}
	.pill {
		width: 100%;
		justify-content: center;
		text-align: center;
		padding: 10px 20px;
	}
	.hero-row {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		margin-top: 12px;
		text-align: center;
	}
	.hero-text h1 { font-size: 28px; }
	.hero-lead { font-weight: 600; margin-top: 16px; }
	.hero-aside { width: 100%; gap: 24px; }
	.hero-price { justify-content: center; gap: 12px; }
	.price-value { font-size: 32px; }
	.price-note { max-width: 111px; text-align: left; }
	.price-subnote { text-align: center; }
	.hero-actions { margin-top: 28px; flex-direction: column; }
	.hero-actions .btn { flex: 1 1 auto; }
	.monitor-card {
		display: block;
		position: static;
		order: 4;
		background: #fff;
		border-radius: var(--radius-xl);
		padding: 20px;
		margin-top: 32px;
	}
	.monitor-card h3 { font-size: 18px; }
	.monitor-list { flex-direction: column; margin-top: 24px; }
	.monitor-row {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 12px 0;
		border-left: 0;
	}
	.monitor-row + .monitor-row { border-top: 1px solid var(--border); }

	/* --- Синие/градиентные каркасы --- */
	.section-blue > .container,
	.section-grad > .container { padding-inline: 20px; }

	.section-head { max-width: none; }
	.section-head .section-sub.on-blue { opacity: .9; }

	.frame-decor { width: 282px; top: -67px; right: -140px; }
	/* откат десктопного свеса секций (право выше по специфичности) */
	#prices .frame-decor,
	.section-access .frame-decor { right: -140px; }

	/* --- Тарифы --- */
	.pricing-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }
	.pricing-card h3 { font-size: 28px; }
	.price-big { font-size: 32px; }
	.price-line { flex-direction: column; gap: 4px; }
	.price-per { padding-top: 0; max-width: none; }

	/* --- Проблемы --- */
	.problem-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }

	/* --- Что берём --- */
	.services-grid {
		display: grid;
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 24px;
	}

	/* --- Что входит --- */
	.included-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
	.included-card h3 { margin-top: 24px; }

	/* --- Калькулятор --- */
	.calc-layout { grid-template-columns: 1fr; margin-top: 24px; }
	.calc-group + .calc-group { margin-top: 32px; }
	.calc-group-title { font-size: 18px; margin-bottom: 16px; }
	.calc-grid { grid-template-columns: 1fr; gap: 12px; }
	.calc-item { min-height: 0; padding: 20px; }
	.calc-panel { gap: 24px; }
	.calc-panel h3 { font-size: 28px; }
	.calc-number { font-size: 72px; }

	/* --- Разовые работы --- */
	.onetime-layout { gap: 24px; }
	.onetime-list { padding: 20px; }
	.onetime-row:first-child { padding-top: 16px; }
	.onetime-info .btn { margin-top: 24px; width: 100%; }

	/* --- Доступ --- */
	.access-head .btn { margin-top: 24px; width: 100%; }
	.access-strip {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 20px;
		margin-top: 32px;
		text-align: center;
	}
	.access-item { padding: 0; }
	.access-item + .access-item { border-left: 0; border-top: 1px solid var(--white-20); padding: 16px 0 0; }

	/* --- Этапы --- */
	.steps-list { gap: 12px; }
	.step-card { padding: 24px; }

	/* --- География --- */
	.geo-grid { grid-template-columns: 1fr; }
	.geo-card { padding: 20px; }
	.geo-card h3 { font-size: 24px; }
	.geo-small { font-size: 18px; }
	.geo-note h4 { font-size: 18px; }
	.geo-gerb { width: 55px; height: 55px; top:0; right: 0; }
	.geo-contacts { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
	.geo-contact { padding: 12px 0; }
	.geo-contact:not(:last-child) { border-bottom: 1px solid rgba(18, 46, 186, 0.1); }
	.geo-contact:nth-child(-n+2) { padding: 12px 0; border-bottom: 1px solid rgba(18, 46, 186, 0.1); }
	.geo-note { padding: 16px; margin-top: 0; }
	.geo-note p { margin-top: 8px; }

	/* --- Сисадмин --- */
	.sysadmin-cards { gap: 16px; }

	/* --- Отзывы --- */
	.reviews-head h2 { max-width: 200px; }
	.reviews-track {
		grid-auto-columns: calc(100% - 40px);
		gap: 12px;
		margin-top: 24px;
	}
	.reviews-track .review-card { min-height: 0; }
	.calc-panel .frame-decor { width: 282px; }

	/* --- Формы --- */
	.forms-grid { grid-template-columns: 1fr; gap: 20px; }
	.form-card { padding: 24px 20px; min-height: 0; }
	.form-card .form-label { font-weight: 500; font-size: 18px; }
	.form-card h3 { font-size: 24px; }
	.form-deco {
		display: block;
		width: 282px;
		top: -67px;
		left: 140px;
	}
	.form-red .form-deco {
		left: -140px;
		top: 330px;
	}
	.inline-form .btn { width: 100%; }
	/* Белая: поле и кнопка колонкой */
	.form-light .cf7-wrap form { grid-template-columns: 1fr; }
	.form-light .cf7-wrap input[type="submit"] { width: 100%; }
	/* Бордовая: поле + квадратная кнопка-иконка */
	.form-red .cf7-wrap input[type="submit"] {
		width: 52px;
		min-height: 52px;
		padding: 0;
		font-size: 0;
		color: transparent;
		background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23570F1C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z'/%3E%3Cpath d='m21.854 2.147-10.94 10.939'/%3E%3C/svg%3E") center / 24px 24px no-repeat;
	}

	/* --- FAQ --- */
	.faq-list { margin-top: 24px; }
	.faq-item { padding: 20px; }
	.faq-question {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		font-size: 24px;
		padding: 0;
	}
	.faq-arrow {
		width: 100%;
		height: 52px;
	}
	.faq-item.is-open .faq-arrow { transform: none; background: var(--blue); color: #fff; }
	.faq-item.is-open .faq-arrow svg { transform: rotate(90deg); }
	.faq-answer p { padding: 16px 0 0; }

	/* --- CTA --- */
	.cta-card { padding: 24px; }
	.cta-deco { left: auto; right: -140px; top: -67px; width: 282px; }
	.cta-actions { flex-direction: column; margin-top: 24px; }
	.cta-actions .btn-wide { width: 100%; }

	/* --- Подвал: почти на всю ширину экрана, рамка 4px цвета фона (2227:313) --- */
	.site-footer {
		width: 100%;
		border: 4px solid var(--bg);
		border-radius: 24px;
		padding: 44px 20px 24px;
	}
	.footer-inner {
		grid-template-columns: 1fr;
		gap: 24px;
		justify-items: center;
		text-align: center;
		padding-inline: 0;
	}
	/* Порядок по макету: лого → меню → кнопки → контакты → реквизиты */
	.footer-brand { display: contents; }
	.footer-brand .logo { order: 0; }
	.footer-nav { order: 1; flex-direction: column; gap: 0; padding-top: 0; }
	.footer-contacts { order: 2; justify-self: center; width: 100%; max-width: 320px; }
	.footer-company { order: 3; }
	.footer-requisites { order: 4; }
	.footer-copy { order: 5; }
	/* Кнопка «Основной сайт» сверху, VK на всю ширину под ней */
	.footer-site { flex-direction: column-reverse; gap: 6px; align-items: center; }
	.footer-site .social-btn { width: 52px; height: 52px; flex: 0 0 auto; }
	.footer-site .footer-site-btn { width: 100%; font-weight: 400; white-space: nowrap; }
	.footer-line { grid-template-columns: 1fr; gap: 4px; }
	.footer-contact-value { order: 1; }
	.footer-contact-label { order: 2; }
	.footer-rule { margin: 24px 0 16px; }
	.footer-bottom { flex-direction: column; gap: 12px; }
	.footer-links { order: 1; flex-direction: column; gap: 8px; text-align: center; }
	.made-in { order: 2; flex-direction: row; align-items: flex-end; justify-content: center; gap: 6px; }
}


/* ==========================================================================
   Юридические страницы (политика, согласие)
   ========================================================================== */

.legal-header {
	position: sticky;
	top: 0;
	z-index: 100;
	padding: 20px 0;
	background: var(--bg);
	transition: box-shadow var(--speed);
}
.legal-header.is-stuck { box-shadow: 0 4px 20px rgba(34, 34, 34, .08); }
.legal-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.legal-main { padding: 24px 0 80px; }

.legal-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius-xl);
	padding: 60px;
	max-width: 1100px;
	margin: 0 auto;
}

.legal-card h1 {
	font-weight: 700;
	font-size: 40px;
	line-height: 1.2;
	margin-bottom: 32px;
}

.legal-content { font-weight: 300; font-size: 16px; color: var(--text); }
.legal-content > * + * { margin-top: 20px; }
.legal-content h2 {
	font-weight: 600;
	font-size: 22px;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .01em;
	margin-top: 40px;
}
.legal-content h3 { font-weight: 600; font-size: 18px; line-height: 1.3; }
.legal-content ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.legal-content li { position: relative; padding-left: 28px; }
.legal-content li::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 10px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--blue);
}
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-content strong { font-weight: 600; }

.legal-footer { padding: 0 0 40px; }
.legal-footer-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	font-size: 12px;
	font-weight: 300;
	opacity: .7;
}
.legal-footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.legal-footer-links a:hover { text-decoration: underline; }

@media (max-width: 768px) {
	.legal-card { padding: 24px 20px; }
	.legal-card h1 { font-size: 26px; margin-bottom: 24px; }
	.legal-content h2 { font-size: 16px; margin-top: 32px; }
	.legal-footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
}
