/* ==========================================================================
   Rokids — основные стили. Макет: Figma «Rokids», десктоп 1920, контент 1416.
   ========================================================================== */

/* ---------- Шрифты ---------- */
@font-face { font-family: "Golos Text"; src: url("../fonts/GolosText-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/GolosText-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Golos Text"; src: url("../fonts/GolosText-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/FiraSansExtraCondensed-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/FiraSansExtraCondensed-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/FiraSansExtraCondensed-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/FiraSansExtraCondensed-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Токены ---------- */
:root {
	--brown-900: #441b09;
	--brown-800: #381a0d;
	--brown-700: #4b2d20;
	--brown-600: #684a3a;
	--brown-500: #806b5b;
	--brown-300: #b9a695;
	--brown-200: #e4d4c2;
	--brown-150: #e7d3bc;
	--brown-100: #f1e7d8;
	--cream: #f9f3e9;
	--warm: #fbf7ef;
	--white: #fff;
	--yellow-500: #ffca00;
	--yellow-600: #eea811;
	--accent: #e06b3e;
	--green: #00bd35;

	--font-text: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Fira Sans Extra Condensed", "Arial Narrow", system-ui, sans-serif;

	--container: 1416px;
	--gutter: 16px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-text);
	font-size: 16px;
	line-height: 1.5;
	color: var(--brown-800);
	background: var(--cream);
	overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--yellow-600); outline-offset: 2px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 8px 16px; background: var(--yellow-500); color: var(--brown-800); }
.skip-link:focus { top: 8px; }

/* ---------- Кнопки (рваные края — SVG-подложки из макета) ---------- */
.btn {
	position: relative;
	isolation: isolate;
	display: inline-flex;
	align-items: center;
	height: 73px;
	padding: 0 34px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 20px;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: transform .2s ease, filter .2s ease;
}
.btn::before {
	content: "";
	position: absolute;
	z-index: -1;
	background: center / 100% 100% no-repeat;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn:active { transform: translateY(0); filter: brightness(.96); }
.btn--dark { width: 284px; color: var(--white); }
.btn--dark::before { inset: -2px -13px -24px; background-image: url("../img/btn-dark-bg.svg"); }
.btn--light { width: 256px; color: var(--brown-800); }
.btn--light::before { inset: -2px -13px -25px; background-image: url("../img/btn-light-bg.svg"); }
.btn__arrow {
	position: absolute;
	right: 0;
	top: 50%;
	width: 64px;
	height: 44px;
	transform: translateY(-50%);
	background: url("../img/btn-divider.svg") left center / 1px 44px no-repeat;
}
.btn__arrow::after {
	content: "";
	position: absolute;
	left: 21px;
	top: 13px;
	width: 22px;
	height: 18px;
	background: url("../icons/arrow-light.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.btn:hover .btn__arrow::after { transform: translateX(4px); }

/* ==========================================================================
   Шапка
   ========================================================================== */
.site-header {
	position: relative;
	z-index: 20;
	height: 268px;
	color: var(--brown-150);
}
/* Коричневая плашка с изогнутым низом — 224px, панель шапки лежит поверх */
.site-header::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	height: 224px;
	background: url("../img/header-top-bg.svg") top center / 100% 100% no-repeat;
}
.hdr-top { padding-top: 11px; }
.hdr-top__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
	min-height: 40px;
}
.hdr-top__menu {
	display: flex;
	flex-wrap: wrap;
	padding-top: 2px;
	font-size: 12px;
	line-height: 16px;
	color: var(--brown-100);
}
.hdr-top__menu a { padding: 0 20px; border-left: 1px solid rgba(241, 231, 216, .28); }
.hdr-top__menu a:first-child { padding-left: 0; border-left: 0; }
.hdr-top__menu a:hover { color: var(--yellow-500); }
.hdr-top__menu a.is-accent { font-weight: 600; color: var(--accent); }

.hdr-top__actions { display: flex; align-items: center; gap: 24px; }
.hdr-sep { width: 1px; height: 40px; background: rgba(231, 211, 188, .25); }
.hdr-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.hdr-phone__num { font-size: 20px; line-height: 22px; white-space: nowrap; }
.hdr-phone__hours { font-size: 10px; line-height: 12px; }
.hdr-socials { display: flex; gap: 12px; }
.hdr-socials svg { width: 28px; height: 28px; transition: transform .2s ease; }
.hdr-socials a:hover svg { transform: scale(1.1); }
.hdr-action { display: flex; align-items: center; gap: 6px; font-size: 12px; white-space: nowrap; }
.hdr-action svg { width: 30px; height: 30px; }
.hdr-action:hover { color: var(--yellow-500); }
.hdr-cart__icon { position: relative; display: block; }
.hdr-cart__icon svg { width: 32px; height: 31px; }
.hdr-cart__count {
	position: absolute;
	left: 22px;
	top: -3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--yellow-500);
	color: var(--brown-800);
	font-size: 11px;
	line-height: 17px;
	text-align: center;
}

.hdr-panel {
	position: relative;
	width: min(1492px, 100%);
	margin: -10px auto 0;
	padding: 18px 38px 0;
	background: url("../img/header-panel-bg.svg") 0 0 / 100% 227px no-repeat;
	height: 227px;
	color: var(--brown-600);
}
.hdr-panel__row { display: flex; align-items: center; gap: 43px; height: 104px; }
.hdr-logo img { width: 330px; height: 104px; }
.hdr-tagline { font-size: 18px; line-height: 22px; color: var(--brown-500); white-space: nowrap; }
.hdr-search {
	position: relative;
	flex: 0 1 736px;
	align-self: flex-start;
	margin: 30px 0 0 auto;
	height: 56px;
	border: .8px solid var(--brown-200);
	border-radius: 2px;
	background: var(--brown-100);
}
.hdr-search input {
	width: 100%;
	height: 100%;
	padding: 0 84px 0 32px;
	border: 0;
	background: transparent;
	font-size: 16px;
	color: var(--brown-800);
	outline: 0;
}
.hdr-search input::placeholder { color: var(--brown-500); opacity: 1; }
.hdr-search input::-webkit-search-cancel-button { display: none; }
.hdr-search:focus-within { border-color: var(--yellow-600); }
.hdr-search button {
	position: absolute;
	right: 8px;
	top: 7px;
	display: grid;
	place-items: center;
	width: 60px;
	height: 40px;
	border: 1px solid var(--white);
	border-radius: 2px;
	background: var(--warm);
	cursor: pointer;
}
.hdr-search button svg { width: 28px; height: 28px; }
.hdr-search button:hover { background: var(--white); }

.hdr-panel__nav { display: flex; align-items: center; gap: 40px; height: 56px; margin-top: 7px; }
.btn-catalog {
	flex: none;
	display: flex;
	align-items: center;
	gap: 15px;
	width: 172px;
	height: 56px;
	padding-left: 22px;
	background: url("../img/btn-catalog-bg.svg") 0 0 / 100% 100% no-repeat;
	color: var(--brown-100);
	font-size: 17px;
	font-weight: 500;
	text-transform: uppercase;
	transition: filter .2s ease;
}
.btn-catalog svg { width: 32px; height: 32px; }
.btn-catalog:hover { filter: brightness(1.25); }
.hdr-cats {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	align-self: stretch;
	background:
		url("../img/header-line.svg") top / 100% 1px no-repeat,
		url("../img/header-line.svg") bottom / 100% 1px no-repeat;
	font-size: 17px;
	font-weight: 500;
	white-space: nowrap;
}
.hdr-cats a { position: relative; padding: 6px 0; }
.hdr-cats a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--yellow-500);
	transform: scaleX(0);
	transition: transform .2s ease;
}
.hdr-cats a:hover::after { transform: scaleX(1); }
.btn-adventures {
	flex: none;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 260px;
	height: 56px;
	padding-left: 11px;
	background: url("../img/btn-adventures-bg.svg") 0 0 / 100% 100% no-repeat;
	font-size: 17px;
	font-weight: 500;
	transition: transform .2s ease;
}
.btn-adventures svg { width: 50px; height: 43px; }
.btn-adventures__roki { flex: none; width: 63px; height: 44px; object-fit: contain; }
.btn-adventures:hover { transform: translateY(-2px); }
.hdr-leaves {
	position: absolute;
	left: -83px;
	top: 111px;
	width: 201px;
	pointer-events: none;
}
/* На ноутбуках контейнер шапки подходит к краю — листья перекрывают логотип и H1. */
@media (max-width: 1660px) {
	.hdr-leaves { display: none; }
}

/* ==========================================================================
   Главная — 01 Главный экран
   ========================================================================== */
.hero {
	position: relative;
	margin-top: -86px; /* фон начинается под панелью шапки (y=182 в макете) */
	padding-top: 112px;
	min-height: 847px;
}
.hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-color: var(--cream);
	background-image:
		linear-gradient(rgba(249, 243, 233, .42), rgba(249, 243, 233, .42)),
		url("../img/hero-beige-bg.webp"),
		url("../img/hero-paper-texture.webp");
	background-size: auto, cover, cover;
	background-position: 0 0, top center, top center;
	background-repeat: no-repeat;
}
/* Нижний рваный край: в макете отражён по вертикали — делаем фон-край цвета страницы */
.hero__bg::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -1px;
	height: 69px;
	background: url("../img/brush-edge-flip.svg") center / 100% 100% no-repeat;
}
.hero__inner {
	position: relative;
	display: grid;
	grid-template-columns: 38% 62%;
	align-items: start;
}
.hero__offer { padding-top: 40px; }
.hero__title { width: 100%; margin-left: -6%; }
.hero__title img { width: 100%; }
.hero__text { margin-top: 18px; font-size: 20px; line-height: 28px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 20px; }
.hero__buttons { gap: 18px; }
.hero__buttons .btn--dark { width: 272px; }
.hero__buttons .btn--light { width: 244px; }

.hero__media { position: relative; width: 90.1%; margin-left: 11.4%; aspect-ratio: 791 / 609; }
/* Рамка для фото/видео: жёлтая подложка с наклоном + белое паспарту */
.hero__media::before {
	content: "";
	position: absolute;
	inset: 2% 1% 1% 2%;
	background: var(--yellow-500);
	transform: rotate(2.6deg);
}
.hero__frame {
	position: absolute;
	inset: 0 2.5% 3% 0;
	overflow: hidden;
	border: 16px solid var(--white);
	background: var(--white);
	box-shadow: 0 14px 30px rgba(56, 26, 13, .16);
}
/* Фото в рамке с рваным краем и жёлтой подложкой — готовая отрисовка блока из макета (узел 1:3108) */
.hero__photo { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Фото первого экрана в макете зеркально (мальчик слева, мама справа, окно справа):
   отражаем только картинку, видео-ролик не трогаем. */
.hero__frame img.hero__photo { transform: scaleX(-1); }
.hero__roki {
	position: absolute;
	z-index: 1;
	left: auto;
	right: -2.4%;
	top: auto;
	bottom: -12.6%;
	width: 40%;
	pointer-events: none;
}
.hero__sprig { position: absolute; z-index: -1; width: 423px; pointer-events: none; }
.hero__sprig--right { right: -239px; top: 421px; }
.hero__sprig--right-blur { right: -255px; top: 541px; filter: blur(4.65px); }
.hero__sprig--left-blur { left: -260px; top: 520px; transform: rotate(71.95deg); filter: blur(4.65px); }

/* ---------- Общие элементы секций ---------- */
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-Bold-cyr.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Caveat"; src: url("../fonts/Caveat-Bold-lat.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0000-00FF, U+2000-206F; }

