/*
Theme Name: СайтКрафт
Theme URI: https://pazh.pro
Author: СайтКрафт
Description: Полноэкранная тема для веб-студии: лендинг с тарифами, этапами работы и формой заявки. Без внешних зависимостей.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: saitcraft
*/

/* ============================================================
   Токены
   ============================================================ */
:root {
	--ink: #0b1524;
	--ink-2: #24334a;
	--body: #48566b;
	--muted: #6b7a90;
	--line: #e3e9f2;
	--line-soft: #eef2f8;
	--bg: #ffffff;
	--soft: #f6f8fc;
	--accent: #2f5bea;
	--accent-dark: #1e42bd;
	--accent-soft: #eef2ff;
	--ok: #12805c;

	--radius: 20px;
	--radius-sm: 13px;

	/* Полноэкранная сетка: никакой центральной колонки,
	   только безопасные отступы от краёв. */
	--pad: clamp(20px, 4.2vw, 100px);
	--gap: clamp(16px, 1.6vw, 28px);
	--section-y: clamp(64px, 7.5vw, 132px);
	--header-h: 78px;

	--shadow-sm: 0 1px 2px rgba(11, 21, 36, .06), 0 1px 3px rgba(11, 21, 36, .04);
	--shadow-md: 0 12px 28px -14px rgba(11, 21, 36, .2), 0 2px 6px rgba(11, 21, 36, .04);
	--shadow-lg: 0 40px 80px -40px rgba(11, 21, 36, .3), 0 10px 30px -14px rgba(11, 21, 36, .12);
}

/* ============================================================
   База
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--body);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
	font-size: clamp(17px, 1.02vw, 19px);
	line-height: 1.62;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.03em;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.1vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.15rem, 1.15vw, 1.4rem); letter-spacing: -.015em; line-height: 1.28; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .45em; }
strong { color: var(--ink-2); font-weight: 600; }

:focus-visible {
	outline: 3px solid rgba(47, 91, 234, .45);
	outline-offset: 2px;
	border-radius: 4px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 12px;
	z-index: 200;
	background: var(--ink);
	color: #fff;
	padding: 12px 18px;
	border-radius: 10px;
	text-decoration: none;
}
.skip-link:focus { left: 12px; color: #fff; }

/* Полноэкранный контейнер: тянется на всю ширину окна. */
.container {
	width: 100%;
	max-width: none;
	margin: 0;
	padding-inline: var(--pad);
}

/* ============================================================
   Кнопки
   ============================================================ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: 12px;
	font-size: clamp(1rem, .95vw, 1.08rem);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease, color .16s ease;
}
.btn--primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 12px 26px -14px rgba(47, 91, 234, .9);
}
.btn--primary:hover {
	background: var(--accent-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 18px 32px -16px rgba(47, 91, 234, .95);
}
.btn--ghost {
	background: #fff;
	color: var(--ink);
	border-color: var(--line);
	box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { border-color: #c9d5e6; color: var(--ink); transform: translateY(-1px); }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; }

/* ============================================================
   Шапка
   ============================================================ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, .9);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-stuck {
	border-bottom-color: var(--line);
	box-shadow: 0 8px 24px -20px rgba(11, 21, 36, .5);
}
.header-inner {
	display: flex;
	align-items: center;
	gap: clamp(16px, 2vw, 40px);
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	font-size: clamp(1.15rem, 1.05vw, 1.32rem);
	font-weight: 700;
	letter-spacing: -.035em;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand__mark {
	display: grid;
	place-items: center;
	width: 32px; height: 32px;
	border-radius: 10px;
	background: linear-gradient(150deg, #3f6bff, #1e42bd);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
}
.brand__dot { color: var(--accent); }

.nav { display: flex; align-items: center; gap: clamp(16px, 1.8vw, 34px); margin-left: auto; }
.nav a {
	position: relative;
	color: var(--ink-2);
	font-size: clamp(.92rem, .88vw, 1rem);
	font-weight: 500;
	text-decoration: none;
	padding: 6px 0;
}
.nav a::after {
	content: "";
	position: absolute;
	left: 0; right: 100%;
	bottom: 0;
	height: 2px;
	background: var(--accent);
	transition: right .2s ease;
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
	color: var(--ink);
	font-weight: 600;
	font-size: clamp(.95rem, .9vw, 1.02rem);
	text-decoration: none;
	white-space: nowrap;
}
.header-cta .btn { padding: 12px 22px; font-size: .95rem; }

.nav-toggle {
	display: none;
	width: 44px; height: 44px;
	margin-left: auto;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 11px;
	background: #fff;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
	display: block;
	width: 18px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
	transition: transform .2s ease, opacity .2s ease;
	content: "";
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

/* ============================================================
   Секции
   ============================================================ */
