/* ==========================================================================
   «Спектр цвета» — main.css
   ========================================================================== */

/* ---------- Шрифты ---------- */
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-cyr.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Jost";
	src: url("../fonts/jost-lat.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-cyr.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Onest";
	src: url("../fonts/onest-lat.woff2") format("woff2");
	font-weight: 400 700;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Токены ---------- */
:root {
	--red: #D50B1E;
	--red-dark: #A80716;
	--ink: #16181D;
	--ink-2: #2B2D31;
	--ink-3: #0E0F12;
	--paper: #F3F4F6;
	--paper-2: #E6E8EB;
	--white: #FFFFFF;
	--stone: #5E626A;
	--petrol: #0F5257;
	--petrol-dark: #0B4145;
	--mustard: #E7C46A;
	--line: rgba(22, 24, 29, .12);
	--line-strong: rgba(22, 24, 29, .22);

	/* Полоска оттенков — сигнатурный элемент */
	--s1: #D50B1E;
	--s2: #E7C46A;
	--s3: #9DAE9B;
	--s4: #0F5257;
	--s5: #D9A38B;

	--font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	--font-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--gutter: clamp(16px, 4vw, 48px);
	--container: 1600px;
	--section-y: clamp(64px, 8vw, 128px);
	/* Межстрочные интервалы */
	--lh-display: 1.02;
	--lh-heading: 1.1;
	--lh-title: 1.2;
	--lh-ui: 1.35;
	--lh-body: 1.55;
	--lh-long: 1.62;

	--radius-lg: clamp(20px, 2vw, 32px);
	--radius: 20px;
	--radius-sm: 12px;
	--header-h: 80px;

	--ease: cubic-bezier(.2, .7, .2, 1);
	--focus: var(--ink);
	--shadow: 0 1px 2px rgba(22, 24, 29, .04), 0 12px 32px -12px rgba(22, 24, 29, .18);

	color-scheme: light;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(16px, .95rem + .15vw, 17px);
	line-height: var(--lh-body);
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: clip;
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }

:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
	border-radius: 4px;
}

.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: fixed;
	top: 12px; left: 12px;
	z-index: 1000;
	padding: 12px 20px;
	background: var(--ink);
	color: var(--white);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	transform: translateY(-200%);
	transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}
.container--narrow { max-width: 820px; }

.site-main:focus { outline: none; }

/* ---------- Типографика ---------- */
.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--red);
}
.eyebrow::before {
	content: "";
	flex: none;
	width: 16px; height: 16px;
	border-radius: 4px;
	background: url("../img/spectrum.webp") center / cover;
}
.eyebrow a { text-decoration: none; }

.section-title,
.page-title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2rem, 1.2rem + 2.8vw, 3.875rem);
	line-height: var(--lh-heading);
	letter-spacing: -.02em;
	text-wrap: balance;
}
.section-title em, .hero__title em, .cta__title em {
	font-style: normal;
	color: var(--red);
}

.section-lead {
	margin-top: 20px;
	max-width: 60ch;
	font-size: clamp(1rem, .95rem + .3vw, 1.1875rem);
	line-height: 1.5;
	color: var(--stone);
}

.section-head { margin-bottom: clamp(36px, 4.5vw, 64px); }
.section-head--center { text-align: center; }
.pick__intro .section-head,
.color__content .section-head { margin-bottom: clamp(28px, 3vw, 40px); }
.section-head--center .section-lead { margin-inline: auto; }

@media (min-width: 1024px) {
	.section-head--split {
		display: grid;
		grid-template-columns: repeat(12, 1fr);
		column-gap: 24px;
		align-items: end;
	}
	.section-head--split .eyebrow { grid-column: 1 / -1; justify-self: start; }
	.section-head--split .section-title { grid-column: 1 / span 7; }
	.section-head--split .section-lead { grid-column: 9 / -1; margin-top: 0; }
}

.section-head--light .eyebrow { color: var(--mustard); }
.section-head--light .section-lead { color: rgba(255, 255, 255, .82); }

.prose p + p { margin-top: 1em; }
.prose { line-height: var(--lh-long); }
.prose h2, .prose h3 { font-family: var(--font-display); font-weight: 600; margin: 1.5em 0 .5em; line-height: var(--lh-title); }
.prose ul, .prose ol { margin: 1em 0; padding-left: 1.4em; }
.prose a { color: var(--red); }

