/*
Theme Name: Luma Ru
Theme URI: https://luma-ai.icu/
Description: Тема сайта Luma Ru — русскоязычного ресурса о нейросети Luma для генерации видео.
Author: Luma Ru
Version: 1.0.0
Text Domain: luma-ru
*/

/* ══════════════════════════════════════════════════════════════
   ШРИФТ — Golos Text, локально, без обращений к CDN.
   Офсайт использует коммерческий Graphik; Golos Text — ближайший
   свободный неогротеск с полной кириллицей.
   ══════════════════════════════════════════════════════════════ */
@font-face {
	font-family: 'Golos';
	src: url('fonts/golos-cyrillic.woff2') format('woff2');
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: 'Golos';
	src: url('fonts/golos-latin.woff2') format('woff2');
	font-weight: 400 900;
	font-style: normal;
	font-display: swap;
	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;
}

/* ══════════════════════════════════════════════════════════════
   ТОКЕНЫ — сняты с CSS-бандлов lumalabs.ai
   ══════════════════════════════════════════════════════════════ */
:root {
	--bg: #050607;
	--surface: #101215;
	--surface-2: #191D20;
	--surface-3: #202020;
	--border: #2A2E33;
	--border-strong: #3A3F45;

	--text: #F1F1F1;
	--text-dim: #E5E5E5;
	--muted: #9AA0A6;
	--muted-deep: #666666;

	--accent: #A1876B;
	--accent-soft: #C4AE97;
	--accent-deep: #7A6550;
	--cool: #0B1A2E;
	--ok: #1AA30D;

	--grad-warm: linear-gradient(120deg, #A1876B 0%, #C4AE97 55%, #F1F1F1 100%);
	--grad-soft: linear-gradient(140deg, rgba(161, 135, 107, .16) 0%, rgba(196, 174, 151, .08) 60%, rgba(11, 26, 46, .18) 100%);

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;

	--shadow: 0 0 0 1px var(--border), 0 20px 50px -26px rgba(161, 135, 107, .5);
	--shadow-hover: 0 0 0 1px var(--border-strong), 0 28px 64px -24px rgba(161, 135, 107, .62);

	--font: 'Golos', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--wrap: 1180px;
	--header-h: 66px;
	/* Исходники вертикальные: 768x1376 (24:43). В ленте показываем их
	   кадрированными под 4:5 — рамка ниже и шире, кадр не искажается,
	   но по вертикали видно ~70% исходного кадра (object-fit: cover).
	   Альтернативы: 1 / 1 (видно ~56%), 768 / 1376 (весь кадр, высокая рамка). */
	--reel-ratio: 4 / 5;
	--reel-w: 280px;          /* потолок ширины ролика; высота считается по --reel-ratio */
	--reel-focus: center 42%; /* какая часть кадра остаётся видимой при кадрировании */
}

/* ══════════════════════════════════════════════════════════════
   БАЗА
   ══════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text-dim);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.66;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Тёплое кинематографичное свечение за первым экраном */
body::before {
	content: '';
	position: fixed;
	top: -280px;
	left: 50%;
	width: 1000px;
	height: 640px;
	margin-left: -500px;
	background: radial-gradient(closest-side, rgba(161, 135, 107, .22), rgba(122, 101, 80, .08) 58%, transparent 76%);
	pointer-events: none;
	z-index: 0;
}

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

a { color: var(--accent-soft); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--text); }

h1, h2, h3, h4 {
	color: var(--text);
	line-height: 1.16;
	letter-spacing: -.025em;
	margin: 0 0 16px;
	font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.15rem); letter-spacing: -.038em; font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); margin-top: 54px; }
h3 { font-size: clamp(1.12rem, 2.2vw, 1.35rem); margin-top: 30px; }

p { margin: 0 0 18px; }

ul, ol { margin: 0 0 20px; padding-left: 22px; }
li { margin-bottom: 9px; }

strong { color: var(--text); font-weight: 600; }

