/* ===== КОРЭН-2-Экология — стили сайта ===== */
/* Цвета, шрифт и размеры — переменные в :root, остальные правила опираются на них. */

/* ===== Шрифт подписи логотипа: Days One, локально (SIL Open Font License 1.1) ===== */
@font-face {
	font-family: "Days One";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/days-one-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
	font-family: "Days One";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/days-one-latin.woff2") format("woff2");
	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 {
	--c-forest-900: hsl(var(--hue) 56% 23%);
	--c-forest-800: hsl(var(--hue) 57% 28%);
	--c-forest-700: hsl(var(--hue) 55% 31%);
	--c-green-600: hsl(var(--hue) 55% 30%);
	--c-green-500: hsl(var(--hue) 53% 39%);
	--c-green-200: hsl(var(--hue) 39% 79%);
	--c-green-100: hsl(var(--hue) 37% 92%);
	--c-green-50: hsl(var(--hue) 41% 96%);
	--c-lime: #c5e86c;
	--c-on-dark: hsl(var(--hue) 40% 90%); /* текст на зелёных полосах — контраст AA */
	--c-ink: hsl(var(--hue) 33% 11%);
	--c-text: hsl(var(--hue) 16% 21%);
	--c-muted: hsl(var(--hue) 9% 38%);
	--c-line: hsl(var(--hue) 20% 88%);
	--c-bg: #fff;
	--c-bg-soft: hsl(var(--hue) 27% 97%);
	/* Картинки и полоса цифр перекрашиваются фильтром — так низ иллюстрации всегда совпадает с полосой */
	--hue-filter: hue-rotate(calc((var(--hue) - 148) * 1deg));
	--c-todo: #fff1a8;

	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-logo: "Days One", var(--font); /* шрифт подписи логотипа — меняется здесь */
	--radius: 14px;
	--radius-lg: 22px;
	--shadow-sm: 0 1px 2px rgb(15 47 32 / 6%), 0 4px 14px rgb(15 47 32 / 6%);
	--shadow-md: 0 14px 36px rgb(15 47 32 / 12%);
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
}

/* ===== Переливание палитры: оттенок страницы ходит зелёный → rgb(46,12,212) → rgb(12,212,46) → зелёный ===== */
@property --hue { syntax: "<number>"; inherits: true; initial-value: 148; }
:root { animation: palette-shift 18s ease-in-out infinite; }
@keyframes palette-shift { 0%, 100% { --hue: 148; } 40% { --hue: 250; } 80% { --hue: 130; } }

/* ===== Основа ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font: 400 1.0625rem/1.65 var(--font);
	-webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 {
	margin: 0 0 .5em;
	color: var(--c-ink);
	line-height: 1.15;
	letter-spacing: -.02em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.9rem); font-weight: 800; line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
abbr[title] { text-decoration: none; cursor: help; }

a { color: var(--c-forest-700); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-green-600); }

:focus-visible { outline: 3px solid var(--c-green-500); outline-offset: 3px; border-radius: 6px; }

.container {
	width: 100%;
	max-width: calc(var(--container) + 2 * var(--gutter));
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 10px;
	background: var(--c-forest-800);
	color: #fff;
	font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ===== Кнопки и ссылки ===== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 48px;
	padding: 12px 22px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: transparent;
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, translate .2s, box-shadow .2s;
}
.btn:hover { translate: 0 -1px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .95rem; }
.btn--primary { background: var(--c-green-600); color: #fff; box-shadow: 0 8px 20px hsl(var(--hue) 55% 30% / 25%); }
.btn--primary:hover { background: var(--c-forest-700); color: #fff; }
.btn--outline { border-color: var(--c-forest-700); color: var(--c-forest-700); }
.btn--outline:hover { background: var(--c-green-100); color: var(--c-forest-700); }
.btn--light { background: #fff; color: var(--c-forest-800); }
.btn--light:hover { background: var(--c-green-100); color: var(--c-forest-800); }
.btn--outline-light { border-color: rgb(255 255 255 / 55%); color: #fff; }
.btn--outline-light:hover { border-color: #fff; background: rgb(255 255 255 / 12%); color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; }
.link-arrow .icon { transition: translate .2s; }
.link-arrow:hover .icon { translate: 3px 0; }

.phone {
	color: var(--c-ink);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.phone:hover { color: var(--c-green-600); }
.phone--secondary { color: var(--c-muted); font-size: .9rem; font-weight: 600; }

/* ===== Верхняя строка ===== */
.topbar { background: var(--c-forest-800); color: var(--c-on-dark); font-size: .875rem; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; margin: 0; }
.topbar__item .icon { width: 16px; height: 16px; color: var(--c-lime); }
.topbar__links { display: flex; gap: 20px; margin-left: auto; }
.topbar__links a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar__links a:hover { color: #fff; text-decoration: underline; }
.topbar__links span { color: #fff; font-weight: 600; white-space: nowrap; }
@media (max-width: 1239.98px) { .topbar__mail { display: none; } }

/* ===== Шапка ===== */
.header {
	position: sticky;
	top: 0;
	z-index: 50;
	border-bottom: 1px solid transparent;
	transition: border-color .2s, box-shadow .2s;
}
/* Размытие — на псевдоэлементе: backdrop-filter на самой шапке сломал бы fixed-меню внутри неё */
.header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(255 255 255 / 92%);
	-webkit-backdrop-filter: saturate(1.4) blur(12px);
	backdrop-filter: saturate(1.4) blur(12px);
}
.header.is-scrolled { border-bottom-color: var(--c-line); box-shadow: 0 8px 28px rgb(15 47 32 / 8%); }
.header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--c-ink); text-decoration: none; }
.logo:hover { color: var(--c-ink); }
.logo__mark { width: auto; height: 48px; }
.logo__text { display: grid; gap: 2px; font-family: var(--font-logo); font-size: 1.3rem; font-weight: 400; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; }
.logo__text > span { white-space: nowrap; }
.logo__name { color: var(--c-ink); }
.logo__sub { color: var(--c-green-600); }
.logo--light .logo__name { color: #fff; }
.logo--light .logo__sub { color: var(--c-lime); }
.logo--light .logo__mark { filter: var(--hue-filter); }

.menu { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); margin-left: auto; }
.nav__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav__link {
	display: block;
	padding: 10px 14px;
	border-radius: 999px;
	color: var(--c-ink);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}