/* ---------- Кнопки и ссылки ---------- */
.btn {
	--btn-bg: var(--ink);
	--btn-fg: var(--white);
	--btn-border: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 52px;
	padding: 12px 28px;
	border: 1.5px solid var(--btn-border);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	text-align: center;
	cursor: pointer;
	touch-action: manipulation;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn .icon { flex: none; transition: transform .2s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(.98); }

.btn--lg { min-height: 60px; padding-inline: 32px; font-size: 17px; }
.btn--sm { min-height: 44px; padding: 8px 20px; font-size: 15px; }

.btn--primary { --btn-bg: var(--red); }
.btn--primary:hover { --btn-bg: var(--red-dark); }
.btn--dark { --btn-bg: var(--ink); }
.btn--dark:hover { --btn-bg: var(--ink-2); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--ink); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); }
.btn--light { --btn-bg: var(--white); --btn-fg: var(--ink); }
.btn--light:hover { --btn-bg: var(--paper); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-border: var(--line-strong); }
.btn--outline:hover { --btn-border: var(--ink); }

.btn[disabled], .btn.is-loading { opacity: .6; cursor: progress; }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 0;
	min-height: 44px;
	border: 0;
	background: none;
	color: var(--red);
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translate(2px, -2px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Полоска оттенков ---------- */
.swatch-strip {
	display: flex;
	height: 8px;
	overflow: hidden;
}
.swatch-strip i { flex: 1; background: var(--c, var(--s1)); }
.swatch-strip i:nth-child(1) { --c: var(--s1); }
.swatch-strip i:nth-child(2) { --c: var(--s2); }
.swatch-strip i:nth-child(3) { --c: var(--s3); }
.swatch-strip i:nth-child(4) { --c: var(--s4); }
.swatch-strip i:nth-child(5) { --c: var(--s5); }
.swatch-strip i[style] { background: var(--c); }

/* ---------- Заглушка изображения («свежая краска») ---------- */
.tk-ph {
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: var(--ph, #D9CFC0);
	background-image:
		linear-gradient(104deg, transparent 0 34%, rgba(255, 255, 255, .16) 34% 58%, transparent 58%),
		linear-gradient(104deg, transparent 0 58%, rgba(0, 0, 0, .06) 58% 61%, transparent 61%),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .025) 0 2px, transparent 2px 9px),
		radial-gradient(120% 90% at 20% 10%, rgba(255, 255, 255, .22), transparent 60%);
}

.tk-ph { display: grid; place-items: center; }
.tk-ph__icon { width: clamp(56px, 7vw, 96px); height: auto; color: rgba(255, 255, 255, .72); stroke-width: 1.25; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .08)); }

/* ---------- Логотип ---------- */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: var(--ink);
	flex: none;
}
.logo__img {
	flex: none;
	width: 48px; height: 48px;
	object-fit: cover;
}
.logo__mark {
	flex: none;
	width: 48px; height: 48px;
	border-radius: 10px;
	background: url("../img/spectrum.webp") center / cover;
}
.logo__text { display: grid; line-height: 1.1; }
.logo__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 20px;
	letter-spacing: .02em;
	text-transform: uppercase;
}
.logo__sub {
	margin-top: 4px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: var(--stone);
}
.logo--light { color: var(--white); }
.logo--light .logo__sub { color: rgba(255, 255, 255, .7); }

/* ---------- Шапка ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
/* Фон с размытием — на псевдоэлементе, чтобы fixed-меню внутри шапки позиционировалось от окна */
.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, .92);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
body.nav-open .site-header::before { background: var(--white); }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--header-h);
}

.nav__list {
	display: flex;
	gap: clamp(16px, 1.6vw, 32px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}
.nav .nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 8px;
	height: 2px;
	background: var(--red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--ease);
}
.nav .nav__list a:hover::after,
.nav .nav__list a.is-active::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 20px;
}
.header-phone {
	display: grid;
	text-align: right;
	line-height: 1.3;
}
.header-phone__num { font-weight: 700; font-size: 16px; white-space: nowrap; text-decoration: none; }
.header-phone__num:hover { color: var(--red); }

.burger {
	display: none;
	place-items: center;
	width: 48px; height: 48px;
	border: 1.5px solid var(--line-strong);
	border-radius: 50%;
	background: var(--white);
}
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

@media (max-width: 1439px) {
	.header-phone { display: none; }
}

@media (max-width: 1199px) {
	.burger { display: grid; }
	.nav {
		position: fixed;
		inset: var(--header-h) 0 0 0;
		z-index: 49;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		gap: 32px;
		padding: 24px var(--gutter) calc(32px + env(safe-area-inset-bottom));
		background: var(--white);
		overflow-y: auto;
		visibility: hidden;
		opacity: 0;
		transform: translateY(-8px);
		transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
	}
	.admin-bar .nav { top: calc(var(--header-h) + 32px); }
	.nav.is-open {
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: opacity .25s var(--ease), transform .25s var(--ease);
	}
	.nav .nav__list { flex-direction: column; gap: 0; }
	.nav .nav__list a {
		width: 100%;
		min-height: 60px;
		border-bottom: 1px solid var(--line);
		font-family: var(--font-display);
		font-size: clamp(24px, 6.4vw, 32px);
		font-weight: 500;
		line-height: var(--lh-title);
	}
	.nav .nav__list a::after { display: none; }
	.nav__mobile-extra { display: grid; gap: 12px; }
	.nav__phone {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		font-size: 22px;
		font-weight: 700;
		text-decoration: none;
	}
	.nav__meta { color: var(--stone); font-size: 15px; }
	body.nav-open { overflow: hidden; }
}

