/*
 * HTS Landing — концепция «А»: светлый инженерный минимализм.
 *
 * Палитра и типографика вынесены в :root-переменные: смена концепции =
 * замена переменных и пары правил, шаблоны трогать не нужно.
 * Mobile-first. Системные шрифты — ноль сетевых запросов.
 */

/* ============ Переменные концепции ============ */
:root {
	--bg: #ffffff;
	--bg-muted: #f6f8fa;
	--fg: #111827;
	--fg-muted: #5b6570;
	--accent: #1d4ed8;        /* электрик-синий */
	--accent-hover: #1e40af;
	--accent-soft: #eef2ff;
	--border: #e5e7eb;
	--ok-bg: #ecfdf5;
	--ok-fg: #065f46;
	--err-bg: #fef2f2;
	--err-fg: #991b1b;
	--radius: 12px;
	--container: 1080px;
	--header-h: 60px;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
		Arial, sans-serif;
}

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

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

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

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

h1, h2, h3 {
	line-height: 1.25;
	text-wrap: balance;
	margin: 0 0 0.5em;
}

p { margin: 0 0 0.75em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.container--narrow { max-width: 680px; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--fg);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 8px 0;
	z-index: 100;
}
.skip-link:focus { left: 0; }

/* Якоря не прячутся под липкой шапкой */
section[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ============ Шапка ============ */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
	min-height: var(--header-h);
	display: flex;
	align-items: center;
}

.site-header__inner {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
	padding-block: 8px;
}

.site-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 700;
	font-size: 18px;
	color: var(--fg);
	white-space: nowrap;
}
.site-header__logo {
	width: 30px;
	height: 30px;
	flex: none;
	border-radius: 7px;
	box-shadow: 0 3px 10px rgba(29, 78, 216, 0.22);
}
.site-header__brand:hover { text-decoration: none; color: var(--accent); }

.site-nav { flex: 1; }

.site-nav__list {
	display: flex;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.site-nav__list a {
	display: block;
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--fg-muted);
	font-size: 15px;
}
.site-nav__list a:hover {
	color: var(--fg);
	background: var(--bg-muted);
	text-decoration: none;
}

.site-header__phone {
	font-weight: 600;
	white-space: nowrap;
}

/* Обёртка меню+телефон: на десктопе просто flex-строка как раньше */
.site-header__menu {
	display: flex;
	flex: 1;
	align-items: center;
	gap: 20px;
	min-width: 0;
}

/* Кнопка-бургер: видна только ниже 900px */
.site-header__burger {
	display: none;
	flex: none;
	margin-left: auto;
	padding: 0;
	color: var(--fg);
	background: transparent;
	border: 1px solid var(--border);
	border-radius: 10px;
	cursor: pointer;
}
.site-header__burger:focus-visible {
	outline: 3px solid rgba(29, 78, 216, 0.45);
	outline-offset: 2px;
}
.site-header__burger-box {
	position: relative;
	display: block;
	width: 20px;
	height: 14px;
}
.site-header__burger-box span {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}
.site-header__burger-box span:nth-child(2) { top: 6px; }
.site-header__burger-box span:nth-child(3) { top: 12px; }
@media (prefers-reduced-motion: no-preference) {
	.site-header__burger-box span {
		transition: top 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
	}
}
/* Открытое состояние: три полоски складываются в крестик */
.is-menu-open .site-header__burger-box span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.is-menu-open .site-header__burger-box span:nth-child(2) { opacity: 0; }
.is-menu-open .site-header__burger-box span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* Мобильная шапка (<900px): бургер + выпадающая панель со ссылками и телефоном */
@media (max-width: 900px) {
	.site-header__inner {
		flex-wrap: nowrap;
		gap: 12px;
		padding-block: 6px;
	}

	.site-header__brand {
		font-size: 16px;
		gap: 8px;
		min-width: 0;
	}

	/* Панель под шапкой; закрыта по умолчанию, класс вешает JS.
	   Скрытие через display, а не [hidden] — урок v0.4.1. */
	.site-header__menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 8px 16px 16px;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		box-shadow: 0 18px 40px rgba(17, 24, 39, 0.12);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.is-menu-open .site-header__menu { display: flex; }
	@media (prefers-reduced-motion: no-preference) {
		.is-menu-open .site-header__menu { animation: hts-menu-in 0.22s ease both; }
	}

	.site-nav { flex: none; width: 100%; }
	.site-nav__list {
		flex-direction: column;
		gap: 2px;
		flex-wrap: nowrap;
	}
	.site-nav__list a {
		padding: 12px 10px;
		font-size: 16px;
	}

	/* Телефон внутри панели — крупный, отделён чертой */
	.site-header__phone {
		margin: 8px 10px 2px;
		padding-top: 14px;
		border-top: 1px solid var(--border);
		font-size: 18px;
	}

	.site-header__burger {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
	}
}