.section { padding: var(--section-y) 0; }
.section--soft { background: var(--soft); border-block: 1px solid var(--line-soft); }

.section-head { margin-bottom: clamp(34px, 3vw, 58px); }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.section-head h2 { margin-bottom: 16px; }

/* Строка для чтения ограничена в символах — иначе на широком экране
   текст расползается, но сама страница остаётся во всю ширину. */
.lead { font-size: clamp(1.02rem, 1vw, 1.22rem); color: var(--body); margin: 0; max-width: 68ch; }

.eyebrow {
	display: inline-block;
	margin-bottom: 16px;
	color: var(--accent);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.note {
	margin-top: 26px;
	font-size: .92rem;
	color: var(--muted);
	max-width: 92ch;
}

/* ============================================================
   Первый экран — на всю высоту окна
   ============================================================ */
.hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(1100px 640px at 92% -14%, rgba(47, 91, 234, .14), transparent 64%),
		radial-gradient(820px 520px at 2% 6%, rgba(18, 128, 92, .09), transparent 62%),
		#fff;
}
.hero::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: clamp(32px, 4.5vw, 90px);
	align-items: center;
	align-content: center;
	min-height: calc(100svh - var(--header-h));
	padding-block: clamp(52px, 6vh, 96px);
}

.hero h1 { margin-bottom: 22px; }
.hero__lead {
	font-size: clamp(1.08rem, 1.15vw, 1.4rem);
	line-height: 1.58;
	max-width: 46ch;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: clamp(26px, 2.6vw, 40px); }
.hero__note {
	margin-top: 22px;
	font-size: .95rem;
	color: var(--muted);
	display: flex;
	align-items: center;
	gap: 9px;
}
.hero__note svg { flex: none; color: var(--ok); }

.hero__trust {
	display: flex;
	flex-wrap: wrap;
	gap: 12px clamp(18px, 2.4vw, 40px);
	margin: clamp(30px, 3.4vw, 52px) 0 0;
	padding: clamp(20px, 2vw, 28px) 0 0;
	border-top: 1px solid var(--line);
	list-style: none;
	font-size: clamp(.92rem, .88vw, 1.02rem);
	color: var(--ink-2);
}
.hero__trust li { display: flex; align-items: flex-start; gap: 10px; margin: 0; }
.hero__trust svg { flex: none; margin-top: 3px; color: var(--accent); }