.h-section {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 72px;
	line-height: 78px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.h-rays { position: relative; display: inline-block; }
.h-rays::after {
	content: "";
	position: absolute;
	right: -40px;
	top: -22px;
	width: 48px;
	height: 54px;
	background: url("../icons/rays.svg") center / contain no-repeat;
}
.btn--outline { width: 301px; color: var(--brown-900); }
.btn--outline::before { inset: -3px -14px -25px; background-image: url("../img/btn-outline-bg.svg"); }
.btn__arrow--dark { background-image: url("../img/btn-divider-dark.svg"); }
.btn__arrow--dark::after { background-image: url("../icons/arrow-dark.svg"); }

.link-more {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 18px;
	padding-bottom: 10px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 24px;
	line-height: 26px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.link-more::after {
	content: "";
	width: 22px;
	height: 18px;
	background: url("../icons/arrow-more.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.link-more::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: calc(100% - 40px);
	height: 9px;
	background: url("../img/underline.svg") center / 100% 100% no-repeat;
	transform: rotate(3.14deg);
}
.link-more:hover::after { transform: translateX(4px); }

/* Декор, привязанный к сетке макета 1920 по центру экрана */
.deco { position: absolute; z-index: -1; pointer-events: none; }

/* ==========================================================================
   Главная — 02 Приключения Роки
   ========================================================================== */
.adventures { position: relative; isolation: isolate; padding: 13px 0 100px; }
.adventures__glow {
	position: absolute;
	z-index: -2;
	top: 46px;
	left: 0;
	right: 0;
	height: 876px;
	background: url("../img/bg-glow-02.webp") top center / 1920px 876px no-repeat;
	pointer-events: none;
}
.adventures__inner { display: grid; grid-template-columns: 600px 1fr; align-items: start; }
.adventures__offer { padding-top: 40px; }
.adventures__text {
	max-width: 520px;
	margin-top: 31px;
	font-size: 24px;
	line-height: 32px;
	letter-spacing: .01em;
	color: var(--brown-500);
}
.adventures__offer .btn { margin-top: 30px; }
.adventures__video { margin: 0; }
.adventures__caption {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
	letter-spacing: .01em;
	color: var(--brown-700);
}
.adventures__caption::after {
	content: "";
	flex: 1;
	height: 11px;
	background: url("../img/line-dot.svg") center / 100% 100% no-repeat;
}
.adventures__player {
	position: relative;
	display: block;
	width: 100%;
	margin-top: 6px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.adventures__player::before {
	content: "";
	position: absolute;
	inset: -7px -16px -25px;
	z-index: -1;
	background: url("../img/video-frame-bg.svg") center / 100% 100% no-repeat;
}
.adventures__player img { width: 100%; aspect-ratio: 815 / 432; object-fit: cover; border: 8px solid var(--white); }
.adventures__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 116px;
	height: 116px;
	transform: translate(-50%, -50%);
	transition: transform .25s ease;
}
.adventures__play svg { width: 100%; height: 100%; }
.adventures__player:hover .adventures__play { transform: translate(-50%, -50%) scale(1.08); }
.adventures__branch {
	position: absolute;
	z-index: 1;
	right: -122px;
	top: 251px;
	width: 504px;
	filter: drop-shadow(0 22px 19px rgba(47, 36, 30, .09));
	pointer-events: none;
}
.adventures__sprig {
	position: absolute;
	z-index: 1;
	left: calc(50% - 960px + 777px);
	top: 310px;
	width: 176px;
	transform: rotate(-76.42deg);
	pointer-events: none;
}
.adventures__branch-left {
	position: absolute;
	left: -149px;
	top: 604px;
	width: 294px;
	transform: rotate(135.04deg);
	filter: drop-shadow(0 22px 19px rgba(47, 36, 30, .09));
	pointer-events: none;
}

/* ==========================================================================
   Главная — 03 Место для больших игр (разделы)
   ========================================================================== */
.cats { position: relative; padding: 69px 0 45px; }
.cats__inner { position: relative; display: grid; grid-template-columns: 416px 1000px; justify-content: space-between; }
.cats__side { position: relative; }
.cats__side .h-section { line-height: 72px; }
.cats__roki { position: relative; width: 462px; margin: -14px 0 0 -46px; }
.cats__note {
	position: absolute;
	left: 46px;
	top: 12px;
	z-index: 1;
	width: 175px;
	font-family: "Caveat", cursive;
	font-weight: 700;
	font-size: 24px;
	line-height: 24px;
	letter-spacing: .01em;
	color: var(--brown-500);
	transform: rotate(-12.11deg);
	transform-origin: left top;
}
.cats__roki img { margin-top: 29px; width: 462px; }
.cats__roki picture { display: block; }
.cats__more { position: absolute; right: 0; top: -54px; }
.cats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 9px; align-self: start; }
/* Карточки в ряду одной высоты: li растягивается, ссылка заполняет его целиком */
.cats__grid > li { display: flex; }
.cats__grid .cat-card { width: 100%; }
.cat-card {
	position: relative;
	isolation: isolate;
	display: block;
	height: 262px;
	padding: 7px 10px 0 11px;
	transition: transform .25s ease;
}
.cat-card::before {
	content: "";
	position: absolute;
	inset: -10px -12px -14px;
	z-index: -1;
	background: url("../img/card-bg.svg") center / 100% 100% no-repeat;
	transition: filter .25s ease;
}
.cat-card img { width: 100%; aspect-ratio: 299 / 199; object-fit: cover; }
.cat-card__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 12px;
	padding: 0 8px 0 13px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 24px;
	line-height: 26px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.cat-card__title::after {
	content: "";
	flex: none;
	width: 22px;
	height: 18px;
	background: url("../icons/arrow-card.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card:hover::before { filter: drop-shadow(0 10px 14px rgba(56, 26, 13, .12)); }
.cat-card:hover .cat-card__title::after { transform: translateX(4px); }

/* ==========================================================================
   Главная — 04 «5 причин доверять Рокидс»
   Координаты из макета (контейнер 1416 × высота блока 718), масштаб — единица --u.
   ========================================================================== */
.reasons { position: relative; isolation: isolate; }
.reasons::before {
	content: "";
	position: absolute;
	z-index: -2;
	inset: 51px 0 38px;
	background: url("../img/hero-beige-bg.webp") top center / cover no-repeat;
	opacity: .58;
}
.reasons::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		url("../img/brush-edge.svg") top center / 100% 69px no-repeat,
		url("../img/brush-edge-flip.svg") bottom center / 100% 69px no-repeat;
	pointer-events: none;
}
.reasons__inner { position: relative; container-type: inline-size; aspect-ratio: 1416 / 718; }
.reasons__title {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(122 / 1416 * 100cqw);
	text-align: center;
	font-size: min(72px, calc(72 / 1416 * 100cqw));
	line-height: 1;
}
.h-rays--end::after { right: -45px; top: -18px; }
.reasons__stage, .reasons__list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.reasons__stage { --u: calc(100cqw / 1416); }
.reasons__deco, .reason, .reason__num, .reason__roki { position: absolute; }
.reasons__deco { pointer-events: none; background: center / 100% 100% no-repeat; }
.reasons__line-1 { left: calc(196 * var(--u)); top: calc(336.5 * var(--u)); width: calc(137.5 * var(--u)); height: calc(45.2 * var(--u)); background-image: url("../img/r-line-1.svg"); }
.reasons__line-2 { left: calc(411 * var(--u)); top: calc(268.3 * var(--u)); width: calc(159.5 * var(--u)); height: calc(97.7 * var(--u)); background-image: url("../img/r-line-2.svg"); }
.reasons__line-3 { left: calc(671.5 * var(--u)); top: calc(318.5 * var(--u)); width: calc(206.5 * var(--u)); height: calc(49.5 * var(--u)); background-image: url("../img/r-line-3.svg"); }
.reasons__line-4a { left: calc(972 * var(--u)); top: calc(257.25 * var(--u)); width: calc(164.5 * var(--u)); height: calc(36.25 * var(--u)); background-image: url("../img/r-line-4a.svg"); }
.reasons__line-4b { left: calc(1151 * var(--u)); top: calc(325.5 * var(--u)); width: calc(51.5 * var(--u)); height: calc(16.4 * var(--u)); background-image: url("../img/r-line-4b.svg"); }
.reasons__leaf-1 { left: calc(242 * var(--u)); top: calc(320 * var(--u)); width: calc(64 * var(--u)); }
.reasons__leaf-2 { left: calc(491 * var(--u)); top: calc(261 * var(--u)); width: calc(49 * var(--u)); }
.reasons__leaf-3 { left: calc(1111.7 * var(--u)); top: calc(272.7 * var(--u)); width: calc(64 * var(--u)); transform: rotate(-5.03deg); }
.reasons__leaf-4 { left: calc(-27 * var(--u)); top: calc(509 * var(--u)); width: calc(58 * var(--u)); }

.reason__num {
	display: grid;
	place-items: center;
	width: calc(82 * var(--u));
	height: calc(82 * var(--u));
	background: url("../img/r-badge.webp") center / contain no-repeat;
	font-family: var(--font-head);
	font-size: calc(32 * var(--u));
	letter-spacing: .01em;
	color: var(--brown-600);
}
.reason__body {
	position: absolute;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: calc(16 * var(--u));
	width: calc(237 * var(--u));
	text-align: center;
}
.reason__img { width: calc(var(--w) * var(--u)); height: auto; }
.reason__title {
	font-size: calc(24 * var(--u));
	font-weight: 400;
	line-height: 1;
	letter-spacing: .01em;
	color: var(--brown-900);
}
.reason__note { font-size: calc(16 * var(--u)); line-height: 1.375; letter-spacing: .01em; color: var(--brown-500); }
.reason { position: static; }
.reason--1 .reason__num { left: calc(-10 * var(--u)); top: calc(324 * var(--u)); }
.reason--1 .reason__body { left: calc(15 * var(--u)); top: calc(376 * var(--u)); --w: 237; }
.reason--1 .reason__title { max-width: calc(175 * var(--u)); }
.reason--2 .reason__num { left: calc(324 * var(--u)); top: calc(261 * var(--u)); }
.reason--2 .reason__body { left: calc(299 * var(--u)); top: calc(344 * var(--u)); --w: 153; gap: calc(18 * var(--u)); }
.reason--2 .reason__note { font-size: calc(14 * var(--u)); }
.reason--3 .reason__num { left: calc(579 * var(--u)); top: calc(324 * var(--u)); }
.reason--3 .reason__body { left: calc(589 * var(--u)); top: calc(367 * var(--u)); --w: 134; gap: calc(15 * var(--u)); }
.reason--4 .reason__num { left: calc(886 * var(--u)); top: calc(261 * var(--u)); }
.reason--4 .reason__body { left: calc(886 * var(--u)); top: calc(316 * var(--u)); --w: 133; }
.reason--5 .reason__num { left: calc(1201 * var(--u)); top: calc(281 * var(--u)); }
.reason--5 .reason__body { left: calc(1186 * var(--u)); top: calc(343 * var(--u)); --w: 177; width: calc(258 * var(--u)); margin-left: calc(-25 * var(--u)); }
.reason--5 .reason__note { max-width: calc(208 * var(--u)); }
.reason__roki {
	left: calc(1265 * var(--u));
	top: calc(258 * var(--u));
	width: calc(164 * var(--u));
	-webkit-mask: url("../img/roki-parcel-mask.svg") 1.5% 1.6% / 97.3% 100.6% no-repeat;
	mask: url("../img/roki-parcel-mask.svg") 1.5% 1.6% / 97.3% 100.6% no-repeat;
}
.reasons__leaf-heading {
	position: absolute;
	left: calc(50% + 717px);
	top: 136px;
	width: 74px;
	filter: drop-shadow(0 13px 20px rgba(56, 45, 25, .28));
	pointer-events: none;
}
.reasons__branch {
	position: absolute;
	left: -161px;
	top: 451px;
	width: 242px;
	transform: rotate(26.16deg);
	filter: drop-shadow(0 22px 19px rgba(47, 36, 30, .09));
	pointer-events: none;
}
/* Шкала «1 / 5» — только в мобильной версии */
.reasons__pager { display: none; }

/* ==========================================================================
   Главная — 05 «Выберите свой спортивный уголок»
   ========================================================================== */
.series { position: relative; padding: 14px 0 60px; }
.series__swirl {
	position: absolute;
	left: calc(50% + 659px);
	top: 1px;
	width: 300px;
	opacity: .24;
	transform: scaleX(-1);
	pointer-events: none;
}
.series__title { text-align: center; line-height: 72px; }
.series__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-top: 48px; }
.series-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.series-card__img { display: block; align-self: flex-start; width: 105.9%; margin-left: -2.86%; transition: transform .3s ease; }
.series-card__img img { width: 100%; }
.series-card:hover .series-card__img { transform: translateY(-4px) rotate(-.4deg); }
.series-card__title {
	margin-top: 20px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: .01em;
	color: var(--brown-900);
}
.series-card__title a:hover { color: var(--brown-600); }
.series-card__note { max-width: 420px; min-height: 52px; margin-top: 12px; font-size: 18px; line-height: 26px; letter-spacing: .01em; color: var(--brown-500); }
.series-card__price {
	margin-top: 10px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 32px;
	line-height: 38px;
	letter-spacing: .01em;
	color: var(--brown-900);
}
.series-card__more {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 66px;
	margin-top: 22px;
	background:
		url("../img/header-line.svg") top / 100% 1px no-repeat,
		url("../img/header-line.svg") bottom / 100% 1px no-repeat;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 20px;
	letter-spacing: .01em;
	color: var(--brown-600);
}
.series-card__more span { text-decoration: underline dotted; text-underline-offset: 4px; }
.series-card__more::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 22px;
	height: 18px;
	margin-top: -9px;
	background: url("../icons/arrow-card.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.series-card__more:hover { color: var(--brown-800); }
.series-card__more:hover::after { transform: translateX(4px); }
@media (max-width: 1100px) {
	.series__list { grid-template-columns: 1fr 1fr; }
	.series__title { font-size: 48px; line-height: 52px; }
}
@media (max-width: 640px) {
	.series__list { grid-template-columns: 1fr; }
	.series__swirl { display: none; }
}

/* ==========================================================================
   Карточка товара + кнопка «В корзину»
   ========================================================================== */
.product-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	padding: 24px 24px 30px;
	background: var(--white);
}
.product-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 19px;
	bottom: -7px;
	background: url("../img/card-torn-bottom.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.product-card__media { display: block; overflow: hidden; }
.product-card__img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: var(--white); transition: transform .35s ease; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__text { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; background: url("../img/header-line.svg") bottom / 100% 1px no-repeat; }
.product-card__title { font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 28px; letter-spacing: .01em; color: var(--brown-800); }
.product-card__title a:hover { color: var(--brown-600); }
.product-card__note { font-size: 14px; line-height: 20px; letter-spacing: .01em; color: var(--brown-500); }
.product-card__buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; }
.product-card__price { font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 1; letter-spacing: .01em; color: var(--brown-600); white-space: nowrap; }
.product-card__price del { font-size: 18px; font-weight: 500; opacity: .6; }
.product-card__price ins { text-decoration: none; }
.btn-cart {
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	width: 160px;
	height: 50px;
	padding-left: 22px;
	background: url("../img/btn-cart-bg.svg") 0 0 / 100% 100% no-repeat;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: var(--brown-800);
	transition: filter .2s ease, transform .2s ease;
}
.btn-cart::before {
	content: "";
	position: absolute;
	left: 108px;
	top: 10px;
	width: 1px;
	height: 30px;
	background: url("../img/btn-cart-divider.svg") center / 100% 100% no-repeat;
}
.btn-cart::after {
	content: "";
	position: absolute;
	left: 121px;
	top: 12px;
	width: 26px;
	height: 26px;
	background: url("../icons/basket-dark.svg") center / contain no-repeat;
}
.btn-cart:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-cart.loading { opacity: .6; pointer-events: none; }
.product-card .added_to_cart { display: none; }

/* ==========================================================================
   Главная — 06 Хиты продаж (слайдер)
   ========================================================================== */
.hits { position: relative; isolation: isolate; padding: 100px 0 40px; }
.hits__bg {
	position: absolute;
	z-index: -1;
	left: 0;
	top: -349px;
	width: 1768px;
	height: 1015px;
	background: url("../img/hits-bg.webp") 0 0 / 100% 100% no-repeat;
	pointer-events: none;
}
.hits .h-section { line-height: 72px; }
.hits__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 24px) / 4);
	gap: 24px;
	margin: 50px 0 0;
	padding: 0 0 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.hits__track::-webkit-scrollbar { display: none; }
