/* ==========================================================
   Серго Пудра: базовые стили
   ========================================================== */

:root {
	--bg: #f6f2ec;
	--surface: #ffffff;
	--ink: #1c1a17;
	--muted: #6b645b;
	--line: #e4ddd3;
	--line-strong: #d6cdc0;
	--accent: #c2541b;
	--accent-hover: #a5440f;
	--accent-ink: #ffffff;
	--dark: #181512;
	--dark-ink: #f3ede4;
	--dark-muted: #b9afa2;
	--dark-2: #2a241e;
	--dark-line: #4a423a;
	--sand: #ede6db;
	--ok: #2f7d4f;
	--error: #b3261e;

	--font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Unbounded", var(--font);

	--radius: 14px;
	--radius-sm: 10px;
	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
	--shadow: 0 1px 2px rgb(28 26 23 / .06), 0 8px 24px rgb(28 26 23 / .06);
}

*,
*::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: 400 17px/1.6 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 .5em;
}
h1 { font-size: clamp(30px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.4vw, 36px); }
h3 { font-size: 20px; }

p { margin: 0 0 1em; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.skip-link {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--ink);
	color: #fff;
	border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.icon { flex: none; }

/* ---------- Кнопки ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 0 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: 600 16px/1 var(--font);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s, transform .2s;
}
.btn:hover { background: #000; color: #fff; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(3px); }

.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn--accent:active { background: #8c390b; transform: scale(.98); }
.btn:disabled,
.btn[aria-disabled="true"] { background: var(--line); color: #8a8177; box-shadow: none; cursor: not-allowed; transform: none; }

.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost:hover { background: var(--surface); color: var(--ink); }

/* ---------- Шапка ----------
   Ячейки с тонкими линиями-границами, логотип по центру.
   Фон — матовое стекло: при наведении размытие слабеет, фон становится плотнее. */

:root {
	--hdr-line: var(--line);
	--hdr-glass: rgb(246 242 236 / .72);
	--hdr-glass-hover: rgb(246 242 236 / .95);
}

/* Информационная полоса над шапкой (уезжает при прокрутке) */
.topbar {
	position: relative;
	z-index: 51;
	background: var(--dark);
	color: var(--dark-ink);
	font-size: 13px;
	line-height: 18px;
}
.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 36px;
}
.topbar-info {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	color: var(--dark-muted);
}
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info span:first-child { color: var(--dark-ink); }
.topbar-info .icon { display: none; width: 15px; height: 15px; color: var(--accent); }
.topbar-contacts { display: flex; align-items: center; gap: 24px; flex: none; }
.topbar-contacts a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 36px;
	color: var(--dark-ink);
	text-decoration: none;
}
.topbar-contacts a:last-child { font-weight: 600; }
.topbar-contacts a:hover { color: #fff; text-decoration: underline; }
.topbar-contacts .icon { display: none; width: 16px; height: 16px; }

/* Основная шапка */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid var(--hdr-line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

/* Стекло на отдельном слое: backdrop-filter на самой шапке
   обрезал бы мобильное меню (position: fixed) по её высоте. */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--hdr-glass);
	backdrop-filter: saturate(1.4) blur(14px);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	transition: background-color .3s ease, backdrop-filter .3s ease, -webkit-backdrop-filter .3s ease;
}
.site-header:hover::before,
.site-header:focus-within::before,
.nav-open .site-header::before {
	background: var(--hdr-glass-hover);
	backdrop-filter: saturate(1.1) blur(4px);
	-webkit-backdrop-filter: saturate(1.1) blur(4px);
}

/* Шапка на всю ширину экрана: меню прижато к левому краю, корзина к правому */
.hdr {
	max-width: none;
	padding-inline: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: stretch;
	min-height: var(--header-h);
}
.hdr-left,
.hdr-right { display: flex; align-items: stretch; min-width: 0; }
.hdr-right { justify-content: flex-end; }

/* Ячейка */
.hcell,
.header-nav .menu > li > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	padding: 0 28px;
	border: 0;
	border-right: 1px solid var(--hdr-line);
	background: transparent;
	color: var(--ink);
	font: 500 15px/1 var(--font);
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s;
}
.hcell:hover,
.header-nav .menu > li > a:hover { background: rgb(255 255 255 / .6); color: var(--ink); }
.hcell .icon { width: 20px; height: 20px; flex: none; }

.hdr-right .hcell { border-right: 0; border-left: 1px solid var(--hdr-line); }

