/*
Theme Name: HeyGen Ru
Theme URI: https://heygen.icu/
Description: Тема сайта HeyGen Ru — нейросеть для видео с ИИ-аватарами. Белая база, электрик-циан #00c3ff с офсайта, жёсткая сетка с видимыми линиями, плотные рамки и смещённая тень, крупные дисплейные цифры.
Author: HeyGen Ru
Version: 1.0.0
Text Domain: heygen-ru
*/

/* ══════════════════════════════════════════════════════════
   Токены. Палитра снята пипеткой с CSS офсайта heygen.com:
   hey-blue #00c3ff, prism-pink #f3a6ff, gen-green #35c838,
   blue-dark #033337, mist #f2f2f2, cloud #d9d9d9, slate #1a1a1a.
   ══════════════════════════════════════════════════════════ */
:root {
	--bg: #ffffff;
	--bg-soft: #f8f8f8;
	--bg-mist: #f2f2f2;
	--bg-dark: #033337;
	--surface-dark: #06454a;

	--ink: #0d0d0d;
	--ink-soft: #1a1a1a;
	--muted: #5c6a6b;
	--on-dark: #ffffff;
	--on-dark-muted: #a9c6c8;

	--line: #d9d9d9;
	--line-strong: #0d0d0d;
	--line-dark: rgba(255, 255, 255, .18);

	--accent: #00c3ff;
	--accent-ink: #033337;
	--accent-tint: #dff8ff;
	--pink: #f3a6ff;
	--pink-tint: #f9ecff;
	--green: #35c838;
	--green-tint: #e4f8e5;
	--green-ink: #1a7a0a;
	--danger: #e02b2b;

	--font-display: "Ruda", "Trebuchet MS", Verdana, sans-serif;
	--font-text: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	--radius: 6px;
	--radius-sm: 4px;
	--wrap: 1200px;
	--header-h: 66px;
	--shadow-hard: 5px 5px 0 var(--ink);
	--shadow-hard-accent: 5px 5px 0 var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-text);
	font-size: 17px;
	line-height: 1.6;

	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 17px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 900px; }

/* ── Типографика ─────────────────────────────────────────── */
h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	letter-spacing: -0.015em;
	margin: 0 0 16px;
	line-height: 1.1;
}
h1 { font-size: clamp(2.05rem, 5vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.25rem); margin-top: 48px; font-weight: 900; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.14rem, 2vw, 1.34rem); margin-top: 30px; }
h4 { font-size: 1.04rem; margin-top: 22px; }

.lead { font-size: 1.12rem; color: #101212; max-width: 700px; margin-bottom: 24px; }

.label {
	display: inline-block;
	font-family: var(--font-display);
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink);
	background: var(--accent);
	padding: 5px 10px;
	border-radius: var(--radius-sm);
	margin: 14px 0;
}
.label--pink  { background: var(--pink); }
.label--green { background: var(--green); }
.label--ghost { background: transparent; border: 2px solid var(--ink); }

strong, b { font-weight: 600; }
.text-accent { color: var(--accent-ink); }
.nowrap { white-space: nowrap; }

ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 9px; }
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
	position: relative;
	padding-left: 26px;
}
.entry-content ul li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .55em;
	width: 11px;
	height: 11px;
	background: var(--accent);
	border: 2px solid var(--ink);
}

/* ── Кнопки: прямоугольные, с жёсткой смещённой тенью ────── */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .95rem;
	line-height: 1;
	padding: 15px 24px;
	border-radius: var(--radius-sm);
	border: 2px solid var(--ink);
	background: var(--bg);
	color: var(--ink);
	cursor: pointer;
	white-space: nowrap;
	transition: transform .14s ease, box-shadow .14s ease, background .18s ease;
}
.btn--accent { background: var(--accent); box-shadow: var(--shadow-hard); }
.btn--dark   { background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--accent); }
.btn--ghost  { background: transparent; }
.btn--light  { background: #fff; }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn--dark:hover { box-shadow: 7px 7px 0 var(--accent); }
.btn--lg { padding: 17px 30px; font-size: 1rem; }
.btn--sm { padding: 10px 16px; font-size: .86rem; border-width: 2px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ── Шапка ───────────────────────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(150%) blur(8px);
	border-bottom: 2px solid var(--ink);
}
.site-header__inner { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); justify-content: space-between;}

.site-logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo__icon {
	width: 34px; height: 34px;
	border: 2px solid var(--ink);
	border-radius: var(--radius-sm);
	background: var(--accent);
	display: grid; place-items: center;
	flex-shrink: 0;
}
.site-logo__icon svg { width: 19px; height: 19px; }
.site-logo__text {
	font-family: var(--font-display);
	font-size: 1.2rem;
	font-weight: 900;
	letter-spacing: -0.03em;
}
.site-logo__text span { color: var(--muted); font-weight: 700; }