@media (max-width: 639px) {
	:root { --header-h: 68px; }
	.header-cta { display: none; }
	.logo__mark,
	.logo__img { width: 42px; height: 42px; }
	.logo__name { font-size: 16px; }
	.logo__sub { font-size: 10px; letter-spacing: .26em; }
}

/* ---------- Секции ---------- */
.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }

/* ---------- 1. Hero ---------- */
.hero {
	position: relative;
	padding-top: clamp(24px, 3vw, 40px);
	padding-bottom: clamp(24px, 3vw, 48px);
	background:
		radial-gradient(60% 50% at 100% 0%, rgba(213, 11, 30, .05), transparent 70%),
		var(--white);
}
.hero__grid {
	display: grid;
	gap: clamp(32px, 4vw, 64px);
	align-items: center;
}
@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
}

.hero__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.75rem, 1.3rem + 5.4vw, 5.5rem);
	line-height: var(--lh-display);
	letter-spacing: -.03em;
	text-wrap: balance;
}
.hero__text {
	margin-top: clamp(20px, 2vw, 28px);
	max-width: 54ch;
	font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
	line-height: 1.5;
	color: var(--stone);
}
.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: clamp(28px, 3vw, 40px);
}
.hero__contacts {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 28px;
	margin-top: clamp(28px, 2.5vw, 36px);
	padding: 20px 0 0;
	list-style: none;
	border-top: 1px solid var(--line);
	font-size: 15px;
	font-weight: 600;
}
.hero__contacts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__contacts .icon { color: var(--red); flex: none; }
.hero__contacts a { text-decoration: none; }
.hero__contacts a:hover { color: var(--red); }
.hero__phones { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }

/* Бренды */
.brands { margin-top: clamp(20px, 2vw, 28px); }
.brands__title {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--stone);
}
.brands__list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.brands__item {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 96px; height: 60px;
	padding: 8px;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--white);
}
.brands__item img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 479px) {
	.brands__list { gap: 8px; }
	.brands__item { width: calc((100% - 24px) / 4); height: 60px; padding: 6px; }
}

.hero__visual {
	position: relative;
	padding-left: clamp(0px, 6vw, 96px);
	padding-bottom: clamp(24px, 3vw, 40px);
}
.hero__media {
	position: relative;
	aspect-ratio: 4 / 4.6;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper);
}
.hero__media > img,
.hero__media > .room {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Веер выкрасок */
.fan {
	--w: clamp(96px, 9vw, 150px);
	--spread: 1;
	position: absolute;
	left: calc(var(--w) * .45);
	bottom: 0;
	width: calc(var(--w) * 1.9);
	height: calc(var(--w) * 1.95);
	pointer-events: none;
}
.fan__card {
	position: absolute;
	left: 0;
	bottom: 0;
	display: grid;
	grid-template-rows: 1fr auto auto;
	width: var(--w);
	height: calc(var(--w) * 1.6);
	padding: 8px 8px 10px;
	border-radius: 10px;
	background: var(--white);
	box-shadow: 0 2px 4px rgba(22, 24, 29, .06), 0 16px 32px -12px rgba(22, 24, 29, .35);
	transform-origin: 50% 115%;
	transform: rotate(calc((var(--i) * 9deg - 34deg) * var(--spread)));
	transition: transform .6s var(--ease);
}
.fan__chip { border-radius: 6px; background: var(--c); }
.fan__name {
	margin-top: 8px;
	font-size: clamp(10px, .75vw, 12px);
	font-weight: 700;
	line-height: 1.2;
}
.fan__code {
	font-size: clamp(9px, .65vw, 11px);
	color: var(--stone);
	letter-spacing: .04em;
}
.hero__visual:hover .fan { --spread: 1.25; }
@media (max-width: 639px) {
	.hero__visual { padding-left: 0; }
	.fan { left: calc(var(--w) * .9); bottom: -8px; }
	.task-panel .btn { width: 100%; padding-inline: 16px; white-space: nowrap; }
}
/* Самые узкие экраны (iPhone SE 1-го поколения и т. п.). */
@media (max-width: 359px) {
	.task-panel .btn { white-space: normal; text-align: center; }
	.logo { gap: 10px; }
	.action-bar__item:not(.action-bar__item--primary) .icon { display: none; }
	.logo__name { font-size: 14px; }
	.logo__sub { letter-spacing: .2em; }
}

/* Цифры */
.stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: clamp(40px, 5vw, 80px);
	border-top: 1px solid var(--line);
}
.stats__item {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
	padding: 24px 16px 0 0;
}
.stats dd {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(2rem, 1.2rem + 2.4vw, 3.5rem);
	line-height: 1;
	letter-spacing: -.02em;
}
.stats dt { color: var(--stone); font-size: 15px; line-height: var(--lh-ui); }
@media (min-width: 768px) {
	.stats { grid-template-columns: repeat(4, 1fr); }
	.stats__item + .stats__item { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 767px) {
	.stats__item:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 20px; }
}