@keyframes hts-menu-in {
	from { opacity: 0; transform: translateY(-8px); }
	to   { opacity: 1; transform: none; }
}

/* ============ Секции ============ */
.section { padding-block: 64px; }
.section--muted { background: var(--bg-muted); }
.section--cta { background: var(--accent-soft); }

.section__title {
	font-size: clamp(26px, 4vw, 36px);
	letter-spacing: -0.02em;
}

.section__intro {
	color: var(--fg-muted);
	max-width: 640px;
	font-size: 18px;
}

.section__outro { margin-top: 28px; font-size: 18px; }

/* ============ Hero ============ */
.hero { padding-block: 88px 72px; }

.hero__badge {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
	background: var(--accent-soft);
	border: 1px solid #dbe3ff;
	padding: 5px 12px;
	border-radius: 999px;
	margin-bottom: 20px;
}

.hero__title {
	font-size: clamp(32px, 6vw, 54px);
	letter-spacing: -0.03em;
	max-width: 800px;
}
.hero__title .accent { color: var(--accent); }

.hero__subtitle {
	font-size: clamp(18px, 2.2vw, 21px);
	color: var(--fg-muted);
	max-width: 620px;
}

.hero__price {
	font-weight: 700;
	font-size: 20px;
	margin-top: 18px;
}

.hero__actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 26px;
}

/* ============ Кнопки ============ */
.btn {
	display: inline-block;
	padding: 12px 22px;
	border-radius: var(--radius);
	font-size: 16px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease,
		border-color 0.15s ease;
}
.btn:hover { text-decoration: none; }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }

.btn--ghost {
	background: transparent;
	color: var(--fg);
	border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn--block { display: block; width: 100%; text-align: center; }
.btn--big { padding: 15px 24px; font-size: 17px; }
.btn--small { padding: 9px 18px; font-size: 14.5px; }

/* ============ Сетки и карточки ============ */
.grid { display: grid; gap: 16px; margin-top: 32px; }

.card {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 22px;
}
.card h3 { font-size: 18px; margin-bottom: 6px; }
.card p { color: var(--fg-muted); font-size: 15.5px; margin: 0; }
.card--problem { background: var(--bg); }

/* ============ Пакеты ============ */
.pkg { display: flex; flex-direction: column; position: relative; }
.pkg--featured {
	border: 2px solid var(--accent);
	box-shadow: 0 8px 30px rgba(29, 78, 216, 0.12);
}

.card .pkg__flag {
	position: absolute;
	top: -12px;
	left: 18px;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 999px;
	margin: 0;
}

.pkg__name { font-size: 20px; margin-bottom: 4px; }

.pkg__price {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 2px;
}

.pkg__term { color: var(--accent); font-weight: 600; font-size: 15px; }
.pkg__desc { margin-top: 10px; }

.pkg__features {
	list-style: none;
	margin: 14px 0 20px;
	padding: 0;
	flex: 1;
}
.pkg__features li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 7px;
	font-size: 15.5px;
}
.pkg__features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent);
	font-weight: 700;
}

