/* ---------------------------------------------------------------------------
   7trees — базовая тема. Токены дизайна сняты с текущего сайта:
   тёмный фон, Inter, крупные заголовки капсом, скругления 12–24 px.
   --------------------------------------------------------------------------- */

:root {
	--bg: #121212;
	--bg-dark: #000000;
	--text: #ffffff;
	--muted: #c5c9d3;
	--dim: #a3aabc;
	--line: rgba(255, 255, 255, 0.14);
	--accent: #c5c9d3;
	--dark: #1e1e1e;
	--container: 1200px;
	--pad: 20px;
	--radius: 16px;
	--radius-lg: 24px;
	--section-y: 96px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: 'Inter', Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img,
svg {
	max-width: 100%;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
	margin: 0;
}

ul {
	list-style: none;
	padding: 0;
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--pad);
}

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ---------- типографика ---------- */
.h1 {
	font-size: 56px;
	line-height: 1.08;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.h2 {
	font-size: 40px;
	line-height: 1.15;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.h3 {
	font-size: 24px;
	line-height: 1.25;
	font-weight: 500;
}

.lead {
	font-size: 18px;
	line-height: 1.5;
	color: var(--muted);
}

.small {
	font-size: 14px;
	line-height: 1.5;
	color: var(--dim);
}

.section {
	padding: var(--section-y) 0;
}

.section_head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
}

.section_line {
	width: 100px;
	height: 1px;
	background: var(--muted);
	margin-top: 18px;
}

/* ---------- кнопки ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	padding: 0 28px;
	border-radius: 12px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	cursor: pointer;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.btn:hover {
	opacity: 0.8;
}

.btn_primary {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--dark);
}

.btn_primary:hover {
	opacity: 0.9;
}

.btn_wide {
	width: 100%;
}

/* ---------- шапка ---------- */
.header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 18px 0;
	transition: background-color 0.25s ease, padding 0.25s ease;
}

.header_scrolled {
	background: rgba(18, 18, 18, 0.92);
	backdrop-filter: blur(8px);
	padding: 12px 0;
}

.header__inner {
	display: flex;
	align-items: center;
	gap: 32px;
}

.header__logo {
	width: 115px;
	flex: 0 0 auto;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-left: 40px;
}

.header__link {
	font-size: 13px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #fff;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.header__link:hover {
	opacity: 0.6;
}

.header__right {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 18px;
}

.header__phone {
	font-size: 17px;
	white-space: nowrap;
}

.header__max {
	width: 34px;
	height: 34px;
}

.header__burger {
	display: none;
	width: 44px;
	height: 44px;
	margin-left: auto;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
}

.header__burger span,
.header__burger::before,
.header__burger::after {
	content: '';
	display: block;
	height: 2px;
	background: #fff;
	margin: 6px auto;
	width: 26px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

/* мобильное меню */
.mobile-menu {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: #121212;
	padding: 24px var(--pad);
	display: none;
	flex-direction: column;
	gap: 8px;
	overflow-y: auto;
}

.mobile-menu_open {
	display: flex;
}

.mobile-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 24px;
}

.mobile-menu__close {
	width: 40px;
	height: 40px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.mobile-menu__link {
	font-size: 16px;
	text-transform: uppercase;
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
}

.mobile-menu__socials {
	display: flex;
	gap: 10px;
	margin-top: 24px;
}

/* ---------- первый экран ---------- */
.hero {
	position: relative;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 140px 0 80px;
	overflow: hidden;
}

.hero__bg {
	position: absolute;
	inset: 0;
	background: #1a1a1a center/cover no-repeat;
	z-index: 0;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.6) 45%, rgba(0, 0, 0, 0.22) 100%);
	z-index: 1;
}

.hero__inner {
	position: relative;
	z-index: 2;
	max-width: 820px;
}

.hero__title {
	font-size: 46px;
	line-height: 1.08;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: -0.01em;
}

.hero__subtitle {
	margin-top: 22px;
	font-size: 15px;
	line-height: 1.5;
	text-transform: uppercase;
	color: #fff;
	opacity: 0.92;
	max-width: 700px;
}

.hero__actions {
	display: flex;
	gap: 14px;
	margin-top: 34px;
	flex-wrap: wrap;
}

.hero__socials {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 44px;
}

.hero__socials-label {
	font-size: 13px;
	color: var(--muted);
	margin-right: 4px;
}

.social-list {
	display: flex;
	align-items: center;
	gap: 10px;
}

.social {
	width: 32px;
	height: 32px;
	display: inline-flex;
	transition: opacity 0.2s ease;
}

.social:hover {
	opacity: 0.65;
}

/* ---------- направления ---------- */
.directions {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.direction {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 420px;
	padding: 32px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #1a1a1a center/cover no-repeat;
	isolation: isolate;
}

.direction::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
	z-index: -1;
}