code {
	font-family: 'SFMono-Regular', Consolas, monospace;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: 5px;
	padding: 2px 7px;
	font-size: .88em;
	color: var(--accent-soft);
}

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; position: relative; z-index: 1; }

.grad-text {
	background: var(--grad-warm);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.lead { font-size: 1.13rem; color: var(--text-dim); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════
   КНОПКИ
   ══════════════════════════════════════════════════════════════ */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	font-weight: 600;
	font-size: .97rem;
	padding: 13px 23px;
	border-radius: 999px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
	text-align: center;
	line-height: 1.2;
}

.btn i, .btn svg { width: 17px; height: 17px; flex-shrink: 0; }

.btn--primary {
	background: var(--accent);
	color: #16110C;
	box-shadow: 0 12px 30px -14px rgba(161, 135, 107, .9);
}
.btn--primary:hover {
	background: var(--accent-soft);
	color: #16110C;
	transform: translateY(-2px);
	box-shadow: 0 18px 38px -14px rgba(196, 174, 151, .95);
}

.btn--ghost {
	background: var(--surface-2);
	color: var(--text);
	border-color: var(--border-strong);
}
.btn--ghost:hover { color: var(--text); background: var(--surface-3); border-color: var(--accent); }

.btn--sm { padding: 10px 17px; font-size: .89rem; }

/* ══════════════════════════════════════════════════════════════
   ШАПКА — реф-кнопка видна на всех ширинах, не в бургере
   ══════════════════════════════════════════════════════════════ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(5, 6, 7, .76);
	backdrop-filter: saturate(150%) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s ease, background .2s ease;
}
.site-header.scrolled {
	border-bottom-color: var(--border);
	background: rgba(5, 6, 7, .95);
}

.header__inner { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__mark { width: 28px; height: 28px; flex-shrink: 0; }
.logo__text {
	font-weight: 800;
	font-size: 1.14rem;
	letter-spacing: -.035em;
	color: var(--text);
	white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 3px; margin-left: 16px; flex-wrap: wrap; }
.nav a {
	color: var(--muted);
	font-size: .92rem;
	padding: 7px 11px;
	border-radius: 999px;
	white-space: nowrap;
	transition: background .18s ease, color .18s ease;
}
.nav a:hover, .nav a.is-active { color: var(--text); background: var(--surface-2); }

.header__cta { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cta-short { display: none; }

.burger {
	display: none;
	width: 42px;
	height: 42px;
	border-radius: 11px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	cursor: pointer;
	padding: 0;
	position: relative;
	flex-shrink: 0;
}
.burger span {
	position: absolute;
	left: 11px;
	width: 18px;
	height: 2px;
	background: var(--text);
	border-radius: 2px;
	transition: transform .22s ease, opacity .22s ease;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
	display: none;
	flex-direction: column;
	gap: 2px;
	padding: 10px 0 18px;
	border-top: 1px solid var(--border);
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--text-dim); padding: 11px 12px; border-radius: 11px; font-size: 1rem; }
.mobile-nav a:hover { background: var(--surface-2); color: var(--text); }

@media (max-width: 1060px) {
	.nav { display: none; }
	.burger { display: block; order: 3; }
	.header__cta { margin-left: auto; order: 2; }
}
@media (max-width: 480px) {
	.cta-full { display: none; }
	.cta-short { display: inline; }
	.header__cta .btn { padding: 10px 15px; font-size: .87rem; }
}
@media (max-width: 360px) {
	.logo__text { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   КРОШКИ
   ══════════════════════════════════════════════════════════════ */
.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: .86rem;
	color: var(--muted);
	padding: 22px 0 4px;
}
.crumbs__link { color: var(--muted); }
.crumbs__link:hover { color: var(--accent-soft); }
.crumbs__current { color: var(--text-dim); }
.crumbs__sep { color: var(--border-strong); }

/* ══════════════════════════════════════════════════════════════
   ПЕРВЫЙ ЭКРАН
   ══════════════════════════════════════════════════════════════ */
.hero { padding: 62px 0 40px; text-align: center;}