.hits__item { scroll-snap-align: start; min-height: 500px; }

.slider-nav { display: flex; align-items: center; gap: 41px; margin-top: 49px; }
.slider-nav__bar {
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 83px;
	background:
		url("../img/header-line.svg") top / 100% 1px no-repeat,
		url("../img/header-line.svg") bottom / 100% 1px no-repeat;
}
.slider-nav__dots { position: absolute; left: 0; top: 50%; display: flex; gap: 8px; transform: translateY(-50%); }
.slider-nav__dots i { width: 8px; height: 8px; border-radius: 4px; background: var(--brown-200); transition: width .25s ease, background-color .25s ease; }
.slider-nav__dots i.is-active { width: 24px; background: #a58a75; }
.slider-nav__all { font-family: var(--font-head); font-weight: 500; font-size: 20px; letter-spacing: .01em; color: var(--brown-600); }
.slider-nav__all:hover { color: var(--brown-800); text-decoration: underline dotted; text-underline-offset: 4px; }
.slider-nav__arrows { display: flex; gap: 26px; }
.slider-arrow {
	width: 56px;
	height: 56px;
	padding: 0;
	border: 0;
	background: url("../img/slider-next.svg") center / 100% 100% no-repeat;
	cursor: pointer;
	transition: transform .2s ease, opacity .2s ease;
}
.slider-arrow--prev { transform: scaleX(-1); }
.slider-arrow:hover { transform: scale(1.06); }
.slider-arrow--prev:hover { transform: scaleX(-1) scale(1.06); }
.slider-arrow:disabled { opacity: .4; cursor: default; transform: none; }
.slider-arrow--prev:disabled { transform: scaleX(-1); }
@media (max-width: 1279px) {
	.hits__track { grid-auto-columns: calc((100% - 2 * 24px) / 3); }
}
@media (max-width: 900px) {
	.hits__track { grid-auto-columns: calc((100% - 24px) / 2); }
	.hits .h-section { font-size: 48px; line-height: 52px; }
	.hits__bg { display: none; }
}
@media (max-width: 560px) {
	.hits__track { grid-auto-columns: 82%; }
	.slider-nav__arrows { display: none; }
}

/* ==========================================================================
   Главная — 07 Совместимость навесного
   Блок 1920×1052 по макету: фото комнаты фоном, справа — навесное с подписями.
   ========================================================================== */
.compat { position: relative; isolation: isolate; height: 1062px; }
.compat__bg {
	position: absolute;
	z-index: -2;
	top: 9px;
	left: 0;
	right: 0;
	height: 1052px;
	background: url("../img/compat-bg.webp") calc(50% + 0px) -73px / 2200px 1125px no-repeat;
}
.compat__bg::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -25px;
	height: 69px;
	background: url("../img/brush-edge.svg") center / 100% 100% no-repeat;
}
.compat__leaves {
	position: absolute;
	z-index: 1;
	left: calc(50% + 633px);
	top: -23px;
	width: 472px;
	max-width: none;
	clip-path: inset(0 0 0 56px);
	margin-left: -56px;
	pointer-events: none;
}
.compat__inner { position: relative; height: 100%; }
.compat__offer { position: absolute; left: 0; top: 145px; width: 560px; }
.compat__label {
	display: inline-flex;
	align-items: center;
	height: 49px;
	padding: 0 16px;
	border-radius: 49px;
	background: var(--brown-150);
	font-family: var(--font-head);
	font-size: 24px;
	letter-spacing: .01em;
	text-transform: uppercase;
	color: var(--brown-800);
}
.compat__title { margin-top: 20px; }
.compat__text { margin-top: 36px; font-size: 24px; line-height: 32px; letter-spacing: .01em; color: var(--brown-500); }
.compat__btn { width: 385px; margin-top: 37px; }
.compat__measure { position: absolute; left: 765px; top: 495px; width: 127px; }
.compat__parts { position: absolute; left: 971px; top: 59px; width: 455px; margin: 0; container-type: inline-size; aspect-ratio: 455 / 820; --k: calc(100cqw / 455); }
/* Навесное из отдельных предметов; координаты макета (ширина 455) */
.part-ell, .part-img, .part-label, .compat__wall-line { position: absolute; left: calc(var(--x) * var(--k)); top: calc(var(--y) * var(--k)); }
.part-ell { width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); border-radius: 50%; background: rgba(226, 198, 173, .29); }
.part-img { width: calc(var(--w) * var(--k)); height: calc(var(--h) * var(--k)); object-fit: contain; }
.part-label {
	padding: 0 calc(4 * var(--k)) calc(5 * var(--k)) 0;
	border-bottom: 1.6px solid #694936;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: calc(20 * var(--k));
	line-height: 1.2;
	letter-spacing: .01em;
	color: var(--brown-800);
	white-space: nowrap;
}
.part-label::before {
	content: "";
	position: absolute;
	left: calc(-38 * var(--k));
	bottom: -2px;
	width: calc(40 * var(--k));
	height: calc(50 * var(--k));
	background: url("../img/leader-curve.svg") 0 0 / 100% 100% no-repeat;
}
.compat__wall-line { --x: 0; --y: 130; width: calc(121.5 * var(--k)); height: calc(74.5 * var(--k)); background: url("../img/leader-wall.svg") 0 0 / 100% 100% no-repeat; }
@media (max-width: 1447px) {
	.compat { height: auto; padding: 120px 0 80px; }
	.compat__bg { background-position: 70% -73px; }
	.compat__offer { position: relative; top: 0; }
	.compat__measure { display: none; }
	.compat__parts { left: auto; right: 0; top: 40px; width: 360px; }
}
@media (max-width: 900px) {
	.compat__parts { position: relative; right: auto; top: 0; margin: 40px auto 0; }
	.compat__offer { width: auto; }
	.compat__title { font-size: 44px; line-height: 50px; }
	.compat__btn { width: 100%; }
}

/* ==========================================================================
   Главная — 08 Как выбрать комплекс + форма подбора (тёмный блок)
   ========================================================================== */