/* ============ Таблица сравнения ============ */
.table-wrap {
	overflow-x: auto;
	margin-top: 28px;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	background: var(--bg);
}

.compare {
	width: 100%;
	border-collapse: collapse;
	min-width: 560px;
	font-size: 15.5px;
}

.compare th,
.compare td {
	text-align: left;
	padding: 13px 16px;
	border-bottom: 1px solid var(--border);
	vertical-align: top;
}

.compare thead th {
	background: var(--bg-muted);
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--fg-muted);
}

.compare tbody tr:last-child td { border-bottom: 0; }
.compare--bad { color: var(--err-fg); }
.compare--good { color: var(--ok-fg); font-weight: 600; }

/* ============ Этапы ============ */
.steps {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	counter-reset: step;
}

.step {
	display: flex;
	gap: 16px;
	padding: 18px 0;
	border-bottom: 1px solid var(--border);
}
.step:last-child { border-bottom: 0; }
.step h3 { font-size: 17px; margin-bottom: 3px; }
.step p { margin: 0; color: var(--fg-muted); font-size: 15.5px; }

.step__num {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	background: var(--accent-soft);
	color: var(--accent);
	font-weight: 700;
	border-radius: 50%;
}

/* ============ FAQ ============ */
.faq-item {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	margin-bottom: 10px;
}

.faq-item summary {
	cursor: pointer;
	padding: 15px 18px;
	font-weight: 600;
	list-style-position: inside;
}

.faq-item[open] summary { color: var(--accent); }

.faq-item p {
	padding: 0 18px 15px;
	margin: 0;
	color: var(--fg-muted);
}

/* ============ Форма ============ */
.lead-form {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px;
	margin-top: 26px;
}

.field { margin-bottom: 16px; }

.field label {
	display: block;
	font-weight: 600;
	font-size: 15px;
	margin-bottom: 6px;
}

.field input[type="text"],
.field textarea {
	width: 100%;
	padding: 11px 14px;
	font: inherit;
	font-size: 16px; /* >=16px против автозума на iOS */
	color: var(--fg);
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: 10px;
}

.field input:focus,
.field textarea:focus {
	outline: 2px solid var(--accent);
	outline-offset: 1px;
	border-color: var(--accent);
}

.field--check label {
	display: flex;
	gap: 9px;
	align-items: center;
	font-weight: 400;
	font-size: 14.5px;
	color: var(--fg-muted);
	cursor: pointer;
}
.field--check input {
	width: auto;
	flex: none;
	margin-top: 0;
	accent-color: var(--accent);
	/* Правка пользователя 26.08: квадратик чуть ниже оптического центра строки.
	   transform не влияет на раскладку и не ломает выравнивание flex. */
	transform: translateY(2px);
}

.hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.lead-form__privacy {
	font-size: 13.5px;
	color: var(--fg-muted);
	margin: 14px 0 0;
}

.form-status {
	padding: 15px 18px;
	border-radius: var(--radius);
	margin-top: 24px;
	font-weight: 600;
}
.form-status--ok { background: var(--ok-bg); color: var(--ok-fg); }
.form-status--err { background: var(--err-bg); color: var(--err-fg); }

/* ============ Подвал ============ */
.site-footer {
	border-top: 1px solid var(--border);
	padding-block: 36px 24px;
	font-size: 15px;
}

.site-footer__inner {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.site-footer__brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	margin-bottom: 4px;
}
.site-footer__logo { width: 22px; height: 22px; flex: none; border-radius: 5px; }
.site-footer__tagline { color: var(--fg-muted); margin: 0; max-width: 380px; }

.site-footer__contacts {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: right;
}

.site-footer__contacts a { color: var(--fg-muted); }
.site-footer__contacts a:hover { color: var(--accent); }

.site-footer__copy {
	color: var(--fg-muted);
	font-size: 13.5px;
	margin-top: 26px;
	padding-top: 16px;
	border-top: 1px solid var(--border);
}