/* ---------- 2. Направления ---------- */
.directions__grid {
	display: grid;
	gap: clamp(16px, 1.6vw, 24px);
}
@media (min-width: 640px) { .directions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) {
	.directions__grid { grid-template-columns: repeat(12, 1fr); }
	.dir-card--1, .dir-card--6 { grid-column: span 6; }
	.dir-card--2, .dir-card--3, .dir-card--4, .dir-card--5 { grid-column: span 3; }
}

.dir-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.dir-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dir-card__media {
	position: relative;
	height: clamp(200px, 17vw, 290px);
	overflow: hidden;
}
.dir-card__media img, .dir-card__media .tk-ph {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform .6s var(--ease);
}
.dir-card:hover .dir-card__media img,
.dir-card:hover .dir-card__media .tk-ph { transform: scale(1.04); }
.dir-card__num {
	position: absolute;
	top: 16px; left: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--white);
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
.dir-card .swatch-strip { height: 10px; }
.dir-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	gap: 10px;
	padding: clamp(20px, 2vw, 28px);
}
.dir-card__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem);
	line-height: var(--lh-title);
}
.dir-card__text { color: var(--stone); flex: 1; }
.dir-card__link { align-self: flex-start; margin-top: 4px; text-align: left; }

/* ---------- 3. Подбор ---------- */
.pick__grid {
	display: grid;
	gap: clamp(40px, 5vw, 80px);
	align-items: start;
}
/* Две колонки только когда форме хватает ширины на поля в два ряда. */
@media (min-width: 1200px) {
	.pick__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.pick__points {
	display: grid;
	gap: 28px 32px;
}
@media (min-width: 640px) { .pick__points { grid-template-columns: repeat(2, 1fr); } }
.pick-point { display: flex; gap: 16px; align-items: flex-start; }
.pick-point__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--white);
	color: var(--red);
	box-shadow: inset 0 0 0 1px var(--line);
}
.pick-point__title { font-size: 18px; font-weight: 700; line-height: var(--lh-ui); }
.pick-point__text { margin-top: 6px; color: var(--stone); font-size: 15px; line-height: 1.5; }

.card-form {
	position: relative;
	padding: clamp(24px, 3vw, 48px);
	border-radius: var(--radius-lg);
	background: var(--white);
	box-shadow: var(--shadow);
	overflow: hidden;
}
.swatch-strip--top { position: absolute; top: 0; left: 0; right: 0; }
.card-form__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.625rem, 1.3rem + 1vw, 2.25rem);
	line-height: var(--lh-heading);
}
.card-form__text { margin: 8px 0 28px; color: var(--stone); }

/* ---------- Формы (CF7) ---------- */
.form-grid {
	display: grid;
	gap: 18px 16px;
}
@media (min-width: 640px) {
	.form-grid:not(.form-grid--stack) { grid-template-columns: repeat(2, 1fr); }
	.field--full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 8px; min-width: 0; }
.field label { font-size: 14px; font-weight: 700; }
.field .req { color: var(--red); }