.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 15px;
	border-radius: 999px;
	background: var(--surface-2);
	border: 1px solid var(--border);
	font-size: .83rem;
	color: var(--text-dim);
	margin-bottom: 22px;
}
.hero__badge i { width: 15px; height: 15px; color: var(--accent); }

.hero__title { max-width: 16ch; margin: 0 auto;}

.hero__lead { font-size: 1.18rem; max-width: 60ch; margin-bottom: 28px; color: var(--text-dim); margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 30px;}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-self: center;
    margin-bottom: 30px;}

.hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	font-size: .92rem;
	color: var(--muted);
	
	justify-self: center;
}
.hero__meta strong { color: var(--text); }

.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 46px; align-items: center; }
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; gap: 34px; }
	.hero { padding-top: 38px; }
}

.spec-card {
	position: relative;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: 26px;
	overflow: hidden;
}
.spec-card::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); }
.spec-card > * { position: relative; }
.spec-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	font-size: .94rem;
}
.spec-card__row:last-child { border-bottom: 0; padding-bottom: 0; }
.spec-card__row:first-child { padding-top: 0; }
.spec-card__row span:first-child { color: var(--muted); }
.spec-card__row span:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   TL;DR
   ══════════════════════════════════════════════════════════════ */
.tldr {
	border-radius: var(--r-md);
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid var(--accent);
	padding: 22px 26px;
	margin: 26px 0 34px;
}
.tldr p { margin: 0; color: var(--text-dim); }
.tldr p + p { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   СЕКЦИИ И СЕТКИ
   ══════════════════════════════════════════════════════════════ */
.section { padding: 24px 0; }
.section__head { max-width: 68ch; margin-bottom: 26px; }

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

@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
	background: var(--surface);
	border-radius: var(--r-md);
	padding: 24px;
	box-shadow: 0 0 0 1px var(--border);
	transition: box-shadow .22s ease, transform .22s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card__icon {
	width: 42px;
	height: 42px;
	border-radius: 12px;
	display: grid;
	place-items: center;
	background: var(--grad-soft);
	border: 1px solid var(--border);
	margin-bottom: 15px;
}
.card__icon i, .card__icon svg { width: 20px; height: 20px; color: var(--accent); }

.card h3 { margin-top: 0; margin-bottom: 9px; font-size: 1.1rem; }
.card p:last-child { margin-bottom: 0; }

.card__tag {
	display: inline-block;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--accent);
	background: rgba(161, 135, 107, .12);
	border-radius: 999px;
	padding: 4px 10px;
	margin-bottom: 12px;
}