.nav { display: flex; gap: 20px; margin-left: auto; }
.nav a {
	font-size: .92rem;
	font-weight: 500;
	padding: 5px 0;
	border-bottom: 2px solid transparent;
	transition: border-color .16s ease;
}
.nav a:hover { border-bottom-color: var(--accent); }

.header-cta { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav + .header-cta { margin-left: 20px; }
.header-cta__short { display: none; }

.burger {
	display: none;
	width: 42px; height: 42px;
	border: 2px solid var(--ink);
	border-radius: var(--radius-sm);
	background: #fff;
	cursor: pointer;
	padding: 8px;
	color: var(--ink);
}
.burger svg { width: 22px; height: 22px; }

.mobile-nav { display: none; border-top: 2px solid var(--ink); background: #fff; }
.mobile-nav.open { display: block; }
.mobile-nav .wrap { display: flex; flex-direction: column; padding-top: 6px; padding-bottom: 14px; }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav a:last-child { border-bottom: 0; }

/* ── Секции ──────────────────────────────────────────────── */
main { display: block; }
.section { padding: 68px 0; }
.section--tight { padding: 46px 0; }
.section--soft { background: var(--bg-soft); }
.section--mist { background: var(--bg-mist); }
.section--line { border-top: 2px solid var(--ink); }

.section--dark { background: var(--bg-dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--on-dark); }
.section--dark .lead { color: var(--on-dark-muted); }
.section--dark .card { background: var(--surface-dark); border-color: var(--line-dark); color: var(--on-dark); }
.section--dark .card p { color: var(--on-dark-muted); }
.section--dark .entry-content ul li::before { border-color: var(--accent); }

.section__head { max-width: 760px; margin-bottom: 34px; }
.section__head h2 { margin-top: 0; }

/* ── Первый экран: асимметричный сплит ───────────────────── */
.hero { border-bottom: 2px solid var(--ink); background: var(--bg); }

/* Видеофон. isolation даёт своё окружение наложения, поэтому
   слои с отрицательным z-index ложатся поверх фона секции,
   но под содержимым — без z-index на каждом блоке текста. */
.hero--video { position: relative; overflow: hidden; isolation: isolate; }
.hero__video {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}
/* Молочная вуаль: слева, под текстом, почти непрозрачная,
   справа за панелью цифр анимация видна в полную силу. */
.hero__veil {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background: linear-gradient(100deg,
  rgba(255, 255, 255, .56) 0%,
  rgba(255, 255, 255, .52) 40%,
  rgba(255, 255, 255, .54) 70%,
  rgba(255, 255, 255, .6) 100%);
}

.hero__inner {
	display: grid;
	grid-template-columns: 1.05fr .95fr;
	gap: 44px;
	align-items: start;
	padding: 58px  24px 62px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lead { font-size: 1.16rem; margin-bottom: 26px; }
.hero__note {
	margin-top: 18px;
	font-family: var(--font-display);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--muted);
}
.section--dark table.data {
	color:#0d0d0d;
}
.section--dark .label--ghost, .section--dark .label {
	color: #32959d;
}
/* Правая колонка первого экрана — витрина цифр */
.hero__panel {
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--shadow-hard);
}
.hero__panel-head {
	background: var(--ink);
	color: #fff;
	padding: 13px 18px;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .8rem;
	letter-spacing: .13em;
	text-transform: uppercase;
}
.hero__panel-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: baseline;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
}
.hero__panel-row:last-child { border-bottom: 0; }
.hero__panel-row span { color: var(--muted); font-size: .93rem; }
.hero__panel-row b {
	font-family: var(--font-display);
	font-size: 1.32rem;
	font-weight: 900;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

/* ── Цифры в плашках ─────────────────────────────────────── */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
}
.stat { padding: 22px 18px; border-right: 2px solid var(--ink); }
.stat:last-child { border-right: 0; }
.stat:nth-child(1) { background: var(--accent-tint); }
.stat:nth-child(2) { background: var(--pink-tint); }
.stat:nth-child(3) { background: var(--green-tint); }
.stat:nth-child(4) { background: var(--bg-mist); }
.stat__value {
	font-family: var(--font-display);
	font-size: 2rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	margin-bottom: 7px;
	font-variant-numeric: tabular-nums;
}
.stat__label { font-size: .86rem; color: var(--muted); line-height: 1.4; }