.form input[type="text"],
.form input[type="tel"],
.form input[type="email"],
.form select,
.form textarea {
	width: 100%;
	min-height: 54px;
	padding: 14px 16px;
	border: 1.5px solid var(--line-strong);
	border-radius: var(--radius-sm);
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 16px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	-webkit-appearance: none;
	appearance: none;
}
.form textarea { min-height: 110px; resize: vertical; }
.form select {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316181D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	cursor: pointer;
}
.form ::placeholder { color: #80848B; opacity: 1; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--stone); }
.form input:focus, .form select:focus, .form textarea:focus {
	outline: none;
	border-color: var(--ink);
	box-shadow: 0 0 0 4px rgba(22, 24, 29, .1);
}
.form .wpcf7-form-control-wrap { display: block; }

.wpcf7-consent {
	margin-top: 20px;
	font-size: 14px;
	color: var(--stone);
}
.wpcf7-consent .wpcf7-list-item { margin: 0; }
.wpcf7-consent label {
	display: flex;
	gap: 12px;
	align-items: flex-start;
	cursor: pointer;
}
.wpcf7-consent input[type="checkbox"] {
	flex: none;
	width: 22px; height: 22px;
	margin: 0;
	accent-color: var(--red);
	cursor: pointer;
}
.wpcf7-consent a { color: inherit; text-underline-offset: 3px; }
.wpcf7-consent .wpcf7-not-valid-tip { padding-left: 34px; }

.form-actions { margin-top: 24px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-actions .btn { width: 100%; }
@media (min-width: 640px) { .form-grid:not(.form-grid--stack) ~ .form-actions .btn { width: auto; } }

.wpcf7-spinner { margin: 0; }
.wpcf7-not-valid-tip {
	display: block;
	margin-top: 6px;
	color: var(--red-dark);
	font-size: 13px;
	font-weight: 600;
}
.form .wpcf7-not-valid { border-color: var(--red) !important; }
.wpcf7 form .wpcf7-response-output {
	margin: 20px 0 0;
	padding: 14px 18px;
	border: 0;
	border-radius: var(--radius-sm);
	font-size: 15px;
	font-weight: 600;
	background: var(--paper);
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output,
.wpcf7-response-output:empty { display: none; }
.wpcf7 form.sent .wpcf7-response-output { background: #E4F1E6; color: #1E5B2C; }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { background: #FBE7E8; color: #8A0612; }
.wpcf7 form.submitting .btn { opacity: .6; pointer-events: none; }
.wpcf7-form .hidden-fields-container { display: none; }
/* Служебный список ошибок CF7 — только для скринридеров. */
.wpcf7 .screen-reader-response {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.wpcf7-spinner { display: none; }
.wpcf7 form.submitting .btn { cursor: progress; }

/* Тёмная форма */
.form--dark .field label { color: var(--white); }
.form--dark input[type="text"],
.form--dark input[type="tel"],
.form--dark textarea {
	background: rgba(255, 255, 255, .06);
	border-color: rgba(255, 255, 255, .28);
	color: var(--white);
}
.form--dark ::placeholder { color: rgba(255, 255, 255, .6); }
.form--dark input:hover, .form--dark textarea:hover { border-color: rgba(255, 255, 255, .5); }
.form--dark input:focus, .form--dark textarea:focus { border-color: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, .15); }
.form--dark .wpcf7-consent { color: rgba(255, 255, 255, .78); }
.form--dark .wpcf7-not-valid-tip { color: #FF9AA2; }
.form--dark .wpcf7-response-output { color: var(--ink); }

/* ---------- 4. Почему мы ---------- */
.why__grid {
	display: grid;
	gap: clamp(40px, 5vw, 80px);
}
@media (min-width: 1024px) {
	.why__grid { grid-template-columns: 5fr 7fr; align-items: start; }
	.why__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.why__aside .section-head { margin-bottom: 32px; }
.why__media {
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper);
}
.why__media img, .why__media .room { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) {
	.why__media { aspect-ratio: 16 / 10; margin-top: 24px; }
	.why__media img { object-position: 50% 30%; }
}

.why__note {
	display: grid;
	justify-items: start;
	gap: 8px;
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--radius-lg);
	background: var(--paper);
}
.why__note-icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	margin-bottom: 8px;
	border-radius: 50%;
	background: var(--white);
	color: var(--red);
}
.why__note-title { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: var(--lh-title); }
.why__note-text { color: var(--stone); }
.why__note-phone { margin: 8px 0 16px; font-size: 1.375rem; font-weight: 700; text-decoration: none; }
.why__note-phone:hover { color: var(--red); }
@media (max-width: 1023px) { .why__note { display: none; } }

.why-item {
	display: grid;
	grid-template-columns: auto auto 1fr;
	gap: 20px;
	align-items: start;
	padding: clamp(24px, 2.4vw, 36px) 0;
	border-top: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item__num {
	min-width: 32px;
	padding-top: 16px;
	font-family: var(--font-display);
	font-size: 14px;
	font-weight: 600;
	color: var(--stone);
}
.why-item__icon {
	display: grid;
	place-items: center;
	width: 60px; height: 60px;
	border-radius: 50%;
	background: var(--paper);
	color: var(--red);
	transition: background-color .25s var(--ease), color .25s var(--ease);
}
.why-item:hover .why-item__icon { background: var(--red); color: var(--white); }
.why-item__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.375rem, 1.2rem + .6vw, 1.875rem);
	line-height: var(--lh-title);
	padding-top: 12px;
}
.why-item__text { margin-top: 6px; color: var(--stone); max-width: 56ch; }
@media (max-width: 479px) {
	.why-item { grid-template-columns: auto 1fr; gap: 16px; }
	.why-item__num { display: none; }
	.why-item__icon { width: 52px; height: 52px; }
	.why-item__title { padding-top: 10px; }
}

/* ---------- 5. Задачи ---------- */
.tasks__wrap {
	display: grid;
	gap: 24px;
}
@media (min-width: 1024px) {
	/* Колонка вкладок тянется на высоту панели: верх и низ на одном уровне. */
	.tasks__wrap { grid-template-columns: 300px minmax(0, 1fr); gap: 32px; align-items: stretch; }
	.tasks__tab { flex: 1 1 0; }
}
.tasks__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
@media (min-width: 1024px) { .tasks__tabs { flex-direction: column; } }
.tasks__tab {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	padding: 12px 18px;
	border: 1.5px solid var(--line-strong);
	border-radius: 999px;
	background: var(--white);
	font-weight: 600;
	font-size: 15px;
	line-height: var(--lh-ui);
	text-align: left;
	transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
@media (min-width: 1024px) {
	.tasks__tab { min-height: 60px; padding: 14px 22px; border-radius: 16px; font-size: 17px; }
}
.tasks__tab:hover { border-color: var(--ink); }
.tasks__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.tasks__tab-dot {
	flex: none;
	width: 14px; height: 14px;
	border-radius: 4px;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
}

.task-panel {
	display: grid;
	border-radius: var(--radius-lg);
	background: var(--white);
	overflow: hidden;
}
.task-panel[hidden] { display: none; }
.task-panel:focus-visible { outline-offset: 4px; }
@media (min-width: 768px) { .task-panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.task-panel__media { min-height: 260px; }
.task-panel__media img, .task-panel__media .tk-ph, .task-panel__media .room { width: 100%; height: 100%; object-fit: cover; }
.task-panel__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(24px, 3vw, 48px);
}
.task-panel__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.875rem, 1.3rem + 1.5vw, 2.875rem);
	line-height: var(--lh-heading);
}
.task-panel__text { margin-top: 14px; color: var(--stone); }
.task-panel__label {
	margin-top: 28px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--stone);
}
.task-panel__list { display: grid; gap: 12px; margin: 14px 0 32px; }
.task-panel__list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.task-panel__list .icon { flex: none; margin-top: 3px; color: var(--red); }
.task-panel__list em { font-style: normal; color: var(--stone); }
.task-panel .btn { margin-top: auto; }