.direction__title {
	font-size: 34px;
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1.15;
}

.direction__text {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
	max-width: 420px;
}

.direction__link {
	margin-top: 18px;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 12px;
	font-size: 14px;
}

/* ---------- цифры ---------- */
.numbers {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	border-top: 1px solid var(--line);
	padding-top: 48px;
}

.number__value {
	font-size: 64px;
	line-height: 1;
	font-weight: 500;
}

.number__text {
	margin-top: 12px;
	font-size: 15px;
	line-height: 1.45;
	color: var(--muted);
}

/* ---------- преимущества ---------- */
.advantages {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 60px;
}

.advantage__title {
	font-size: 22px;
	line-height: 1.25;
	font-weight: 500;
}

.advantage__text {
	margin-top: 10px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

/* ---------- условия ---------- */
.conditions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin-top: 8px;
}

.condition {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.condition__title {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 8px;
}

.condition__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

/* ---------- этапы ---------- */
.steps {
	display: grid;
	gap: 0;
	margin-top: 8px;
}

.step {
	display: grid;
	grid-template-columns: 64px 1fr;
	gap: 24px;
	padding: 26px 0;
	border-top: 1px solid var(--line);
	align-items: start;
}

.step:last-child {
	border-bottom: 1px solid var(--line);
}

.step__num {
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--muted);
}

.step__title {
	font-size: 22px;
	font-weight: 400;
	line-height: 1.3;
}

.step__text {
	margin-top: 6px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

/* ---------- проекты в ЖК ---------- */
.jk__title {
	font-size: 40px;
	line-height: 1.15;
	font-weight: 500;
	text-transform: uppercase;
	max-width: 720px;
}

.jk__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
	margin: 28px 0;
}

.jk__item {
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 15px;
	color: var(--text);
}

.jk__note {
	font-size: 18px;
	color: var(--muted);
}

/* ---------- галерея ---------- */
.gallery {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}

.gallery__item {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	border-radius: var(--radius);
	overflow: hidden;
	background: #1a1a1a;
	cursor: zoom-in;
}

.gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gallery__item:hover img {
	transform: scale(1.04);
}

/* лайтбокс */
.lightbox {
	position: fixed;
	inset: 0;
	z-index: 300;
	background: rgba(0, 0, 0, 0.92);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.lightbox_open {
	display: flex;
}

.lightbox img {
	max-width: 92vw;
	max-height: 88vh;
	object-fit: contain;
	border-radius: 8px;
}

.lightbox__close {
	position: absolute;
	top: 20px;
	right: 24px;
	width: 44px;
	height: 44px;
	border: none;
	background: transparent;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
}

/* ---------- партнёры ---------- */
.partners {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	align-items: center;
}

.partners img {
	max-height: 56px;
	width: auto;
	object-fit: contain;
	opacity: 0.9;
}

/* ---------- дизайнерам ---------- */
.designers {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	align-items: start;
	padding: 56px;
	border-radius: var(--radius-lg);
	background: #171717;
}

.designers__list {
	display: grid;
	gap: 14px;
	margin: 24px 0 28px;
}

.designers__item {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

.designers__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--dim);
}

/* ---------- форма ---------- */
.form-section {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.form {
	display: grid;
	gap: 14px;
}

.field {
	display: block;
}

.field__label {
	display: block;
	font-size: 14px;
	color: var(--muted);
	margin-bottom: 6px;
}

.field input,
.field textarea {
	width: 100%;
	padding: 14px 16px;
	font-family: inherit;
	font-size: 15px;
	color: var(--dark);
	background: #fff;
	border: 1px solid #e3e3e3;
	border-radius: 8px;
	outline: none;
	transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus {
	border-color: var(--dim);
}

.field textarea {
	resize: vertical;
	min-height: 96px;
}

.consent {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 12px;
	line-height: 1.45;
	color: var(--dim);
}

.consent input {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	accent-color: var(--accent);
}

.consent a {
	color: var(--muted);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.consent_error {
	color: #e07a6a;
}

/* ---------- подвал ---------- */
.footer {
	background: #000;
	padding: 64px 0 28px;
	font-size: 14px;
}

.footer__top {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--line);
}

.footer__logo {
	width: 120px;
	margin-bottom: 18px;
}

.footer__label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dim);
	margin-bottom: 10px;
}

.footer__col a:hover {
	opacity: 0.7;
}

.footer__phone {
	display: block;
	font-size: 18px;
	margin-bottom: 6px;
}

.footer__links {
	display: grid;
	gap: 8px;
}

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	align-items: center;
	padding-top: 22px;
	font-size: 12px;
	color: var(--dim);
}