/* Карточка модели */
.model {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	overflow: hidden;
	transition: box-shadow .22s ease, transform .22s ease;
}
.model:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.model__top { padding: 22px 24px 18px; background: var(--grad-soft); border-bottom: 1px solid var(--border); }
.model__name { font-size: 1.24rem; font-weight: 800; color: var(--text); margin: 0 0 6px; letter-spacing: -.02em; }
.model__role { font-size: .9rem; color: var(--accent-soft); margin: 0; }
.model__body { padding: 20px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.model__body p { font-size: .95rem; }
.model__specs { list-style: none; margin: 0; padding: 0; }
.model__specs li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: .89rem;
	padding: 8px 0;
	border-bottom: 1px dashed var(--border);
	margin: 0;
}
.model__specs li:last-child { border-bottom: 0; }
.model__specs span:first-child { color: var(--muted); }
.model__specs span:last-child { color: var(--text); font-weight: 600; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   ТАБЛИЦЫ — на ≤640px карточки, без прокрутки вбок
   ══════════════════════════════════════════════════════════════ */
.table-wrap {
	overflow-x: auto;
	margin: 0 0 26px;
	border: 1px solid var(--border);
	border-radius: var(--r-md);
}
table.data { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .94rem; }
table.data th, table.data td {
	text-align: left;
	padding: 14px 17px;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}
table.data thead th {
	background: var(--surface-2);
	color: var(--text);
	font-weight: 700;
	font-size: .89rem;
	white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(161, 135, 107, .05); }
table.data td strong { color: var(--text); }

@media (max-width: 640px) {
	.table-wrap { overflow-x: visible; border: 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: 1px solid var(--border);
		border-radius: var(--r-sm);
		margin-bottom: 12px;
		overflow: hidden;
		background: var(--surface);
	}
	table.data tr:last-child { margin-bottom: 0; }
	table.data td { padding: 10px 14px 10px 44%; position: relative; min-height: 20px; }
	table.data tr td:last-child { border-bottom: 0; }
	table.data td::before {
		content: attr(data-label);
		position: absolute;
		left: 14px;
		top: 10px;
		width: 38%;
		font-weight: 600;
		font-size: .81rem;
		color: var(--muted);
	}
}

.note {
	font-size: .91rem;
	color: var(--muted);
	border-left: 2px solid var(--accent-deep);
	padding-left: 15px;
	margin: 0 0 26px;
}

/* ══════════════════════════════════════════════════════════════
   ТАРИФЫ
   ══════════════════════════════════════════════════════════════ */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px;}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.plan {
	position: relative;
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
}
.plan--featured {
	border: 1px solid var(--accent);
	box-shadow: 0 24px 56px -30px rgba(161, 135, 107, .8);
}
.plan__flag {
	position: absolute;
	top: -12px;
	left: 22px;
	background: var(--accent);
	color: #16110C;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}
.plan__name { font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.plan__price { font-size: 2.1rem; font-weight: 800; color: var(--text); line-height: 1.1; letter-spacing: -.035em; }
.plan__price span { font-size: .93rem; font-weight: 500; color: var(--muted); }
.plan__rub { font-size: .89rem; color: var(--muted); margin: 6px 0 4px; }
.plan__year { font-size: .85rem; color: var(--accent-soft); margin: 0 0 16px; }
.plan__list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan__list li {
	position: relative;
	padding-left: 24px;
	font-size: .92rem;
	margin-bottom: 10px;
	color: var(--text-dim);
}
.plan__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--accent);
	opacity: .9;
}

/* ══════════════════════════════════════════════════════════════
   ЗВЁЗДЫ И ОТЗЫВЫ
   ══════════════════════════════════════════════════════════════ */
.stars { position: relative; display: inline-flex; line-height: 0; vertical-align: middle; }
.stars__bg, .stars__fg { display: flex; gap: 2px; }
.stars__bg { color: var(--muted); opacity: .3; }
/* Правый край НЕ фиксируем: inset:0 задаёт и left, и right, из-за чего
   ширина заливки оказывается переопределённой. Тянем только слева. */
.stars__fg {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--accent-soft);
}
/* fill обязателен: иконки Lucide приходят с fill="none" и рисуются контуром.
   Без заливки пустая и закрашенная звезда выглядят одинаково, и любая
   оценка читается как пятёрка. */
.stars svg {
	width: var(--star-size, 20px);
	height: var(--star-size, 20px);
	flex-shrink: 0;
	fill: currentColor;
	stroke: currentColor;
}