/* ---------- 6. Колеровка ---------- */
.color {
	--focus: var(--white);
	background: var(--petrol);
	color: var(--white);
	overflow: hidden;
}
.color__grid {
	display: grid;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
@media (min-width: 1024px) { .color__grid { grid-template-columns: 5fr 7fr; } }
.color__bullets { display: grid; gap: 14px; margin-bottom: 36px; }
.color__bullets li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.color__bullets .icon { flex: none; color: var(--mustard); margin-top: 2px; }

.color__room {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--petrol-dark);
}
.color__room .room { width: 100%; height: 100%; }
.room__wall { fill: var(--wall); transition: fill .5s var(--ease); }

/* Фото комнаты с прозрачной стеной: цвет под фото, свет и тень поверх. */
.color__room--photo { aspect-ratio: 3 / 2; }
.room-photo { position: relative; display: block; }
.room-photo__wall,
.room-photo__light { position: absolute; inset: 0; }
.room-photo__wall {
	background-color: var(--wall);
	transition: background-color .5s var(--ease);
}
.room-photo__img {
	position: relative;
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: 50% 100%;
}
.room-photo__light {
	pointer-events: none;
	background:
		radial-gradient(90% 70% at 22% 8%, rgb(255 255 255 / .16), transparent 70%),
		linear-gradient(90deg, rgb(0 0 0 / .10), transparent 18%, transparent 82%, rgb(0 0 0 / .10)),
		linear-gradient(180deg, rgb(0 0 0 / .08), transparent 30%);
	mix-blend-mode: soft-light;
}
@media (prefers-reduced-motion: reduce) { .room-photo__wall { transition: none; } }
.color__current {
	position: absolute;
	left: 16px; top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px 8px 8px;
	border-radius: 999px;
	background: var(--white);
	color: var(--ink);
	font-size: 14px;
	box-shadow: var(--shadow);
}
.color__current-chip {
	width: 28px; height: 28px;
	border-radius: 50%;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12);
	transition: background-color .5s var(--ease);
}
.color__current-code { color: var(--stone); font-size: 13px; letter-spacing: .04em; }

.color__palette {
	margin: 24px 0 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.color__palette legend {
	padding: 0;
	margin-bottom: 14px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, .82);
}
.color__swatches {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
}
@media (min-width: 640px) { .color__swatches { grid-template-columns: repeat(12, 1fr); } }
@media (max-width: 359px) { .color__swatches { grid-template-columns: repeat(4, 1fr); } }
.color__grid > * { min-width: 0; }
.color__swatch {
	aspect-ratio: 1;
	min-width: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--c);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
	transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.color__swatch:hover { transform: translateY(-3px); }
.color__swatch[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--petrol), 0 0 0 6px var(--white); }

