/* ==========================================================================
   ТермоПанелиКонструктор — стили темы
   ========================================================================== */

:root {
	--tp-bg: #f7f5f0;
	--tp-bg-alt: #efede7;
	--tp-white: #ffffff;
	--tp-stone-50: #fafaf9;
	--tp-stone-100: #f5f5f4;
	--tp-stone-200: #e7e5e4;
	--tp-stone-300: #d6d3d1;
	--tp-stone-400: #a8a29e;
	--tp-stone-500: #78716c;
	--tp-stone-600: #57534e;
	--tp-stone-700: #44403c;
	--tp-stone-800: #292524;
	--tp-stone-900: #1c1917;
	--tp-green-800: #166534;
	--tp-green-900: #14532d;
	--tp-green-950: #052e16;
	--tp-orange-500: #f97316;
	--tp-orange-600: #ea580c;
	--tp-radius: 16px;
	--tp-radius-sm: 10px;
	--tp-shadow: 0 12px 32px -12px rgba(28, 25, 23, 0.18);
	--tp-shadow-lg: 0 28px 60px -24px rgba(28, 25, 23, 0.3);
	--tp-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--tp-font-display: "Manrope", "Inter", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body.tp-body {
	margin: 0;
	background: var(--tp-bg);
	color: var(--tp-stone-900);
	font-family: var(--tp-font);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

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

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

.tp-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}
.tp-container--narrow { max-width: 900px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
	position: fixed; left: 16px; top: 16px; z-index: 999;
	width: auto; height: auto; clip: auto;
	background: var(--tp-white); padding: 10px 16px; border-radius: 8px;
}

/* ─── Типографика ──────────────────────────────────────────────────────── */
.tp-h1, .tp-h2, .tp-benefit__title, .tp-step__title, .tp-card__title {
	font-family: var(--tp-font-display);
	letter-spacing: -0.02em;
	margin: 0;
}
.tp-h1 {
	font-size: clamp(34px, 5vw, 56px);
	font-weight: 800;
	line-height: 1.07;
}
.tp-h1--archive, .tp-h1--page { font-size: clamp(28px, 4vw, 42px); margin-bottom: 24px; }
.tp-h2 {
	font-size: clamp(26px, 3.2vw, 38px);
	font-weight: 800;
	line-height: 1.15;
}
.tp-lead {
	margin: 12px 0 0;
	max-width: 620px;
	color: var(--tp-stone-600);
	font-size: 17px;
}
.tp-kicker {
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.16em;
	margin-bottom: 8px;
}
.tp-kicker--orange { color: var(--tp-orange-600); }
.tp-kicker--green { color: var(--tp-green-800); }

.tp-section-head { max-width: 720px; margin-bottom: 36px; }
.tp-section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.tp-section-head--row {
	display: flex; flex-wrap: wrap; align-items: flex-end;
	justify-content: space-between; gap: 20px; max-width: none;
}
.tp-section-head--row .tp-lead { max-width: 560px; }
.tp-section-head--dark .tp-h2 { color: #fff; }

/* ─── Кнопки ───────────────────────────────────────────────────────────── */
.tp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	border: 1px solid transparent;
	border-radius: 12px;
	padding: 11px 20px;
	font-family: var(--tp-font);
	font-size: 14px; font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tp-btn:hover { transform: translateY(-1px); }
.tp-btn--green { background: var(--tp-green-900); color: #fff; }
.tp-btn--green:hover { background: #15803d; }
.tp-btn--orange {
	background: var(--tp-orange-600); color: #fff;
	box-shadow: 0 10px 24px -12px rgba(234, 88, 12, .8);
}
.tp-btn--orange:hover { background: var(--tp-orange-500); }
.tp-btn--ghost { background: var(--tp-white); color: var(--tp-stone-800); border-color: var(--tp-stone-300); }
.tp-btn--ghost:hover { border-color: var(--tp-stone-500); }
.tp-btn--dark { background: var(--tp-stone-900); color: #fff; }
.tp-btn--dark:hover { background: #44403c; }
.tp-btn--outline { background: transparent; color: var(--tp-green-800); border-color: rgba(22, 101, 52, .35); }
.tp-btn--outline:hover { background: var(--tp-green-900); color: #fff; }
.tp-btn--lg { padding: 15px 26px; }
.tp-btn--sm { padding: 8px 14px; font-size: 12px; border-radius: 10px; }
.tp-btn--block { width: 100%; }
.tp-btn[disabled] { opacity: .35; cursor: not-allowed; transform: none; }

/* ─── Шапка ────────────────────────────────────────────────────────────── */
.tp-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 245, 240, .92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(231, 229, 228, .9);
}
.tp-header__in {
	display: flex; align-items: center; justify-content: space-between;
	gap: 20px; height: 66px;
}
.tp-logo { display: inline-flex; align-items: center; gap: 10px; }
.tp-logo__mark {
	display: grid; place-items: center;
	width: 36px; height: 36px; border-radius: 12px;
	background: var(--tp-green-900); color: #fff; font-size: 18px;
}
.tp-logo__text { display: flex; flex-direction: column; line-height: 1.15; }
.tp-logo__text b { font-family: var(--tp-font-display); font-size: 15px; font-weight: 800; }
.tp-logo__text i {
	font-style: normal; font-size: 10px; font-weight: 600;
	letter-spacing: .16em; text-transform: uppercase; color: var(--tp-stone-500);
}
.tp-nav__list, .tp-mobile-nav__list, .tp-footer__list { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.tp-nav__list a, .tp-footer__list a { font-size: 14px; font-weight: 600; color: var(--tp-stone-600); }
.tp-nav__list a:hover, .tp-footer__list a:hover { color: var(--tp-green-800); }
.tp-header__actions { display: flex; align-items: center; gap: 14px; }
.tp-header__phone { font-size: 14px; font-weight: 800; }
.tp-burger {
	display: none; width: 40px; height: 40px;
	border: 1px solid var(--tp-stone-300); border-radius: 10px;
	background: #fff; font-size: 18px; cursor: pointer;
}
.tp-mobile-nav { border-top: 1px solid var(--tp-stone-200); background: var(--tp-bg); padding: 8px 20px 14px; }
.tp-mobile-nav__list { flex-direction: column; gap: 2px; }
.tp-mobile-nav__list a { display: block; padding: 11px 8px; border-radius: 10px; font-weight: 600; }
.tp-mobile-nav__list a:hover { background: var(--tp-stone-200); }

.tp-crumbs { padding: 18px 20px 0; font-size: 13px; color: var(--tp-stone-500); }
.tp-crumbs span { margin: 0 6px; color: var(--tp-stone-400); }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.tp-hero { overflow: hidden; }
.tp-hero__grid {
	display: grid; gap: 44px; align-items: center;
	grid-template-columns: 1fr; padding: 44px 20px 56px;
}
.tp-badge {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid rgba(20, 83, 45, .2); border-radius: 999px;
	background: rgba(20, 83, 45, .06);
	padding: 7px 14px; margin-bottom: 18px;
	font-size: 12px; font-weight: 700; color: var(--tp-green-900);
}
.tp-hero__lead { margin-top: 20px; }
.tp-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.tp-stats {
	display: grid; gap: 20px 24px;
	grid-template-columns: repeat(2, 1fr);
	margin: 40px 0 0; padding: 0;
}
.tp-stat__value { font-family: var(--tp-font-display); font-size: 30px; font-weight: 800; }
.tp-stat__label { margin: 0; font-size: 12px; color: var(--tp-stone-500); }
.tp-hero__preview { position: relative; }
.tp-hero__frame {
	border: 1px solid var(--tp-stone-200); border-radius: 24px;
	background: #fff; overflow: hidden;
	box-shadow: var(--tp-shadow-lg);
}
.tp-chip {
	position: absolute;
	border: 1px solid var(--tp-stone-200); border-radius: 16px;
	background: #fff; padding: 10px 16px;
	box-shadow: var(--tp-shadow);
	display: flex; flex-direction: column;
}
.tp-chip--left { bottom: -14px; left: -6px; }
.tp-chip--right { top: -12px; right: 8px; }
.tp-chip__label { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--tp-stone-400); }
.tp-chip b { font-family: var(--tp-font-display); font-size: 22px; font-weight: 800; }
.tp-chip--left b { color: var(--tp-green-800); }

/* ─── Карточки ─────────────────────────────────────────────────────────── */
.tp-card {
	background: var(--tp-white);
	border: 1px solid var(--tp-stone-200);
	border-radius: var(--tp-radius);
}
.tp-card__title { font-size: 14px; font-weight: 800; margin-bottom: 14px; }
.tp-card__label {
	font-size: 11px; font-weight: 700; letter-spacing: .14em;
	text-transform: uppercase; color: var(--tp-stone-400);
}

/* ─── Конструктор ──────────────────────────────────────────────────────── */
.tp-constructor { padding: 56px 0; background: var(--tp-bg-alt); }
.tp-actions { display: flex; gap: 8px; }
.tp-presets {
	display: flex; gap: 10px; overflow-x: auto;
	padding-bottom: 6px; margin-bottom: 22px;
}
.tp-preset {
	flex: 0 0 auto; text-align: left; cursor: pointer;
	border: 1px solid var(--tp-stone-200); border-radius: 14px;
	background: #fff; padding: 10px 16px;
	box-shadow: 0 1px 2px rgba(28,25,23,.04);
}
.tp-preset:hover { border-color: var(--tp-green-800); }
.tp-preset b { display: block; font-size: 14px; }
.tp-preset span { font-size: 11px; color: var(--tp-stone-500); }
.tp-constructor__grid {
	display: grid; gap: 22px; grid-template-columns: 1fr;
}
.tp-card--preview { overflow: hidden; box-shadow: var(--tp-shadow); }
.tp-preview__bar {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
	gap: 12px; padding: 12px 16px; border-top: 1px solid var(--tp-stone-100);
}
.tp-preview__house { font-size: 12px; color: var(--tp-stone-500); }
.tp-preview__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-card--variants { margin-top: 18px; padding: 16px; }
.tp-variants { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.tp-variant { position: relative; border: 1px solid var(--tp-stone-200); border-radius: 12px; overflow: hidden; background: #fff; }
.tp-variant > button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.tp-variant__row { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 8px; }
.tp-variant__name { font-size: 10px; font-weight: 700; color: var(--tp-stone-600); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tp-variant__del { border: 0; background: none; color: #f87171; font-size: 11px; font-weight: 800; cursor: pointer; }
.tp-card--panel { display: flex; flex-direction: column; box-shadow: var(--tp-shadow); }
.tp-steps { display: flex; overflow-x: auto; border-bottom: 1px solid var(--tp-stone-100); }
.tp-step-tab {
	flex: 1 0 74px; display: flex; flex-direction: column; align-items: center; gap: 2px;
	border: 0; border-bottom: 2px solid transparent;
	background: none; padding: 12px 8px; cursor: pointer;
	font-size: 11px; font-weight: 700; color: var(--tp-stone-500);
}
.tp-step-tab span { font-size: 16px; line-height: 1; }
.tp-step-tab.is-active {
	border-bottom-color: var(--tp-green-800);
	background: rgba(22, 101, 52, .07);
	color: var(--tp-green-900);
}
.tp-panel { flex: 1 1 auto; overflow-y: auto; padding: 18px; max-height: 620px; }
.tp-panel__nav {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	border-top: 1px solid var(--tp-stone-100); padding: 12px 16px;
}
.tp-navlink { border: 0; background: none; font-size: 12px; font-weight: 700; color: var(--tp-stone-500); cursor: pointer; }
.tp-panel__step { font-size: 11px; color: var(--tp-stone-400); }

.tp-group-label {
	font-size: 11px; font-weight: 800; letter-spacing: .14em;
	text-transform: uppercase; color: var(--tp-stone-500);
	margin: 20px 0 8px;
}
.tp-group-label:first-child { margin-top: 0; }
.tp-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-color {
	width: 32px; height: 32px; padding: 0;
	border: 1px solid rgba(0,0,0,.15); border-radius: 10px; cursor: pointer;
	transition: transform .12s ease;
}
.tp-color:hover { transform: scale(1.1); }
.tp-color.is-active { outline: 2px solid var(--tp-green-800); outline-offset: 2px; }
.tp-textures { display: grid; gap: 8px; grid-template-columns: repeat(5, 1fr); }
.tp-texture {
	border: 1px solid var(--tp-stone-200); border-radius: 12px;
	background: #fff; padding: 6px; cursor: pointer;
	display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.tp-texture:hover { border-color: var(--tp-stone-500); }
.tp-texture.is-active { border-color: var(--tp-green-800); background: rgba(22,101,52,.06); }
.tp-texture span { font-size: 9px; font-weight: 700; line-height: 1.15; text-align: center; color: var(--tp-stone-700); }
.tp-cards2 { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); }
.tp-optcard {
	text-align: left; border: 1px solid var(--tp-stone-200); border-radius: 12px;
	background: #fff; padding: 10px 12px; cursor: pointer;
}
.tp-optcard b { display: block; font-size: 12px; }
.tp-optcard span { font-size: 10px; color: var(--tp-stone-500); line-height: 1.3; display: block; }
.tp-optcard.is-active { border-color: var(--tp-green-800); background: rgba(22,101,52,.06); }
.tp-houses { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.tp-house {
	border: 1px solid var(--tp-stone-200); border-radius: 12px; overflow: hidden;
	background: #fff; padding: 0; cursor: pointer; text-align: left;
}
.tp-house.is-active { border-color: var(--tp-green-800); box-shadow: inset 0 0 0 1px var(--tp-green-800); }
.tp-house__meta { padding: 8px 10px; }
.tp-house__meta b { font-size: 12px; display: block; }
.tp-house__meta span { font-size: 10px; color: var(--tp-stone-500); line-height: 1.25; display: block; }
.tp-note {
	border-radius: 10px; background: #fffbeb; color: #92400e;
	padding: 10px 12px; font-size: 12px; line-height: 1.4;
}
.tp-hint { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tp-toggle { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; cursor: pointer; }
.tp-toggle input { appearance: none; width: 44px; height: 24px; border-radius: 999px; background: var(--tp-stone-300); position: relative; cursor: pointer; transition: background .2s; margin: 0; }
.tp-toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.tp-toggle input:checked { background: var(--tp-green-900); }
.tp-toggle input:checked::after { left: 22px; }
.tp-seams { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-seam {
	display: inline-flex; align-items: center; gap: 8px;
	border: 1px solid var(--tp-stone-200); border-radius: 10px;
	background: #fff; padding: 6px 12px; cursor: pointer;
	font-size: 12px; font-weight: 700; color: var(--tp-stone-600);
}
.tp-seam i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.tp-seam.is-active { border-color: var(--tp-green-800); background: rgba(22,101,52,.06); color: var(--tp-green-900); }

/* Калькулятор */
.tp-calc-inputs { display: grid; gap: 16px; background: var(--tp-stone-50); border-radius: 12px; padding: 16px; }
.tp-calc-input label { display: block; }
.tp-calc-input__top { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 700; }
.tp-calc-input__top b { color: var(--tp-green-800); }
.tp-calc-input input[type="range"] { width: 100%; accent-color: var(--tp-green-900); margin: 6px 0 2px; }
.tp-calc-input small { font-size: 10px; color: var(--tp-stone-400); }
.tp-rows { margin-top: 16px; }
.tp-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--tp-stone-200); }
.tp-row:last-child { border-bottom: 0; }
.tp-row__label b { display: block; font-size: 14px; }
.tp-row__label small { font-size: 11px; color: var(--tp-stone-500); }
.tp-row__value { font-size: 14px; font-weight: 700; white-space: nowrap; }
.tp-total {
	display: flex; align-items: center; justify-content: space-between; gap: 14px;
	background: var(--tp-green-900); color: #fff;
	border-radius: 12px; padding: 14px 16px; margin-top: 12px;
}
.tp-total__label { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: #a7f3d0; }
.tp-total__sum { font-family: var(--tp-font-display); font-size: 22px; font-weight: 800; }
.tp-total__m2 { font-size: 11px; color: #a7f3d0; text-align: right; }
.tp-calc-note { font-size: 11px; color: var(--tp-stone-400); margin: 8px 0 0; }

.tp-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
	z-index: 100; background: var(--tp-stone-900); color: #fff;
	border-radius: 12px; padding: 12px 20px;
	font-size: 14px; font-weight: 600; box-shadow: var(--tp-shadow-lg);
}

/* ─── Каталог ──────────────────────────────────────────────────────────── */
.tp-catalog { padding: 56px 0; background: #fff; }
.tp-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-chipbtn {
	border: 0; border-radius: 999px; background: var(--tp-stone-100);
	padding: 9px 16px; cursor: pointer; font-size: 12px; font-weight: 700; color: var(--tp-stone-600);
}
.tp-chipbtn.is-active { background: var(--tp-green-900); color: #fff; }
.tp-catalog__grid {
	display: grid; gap: 16px;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.tp-product[hidden] { display: none; }
.tp-product {
	border: 1px solid var(--tp-stone-200); border-radius: 16px; background: #fff;
	padding: 12px; transition: transform .2s ease, box-shadow .2s ease;
}
.tp-product:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow); }
.tp-product__media { position: relative; }
.tp-tag {
	position: absolute; left: 8px; top: 8px;
	border-radius: 999px; padding: 2px 8px;
	font-size: 10px; font-weight: 800; text-transform: uppercase; color: #fff;
}
.tp-tag--orange { background: var(--tp-orange-600); }
.tp-tag--green { background: var(--tp-green-900); }
.tp-product__title { font-family: var(--tp-font-display); font-size: 15px; font-weight: 800; margin: 12px 0 0; }
.tp-product__desc { font-size: 11px; color: var(--tp-stone-500); line-height: 1.45; margin: 6px 0 0; }
.tp-product__price { display: flex; align-items: baseline; justify-content: space-between; margin: 10px 0 0; }
.tp-product__price b { color: var(--tp-green-800); font-size: 15px; }
.tp-product__price span { font-size: 10px; color: var(--tp-stone-400); }
.tp-product__cta { width: 100%; margin-top: 10px; }

/* ─── Преимущества ─────────────────────────────────────────────────────── */
.tp-benefits { padding: 56px 0; background: var(--tp-green-950); color: #fff; }
.tp-benefits__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tp-benefit {
	border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
	background: rgba(255,255,255,.05); padding: 24px;
	transition: background .2s;
}
.tp-benefit:hover { background: rgba(255,255,255,.1); }
.tp-benefit__icon { font-size: 30px; margin-bottom: 12px; }
.tp-benefit__title { font-size: 17px; font-weight: 800; }
.tp-benefit__desc { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: rgba(233, 245, 233, .78); }

/* ─── Этапы ────────────────────────────────────────────────────────────── */
.tp-steps-section { padding: 56px 0; background: #fff; }
.tp-steps-grid {
	display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	list-style: none; margin: 0; padding: 0; counter-reset: tp;
}
.tp-step { border: 1px solid var(--tp-stone-200); border-radius: 16px; background: var(--tp-stone-50); padding: 20px; }
.tp-step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.tp-step__num { font-family: var(--tp-font-display); font-size: 30px; font-weight: 800; color: rgba(22, 101, 52, .25); }
.tp-step__time { border-radius: 999px; background: rgba(22, 101, 52, .1); padding: 3px 10px; font-size: 10px; font-weight: 700; color: var(--tp-green-900); }
.tp-step__title { font-size: 15px; font-weight: 800; }
.tp-step__desc { margin: 6px 0 0; font-size: 12px; color: var(--tp-stone-600); line-height: 1.5; }

/* ─── Галерея ──────────────────────────────────────────────────────────── */
.tp-gallery { padding: 56px 0; background: var(--tp-bg-alt); }
.tp-gallery__grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tp-photo { margin: 0; overflow: hidden; border: 1px solid var(--tp-stone-200); border-radius: 16px; background: #fff; }
.tp-photo img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; transition: transform .5s ease; }
.tp-photo:hover img { transform: scale(1.05); }
.tp-photo figcaption { padding: 12px 16px; font-size: 14px; font-weight: 600; color: var(--tp-stone-700); }
.tp-photo figcaption span { display: block; font-size: 11px; font-weight: 500; color: var(--tp-stone-500); }

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.tp-faq { padding: 56px 0; background: #fff; }
.tp-faq__list { display: grid; gap: 12px; }
.tp-faq__item { border: 1px solid var(--tp-stone-200); border-radius: 16px; background: var(--tp-stone-50); }
.tp-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 16px 20px; cursor: pointer;
	font-family: var(--tp-font-display); font-size: 15px; font-weight: 800; list-style: none;
}
.tp-faq__q::-webkit-details-marker { display: none; }
.tp-faq__plus {
	display: grid; place-items: center; flex: 0 0 auto;
	width: 28px; height: 28px; border-radius: 50%;
	background: rgba(22, 101, 52, .1); color: var(--tp-green-900);
	transition: transform .2s;
}
.tp-faq__item[open] .tp-faq__plus { transform: rotate(45deg); }
.tp-faq__a { padding: 0 20px 18px; font-size: 14px; color: var(--tp-stone-600); line-height: 1.6; }

/* ─── Контакты ─────────────────────────────────────────────────────────── */
.tp-contact { padding: 56px 0; background: var(--tp-bg-alt); }
.tp-contact__grid { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: start; }
.tp-contact__side { display: grid; gap: 14px; margin-top: 32px; }
.tp-card--info, .tp-card--project, .tp-card--form { padding: 22px; }
.tp-card--form { box-shadow: var(--tp-shadow-lg); }
.tp-card__phone { display: block; font-family: var(--tp-font-display); font-size: 26px; font-weight: 800; margin-top: 6px; }
.tp-card__sub { font-size: 14px; color: var(--tp-stone-600); }
.tp-card__messengers { display: flex; gap: 8px; margin-top: 12px; }
.tp-card__messengers span {
	border-radius: 999px; background: var(--tp-stone-100);
	padding: 6px 12px; font-size: 12px; font-weight: 700; color: var(--tp-stone-600);
}
.tp-card--project { border-color: rgba(22, 101, 52, .2); background: #f0fdf4; }
.tp-card--project p { margin: 8px 0; font-size: 12px; line-height: 1.5; color: rgba(20, 83, 45, .9); }
.tp-card--project small { font-size: 10px; color: rgba(20, 83, 45, .6); }
.tp-field { margin-bottom: 16px; }
.tp-field label, .tp-field__label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.tp-field input, .tp-field textarea {
	width: 100%; border: 1px solid var(--tp-stone-300); border-radius: 12px;
	padding: 12px 14px; font-family: var(--tp-font); font-size: 14px;
	background: #fff; transition: border-color .2s, box-shadow .2s;
}
.tp-field textarea { resize: vertical; }
.tp-field input:focus, .tp-field textarea:focus {
	outline: none; border-color: var(--tp-green-900);
	box-shadow: 0 0 0 3px rgba(22, 101, 52, .15);
}
.tp-segments { display: flex; gap: 8px; }
.tp-segment { flex: 1; }
.tp-segment input { position: absolute; opacity: 0; width: 0; height: 0; }
.tp-segment span {
	display: block; text-align: center; cursor: pointer;
	border: 1px solid var(--tp-stone-200); border-radius: 12px;
	padding: 10px; font-size: 12px; font-weight: 700; color: var(--tp-stone-600);
}
.tp-segment input:checked + span { border-color: var(--tp-green-900); background: rgba(22,101,52,.06); color: var(--tp-green-900); }
.tp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; color: var(--tp-stone-600); margin-bottom: 16px; }
.tp-check input { accent-color: var(--tp-green-900); margin-top: 2px; }
.tp-form-note { margin: 12px 0 0; text-align: center; font-size: 10px; color: var(--tp-stone-400); }
.tp-form-result { margin-top: 14px; border-radius: 12px; padding: 14px 16px; font-size: 14px; }
.tp-form-result.is-ok { background: #f0fdf4; color: #14532d; }
.tp-form-result.is-err { background: #fef2f2; color: #991b1b; }

/* ─── О проекте ────────────────────────────────────────────────────────── */
.tp-about { padding: 56px 0; background: #fff; }
.tp-about__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.tp-about__text { font-size: 16px; color: var(--tp-stone-600); line-height: 1.7; }

/* ─── Подвал ───────────────────────────────────────────────────────────── */
.tp-footer { padding: 40px 0; background: var(--tp-stone-900); color: var(--tp-stone-400); }
.tp-footer__in {
	display: flex; flex-wrap: wrap; align-items: center;
	justify-content: space-between; gap: 24px;
}
.tp-logo--footer .tp-logo__mark { background: #166534; }
.tp-logo--footer .tp-logo__text b { color: #fff; }
.tp-logo--footer .tp-logo__text i { color: var(--tp-stone-400); }
.tp-footer__nav { flex: 1 1 auto; }
.tp-footer__list { flex-wrap: wrap; justify-content: center; font-size: 12px; }
.tp-footer__meta { text-align: right; font-size: 11px; }
.tp-footer__meta a { color: #fff; font-weight: 700; }

/* ─── Внутренние страницы ──────────────────────────────────────────────── */
.tp-page, .tp-single, .tp-archive { padding: 28px 20px 64px; }
.tp-page__content, .tp-single__content { max-width: 820px; font-size: 17px; color: var(--tp-stone-700); }
.tp-single__thumb { margin: 0 0 24px; border-radius: 20px; overflow: hidden; }
.tp-archive__grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.tp-post { border: 1px solid var(--tp-stone-200); border-radius: 16px; padding: 16px; background: #fff; }
.tp-post__title { font-family: var(--tp-font-display); font-size: 17px; margin: 10px 0 4px; }
.tp-post__meta { font-size: 11px; color: var(--tp-stone-400); }
.tp-post__excerpt { font-size: 14px; color: var(--tp-stone-600); }
.tp-404 { padding: 60px 20px 80px; text-align: center; }
.tp-searchform { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.tp-searchform input {
	border: 1px solid var(--tp-stone-300); border-radius: 12px; padding: 12px 14px; font-size: 14px;
}

/* ─── Адаптив ──────────────────────────────────────────────────────────── */
@media (min-width: 900px) {
	.tp-hero__grid { grid-template-columns: 1.05fr 1fr; padding: 64px 20px 80px; }
	.tp-constructor__grid { grid-template-columns: 1.25fr 1fr; }
	.tp-contact__grid { grid-template-columns: 1fr 1fr; }
	.tp-about__grid { grid-template-columns: 1fr 1fr; }
	.tp-stats { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 899px) {
	.tp-nav { display: none; }
	.tp-burger { display: grid; place-items: center; }
	.tp-header__phone { display: none; }
	.tp-section-head--row { align-items: flex-start; }
	.tp-card--form { padding: 18px; }
}
@media (max-width: 560px) {
	.tp-chip--left, .tp-chip--right { position: static; margin-top: 12px; display: inline-flex; }
	.tp-textures { grid-template-columns: repeat(3, 1fr); }
	.tp-houses { grid-template-columns: 1fr; }
	.tp-panel { max-height: none; }
	.tp-footer__meta { text-align: center; }
	.tp-segments { flex-direction: column; }
}

.tp-photo__svg { aspect-ratio: 4 / 3; background: #eef3ee; }
.tp-photo__svg svg { width: 100%; height: 100%; display: block; }
.tp-empty {
	border: 1px dashed var(--tp-stone-300); border-radius: 16px;
	background: #fff; padding: 28px; text-align: center; color: var(--tp-stone-600);
}
.tp-empty p { margin: 0 0 14px; font-size: 14px; }

/* ─── SEO-блок с ключевыми словами ─────────────────────────────────────── */
.tp-seo { padding: 56px 0; background: #fff; }
.tp-seo__grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 32px; }
.tp-seo__item { border: 1px solid var(--tp-stone-200); border-radius: 16px; background: var(--tp-stone-50); padding: 22px; }
.tp-seo__item h3 { margin: 0; font-family: var(--tp-font-display); font-size: 17px; font-weight: 800; color: var(--tp-stone-900); line-height: 1.3; }
.tp-seo__item p { margin: 10px 0 0; font-size: 14px; line-height: 1.65; color: var(--tp-stone-600); }
.tp-seo__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.tp-seo__links a {
	border: 1px solid var(--tp-stone-200); border-radius: 999px;
	background: var(--tp-stone-50); padding: 8px 14px;
	font-size: 12px; font-weight: 700; color: var(--tp-stone-700);
	transition: border-color .2s, color .2s;
}
.tp-seo__links a:hover { border-color: var(--tp-green-800); color: var(--tp-green-800); }
@media (min-width: 900px) { .tp-seo__grid { grid-template-columns: repeat(2, 1fr); } }

/* ─── Генеральный партнёр ──────────────────────────────────────────────── */
.tp-partner { padding: 56px 0; background: #fff; }
.tp-partner__box {
	border: 1px solid var(--tp-stone-200); border-radius: 24px;
	background: linear-gradient(135deg, var(--tp-stone-50), var(--tp-stone-100));
	padding: 32px;
	display: grid; gap: 28px; grid-template-columns: 1fr;
}
.tp-partner__badge {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--tp-stone-900); color: #fff;
	border-radius: 999px; padding: 6px 14px;
	font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
	margin-bottom: 14px;
}
.tp-partner__title { font-family: var(--tp-font-display); font-size: clamp(26px, 3vw, 36px); font-weight: 800; margin: 0; }
.tp-partner__title b { color: var(--tp-green-800); }
.tp-partner__title span { color: var(--tp-stone-400); }
.tp-partner__subtitle {
	margin: 8px 0 0; font-size: 13px; font-weight: 800;
	letter-spacing: .1em; text-transform: uppercase; color: var(--tp-green-800);
}
.tp-partner__text { margin: 14px 0 0; max-width: 640px; color: var(--tp-stone-600); line-height: 1.65; }
.tp-partner__specs {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
	margin: 26px 0 0; padding: 0;
}
.tp-partner__specs dt { font-family: var(--tp-font-display); font-size: 18px; font-weight: 800; color: var(--tp-stone-900); }
.tp-partner__specs dd { margin: 0; font-size: 11px; line-height: 1.3; color: var(--tp-stone-500); }
.tp-partner__price {
	margin-left: auto; border-radius: 999px; background: #f0fdf4;
	padding: 6px 12px; font-size: 11px; font-weight: 800; color: var(--tp-green-800);
}
.tp-partner__cap {
	margin-top: 16px; font-size: 11px; font-weight: 800;
	letter-spacing: .14em; text-transform: uppercase; color: var(--tp-stone-400);
}
.tp-partner__note {
	margin: 18px 0 0; border-radius: 12px; background: var(--tp-stone-50);
	padding: 12px 14px; font-size: 11px; line-height: 1.55; color: var(--tp-stone-500);
}
.tp-partner__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tp-partner__card {
	border: 1px solid var(--tp-stone-200); border-radius: 16px; background: #fff; padding: 22px;
	box-shadow: 0 1px 2px rgba(28,25,23,.04);
}
.tp-partner__head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--tp-stone-100); }
.tp-partner__mark {
	display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
	background: var(--tp-stone-900); color: #fff;
	font-family: var(--tp-font-display); font-size: 20px; font-weight: 900;
}
.tp-partner__head b { display: block; font-size: 14px; }
.tp-partner__head span { font-size: 11px; color: var(--tp-stone-500); }
.tp-partner__list { list-style: none; margin: 16px 0 0; padding: 0; }
.tp-partner__list li { display: flex; gap: 10px; font-size: 14px; color: var(--tp-stone-700); padding: 4px 0; }
.tp-partner__list li::before { content: "\2713"; color: var(--tp-green-800); font-weight: 800; }
.tp-logo__partner {
	display: inline-block; margin-top: 6px; font-size: 10px; font-weight: 700;
	letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
@media (min-width: 900px) {
	.tp-partner__box { grid-template-columns: 1.15fr 1fr; align-items: center; padding: 40px; }
	.tp-partner__specs { grid-template-columns: repeat(4, 1fr); }
}

/* ─── Расчёт закупки плитки ────────────────────────────────────────────── */
.tp-mgrid { display: grid; gap: 8px; }
.tp-mgrid--2 { grid-template-columns: repeat(2, 1fr); }
.tp-mgrid--3 { grid-template-columns: repeat(3, 1fr); }
.tp-mgrid--4 { grid-template-columns: repeat(2, 1fr); }
.tp-mgrid--5 { grid-template-columns: repeat(2, 1fr); }
.tp-mnum { display: block; }
.tp-mnum > span:first-child { display: block; font-size: 10px; font-weight: 600; color: var(--tp-stone-500); margin-bottom: 4px; }
.tp-mnum select {
	width: 100%; border: 1px solid var(--tp-stone-300); border-radius: 8px;
	background: #fff; padding: 7px 8px; font-family: var(--tp-font);
	font-size: 12px; font-weight: 600; color: var(--tp-stone-700);
}
.tp-mnum__box {
	display: flex; align-items: center;
	border: 1px solid var(--tp-stone-300); border-radius: 8px; background: #fff;
}
.tp-mnum__box:focus-within { border-color: var(--tp-green-900); }
.tp-mnum__box input {
	width: 100%; border: 0; background: transparent; padding: 7px 8px;
	font-family: var(--tp-font); font-size: 13px; font-weight: 700; color: var(--tp-stone-800);
}
.tp-mnum__box input:focus { outline: none; }
.tp-mnum__box i { font-style: normal; padding-right: 7px; font-size: 10px; color: var(--tp-stone-400); }
.tp-mstat {
	border-radius: 8px; background: var(--tp-stone-50); padding: 8px 10px;
}
.tp-mstat span { display: block; font-size: 10px; font-weight: 600; color: var(--tp-stone-500); }
.tp-mstat b { font-size: 12px; color: var(--tp-stone-800); }
.tp-mrow { border: 1px solid var(--tp-stone-200); border-radius: 12px; background: #fff; padding: 10px; margin-bottom: 8px; }
.tp-mrow.is-off { opacity: .55; background: var(--tp-stone-50); }
.tp-mrow__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tp-mrow__head b { display: block; font-size: 12px; color: var(--tp-stone-900); }
.tp-mrow__head span { display: block; font-size: 10px; color: var(--tp-stone-500); }
.tp-mcheck { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: var(--tp-stone-500); white-space: nowrap; }
.tp-mcheck input { accent-color: var(--tp-green-900); margin: 0; }
.tp-mchecks { display: flex; gap: 14px; margin-top: 8px; }
.tp-mlink { border: 0; background: none; padding: 0; margin-top: 8px; font-size: 10px; font-weight: 700; color: var(--tp-green-800); cursor: pointer; }
.tp-mlink--del { color: #f87171; margin-top: 0; }
.tp-madds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tp-madd {
	flex: 1 1 auto; border: 1px dashed var(--tp-stone-300); border-radius: 8px;
	background: none; padding: 7px 10px; cursor: pointer;
	font-family: var(--tp-font); font-size: 11px; font-weight: 700; color: var(--tp-stone-600);
}
.tp-madd:hover { border-color: var(--tp-green-800); color: var(--tp-green-800); }
.tp-madd--wide { width: 100%; margin-top: 4px; }
.tp-mtable { overflow-x: auto; border: 1px solid var(--tp-stone-200); border-radius: 12px; }
.tp-mtable table { width: 100%; border-collapse: collapse; font-size: 11px; }
.tp-mtable th {
	background: var(--tp-stone-100); padding: 7px 8px; text-align: left;
	font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tp-stone-500);
}
.tp-mtable th.is-r, .tp-mtable td.is-r { text-align: right; }
.tp-mtable td { padding: 7px 8px; border-top: 1px solid var(--tp-stone-100); color: var(--tp-stone-600); }
.tp-mtable td small { display: block; font-size: 9px; color: var(--tp-stone-400); }
.tp-mtable td b { color: var(--tp-green-800); }
.tp-mtable tr.is-total td { background: var(--tp-stone-50); font-weight: 800; color: var(--tp-stone-900); border-top: 1px solid var(--tp-stone-200); }
.tp-mtable tr.is-off td { opacity: .45; }
.tp-mdot { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 5px; vertical-align: middle; }
.tp-mcheck-box { border-radius: 12px; background: #f0fdf4; padding: 10px 12px; font-size: 11px; color: #14532d; }
.tp-mcheck-box > div { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.tp-mcheck-box b.is-warn { color: #b45309; }

@media (min-width: 700px) {
	.tp-mgrid--4 { grid-template-columns: repeat(4, 1fr); }
	.tp-mgrid--5 { grid-template-columns: repeat(5, 1fr); }
}
