/*
Theme Name: VPS Park
Theme URI: https://vps-park.ru/
Author: ООО «ЦИТ»
Description: Одностраничная тема для компании, которая сдаёт в аренду серверы 1С и облачную 1С. Тарифы, калькулятор, переезд, защита данных, вопросы и форма заявки. Контакты и цены меняются в «Внешний вид → Настроить → Настройки сайта 1С».
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oblako1c
*/

:root {
	--paper: #f3f6f8;
	--card: #ffffff;
	--ink: #0f2038;
	--ink-2: #3a4a62;
	--muted: #5f6f86;
	--line: #dbe3eb;
	--teal: #0b8f7a;
	--teal-strong: #087463;
	--teal-soft: #dcf1ec;
	--amber: #e8a33d;
	--navy: #0f2038;
	--navy-2: #182c4a;
	--on-navy: #e8eef6;
	--on-navy-muted: #a8b6c9;
	--radius-s: 8px;
	--radius-m: 14px;
	--radius-l: 22px;
	--wrap: 1180px;
	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	color-scheme: light;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #0b1626;
		--card: #12223a;
		--ink: #eaf0f7;
		--ink-2: #c3cfdd;
		--muted: #93a3b8;
		--line: #23354f;
		--teal: #2fbfa5;
		--teal-strong: #4fd2ba;
		--teal-soft: #123c3a;
		--navy: #071020;
		--navy-2: #10203a;
		color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--paper: #0b1626;
	--card: #12223a;
	--ink: #eaf0f7;
	--ink-2: #c3cfdd;
	--muted: #93a3b8;
	--line: #23354f;
	--teal: #2fbfa5;
	--teal-strong: #4fd2ba;
	--teal-soft: #123c3a;
	--navy: #071020;
	--navy-2: #10203a;
	color-scheme: dark;
}

/* ---------- Основа ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.6;
	font-feature-settings: "tnum" 1;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal-strong); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(34px, 5.2vw, 58px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(27px, 3.4vw, 40px); letter-spacing: -0.028em; }
h3 { font-size: 20px; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; border-radius: var(--radius-s); }
.skip-link:focus { left: 8px; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 52px; padding: 0 26px;
	background: var(--teal); color: #fff;
	border: 2px solid var(--teal); border-radius: 999px;
	font: 600 16px/1 var(--font); text-decoration: none; cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--teal-strong); border-color: var(--teal-strong); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--teal-soft); border-color: var(--teal-soft); color: #0f2038; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-wide { width: 100%; }

/* ---------- Шапка ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { color: var(--ink); display: flex; }
.brand-logo { max-height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand-tag { font-size: 12.5px; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--ink-2); text-decoration: none; font-size: 15.5px; font-weight: 500; }
.nav-list a:hover { color: var(--teal-strong); }
.nav-contact { display: flex; align-items: center; gap: 16px; }
.nav-phone { color: var(--ink); text-decoration: none; font-weight: 700; white-space: nowrap; }
.nav-toggle { display: none; }

@media (max-width: 1020px) {
	.nav-list { gap: 16px; }
	.nav-phone { display: none; }
}
@media (max-width: 860px) {
	.nav-toggle {
		display: flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
		background: var(--card); color: var(--ink); cursor: pointer;
	}
	.burger, .burger::before, .burger::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
	.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
	.burger::before { top: -6px; } .burger::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
	.nav-toggle[aria-expanded="true"] .burger::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .burger::after { transform: translateY(-6px) rotate(-45deg); }
	.site-nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 8px;
		background: var(--paper); border-bottom: 1px solid var(--line); padding: 12px 24px 24px;
	}
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--line); }
	.nav-contact { flex-direction: column; align-items: stretch; margin-top: 8px; }
	.nav-phone { display: block; text-align: center; padding: 8px 0; font-size: 18px; }
}

/* ---------- Первый экран ---------- */
.hero {
	padding: 72px 0 88px; position: relative; overflow: hidden;
	background:
		radial-gradient(600px 380px at 82% 38%, color-mix(in srgb, var(--teal) 22%, transparent), transparent 70%),
		radial-gradient(520px 320px at 8% 0%, color-mix(in srgb, var(--amber) 12%, transparent), transparent 70%),
		var(--paper);
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient(color-mix(in srgb, var(--ink) 14%, transparent) 1px, transparent 1.2px);
	background-size: 22px 22px;
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
	mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 1fr; gap: 56px; align-items: center; }