.score {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 18px;
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	padding: 24px 26px;
	margin-bottom: 30px;
}
.score__value {
	font-size: 3rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.04em;
	background: var(--grad-warm);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.score__meta { font-size: .92rem; color: var(--muted); }

.criteria { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.criteria li { margin: 0; }
.criteria__row { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; margin-bottom: 7px; }
.criteria__row span:last-child { color: var(--text); font-weight: 600; }
.criteria__bar { height: 7px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.criteria__fill { height: 100%; border-radius: 999px; background: var(--grad-warm); }

.review {
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.review__head { display: flex; align-items: center; gap: 13px; }
.review__avatar {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	background: var(--accent);
	color: #16110C;
	font-weight: 800;
	font-size: 1.05rem;
	flex-shrink: 0;
}
.review__author { font-weight: 700; color: var(--text); }
.review__role { font-size: .83rem; color: var(--muted); }
.review__title { font-weight: 700; color: var(--text); margin: 0; font-size: 1.01rem; }
.review p { margin: 0; font-size: .95rem; }

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
.faq { display: grid; gap: 12px; }
.faq__item {
	background: var(--surface);
	border-radius: var(--r-sm);
	box-shadow: 0 0 0 1px var(--border);
	overflow: hidden;
	transition: box-shadow .2s ease;
}
.faq__item.open { box-shadow: 0 0 0 1px var(--accent-deep); }
.faq__question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	text-align: left;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 19px 22px;
	font-family: var(--font);
	font-size: 1.02rem;
	font-weight: 600;
	color: var(--text);
	line-height: 1.4;
}
.faq__question i, .faq__question svg {
	width: 19px;
	height: 19px;
	flex-shrink: 0;
	color: var(--accent);
	transition: transform .22s ease;
}
.faq__item.open .faq__question i, .faq__item.open .faq__question svg { transform: rotate(180deg); }
.faq__answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.faq__item.open .faq__answer { grid-template-rows: 1fr; }
.faq__answer > div { overflow: hidden; }
.faq__answer p { padding: 0 22px 20px; margin: 0; font-size: .96rem; }

/* ══════════════════════════════════════════════════════════════
   ШАГИ
   ══════════════════════════════════════════════════════════════ */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; gap: 16px; }
.steps li {
	counter-increment: step;
	position: relative;
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	padding: 22px 24px 22px 74px;
	margin: 0;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 22px;
	top: 22px;
	width: 34px;
	height: 34px;
	border-radius: 11px;
	background: var(--accent);
	color: #16110C;
	font-weight: 800;
	display: grid;
	place-items: center;
}
.steps h3 { margin: 0 0 7px; font-size: 1.06rem; }
.steps p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   ПЛЮСЫ И МИНУСЫ
   ══════════════════════════════════════════════════════════════ */
.pros-cons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (max-width: 720px) { .pros-cons { grid-template-columns: 1fr; } }

.pc {
	background: var(--surface);
	border-radius: var(--r-md);
	box-shadow: 0 0 0 1px var(--border);
	padding: 24px;
}
.pc h3 { margin: 0 0 16px; display: flex; align-items: center; gap: 9px; font-size: 1.06rem; }
.pc h3 i, .pc h3 svg { width: 19px; height: 19px; }
.pc--good h3 i { color: var(--ok); }
.pc--bad h3 i { color: #C4674F; }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { position: relative; padding-left: 24px; font-size: .94rem; margin-bottom: 12px; }
.pc li:last-child { margin-bottom: 0; }
.pc li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 8px; border-radius: 50%; }
.pc--good li::before { background: var(--ok); }
.pc--bad li::before { background: #C4674F; }

/* ══════════════════════════════════════════════════════════════
   ПОДБОРЩИК
   ══════════════════════════════════════════════════════════════ */
.picker {
	background: var(--surface);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow);
	padding: 30px;
	position: relative;
	overflow: hidden;
}
.picker::before { content: ''; position: absolute; inset: 0; background: var(--grad-soft); }
.picker > * { position: relative; }

.picker__bar { height: 5px; border-radius: 999px; background: var(--surface-3); overflow: hidden; margin-bottom: 22px; }
.picker__fill { height: 100%; width: 0; border-radius: 999px; background: var(--grad-warm); transition: width .3s ease; }

.picker__step { font-size: .82rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .05em; text-transform: uppercase; }
.picker__q { font-size: 1.28rem; font-weight: 700; color: var(--text); margin: 0 0 20px; line-height: 1.3; }

.picker__opts { display: grid; gap: 10px; }
.picker__opt {
	text-align: left;
	background: var(--surface-2);
	border: 1px solid var(--border);
	border-radius: var(--r-sm);
	padding: 15px 18px;
	color: var(--text-dim);
	font-family: var(--font);
	font-size: .97rem;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.picker__opt:hover {
	border-color: var(--accent);
	background: var(--surface-3);
	color: var(--text);
	transform: translateX(3px);
}

.picker__result { display: none; }
.picker__result.show { display: block; }
.picker__verdict { font-size: 1.5rem; font-weight: 800; margin: 0 0 12px; color: var(--text); letter-spacing: -.02em; }
.picker__why { margin-bottom: 20px; }
.picker__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

.picker__reset {
	background: none;
	border: 0;
	color: var(--muted);
	cursor: pointer;
	font-size: .91rem;
	font-family: var(--font);
	text-decoration: underline;
	padding: 0;
}
.picker__reset:hover { color: var(--text); }

/* ══════════════════════════════════════════════════════════════
   CTA-ПОЛОСА
   ══════════════════════════════════════════════════════════════ */
.band {
	position: relative;
	margin: 54px 0 20px;
	padding: 46px 40px;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: 0 0 0 1px var(--border);
	overflow: hidden;
	text-align: center;
}
.band__glow { position: absolute; inset: 0; background: var(--grad-soft); }
.band > *:not(.band__glow) { position: relative; }
.band__title { margin: 0 0 12px; font-size: clamp(1.4rem, 3vw, 1.9rem); }
.band__text { max-width: 58ch; margin: 0 auto 24px; color: var(--text-dim); }
.band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
@media (max-width: 620px) { .band { padding: 34px 22px; } }

/* ══════════════════════════════════════════════════════════════
   ЧИТАЙТЕ ТАКЖЕ
   ══════════════════════════════════════════════════════════════ */
.related { margin: 46px 0 10px; }
.related__title { font-size: 1.18rem; margin: 0 0 16px; }
.related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 860px) { .related__list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .related__list { grid-template-columns: 1fr; } }
.related__list li { margin: 0; }
.related__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--surface);
	border-radius: var(--r-sm);
	box-shadow: 0 0 0 1px var(--border);
	padding: 14px 17px;
	color: var(--text-dim);
	font-size: .94rem;
	transition: box-shadow .2s ease, color .2s ease, transform .2s ease;
}
.related__list a:hover { color: var(--text); box-shadow: 0 0 0 1px var(--accent); transform: translateY(-2px); }
.related__list i, .related__list svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   КОНТАКТЫ
   ══════════════════════════════════════════════════════════════ */