.quiz { position: relative; isolation: isolate; height: 690px; color: #fcf4e5; }
.quiz::before {
	content: "";
	position: absolute;
	z-index: -2;
	left: 0;
	right: 0;
	top: -25px;
	bottom: 0;
	background: var(--brown-800);
}
.quiz::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: -70px;
	bottom: -40px;
	background:
		url("../img/q-edge-top.svg") top center / 100% 69px no-repeat,
		url("../img/brush-edge.svg") bottom center / 100% 69px no-repeat;
	pointer-events: none;
}
.quiz__deco { position: absolute; z-index: 1; pointer-events: none; max-width: none; }
.quiz__branch { left: -126px; top: 20px; width: 277px; filter: drop-shadow(0 21px 35px rgba(75, 45, 32, .44)); }
.quiz__branch--blur { left: -183px; top: 150px; filter: blur(2px) drop-shadow(0 21px 35px rgba(75, 45, 32, .44)); }
.quiz__sprig { left: calc(50% + 565px); top: 105px; width: 194px; transform: rotate(-23.43deg); }
.quiz__sketch { left: calc(50% + 458px); top: 495px; width: 362px; opacity: .22; z-index: 0; }
.quiz__leaves { left: calc(50% + 527px); top: 596px; width: 204px; transform: rotate(168.15deg); filter: drop-shadow(0 13px 20px rgba(56, 45, 25, .28)); }
.quiz__leaf { left: calc(50% + 745px); top: 540px; width: 79px; transform: rotate(23.21deg); filter: drop-shadow(21px 3px 35px rgba(75, 45, 32, .44)); }

.quiz__inner { position: relative; height: 100%; }
.quiz__guide { position: absolute; left: 0; top: 0; width: 700px; height: 100%; }
.quiz__title {
	position: absolute;
	top: 41px;
	width: 623px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 64px;
	line-height: 72px;
	letter-spacing: .02em;
	color: #fcf4e5;
}
.quiz__title .h-rays::after { right: -48px; top: -28px; }
.quiz-br { display: none; }
.quiz__note {
	position: absolute;
	left: -8px;
	top: 262px;
	width: 241px;
	font-family: "Caveat", cursive;
	font-size: 32px;
	line-height: 33px;
	color: #cbb7a4;
	transform: rotate(-12.14deg);
}
.quiz__roki { position: absolute; left: 204px; top: 180px; width: 504px; }
.quiz__read {
	position: absolute;
	left: 0;
	top: 524px;
	display: flex;
	align-items: center;
	gap: 12px;
	padding-bottom: 14px;
	background: url("../img/underline-yellow.svg") 3px bottom / 197px 12px no-repeat;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: .02em;
	color: var(--yellow-500);
}
.quiz__read::after {
	content: "";
	width: 32px;
	height: 26px;
	background: url("../img/arrow-yellow.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.quiz__read:hover::after { transform: translateX(5px); }

.quiz-card {
	position: absolute;
	right: 0;
	top: 42px;
	z-index: 2;
	width: 696px;
	height: 583px;
	padding: 52px 52px 0;
	color: var(--brown-800);
}
.quiz-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 8px 0 12px;
	background: var(--warm);
	border: 2px solid #cbb7a4;
	box-shadow: 0 19px 24px #2b1a12;
}
.quiz-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background:
		url("../img/q-card-bottom.svg") 0 71px / 100% 512px no-repeat,
		url("../img/q-card-top.svg") 0 0 / 100% 453px no-repeat;
	pointer-events: none;
}
.quiz-card__title {
	position: relative;
	text-align: center;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: .02em;
}
.quiz-card__accent { position: relative; display: inline-block; }
.quiz-card__accent::after {
	content: "";
	position: absolute;
	left: -2px;
	right: -40px;
	bottom: -10px;
	height: 12px;
	background: url("../img/underline-yellow.svg") left center / 197px 12px no-repeat;
}
.quiz-card__title::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 32px;
	width: 87px;
	height: 36px;
	background: url("../img/arrow-curl.svg") center / contain no-repeat;
	transform: rotate(74.39deg);
}
.quiz-card__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.quiz-card > .quiz-card__group { margin-top: 34px; }
.quiz-card__label {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 0;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: .02em;
}
.quiz-card__label svg { width: 34px; height: 34px; flex: none; }
.quiz-card__options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.quiz-opt { position: relative; cursor: pointer; }
.quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opt span {
	display: grid;
	place-items: center;
	height: 74px;
	border: 1px solid #cbb7a4;
	border-top-left-radius: 12px;
	background: var(--warm);
	font-weight: 500;
	font-size: 16px;
	transition: background-color .2s ease, border-color .2s ease;
}
.quiz-opt:hover span { border-color: var(--brown-500); }
.quiz-opt input:checked + span { border-color: var(--yellow-500); background: var(--yellow-500); }
.quiz-opt input:focus-visible + span { outline: 2px solid var(--brown-800); outline-offset: 2px; }
.quiz-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; }
.quiz-card__row .quiz-card__label { margin-bottom: 14px; }
.quiz-select {
	width: 290px;
	max-width: 100%;
	height: 74px;
	padding: 0 48px 0 24px;
	border: 1px solid #cbb7a4;
	border-top-left-radius: 12px;
	background: var(--warm) url("../icons/caret.svg") right 28px center / 14px 7px no-repeat;
	font-size: 16px;
	color: var(--brown-800);
	appearance: none;
	cursor: pointer;
}
.quiz-select:hover { border-color: var(--brown-500); }
.quiz-card__submit { width: 100%; margin-top: 52px; justify-content: center; padding: 0; border: 0; cursor: pointer; }
.quiz-card__submit .btn__arrow { right: 0; }
@media (max-width: 1447px) {
	.quiz { height: auto; padding: 60px 0 80px; }
	.quiz__inner { display: grid; grid-template-columns: 1fr; gap: 40px; }
	.quiz__guide { position: relative; width: auto; height: 560px; }
	.quiz-card { position: relative; right: auto; top: 0; margin-inline: auto; }
	.quiz__sprig, .quiz__leaves, .quiz__leaf, .quiz__sketch { display: none; }
}
@media (max-width: 760px) {
	.quiz__guide { height: auto; }
	.quiz__title { position: static; width: auto; font-size: 40px; line-height: 46px; }
	.quiz__note, .quiz__branch { display: none; }
	.quiz__roki { position: static; width: 100%; max-width: 360px; margin: 16px auto 0; }
	.quiz__read { position: static; display: inline-flex; margin-top: 8px; font-size: 26px; }
	.quiz-card { width: 100%; height: auto; padding: 32px 20px 40px; }
	.quiz-card::after { display: none; }
	.quiz-card__title::after { display: none; }
	.quiz-card__options, .quiz-card__row { grid-template-columns: 1fr; }
	.quiz-select { width: 100%; }
}

/* ==========================================================================
   Главная — 09 Где купить оригинал
   ========================================================================== */
/* Высота — по содержимому: раньше блок был фиксированным и низ «плашки» срезался фоном отзывов. */
.buy { position: relative; padding: 77px 0 48px; }
.buy__rings { position: absolute; left: 0; top: 6px; width: 258px; opacity: .18; pointer-events: none; }
.buy__inner { position: relative; display: grid; grid-template-columns: 700px minmax(0, 1fr); column-gap: 20px; align-items: start; }
.buy__media { position: static; width: 752px; margin-left: -52px; max-width: none; }
.buy__side { position: static; width: 696px; padding-top: 85px; }
.buy__side .h-section { line-height: 78px; }
.buy__side .h-rays::after { right: -48px; top: -32px; }
.buy__list { margin-top: 38px; }
.buy__list li + li { margin-top: 17px; padding-top: 17px; border-top: 1px solid var(--brown-150); }
.buy__shop {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 56px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 32px;
	letter-spacing: .01em;
	color: var(--brown-900);
}
.buy__shop::after {
	content: "";
	flex: none;
	width: 56px;
	height: 56px;
	background: url("../img/slider-next.svg") center / 100% 100% no-repeat;
	transition: transform .2s ease;
}
.buy__shop:hover { color: var(--brown-600); }
.buy__shop:hover::after { transform: translateX(4px); }
.buy__fake {
	position: relative;
	display: flex;
	align-items: center;
	gap: 38px;
	width: 721px;
	height: 164px;
	margin: 19px 0 0 -7px;
	padding: 0 0 0 56px;
	background: url("../img/buy-paper.webp") center / 100% 100% no-repeat;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.buy__fake span {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 495px;
	white-space: nowrap;
	padding: 6px 0 8px;
	border-bottom: 1px solid #694936;
}
.buy__fake span::after {
	content: "";
	flex: none;
	width: 20px;
	height: 16px;
	margin-left: auto;
	background: url("../icons/arrow-tiny.svg") center / contain no-repeat;
	transition: transform .2s ease;
}
.buy__fake:hover span::after { transform: translateX(4px); }
@media (max-width: 1447px) {
	.buy { height: auto; padding: 60px 0; }
	.buy__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
	.buy__media, .buy__side { position: static; width: 100%; margin-left: 0; padding-top: 0; }
	.buy__fake { width: 100%; margin-left: 0; padding-left: 32px; gap: 20px; }
	.buy__fake span { width: auto; flex: 1; margin-right: 32px; }
}
@media (max-width: 900px) {
	.buy__inner { grid-template-columns: 1fr; }
	.buy__side .h-section { font-size: 44px; line-height: 50px; }
	.buy__shop { font-size: 26px; }
	.buy__rings { display: none; }
}

/* ==========================================================================
   Главная — 10 Отзывы
   ========================================================================== */
.reviews { position: relative; isolation: isolate; height: 938px; }
.reviews__bg { position: absolute; z-index: -2; inset: -12px 0 32px; }
.reviews__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: url("../img/hero-beige-bg.webp") top center / cover no-repeat;
	opacity: .58;
}
.reviews__bg::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -40px;
	bottom: -42px;
	background:
		url("../img/brush-edge.svg") top center / 100% 69px no-repeat,
		url("../img/brush-edge-flip.svg") bottom center / 100% 69px no-repeat;
}
.reviews__deco { position: absolute; z-index: -1; pointer-events: none; max-width: none; }
.reviews__wind { left: -376px; top: 262px; width: 592px; opacity: .6; transform: rotate(-22.5deg); }
.reviews__branch { left: -179px; top: 153px; width: 326px; transform: rotate(-44.64deg); filter: drop-shadow(0 13px 20px rgba(121, 99, 79, .44)); }
.reviews__olive { left: calc(50% + 608px); top: 434px; width: 183px; }
.reviews__inner { position: relative; height: 100%; }
.reviews__title {
	position: absolute;
	left: -2px;
	top: 92px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 64px;
	line-height: 68px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.reviews__title .h-rays::after { right: -46px; top: -26px; }
.reviews__ratings { position: absolute; left: 588px; top: 101px; display: flex; gap: 12px; }
.rating-card {
	position: relative;
	width: 174px;
	height: 125px;
	padding: 14px 18px;
	border: 1px solid #a58a75;
	background: rgba(255, 255, 255, .1);
	backdrop-filter: blur(4px);
}
.rating-card__name { display: block; font-family: var(--font-head); font-weight: 700; font-size: 22px; line-height: 26px; letter-spacing: .01em; color: var(--brown-900); }
.rating-card__value { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 40px; line-height: 40px; color: var(--brown-900); }
.rating-card__value svg { width: 32px; height: 32px; }
.rating-card__link { position: absolute; left: 19px; bottom: 12px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--brown-800); }
.rating-card__link::after { content: ""; width: 12px; height: 10px; background: url("../icons/arrow-mini.svg") center / contain no-repeat; transition: transform .2s ease; }
.rating-card__link:hover::after { transform: translateX(3px); }
.reviews__note { position: absolute; left: 1194px; top: 48px; width: 160px; z-index: 1; transform: rotate(-4deg); }
/* Обезьянка держится лапой за верхний правый край блока отзывов — как в макете. */
.reviews__monkey { position: absolute; left: 1320px; top: 83px; width: 332px; max-width: none; z-index: 2; pointer-events: none; }