.hero-copy h1 { max-width: 14ch; }
.lead { margin-top: 22px; font-size: 19px; color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; list-style: none; margin: 36px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.hero-facts strong { display: block; color: var(--ink); font-size: 22px; letter-spacing: -0.02em; }

/* Панель сервера — главный визуальный акцент */
.console {
	background: var(--navy); color: var(--on-navy);
	border-radius: var(--radius-l); padding: 26px;
	box-shadow: 0 30px 60px -30px rgba(15, 32, 56, .55), 0 0 0 1px rgba(255,255,255,.04) inset;
	position: relative;
}
.console-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.console-title { font-weight: 700; font-size: 17px; }
.console-status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: #8fe3cf; background: rgba(47,191,165,.12); padding: 6px 12px; border-radius: 999px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d3b4; box-shadow: 0 0 0 0 rgba(52,211,180,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(52,211,180,.55); } 70% { box-shadow: 0 0 0 9px rgba(52,211,180,0); } 100% { box-shadow: 0 0 0 0 rgba(52,211,180,0); } }
@media (prefers-reduced-motion: reduce) { .dot { animation: none; } }
.console-bases { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.console-bases li {
	display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
	background: var(--navy-2); border-radius: 12px; padding: 14px 16px;
}
.base-name { font-weight: 600; font-size: 15.5px; }
.base-ver { font-size: 13px; color: var(--on-navy-muted); }
.base-users {
	min-width: 54px; text-align: right; font-weight: 700; font-size: 15px; color: #fff;
	display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px;
}
.base-users::before {
	content: ""; width: 14px; height: 14px; flex: none; opacity: .7;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.base-users.bump { color: #8fe3cf; }
.console-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.meta-label { display: block; font-size: 12.5px; color: var(--on-navy-muted); }
.meta-value { display: block; font-weight: 600; font-size: 15px; margin-top: 2px; }
.uptime { margin-top: 18px; }
.uptime-bars { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; margin-top: 8px; }
.uptime-bars i { height: 22px; border-radius: 3px; background: #2fbfa5; opacity: .85; }
.uptime-bars i:nth-child(7n+3) { opacity: .65; }

@media (max-width: 920px) {
	.hero { padding: 44px 0 64px; }
	.hero-grid { grid-template-columns: 1fr; gap: 40px; }
	.hero-copy h1 { max-width: 18ch; }
}
@media (max-width: 520px) {
	.lead { font-size: 17.5px; }
	.hero-actions .btn { width: 100%; }
	.console { padding: 18px; }
	.console-bases li { grid-template-columns: 1fr auto; }
	.base-ver { display: none; }
	.console-meta { grid-template-columns: 1fr 1fr; }
	.console-meta > div:last-child { grid-column: span 2; }
}

/* ---------- Полоса «для кого» ---------- */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.band-grid p { padding: 26px 28px 26px 0; color: var(--ink-2); font-size: 16px; }
.band-grid p + p { padding-left: 28px; border-left: 1px solid var(--line); }
.band-grid strong { color: var(--ink); }
@media (max-width: 820px) {
	.band-grid { grid-template-columns: 1fr; }
	.band-grid p, .band-grid p + p { padding: 18px 0; border-left: 0; }
	.band-grid p + p { border-top: 1px solid var(--line); }
}

/* ---------- Секции ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.small-note { margin-top: 24px; color: var(--muted); font-size: 15px; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

/* ---------- Тарифы ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.12fr 1fr; gap: 20px; align-items: stretch; }
.plan {
	display: flex; flex-direction: column;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-m);
	padding: 32px 28px;
}
.plan-for { margin-top: 8px; color: var(--muted); font-size: 15.5px; min-height: 3em; }
.plan-price { margin: 22px 0 6px; font-size: 40px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.plan-price .from { font-size: 18px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-price .unit { display: block; font-size: 14.5px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.checks { list-style: none; margin: 18px 0 28px; padding: 0; display: grid; gap: 10px; flex: 1; align-content: start; }
.checks li { position: relative; padding-left: 28px; font-size: 16px; }
.checks li::before {
	content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%;
	background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b8f7a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/11px no-repeat;
}
.plan-main {
	background: var(--navy); color: var(--on-navy); border-color: var(--navy);
	padding: 40px 32px; margin: -14px 0;
	box-shadow: 0 30px 60px -32px rgba(15, 32, 56, .6);
}
.plan-main .plan-for, .plan-main .plan-price .from, .plan-main .plan-price .unit { color: var(--on-navy-muted); }
.plan-main .checks li::before { background-color: rgba(47,191,165,.18); }
.plan-badge { align-self: flex-start; background: var(--amber); color: #2b1c02; font-size: 13.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
@media (max-width: 960px) {
	.plans { grid-template-columns: 1fr; max-width: 560px; }
	.plan-main { margin: 0; order: -1; }
	.plan-for { min-height: 0; }
}

/* ---------- Что входит ---------- */
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.inc svg { width: 30px; height: 30px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.inc h3 { margin: 14px 0 8px; font-size: 19px; }
.inc p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; gap: 36px 28px; } }
@media (max-width: 560px) { .included { grid-template-columns: 1fr; } }

/* ---------- Сравнение ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--card); }
.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: 15px; color: var(--muted); font-weight: 600; background: var(--paper); }
.compare tbody th { font-weight: 600; width: 26%; }
.compare td { color: var(--ink-2); width: 37%; }
.compare .col-us { background: var(--teal-soft); color: var(--ink); font-weight: 600; }
.compare thead .col-us { color: var(--teal-strong); background: var(--teal-soft); }

/* ---------- Калькулятор ---------- */
.section-dark { background: var(--navy); color: var(--on-navy); }
.lead-dark { margin-top: 16px; color: var(--on-navy-muted); font-size: 18px; max-width: 42ch; }
.calc-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: start; }
.calc { background: var(--navy-2); border-radius: var(--radius-l); padding: 32px; display: grid; gap: 12px; }
.calc-plans { border: 0; padding: 0; margin: 0 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; background: rgba(0,0,0,.2); border-radius: 12px; padding: 5px; }
.calc-plans legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.calc-plans label { position: relative; cursor: pointer; }
.calc-plans input { position: absolute; opacity: 0; inset: 0; }
.calc-plans span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-size: 15px; font-weight: 600; color: var(--on-navy-muted); transition: background .15s, color .15s; }
.calc-plans input:checked + span { background: #fff; color: #0f2038; }
.calc-plans input:focus-visible + span { outline: 3px solid #34d3b4; outline-offset: 2px; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; }
.calc-row label { font-size: 15px; color: var(--on-navy-muted); }
.calc-row output { font-size: 24px; font-weight: 800; color: #fff; }
.calc input[type="range"] { width: 100%; accent-color: #34d3b4; height: 28px; }
.calc select { width: 100%; height: 48px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.2); color: #fff; padding: 0 14px; font: 500 16px var(--font); }
.calc select option { color: #0f2038; }
.calc-check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--on-navy-muted); margin-top: 6px; cursor: pointer; }
.calc-check input { margin-top: 4px; width: 18px; height: 18px; accent-color: #34d3b4; flex: none; }
.calc-result { margin: 14px 0 8px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.calc-label { display: block; font-size: 15px; color: var(--on-navy-muted); }
.calc-sum { display: block; font-size: clamp(38px, 5vw, 52px); font-weight: 800; letter-spacing: -0.035em; color: #fff; line-height: 1.1; }
.calc-sub { display: block; margin-top: 6px; font-size: 15px; color: var(--on-navy-muted); }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .calc { padding: 20px; } .calc-plans span { font-size: 13.5px; padding: 10px 2px; } }

/* ---------- Переезд ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%;
	display: grid; place-items: center; font-weight: 800; font-size: 18px;
	background: var(--card); border: 2px solid var(--teal); color: var(--teal-strong);
	z-index: 1;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 52px; right: -20px; height: 2px; background: var(--line); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 32px 68px; min-height: 76px; }
	.steps li:not(:last-child)::after { top: 48px; bottom: 4px; left: 21px; right: auto; width: 2px; height: auto; }
	.steps h3 { padding-top: 9px; }
}

/* ---------- Защита ---------- */
.secure-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.secure-grid > div p { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.secure-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.secure-list li { padding: 18px 0 18px 36px; border-bottom: 1px solid var(--line); color: var(--ink-2); position: relative; font-size: 16.5px; }
.secure-list li::before {
	content: ""; position: absolute; left: 0; top: 21px; width: 20px; height: 20px;
	background: var(--teal);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.6-4.6 1.4 1.4-6 6Z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.4 8 11 4.6-1.6 8-6 8-11V5l-8-3Zm-1.2 13.6-3.4-3.4 1.4-1.4 2 2 4.6-4.6 1.4 1.4-6 6Z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.secure-list strong { color: var(--ink); }
@media (max-width: 900px) { .secure-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Конфигурации ---------- */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); font-size: 15.5px; font-weight: 500; }
.chips li:last-child { border-style: dashed; border-color: var(--teal); color: var(--teal-strong); background: transparent; }

/* ---------- Вопросы ---------- */
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 64px; align-items: start; }
.faq-grid > div > p { margin-top: 14px; color: var(--ink-2); }
.faq-grid > div > p a { white-space: nowrap; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
	list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
	font-weight: 600; font-size: 18px; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px;
	border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 44px 22px 0; color: var(--ink-2); }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Заявка ---------- */
.section-cta { background: linear-gradient(180deg, var(--paper), var(--teal-soft)); }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.cta-grid > div > p { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 44ch; }
.cta-contacts { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 8px; }
.cta-contacts a { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.cta-contacts a:hover { color: var(--teal-strong); }
.lead-form {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l);
	padding: 32px; display: grid; gap: 16px;
	box-shadow: 0 24px 50px -36px rgba(15, 32, 56, .45);
}
.field { display: grid; gap: 6px; }
.field label { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
	width: 100%; min-height: 50px; padding: 12px 14px;
	border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink);
	font: 16px var(--font);
}
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--teal) 25%, transparent); }
.field-row { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--teal); flex: none; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; font-size: 15.5px; }
.form-ok { background: var(--teal-soft); color: var(--teal-strong); }
.form-err { background: #fdecea; color: #a12a1c; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 480px) { .lead-form { padding: 20px; } .field-row { grid-template-columns: 1fr; } }

/* ---------- Подвал ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 64px 0 28px; font-size: 15.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }
.footer-note { margin-top: 10px; max-width: 38ch; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--on-navy-muted); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer-bottom a { color: var(--on-navy-muted); }
.footer-tm { margin-left: auto; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-tm { margin-left: 0; } }

/* ---------- Обычные страницы ---------- */
.page-main { padding: 64px 0 96px; }
.prose { max-width: 760px; }
.page-title { font-size: clamp(30px, 4vw, 44px); margin-bottom: 28px; }
.entry p, .entry ul, .entry ol { margin: 0 0 1.1em; }
.entry h2 { margin: 1.6em 0 .6em; font-size: 28px; }
.entry h3 { margin: 1.4em 0 .5em; }
.entry-card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.entry-card h2 { font-size: 24px; }
.entry-card h2 a { color: var(--ink); text-decoration: none; }
.entry-date { color: var(--muted); font-size: 14px; margin: 6px 0 10px; }
.nav-links { display: flex; gap: 12px; margin-top: 32px; }

/* ---------- Нагрузка на панели сервера ---------- */
.cpu { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 16px; }
.cpu .meta-label { white-space: nowrap; }
.cpu-spark { width: 100%; height: 30px; }
.cpu-spark polyline { fill: none; stroke: #f2c46d; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.cpu-val { font-weight: 700; font-size: 15px; min-width: 3.2ch; text-align: right; color: #fff; }

/* ---------- Иконки «что входит» ---------- */
.inc-ico {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
	background: var(--teal-soft);
}
.inc-ico svg { width: 26px; height: 26px; }
.inc:nth-child(3n+2) .inc-ico { background: color-mix(in srgb, var(--amber) 20%, var(--card)); }
.inc:nth-child(3n+2) .inc-ico svg { stroke: color-mix(in srgb, var(--amber) 70%, var(--ink)); }
.inc:nth-child(3n) .inc-ico { background: color-mix(in srgb, #5b7cfa 16%, var(--card)); }
.inc:nth-child(3n) .inc-ico svg { stroke: color-mix(in srgb, #5b7cfa 80%, var(--ink)); }
.inc h3 { margin-top: 18px; }

/* ---------- Статистика ---------- */
.stats { padding-top: 88px; }
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0 0 28px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--card); overflow: hidden; }
.figure { padding: 28px 28px 26px; display: flex; flex-direction: column-reverse; gap: 6px; }
.figure + .figure { border-left: 1px solid var(--line); }
.figure dt { color: var(--muted); font-size: 15px; }
.figure dd { margin: 0; font-size: clamp(36px, 4.2vw, 54px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure dd small { font-size: .5em; font-weight: 700; margin-left: 2px; letter-spacing: 0; color: var(--muted); }
.figure-accent { background: var(--teal); }
.figure-accent dt { color: color-mix(in srgb, #fff 82%, var(--teal)); }
.figure-accent dd, .figure-accent dd small { color: #fff; }

.charts { display: grid; grid-template-columns: 1.45fr 1fr; gap: 20px; }
.chart-stack { display: grid; gap: 20px; min-width: 0; }
.chart { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px 24px 22px; min-width: 0; }
.chart figcaption { display: grid; gap: 2px; margin-bottom: 16px; }
.chart-title { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.chart-sub { color: var(--muted); font-size: 14px; }
.chart-note { margin-top: 14px; color: var(--ink-2); font-size: 15px; max-width: 60ch; }
.chart-day svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart-day .grid { stroke: var(--line); stroke-width: 1; }
.chart-day .axis { fill: var(--muted); font: 500 11.5px var(--font); font-variant-numeric: tabular-nums; }
.chart-day .area { fill: url(#o1c-area); }
.chart-day .area-stop-top { stop-color: var(--teal); stop-opacity: .32; }
.chart-day .area-stop-bottom { stop-color: var(--teal); stop-opacity: 0; }
.chart-day .line { fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.chart-day .peak-rule { stroke: var(--teal); stroke-width: 1; stroke-dasharray: 3 4; opacity: .7; }
.chart-day .peak-dot { fill: var(--card); stroke: var(--teal); stroke-width: 3; }
.chart-day .peak-label { fill: var(--ink); font: 700 13px var(--font); paint-order: stroke; stroke: var(--card); stroke-width: 4px; }

.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 14px; align-items: end; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bar-val { font-weight: 700; font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.bar-col { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 120px; }
.bar-fill { display: block; width: 100%; max-width: 64px; border-radius: 8px 8px 3px 3px; background: color-mix(in srgb, var(--teal) 30%, var(--card)); }
.bar-now .bar-fill { background: var(--teal); }
.bar-now .bar-val { color: var(--teal-strong); }
.bar-key { font-size: 13px; color: var(--muted); }

.shares { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.shares li { display: grid; grid-template-columns: minmax(0, 9em) 1fr 3ch; align-items: center; gap: 12px; font-size: 14.5px; }
.share-name { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.share-track { height: 10px; border-radius: 999px; background: color-mix(in srgb, var(--line) 70%, transparent); overflow: hidden; }
.share-fill { display: block; height: 100%; border-radius: inherit; background: var(--teal); }
.shares li:nth-child(n+2) .share-fill { background: color-mix(in srgb, var(--teal) 72%, var(--card)); }
.shares li:nth-child(n+4) .share-fill { background: color-mix(in srgb, var(--teal) 45%, var(--card)); }
.minis { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.minis li { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.minis strong { display: block; color: var(--ink); font-size: 26px; letter-spacing: -0.02em; margin-bottom: 2px; }
.share-pct { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }


@media (max-width: 960px) {
	.figures { grid-template-columns: 1fr 1fr; }
	.figure:nth-child(3) { border-left: 0; }
	.figure:nth-child(n+3) { border-top: 1px solid var(--line); }
	.charts { grid-template-columns: 1fr; }
	.minis { gap: 14px; }
}
@media (max-width: 480px) {
	.minis { grid-template-columns: 1fr; }
	.figure { padding: 20px 18px; }
	.chart { padding: 18px 16px; }
	.shares li { grid-template-columns: minmax(0, 8.6em) 1fr 3ch; gap: 8px; font-size: 14px; }
}

@media (max-width: 600px) {
	.chart-day .axis { font-size: 19px; }
	.chart-day .peak-label { font-size: 21px; stroke-width: 6px; }
	.chart-day .line { stroke-width: 3.5; }
}

/* Тарифы на белом фоне */
.section-alt .plan:not(.plan-main) { background: var(--paper); }