.contacts { display: grid; gap: 12px; }
.contact-row {
	display: flex;
	align-items: center;
	gap: 15px;
	background: var(--surface);
	border-radius: var(--r-sm);
	box-shadow: 0 0 0 1px var(--border);
	padding: 17px 20px;
	flex-wrap: wrap;
}
.contact-row i, .contact-row svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.contact-row__label { font-weight: 600; color: var(--text); min-width: 200px; }
.contact-row a { word-break: break-word; }

.disclaimer {
	margin-top: 34px;
	padding: 20px 24px;
	border-radius: var(--r-md);
	background: var(--surface-2);
	border: 1px solid var(--border);
	font-size: .91rem;
	color: var(--muted);
}
.disclaimer p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   ПОДВАЛ
   ══════════════════════════════════════════════════════════════ */
.site-footer {
	margin-top: 72px;
	border-top: 1px solid var(--border);
	background: var(--surface);
	padding: 46px 0 30px;
	position: relative;
	z-index: 1;
}
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 34px; margin-bottom: 34px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

.footer__about { font-size: .93rem; color: var(--muted); max-width: 42ch; }
.footer__title {
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0 0 15px;
}
.footer__list { list-style: none; margin: 0; padding: 0; }
.footer__list li { margin-bottom: 10px; }
.footer__list a { color: var(--text-dim); font-size: .93rem; }
.footer__list a:hover { color: var(--accent-soft); }

.footer__bottom {
	border-top: 1px solid var(--border);
	padding-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: space-between;
	align-items: center;
	font-size: .86rem;
	color: var(--muted);
}
.footer__note { max-width: 78ch; }

/* ══════════════════════════════════════════════════════════════
   СЛУЖЕБНОЕ
   ══════════════════════════════════════════════════════════════ */
.page-head { padding: 8px 0 4px; }
.page-body { padding-bottom: 20px; }