/* ── Кадры с аватарами: ряд из трёх портретов ────────────── */
.avatar-shots .section__head { margin-bottom: 28px; }
.avatar-shots .section__head h2 { margin-top: 0; }
/* На /avatary/ ряд идёт сразу под блоком «Коротко» — прижимаем к нему. */
.avatar-shots--after-tldr { padding-top: 26px; }

.shots {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.shot {
	margin: 0;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	overflow: hidden;
	background: #fff;
	/* Колонка на flex: подписи разной длины, но заливка каждой доходит до низа. */
	display: flex;
	flex-direction: column;
	transition: transform .14s ease, box-shadow .14s ease;
}
.shot:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.shot__img {
	display: block;
	flex: 0 0 auto;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	/* Лица сидят в верхней трети кадра — режем низ, а не головы. */
	object-position: 50% 22%;
	background: var(--bg-mist);
}
.shot__img:not(:last-child) { border-bottom: 2px solid var(--ink); }

.shot__cap { flex: 1 0 auto; padding: 14px 16px; }
.shot:nth-child(1) .shot__cap { background: var(--accent-tint); }
.shot:nth-child(2) .shot__cap { background: var(--pink-tint); }
.shot:nth-child(3) .shot__cap { background: var(--green-tint); }
.shot__cap b {
	display: block;
	font-family: var(--font-display);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	margin-bottom: 6px;
}
.shot__cap span { display: block; font-size: .89rem; line-height: 1.45; color: var(--muted); }
/* Перебиваем отрицательный отступ .table-note — под рядом он не нужен. */
.avatar-shots .shots__note { margin: 16px 0 0; }

/* ── Хлебные крошки и шапка страницы ─────────────────────── */
.page-head { padding:30px 16px 6px }
.crumbs {
	font-family: var(--font-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
}
.crumbs a:hover { color: var(--accent-ink); }
.crumbs__sep { margin: 0 8px; }

.tldr {
	border: 2px solid var(--ink);
	border-left-width: 10px;
	border-left-color: var(--accent);
	background: #fff;
	padding: 18px 22px;
	border-radius: var(--radius);
	margin: 24px 0 8px;
}
.tldr p { margin: 0; }
.tldr p + p { margin-top: 10px; }

/* ── Карточки и сетки ────────────────────────────────────── */
.grid { display: grid; gap: 20px; margin-bottom: 20px;}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
	background: #fff;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	padding: 22px;
	transition: transform .14s ease, box-shadow .14s ease;
}
.card--soft { background: var(--bg-soft); }
.card--tint { background: var(--accent-tint); }
.card--pink { background: var(--pink-tint); }
.card--green { background: var(--green-tint); }
.card--hover:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-hard); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.card__icon {
	width: 42px; height: 42px;
	border: 2px solid var(--ink);
	border-radius: var(--radius-sm);
	background: var(--accent);
	display: grid; place-items: center;
	margin-bottom: 15px;
}
.card__icon svg { width: 20px; height: 20px; stroke: var(--ink); }
.card--pink .card__icon { background: var(--pink); }
.card--green .card__icon { background: var(--green); }
.section--dark .card__icon { background: var(--accent); border-color: var(--accent); }

/* Нумерованная лента с крупной цифрой */
.numbered { border-top: 2px solid var(--ink); }
.numbered__item {
	display: grid;
	grid-template-columns: 92px 1fr;
	gap: 20px;
	padding: 24px 0;
	border-bottom: 1px solid var(--line);
}
.numbered__item:last-child { border-bottom: 2px solid var(--ink); }
.numbered__num {
	font-family: var(--font-display);
	font-size: 2.1rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--accent);
	-webkit-text-stroke: 1px var(--ink);
}
.numbered__item h3 { margin: 0 0 8px; }
.numbered__item p:last-child { margin-bottom: 0; }

/* ── Шаги ────────────────────────────────────────────────── */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 18px;
	padding: 20px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: #fff;
}
.step::before {
	counter-increment: step;
	content: counter(step, decimal-leading-zero);
	font-family: var(--font-display);
	font-weight: 900;
	font-size: .92rem;
	color: var(--ink);
	background: var(--accent);
	border: 2px solid var(--ink);
	border-radius: var(--radius-sm);
	width: 38px; height: 38px;
	display: grid; place-items: center;
}
.step h3 { margin: 0 0 7px; font-size: 1.1rem; }
.step p:last-child { margin-bottom: 0; }

