/* ═══════════════════════════════════════════════════════════════════
   ЦВЕТ АКЦЕНТА — меняйте только эти две строки
═══════════════════════════════════════════════════════════════════ */
:root {
	--accent:   #B8893A;
	--accent-2: #9A6E1E;
}

/* ─────────────────────────────────────────────────────────────
   СВЕТЛАЯ ТЕМА (по умолчанию)
───────────────────────────────────────────────────────────── */
:root {
	--bg: #f4f5f7;
	--panel: #ffffff;
	--panel-2: #eef1f5;
	--text: #20242b;
	--muted: #6f7682;
	--line: rgba(23, 28, 36, .1);
	--accent: #B8893A;
	--accent-2: #9A6E1E;
	--shadow: 0 12px 34px rgba(23, 28, 36, .1);
	--radius: 6px;

	/* Header */
	--header-bg: #f2f3f5;
	--header-bg-scrolled: rgba(242, 243, 245, .96);
	--header-border: rgba(0,0,0,.06);
	--header-shadow: 0 8px 18px rgba(0,0,0,.06);
	--nav-mobile-bg: #ffffff;
	--nav-mobile-border: rgba(0,0,0,.08);
	--nav-mobile-shadow: 0 18px 40px rgba(23,28,36,.12);
	--menu-color: #2a3038;
	--menu-hover-color: var(--accent);
	--phone-color: #10141a;
	--toggle-bg: #ffffff;
	--toggle-border: rgba(0,0,0,.12);
	--toggle-bar: #171c24;

	/* Hero */
	--hero-bg: linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255,255,255,.88) 56%, rgba(255,255,255,0) 76%), #f1f3f6;
	--hero-img-overlay: linear-gradient(90deg, rgba(0,0,0,.08), rgba(0,0,0,.12));
	--hero-text-color: #4f5865;
	--hero-strong-color: var(--accent);
	--hero-metrics-bg: #ffffff;
	--hero-metrics-border: rgba(184,137,58,.12);

	/* Sections */
	--section-bg: #ffffff;
	--section-alt-bg: #f5f6f8;
	--section-dark-bg: #f1f3f6;

	/* Cards */
	--card-bg: #ffffff;
	--card-border: rgba(0,0,0,.07);
	--card-shadow: 0 10px 26px rgba(23,28,36,.08);
	--card-hover-border: rgba(184,137,58,.24);

	/* Forms */
	--input-bg: #f7f8fa;
	--input-color: #171c24;
	--input-border: rgba(0,0,0,.1);
	--input-focus-bg: #ffffff;
	--input-focus-border: rgba(184,137,58,.44);
	--label-color: #333b47;
	--form-bg: #ffffff;
	--form-border: rgba(0,0,0,.08);
	--form-shadow: 0 18px 42px rgba(23,28,36,.12);

	/* Buttons */
	--btn-ghost-border: rgba(184,137,58,.24);
	--btn-ghost-bg: #ffffff;
	--btn-ghost-color: var(--accent);

	/* Footer */
	--footer-bg: #f5f6f8;
	--footer-text: #6f7682;
	--footer-link: #20242b;
	--footer-border: rgba(0,0,0,.08);

	/* Process */
	--process-bg: #ffffff;
	--process-border-top: var(--accent);
	--process-shadow: 0 10px 26px rgba(23,28,36,.06);

	/* Misc */
	--brand-mark-bg: var(--accent);
	--brand-mark-color: #ffffff;
	--social-icon-bg: rgba(0,0,0,.04);
	--social-icon-border: var(--line);
	--lightbox-btn-bg: rgba(0,0,0,.06);
	--lightbox-btn-color: #20242b;
	--skip-bg: #fff;
	--skip-color: #000;

	/* CTA section */
	--cta-color: #CC2020;

	/* Theme toggle button */
	--theme-toggle-bg: rgba(0,0,0,.06);
	--theme-toggle-color: #20242b;
	--theme-toggle-border: rgba(0,0,0,.12);
}