.nav__link:hover { background: var(--c-green-50); color: var(--c-forest-700); }
.nav__link[aria-current="page"] { background: var(--c-green-100); color: var(--c-forest-700); }
.menu__phones { display: grid; justify-items: end; gap: 2px; line-height: 1.3; }
.menu__extra { display: none; }
.menu__hours { margin: 0; color: var(--c-muted); }
.menu__messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.header__call, .burger { display: none; }

.burger__box { position: relative; width: 20px; height: 14px; }
.burger__box::before, .burger__box::after, .burger__box span {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s, opacity .2s;
}
.burger__box::before { top: 0; }
.burger__box span { top: 6px; }
.burger__box::after { top: 12px; }
.header.is-open .burger__box::before { transform: translateY(6px) rotate(45deg); }
.header.is-open .burger__box span { opacity: 0; }
.header.is-open .burger__box::after { transform: translateY(-6px) rotate(-45deg); }

/* Пять пунктов меню и телефоны помещаются в строку только от 1080px — ниже меню уходит в «бургер» */
@media (max-width: 1079.98px) {
	:root { --header-h: 64px; }

	.topbar { display: none; }
	.logo__mark { height: 42px; }
	/* Логотип, звонок и «бургер» всегда в одну строку, даже на 320px: подпись ужимается */
	.js .header__inner { flex-wrap: nowrap; gap: 10px; }
	.logo { min-width: 0; }
	.logo__text { font-size: clamp(1rem, .7rem + 2.6vw, 1.3rem); }
	.header__call {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		margin-left: auto;
		border-radius: 50%;
		background: var(--c-green-600);
		color: #fff;
	}
	.header__call:hover { background: var(--c-forest-700); color: #fff; }

	/* Без JS меню просто переносится строкой под логотип */
	.menu { order: 3; width: 100%; margin: 0 0 12px; overflow-x: auto; }
	.menu__phones { display: none; }

	.js .burger {
		display: inline-grid;
		place-items: center;
		width: 44px;
		height: 44px;
		border: 0;
		border-radius: 12px;
		background: var(--c-green-50);
		color: var(--c-forest-700);
		cursor: pointer;
	}
	.js .menu {
		position: fixed;
		inset: var(--header-h) 0 0;
		z-index: 49;
		flex-direction: column;
		align-items: stretch;
		gap: 28px;
		width: auto;
		margin: 0;
		padding: 24px var(--gutter) 40px;
		overflow-y: auto;
		border-top: 1px solid var(--c-line);
		background: #fff;
		opacity: 0;
		visibility: hidden;
		transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility 0s .2s;
	}
	.js .header.is-open .menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s; }
	.js .nav__list { flex-direction: column; gap: 4px; }
	.js .nav__link { padding: 14px 16px; border-radius: 14px; font-size: 1.25rem; }
	.js .menu__phones { display: grid; justify-items: start; gap: 6px; }
	.js .menu .phone { color: var(--c-ink); font-size: 1.2rem; }
	.js .menu__extra { display: grid; justify-items: start; gap: 14px; }
}