.footer__bottom a {
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__copy {
	margin-left: auto;
}

/* ---------- адаптив ---------- */
@media screen and (max-width: 1199px) {
	:root {
		--section-y: 80px;
	}

	.hero__title,
	.h1 {
		font-size: 44px;
	}

	.h2 {
		font-size: 32px;
	}

	.jk__title {
		font-size: 32px;
	}

	.header__nav {
		gap: 18px;
		margin-left: 24px;
	}

	.header__link {
		font-size: 12px;
	}

	.designers {
		padding: 40px;
		gap: 40px;
	}
}

@media screen and (max-width: 959px) {
	:root {
		--section-y: 64px;
	}

	.header__nav,
	.header__phone,
	.header__max {
		display: none;
	}

	.header__burger {
		display: block;
	}

	.hero {
		min-height: 620px;
		padding: 110px 0 64px;
	}

	.hero__title {
		font-size: 30px;
	}

	.hero__subtitle {
		font-size: 13px;
		margin-top: 16px;
	}

	.hero__actions {
		margin-top: 26px;
	}

	.hero__actions .btn {
		flex: 1 1 auto;
	}

	.hero__socials {
		margin-top: 28px;
	}

	.directions,
	.advantages,
	.conditions,
	.form-section,
	.designers,
	.footer__top {
		grid-template-columns: 1fr;
	}

	.numbers {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.number__value {
		font-size: 48px;
	}

	.direction {
		min-height: 320px;
		padding: 24px;
	}

	.direction__title {
		font-size: 26px;
	}

	.gallery {
		grid-template-columns: 1fr 1fr;
	}

	.partners {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.designers {
		padding: 28px 20px;
	}

	.h2 {
		font-size: 26px;
	}

	.jk__title {
		font-size: 26px;
	}

	.step {
		grid-template-columns: 52px 1fr;
		gap: 16px;
	}

	.footer {
		padding-top: 44px;
	}

	.footer__copy {
		margin-left: 0;
		width: 100%;
	}
}

@media screen and (max-width: 479px) {
	.hero__title {
		font-size: 24px;
	}

	.hero__actions {
		flex-direction: column;
		align-items: stretch;
	}

	.hero__socials-label {
		display: none;
	}

	.gallery {
		grid-template-columns: 1fr;
	}

	.gallery__item {
		aspect-ratio: 4 / 3;
	}

	.btn {
		height: 50px;
		font-size: 14px;
	}
}

/* служебные элементы формы: ловушка для ботов и ошибка согласия */
.tz-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.tz-consent-error {
	display: none;
	margin-top: 6px;
	font-size: 12px;
	color: #e07a6a;
}

.tz-consent_invalid .tz-consent-input {
	outline: 2px solid #e07a6a;
	outline-offset: 2px;
}

.tz-form-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* иконки соцсетей: единый размер для всех, включая Telegram (у него нет width/height в svg) */
.social-list {
	display: flex;
	align-items: center;
	gap: 10px;
}

.tz-soc,
.social {
	display: inline-flex;
	width: 32px;
	height: 32px;
}

.tz-soc svg,
.social svg,
.tz-soc-svg {
	width: 100%;
	height: 100%;
	display: block;
}

.mobile-menu__socials .tz-soc,
.footer .tz-soc {
	width: 34px;
	height: 34px;
}

/* ---------- внутренние страницы ---------- */
.hero_inner {
	min-height: 62vh;
	padding: 150px 0 80px;
}

.hero_inner .hero__title {
	font-size: 44px;
	max-width: 720px;
}

.hero_inner .hero__subtitle {
	text-transform: none;
	font-size: 17px;
	max-width: 640px;
	opacity: 0.9;
}

/* карточки «Что делаем» */
.cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	min-height: 150px;
}

.card__title {
	font-size: 20px;
	font-weight: 500;
	margin-bottom: 8px;
}

.card__text {
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

/* материалы и фурнитура */
.materials {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.materials__list {
	display: grid;
	gap: 14px;
}

.materials__item {
	padding-left: 26px;
	position: relative;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
}

.materials__item::before {
	content: '';
	position: absolute;
	left: 0;
	top: 9px;
	width: 8px;
	height: 8px;
	border-radius: 2px;
	background: var(--dim);
}

@media screen and (max-width: 959px) {
	.cards {
		grid-template-columns: 1fr;
	}

	.materials {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.hero_inner {
		min-height: 0;
		padding: 110px 0 56px;
	}

	.hero_inner .hero__title {
		font-size: 26px;
	}

	.hero_inner .hero__subtitle {
		font-size: 15px;
	}
}

/* ---------- калькулятор ---------- */
.calc {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 40px;
	align-items: start;
}

.calc__steps {
	display: grid;
	gap: 28px;
}

.calc__label {
	display: flex;
	align-items: baseline;
	gap: 12px;
	font-size: 15px;
	color: var(--muted);
	margin-bottom: 12px;
}

.calc__label span:first-child {
	font-size: 13px;
	color: var(--dim);
}

.calc__options {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.chip {
	padding: 11px 18px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-family: inherit;
	font-size: 14px;
	cursor: pointer;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.chip:hover {
	border-color: rgba(255, 255, 255, 0.45);
}

.chip_active {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--dark);
}

.calc__size {
	display: flex;
	align-items: center;
	gap: 20px;
}

.calc__size input[type="range"] {
	flex: 1 1 auto;
	accent-color: var(--accent);
	height: 4px;
}

.calc__size-value {
	font-size: 15px;
	color: var(--muted);
	white-space: nowrap;
}

.calc__size-value b {
	color: #fff;
	font-weight: 500;
}

.calc__result {
	position: sticky;
	top: 96px;
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	background: #171717;
}

.calc__result-label {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dim);
	margin-bottom: 10px;
}

.calc__params {
	font-size: 14px;
	line-height: 1.5;
	color: var(--muted);
	min-height: 42px;
}

.calc__price {
	font-size: 40px;
	line-height: 1.1;
	font-weight: 500;
	margin: 14px 0 20px;
}

.calc__note {
	margin-top: 14px;
	font-size: 12px;
	line-height: 1.5;
	color: var(--dim);
}

.calc__details {
	margin-top: 16px;
	font-size: 13px;
	color: var(--muted);
}

.calc__details summary {
	cursor: pointer;
	color: #fff;
	margin-bottom: 8px;
}

@media screen and (max-width: 959px) {
	.calc {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.calc__result {
		position: static;
	}

	.calc__price {
		font-size: 30px;
	}
}

/* ---------- страница «Проекты» ---------- */
.projects {
	display: grid;
	gap: 48px;
}

.project {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 40px;
	align-items: center;
}

.project__photo {
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #1a1a1a;
}

.project__photo img {
	width: 100%;
	height: 420px;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.project__photo:hover img {
	transform: scale(1.03);
}

.project__meta {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--dim);
	margin-bottom: 10px;
}

.project__title {
	font-size: 30px;
	line-height: 1.2;
	font-weight: 500;
	margin-bottom: 16px;
}

.project__text {
	font-size: 15px;
	line-height: 1.55;
	color: var(--muted);
	margin-bottom: 8px;
}

.project__text b {
	color: #fff;
	font-weight: 500;
}

.project__dim {
	color: var(--dim);
	font-size: 13px;
	margin-top: 14px;
}

/* ---------- «Шоурум» / «Контакты»: карта ---------- */
.map {
	position: relative;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	background: #1e1e1e;
}

.map__canvas {
	width: 100%;
	height: 420px;
}

.map__canvas:empty::after {
	content: 'Загрузка карты…';
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: var(--dim);
}

.map__more {
	margin: 12px 0 0;
	text-align: right;
}

.map__link {
	font-size: 13px;
	color: var(--muted);
	border-bottom: 1px solid var(--line);
}

.map__link:hover {
	color: var(--text);
}

@media screen and (max-width: 959px) {
	.map__canvas {
		height: 320px;
	}
}

/* ---------- «Контакты» ---------- */
.contacts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

.contacts-card {
	padding: 28px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.contacts-card__big {
	display: block;
	font-size: 24px;
	margin-top: 4px;
}

.contacts-card__link {
	display: block;
	font-size: 15px;
	line-height: 1.5;
	color: var(--muted);
	margin-top: 4px;
}

@media screen and (max-width: 959px) {
	.project {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.project__photo img {
		height: 260px;
	}

	.project__title {
		font-size: 22px;
	}

	.contacts-grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- плашка cookie ---------- */
.cookie {
	position: fixed;
	left: 20px;
	bottom: 20px;
	z-index: 250;
	max-width: 560px;
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.cookie_open {
	opacity: 1;
	transform: none;
}

.cookie__body {
	padding: 22px 24px;
	border-radius: var(--radius);
	background: rgba(23, 23, 23, 0.97);
	border: 1px solid var(--line);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(6px);
}

.cookie__text {
	font-size: 13px;
	line-height: 1.5;
	color: var(--muted);
}

.cookie__text a {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie__actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	flex-wrap: wrap;
}

.cookie__actions .btn {
	height: 44px;
	padding: 0 22px;
	font-size: 14px;
}

.cookie__decline {
	border: none;
	background: transparent;
	color: var(--dim);
	font-family: inherit;
	font-size: 13px;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.cookie__decline:hover {
	color: #fff;
}

@media screen and (max-width: 639px) {
	.cookie {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
	}

	.cookie__body {
		padding: 18px;
	}

	.cookie__actions .btn {
		width: 100%;
	}
}