/* ---------- 7. Как купить ---------- */
.how__steps {
	display: grid;
	gap: 16px;
	counter-reset: step;
}
@media (min-width: 768px) { .how__steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.how-step {
	position: relative;
	padding: clamp(28px, 3vw, 44px);
	border-radius: var(--radius-lg);
	background: var(--paper);
}
.how-step__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: clamp(28px, 4vw, 64px);
}
.how-step__num {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: clamp(4rem, 3rem + 3.2vw, 7rem);
	font-weight: 600;
	line-height: 1;
	color: var(--red);
}
.how-step__icon {
	display: grid;
	place-items: center;
	width: 56px; height: 56px;
	border-radius: 50%;
	background: var(--white);
}
.how-step__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.5rem, 1.25rem + .7vw, 2rem);
	line-height: var(--lh-title);
}
.how-step__text { margin-top: 10px; color: var(--stone); }
@media (min-width: 768px) {
	.how-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: 50%;
		right: -18px;
		z-index: 1;
		width: 12px; height: 12px;
		border-top: 2px solid var(--ink);
		border-right: 2px solid var(--ink);
		transform: translateY(-50%) rotate(45deg);
	}
}

/* ---------- 8. О магазине ---------- */
.about__grid {
	display: grid;
	gap: clamp(40px, 5vw, 96px);
	align-items: center;
}
@media (min-width: 1024px) { .about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.about__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1vw, 16px); }
.about__img { border-radius: var(--radius-lg); overflow: hidden; }
.about__img img, .about__img .tk-ph { width: 100%; height: 100%; object-fit: cover; }
.about__img--main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.about__img--small { aspect-ratio: 4 / 3; }
.about__img--small:nth-child(2):last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.about__text { font-size: clamp(1rem, .95rem + .25vw, 1.125rem); line-height: var(--lh-long); color: var(--ink-2); }
.about__facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin-top: 40px;
}
.about__fact {
	display: flex;
	flex-direction: column-reverse;
	justify-content: flex-end;
	gap: 6px;
	padding-top: 16px;
	border-top: 3px solid var(--ink);
}
.about__fact:nth-child(1) { border-color: var(--red); }
.about__fact:nth-child(2) { border-color: var(--mustard); }
.about__fact:nth-child(3) { border-color: var(--petrol); }
.about__fact dd {
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.875rem, 1.3rem + 1.6vw, 3rem);
	line-height: 1;
}
.about__fact dt { font-size: 14px; line-height: var(--lh-ui); color: var(--stone); }
@media (max-width: 479px) { .about__facts { grid-template-columns: 1fr; } }

/* ---------- 9. FAQ ---------- */
.faq__grid {
	display: grid;
	gap: clamp(32px, 4vw, 64px);
}
@media (min-width: 1024px) {
	.faq__grid { grid-template-columns: 4fr 8fr; align-items: start; }
	.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); }
}
.faq__aside .section-head { margin-bottom: 24px; }
.faq__phone {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 20px;
	font-weight: 700;
	text-decoration: none;
}
.faq__phones { display: grid; justify-items: start; gap: 12px; }
.faq__phone .icon { color: var(--red); }
.faq__phone:hover { color: var(--red); }

.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item__q {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	min-height: 44px;
	padding: 24px 0;
	font-size: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
	font-weight: 600;
	line-height: var(--lh-ui);
	cursor: pointer;
	list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q:hover { color: var(--red); }
.faq-item__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--paper);
	transition: transform .3s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--ink); color: var(--white); }
.faq-item__a { padding: 0 64px 28px 0; color: var(--stone); max-width: 72ch; line-height: var(--lh-long); }
@media (max-width: 639px) { .faq-item__a { padding-right: 0; } }

/* ---------- 10. CTA ---------- */
.cta {
	--focus: var(--white);
	position: relative;
	background: var(--ink);
	color: var(--white);
	overflow: hidden;
}
.cta::before {
	content: "";
	position: absolute;
	right: -10%;
	top: -40%;
	width: 60%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(213, 11, 30, .28), transparent);
	pointer-events: none;
}
.cta__grid {
	position: relative;
	display: grid;
	gap: clamp(40px, 5vw, 80px);
	align-items: center;
}
@media (min-width: 1024px) { .cta__grid { grid-template-columns: 7fr 5fr; } }
.swatch-strip--lg { width: 200px; height: 12px; border-radius: 6px; margin-bottom: 32px; }
.cta__title {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.875rem);
	line-height: 1.04;
	letter-spacing: -.025em;
	text-wrap: balance;
}
.cta__title em { color: var(--mustard); }
.cta__text { margin-top: 20px; max-width: 52ch; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); line-height: 1.5; color: rgba(255, 255, 255, .82); }
.cta__phones {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	margin-top: 32px;
}
.cta__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-family: var(--font-display);
	font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.375rem);
	font-weight: 500;
	line-height: 1.1;
	text-decoration: none;
}
.cta__phone .icon { color: var(--mustard); }
.cta__phone:hover { color: var(--mustard); }
.card-form--dark {
	background: rgba(255, 255, 255, .06);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12);
}