/* ─────────────────────────────────────────────────────────────
   ТЁМНАЯ ТЕМА  [data-theme="dark"]
───────────────────────────────────────────────────────────── */
[data-theme="dark"] {
	--bg: #07090d;
	--panel: #10141c;
	--panel-2: #151922;
	--text: #f6f7f9;
	--muted: #a9b0bd;
	--line: rgba(255, 255, 255, .12);
	--shadow: 0 28px 80px rgba(0,0,0,.42);
	--radius: 8px;

	/* Header */
	--header-bg: #07090d;
	--header-bg-scrolled: rgba(7, 9, 13, .88);
	--header-border: var(--line);
	--header-shadow: none;
	--nav-mobile-bg: rgba(7,9,13,.96);
	--nav-mobile-border: var(--line);
	--nav-mobile-shadow: none;
	--menu-color: rgba(255,255,255,.82);
	--menu-hover-color: #ffffff;
	--phone-color: #ffffff;
	--toggle-bg: rgba(255,255,255,.04);
	--toggle-border: var(--line);
	--toggle-bar: #ffffff;

	/* Hero */
	--hero-bg: #07090d;
	--hero-img-overlay: linear-gradient(90deg, rgba(7,9,13,.92) 0%, rgba(7,9,13,.68) 42%, rgba(7,9,13,.22) 100%);
	--hero-text-color: rgba(255,255,255,.82);
	--hero-strong-color: #ffffff;
	--hero-metrics-bg: rgba(255,255,255,.06);
	--hero-metrics-border: var(--line);

	/* Sections */
	--section-bg: #10141c;
	--section-alt-bg: #090c12;
	--section-dark-bg: #090c12;

	/* Cards */
	--card-bg: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
	--card-border: var(--line);
	--card-shadow: 0 28px 80px rgba(0,0,0,.42);
	--card-hover-border: rgba(255, 92, 52, .52);

	/* Forms */
	--input-bg: rgba(6, 8, 13, .78);
	--input-color: #ffffff;
	--input-border: var(--line);
	--input-focus-bg: rgba(10, 13, 20, .9);
	--input-focus-border: var(--accent);
	--label-color: rgba(255,255,255,.76);
	--form-bg: rgba(16, 20, 28, .8);
	--form-border: var(--line);
	--form-shadow: 0 28px 80px rgba(0,0,0,.42);

	/* Buttons */
	--btn-ghost-border: rgba(255,255,255,.26);
	--btn-ghost-bg: rgba(255,255,255,.06);
	--btn-ghost-color: #ffffff;

	/* Footer */
	--footer-bg: #05070a;
	--footer-text: var(--muted);
	--footer-link: #ffffff;
	--footer-border: rgba(255,255,255,.12);

	/* Process */
	--process-bg: rgba(255,255,255,.04);
	--process-border-top: var(--accent);
	--process-shadow: none;

	/* Misc */
	--brand-mark-bg: linear-gradient(135deg, var(--accent), var(--accent-2));
	--brand-mark-color: #111111;
	--social-icon-bg: rgba(255,255,255,.04);
	--social-icon-border: var(--line);
	--lightbox-btn-bg: rgba(255,255,255,.08);
	--lightbox-btn-color: #ffffff;
	--skip-bg: #10141c;
	--skip-color: #fff;

	/* Theme toggle button */
	--theme-toggle-bg: rgba(255,255,255,.06);
	--theme-toggle-color: #f6f7f9;
	--theme-toggle-border: var(--line);
}

/* ─────────────────────────────────────────────────────────────
   БАЗОВЫЕ СТИЛИ
───────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	background: var(--bg);
	color: var(--text);
	font-family: Gilroy, Manrope, system-ui, -apple-system, Segoe UI, sans-serif;
	line-height: 1.55;
	overflow-x: hidden;
	transition: background .3s ease, color .3s ease;
}
main,
.front-sections { display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; padding: 10px; background: var(--skip-bg); color: var(--skip-color); }
.skip-link:focus { left: 8px; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(860px, calc(100% - 32px)); }
.section { padding: 82px 0; position: relative; background: var(--section-bg); transition: background .3s ease; }
.section:nth-of-type(even),
.section-steel {
	background: var(--section-alt-bg);
}
.section-dark, .section-dark-bg {
	background: var(--section-dark-bg);
}

/* ─────────────────────────────────────────────────────────────
   HEADER
───────────────────────────────────────────────────────────── */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	background: var(--header-bg);
	border-bottom: 1px solid var(--header-border);
	box-shadow: var(--header-shadow);
	transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
	background: var(--header-bg-scrolled);
	border-color: var(--header-border);
	backdrop-filter: blur(18px);
}
.header-inner { height: 74px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; white-space: nowrap; }
.custom-logo { max-height: 52px; width: auto; }
.brand-mark {
	display: grid; place-items: center;
	width: 48px; height: 48px;
	background: var(--brand-mark-bg);
	color: var(--brand-mark-color);
	font-weight: 900;
	border-radius: 50%;
	box-shadow: 0 8px 18px rgba(184,137,58,.22);
}
.brand-text {
	color: #10141a;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .2px;
}
[data-theme="dark"] .brand-text { color: var(--text); }

.main-nav { margin-left: auto; }
.menu, .footer-menu { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.menu a { color: var(--menu-color); font-size: 15px; font-weight: 700; transition: color .2s; }
.menu a:hover { color: var(--menu-hover-color); }
.header-right { display: flex; align-items: center; gap: 14px; }
.header-phone {
	font-weight: 800;
	color: var(--phone-color);
	position: relative;
	padding-left: 0;
}
.menu-toggle {
	display: none;
	width: 44px; height: 44px;
	border: 1px solid var(--toggle-border);
	background: var(--toggle-bg);
	border-radius: var(--radius);
	cursor: pointer;
}
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--toggle-bar); transition: background .3s; }

/* ─── Theme toggle ─────────────────────────────────────────── */
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px; height: 40px;
	border: 1px solid var(--theme-toggle-border);
	background: var(--theme-toggle-bg);
	color: var(--theme-toggle-color);
	border-radius: 50%;
	cursor: pointer;
	transition: background .25s, border-color .25s, color .25s, transform .2s;
	flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); transform: rotate(20deg); }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: block; }
.icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }
[data-theme="dark"] .icon-moon { display: block; }