/* Мокап «браузера» */
.hero__visual { position: relative; }
.mock {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 18px;
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.mock__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 16px;
	background: #fbfcfe;
	border-bottom: 1px solid var(--line-soft);
}
.mock__dot { width: 10px; height: 10px; border-radius: 50%; background: #dbe3ee; }
.mock__url {
	margin-left: 10px;
	flex: 1;
	height: 24px;
	padding: 0 12px;
	display: flex;
	align-items: center;
	border-radius: 7px;
	background: #eef2f8;
	color: #93a2b8;
	font-size: .72rem;
}
.mock__body { padding: clamp(20px, 2vw, 34px); display: grid; gap: 18px; }
.mock__hero { display: grid; gap: 11px; }
.mock__line { height: 10px; border-radius: 6px; background: #e9eef6; }
.mock__line--title { height: 20px; width: 80%; background: #dfe7f3; }
.mock__line--w60 { width: 60%; }
.mock__line--w85 { width: 85%; }
.mock__cta { width: 128px; height: 36px; border-radius: 10px; background: var(--accent); opacity: .9; margin-top: 6px; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 8px; }
.mock__card {
	height: clamp(64px, 6vw, 96px);
	border-radius: 12px;
	background: #f4f7fc;
	border: 1px solid var(--line-soft);
}
.mock__card:nth-child(2) { background: #eef2ff; border-color: #e0e8ff; }

.hero__badge {
	position: absolute;
	right: clamp(-18px, -1vw, 0px);
	bottom: -20px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 13px;
	box-shadow: var(--shadow-md);
	font-size: .88rem;
	font-weight: 600;
	color: var(--ink);
}
.hero__badge span { color: var(--muted); font-weight: 500; }

/* ============================================================
   Сетки и карточки
   ============================================================ */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(22px, 2vw, 36px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d2deee; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: clamp(.95rem, .9vw, 1.02rem); margin-bottom: 0; }
.card__icon {
	display: grid;
	place-items: center;
	width: 48px; height: 48px;
	margin-bottom: 20px;
	border-radius: 13px;
	background: var(--accent-soft);
	color: var(--accent);
}
.card__icon svg { width: 24px; height: 24px; }

.card__fit {
	margin-top: auto;
	padding-top: 20px;
	font-size: .9rem;
	color: var(--muted);
}
.card__fit b {
	display: block;
	margin-bottom: 3px;
	color: var(--ink-2);
	font-weight: 600;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .07em;
}

/* ============================================================
   Для кого
   ============================================================ */
.split {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(30px, 4vw, 80px);
	align-items: start;
}
.split h2 { margin-bottom: 18px; }
.split p { max-width: 52ch; }

.audience {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: var(--gap);
	margin: 0;
	padding: 0;
	list-style: none;
}
.audience li {
	margin: 0;
	padding: clamp(18px, 1.6vw, 26px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 15px;
	font-size: clamp(.94rem, .9vw, 1rem);
	color: var(--ink-2);
	box-shadow: var(--shadow-sm);
}
.audience li b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 4px; font-size: 1.02em; }
.audience li small { display: block; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ============================================================
   Состав работ
   ============================================================ */
.scope {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr);
	gap: var(--gap);
}
.scope__box {
	padding: clamp(24px, 2.2vw, 40px);
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: #fff;
	box-shadow: var(--shadow-sm);
}
.scope__box--muted { background: #fbfcfe; box-shadow: none; }
.scope__box h3 {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: clamp(1.05rem, 1vw, 1.2rem);
	margin-bottom: 22px;
}
.scope__box h3 svg { flex: none; }

.check-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li {
	position: relative;
	margin: 0;
	padding-left: 32px;
	font-size: clamp(.95rem, .9vw, 1.02rem);
	line-height: 1.5;
}
.check-list li::before {
	content: "";
	position: absolute;
	left: 0; top: 3px;
	width: 20px; height: 20px;
	border-radius: 50%;
	background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5bea' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.check-list--plain li::before {
	background: #eef2f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ============================================================
   Проекты
   ============================================================ */
.work-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform .18s ease, box-shadow .18s ease;
}
.work-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.work-card__thumb {
	position: relative;
	aspect-ratio: 16 / 9;
	background: linear-gradient(150deg, #eef2ff, #f6f8fc 55%, #e8eefb);
	border-bottom: 1px solid var(--line-soft);
	display: grid;
	place-items: center;
}
.work-card__thumb span {
	font-size: .78rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #9aa9bf;
	font-weight: 600;
}
.work-card__body { padding: clamp(22px, 2vw, 32px); display: flex; flex-direction: column; gap: 4px; flex: 1; }
.work-card h3 { margin-bottom: 14px; }
.work-card dl { margin: 0; display: grid; gap: 14px; }
.work-card dt {
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 3px;
}
.work-card dd { margin: 0; font-size: .94rem; line-height: 1.55; }
.work-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.tag {
	padding: 5px 11px;
	border-radius: 999px;
	background: var(--soft);
	border: 1px solid var(--line);
	font-size: .78rem;
	color: var(--ink-2);
}

/* ============================================================
   Этапы
   ============================================================ */
.steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: var(--gap);
	counter-reset: step;
}
.step {
	position: relative;
	padding: clamp(22px, 1.9vw, 32px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.step::before {
	counter-increment: step;
	content: counter(step);
	display: grid;
	place-items: center;
	width: 38px; height: 38px;
	margin-bottom: 18px;
	border-radius: 11px;
	background: var(--ink);
	color: #fff;
	font-size: .95rem;
	font-weight: 700;
}
.step h3 { font-size: clamp(1rem, .98vw, 1.12rem); margin-bottom: 9px; }
.step p { font-size: clamp(.9rem, .87vw, .96rem); line-height: 1.55; margin: 0; }
.steps-note { margin-top: 24px; font-size: .92rem; color: var(--muted); max-width: 92ch; }

/* ============================================================
   Тарифы
   ============================================================ */
.pricing {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: var(--gap);
	align-items: stretch;
}
.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(24px, 2.2vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.plan--featured {
	border-color: #b9caff;
	box-shadow: 0 28px 56px -32px rgba(47, 91, 234, .45), 0 0 0 1px #cdd9ff inset;
}
.plan__badge {
	position: absolute;
	top: -14px;
	left: clamp(24px, 2.2vw, 40px);
	padding: 6px 13px;
	border-radius: 999px;
	background: var(--accent);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.plan h3 { font-size: clamp(1.18rem, 1.1vw, 1.42rem); margin-bottom: 5px; }
.plan__for { font-size: .92rem; color: var(--muted); margin-bottom: 22px; }
.plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	padding-bottom: 22px;
	margin-bottom: 22px;
	border-bottom: 1px solid var(--line-soft);
}
.plan__price b { font-size: clamp(1.85rem, 1.9vw, 2.5rem); font-weight: 700; color: var(--ink); letter-spacing: -.04em; }
.plan__price span { font-size: .9rem; color: var(--muted); }
.plan__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.plan .check-list { gap: 10px; margin-bottom: 24px; }
.plan .check-list li { font-size: clamp(.92rem, .88vw, .98rem); }
.plan__separate { margin-top: auto; font-size: .86rem; color: var(--muted); line-height: 1.55; }
.plan__separate b { color: var(--ink-2); }

/* ============================================================
   Почему мы
   ============================================================ */
.features {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--gap);
}
.feature {
	padding: clamp(22px, 1.9vw, 34px);
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: var(--shadow-sm);
}
.feature__icon {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	margin-bottom: 17px;
	border-radius: 12px;
	background: var(--accent-soft);
	color: var(--accent);
}
.feature h3 { font-size: clamp(1rem, .98vw, 1.16rem); margin-bottom: 8px; }
.feature p { font-size: clamp(.92rem, .88vw, .99rem); margin: 0; }

/* ============================================================
   Отзывы
   ============================================================ */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.quote {
	padding: clamp(24px, 2.2vw, 40px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.quote blockquote {
	margin: 0 0 22px;
	font-size: clamp(1rem, .98vw, 1.16rem);
	color: var(--ink-2);
	line-height: 1.62;
	max-width: 60ch;
}
.quote blockquote::before { content: "«"; }
.quote blockquote::after { content: "»"; }
.quote figcaption { display: flex; align-items: center; gap: 13px; }
.quote__avatar {
	display: grid;
	place-items: center;
	width: 42px; height: 42px;
	flex: none;
	border-radius: 50%;
	background: var(--soft);
	border: 1px solid var(--line);
	color: var(--muted);
	font-size: .88rem;
	font-weight: 700;
}
.quote__who { font-size: .95rem; font-weight: 600; color: var(--ink); line-height: 1.35; }
.quote__role { font-size: .86rem; color: var(--muted); }

/* ============================================================
   FAQ — на всю ширину
   ============================================================ */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 14px; }
.faq details {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 15px;
	box-shadow: var(--shadow-sm);
	transition: border-color .18s ease, box-shadow .18s ease;
	align-self: start;
}
.faq details[open] { border-color: #c9d6ef; box-shadow: var(--shadow-md); }
.faq summary {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	padding: clamp(18px, 1.6vw, 24px) clamp(20px, 1.8vw, 28px);
	cursor: pointer;
	list-style: none;
	color: var(--ink);
	font-weight: 600;
	font-size: clamp(.98rem, .95vw, 1.08rem);
	line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: "";
	flex: none;
	width: 24px; height: 24px;
	margin-top: 1px;
	border-radius: 50%;
	background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2324334a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 13px no-repeat;
	transition: transform .2s ease, background-color .2s ease;
}
.faq details[open] summary::after {
	transform: rotate(45deg);
	background-color: var(--accent-soft);
}
.faq__answer {
	padding: 0 clamp(20px, 1.8vw, 28px) clamp(20px, 1.8vw, 28px);
	font-size: clamp(.94rem, .9vw, 1rem);
	color: var(--body);
}
.faq__answer p { max-width: 74ch; }
.faq__answer p:last-child { margin-bottom: 0; }

/* ============================================================
   Заявка и контакты
   ============================================================ */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
	gap: clamp(24px, 3vw, 56px);
	align-items: start;
}
.lead__panel {
	padding: clamp(24px, 2.4vw, 44px);
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-md);
}
.lead__panel h3 { font-size: clamp(1.2rem, 1.15vw, 1.45rem); margin-bottom: 7px; }
.lead__panel > p { font-size: .95rem; color: var(--muted); margin-bottom: 24px; max-width: 52ch; }

.field { margin-bottom: 16px; }
.field label {
	display: block;
	margin-bottom: 7px;
	font-size: .9rem;
	font-weight: 600;
	color: var(--ink-2);
}
.field label .req { color: var(--accent); }
.field input,
.field select,
.field textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid #d8e0ec;
	border-radius: 11px;
	background: #fff;
	color: var(--ink);
	font-family: inherit;
	font-size: 1rem;
	line-height: 1.4;
	transition: border-color .16s ease, box-shadow .16s ease;
	appearance: none;
}
.field select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 13px center;
	background-size: 16px;
	padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(47, 91, 234, .14);
}
.field--half { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field--half > div { min-width: 0; }

.form-note { margin-top: 15px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.form-note a { color: var(--muted); }
.form-note a:hover { color: var(--accent); }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert {
	padding: 15px 17px;
	border-radius: 12px;
	font-size: .95rem;
	margin-bottom: 22px;
	border: 1px solid #bfe6d5;
	background: #f0fbf6;
	color: #0d6b4c;
}
.alert--error { border-color: #f3c9c9; background: #fdf3f3; color: #a32626; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }

.contacts-list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.contacts-list li {
	display: flex;
	gap: 15px;
	padding: 17px 0;
	margin: 0;
	border-bottom: 1px solid var(--line-soft);
}
.contacts-list li:last-child { border-bottom: 0; }
.contacts-list .ci {
	flex: none;
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 11px;
	background: var(--soft);
	color: var(--ink-2);
}
.contacts-list .cl {
	display: block;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted);
	font-weight: 600;
}
.contacts-list .cv {
	display: block;
	font-size: clamp(1rem, .98vw, 1.12rem);
	color: var(--ink);
	font-weight: 600;
}
.contacts-list .cv a { color: var(--ink); text-decoration: none; }
.contacts-list .cv a:hover { color: var(--accent); }
.contacts-list .cd { display: block; font-size: .88rem; color: var(--muted); font-weight: 400; }

/* ============================================================
   CTA-полоса
   ============================================================ */
.cta-band {
	padding: clamp(48px, 5vw, 84px) 0;
	background: linear-gradient(135deg, #16233a, #0b1524);
	color: #c6d2e4;
}
.cta-band .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; font-size: clamp(1.6rem, 2.4vw, 2.4rem); }
.cta-band p { margin: 0; font-size: clamp(1rem, .95vw, 1.1rem); }

/* ============================================================
   Внутренние страницы
   ============================================================ */
.page-hero {
	padding: clamp(44px, 5vw, 84px) 0 clamp(32px, 3.4vw, 56px);
	background: var(--soft);
	border-bottom: 1px solid var(--line);
}
.breadcrumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span { margin: 0 8px; opacity: .6; }
.page-hero h1 { margin-bottom: 14px; }
.page-hero .lead { max-width: 62ch; }

.entry { padding: clamp(44px, 4.4vw, 84px) 0 clamp(56px, 6vw, 110px); }
.entry__inner { max-width: none; }
.entry h2 { margin: 1.9em 0 .55em; font-size: clamp(1.5rem, 1.8vw, 2.05rem); }
.entry h3 { margin: 1.7em 0 .5em; }
.entry > *:first-child, .entry__inner > *:first-child { margin-top: 0; }
.entry p, .entry li { max-width: 86ch; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .55em; }

.entry table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.7em 0;
	font-size: clamp(.9rem, .88vw, .98rem);
}
.entry th, .entry td {
	padding: 14px 16px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: top;
}
.entry th {
	font-weight: 600;
	color: var(--ink);
	background: var(--soft);
	font-size: .88rem;
	white-space: nowrap;
}
.entry td { color: var(--body); }
.entry tr:first-child th { border-top: 1px solid var(--line); }
.entry blockquote {
	margin: 1.7em 0;
	padding: clamp(18px, 1.6vw, 26px) clamp(20px, 2vw, 32px);
	border-left: 3px solid var(--accent);
	background: var(--soft);
	border-radius: 0 12px 12px 0;
	font-size: clamp(.98rem, .95vw, 1.06rem);
}
.entry blockquote p { max-width: 74ch; }
.entry blockquote p:last-child { margin-bottom: 0; }

/* ============================================================
   Подвал
   ============================================================ */
.site-footer {
	padding: clamp(48px, 4.6vw, 80px) 0 32px;
	background: #0b1524;
	color: #93a3ba;
	font-size: .94rem;
}
.footer-top {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, .9fr);
	gap: clamp(28px, 4vw, 64px);
	padding-bottom: clamp(32px, 3vw, 48px);
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: #fff; }
.footer-about { max-width: 42ch; margin: 18px 0 0; color: #93a3ba; }
.footer-col h4 {
	color: #fff;
	font-size: .8rem;
	letter-spacing: .11em;
	text-transform: uppercase;
	margin-bottom: 16px;
	font-weight: 700;
}
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.footer-col li { margin: 0; }
.footer-col a { color: #a8b7cc; text-decoration: none; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	padding-top: 28px;
	font-size: .86rem;
	color: #7a8aa1;
}
.footer-bottom a { color: #7a8aa1; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1180px) {
	.grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.header-phone { display: none; }
	.hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@media (max-width: 960px) {
	.hero-inner {
		grid-template-columns: 1fr;
		min-height: 0;
		gap: 44px;
		padding-block: clamp(40px, 6vw, 64px);
	}
	.hero__visual { order: 2; max-width: 520px; }
	.split { grid-template-columns: 1fr; gap: 32px; }
	.scope { grid-template-columns: 1fr; }
	.pricing { grid-template-columns: 1fr; }
	.plan--featured { order: -1; }
	.contact-grid { grid-template-columns: 1fr; }
	.quotes { grid-template-columns: 1fr; }
	.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }

	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute;
		top: 100%; left: 0; right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		margin: 0;
		padding: 8px var(--pad) 18px;
		background: #fff;
		border-bottom: 1px solid var(--line);
		box-shadow: 0 24px 32px -24px rgba(11, 21, 36, .4);
		display: none;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
	.nav a::after { display: none; }
	.header-cta { margin-left: 0; }
	.header-cta .btn { display: none; }
	.site-header { position: relative; }
}

@media (max-width: 640px) {
	:root { --pad: 18px; --section-y: 56px; }
	h1 { font-size: clamp(1.9rem, 7.4vw, 2.5rem); }
	.hero__actions .btn { width: 100%; }
	.hero__badge { right: 0; bottom: -14px; font-size: .8rem; padding: 11px 14px; }
	.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
	.features { grid-template-columns: 1fr; }
	.audience { grid-template-columns: 1fr; }
	.quotes { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.field--half { grid-template-columns: 1fr; }
	.plan--featured { order: 0; }
	.cta-band .container .btn { width: 100%; }
	.entry table { font-size: .84rem; }
	.entry th, .entry td { padding: 11px 10px; }
	.entry th { white-space: normal; }
	.faq { grid-template-columns: 1fr; }
}

/* Админ-бар */
.admin-bar .site-header { top: 32px; }
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
