/*
Theme Name: Gemini Ru
Theme URI: https://gemini-ai.click/
Description: Тема сайта Gemini Ru — русскоязычного ресурса о нейросети Gemini от Google.
Author: Gemini Ru
Version: 1.0.0
Text Domain: gemini-ru
*/

/* ══════════════════════════════════════════════════════════════
   ШРИФТЫ — хостятся локально, без обращений к CDN
   ══════════════════════════════════════════════════════════════ */
/* Onest — дисплейный геометрический гротеск с полной кириллицей */
@font-face {
	font-family: 'Onest';
	src: url('fonts/onest-cyrillic.woff2') format('woff2');
	font-weight: 400 800;
	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: 'Onest';
	src: url('fonts/onest-latin.woff2') format('woff2');
	font-weight: 400 800;
	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;
}

/* Roboto — текстовый шрифт Google */
@font-face {
	font-family: 'Roboto Local';
	src: url('fonts/roboto-cyrillic.woff2') format('woff2');
	font-weight: 400 700;
	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: 'Roboto Local';
	src: url('fonts/roboto-latin.woff2') format('woff2');
	font-weight: 400 700;
	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;
}

/* ══════════════════════════════════════════════════════════════
   ТОКЕНЫ — тёмная база снята с deepmind.google, акценты Gemini
   ══════════════════════════════════════════════════════════════ */
:root {
	--bg: #0A0B0F;
	--surface: #101218;
	--surface-2: #171A22;
	--surface-3: #1F2430;
	--border: #262B36;
	--border-strong: #343B4B;

	--text: #F9F9FB;
	--text-dim: #C3C9D6;
	--muted: #939BAC;

	--g-blue: #4285F4;
	--g-purple: #9B72CB;
	--g-pink: #D96570;
	--g-green: #34A853;
	--g-yellow: #FBBC05;
	--g-red: #EA4335;

	--grad-spark: linear-gradient(120deg, #4285F4 0%, #9B72CB 50%, #D96570 100%);
	--grad-soft: linear-gradient(120deg, rgba(66, 133, 244, .16) 0%, rgba(155, 114, 203, .14) 50%, rgba(217, 101, 112, .12) 100%);

	--r-sm: 14px;
	--r-md: 20px;
	--r-lg: 28px;

	--shadow: 0 0 0 1px var(--border), 0 18px 48px -24px rgba(66, 133, 244, .45);
	--shadow-hover: 0 0 0 1px var(--border-strong), 0 26px 60px -22px rgba(155, 114, 203, .55);

	--font-display: 'Onest', 'Segoe UI', system-ui, sans-serif;
	--font-text: 'Roboto Local', 'Segoe UI', system-ui, -apple-system, sans-serif;

	--wrap: 1180px;
	--header-h: 68px;
}

/* ══════════════════════════════════════════════════════════════
   БАЗА
   ══════════════════════════════════════════════════════════════ */
*, *::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-text);
	font-size: 17px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Мягкое свечение за первым экраном */
body::before {
	content: '';
	position: fixed;
	top: -320px;
	left: 50%;
	width: 1100px;
	height: 700px;
	margin-left: -550px;
	background: radial-gradient(closest-side, rgba(66, 133, 244, .20), rgba(155, 114, 203, .10) 55%, transparent 75%);
	pointer-events: none;
	z-index: 0;
}

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

a { color: var(--g-blue); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--g-purple); }

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

h1 { font-size: clamp(2rem, 5vw, 3.1rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin-top: 56px; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-top: 32px; }

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: 6px;
	padding: 2px 7px;
	font-size: .88em;
	color: var(--g-purple);
}

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

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

.lead { font-size: 1.14rem; 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-family: var(--font-display);
	font-weight: 600;
	font-size: .98rem;
	padding: 13px 24px;
	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(--grad-spark);
	color: #fff;
	box-shadow: 0 12px 32px -14px rgba(66, 133, 244, .9);
}
.btn--primary:hover {
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 18px 40px -14px rgba(155, 114, 203, .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(--g-blue); }

.btn--sm { padding: 10px 18px; font-size: .9rem; }

/* ══════════════════════════════════════════════════════════════
   ШАПКА — реф-кнопка видна на всех ширинах, не в бургере
   ══════════════════════════════════════════════════════════════ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	background: rgba(10, 11, 15, .78);
	backdrop-filter: saturate(160%) 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(10, 11, 15, .94);
}

.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: 30px; height: 30px; flex-shrink: 0; }
.logo__text {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.16rem;
	letter-spacing: -.03em;
	color: var(--text);
	white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; flex-wrap: wrap; }
.nav a {
	color: var(--text-dim);
	font-size: .93rem;
	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: 12px;
	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: 12px;
	font-size: 1rem;
}
.mobile-nav a:hover { background: var(--surface-2); color: var(--text); }

@media (max-width: 1040px) {
	.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 16px; font-size: .88rem; }
}
@media (max-width: 360px) {
	.logo__text { display: none; }
}

/* ══════════════════════════════════════════════════════════════
   ХЛЕБНЫЕ КРОШКИ
   ══════════════════════════════════════════════════════════════ */
.crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: .87rem;
	color: var(--muted);
	padding: 22px 0 4px;
}
.crumbs__link { color: var(--muted); }
.crumbs__link:hover { color: var(--g-blue); }
.crumbs__current { color: var(--text-dim); }
.crumbs__sep { color: var(--border-strong); }