.header-nav { display: flex; align-items: stretch; }
.header-nav .menu { display: flex; align-items: stretch; margin: 0; padding: 0; list-style: none; }
.header-nav .menu > li { display: flex; }
.header-nav .current-menu-item > a,
.header-nav .current_page_item > a { color: var(--accent-hover); }
.header-nav .sub-menu { display: none; }
.header-nav-extra { display: none; }

/* Логотип по центру */
.hdr-brand { display: flex; align-items: center; justify-content: center; padding: 0 40px; }
.brand {
	display: block;
	color: var(--ink);
	line-height: 0;
	text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand-logo { display: block; width: auto; height: 44px; }
.custom-logo { max-height: 44px; width: auto; }

/* Счётчики-«таблетки»: избранное тёмное, корзина медная */
.badge {
	display: inline-grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font: 600 12px/1 var(--font);
	font-variant-numeric: tabular-nums;
}
.header-cart .badge { background: var(--accent); }
.badge.is-empty { display: none; }
.badge.is-bump { animation: bump .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.cart-total { font-weight: 600; font-variant-numeric: tabular-nums; }
.cart-total:empty,
.badge.is-empty + .cart-total { display: none; }

.nav-toggle { display: none; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: inline; }

@media (max-width: 1280px) {
	.hcell, .header-nav .menu > li > a { padding: 0 20px; }
	.hdr-brand { padding: 0 28px; }
}

@media (max-width: 1180px) {
	.hcell, .header-nav .menu > li > a { padding: 0 16px; }
	.hdr-right .hlabel { display: none; }
	.hdr-brand { padding: 0 20px; }
}

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.topbar-info span:not(:first-child) { display: none; }

	.hdr { grid-template-columns: auto minmax(0, 1fr) auto; }
	.hdr-brand { justify-content: center; padding: 0 16px; }
	.brand-logo { height: 32px; }

	.nav-toggle { display: inline-flex; padding: 0 16px; border-right: 1px solid var(--hdr-line); }
	.hdr .hlabel, .cart-total { display: none; }
	.hdr-right .hcell { padding: 0 16px; position: relative; }

	.badge {
		position: absolute;
		top: 11px;
		right: 5px;
		min-width: 18px;
		height: 18px;
		padding: 0 4px;
		font-size: 11px;
	}

	/* Меню раскрывается на весь экран под шапкой */
	.header-nav {
		position: fixed;
		inset: var(--nav-top, var(--header-h)) 0 0 0;
		z-index: 49;
		display: block;
		padding: 8px var(--gutter) 32px;
		background: var(--bg);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.nav-open .header-nav { visibility: visible; opacity: 1; transform: none; }
	.nav-open { overflow: hidden; }

	.header-nav .menu { flex-direction: column; }
	.header-nav .menu > li > a {
		justify-content: flex-start;
		width: 100%;
		height: auto;
		padding: 18px 0;
		border-right: 0;
		border-bottom: 1px solid var(--line);
		font: 600 20px/1.2 var(--font-display);
	}
	.header-nav .menu > li { display: block; }
	.header-nav .menu > li > a:hover { background: none; color: var(--accent); }

	.header-nav-extra { display: grid; gap: 14px; margin-top: 28px; }
	.header-nav-extra .nav-phone { font: 600 22px/1.2 var(--font); text-decoration: none; }
	.header-nav-extra p { margin: 0; color: var(--muted); font-size: 15px; }
}

.topbar-m { display: none; margin: 0; }

@media (max-width: 560px) {
	:root { --header-h: 60px; }
	.topbar-inner { justify-content: center; min-height: 32px; }
	.topbar-info, .topbar-contacts { display: none; }
	.topbar-m { display: block; }
	.hdr-brand { padding: 0 8px; }
	.brand-logo { height: 30px; }
	.nav-toggle { width: 60px; padding: 0; }
	.hdr-right .hcell { width: 56px; padding: 0; }
	.badge { top: 10px; right: 6px; }
}


/* Шапка оформления заказа: назад в корзину, логотип, телефон */
.site-header--focus .hdr-left .hcell .icon { transform: rotate(180deg); }
.site-header--focus .hcell--phone { font-weight: 600; }
@media (max-width: 1080px) {
	.site-header--focus .hdr { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
	.site-header--focus .hcell { width: 60px; padding: 0; }
	.site-header--focus .hdr-left .hcell { border-right: 1px solid var(--hdr-line); }
}

/* ---------- Кнопки с обводкой ---------- */

.btn--line {
	background: transparent;
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--ink);
	padding: 0 32px;
}
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line .icon { color: #e62117; }
.btn--line:hover .icon { color: #fff; transform: none; }

.btn--line-light {
	min-height: 44px;
	padding: 0 20px;
	background: transparent;
	color: var(--dark-ink);
	box-shadow: inset 0 0 0 1px rgb(243 237 228 / .5);
	font-size: 14px;
}
.btn--line-light:hover { background: var(--accent); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }

.eyebrow {
	margin: 0 0 16px;
	color: var(--accent-hover);
	font: 600 13px/18px var(--font);
	letter-spacing: .12em;
	text-transform: uppercase;
}

/* ---------- Первый экран ---------- */

.hero { padding: 32px 0; }
.hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 620px);
	gap: 48px;
	min-height: 576px;
}
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.hero-title {
	margin: 0;
	font-size: clamp(34px, 4.6vw, 60px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
.hero-text {
	max-width: 520px;
	margin: 28px 0;
	color: var(--muted);
	font-size: 18px;
	line-height: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.hero-actions .btn { padding: 0 36px; }
.hero-links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.hero-links a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}
.hero-links .icon { width: 20px; height: 20px; }

.hero-photo {
	position: relative;
	margin: 0;
	min-height: 420px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--dark-2);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo-bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	padding: 24px 28px;
	background: rgb(24 21 18 / .72);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	color: var(--dark-ink);
}
.hero-photo-bar > span { display: grid; gap: 2px; }
.hero-photo-bar strong { font: 600 16px/22px var(--font-display); }
.hero-photo-bar span span { color: #d9cfc2; font-size: 14px; line-height: 20px; }

@media (max-width: 960px) {
	.hero { padding: 16px 0 8px; }
	.hero-inner { grid-template-columns: 1fr; gap: 24px; min-height: 0; }
	.hero-copy { padding: 8px 0 0; }
	.hero-photo { min-height: 0; aspect-ratio: 4 / 5; max-height: 560px; }
}
@media (max-width: 560px) {
	.hero { padding: 0; }
	.hero-inner { gap: 0; }
	.hero-photo {
		order: -1;
		height: 420px;
		aspect-ratio: auto;
		margin-inline: calc(-1 * var(--gutter));
		border-radius: 0;
	}
	.hero-photo-bar { padding: 14px 16px; }
	.hero-photo-bar strong { font-size: 15px; }
	.hero-photo-bar .btn { display: none; }
	.hero-copy { padding: 28px 0 40px; }
	.eyebrow { margin-bottom: 12px; }
	.hero-title { font-size: 34px; line-height: 40px; }
	.hero-text { margin: 16px 0 24px; font-size: 16px; line-height: 24px; }
	.hero-actions { gap: 12px; }
	.hero-actions .btn { width: 100%; justify-content: center; }
	.hero-links { width: 100%; justify-content: space-between; gap: 0; }
}

/* ---------- Секции ---------- */

.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--dark { background: var(--dark); color: var(--dark-ink); }
.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 32px;
}
.section-head .section-title { margin: 0; }
.section-title {
	margin-bottom: 32px;
	font-size: clamp(26px, 3.2vw, 40px);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	color: var(--accent-hover);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.link-more .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-more:hover .icon { transform: translateX(3px); }

.empty-note {
	padding: 32px;
	border: 1px dashed var(--line);
	border-radius: var(--radius);
	color: var(--muted);
	text-align: center;
}

/* ---------- Лента роликов ---------- */

.vstrip { --vh: clamp(300px, 25vw, 360px); position: relative; }
.vstrip-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 24px;
	margin-bottom: 32px;
}
.vstrip-head .section-title { margin: 0; }
.vstrip-side { display: flex; align-items: center; gap: 24px; }
.vstrip-track {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.vstrip-track::-webkit-scrollbar { display: none; }

/* На главной лента уходит за правый край экрана */
.section--videos { overflow: hidden; }
.section--videos .vstrip-track {
	margin-right: calc((100% - 100vw) / 2);
	padding-right: calc((100vw - 100%) / 2);
	scroll-padding-inline: 0;
}

.vcard {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: calc(var(--vh) * 16 / 9);
	scroll-snap-align: start;
}
.vcard--short { width: calc(var(--vh) * 9 / 16); }

.vcard-media {
	position: relative;
	height: var(--vh);
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--dark-2);
}

.vcard-play {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: linear-gradient(160deg, #2a241f, #0f0d0b);
	color: #fff;
	cursor: pointer;
}
.vcard-play img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}
.vcard-play::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(closest-side, rgb(0 0 0 / .28), transparent);
}
.vcard-play:hover img { transform: scale(1.04); }

.vcard-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: rgb(243 237 228 / .2);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	transform: translate(-50%, -50%);
	transition: background .25s, transform .25s;
}
.vcard--short .vcard-icon { width: 52px; height: 52px; }
.vcard-icon svg { width: 26px; height: 26px; margin-left: 3px; }
.vcard-play:hover .vcard-icon,
.vcard-play:focus-visible .vcard-icon { background: var(--accent); transform: translate(-50%, -50%) scale(1.08); }

.vcard-kind {
	position: absolute;
	bottom: 12px;
	left: 12px;
	z-index: 1;
	padding: 4px 8px;
	border-radius: 6px;
	background: rgb(24 21 18 / .8);
	font-size: 12px;
	font-weight: 600;
	line-height: 16px;
}

.vcard-title {
	display: -webkit-box;
	min-height: 44px;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 22px;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.vcard--short .vcard-title { font-size: 14px; }

.vcard-ext {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	max-width: 100%;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgb(243 237 228 / .5);
	color: var(--dark-ink);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: background .2s, box-shadow .2s, color .2s;
}
.vcard--short .vcard-ext { align-self: stretch; padding: 0 10px; font-size: 13px; }
.vcard--short .vcard-ext .icon { display: none; }
.vcard-ext:hover { background: #e62117; box-shadow: inset 0 0 0 1px #e62117; color: #fff; }
.vcard-ext .icon { flex: none; width: 18px; height: 18px; }
.vcard-ext span { overflow: hidden; text-overflow: ellipsis; }

.vcard iframe,
.vcard video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }

.vstrip-nav { display: flex; gap: 12px; }
.vstrip-nav[hidden] { display: none; }
.vstrip-btn {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: none;
	color: inherit;
	cursor: pointer;
	transition: background .2s, border-color .2s, color .2s;
}
.vstrip-btn .icon { width: 20px; height: 20px; }
.vstrip-btn:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: #fff; }
.vstrip-btn:disabled { border-color: var(--dark-line); color: #8f8579; cursor: default; }
.vstrip-btn[data-dir="-1"] .icon { transform: rotate(180deg); }

.section--dark .link-more { color: var(--dark-ink); }

@media (max-width: 560px) {
	.section { padding: 56px 0; }
	.section-head, .section-title { margin-bottom: 20px; }
	.vstrip { --vh: 280px; }
	.vstrip-track { gap: 12px; }
	.vstrip-head { flex-wrap: nowrap; margin-bottom: 20px; }
	.vstrip-side .link-more { display: none; }
	.vstrip-nav { gap: 8px; }
	.vstrip-btn { width: 44px; height: 44px; }
	.vcard--short .vcard-icon { width: 48px; height: 48px; }
	.vcard:not(.vcard--short) .vcard-icon { width: 56px; height: 56px; }
	.vcard-kind { bottom: 10px; left: 10px; }
}

/* ---------- О Сергее ---------- */

.about-inner {
	display: grid;
	grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.about-photo {
	height: 560px;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--dark-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.about-copy .section-title { margin-bottom: 20px; }
.about-lead { max-width: 600px; margin: 0 0 20px; font-size: 18px; line-height: 28px; }
.about-text { max-width: 600px; margin: 0 0 32px; color: var(--muted); font-size: 16px; line-height: 26px; }
.stats {
	display: flex;
	max-width: 600px;
	margin: 0 0 32px;
	border-block: 1px solid var(--line);
}
.stats > div { flex: 1; display: grid; gap: 4px; padding: 24px; }
.stats > div:first-child { padding-left: 0; }
.stats > div:last-child { padding-right: 0; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats dt { font: 600 32px/40px var(--font-display); }
.stats dd { margin: 0; color: var(--muted); font-size: 14px; line-height: 20px; }

@media (max-width: 860px) {
	.about-inner { grid-template-columns: 1fr; }
	.about-photo { height: auto; aspect-ratio: 4 / 5; max-height: 520px; }
}
@media (max-width: 560px) {
	.about-inner { gap: 24px; }
	.about-photo { aspect-ratio: auto; height: 380px; }
	.about-copy .section-title { margin-bottom: 16px; }
	.about-lead { margin-bottom: 16px; font-size: 17px; line-height: 26px; }
	.about-text { margin-bottom: 24px; line-height: 24px; }
	.stats { margin-bottom: 24px; }
	.stats > div { padding: 20px 16px; }
	.stats dt { font-size: 20px; line-height: 28px; }
	.about-copy .btn { width: 100%; justify-content: center; }
	.benefits li { gap: 16px; }
	.benefits h3 { font-size: 17px; }
	.review { min-height: 180px; padding: 20px; gap: 20px; }
	.review blockquote { line-height: 24px; }
}

/* ---------- Преимущества ---------- */

.benefits {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border-block: 1px solid var(--line);
}
.benefits li { display: flex; align-items: flex-start; gap: 20px; padding: 40px 32px; }
.benefits li:first-child { padding-left: 0; }
.benefits li:last-child { padding-right: 0; }
.benefits li + li { border-left: 1px solid var(--line); }
.benefits .icon { width: 32px; height: 32px; color: var(--accent-hover); }
.benefits h3 { margin: 0 0 6px; font: 600 18px/24px var(--font); letter-spacing: 0; }
.benefits p { margin: 0; color: var(--muted); font-size: 15px; line-height: 22px; }

@media (max-width: 860px) {
	.benefits { grid-template-columns: 1fr; }
	.benefits li { padding: 24px 0; }
	.benefits li + li { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------- Отзывы ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
	min-height: 200px;
	margin: 0;
	padding: 28px;
	border-radius: var(--radius);
	background: var(--surface);
}
.review blockquote { margin: 0; font-size: 16px; line-height: 26px; }
.review figcaption { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.review-avatar {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--sand);
	color: var(--ink);
	font-weight: 600;
}
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Частые вопросы ---------- */

.faq {
	display: grid;
	grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
	align-items: start;
	gap: 24px clamp(32px, 5vw, 72px);
}
.faq .section-title { margin: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 72px;
	padding: 12px 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent-hover); }
.faq-sign { position: relative; flex: none; width: 24px; height: 24px; }
.faq-sign::before,
.faq-sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	margin: -1px 0 0 -8px;
	border-radius: 1px;
	background: currentColor;
	transition: transform .25s;
}
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.faq-answer p { margin: 0; padding: 0 64px 24px 0; color: var(--muted); font-size: 16px; line-height: 26px; }
.faq-answer a { color: var(--accent-hover); font-weight: 500; text-underline-offset: 3px; }
.faq-answer a:hover { color: var(--accent); }

/* Плавное раскрытие там, где браузер умеет анимировать details */
@supports (interpolate-size: allow-keywords) {
	.faq-item { interpolate-size: allow-keywords; }
	.faq-item::details-content {
		block-size: 0;
		overflow: hidden;
		transition: block-size .25s ease, content-visibility .25s allow-discrete;
	}
	.faq-item[open]::details-content { block-size: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.faq-item::details-content { transition: none; }
}

@media (max-width: 860px) {
	.faq { grid-template-columns: 1fr; }
	.faq-item summary { min-height: 64px; font-size: 16px; }
	.faq-answer p { padding-right: 0; font-size: 15px; line-height: 24px; }
}
@media (max-width: 560px) {
	.faq-item summary { font-size: 17px; }
	.faq-answer p { padding-bottom: 20px; font-size: 16px; }
}

/* ---------- Соцсети ---------- */

.socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.socials a {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	transition: background-color .2s, border-color .2s, color .2s;
}
.socials a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.socials .icon { width: 20px; height: 20px; }

/* ---------- Страницы ---------- */

.page-wrap { padding-block: clamp(32px, 5vw, 64px) clamp(48px, 8vw, 96px); }
.page-header { margin-bottom: 28px; }
.page-title { font-size: clamp(28px, 4.4vw, 44px); }

.entry-content { max-width: 780px; }
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content { max-width: none; }
.entry-content > * + * { margin-top: 0; }
.entry-content h2 { margin-top: 1.6em; font-size: 26px; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1em; }
.entry-content li + li { margin-top: .3em; }
.entry-content a { color: var(--accent); }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.4em; }
.entry-content th, .entry-content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* Юридические страницы */
.entry-content .requisites { max-width: 680px; }
.entry-content .requisites th { width: 42%; color: var(--muted); font-weight: 500; vertical-align: top; }
.entry-content .doc-date { color: var(--muted); font-size: 15px; }
.entry-content .note {
	padding: 16px 20px;
	border-radius: var(--radius-sm);
	background: var(--surface);
}

/* Незаполненный реквизит: видно сразу, чтобы не забыть */
.sp-todo {
	padding: 1px 6px;
	border: 1px dashed var(--accent);
	border-radius: 4px;
	background: rgb(194 84 27 / .08);
	color: var(--accent);
	font-size: .92em;
}
.sp-todo::before { content: "заполнить: "; opacity: .7; }

.post-list { display: grid; gap: 16px; }
.post-card { padding: 24px; border-radius: var(--radius); background: var(--surface); }
.post-card h2 { font-size: 22px; }
.post-card a { text-decoration: none; }

.notfound { text-align: center; }
.notfound-code {
	margin: 0;
	font: 700 clamp(80px, 18vw, 180px)/1 var(--font-display);
	color: var(--accent);
	letter-spacing: -0.05em;
}

/* ---------- Формы ---------- */

input[type="text"], input[type="email"], input[type="tel"], input[type="number"],
input[type="password"], input[type="search"], input[type="url"], textarea, select {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	background: var(--surface);
	color: var(--ink);
	font: inherit;
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); }

/* ---------- Подвал ---------- */

.site-footer {
	background: var(--dark);
	color: var(--dark-ink);
	padding-top: clamp(56px, 6vw, 72px);
	font-size: 15px;
}
.site-footer a { color: var(--dark-ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 48px;
}
.footer-about { display: grid; align-content: start; justify-items: start; gap: 24px; }
.footer-about p { margin: 0; max-width: 300px; color: var(--dark-muted); font-size: 14px; line-height: 22px; }
.footer-brand .brand { color: var(--dark-ink); }
.footer-brand .brand-logo { height: 48px; }
.footer-brand .custom-logo { max-height: 48px; }
.socials--footer a {
	width: auto;
	height: 44px;
	gap: 8px;
	display: inline-flex;
	align-items: center;
	padding: 0 16px;
	border-color: var(--dark-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
}
.socials--footer .icon { width: 18px; height: 18px; }
.site-footer .socials a:hover { color: #fff; }
.footer-menu { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.footer-contacts { display: grid; gap: 12px; align-content: start; }
.footer-phone { font-size: 20px; font-weight: 600; line-height: 28px; }
.footer-hint { margin: 0; color: var(--dark-muted); font-size: 14px; line-height: 22px; }
.footer-bottom {
	display: grid;
	gap: 8px;
	padding-block: 24px 32px;
	border-top: 1px solid #332d27;
	color: var(--dark-muted);
	font-size: 13px;
	line-height: 20px;
}
.footer-bottom p { margin: 0; }

.footer-title {
	margin: 0 0 4px;
	color: var(--dark-muted);
	font: 400 13px/1.2 var(--font);
	letter-spacing: .1em;
	text-transform: uppercase;
}
.footer-nav .footer-title { margin-bottom: 16px; }

@media (max-width: 960px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Узкий подвал на оформлении заказа */
.site-footer--slim { padding: 0; }
.footer-slim {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 32px;
	padding-block: 24px;
	color: var(--dark-muted);
	font-size: 13px;
	line-height: 20px;
}
.footer-slim p { margin: 0; }
.footer-slim-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }

/* ---------- Плашка cookie ---------- */

.cookie-banner {
	position: fixed;
	right: 24px;
	bottom: 24px;
	left: 24px;
	z-index: 90;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 32px;
	padding: 20px 24px;
	border-radius: var(--radius);
	background: var(--surface);
	box-shadow: 0 12px 32px rgb(28 26 23 / .14);
	font-size: 16px;
	line-height: 24px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { flex: 1; max-width: 720px; margin: 0; }
.cookie-banner a { color: var(--accent-hover); text-underline-offset: 3px; }
.cookie-actions { display: flex; flex: none; gap: 12px; }
/* На компьютере «Только необходимые» слева, «Принять все» справа */
.cookie-actions [data-consent="all"] { order: 2; padding: 0 32px; }
.cookie-actions .btn--line { padding: 0 28px; }
@media (max-width: 760px) {
	.cookie-banner { right: 12px; bottom: 12px; left: 12px; flex-direction: column; align-items: stretch; padding: 16px; font-size: 14px; line-height: 20px; }
	.cookie-actions { flex-direction: column; gap: 8px; }
	.cookie-actions [data-consent="all"] { order: 0; }
	.cookie-actions .btn { justify-content: center; }
}