.reviews__track {
	position: absolute;
	left: 0;
	right: 0;
	top: 266px;
	z-index: 1;
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 24px) / 3);
	gap: 24px;
	margin: 0;
	padding: 0 0 30px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review-card {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: 1fr 144px;
	grid-template-rows: auto 1fr auto;
	column-gap: 16px;
	min-height: 357px;
	padding: 29px 28px 26px 32px;
	background: var(--white);
	scroll-snap-align: start;
}
.review-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 17px;
	bottom: -14px;
	background: url("../img/card-torn-bottom.svg") center / 100% 100% no-repeat;
}
.review-card__stars { grid-column: 1; display: flex; gap: 9px; }
.review-card__stars svg { width: 21px; height: 20px; }
.review-card__title {
	grid-column: 1;
	margin-top: 24px;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.review-card__photo { grid-column: 2; grid-row: 1 / 3; width: 144px; margin-top: 1px; }
.review-card__text { grid-column: 1 / -1; margin-top: 20px; }
.review-card__text p {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	font-size: 16px;
	line-height: 24px;
	letter-spacing: .01em;
	color: var(--brown-800);
}
.review-card.is-open .review-card__text p { -webkit-line-clamp: unset; }
.review-card__more {
	display: block;
	margin: 6px 4px 0 auto;
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	font-weight: 500;
	color: #b64a3b;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
	cursor: pointer;
}
.review-card__meta {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	margin-top: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--brown-150);
	color: var(--brown-500);
}
.review-card__who { font-size: 14px; }
.review-card__date { grid-row: 2; font-size: 12px; margin-top: 4px; }
.review-card__source { grid-row: 1 / 3; grid-column: 2; width: 92px; height: 21px; }
.reviews__nav { position: absolute; left: 0; right: 0; top: 700px; margin: 0; }
@media (max-width: 1447px) {
	.reviews { height: auto; padding: 90px 0 110px; }
	.reviews__inner { display: flex; flex-direction: column; gap: 32px; }
	.reviews__title, .reviews__ratings, .reviews__track, .reviews__nav { position: static; }
	.reviews__note, .reviews__monkey { display: none; }
}
@media (max-width: 1100px) { .reviews__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 700px) {
	.reviews__track { grid-auto-columns: 88%; }
	.reviews__title { font-size: 40px; line-height: 46px; }
	.reviews__ratings { flex-wrap: wrap; }
	.reviews__deco { display: none; }
}

/* ==========================================================================
   Главная — 11 О нас
   ========================================================================== */
.about { position: relative; height: 654px; padding-top: 41px; }
.about__sketch { position: absolute; left: calc(50% + 479px); top: -12px; width: 212px; opacity: .26; pointer-events: none; }
.about .h-section { line-height: 72px; }
.about .h-rays::after { right: -50px; top: -24px; }
.about__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.about-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 389px;
	padding: 24px 23px 22px;
	background: var(--white);
}
.about-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 66px;
	bottom: -67px;
	background: url("../img/card-torn-bottom.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.about-card__media { display: block; height: 227px; overflow: hidden; }
.about-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.about-card:hover .about-card__media img { transform: scale(1.04); }
.about-card--docs .about-card__media { position: relative; height: 270px; margin-top: -16px; overflow: visible; }
.about-card--docs .about-card__media::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 227px; background: rgba(215, 197, 175, .19); }
.about-card--docs .about-card__media img { position: relative; width: 363px; height: 298px; margin: -16px auto 0; object-fit: cover; }
.about-card__title {
	margin-top: 26px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 32px;
	line-height: 40px;
	letter-spacing: .01em;
	color: var(--brown-900);
}
.about-card--docs .about-card__title { margin-top: 16px; }
.about-card__title a:hover { color: var(--brown-600); }
.about-card__tags { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 12px; font-size: 15.5px; line-height: 24px; letter-spacing: .01em; color: var(--brown-800); }
.about-card__tags li { position: relative; padding: 0 16px 6px; white-space: nowrap; }
.about-card__tags li:first-child { padding-left: 0; }
.about-card__tags li + li::before { content: ""; position: absolute; left: 0; top: 4px; width: 1px; height: 16px; background: #b9a695; }
.about-card__tags li.is-active::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 5px;
	background: url("../img/tab-underline.svg") center / 100% 100% no-repeat;
}
.about-card__tags li + li.is-active::after { left: 16px; right: 0; }
.about-card__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: 18px;
	background: url("../img/header-line.svg") top / 100% 1px no-repeat;
	font-size: 14px;
	font-weight: 500;
	color: #79634f;
}
.about-card__more span { text-decoration: underline dotted; text-underline-offset: 3px; }
.about-card__more::after { content: ""; width: 22px; height: 18px; background: url("../icons/arrow-card.svg") center / contain no-repeat; transition: transform .2s ease; }
.about-card__more:hover::after { transform: translateX(4px); }
@media (max-width: 1100px) {
	.about { height: auto; padding-bottom: 100px; }
	.about__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
	.about__list { grid-template-columns: 1fr; }
	.about__sketch { display: none; }
}

/* ==========================================================================
   Главная — 12 Рокидс + частые вопросы
   ========================================================================== */