/* ══════════════════════════════════════════════════════════════
   ПЕРВЫЙ ЭКРАН
   ══════════════════════════════════════════════════════════════ */
/* Фон hero — изображение под тёмной заливкой.
   Заливка идёт слева направо: текст читается на почти чёрном, картинка
   раскрывается справа, низ уходит в чистый --bg и стыкуется со следующей секцией. */
.hero {
	padding: 64px 0 40px;
	background:
		linear-gradient(97deg, var(--bg) 0%, rgba(10, 11, 15, .11) 3%, rgba(10, 11, 15, .10) 97%, rgba(10, 11, 15, .34) 100%),
  linear-gradient(180deg, rgba(10, 11, 15, .95) 10%, rgba(10, 11, 15, 0) 33%, var(--bg) 100%),
  url('images/bg.jpg') center right / cover no-repeat
}

.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: .84rem;
	color: var(--text-dim);
	margin-bottom: 22px;
}
.hero__badge i { width: 15px; height: 15px; color: var(--g-blue); }

.hero__title { max-width: 17ch; }

.hero__lead {
	font-size: 1.2rem;
	max-width: 62ch;
	margin-bottom: 28px;
	color: var(--text-dim);
}

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

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

.hero__grid {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	gap: 46px;
	align-items: center;
}
.spark-card { display: none;
}
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; gap: 34px; }
.spark-card { display: block;
}

	.hero { padding-top: 40px; }
	/* Колонки схлопнулись в одну — картинка уходит в едва заметный фон,
	   иначе текст ложится прямо на неё. */
	.hero {
		background:
			linear-gradient(180deg, rgba(10, 11, 15, .5) 100%, rgba(10, 11, 15, .94) 52%, var(--bg) 100%),
   url('images/bg.jpg') center top / cover no-repeat	}
}

/* Наглядная плашка со спаркой */
.spark-card {
	position: relative;
	border-radius: var(--r-lg);
	background: var(--surface);
	box-shadow: var(--shadow);
	padding: 28px;
	overflow: hidden;
}
.spark-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--grad-soft);
	opacity: .8;
}
.spark-card > * { position: relative; }
.spark-card__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	padding: 13px 0;
	border-bottom: 1px solid var(--border);
	font-size: .95rem;
}
.spark-card__row:last-child { border-bottom: 0; padding-bottom: 0; }
.spark-card__row:first-child { padding-top: 0; }
.spark-card__row span:first-child { color: var(--muted); }
.spark-card__row span:last-child { color: #ccccd1; font-weight: 600; text-align: right; }

/* ══════════════════════════════════════════════════════════════
   TL;DR
   ══════════════════════════════════════════════════════════════ */
.tldr {
	position: relative;
	border-radius: var(--r-md);
	background: var(--surface);
	border: 1px solid var(--border);
	border-left: 3px solid transparent;
	background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-spark);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	padding: 22px 26px;
	margin: 26px 0 34px;
}
.tldr p { margin: 0; color: var(--text-dim); }
.tldr p + p { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   СЕКЦИИ И СЕТКИ
   ══════════════════════════════════════════════════════════════ */
.section { padding: 26px 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: 44px;
	height: 44px;
	border-radius: 13px;
	display: grid;
	place-items: center;
	background: var(--grad-soft);
	border: 1px solid var(--border);
	margin-bottom: 15px;
}
.card__icon i, .card__icon svg { width: 21px; height: 21px; color: var(--g-blue); }

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

.card__tag {
	display: inline-block;
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--g-purple);
	background: rgba(155, 114, 203, .12);
	border-radius: 999px;
	padding: 4px 10px;
	margin-bottom: 12px;
}

/* Карточка модели — сетка в духе DeepMind */
.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-family: var(--font-display); font-size: 1.18rem; font-weight: 700; color: var(--text); margin: 0 0 6px; }
.model__role { font-size: .92rem; color: var(--text-dim); 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 0 4px; padding: 0; }
.model__specs li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	font-size: .9rem;
	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: .95rem;
}
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-family: var(--font-display);
	font-weight: 600;
	font-size: .9rem;
	white-space: nowrap;
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: rgba(66, 133, 244, .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: .82rem;
		color: var(--muted);
	}
}

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