/* ============ Адаптив ============ */
@media (min-width: 720px) {
	.grid--2 { grid-template-columns: repeat(2, 1fr); }
	.grid--3 { grid-template-columns: repeat(3, 1fr); }
	.grid--4 { grid-template-columns: repeat(2, 1fr); }
	.section { padding-block: 84px; }
}

@media (min-width: 1000px) {
	.grid--4 { grid-template-columns: repeat(4, 1fr); }
	.steps { max-width: 760px; }
}

/* ============================================================
   Эффекты v2 (ветка 000001-tmp): стиль поверх базовой концепции.
   Все правила самодостаточны: откат = удалить этот блок.
   ============================================================ */

::selection { background: var(--accent); color: #fff; }

:focus-visible {
	outline: 3px solid rgba(29, 78, 216, 0.45);
	outline-offset: 2px;
	border-radius: 4px;
}

/* ---- Плавное появление при скролле (классы вешает JS) ---- */
.reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.55s ease, transform 0.55s ease;
	will-change: opacity, transform;
}
.reveal.is-visible {
	opacity: 1;
	transform: none;
	will-change: auto;
}
@media (prefers-reduced-motion: reduce) {
	.reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Шапка: тень после начала скролла ---- */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(17, 24, 39, 0.07); }

/* ---- Hero: мягкое свечение + инженерная сетка ---- */
.hero { position: relative; overflow: hidden; }
.hero::before,
.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}
.hero::before {
	background:
		radial-gradient(640px 320px at 88% -12%, rgba(29, 78, 216, 0.11), transparent 70%),
		radial-gradient(520px 280px at -8% 112%, rgba(29, 78, 216, 0.08), transparent 72%);
}
.hero::after {
	background-image:
		linear-gradient(var(--border) 1px, transparent 1px),
		linear-gradient(90deg, var(--border) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.4;
	-webkit-mask-image: radial-gradient(720px 420px at 68% 22%, #000, transparent 75%);
	mask-image: radial-gradient(720px 420px at 68% 22%, #000, transparent 75%);
}

/* Бейдж hero: пульсирующая точка */
.hero__badge::before {
	content: "";
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--accent);
	vertical-align: 1px;
	animation: hts-pulse 2.4s ease-out infinite;
}
@keyframes hts-pulse {
	0%   { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.40); }
	70%  { box-shadow: 0 0 0 9px rgba(29, 78, 216, 0); }
	100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}
@media (prefers-reduced-motion: reduce) {
	.hero__badge::before { animation: none; }
}

/* Акцентное слово в заголовке hero — градиентный текст */
.hero__title .accent {
	background: linear-gradient(92deg, var(--accent), #3b82f6);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: var(--accent); /* фолбэк */
}

/* ---- Заголовки секций: фирменная черта ---- */
.section__title::after {
	content: "";
	display: block;
	width: 58px;
	height: 4px;
	margin-top: 13px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--accent), #7aa5ff);
}

/* ---- Кнопки: градиент, подъём, нажатие ---- */
.btn { transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.16s ease, box-shadow 0.22s ease; }
.btn--primary {
	background: linear-gradient(135deg, #2f66f0, var(--accent) 52%, var(--accent-hover));
	box-shadow: 0 6px 18px rgba(29, 78, 216, 0.26);
}
.btn--primary:hover {
	background: linear-gradient(135deg, #2f66f0, #204fd0 55%, #173a9e);
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 11px 26px rgba(29, 78, 216, 0.33);
}
.btn--primary:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(29, 78, 216, 0.28); }
.btn--ghost:hover { background: var(--accent-soft); transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0); }

/* ---- Карточки: ховер с подъёмом ---- */
.card {
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
	transform: translateY(-4px);
	border-color: #c7d2fe;
	box-shadow: 0 14px 34px rgba(17, 24, 39, 0.09);
}

/* ---- Пакеты: усиленный ховер тарифа ---- */
.pkg { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.pkg:hover { transform: translateY(-5px); box-shadow: 0 16px 38px rgba(17, 24, 39, 0.10); }
.pkg--featured:hover { box-shadow: 0 18px 42px rgba(29, 78, 216, 0.20); }
.pkg__flag { box-shadow: 0 4px 12px rgba(29, 78, 216, 0.35); }

/* ---- Этапы: подсветка номера ---- */
.step__num {
	box-shadow: 0 0 0 5px var(--accent-soft);
	transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.step:hover .step__num {
	background: var(--accent);
	color: #fff;
	transform: scale(1.1);
}

/* ---- Таблица сравнения: подсветка строки ---- */
.compare tbody tr { transition: background-color 0.15s ease; }
.compare tbody tr:hover { background: rgba(238, 242, 255, 0.65); }

/* ---- FAQ: ховер и открытое состояние ---- */
.faq-item { transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.faq-item:hover { border-color: #c7d2fe; box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06); }
.faq-item[open] { border-color: var(--accent); box-shadow: 0 10px 26px rgba(29, 78, 216, 0.08); }
.faq-item summary { transition: color 0.15s ease; }

/* ---- Форма: мягкая тень по умолчанию ---- */
.lead-form { box-shadow: 0 12px 34px rgba(17, 24, 39, 0.07); }

/* Заметка о выбранном пакете */
.lead-form__package {
	display: inline-block;
	margin: 0;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--accent-soft);
	border: 1px solid #dbe3ff;
	color: var(--accent);
	font-weight: 600;
	font-size: 15px;
}
/* Без display:none авторский display перебивает [hidden], и плашка висит пустой */
.lead-form__package[hidden] { display: none; }

/* Контейнер PoW-капчи (формат ALTCHA, самохостинг) */
.hts-pow { min-height: 22px; font-size: 15px; color: var(--muted, #64748b); }
.hts-pow[data-state="done"] .hts-pow__status { color: #15803d; }
.hts-pow[data-state="error"] .hts-pow__status { color: #b91c1c; }
.hts-pow__retry {
	margin-left: 10px;
	padding: 0;
	border: none;
	background: none;
	color: #1d4ed8;
	font: inherit;
	text-decoration: underline;
	cursor: pointer;
}

/* Ошибка валидации поля формы */
.field input.is-invalid,
.field textarea.is-invalid {
	border-color: var(--err-fg);
	background: var(--err-bg);
}
.field-error {
	color: var(--err-fg);
	font-size: 14px;
	margin: 6px 0 0;
}

/* Внутренние страницы (политика ПДн и др.) */
.page-content {
	line-height: 1.7;
	font-size: 16px;
}
.page-content h2 {
	font-size: 20px;
	margin: 1.6em 0 0.5em;
}
.page-content p,
.page-content ul,
.page-content ol {
	margin: 0.5em 0 1em;
}
.page-content ul {
	list-style: disc;
	padding-left: 1.3em;
}
.page-content a {
	color: var(--accent);
	text-decoration: underline;
}

/* ---- Плашка согласия на cookie ---- */
.cookie-bar {
	position: fixed;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 90; /* ниже липкой шапки (100) */
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 720px;
	margin-inline: auto;
	padding: 14px 18px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: var(--radius);
	box-shadow: 0 14px 40px rgba(17, 24, 39, 0.18);
}
.cookie-bar__text {
	margin: 0;
	font-size: 13.5px;
	line-height: 1.55;
	color: var(--fg-muted);
}
.cookie-bar__text a { color: var(--accent); }
/* Без этого авторский display:flex перебивает [hidden], и плашка вспыхивает при загрузке */
.cookie-bar[hidden] { display: none; }
@media (max-width: 600px) {
	.cookie-bar {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}
	.cookie-bar .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
	.cookie-bar:not([hidden]) {
		animation: hts-cookie-in 0.35s ease both;
	}
}
@keyframes hts-cookie-in {
	from { transform: translateY(12px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}