.faq { position: relative; isolation: isolate; height: 843px; }
.faq__bg { position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 970px; background: url("../img/faq-bg.webp") top center / 1920px 970px no-repeat; pointer-events: none; }
.faq__inner { position: relative; height: 100%; }
.faq__title { position: absolute; left: -3px; top: 114px; line-height: 72px; white-space: nowrap; }
.faq__title .h-rays::after { right: -46px; top: -24px; }
.faq__text { position: absolute; left: 0; top: 220px; width: 696px; font-size: 20px; line-height: 26px; color: var(--brown-500); }
.faq__media { position: absolute; left: -115px; top: 314px; width: 875px; max-width: none; }
.faq__list { position: absolute; left: 840px; top: 337px; width: 576px; }
.faq__list-title { font-family: var(--font-head); font-weight: 600; font-size: 36px; line-height: 40px; color: var(--brown-800); }
.faq-item { border-bottom: 1px solid var(--brown-150); }
.faq-item:last-child { border-bottom: 0; }
.faq-item__q {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 102px;
	padding: 20px 64px 20px 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 24px;
	color: var(--brown-800);
	list-style: none;
	cursor: pointer;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::before,
.faq-item__q::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 0;
}
.faq-item__q::before {
	width: 36px;
	height: 36px;
	margin-top: -18px;
	border: 1.5px solid #79634f;
	border-radius: 50%;
	background: var(--brown-150);
	transition: background-color .2s ease;
}
.faq-item__q::after {
	right: 10px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	background:
		linear-gradient(#684a3a, #684a3a) center / 16px 1.5px no-repeat,
		linear-gradient(#684a3a, #684a3a) center / 1.5px 16px no-repeat;
	transition: transform .2s ease;
}
.faq-item[open] .faq-item__q::after { background: linear-gradient(#684a3a, #684a3a) center / 16px 1.5px no-repeat; }
.faq-item__q:hover::before { background: #ddc6ab; }
.faq-item__a { margin: -12px 0 0; padding: 0 0 8px; font-size: 16px; line-height: 24px; color: var(--brown-500); }
.faq-item:first-of-type .faq-item__q { min-height: 104px; }
@media (max-width: 1447px) {
	.faq { height: auto; padding: 90px 0 100px; }
	.faq__bg { height: 100%; background-size: cover; }
	.faq__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
	.faq__title, .faq__text, .faq__media, .faq__list { position: static; width: auto; max-width: 100%; white-space: normal; }
	.faq__title, .faq__text { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.faq__inner { grid-template-columns: 1fr; }
	.faq__title { font-size: 44px; line-height: 50px; }
}

/* ==========================================================================
   Главная — 13 Полезное для родителей
   ========================================================================== */
.useful { position: relative; isolation: isolate; height: 1045px; }
.useful__bg { position: absolute; z-index: -1; left: 50%; top: -14px; width: 1920px; max-width: none; margin-left: -960px; pointer-events: none; }
.useful__inner { position: relative; padding-top: 149px; }
.useful__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.useful__head .h-section { line-height: 72px; }
.useful__head .h-rays::after { right: -48px; top: -26px; }
.useful__head .slider-nav__arrows { margin-top: -10px; }
.useful__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 2 * 24px) / 3);
	gap: 24px;
	margin: 42px 0 0;
	padding: 0 0 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.useful__track::-webkit-scrollbar { display: none; }
.article-card {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	min-height: 563px;
	padding: 28px 32px 30px;
	background: var(--white);
	scroll-snap-align: start;
}
.article-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 0;
	right: 0;
	top: 19px;
	bottom: -12px;
	background: url("../img/card-torn-bottom.svg") center / 100% 100% no-repeat;
}
.article-card__media { display: block; height: 242px; overflow: hidden; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.article-card:hover .article-card__media img { transform: scale(1.03); }
.article-card__meta { display: flex; align-items: center; justify-content: space-between; margin: 17px 0 0 -32px; }
.article-card__tag {
	display: inline-flex;
	align-items: center;
	height: 28px;
	padding: 0 32px;
	border: 1px solid #e7daca;
	background: #f7eada;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--brown-800);
}
.article-card__tag.is-yellow { background: #ffefb1; border-color: #f1dc8e; }
.article-card__tag.is-green { background: #cdedd6; border-color: #bdddc6; }
.article-card__date { font-size: 14px; color: var(--brown-800); }
.article-card__title { margin-top: 24px; font-family: var(--font-head); font-weight: 700; font-size: 28px; line-height: 32px; letter-spacing: .01em; color: var(--brown-800); }
.article-card__title a:hover { color: var(--brown-600); }
.article-card__text {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 12px;
	font-size: 16px;
	line-height: 24px;
	color: var(--brown-500);
}
.article-card__more {
	margin-top: auto;
	padding-top: 18px;
	background: url("../img/header-line.svg") top / 100% 1px no-repeat;
	font-size: 14px;
	font-weight: 500;
	color: #79634f;
	text-decoration: underline dotted;
	text-underline-offset: 3px;
}
.article-card__more:hover { color: var(--brown-800); }
.manual-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 101px;
	margin-top: 47px;
	padding: 0 0 0 9px;
	background:
		url("../img/header-line.svg") top / 100% 1px no-repeat,
		url("../img/header-line.svg") bottom / 100% 1px no-repeat;
}
.manual-bar__icon { width: 48px; height: 48px; }
.manual-bar__text { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--brown-500); }
.manual-bar__text strong { font-family: var(--font-head); font-weight: 500; font-size: 24px; line-height: 28px; color: var(--brown-800); }
.manual-bar__link {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-left: auto;
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 20px;
	color: var(--brown-800);
	text-decoration: underline dotted;
	text-underline-offset: 4px;
}
.manual-bar__link::after { content: ""; width: 22px; height: 18px; background: url("../icons/arrow-card.svg") center / contain no-repeat; transition: transform .2s ease; }
.manual-bar:hover .manual-bar__link::after { transform: translateX(4px); }
@media (max-width: 1447px) { .useful { height: auto; padding-bottom: 100px; } .useful__inner { padding-top: 90px; } }
@media (max-width: 1100px) { .useful__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 700px) {
	.useful__track { grid-auto-columns: 88%; }
	.useful__head .h-section { font-size: 40px; line-height: 46px; }
	.useful__head .slider-nav__arrows { display: none; }
	.manual-bar { flex-wrap: wrap; height: auto; padding: 20px 0; }
	.manual-bar__link { margin-left: 64px; }
}

/* ==========================================================================
   Главная — 14 Форма «Получить консультацию» (коричневый фон до конца страницы)
   ========================================================================== */
@font-face { font-family: "Fira Sans Extra Condensed"; src: url("../fonts/FiraSansExtraCondensed-Light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
.contact {
	position: relative;
	height: 731px;
	background: var(--brown-800) url("../img/footer-bg.webp") top center / 1920px 1090px no-repeat;
	color: var(--brown-100);
}
.contact__inner { position: relative; height: 100%; }
.contact__title {
	position: absolute;
	left: 0;
	top: 112px;
	width: 562px;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 92px;
	line-height: 86px;
	letter-spacing: .02em;
	color: var(--brown-100);
}
.contact__title .h-rays::after { right: -50px; top: -24px; }
.contact__phone {
	position: absolute;
	left: 2px;
	top: 418px;
	font-family: var(--font-head);
	font-weight: 300;
	font-size: 52px;
	line-height: 60px;
	letter-spacing: .02em;
	color: var(--brown-100);
	white-space: nowrap;
}
.contact__phone:hover { color: var(--yellow-500); }
.contact__hours { position: absolute; left: 5px; top: 484px; font-family: var(--font-head); font-size: 20px; letter-spacing: .02em; color: #cbb7a4; }
.contact__note {
	position: absolute;
	left: 648px;
	top: 160px;
	font-family: "Caveat", cursive;
	font-size: 35px;
	line-height: 33px;
	color: #d7c5af;
	white-space: nowrap;
	transform: rotate(-12.14deg);
}
.contact__note::after {
	content: "";
	position: absolute;
	left: 113px;
	top: 76px;
	width: 79px;
	height: 43px;
	background: url("../img/arrow-dashed.svg") center / 100% 100% no-repeat;
	transform: rotate(12.14deg) scaleY(-1);
}
.contact__roki { position: absolute; left: 266px; top: 320px; width: 603px; max-width: none; transform: scaleX(-1); pointer-events: none; }
.contact__inner::before {
	content: "";
	position: absolute;
	left: 269px;
	top: 537px;
	width: 593px;
	height: 147px;
	background: url("../img/form-shadow.svg") center / 100% 100% no-repeat;
	pointer-events: none;
}
.contact-card {
	position: absolute;
	left: 885px;
	top: 127px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: 530px;
	height: 532px;
	padding: 62px 32px 0;
	color: var(--brown-800);
}
.contact-card::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 9px 0 10px;
	background: var(--warm);
	border: 2px solid #bca787;
	box-shadow: 0 19px 24px #2b1a12;
}
.contact-card::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		url("../img/form-card-edge.svg") 0 20px / 100% 512px no-repeat,
		url("../img/q-card-top.svg") 0 0 / 100% 512px no-repeat;
	pointer-events: none;
}
.contact-card__title { text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 34px; line-height: 40px; letter-spacing: .02em; }
.contact-card__title span { position: relative; display: inline-block; }
.contact-card__title span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 6px; background: url("../img/underline-consult.svg") center / 100% 100% no-repeat; }
.contact-card__field {
	width: 100%;
	height: 74px;
	margin-top: 34px;
	padding: 0 24px;
	border: 1px solid #d7c5af;
	border-top-left-radius: 12px;
	background: var(--warm);
	font-size: 16px;
	color: var(--brown-800);
	outline: 0;
}
.contact-card__field + .screen-reader-text + .contact-card__field,
.contact-card__field ~ .contact-card__field { margin-top: 32px; }
.contact-card__field::placeholder { color: var(--brown-800); opacity: 1; }
.contact-card__field:focus { border-color: var(--yellow-600); }
.contact-card__field.is-invalid { border-color: #b64a3b; }
.contact-card__submit { width: 100%; margin-top: 41px; justify-content: center; padding: 0; border: 0; cursor: pointer; }
.contact-card__consent { display: flex; align-items: center; justify-content: center; gap: 11px; margin-top: 27px; font-size: 12px; letter-spacing: .02em; cursor: pointer; }
.contact-card__consent input { width: 24px; height: 24px; margin: 0; appearance: none; border: 1px solid #a58a75; border-radius: 3px; background: var(--warm); cursor: pointer; }
.contact-card__consent input:checked { background: var(--warm) url("../icons/check.svg") center / 24px 24px no-repeat; }
.contact-card__consent a { text-decoration: underline dotted; text-underline-offset: 2px; }
.contact-card__status { min-height: 18px; margin-top: 8px; text-align: center; font-size: 13px; color: #b64a3b; }
.contact-card__status.is-ok { color: #2e7d32; }

/* ==========================================================================
   Подвал
   ========================================================================== */
.site-footer {
	position: relative;
	padding: 0 0 24px;
	background: var(--brown-800) url("../img/footer-bg.webp") center -731px / 1920px 1090px no-repeat;
	color: #fcf4e5;
}
body:not(.home) .site-footer { padding-top: 60px; margin-top: 60px; background-position: center top; }
.site-footer__top {
	position: relative;
	display: grid;
	grid-template-columns: 267px 179px 61px 242px 43px 244px 43px 1fr;
	min-height: 291px;
	padding-top: 48px;
	background: url("../img/footer-line-h.svg") top / 100% 1px no-repeat;
}
.site-footer__logo { grid-column: 1; }
.site-footer__logo img { width: 244px; }
.site-footer__col { position: relative; font-size: 14px; letter-spacing: .02em; }
.site-footer__top > :nth-child(2) { grid-column: 2 / 3; }
.site-footer__top > :nth-child(3) { grid-column: 4 / 5; }
.site-footer__top > :nth-child(4) { grid-column: 6 / 7; }
.site-footer__top > :nth-child(5) { grid-column: 8; }
.site-footer__top > :nth-child(n+3)::before {
	content: "";
	position: absolute;
	left: -61px;
	top: -13px;
	width: 2px;
	height: 234px;
	background: url("../img/footer-line-v.svg") center / 100% 100% no-repeat;
}
.site-footer__top > :nth-child(4)::before,
.site-footer__top > :nth-child(5)::before { left: -43px; }
.site-footer__title {
	position: relative;
	margin-bottom: 22px;
	padding-bottom: 10px;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 24px;
	line-height: 28px;
	letter-spacing: .02em;
	color: var(--white);
}
.site-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 81px; height: 4px; background: url("../img/footer-underline.svg") center / 100% 100% no-repeat; }
.site-footer__col li { line-height: 32px; }
.site-footer__col a:hover { color: var(--yellow-500); }
.site-footer__contacts p, .site-footer__contacts > a { display: block; margin: 0 0 14px; line-height: 18px; }
.site-footer__phone { font-size: 16px; }
.site-footer__socials { display: flex; gap: 12px; margin-top: 2px; }
.site-footer__socials svg { width: 28px; height: 28px; }
.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding-top: 22px;
	background: url("../img/footer-line-h.svg") top / 100% 1px no-repeat;
	font-size: 12px;
	color: var(--white);
}
.site-footer__bottom > a:hover { color: var(--yellow-500); }
.site-footer__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.site-footer__legal a:hover { color: var(--yellow-500); }
.site-footer__design { display: inline-flex; align-items: center; gap: 12px; }
.site-footer__design img { width: 67px; height: auto; }
@media (max-width: 1447px) {
	.contact { height: auto; padding: 100px 0 80px; }
	.contact__inner { display: grid; grid-template-columns: 1fr minmax(0, 530px); gap: 40px; }
	.contact__title, .contact__phone, .contact__hours, .contact-card { position: static; }
	.contact__note, .contact__roki, .contact__inner::before { display: none; }
	.contact-card { grid-column: 2; grid-row: 1 / 4; width: 100%; }
	.site-footer__top { grid-template-columns: repeat(2, 1fr); gap: 32px; }
	.site-footer__top > * { grid-column: auto !important; }
	.site-footer__top > *::before { display: none; }
}
@media (max-width: 900px) {
	.contact__inner { grid-template-columns: 1fr; }
	.contact-card { grid-column: 1; grid-row: auto; height: auto; padding-bottom: 40px; }
	.contact-card::after { display: none; }
	.contact__title { width: auto; font-size: 52px; line-height: 54px; }
	.contact__phone { font-size: 38px; }
	.site-footer__top { grid-template-columns: 1fr; }
	.site-footer__bottom { flex-direction: column; align-items: flex-start; }
}

.page-content { padding: 48px 0; }

/* ==========================================================================
   Плавающая лиана (ПК)
   ========================================================================== */
.vine {
	position: fixed;
	z-index: 30;
	right: max(16px, calc(50% - 960px + 31px));
	top: 50%;
	width: 109px;
	height: 408px;
	margin-top: -204px;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.vine.is-visible { opacity: 1; visibility: visible; transform: none; }
.vine__art { width: 109px; height: 408px; pointer-events: none; }
.vine__btn {
	position: absolute;
	left: 13px;
	width: 85px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	cursor: pointer;
	transition: transform .2s ease;
}
.vine__btn:hover { transform: scale(1.06); }
.vine__btn--cart { top: 59px; height: 88px; }
.vine__btn--phone { top: 170px; height: 100px; left: 7px; width: 96px; }
.vine__btn--chat { top: 293px; height: 88px; }
.vine__count {
	position: absolute;
	left: 57px;
	top: 6px;
	min-width: 23px;
	height: 23px;
	padding: 0 5px;
	border: 1.5px solid #381a0d;
	border-radius: 12px;
	background: var(--yellow-500);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	text-align: center;
	color: var(--brown-800);
}
.vine__chat {
	position: absolute;
	right: 104px;
	top: 300px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 12px;
	border: 1px solid #cbb7a4;
	border-top-left-radius: 12px;
	background: var(--warm);
	box-shadow: 0 10px 24px rgba(56, 26, 13, .18);
	white-space: nowrap;
}
.vine__chat[hidden] { display: none; }
.vine__chat a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; font-size: 15px; color: var(--brown-800); }
.vine__chat a:hover { background: var(--brown-100); }
.vine__chat svg { width: 28px; height: 28px; }
@media (max-width: 1279px) { .vine { display: none; } }

/* Закреплённое меню каталога при прокрутке (ПК) */
@keyframes rokids-slide-down { from { transform: translateY(-100%); } to { transform: none; } }
@media (min-width: 1280px) {
	.site-header.is-sticky .hdr-panel__nav {
		position: fixed;
		z-index: 60;
		top: 0;
		left: 0;
		right: 0;
		height: 72px;
		margin: 0;
		padding: 8px max(16px, calc((100% - 1416px) / 2));
		background: var(--warm);
		box-shadow: 0 6px 18px rgba(56, 26, 13, .14);
		animation: rokids-slide-down .25s ease;
	}
	.site-header.is-sticky .hdr-cats { background: none; }
}

/* ==========================================================================
   Адаптив (временно: до вёрстки мобильного макета)
   ========================================================================== */
@media (max-width: 1500px) {
	.hdr-panel { width: calc(100% + 0px); }
	.hdr-cats { font-size: 15px; }
	.hdr-panel__nav { gap: 24px; }
}
@media (max-width: 899px) {
	.reasons__inner { aspect-ratio: auto; padding: 96px 0 110px; container-type: normal; }
	.reasons__title { position: static; font-size: 48px; }
	.reasons__stage { position: static; --u: 1px; margin-top: 40px; }
	.reasons__deco, .reason__roki, .reasons__branch, .reasons__leaf-heading { display: none; }
	.reasons__list { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px 16px; }
	.reason { position: relative; display: flex; flex-direction: column; align-items: center; }
	.reason .reason__num { position: static; margin-bottom: 8px; }
	.reason .reason__body { position: static; margin: 0; width: auto; }
}
@media (max-width: 1279px) {
	.hdr-tagline, .hdr-top__menu, .hdr-cats { display: none; }
	.hdr-panel__nav { justify-content: space-between; }
	.hero__inner { grid-template-columns: 1fr; gap: 32px; }
	.hero__offer { max-width: 653px; }
	.hero__title { margin-left: 0; width: 100%; }
	.hero__media { width: min(100%, 802px); margin-inline: auto; }
	.hero { padding-bottom: 96px; }
}
/* ==========================================================================
   Мобильная версия (макет 375): шапка, меню, нижняя панель
   ========================================================================== */
.hdr-mbtns, .m-menu, .tabbar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
	/* Мобильные стили: шапка закреплена при скролле, все блоки сжаты под макет */
	.site-header { position: sticky; top: 0; z-index: 45; background: var(--cream); }
	/* при закреплении остаётся только панель в скруглённой плашке, отступы равные */
	.site-header.is-sticky .hdr-top { display: none; }
	.site-header.is-sticky::before { display: none; }
	/* фон убираем: при прокрутке видна только скруглённая плашка */
	.site-header.is-sticky { height: auto; padding: 8px; background: transparent; box-shadow: none; }
	.site-header.is-sticky .hdr-panel { margin: 0; box-shadow: 0 4px 12px rgba(56, 26, 13, .10); }
	.site-header { height: auto; padding-bottom: 14px; }
	.site-header::before { height: 95px; background-size: 100% 100%; }
	.hdr-top { padding-top: 10px; }
	.hdr-top__row { align-items: center; min-height: 20px; }
	.hdr-top__menu, .hdr-sep, .hdr-socials, .hdr-action { display: none; }
	.hdr-top__actions { flex: 1; }
	.hdr-phone { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; }
	.hdr-phone__num { font-size: 16px; line-height: 20px; color: var(--brown-150); }
	.hdr-phone__hours { font-size: 12px; line-height: 16px; color: var(--brown-150); }
	.hdr-panel {
		width: auto;
		height: auto;
		margin: 6px 8px 0;
		padding: 4px 9px 4px 8px;
		border-radius: 12px;
		background: var(--warm);
		box-shadow: 0 6px 14px rgba(56, 26, 13, .12);
	}
	.hdr-panel__row { flex-wrap: wrap; justify-content: space-between; height: auto; gap: 8px; }
	.hdr-logo img { width: 120px; height: auto; }
	.hdr-tagline, .hdr-panel__nav, .hdr-leaves, .vine { display: none; }
	.hdr-search { display: none; order: 3; flex-basis: 100%; margin: 4px 0 6px; height: 48px; }
	.site-header.is-search-open .hdr-search { display: block; }
	.hdr-search input { padding: 0 72px 0 16px; }
	.hdr-search button { top: 4px; right: 4px; height: 38px; width: 52px; }
	.hdr-mbtns { display: flex; gap: 10px; }
	.hdr-mbtn {
		display: grid;
		place-items: center;
		width: 40px;
		height: 40px;
		padding: 0;
		border: 1px solid var(--brown-200);
		border-radius: 4px;
		background: var(--cream);
		cursor: pointer;
	}
	.hdr-mbtn svg { width: 26px; height: 26px; }
	.hdr-burger { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
	.hdr-burger i { display: block; width: 22px; height: 2px; border-radius: 1px; background: var(--brown-800); transition: transform .2s ease, opacity .2s ease; }
	.hdr-burger i:nth-child(2) { width: 16px; margin-left: 6px; background: var(--yellow-600); }
	.site-header.is-menu-open .hdr-burger i:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.site-header.is-menu-open .hdr-burger i:nth-child(2) { opacity: 0; }
	.site-header.is-menu-open .hdr-burger i:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.m-menu {
		position: absolute;
		left: 8px;
		right: 8px;
		top: calc(100% - 8px);
		z-index: 40;
		display: block;
		max-height: calc(100vh - 220px);
		overflow-y: auto;
		padding: 16px 20px 20px;
		border-radius: 0 0 12px 12px;
		background: var(--warm);
		box-shadow: 0 16px 30px rgba(56, 26, 13, .25);
	}
	.m-menu[hidden] { display: none; }
	.m-menu__title { margin: 8px 0 4px; font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--brown-800); }
	.m-menu li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--brown-100); font-size: 16px; color: var(--brown-600); }
	.m-menu li a.is-accent { color: var(--accent); font-weight: 600; }
	.m-menu__contacts { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; font-size: 18px; color: var(--brown-800); }
	.m-menu__contacts .hdr-socials { display: flex; }

	.tabbar {
		position: fixed;
		z-index: 50;
		left: 0;
		right: 0;
		bottom: 0;
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		height: calc(88px + env(safe-area-inset-bottom));
		padding-bottom: env(safe-area-inset-bottom);
		border-top: 1px solid var(--brown-200);
		background: var(--warm);
	}
	.tabbar__item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 12px; font-size: 12px; color: var(--brown-700); }
	.tabbar__item svg { width: 28px; height: 28px; }
	.tabbar__item.is-active::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 60px;
		width: 44px;
		height: 7px;
		margin-left: -22px;
		background: url("../img/tabbar-active.svg") center / 100% 100% no-repeat;
	}
	.tabbar__cart { position: relative; }
	.tabbar__cart b { position: absolute; right: -10px; top: -4px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--yellow-500); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; color: var(--brown-800); }
}