/* ══════════════════════════════════════════════════════════════
   ТАРИФЫ
   ══════════════════════════════════════════════════════════════ */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 1040px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .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 {
	background-image: linear-gradient(var(--surface), var(--surface)), var(--grad-spark);
	background-origin: border-box;
	background-clip: padding-box, border-box;
	border: 2px solid transparent;
	box-shadow: 0 24px 60px -30px rgba(66, 133, 244, .8);
}
.plan__flag {
	position: absolute;
	top: -12px;
	left: 22px;
	background: var(--grad-spark);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 999px;
}
.plan__name { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--text); margin: 0 0 10px; }
.plan__price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); line-height: 1.1; letter-spacing: -.03em; }
.plan__price span { font-size: .95rem; font-weight: 500; color: var(--muted); }
.plan__rub { font-size: .9rem; color: var(--muted); margin: 6px 0 16px; }
.plan__list { list-style: none; margin: 0 0 20px; padding: 0; flex: 1; }
.plan__list li {
	position: relative;
	padding-left: 25px;
	font-size: .93rem;
	margin-bottom: 10px;
	color: var(--text-dim);
}
.plan__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 8px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	background: var(--grad-spark);
	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: .32; }
.stars__fg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--g-yellow);
}
.stars svg { width: var(--star-size, 20px); height: var(--star-size, 20px); flex-shrink: 0; }

.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-family: var(--font-display);
	font-size: 3rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -.04em;
	background: var(--grad-spark);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.score__meta { font-size: .93rem; 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: .95rem; 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-spark); }

.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(--grad-spark);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.05rem;
	flex-shrink: 0;
}
.review__author { font-family: var(--font-display); font-weight: 600; color: var(--text); }
.review__date { font-size: .84rem; color: var(--muted); }
.review__title { font-family: var(--font-display); font-weight: 600; color: var(--text); margin: 0; font-size: 1.02rem; }
.review p { margin: 0; font-size: .96rem; }

/* ══════════════════════════════════════════════════════════════
   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(--border-strong); }
.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-display);
	font-size: 1.03rem;
	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(--g-blue);
	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: .97rem; }

/* ══════════════════════════════════════════════════════════════
   ШАГИ
   ══════════════════════════════════════════════════════════════ */
.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: 36px;
	height: 36px;
	border-radius: 12px;
	background: var(--grad-spark);
	color: #fff;
	font-family: var(--font-display);
	font-weight: 700;
	display: grid;
	place-items: center;
}
.steps h3 { margin: 0 0 7px; font-size: 1.08rem; }
.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.08rem; }
.pc h3 i, .pc h3 svg { width: 19px; height: 19px; }
.pc--good h3 i { color: var(--g-green); }
.pc--bad h3 i { color: var(--g-red); }
.pc ul { list-style: none; margin: 0; padding: 0; }
.pc li { position: relative; padding-left: 24px; font-size: .95rem; 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(--g-green); }
.pc--bad li::before { background: var(--g-red); }

/* ══════════════════════════════════════════════════════════════
   ПОДБОРЩИК (квиз)
   ══════════════════════════════════════════════════════════════ */
.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); opacity: .5; }
.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-spark); transition: width .3s ease; }

.picker__step { font-size: .84rem; color: var(--muted); margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; }
.picker__q { font-family: var(--font-display); font-size: 1.3rem; 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-text);
	font-size: .98rem;
	cursor: pointer;
	transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.picker__opt:hover {
	border-color: var(--g-blue);
	background: var(--surface-3);
	color: var(--text);
	transform: translateX(3px);
}

.picker__result { display: none; }
.picker__result.show { display: block; }
.picker__verdict { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; margin: 0 0 12px; }
.picker__why { margin-bottom: 20px; }
.picker__actions { display: flex; flex-wrap: wrap; gap: 10px; }

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

/* ══════════════════════════════════════════════════════════════
   CTA-ПОЛОСА
   ══════════════════════════════════════════════════════════════ */
.band {
	position: relative;
	margin: 56px 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);
	opacity: .9;
}
.band > *:not(.band__glow) { position: relative; }
.band__title { margin: 0 0 12px; font-size: clamp(1.4rem, 3vw, 1.95rem); }
.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: 48px 0 10px; }
.related__title { font-size: 1.2rem; 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: .95rem;
	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(--g-blue); transform: translateY(-2px); }
.related__list i, .related__list svg { width: 16px; height: 16px; color: var(--g-blue); 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(--g-blue); flex-shrink: 0; }
.contact-row__label { font-weight: 600; color: var(--text); min-width: 190px; }
.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: .92rem;
	color: var(--muted);
}
.disclaimer p:last-child { margin-bottom: 0; }

/* ══════════════════════════════════════════════════════════════
   ПОДВАЛ
   ══════════════════════════════════════════════════════════════ */
.site-footer {
	margin-top: 74px;
	border-top: 1px solid var(--border);
	background: var(--surface);
	padding: 48px 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: .94rem; color: var(--muted); max-width: 42ch; }
.footer__title {
	font-family: var(--font-display);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	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: .94rem; }
.footer__list a:hover { color: var(--g-blue); }

.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: .87rem;
	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; }
}