/* ---------- 11. Контакты ---------- */
.contacts__grid {
	display: grid;
	gap: clamp(32px, 4vw, 64px);
}
@media (min-width: 1024px) { .contacts__grid { grid-template-columns: 5fr 7fr; } }
.contacts__info { display: grid; gap: 28px; align-content: start; }
.contact-row { display: flex; gap: 18px; align-items: flex-start; }
.contact-row__icon {
	display: grid;
	place-items: center;
	flex: none;
	width: 52px; height: 52px;
	border-radius: 14px;
	background: var(--paper);
	color: var(--red);
}
.contact-row__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--stone);
}
.contact-row__value { margin-top: 4px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); font-weight: 600; line-height: 1.4; }
.contact-row__value a { text-decoration: none; }
.contact-row__value a:hover { color: var(--red); }
.contacts__messengers { display: flex; flex-wrap: wrap; gap: 12px; padding-left: 70px; }
@media (max-width: 479px) { .contacts__messengers { padding-left: 0; } }
.contacts__map {
	min-height: 420px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--paper);
}
.contacts__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Подвал ---------- */
.site-footer {
	--focus: var(--white);
	padding: clamp(48px, 6vw, 88px) 0 calc(24px + env(safe-area-inset-bottom));
	background: var(--ink-3);
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
}
.site-footer__grid {
	display: grid;
	gap: 40px;
}
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer__brand p { margin-top: 20px; max-width: 42ch; }
.site-footer__nav .nav__list { flex-direction: column; gap: 4px; }
.site-footer__nav a { min-height: 36px; font-size: 15px; color: rgba(255, 255, 255, .78); }
.site-footer__nav a:hover, .site-footer__contacts a:hover { color: var(--white); }
.site-footer__contacts { display: grid; gap: 8px; align-content: start; }
.site-footer__contacts a { color: var(--white); font-weight: 700; text-decoration: none; font-size: 17px; }
.site-footer__contacts p { margin-top: 8px; }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	font-size: 13px;
	color: rgba(255, 255, 255, .62);
}
.site-footer__bottom a { color: inherit; }
.site-footer__note { margin-left: auto; }
@media (max-width: 767px) { .site-footer__note { margin-left: 0; } }

/* ---------- Мобильная панель действий ---------- */
.action-bar { display: none; }
@media (max-width: 767px) {
	body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
	.action-bar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		-webkit-backdrop-filter: blur(12px);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--line);
	}
	.action-bar__item {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-height: 52px;
		padding-inline: 4px;
		border: 1.5px solid var(--line-strong);
		border-radius: 14px;
		background: var(--white);
		font-size: 14px;
		white-space: nowrap;
		font-weight: 700;
		text-decoration: none;
	}
	.action-bar__item--primary { background: var(--red); border-color: var(--red); color: var(--white); }
	body.nav-open .action-bar { display: none; }
}

/* ---------- Модальное окно ---------- */
.modal {
	width: min(100% - 32px, 520px);
	max-height: calc(100dvh - 32px);
	padding: 0;
	border: 0;
	border-radius: var(--radius-lg);
	background: var(--white);
	color: var(--ink);
	box-shadow: 0 32px 80px -24px rgba(0, 0, 0, .5);
	overflow: auto;
}
.modal::backdrop {
	background: rgba(14, 15, 18, .6);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
}
.modal[open] { animation: modal-in .3s var(--ease); }
@keyframes modal-in {
	from { opacity: 0; transform: translateY(16px) scale(.98); }
	to { opacity: 1; transform: none; }
}
.modal__inner { position: relative; padding: clamp(32px, 5vw, 48px) clamp(20px, 5vw, 44px) clamp(24px, 4vw, 40px); }
.swatch-strip--modal { position: absolute; top: 0; left: 0; right: 0; }
.modal__close {
	position: absolute;
	top: 16px; right: 16px;
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 50%;
	background: var(--paper);
}
.modal__close:hover { background: var(--paper-2); }
.modal__title {
	padding-right: 48px;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem);
	line-height: var(--lh-heading);
}
.modal__text { margin: 10px 0 24px; color: var(--stone); }
.modal__topic {
	display: inline-block;
	margin-bottom: 16px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--paper);
	font-size: 14px;
	font-weight: 700;
}
.modal__topic:empty { display: none; }

/* ---------- Внутренние страницы ---------- */
.page-main { padding-block: clamp(40px, 6vw, 96px); }
.page-title { margin-bottom: 32px; }

/* ---------- Появление при скролле ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .7s var(--ease), transform .7s var(--ease);
	transition-delay: var(--d, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Уменьшение движения ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
		transition-delay: 0s !important;
	}
	.js .reveal { opacity: 1; transform: none; }
	.hero__visual:hover .fan { --spread: 1; }
}

/* ---------- Печать ---------- */
@media print {
	.site-header, .action-bar, .modal, .contacts__map, .form { display: none !important; }
}