/* ---------- Мобильная: блоки 01–05 ---------- */
@media (max-width: 767px) {
	.h-section, .cats__side .h-section { font-size: 40px; line-height: 44px; }
	.h-rays::after { right: -34px; top: -18px; width: 34px; height: 38px; }
	.btn { height: 54px; font-size: 17px; }
	.btn--dark, .btn--light, .btn--outline { width: 100%; justify-content: center; padding: 0 60px 0 16px; }
	.btn--light { padding: 0 16px; }
	.btn::before { inset: -2px -8px -16px; }

	/* 01 */
	.hero { margin-top: 0; padding: 10px 0 28px; min-height: 0; }
	.hero__inner { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
	.hero__offer { display: contents; }
	.hero__title { order: 1; width: 100%; max-width: 360px; margin: 0 auto; }
	/* В макете фото почти 4:3 (как и на десктопе), а не широкое 16:10 */
	.hero__media { order: 2; width: 96%; margin: 10px auto 0; aspect-ratio: 4 / 3; }
	/* В мобильном макете фото НЕ зеркалено (мама слева, мальчик справа), обезьянка — справа и крупнее */
	.hero__frame img.hero__photo { transform: none; }
	.hero__roki { left: auto; right: -4.4%; top: auto; bottom: -12.6%; width: 41%; transform: none; }
	.hero__frame { border-width: 8px; }
	.hero__buttons .btn--dark, .hero__buttons .btn--light { width: 100%; height: 50px; }
	.hero__text { order: 3; margin: 26px 0 0; font-size: 18px; line-height: 24px; }
	.hero__buttons { order: 4; flex-direction: column; gap: 10px; margin-top: 14px; }
	.hero__sprig { display: none; }

	/* 02 */
	.adventures { padding: 40px 0 50px; }
	.adventures__glow, .adventures__branch, .adventures__sprig, .adventures__branch-left { display: none; }
	.adventures__inner { display: flex; flex-direction: column; }
	.adventures__offer { display: contents; }
	.adventures__offer .h-section { order: 1; }
	.adventures__text { order: 2; margin-top: 14px; font-size: 18px; line-height: 26px; }
	.adventures__video { order: 3; margin-top: 22px; }
	.adventures__caption { font-size: 18px; gap: 16px; }
	.adventures__player { margin-top: 12px; }
	.adventures__player::before { inset: -4px -8px -16px; }
	.adventures__player img { border-width: 5px; }
	.adventures__play { width: 60px; height: 60px; }
	.adventures__offer .btn { order: 4; margin-top: 34px; }

	/* 03 */
	.cats { padding: 40px 0 40px; }
	.cats__inner { display: flex; flex-direction: column; }
	.cats__side { position: relative; display: block; min-height: 172px; }
	.cats__side .h-section { position: relative; z-index: 1; max-width: 190px; padding-top: 26px; font-size: 30px; line-height: 34px; }
	/* Обезьянка и записка спозиционированы от блока, поэтому записка не обрезается на узких экранах */
	.cats__roki { position: static; width: auto; margin: 0; }
	.cats__roki img { position: absolute; right: -6px; top: 0; width: 165px; margin: 0; }
	.cats__note { position: absolute; left: 0; top: 104px; width: 150px; font-size: 17px; line-height: 17px; transform: rotate(-6deg); }
	.cats__grid { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
	.cat-card { height: auto; padding: 4px 4px 5px; }
	.cat-card::before { inset: -5px -6px -8px; }
	.cat-card img { aspect-ratio: 300 / 190; }
	.cat-card__title { margin-top: 3px; padding: 0 4px 0 6px; font-size: 13px; line-height: 14px; }
	.cat-card__title::after { width: 16px; height: 13px; }
	.cats__more { position: static; align-self: center; order: 3; margin: 30px auto 0; font-size: 20px; }

	/* 04 */
	.reasons__inner { padding: 80px 0 40px; }
	.reasons__title { text-align: left; font-size: 40px; line-height: 42px; }
	.reasons__stage { margin-top: 16px; }
	/* Пункты идут «змейкой»: нечётные ниже, между ними линия-связка — как в макете. */
	.reasons__list { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 0 0; scrollbar-width: none; }
	.reasons__list::-webkit-scrollbar { display: none; }
	.reasons__list .reason { flex: 0 0 192px; margin-top: 54px; scroll-snap-align: start; align-items: flex-start; }
	.reasons__list .reason:nth-child(even) { margin-top: 0; }
	/* Связки между пунктами. Кружок 82×82 в левом верхнем углу пункта,
	   соседний пункт выше/ниже на 54 px, между кружками 128 px по горизонтали.
	   Дуга идёт от правого края кружка (82, 41) к краю соседнего (210, 41±54). */
	.reasons__list .reason:not(:last-child)::after {
		content: "";
		position: absolute;
		left: 82px;
		top: -13px;
		width: 128px;
		height: 54px;
		background: url("../img/r-line-1.svg") 0 0 / 100% 100% no-repeat;
		pointer-events: none;
	}
	/* чётные пункты стоят выше — дугу к следующему переворачиваем вниз */
	.reasons__list .reason:nth-child(even)::after {
		top: 41px;
		transform: scaleY(-1);
	}
	/* листочек посередине связки */
	.reasons__list .reason:not(:last-child)::before {
		content: "";
		position: absolute;
		left: 146px;
		top: -2px;
		width: 30px;
		height: 30px;
		background: url("../img/leaf-um.webp") center / contain no-repeat;
		pointer-events: none;
	}
	.reasons__list .reason:nth-child(even)::before { top: 36px; }
	/* Шкала-счётчик под каруселью */
	.reasons__pager { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
	.reasons__pager-line { position: relative; flex: 1; height: 3px; border-radius: 2px; background: #e6d5c2; overflow: hidden; }
	.reasons__pager-line i { position: absolute; left: 0; top: 0; bottom: 0; width: 20%; border-radius: 2px; background: #684a3a; transition: width .2s ease; }
	.reasons__pager-num { flex: none; font-size: 12px; line-height: 14px; color: var(--brown-600); white-space: nowrap; }
	.reason .reason__num { font-size: 18px; }
	.reason .reason__title { font-size: 21px; line-height: 24px; }
	.reason .reason__note { font-size: 13px; line-height: 18px; }
	.reason .reason__body { align-items: center; }
	.reasons__branch { display: none; }

	/* 05 */
	.series { padding: 30px 0 40px; }
	.series__swirl { display: none; }
	.series__title { text-align: left; font-size: 40px; line-height: 44px; }
	.series__list { grid-template-columns: 1fr; gap: 26px; margin-top: 24px; }
	.series-card { display: grid; grid-template-columns: 150px 1fr; column-gap: 14px; align-items: start; text-align: left; }
	.series-card__img { grid-row: 1 / 5; width: 100%; margin: 0; }
	.series-card__title { margin: 0; font-size: 22px; line-height: 24px; }
	.series-card__note { margin-top: 6px; font-size: 14px; line-height: 18px; }
	.series-card__price { margin-top: 8px; font-size: 22px; line-height: 24px; }
	.series-card__more { height: 44px; margin-top: 8px; justify-content: flex-start; font-size: 17px; }
}

/* Узкие телефоны (320–359): уменьшаем заголовок категорий, чтобы он не наезжал на обезьянку */
@media (max-width: 359px) {
	.cats__side .h-section { font-size: 25px; line-height: 29px; max-width: 158px; padding-top: 20px; }
	.cats__roki img { width: 138px; }
	.cats__note { top: 92px; width: 130px; font-size: 15px; line-height: 15px; }
}

/* ---------- Мобильная: блоки 06–14, футер ---------- */
@media (max-width: 767px) {
	/* clip, а не hidden: hidden превращает body в скролл-контейнер и ломает sticky-шапку */
	html { overflow-x: hidden; }
	body { overflow-x: clip; }
	.cats__roki { right: 0; }
	.compat__leaves, .useful__bg, .hits__bg, .reviews__deco, .quiz__deco { display: none; }

	/* 06 Хиты */
	.hits { padding: 40px 0 30px; }
	.hits .h-section { font-size: 40px; line-height: 44px; }
	.hits__track { grid-auto-columns: 74%; gap: 16px; margin-top: 24px; }
	.hits__item { min-height: 0; }
	.product-card { padding: 14px 14px 18px; gap: 16px; }
	.product-card__title { font-size: 20px; line-height: 24px; }
	.product-card__price { font-size: 22px; }
	.btn-cart { width: 130px; height: 44px; padding-left: 14px; font-size: 14px; }
	.btn-cart::before { left: 88px; top: 8px; height: 28px; }
	.btn-cart::after { left: 98px; top: 10px; width: 22px; height: 22px; }
	.slider-nav { margin-top: 24px; gap: 0; }
	.slider-nav__bar { height: auto; flex-direction: column; gap: 14px; background: none; }
	.slider-nav__dots { position: static; transform: none; flex: none; width: 100%; gap: 6px; }
	.slider-nav__dots i { flex: 1; height: 3px; border-radius: 2px; width: auto; }
	.slider-nav__dots i.is-active { width: auto; background: #684a3a; }
	.slider-nav__all { display: inline-block; font-size: 18px; }
	.slider-nav__arrows { display: none; }

	/* 07 Совместимость: композиция 375×401, оборудование слева, подписи колонкой справа */
	.compat { height: auto; padding: 26px 0 30px; background: #f3e6dc; }
	.compat__bg { top: 0; height: 100%; background: none; }
	.compat__bg::before { top: -30px; }
	.compat__inner { display: flex; flex-direction: column; }
	.compat__offer { display: contents; }
	.compat__label { align-self: flex-start; height: 30px; font-size: 15px; }
	.compat__title { margin-top: 16px; font-size: 30px; line-height: 37px; }
	.compat__title br { display: none; }
	.compat__text { margin-top: 16px; font-size: 16px; line-height: 22px; }
	/* Фото комнаты живёт внутри композиции: те же 375 px, что и координаты предметов */
	.compat__parts {
		position: relative; order: 5;
		width: calc(100% + 32px); margin: -8px -16px 0;
		aspect-ratio: 375 / 401;
		--k: calc(100cqw / 375);
		overflow: hidden;
	}
	.compat__parts::before {
		content: ""; position: absolute; inset: 0; pointer-events: none;
		background: url("../img/compat-bg.webp") calc(-335 * var(--k)) calc(23 * var(--k)) / calc(803 * var(--k)) auto no-repeat;
		-webkit-mask-image: linear-gradient(to bottom, #0000 0, #000 calc(84 * var(--k)));
		mask-image: linear-gradient(to bottom, #0000 0, #000 calc(84 * var(--k)));
	}
	.compat__wall-line { display: none; }
	.part-ell {
		left: calc(var(--mex) * var(--k)); top: calc(var(--mey) * var(--k));
		width: calc(var(--mew) * var(--k)); height: calc(var(--meh) * var(--k));
	}
	.part-img {
		left: calc(var(--mx) * var(--k)); top: calc(var(--my) * var(--k));
		width: calc(var(--mw) * var(--k)); height: calc(var(--mh) * var(--k));
	}
	.part-label {
		left: calc(var(--mlx) * var(--k)); top: calc(var(--mly) * var(--k));
		padding: 0 calc(4 * var(--k)) calc(3 * var(--k)) 0;
		border-bottom-width: calc(1.6 * var(--k));
		font-size: calc(13 * var(--k));
	}
	.part-label::before { display: none; }
	.compat__btn { order: 6; width: 100%; margin-top: 0; }

	/* 08 Подбор */
	.quiz { padding: 26px 0 30px; }
	.quiz__guide { position: relative; height: 276px; }
	.quiz__title { position: relative; width: auto; font-size: 32px; line-height: 38px; }
	.quiz-br { display: inline; }
	/* лучи из макета стоят в правом верхнем углу заголовка, а не у слова «комплекс» */
	.quiz__title .h-rays { position: static; }
	.quiz__title .h-rays::after { right: 2px; top: -4px; }
	.quiz__note { display: block; left: 0; top: 117px; width: 122px; font-size: 16px; line-height: 16px; }
	.quiz__roki { position: absolute; left: auto; right: -14px; top: 92px; width: 228px; margin: 0; }
	.quiz__read { position: absolute; left: 0; top: 227px; font-size: 19px; }
	.quiz__read::after { width: 20px; height: 17px; }
	.quiz-card { width: 100%; height: auto; padding: 20px 14px 22px; }
	.quiz-card__title { font-size: 20px; line-height: 24px; }
	.quiz-card__title::after { display: none; }
	.quiz-card > .quiz-card__group { margin-top: 14px; }
	.quiz-card__label { font-size: 15px; line-height: 19px; gap: 8px; text-align: left; justify-content: flex-start; }
	.quiz-card__label svg { width: 24px; height: 24px; }
	.quiz-card__options { grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 8px; }
	.quiz-opt span { height: 44px; font-size: 12px; }
	.quiz-card__row { grid-template-columns: 1fr; gap: 12px; }
	.quiz-select { width: 100%; height: 44px; font-size: 14px; }
	.quiz-card__submit { margin-top: 16px; height: 46px; }
	.quiz-card::after { display: block; background-size: 100% 100%, 100% 60%; }

	/* 09 Где купить */
	.buy { padding: 40px 0; }
	.buy__inner { display: flex; flex-direction: column; align-items: stretch; gap: 20px; }
	.buy__side { display: contents; }
	.buy__side .h-section { order: 1; font-size: 40px; line-height: 44px; }
	.buy__media { order: 2; width: 100%; }
	.buy__list { order: 3; margin-top: 0; }
	.buy__shop { font-size: 24px; height: 48px; }
	.buy__shop::after { width: 44px; height: 44px; }
	.buy__fake { order: 4; width: 100%; height: auto; min-height: 110px; margin: 0; padding: 20px 16px; background-size: 100% 100%; gap: 12px; }
	.buy__fake img { width: 44px; height: 44px; }
	.buy__fake span { min-width: 0; white-space: normal; font-size: 14px; }

	/* 10 Отзывы */
	.reviews { padding: 50px 0 60px; }
	.reviews__title { font-size: 34px; line-height: 38px; }
	.reviews__title br { display: none; }
	.reviews__ratings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
	.rating-card { width: auto; height: 104px; padding: 10px; }
	.rating-card__name { font-size: 15px; line-height: 18px; }
	.rating-card__value { font-size: 28px; line-height: 30px; gap: 4px; }
	.rating-card__value svg { width: 22px; height: 22px; }
	.rating-card__link { left: 10px; bottom: 8px; font-size: 10px; white-space: nowrap; gap: 4px; }
	.rating-card__link::after { width: 9px; }
	.reviews__track { grid-auto-columns: 88%; gap: 16px; }
	.review-card { padding: 20px 16px 20px 18px; grid-template-columns: 1fr 100px; }
	.review-card__photo { width: 100px; }
	.review-card__title { font-size: 20px; line-height: 24px; }

	/* 11 О нас */
	.about { padding: 40px 0 60px; }
	.about__list { grid-template-columns: 1fr; gap: 40px; margin-top: 24px; }
	.about-card__title { font-size: 26px; }
	.about-card--docs .about-card__media img { width: 100%; height: auto; }

	/* 12 FAQ */
	.faq { padding: 50px 0 60px; }
	.faq__inner { display: flex; flex-direction: column; gap: 20px; }
	.faq__title { font-size: 34px; line-height: 38px; }
	.faq__text { font-size: 16px; line-height: 24px; }
	.faq__text br { display: none; }
	.faq__media { width: 112%; max-width: none; margin-left: -6%; }
	.faq__list-title { font-size: 28px; }
	.faq-item__q { min-height: 76px; font-size: 17px; line-height: 22px; padding-right: 52px; }

	/* 13 Полезное */
	.useful { padding-bottom: 50px; }
	.useful__inner { padding-top: 40px; }
	.useful__track { grid-auto-columns: 86%; gap: 16px; margin-top: 24px; }
	.article-card { min-height: 0; padding: 18px 18px 22px; }
	.article-card__media { height: 180px; }
	.article-card__meta { margin-left: -18px; }
	.article-card__title { font-size: 22px; line-height: 26px; }
	.manual-bar { margin-top: 30px; }

	/* 14 Форма + футер */
	.contact { padding: 60px 0 40px; }
	.contact__inner { display: flex; flex-direction: column; gap: 0; }
	.contact__title { font-size: 46px; line-height: 46px; }
	.contact__phone { margin-top: 20px; font-size: 34px; line-height: 40px; }
	.contact__hours { font-size: 16px; }
	.contact-card { width: 100%; height: auto; margin-top: 30px; padding: 40px 18px 30px; }
	.contact-card__title { font-size: 26px; line-height: 32px; }
	.contact-card__field { height: 56px; margin-top: 20px; }
	.contact-card__field ~ .contact-card__field { margin-top: 16px; }
	.contact-card__submit { margin-top: 26px; }
	.contact-card__consent { text-align: left; }
	.site-footer { padding-bottom: 16px; }
	.site-footer__top { display: flex; flex-direction: column; gap: 22px; padding-top: 28px; min-height: 0; }
	.site-footer__logo img { width: 180px; }
	.site-footer__title { margin-bottom: 10px; font-size: 22px; }
	.site-footer__col li { line-height: 28px; }
	.site-footer__bottom { margin-top: 26px; gap: 10px; }
}

/* ==========================================================================
   Счётчик количества в карточке товара (после добавления в корзину)
   ========================================================================== */
.qty-step {
	display: flex;
	align-items: center;
	flex: none;
	width: 160px;
	height: 50px;
	background: var(--white);
	border: 1px solid var(--brown-200);
}
.qty-step__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: var(--font-head);
	font-size: 22px;
	line-height: 1;
	color: var(--brown-800);
	cursor: pointer;
	transition: background .15s ease;
}
.qty-step__btn:hover { background: var(--yellow-500); }
.qty-step__btn:active { background: var(--yellow-600); }
.qty-step__val {
	flex: 1;
	text-align: center;
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 20px;
	color: var(--brown-900);
}
.qty-step.is-busy { opacity: .55; pointer-events: none; }
.btn-cart.is-busy { opacity: .55; pointer-events: none; }