.error-404 { padding: 90px 0; text-align: center; }
.error-404 h1 { font-size: clamp(3rem, 12vw, 7rem); margin-bottom: 8px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--surface-2);
	color: var(--text);
	padding: 10px 16px;
	border-radius: 0 0 var(--r-sm) 0;
	z-index: 200;
}
.skip-link:focus { left: 0; }

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

/* ─────────────────────────────────────────────────────────────
   Showreel — ряд из четырёх вертикальных роликов 9:16 под hero.
   Файлы: video/1..4.mp4 — 768×1376, H.264, без звуковой дорожки.
   ───────────────────────────────────────────────────────────── */
.showreel {
	display: grid;
	/* minmax(0, --reel-w) задаёт потолок ширины, но позволяет сжиматься на узких экранах.
	   Пропорция кадра держится через aspect-ratio, а не через фиксированную высоту. */
	grid-template-columns: repeat(4, minmax(0, var(--reel-w)));
	justify-content: center;
	gap: 14px;
	margin: 0 0 36px;
}

.showreel__item {
	margin: 0;
	position: relative;
	border-radius: var(--r-md);
	overflow: hidden;
	background: var(--surface);
	box-shadow: var(--shadow);
	transition: box-shadow .25s ease, transform .25s ease;
}

.showreel__item:hover {
	box-shadow: var(--shadow-hover);
	transform: translateY(-2px);
}

/* Затемнение снизу — сажает ролики на почти чёрный фон страницы */
.showreel__item::after {
	content: '';
	position: absolute;
	inset: auto 0 0 0;
	height: 38%;
	background: linear-gradient(to top, rgba(5, 6, 7, .72), transparent);
	pointer-events: none;
}

.showreel__video {
	display: block;
	width: 100%;
	aspect-ratio: var(--reel-ratio);
	object-fit: cover;
	object-position: var(--reel-focus);
	background: var(--bg);
}

/* Четыре вертикали в ряд становятся слишком узкими — переходим на 2×2 */
@media (max-width: 900px) {
	.showreel { grid-template-columns: repeat(2, minmax(0, var(--reel-w))); gap: 12px; }
}

@media (max-width: 420px) {
	.showreel { gap: 10px; margin-bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
	.showreel__item:hover { transform: none; }
}

/* Фолбэк для браузеров без aspect-ratio: 4/5 = 125% */
@supports not (aspect-ratio: 1 / 1) {
	.showreel__item { padding-top: 125%; }
	.showreel__video { position: absolute; inset: 0; height: 100%; }
}
video {
	height: 450px;
    width: 250px;
}
@media (max-width: 1080px) {
	video {
	height: 400px;
		width: 225px;}
		.showreel__item {
	
	width: 225px;
    height: 400px;
}
}
@media (max-width: 985px) {
	video {
	height: 370px;
		width: 210px;}
		.showreel__item {
	
	width: 210px;
    height: 370px;
}
}
@media (max-width: 900px) {
	video {
	height: 500px;
		width: 280px;}
		.showreel__item {
	
	width: 280px;
    height: 500px;
}
}
@media (max-width: 650px) {
	video {
	height: 450px;
		width: 250px;}
		.showreel__item {
	
	width: 250px;
    height: 450px;
}
}
@media (max-width: 570px) {
	video {
	height: 400px;
		width: 225px;}
		.showreel__item {
	
	width: 225px;
    height: 400px;
}
}
@media (max-width: 520px) {
		video {
	height: 370px;
		width: 210px;}
		.showreel__item {
	
	width: 210px;
    height: 370px;
}
}
@media (max-width: 485px) {
		video {
	height: 300px;
		width: 170px;}
		.showreel__item {
	
	width: 170px;
    height: 300px;
}
}

@media (max-width: 400px) {
		video {
	width: 150px;
    height: 270px;}
		.showreel__item {
	width: 150px;
    height: 270px;
	
}
}

@media (max-width: 355px) {
		video {
	height: 215px;
		width: 120px;}
		.showreel__item {
	
	width: 120px;
    height: 215px;
}
}