/* ── Таблицы ─────────────────────────────────────────────── */
.table-wrap {
	overflow-x: auto;
	margin: 0 0 22px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
}
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; background: #fff; }
table.data th, table.data td {
	text-align: left;
	padding: 13px 16px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
table.data thead th {
	background: var(--ink);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: .78rem;
	letter-spacing: .09em;
	text-transform: uppercase;
	border-bottom: 0;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data .is-num { font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data .row-hi { background: var(--accent-tint); }
.table-note { font-size: .85rem; color: var(--muted); margin: -10px 0 24px; }

/* ── Тарифы ──────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 20px;}
.plan {
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: #fff;
	padding: 22px 20px;
	display: flex;
	flex-direction: column;
}
.plan--hi { background: var(--accent-tint); box-shadow: var(--shadow-hard); }
.plan__name {
	font-family: var(--font-display);
	font-weight: 900;
	font-size: 1.16rem;
	margin-bottom: 4px;
}
.plan__price {
	font-family: var(--font-display);
	font-size: 1.95rem;
	font-weight: 900;
	line-height: 1.05;
	letter-spacing: -0.03em;
	margin: 10px 0 2px;
	font-variant-numeric: tabular-nums;
}
.plan__rub { font-size: .92rem; color: var(--muted); margin-bottom: 14px; }
.plan__list { list-style: none; padding: 0; margin: 0 0 18px; font-size: .92rem; }
.plan__list li { padding-left: 22px; position: relative; margin-bottom: 8px; }
.plan__list li::before {
	content: "";
	position: absolute; left: 0; top: .5em;
	width: 10px; height: 10px;
	background: var(--green);
	border: 2px solid var(--ink);
}
.plan .btn { margin-top: auto; width: 100%; }

/* ── Плюсы и минусы ──────────────────────────────────────── */
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pros-cons__col { border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; }
.pros-cons__col--plus  { background: var(--green-tint); }
.pros-cons__col--minus { background: var(--pink-tint); }
.pros-cons__col h3 { margin-top: 0; }
.pros-cons__col ul { list-style: none; padding: 0; margin: 0; }
.pros-cons__col li { padding-left: 24px; position: relative; }
.pros-cons__col li::before {
	content: "";
	position: absolute; left: 0; top: .55em;
	width: 11px; height: 11px;
	border: 2px solid var(--ink);
}
.pros-cons__col--plus li::before  { background: var(--green); }
.pros-cons__col--minus li::before { background: var(--pink); }

/* ── Рейтинг звёздами: процентная заливка ────────────────── */
.stars { display: inline-flex; position: relative; line-height: 0; }
.stars svg { width: 17px; height: 17px; flex: 0 0 auto; fill: currentColor; stroke: none; }
.stars__bg { color: var(--line); }
/* Ряд всегда в натуральную ширину — иначе звёзды сжимаются под .stars__fill
   и верхний ряд ложится поверх нижнего вместо заливки. */
.stars__row {
	display: flex;
	gap: 2px;
	width: max-content;
	flex: 0 0 auto;
}
/* Окно заливки: ширина в процентах, лишнее обрезается. */
.stars__fill {
	position: absolute;
	top: 0; left: 0; bottom: 0;
	overflow: hidden;
	color: var(--accent);
}
.score-hero {
	display: flex;
	align-items: center;
	gap: 20px;
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--accent-tint);
	padding: 22px;
	margin-bottom: 28px;
	box-shadow: var(--shadow-hard);
}
.score-hero__value {
	font-family: var(--font-display);
	font-size: 3rem;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.04em;
}
.review {
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	padding: 20px;
	background: #fff;
	margin-bottom: 16px;
}
.review__top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.review__avatar {
	width: 42px; height: 42px;
	border: 2px solid var(--ink);
	border-radius: var(--radius-sm);
	background: var(--accent-tint);
	display: grid; place-items: center;
	font-family: var(--font-display);
	font-weight: 900;
	font-size: .82rem;
	flex-shrink: 0;
}
.review__name { font-family: var(--font-display); font-weight: 700; }
.review__date { font-size: .84rem; color: var(--muted); margin-left: auto; }
.review p:last-child { margin-bottom: 0; }

/* ── FAQ-аккордеон (grid-template-rows, не max-height) ───── */
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 2px solid var(--ink); }
.faq__question {
	width: 100%;
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
	background: none;
	border: 0;
	padding: 19px 0;
	cursor: pointer;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.03rem;
	color: var(--ink);
	line-height: 1.35;
}
.faq__question::after {
	content: "+";
	margin-left: auto;
	font-size: 1.4rem;
	line-height: 1;
	color: var(--accent-ink);
	transition: transform .2s ease;
	flex-shrink: 0;
}
.faq__item.open .faq__question::after { transform: rotate(45deg); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.faq__answer > div { overflow: hidden; }
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer p { margin: 0 0 16px; color: var(--muted); }

/* ── Полоса CTA ──────────────────────────────────────────── */
.cta-band {
	background: var(--accent);
	border-top: 2px solid var(--ink);
	border-bottom: 2px solid var(--ink);
	padding: 40px 0;
}
.cta-band__inner { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--accent-ink); }
.cta-band__actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Врезка «посредник» ──────────────────────────────────── */
.relay {
	border: 2px solid var(--ink);
	border-radius: var(--radius);
	background: var(--pink-tint);
	padding: 22px;
	margin: 26px 0;
	color: black;
}
.relay h3 { margin-top: 0; 	color: black;}
.relay p:last-child { margin-bottom: 0; }

/* ── Подвал ──────────────────────────────────────────────── */
.site-footer { border-top: 2px solid var(--ink); background: var(--bg-dark); color: var(--on-dark); padding: 46px 0 26px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: var(--accent); }
.footer-col h4 { font-size: .82rem; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 14px; color: var(--on-dark); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: .93rem; }
.footer-about p { color: var(--on-dark-muted); font-size: .93rem; }
.footer-bottom {
	border-top: 1px solid var(--line-dark);
	padding-top: 20px;
	font-size: .84rem;
	color: var(--on-dark-muted);
}
.footer-bottom p { margin: 0 0 8px; }

/* ── Разное ──────────────────────────────────────────────── */
.rule { height: 2px; background: var(--ink); border: 0; margin: 0; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content a.inline { color: var(--accent-ink); border-bottom: 2px solid var(--accent); }
.entry-content a.inline:hover { background: var(--accent-tint); }

/* ══════════════════════════════════════════════════════════
   Адаптив. Проверено на 1280 / 900 / 760 / 390 / 360.
   ══════════════════════════════════════════════════════════ */
@media (max-width: 1080px) {
	.nav { display: none; }
	.burger { display: grid; place-items: center; }
	.header-cta { margin-left: auto; }
	.hero__inner { grid-template-columns: 1fr; gap: 32px; padding: 44px 24px 48px; }
}

@media (max-width: 980px) {
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.plans { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(1), .stat:nth-child(2) { border-bottom: 2px solid var(--ink); }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 16px; }
	.section { padding: 48px 0; }
	.grid--2, .grid--3 { grid-template-columns: 1fr; }
	.shots { grid-template-columns: 1fr; gap: 16px; }
	.shot__img {  object-position: 50% 26%; }
	.pros-cons { grid-template-columns: 1fr; }
	.numbered__item { grid-template-columns: 1fr; gap: 8px; }
	.footer-top { grid-template-columns: 1fr; gap: 24px; }
	.cta-band__actions { margin-left: 0; width: 100%; }
	.score-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
	.shot {
		margin: 0 auto; max-width: 400px;
	}
}

@media (max-width: 560px) {
	.plans { grid-template-columns: 1fr; }
	.stats { grid-template-columns: 1fr; }
	.stat { border-right: 0; border-bottom: 2px solid var(--ink); }
	.stat:last-child { border-bottom: 0; }
	.btn-row .btn { flex: 1 1 100%; }
	.cta-band__actions .btn { flex: 1 1 100%; }
	.hero__panel-row { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 480px) {
	.header-cta__full { display: none; }
	.header-cta__short { display: inline; }
	.header-cta .btn { padding: 11px 14px; font-size: .85rem; }
	h2 { margin-top: 36px; }

}

@media (max-width: 360px) {
	.site-logo__text { display: none; }
	.wrap {
		padding: 0 16px;
	}
}

/* Мобильные таблицы — карточки по строкам, без прокрутки вбок */
@media (max-width: 640px) {
	.table-wrap { overflow-x: visible; border: 0; border-radius: 0; }
	table.data { min-width: 0; }
	table.data thead {
		position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
		overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
	}
	table.data, table.data tbody, table.data tr, table.data td { display: block; width: 100%; }
	table.data tr {
		border: 2px solid var(--ink);
		border-radius: var(--radius);
		margin-bottom: 12px;
		overflow: hidden;
		background: #fff;
	}
	table.data tr:last-child { margin-bottom: 0; }
	table.data td { padding: 10px 14px 10px 44%; position: relative; min-height: 20px; }
	table.data td::before {
		content: attr(data-label);
		position: absolute; left: 14px; top: 10px; width: 38%;
		font-family: var(--font-display);
		font-weight: 700; font-size: .78rem; text-transform: uppercase;
		letter-spacing: .05em; color: var(--muted);
	}
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