/* ===== Секции ===== */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--soft { background: var(--c-bg-soft); }
.section--tight { padding-block: clamp(40px, 5vw, 64px); }
.section__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__lead { color: var(--c-muted); font-size: 1.125rem; }
.section__more { margin-top: 32px; }

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--c-green-600);
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.accent { color: var(--c-green-600); }

.split {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

/* ===== Первый экран ===== */
.hero {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, hsl(var(--hue) 40% 92%) 0%, hsl(var(--hue) 50% 96%) 48%, hsl(var(--hue) 45% 97%) 100%);
}
.hero__content { position: relative; z-index: 1; padding-top: clamp(32px, 5vw, 64px); }
.hero__title { max-width: 1100px; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); }
.hero__lead { max-width: 640px; margin-top: 20px; font-size: clamp(1.06rem, .98rem + .45vw, 1.3rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__art {
	/* Иллюстрация всегда целиком, в своих пропорциях — без обрезки сверху (солнце) */
	width: 100%;
	height: auto;
	aspect-ratio: 1600 / 560;
	margin-top: clamp(12px, 3vw, 32px);
	object-fit: cover;
	object-position: 62% 100%;
	filter: var(--hue-filter);
}

/* ===== Цифры ===== */
.stats { padding-block: clamp(36px, 5vw, 56px); background: #1f7048; color: #fff; filter: var(--hue-filter); }
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.stat { padding-left: 18px; border-left: 2px solid rgb(197 232 108 / 45%); }
.stat__value {
	margin: 0;
	color: var(--c-lime);
	font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.stat__label { margin: 10px 0 0; color: #dcefe2; font-size: .97rem; line-height: 1.45; }

/* ===== Карточки ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
	padding: 28px;
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-sm);
	transition: translate .25s, box-shadow .25s, border-color .25s;
}
.card:hover { translate: 0 -4px; border-color: var(--c-green-200); box-shadow: var(--shadow-md); }
.card__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 20px;
	border-radius: 16px;
	background: var(--c-green-100);
	color: var(--c-forest-700);
}
.card__icon .icon { width: 26px; height: 26px; }
.card p { color: var(--c-muted); }

.checklist-card {
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--c-line);
	border-radius: var(--radius-lg);
	background: #fff;
	box-shadow: var(--shadow-md);
}
.checklist { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 36px; }
.checklist li::before {
	content: "";
	position: absolute;
	top: .15em;
	left: 0;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: var(--c-green-100);
}
.checklist li::after {
	content: "";
	position: absolute;
	top: calc(.15em + 6px);
	left: 9px;
	width: 6px;
	height: 10px;
	border: solid var(--c-green-600);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

/* ===== Призыв к действию ===== */
.cta {
	position: relative;
	overflow: hidden;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: 32px 48px;
	align-items: center;
	padding: clamp(28px, 5vw, 56px);
	border-radius: 28px;
	background:
		radial-gradient(circle at 92% 8%, rgb(197 232 108 / 22%), transparent 42%),
		linear-gradient(135deg, var(--c-forest-700), var(--c-forest-900));
	color: var(--c-green-100);
}
.cta > :not(.cta__leaf) { position: relative; }
.cta h2 { color: #fff; }
.cta__leaf {
	position: absolute;
	right: -40px;
	bottom: -60px;
	width: 300px;
	height: 300px;
	fill: rgb(255 255 255 / 5%);
	stroke: rgb(255 255 255 / 10%);
	stroke-width: 2;
	pointer-events: none;
}
.cta__actions { display: grid; justify-items: start; gap: 14px; }
.cta__messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__note { margin: 0; font-size: .95rem; }
.cta__note a { color: #fff; font-weight: 700; white-space: nowrap; }

/* ===== Шапка внутренних страниц ===== */
.page-head {
	position: relative;
	overflow: hidden;
	padding: clamp(32px, 5vw, 64px) 0 clamp(72px, 9vw, 132px);
	background: linear-gradient(180deg, hsl(var(--hue) 40% 92%) 0%, hsl(var(--hue) 50% 96%) 100%);
}
.page-head::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: -1px;
	left: 0;
	height: clamp(44px, 7vw, 110px);
	background: url("../img/hills.svg") center bottom / 100% 100% no-repeat;
	filter: var(--hue-filter);
	pointer-events: none;
}
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
.page-head__lead { max-width: 680px; font-size: clamp(1.05rem, .98rem + .4vw, 1.25rem); }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; color: var(--c-muted); font-size: .9rem; }
.breadcrumbs a { color: var(--c-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-forest-700); text-decoration: underline; }

/* ===== Фото и плейсхолдеры ===== */
/* Замена: <figure class="ph ratio-4x3">…</figure> → <img class="photo ratio-4x3" src="…" alt="…" width="1200" height="900" loading="lazy"> */
.ph {
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 6px;
	width: 100%;
	margin: 0;
	padding: 16px;
	border: 2px dashed var(--c-green-200);
	border-radius: var(--radius-lg);
	background: repeating-linear-gradient(135deg, var(--c-green-50) 0 12px, var(--c-green-100) 12px 24px);
	color: var(--c-forest-700);
	text-align: center;
}
.ph .icon { width: 36px; height: 36px; opacity: .7; }
.ph__label { font-weight: 700; }
.ph__size { color: var(--c-muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.photo { width: 100%; height: auto; border-radius: var(--radius-lg); object-fit: cover; }
/* Вертикальное фото двери — целиком, без обрезки */
.photo--door { width: auto; max-width: 100%; max-height: 640px; margin-inline: auto; }
.ratio-4x3 { aspect-ratio: 4 / 3; }
.ratio-3x4 { aspect-ratio: 3 / 4; }

/* ===== О компании ===== */
.prose h2 { margin-bottom: .6em; }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.fact { padding: 26px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.fact__value {
	margin: 0 0 10px;
	color: var(--c-green-600);
	font-size: clamp(2rem, 1.6rem + 1.4vw, 2.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	white-space: nowrap;
}
.fact__label { margin: 0; color: var(--c-muted); }

.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 300px)); gap: 28px; }
.person__name { margin: 18px 0 4px; font-size: 1.15rem; }
.person__role { margin: 0; color: var(--c-muted); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 20px; }
.gallery figure { margin: 0; }
.gallery figcaption { margin-top: 10px; color: var(--c-muted); font-size: .95rem; }

/* ===== Услуги ===== */
.notice {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	margin-bottom: 32px;
	padding: 20px 24px;
	border: 1px solid var(--c-green-200);
	border-radius: var(--radius);
	background: var(--c-green-50);
}
.notice .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--c-green-600); }

.table-wrap { overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 16px clamp(16px, 2.5vw, 28px); text-align: left; vertical-align: middle; }
.price-table thead th {
	background: var(--c-forest-800);
	color: #fff;
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.price-table thead th:last-child, .price-table td { width: 1%; text-align: right; white-space: nowrap; }
.price-table tbody th { color: var(--c-ink); font-weight: 500; }
.price-table tbody tr + tr > * { border-top: 1px solid var(--c-line); }
.price-table tbody tr:hover > * { background: #fafdfb; }

.badge {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--c-green-100);
	color: var(--c-forest-700);
	font-size: .9rem;
	font-weight: 700;
	white-space: nowrap;
}

.factors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.factor { padding: 26px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; }
.factor__icon {
	display: inline-grid;
	place-items: center;
	min-width: 52px;
	height: 52px;
	margin-bottom: 16px;
	padding: 0 12px;
	border-radius: 16px;
	background: var(--c-green-100);
	color: var(--c-forest-700);
	font-weight: 800;
}
.factor__icon .icon { width: 26px; height: 26px; }
.factor p { color: var(--c-muted); }


/* ===== Контакты ===== */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--c-line); }
.contact-item:first-child { padding-top: 0; }
.contact-item:last-child { border-bottom: 0; }
.contact-item__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--c-green-100);
	color: var(--c-forest-700);
}
.contact-item__label {
	margin: 0 0 6px;
	color: var(--c-muted);
	font-size: .8rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.contact-item__value { margin: 0; color: var(--c-ink); font-size: 1.15rem; font-weight: 600; }
.contact-item__hint { margin: 8px 0 0; color: var(--c-muted); font-size: .95rem; }
.phones { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.phones li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.phones .phone { font-size: 1.2rem; }
.messengers { display: flex; flex-wrap: wrap; gap: 10px; }
.hours { border-collapse: collapse; font-size: 1.05rem; }
.hours th { padding: 3px 28px 3px 0; color: var(--c-ink); font-weight: 600; text-align: left; }
.hours td { padding: 3px 0; font-variant-numeric: tabular-nums; }

.contact-photo { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; }
.contact-photo figcaption { margin-top: 12px; color: var(--c-muted); font-size: .95rem; }

.map { overflow: hidden; height: clamp(320px, 42vw, 460px); border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-green-50); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.map-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ===== Реквизиты ===== */
.requisites-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 24px; }
.requisites-note { margin: 0; color: var(--c-muted); }
.requisites { margin: 0; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.requisites div { display: grid; grid-template-columns: minmax(150px, 260px) minmax(0, 1fr); gap: 4px 24px; padding: 14px clamp(16px, 2.5vw, 28px); }
.requisites div + div { border-top: 1px solid var(--c-line); }
.requisites dt { color: var(--c-muted); font-size: .95rem; }
.requisites dd { margin: 0; color: var(--c-ink); font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ===== Подвал ===== */
.footer { padding-top: clamp(48px, 6vw, 72px); background: var(--c-forest-900); color: var(--c-green-200); font-size: .97rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1fr; gap: 32px; }
.footer__brand p { max-width: 320px; margin-top: 18px; }
.footer__title { margin: 0 0 14px; color: rgb(255 255 255 / 70%); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer__messenger { margin-top: 14px; }
.footer__social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 48px;
	padding-block: 20px;
	border-top: 1px solid rgb(255 255 255 / 10%);
	color: var(--c-on-dark);
	font-size: .875rem;
}
.footer__bottom p { margin: 0; }

/* ===== Страница 404 ===== */
.center { text-align: center; }
.narrow { max-width: 640px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }

/* ===== Адаптив ===== */
@media (min-width: 1100px) {
	/* Небо иллюстрации заходит под кнопки: солнце и облака оказываются справа от текста */
	.hero__art { margin-top: -88px; }
}

@media (max-width: 1099.98px) {
	.cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 959.98px) {
	.footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 899.98px) {
	.split, .contact-grid, .cta { grid-template-columns: minmax(0, 1fr); }
	.stats__grid, .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.contact-photo { position: static; }
}

/* На телефоне картинка в пропорциях слишком мелкая: делаем выше и обрезаем только бока */
@media (max-width: 767.98px) {
	.hero__art { aspect-ratio: auto; height: clamp(220px, 60vw, 300px); object-position: 75% 100%; }
}

@media (max-width: 599.98px) {
	.footer__grid, .cards--4 { grid-template-columns: minmax(0, 1fr); }
	.price-table th, .price-table td { padding: 14px; }
	.price-table tbody th { font-size: .97rem; }
	.badge { padding: 5px 10px; font-size: .82rem; }
	.facts, .requisites div { grid-template-columns: minmax(0, 1fr); }
	.hero__actions .btn { width: 100%; }
}

@media (max-width: 359.98px) {
	.stats__grid { grid-template-columns: minmax(0, 1fr); }
}

/* ===== Появление блоков при прокрутке ===== */
.js .reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity .6s ease var(--reveal-delay, 0s), transform .6s ease var(--reveal-delay, 0s);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { --reveal-delay: 80ms; }
.js .reveal:nth-child(3) { --reveal-delay: 160ms; }
.js .reveal:nth-child(4) { --reveal-delay: 240ms; }
.js .reveal:nth-child(5) { --reveal-delay: 320ms; }
.js .reveal:nth-child(6) { --reveal-delay: 400ms; }
.js .card.reveal {
	transition: opacity .6s ease var(--reveal-delay, 0s), transform .6s ease var(--reveal-delay, 0s),
		translate .25s, box-shadow .25s, border-color .25s;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
	:root { animation: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

@media print {
	.js .reveal { opacity: 1; transform: none; }
	.burger, .header__call, .mockup-note { display: none !important; }
}

/* ===== Макет: данные для заполнения ===== */
/* Подсвеченные жёлтым места — то, что ещё нужно уточнить. Найти: Select-String -Path *.html -Pattern 'todo' */
.todo { border-radius: 3px; background: var(--c-todo); box-shadow: 0 0 0 3px var(--c-todo); color: #4a3b00; }
a.todo, a.todo:hover, .footer a.todo, .topbar__links a.todo { color: #4a3b00; }
.btn.todo, .btn.todo:hover { border-color: #e2c84e; background: var(--c-todo); box-shadow: none; color: #4a3b00; }

.mockup-note {
	position: fixed;
	right: 16px;
	bottom: 16px;
	z-index: 60;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	max-width: 320px;
	padding: 12px 14px;
	border: 1px solid #e6cf57;
	border-radius: 12px;
	background: #fffbe0;
	box-shadow: var(--shadow-md);
	color: #4a3b00;
	font-size: .875rem;
	line-height: 1.45;
}
.mockup-note button { padding: 0 2px; border: 0; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer; }
.menu-open .mockup-note { display: none; }