/* ─────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────── */
.hero {
	display: flex; align-items: center;
	overflow: hidden;
	padding: 128px 0 72px;
	background: var(--hero-bg);
	position: relative;
	min-height: 100vh;
}
.hero-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	align-items: center;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
}
.hero-content { position: relative; z-index: 2; }
.hero-content > * { max-width: none; }
.hero-visual {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}
.hero-visual::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(244,245,247,.92) 0%, rgba(244,245,247,.72) 38%, rgba(244,245,247,.28) 64%, rgba(244,245,247,0) 90%);
	z-index: 1;
}
.hero-photo {
	width: 100%; height: 100%;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	box-shadow: none;
	display: block;
	position: absolute; inset: 0;
}
.hero-photo-placeholder {
	width: 100%; aspect-ratio: 5/6;
	border-radius: 0 8px 0 96px;
	background: linear-gradient(135deg, #eef1f5, #dfe3ea);
	display: flex; align-items: center; justify-content: center;
	color: #9ca3af; font-size: 14px; font-weight: 700;
	border: 2px dashed #d1d5db; text-align: center; padding: 24px;
}
/* Dark theme: full-width background image */
[data-theme="dark"] .hero {
	background: var(--hero-bg);
	min-height: 100vh;
}
[data-theme="dark"] .hero::before {
	content: "";
	position: absolute; inset: 0;
	background-image: var(--hero-img-overlay), var(--hero, none);
	background-size: cover; background-position: center;
	transform: scale(1.04); transform-origin: center;
	will-change: transform;
}
[data-theme="dark"] .hero::after {
	content: "";
	position: absolute; inset: auto 0 0;
	height: 30%;
	background: linear-gradient(transparent, var(--bg));
}
[data-theme="dark"] .hero-layout {
	grid-template-columns: 1fr;
	max-width: 760px; margin: 0 auto;
}
[data-theme="dark"] .hero-visual { display: none; }
.hero .hero-content h1 {
	font-size: clamp(46px, 7vw, 88px);
	line-height: .97;
	color: var(--text);
}
.hero .hero-content .eyebrow {
	font-size: 14px;
	margin-bottom: 20px;
	letter-spacing: .1em;
}
[data-theme="dark"] .hero-content { position: relative; z-index: 2; }
[data-theme="dark"] .hero-content > * { max-width: none; }
.eyebrow {
	margin: 0 0 18px;
	color: var(--accent);
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: .08em;
}
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: 0; }
h1, h2 { font-family: Manrope, system-ui, sans-serif; font-weight: 900; }
h1 { font-size: clamp(38px, 5.6vw, 76px); color: var(--text); line-height: .98; }
h2 { font-size: clamp(30px, 4vw, 54px); color: var(--text); }
h3 { font-size: 20px; color: var(--text); font-weight: 900; }
.hero-text {
	margin: 22px 0 0;
	color: var(--hero-text-color);
	font-size: 19px;
	max-width: 560px;
}
.hero-actions, .ppf-calc .calc-to-form { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 38px; }
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 54px; padding: 0 26px; border-radius: 5px;
	border: 1px solid transparent; cursor: pointer; font-weight: 900;
	font-size: 15px;
	transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
	background: var(--accent);
	color: #fff;
	box-shadow: 0 14px 26px rgba(184,137,58,.26);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
	border-color: var(--btn-ghost-border);
	background: var(--btn-ghost-bg);
	color: var(--btn-ghost-color);
	box-shadow: 0 10px 24px rgba(23,28,36,.06);
}
.hero-metrics {
	display: flex; flex-wrap: wrap; gap: 0; margin-top: 52px;
	border-top: 1px solid var(--line);
	padding-top: 28px;
}
.hero-metrics span {
	display: flex; flex-direction: column; gap: 2px;
	padding: 0 32px 0 0;
	border-right: 1px solid var(--line);
	margin-right: 32px;
	color: var(--muted);
	font-size: 14px;
}
.hero-metrics span:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.hero-metrics strong {
	display: block; color: var(--accent);
	font-size: clamp(32px, 4vw, 52px);
	font-weight: 900; line-height: 1;
	font-family: Manrope, system-ui, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   SECTION HEAD
───────────────────────────────────────────────────────────── */
.section-head { max-width: 780px; margin: 0 auto 34px; text-align: center; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* ─────────────────────────────────────────────────────────────
   CARDS
───────────────────────────────────────────────────────────── */
.benefit-grid, .service-grid, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.glass-card, .service-card, .review-card, .work-card, .content-card {
	border: 1px solid var(--card-border);
	background: var(--card-bg);
	border-radius: var(--radius);
	box-shadow: var(--card-shadow);
	backdrop-filter: none;
}
.glass-card { padding: 26px; position: relative; overflow: hidden; border-radius: 8px; }
.card-line { display: block; width: 34px; height: 3px; background: var(--accent); margin-bottom: 24px; }
.glass-card p, .service-card p, .review-card p { color: var(--muted); margin-bottom: 0; }
.service-card {
	padding: 30px;
	min-height: 220px;
	border-top: 4px solid transparent;
	transition: transform .25s ease, border-color .25s ease;
	border-radius: 8px;
}
.service-card:hover, .work-card:hover, .glass-card:hover {
	transform: translateY(-4px);
	border-color: var(--card-hover-border);
	border-top-color: var(--accent);
}
.service-card span { color: var(--accent); font-weight: 900; }

/* ─────────────────────────────────────────────────────────────
   CALCULATOR / FORMS
───────────────────────────────────────────────────────────── */
.calc-layout, .cta-grid, .contact-grid, .materials, .faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.ppf-calc, .lead-form {
	padding: 28px;
	background: var(--form-bg);
	border: 1px solid var(--form-border);
	border-radius: 8px;
	box-shadow: var(--form-shadow);
}
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { color: var(--label-color); font-weight: 800; font-size: 14px; }
.field input, .field textarea, .field select {
	width: 100%;
	border: 1px solid var(--input-border);
	background: var(--input-bg);
	color: var(--input-color);
	border-radius: var(--radius);
	padding: 13px 14px;
	transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
	background: var(--input-focus-bg);
	border-color: var(--input-focus-border);
}
.check-row { display: flex; align-items: center; gap: 10px; margin: 8px 0 18px; color: var(--label-color); }
.check-row input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc-zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 8px 0 18px; }
.calc-zones label {
	display: flex; align-items: center; gap: 10px;
	min-height: 48px; padding: 10px 12px;
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
	background: var(--input-bg);
	color: var(--label-color);
	font-weight: 800;
}
.calc-zones input { width: 18px; height: 18px; accent-color: var(--accent); }
.calc-result { display: grid; gap: 10px; margin-top: 16px; }
.calc-result div {
	display: flex; justify-content: space-between; gap: 18px; padding: 14px;
	border: 1px solid var(--input-border);
	border-radius: var(--radius);
	background: var(--input-bg);
}
.calc-result .total { background: #fff2f2; border-color: rgba(184,137,58,.24); }
[data-theme="dark"] .calc-result .total { background: rgba(184,137,58,.08); }
.calc-result strong { font-size: 24px; color: var(--text); }
.calc-result .total strong { color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   WORKS / GALLERY
───────────────────────────────────────────────────────────── */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work-card { overflow: hidden; transition: transform .25s ease, border-color .25s ease; border-radius: 8px; }
.work-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s ease; }
.work-card:hover img { transform: scale(1.06); }
.work-card div { padding: 20px; }
.before-after { display: grid; grid-template-columns: 1fr 1fr; position: relative; overflow: hidden; }
.before-after img { aspect-ratio: 4/3; height: 100%; }
.before-after span {
	position: absolute; left: 12px; bottom: 12px; padding: 7px 10px;
	background: var(--accent); border: 1px solid transparent;
	border-radius: var(--radius); font-size: 12px; font-weight: 900; color: #fff;
}

/* ─────────────────────────────────────────────────────────────
   PROCESS
───────────────────────────────────────────────────────────── */
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; counter-reset: step; }
.process-step {
	padding: 22px 16px;
	border-top: 4px solid var(--process-border-top);
	border-radius: 8px;
	background: var(--process-bg);
	box-shadow: var(--process-shadow);
	position: relative;
}
.process-step span::before { counter-increment: step; content: counter(step, decimal-leading-zero); color: var(--accent); font-weight: 900; }

/* ─────────────────────────────────────────────────────────────
   MATERIALS
───────────────────────────────────────────────────────────── */
.section-materials, .materials-section { background: var(--section-alt-bg); }
.materials p { color: var(--muted); font-size: 18px; }
.materials__media, .materials-img {
	border-radius: 8px; overflow: hidden;
	box-shadow: 0 24px 60px rgba(23,28,36,.14);
	background: #dfe3ea;
}
.materials__media img, .materials-img img {
	display: block; width: 100%;
	height: 100%; min-height: 280px;
	object-fit: cover;
}
.material-list, .material-list { display: grid; gap: 12px; }
.material-list span, .material-list li {
	padding: 14px 18px;
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	background: var(--card-bg);
	font-weight: 700;
	color: var(--text);
	box-shadow: 0 4px 12px rgba(23,28,36,.06);
}

/* ─────────────────────────────────────────────────────────────
   REVIEWS / FAQ
───────────────────────────────────────────────────────────── */
.review-card { padding: 24px; border-radius: 8px; }
.stars { color: var(--accent); letter-spacing: 2px; margin-bottom: 16px; }
.review-card span { display: block; color: var(--muted); margin-top: 4px; }
.review-card footer { margin-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.review-card footer strong { font-size: 15px; color: var(--text); }
.review-card footer span { color: var(--muted); font-size: 13px; }
.faq-list { display: grid; gap: 12px; }
.faq-item {
	border: 1px solid var(--card-border);
	border-radius: var(--radius);
	padding: 18px 20px;
	background: var(--card-bg);
}
.faq-item summary { cursor: pointer; font-weight: 900; display: flex; align-items: center; justify-content: space-between; list-style: none; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item h3 { font-size: 16px; font-weight: 700; margin: 0; }
.faq-item p { color: var(--muted); margin-bottom: 0; }
.faq-body { padding: 12px 0 6px; color: var(--muted); }
.faq-icon { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-icon::before { left: 50%; top: 50%; width: 2px; height: 14px; transform: translate(-50%,-50%); transition: transform .2s; }
.faq-icon::after  { left: 50%; top: 50%; width: 14px; height: 2px; transform: translate(-50%,-50%); }
.faq-item[open] .faq-icon::before { transform: translate(-50%,-50%) rotate(90deg); }

/* ─────────────────────────────────────────────────────────────
   CTA
───────────────────────────────────────────────────────────── */
.cta, .cta-section {
	position: relative; overflow: hidden;
	background: var(--cta-color, #CC2020);
	color: #fff;
}
.cta.has-bg-image {
	background: linear-gradient(135deg, rgba(184,137,58,.88), rgba(255,59,32,.82)), var(--cta-bg) center / cover no-repeat;
}
.cta.has-bg-image::before {
	content: ""; position: absolute; inset: 0;
	background: rgba(10,12,16,.42);
}
.cta.has-bg-image .container { position: relative; z-index: 1; }
.cta h2, .cta .eyebrow, .cta p, .cta .section-head p,
.cta-section h2, .cta-section .eyebrow, .cta-section p { color: #fff; }
.cta .lead-form, .cta-section .lead-form { color: var(--text); }
.cta-section::before {
	content: ""; position: absolute; inset: 0; z-index: 0;
	background: var(--cta-bg, none) center / cover no-repeat;
	opacity: .22;
}
.cta-inner {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: 1fr 1.1fr;
	gap: 48px; align-items: start;
}

/* ─────────────────────────────────────────────────────────────
   CONTACTS
───────────────────────────────────────────────────────────── */
.contacts { background: var(--section-bg); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; color: var(--muted); font-size: 18px; }
.contact-list a { color: var(--accent); font-weight: 900; }
.contact-info { display: grid; gap: 12px; font-size: 15px; color: var(--muted); }
.contact-phone { font-size: 26px; font-weight: 900; color: var(--accent); display: block; }
.contacts-grid, .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contacts-map iframe { width: 100%; min-height: 300px; border: 0; border-radius: 6px; display: block; }
.map-box { min-height: 320px; border: 1px solid var(--card-border); border-radius: var(--radius); overflow: hidden; background: var(--section-alt-bg); }
.map-box iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-placeholder { min-height: 320px; display: grid; place-items: center; color: var(--muted); }
.form-message { min-height: 24px; color: var(--accent); font-weight: 800; }

/* ─────────────────────────────────────────────────────────────
   PAGES / BUILDER
───────────────────────────────────────────────────────────── */
.page-shell { padding: 140px 0 80px; min-height: 70vh; background: var(--bg); }
.builder-content { background: var(--section-bg); }
.builder-content .alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.builder-content .alignfull { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.content-card { padding: 36px; }

/* ─────────────────────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────────────────────── */
.site-footer {
	padding: 52px 0 24px;
	border-top: 1px solid var(--line);
	background: var(--footer-bg);
	color: var(--footer-text);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 34px; align-items: start; }
.footer-brand { color: var(--footer-link); margin-bottom: 16px; }
.footer-menu { flex-direction: column; gap: 10px; }
.footer-contacts { display: grid; gap: 8px; font-size: 15px; }
.footer-contacts a, .footer-phone { color: var(--footer-link); font-weight: 900; }
.footer-phone { font-size: 20px; font-weight: 900; color: var(--footer-link); }
.site-footer .brand-text { color: var(--footer-link); }
.footer-bottom {
	margin-top: 32px; font-size: 13px;
	border-top: 1px solid var(--footer-border);
	padding-top: 16px;
}
.footer-map { margin-top: 12px; }
.footer-map iframe { width: 100%; border: 0; border-radius: 6px; min-height: 180px; display: block; }

/* ─────────────────────────────────────────────────────────────
   SOCIAL ICONS
───────────────────────────────────────────────────────────── */
.header-socials, .footer-socials, .contact-socials { display: flex; align-items: center; gap: 10px; }
.social-icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 36px; height: 36px; border-radius: 50%;
	border: 1px solid var(--social-icon-border);
	background: var(--social-icon-bg);
	color: var(--muted);
	transition: background .2s, color .2s, border-color .2s;
}
.social-icon:hover { background: rgba(184,137,58,.12); color: var(--accent); border-color: var(--accent); }
.footer-socials .social-icon { width: 40px; height: 40px; }
.contact-social-link {
	padding: 6px 12px; border: 1px solid var(--line); border-radius: 6px;
	background: var(--social-icon-bg); font-weight: 700; font-size: 14px;
	transition: border-color .2s, background .2s; color: var(--text);
}
.contact-social-link:hover { border-color: var(--accent); color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   EDITABLE BLOCKS
───────────────────────────────────────────────────────────── */
.editable-block-section { background: var(--section-bg); }
.editable-block--steel { background: var(--section-alt-bg); }
.section-dark-block { background: #171c24; color: #fff; }
.section-dark-block h2, .section-dark-block h3 { color: #fff; }
.section-dark-block .editable-block__text { color: rgba(255,255,255,.78); }
.editable-block {
	display: grid;
	grid-template-columns: minmax(0, .95fr) minmax(320px, 1.05fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: center;
}
.editable-block--image_left .editable-block__media { order: -1; }
.editable-block--image_top { grid-template-columns: 1fr; }
.editable-block--text_only { grid-template-columns: 1fr; max-width: 900px; }
.editable-block__content { min-width: 0; }
.editable-block__content h2 { margin-bottom: 22px; }
.editable-block__text { color: var(--muted); font-size: 18px; line-height: 1.65; max-width: 650px; }
.editable-block__text p { margin: 0 0 16px; }
.editable-block__media { margin: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 24px 60px rgba(23,28,36,.18); background: #dfe3ea; }
.editable-block__media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center; }
.editable-block__media--left img { object-position: left center; }
.editable-block__media--right img { object-position: right center; }
.editable-block__media--top img { object-position: center top; }
.editable-block__media--bottom img { object-position: center bottom; }

/* ─────────────────────────────────────────────────────────────
   LEAD FORM
───────────────────────────────────────────────────────────── */
.lead-form { padding: 28px; }
.form-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 14px; }
.form-field { display: grid; gap: 6px; }
.form-field span { font-size: 13px; font-weight: 700; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select {
	width: 100%; border: 1px solid var(--input-border);
	background: var(--input-bg); color: var(--input-color);
	border-radius: 5px; padding: 12px 14px;
	transition: border-color .2s, background .2s;
}
.form-field input:focus, .form-field textarea:focus {
	outline: none; border-color: var(--accent); background: var(--input-focus-bg);
}
.form-field-full { width: 100%; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.form-legal { font-size: 12px; color: var(--muted); margin: 0; max-width: 400px; }
.form-message { padding: 10px 14px; border-radius: 5px; font-weight: 700; }
.form-message[hidden] { display: none; }

/* ─────────────────────────────────────────────────────────────
   QUICK CONTACT BANNER
───────────────────────────────────────────────────────────── */
.quick-banner-section {
	background: linear-gradient(180deg, var(--section-bg) 0%, var(--section-alt-bg) 100%);
}
.quick-banner { position: relative; display: grid; gap: 24px; }
.quick-banner__visual {
	position: relative; display: block; overflow: hidden;
	min-height: 360px; border-radius: 10px;
	background: #111; box-shadow: 0 22px 56px rgba(23,28,36,.16);
	isolation: isolate;
}
.quick-banner__visual::before {
	content: ""; position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(112deg, rgba(184,137,58,.96) 0 22%, rgba(255,255,255,.92) 22% 50%, rgba(10,12,16,.94) 50% 100%);
}
.quick-banner__visual::after {
	content: ""; position: absolute; inset: -40% auto auto -20%; z-index: 3;
	width: 36%; height: 180%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
	transform: rotate(18deg) translateX(-120%); transition: transform .9s ease;
}
.quick-banner:hover .quick-banner__visual::after { transform: rotate(18deg) translateX(390%); }
.quick-banner__visual img {
	position: absolute; inset: 0; z-index: 2;
	width: 100%; height: 100%; object-fit: cover; object-position: center;
	opacity: .72; mix-blend-mode: multiply;
	transform: scale(1.03); transition: transform .8s ease, opacity .8s ease;
}
.quick-banner:hover .quick-banner__visual img { transform: scale(1.08); opacity: .82; }
.quick-banner__badge {
	position: absolute; left: 28px; top: 28px; z-index: 4;
	display: inline-flex; align-items: center;
	min-height: 46px; padding: 0 18px; border-radius: 999px;
	background: #fff; color: var(--accent);
	font-weight: 900; box-shadow: 0 12px 28px rgba(0,0,0,.18);
}
.quick-banner__specs {
	position: absolute; right: 24px; top: 24px; z-index: 4;
	display: grid; grid-template-columns: repeat(4, auto); gap: 10px; color: #fff;
}
.quick-banner__specs b {
	display: grid; place-items: center;
	min-height: 54px; padding: 0 14px; border-radius: 8px;
	background: rgba(0,0,0,.7); font-size: 13px; text-transform: uppercase;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.quick-banner__form {
	display: grid; grid-template-columns: 1fr 1fr 230px;
	gap: 24px; align-items: start;
	margin: -6px auto 0; width: min(100%, 900px);
}
.quick-banner__form label { position: relative; display: grid; gap: 7px; }
.quick-banner__form label span { color: var(--muted); font-size: 13px; font-weight: 700; }
.quick-banner__form input:not([type="checkbox"]) {
	width: 100%; height: 62px; border: 0; border-radius: 8px;
	background: var(--input-bg); color: var(--input-color);
	padding: 0 20px; font-weight: 700;
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.04);
	transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
[data-theme="dark"] .quick-banner__form input:not([type="checkbox"]) {
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
.quick-banner__form input:not([type="checkbox"]):focus {
	background: var(--input-focus-bg);
	box-shadow: inset 0 0 0 2px rgba(184,137,58,.32), 0 12px 24px rgba(23,28,36,.08);
	transform: translateY(-1px);
}
.quick-banner__form .btn { height: 62px; margin-top: 24px; box-shadow: 0 12px 28px rgba(184,137,58,.25); }
.quick-banner__consent, .quick-banner__form .form-message { grid-column: 1 / -1; margin: 0; }
.quick-banner__consent {
	display: flex; gap: 10px; align-items: flex-start;
	color: var(--text); font-size: 14px;
}
.quick-banner__consent input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); }

/* ─────────────────────────────────────────────────────────────
   ANIMATIONS / REVEAL
───────────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   LIGHTBOX
───────────────────────────────────────────────────────────── */
.lightbox {
	position: fixed; inset: 0; z-index: 100;
	display: none; place-items: center; padding: 24px;
	background: rgba(0,0,0,.86);
}
.lightbox.is-open { display: grid; }
.lightbox img { max-height: 88vh; border-radius: var(--radius); box-shadow: var(--shadow); }
.lightbox button {
	position: fixed; right: 18px; top: 18px;
	width: 46px; height: 46px;
	border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--lightbox-btn-bg); color: var(--lightbox-btn-color);
	font-size: 26px; cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────
   POPUP
───────────────────────────────────────────────────────────── */
.sp-overlay {
	position: fixed; inset: 0; z-index: 9999;
	display: grid; place-items: center; padding: 16px;
	background: rgba(0,0,0,.52); backdrop-filter: blur(6px);
	animation: sp-fade-in .3s ease;
}
.sp-overlay[hidden] { display: none !important; }
@keyframes sp-fade-in { from{opacity:0} to{opacity:1} }
.sp-modal {
	position: relative; background: var(--panel);
	border: 1px solid rgba(184,137,58,.25); border-radius: 14px;
	padding: 36px 40px; width: min(520px,100%);
	box-shadow: 0 28px 70px rgba(23,28,36,.16);
	animation: sp-slide-up .35s cubic-bezier(.22,1,.36,1);
}
@keyframes sp-slide-up { from{transform:translateY(28px);opacity:0} to{transform:translateY(0);opacity:1} }
.sp-close {
	position: absolute; top: 14px; right: 14px;
	width: 34px; height: 34px; border-radius: 50%;
	border: 1px solid var(--card-border); background: var(--section-alt-bg);
	color: var(--muted); font-size: 20px; cursor: pointer; line-height: 1;
}
.sp-close:hover { background: rgba(184,137,58,.1); color: var(--accent); }
.sp-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 5px 12px; border-radius: 999px;
	background: rgba(184,137,58,.08); border: 1px solid rgba(184,137,58,.22);
	color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 14px;
}
.sp-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: sp-pulse 1.8s ease infinite; }
@keyframes sp-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.4)} }
.sp-title { font-size: clamp(18px,4vw,24px); font-weight: 900; margin: 0 0 8px; color: var(--text); line-height: 1.1; }
.sp-sub { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.sp-perks { display: grid; gap: 6px; margin-bottom: 18px; }
.sp-perks span { font-size: 14px; font-weight: 700; color: var(--accent); }
.sp-form .sp-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.sp-field input {
	width: 100%; padding: 13px; border-radius: 8px;
	border: 1px solid var(--input-border); background: var(--input-bg); color: var(--input-color);
	transition: border-color .2s, background .2s;
}
.sp-field input:focus { outline: none; border-color: var(--accent); background: var(--input-focus-bg); }
.sp-submit {
	width: 100%; padding: 14px; border-radius: 10px; border: none; cursor: pointer;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff; font-weight: 900; font-size: 15px;
	box-shadow: 0 10px 22px rgba(184,137,58,.28);
	transition: filter .2s;
}
.sp-submit:hover { filter: brightness(1.06); }
.sp-legal { font-size: 12px; color: var(--muted); margin: 8px 0 0; text-align: center; }
.sp-msg { padding: 10px 14px; border-radius: 8px; font-weight: 700; font-size: 14px; }
.sp-msg[hidden] { display: none; }

/* ─────────────────────────────────────────────────────────────
   IMAGE PLACEHOLDERS
───────────────────────────────────────────────────────────── */
.img-placeholder {
	background: linear-gradient(135deg, var(--section-alt-bg), var(--panel-2));
	display: flex; align-items: center; justify-content: center;
	min-height: 260px; color: var(--muted); font-size: 14px; font-weight: 700;
	border-radius: 8px; border: 2px dashed var(--line);
}
.work-card-placeholder {
	aspect-ratio: 4/3;
	background: linear-gradient(135deg, var(--section-alt-bg), var(--panel-2));
	display: flex; align-items: center; justify-content: center;
	color: var(--muted); font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────
   CSS VARIABLE OVERRIDE HOOK (customizer)
───────────────────────────────────────────────────────────── */
.shumo-custom-colors {}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
	.header-phone { display: none; }
	.menu-toggle { display: block; margin-left: auto; }
	.main-nav {
		position: fixed; inset: 74px 16px auto;
		padding: 18px;
		border: 1px solid var(--nav-mobile-border);
		border-radius: var(--radius);
		background: var(--nav-mobile-bg);
		box-shadow: var(--nav-mobile-shadow);
		backdrop-filter: blur(18px);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: .2s ease;
	}
	.main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
	.menu { flex-direction: column; gap: 16px; }
	.benefit-grid, .service-grid, .work-grid, .review-grid { grid-template-columns: repeat(2, 1fr); }
	.calc-layout, .cta-grid, .contact-grid, .materials, .faq-wrap, .cta-inner, .materials-layout, .contacts-grid { grid-template-columns: 1fr; }
	.process { grid-template-columns: repeat(3, 1fr); }
	.quick-banner__visual { min-height: 300px; }
	.quick-banner__specs {
		left: 24px; right: 24px; top: auto; bottom: 24px;
		grid-template-columns: repeat(2, 1fr);
	}
	.quick-banner__form { grid-template-columns: 1fr; gap: 14px; }
	.quick-banner__form .btn { margin-top: 0; }
	.editable-block { grid-template-columns: 1fr; }
	.editable-block--image_left .editable-block__media { order: 0; }
	.editable-block__text { font-size: 16px; }

	.hero {
		display: block; min-height: auto; padding: 110px 0 48px;
		background: var(--section-bg); overflow: visible;
	}
	.hero-layout { grid-template-columns: 1fr; gap: 28px; }
	.hero-content > * { max-width: none; }
	.hero-photo { aspect-ratio: 16/9; border-radius: 8px; }
	.hero-photo-placeholder { aspect-ratio: 16/9; border-radius: 8px; }
	[data-theme="dark"] .hero-layout { max-width: none; }
}

@media (max-width: 900px) {
	.editable-block { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.form-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
	.container { width: min(100% - 24px, 1180px); }
	.section { padding: 58px 0; }
	.header-inner { height: 64px; }
	.site-header { background: var(--header-bg); }
	.brand-mark { width: 42px; height: 42px; }
	.brand-text { font-size: 14px; }
	.hero { padding-top: 100px; }
	.hero-bg { height: 240px; }
	.hero-text { color: var(--hero-text-color); font-size: 17px; }
	.quick-banner__visual { min-height: 260px; }
	.quick-banner__visual::before {
		background: linear-gradient(150deg, rgba(184,137,58,.96) 0 30%, rgba(255,255,255,.88) 30% 54%, rgba(10,12,16,.94) 54% 100%);
	}
	.quick-banner__badge { left: 16px; top: 16px; font-size: 13px; }
	.quick-banner__specs { left: 16px; right: 16px; bottom: 16px; gap: 8px; }
	.quick-banner__specs b { min-height: 44px; font-size: 11px; padding: 0 8px; }
	.btn { width: 100%; }
	.hero-metrics span { width: 100%; }
	.benefit-grid, .service-grid, .work-grid, .review-grid, .process { grid-template-columns: 1fr; }
	.glass-card, .service-card, .review-card, .ppf-calc, .lead-form, .content-card { padding: 20px; }
	.calc-result strong { font-size: 20px; }
	.footer-grid { grid-template-columns: 1fr; }
	.calc-zones { grid-template-columns: 1fr; }
	.sp-modal { padding: 22px 18px; }
	.sp-form .sp-fields { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ═══════════════════════════════════════════════════════════════════
   МОБИЛЬНАЯ И ПЛАНШЕТНАЯ ВЁРСТКА
═══════════════════════════════════════════════════════════════════ */
html, body { overflow-x: hidden; max-width: 100%; }
h1, h2, h3 { overflow-wrap: break-word; word-break: break-word; }

@media (max-width: 980px) {
	.main-nav {
		inset: unset;
		top: 74px;
		right: 16px;
		left: auto;
		width: min(300px, calc(100% - 32px));
	}
	.hero { min-height: 75vh; background: var(--hero-bg); overflow: hidden; }
}

@media (max-width: 620px) {
	.header-socials { display: none; }
	.header-inner { gap: 12px; }
	.brand { flex-shrink: 1; max-width: 50%; overflow: hidden; }
	.brand img, .brand svg { max-height: 44px; width: auto; max-width: 100%; }
	.hero .hero-content h1 { font-size: clamp(26px, 7.5vw, 40px); word-break: break-word; overflow-wrap: break-word; }
	.hero .hero-content { max-width: 100%; width: 100%; box-sizing: border-box; }
	.hero-text { font-size: 15px; max-width: 100%; }
	.hero-actions { gap: 10px; width: 100%; }
	.hero-actions .btn, .hero-actions a.btn { width: 100%; min-width: 0; box-sizing: border-box; }
	h1 { font-size: clamp(24px, 7vw, 36px); }
	.contact-socials { flex-wrap: wrap; gap: 8px; }
	.contact-social-link { flex: 1 1 calc(50% - 4px); min-width: 0; text-align: center; white-space: nowrap; box-sizing: border-box; }
	.main-nav { top: 64px; }
}

/* ─── Кнопка «Наверх» ────────────────────────────────────────────── */
.back-to-top {
	position: fixed; bottom: 28px; right: 28px;
	width: 48px; height: 48px; border-radius: 50%;
	background: var(--accent); color: #fff; border: none; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 20px rgba(184,137,58,.32);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s;
	z-index: 49;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent-2); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }
