/* Окна 24 — v2. Палитра: #ff4545 (акцент), #3e3e40 (тёмный), белый и нейтральные серые. */
:root {
	--accent: #ff4545; --accent-d: #e63a3a; --dark: #3e3e40; --dark-2: #2e2e30; --text: #3e3e40; --muted: #77777a;
	--g0: #fafafa; --g1: #f5f5f5; --g2: #eeeeee; --g3: #dedede; --g4: #b4b4b4; --white: #fff;
	--line: 1px solid var(--g3); --line-d: 1px solid var(--dark);
	--card-bg: radial-gradient(74.5% 74.5% at 50% 50%, #fff 0, #dedede 100%);
	--r: 6px; --r-sm: 4px;
	--shadow: 0 12px 32px rgba(46, 46, 48, .10); --shadow-s: 0 4px 14px rgba(46, 46, 48, .08);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--font: 'Source Sans 3', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
	--font-h: 'Istok Web', 'Source Sans 3', system-ui, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: #fff; }
a { color: var(--dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; height: auto; }
.icon { flex: none; display: inline-block; vertical-align: middle; fill: currentColor; }
h1, h2, h3, h4, .h3, .h4 { font-family: var(--font-h); color: var(--dark); line-height: 1.18; font-weight: 700; margin: 0 0 .5em; }
.h3 { font-size: 24px; } .h4 { font-size: 19px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.container-o24 { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.container-o24 .container-o24 { padding: 0; }

.link-u, .content a, .breadcrumbs a, .footer-links a, .footer-line a, .contact-line a:not(.contact-line__big), .main-nav__sub a, .header-top__nav a {
	background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .3s var(--ease), color .2s; }
.link-u:hover, .content a:hover, .breadcrumbs a:hover, .footer-links a:hover, .footer-line a:hover, .contact-line a:hover, .main-nav__sub a:hover, .header-top__nav a:hover { background-size: 100% 1px; }
.content a { color: var(--accent); background-size: 100% 1px; background-image: linear-gradient(rgba(255, 69, 69, .35), rgba(255, 69, 69, .35)); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 11px 24px; border-radius: var(--r-sm); border: 1px solid transparent; font: 600 15px/1.2 var(--font); letter-spacing: .02em; cursor: pointer; overflow: hidden; isolation: isolate; text-align: center;
	transition: color .25s, border-color .25s, background-color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: default; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 14px; }
.btn-outline, .btn-primary, .btn-ghost, .btn-outline-light, .btn-white { background: transparent; }
.btn-outline::before, .btn-primary::before, .btn-ghost::before, .btn-outline-light::before, .btn-white::before {
	content: ''; position: absolute; inset: 0; z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); background: var(--dark); }
.btn-outline:hover::before, .btn-primary:hover::before, .btn-ghost:hover::before, .btn-outline-light:hover::before, .btn-white:hover::before { transform: scaleX(1); }
.btn-outline, .btn-primary { border-color: var(--dark); color: var(--dark); }
.btn-outline:hover, .btn-primary:hover { color: #fff; }
.btn-ghost { border-color: var(--g3); color: var(--dark); }
.btn-ghost:hover { color: #fff; border-color: var(--dark); }
.btn-outline-light, .btn-white { border-color: rgba(255, 255, 255, .55); color: #fff; }
.btn-outline-light::before, .btn-white::before { background: #fff; }
.btn-outline-light:hover, .btn-white:hover { color: var(--dark); border-color: #fff; }
.btn-dark { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-dark:hover { background: var(--dark-2); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-s); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-d); border-color: var(--accent-d); color: #fff; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 69, 69, .28); }
.btn-shimmer::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-18deg); animation: shimmer 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes shimmer { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--dark); cursor: pointer; }
.icon-btn--line { border: var(--line); }
.icon-btn:hover { color: var(--accent); border-color: var(--dark); }
.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 0 11px; border: var(--line); border-radius: var(--r-sm); background: transparent; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--dark); transition: transform .3s; }
.burger:hover span:nth-child(2) { transform: translateX(4px); }
.tag { display: inline-block; padding: 4px 10px; border: 1px solid var(--accent); border-radius: 3px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: transparent; }
.tag--light { border-color: rgba(255, 255, 255, .45); color: #fff; }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: var(--line); }
.header-top { border-bottom: var(--line); font-size: 13px; color: var(--muted); }
.header-top__row { display: flex; align-items: center; gap: 24px; min-height: 34px; }
.header-top__city { display: inline-flex; gap: 6px; align-items: center; color: var(--dark); font-weight: 600; }
.header-top__city .icon { color: var(--accent); }
.header-top__nav { margin-left: auto; display: flex; gap: 22px; }
.header-top__nav a { color: var(--muted); }
.header-top__nav a:hover { color: var(--dark); }
.header-main__row { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--dark); font: 700 25px/1 var(--font-h); white-space: nowrap; margin-right: auto; }
.brand:hover { color: var(--dark); }
.brand__mark { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--dark); border-radius: var(--r-sm); color: var(--accent); transition: transform .4s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-6deg); }
.brand__mark .icon { width: 22px; height: 22px; }
.brand__img { max-height: 48px; width: auto; }
.brand--light, .brand--light:hover { color: var(--dark); }
.header-msg { display: flex; gap: 4px; }
.msg { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: var(--dark); background: none; border-radius: 0; transition: color .2s, transform .2s; }
.msg:hover { color: var(--accent); transform: translateY(-2px); }
.header-phone { text-align: right; line-height: 1.25; }
.header-phone__num { display: block; color: var(--dark); font: 700 19px/1.2 var(--font-h); white-space: nowrap; }
.header-phone__note { font-size: 12px; color: var(--muted); }
.header-nav { border-top: var(--line); }
.main-nav { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.main-nav > li { position: relative; }
.main-nav > li > a { position: relative; display: block; padding: 13px 14px; color: var(--dark); font-weight: 600; font-size: 15px; }
.main-nav > li:first-child > a { padding-left: 0; }
.main-nav > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > li:first-child > a::after { left: 0; }
.main-nav > li > a:hover::after, .main-nav > li.active > a::after, .main-nav > li.current-menu-item > a::after { transform: scaleX(1); }
.main-nav > li > a:hover { color: var(--dark); }
.main-nav > li.has-children > a { padding-right: 26px; }
.main-nav > li.has-children > a::before { content: ''; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); transition: transform .25s; }
.main-nav > li.has-children:hover > a::before { transform: translateY(3px) rotate(225deg); }
.main-nav__sub { position: absolute; left: 0; top: 100%; min-width: 260px; margin: 0; padding: 8px 0; list-style: none; background: #fff; border: var(--line-d); border-radius: 0 0 var(--r-sm) var(--r-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease); }
.main-nav > li:hover > .main-nav__sub, .main-nav > li:focus-within > .main-nav__sub { opacity: 1; visibility: visible; transform: none; }
.main-nav__sub li { padding: 0 16px; }
.main-nav__sub a { display: inline-block; padding: 7px 0; color: var(--text); }
.main-nav__sub a:hover { color: var(--accent); }
.mobile-nav { width: min(380px, 92vw) !important; }
.mobile-nav .offcanvas-header { border-bottom: var(--line); }
.mobile-nav__list, .mobile-nav__list ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav__list > li { border-bottom: var(--line); }
.mobile-nav__list > li > a { display: block; padding: 11px 0; font-weight: 600; color: var(--dark); font-size: 17px; }
.mobile-nav__list ul { padding: 0 0 10px 14px; border-left: 2px solid var(--accent); margin-bottom: 8px; }
.mobile-nav__list ul a { display: block; padding: 4px 0; color: var(--text); }
.mobile-nav__list .is-small a { font-size: 15px; font-weight: 400; color: var(--muted); }
.mobile-nav__msg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; }
.msg-link { display: inline-flex; align-items: center; gap: 8px; color: var(--dark); font-weight: 600; }
.msg-link:hover { color: var(--accent); }
.mobile-nav__note { margin-top: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Секции ---------- */
.site-main { min-height: 50vh; }
.section { position: relative; padding: 88px 0; }
.section--tight { padding: 48px 0; }
.section--grey { background: var(--g1); border-top: var(--line); border-bottom: var(--line); }
.section--grey + .section--grey { border-top: 0; }
.h-section { position: relative; font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; padding-top: 18px; }
.h-section::before { content: ''; position: absolute; left: 0; top: 0; width: 36px; height: 2px; background: var(--accent); }
.section-lead { max-width: 760px; font-size: 18px; color: var(--muted); margin-bottom: 36px; }
.section-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head .h-section { margin: 0; margin-right: auto; }
.page-title { font-size: clamp(28px, 4vw, 44px); margin: 8px 0 20px; }
.lead { font-size: 19px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.breadcrumbs li + li::before { content: '/'; margin-right: 6px; color: var(--g4); }
.breadcrumbs a { color: var(--muted); }
.content { max-width: 860px; }
.content h2 { font-size: 26px; margin-top: 1.5em; }
.content h3 { font-size: 21px; margin-top: 1.2em; }
.content ul { padding-left: 1.2em; }
.content li::marker { color: var(--accent); }
.content table { width: 100%; border-collapse: collapse; }
.content td, .content th { border: var(--line); padding: 8px 12px; }
.check-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { flex: none; width: 20px; height: 20px; padding: 4px; margin-top: 2px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); }
.check-list--light li { color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips--scroll::-webkit-scrollbar { display: none; }
.chip { position: relative; flex: none; border: var(--line); background: #fff; color: var(--dark); border-radius: var(--r-sm); padding: 9px 16px; font: 600 14px/1.2 var(--font); cursor: pointer; transition: border-color .2s, color .2s; }
.chip::after { content: ''; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease); }
.chip:hover, .chip.is-active { border-color: var(--dark); }
.chip.is-active::after { transform: scaleX(1); }
.carousel-nav { display: flex; gap: 8px; }
.round-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: var(--line-d); background: #fff; color: var(--dark); cursor: pointer; transition: .2s; }
.round-btn:hover { background: var(--dark); color: #fff; }
.round-btn.swiper-button-disabled { opacity: .3; cursor: default; background: #fff; color: var(--dark); }

/* ---------- Карточки ---------- */
.benefit, .step, .profile-card, .price-card, .type-card, .option-card, .review, .stat, .card-link, .quality__list li, .spec-card, .contacts-card, .swatch, .hero__form, .form-card, .calc__svg, .type-hero__img, .work {
	background: var(--card-bg); border: var(--line); border-radius: var(--r); }
.benefit, .step, .profile-card, .price-card, .type-card, .option-card, .review, .card-link, .quality__list li, .swatch, .work, .stat {
	transition: transform .35s var(--ease), border-color .35s, box-shadow .35s; }
.benefit:hover, .step:hover, .profile-card:hover, .price-card:hover, .type-card:hover, .option-card:hover, .review:hover, .card-link:hover, .quality__list li:hover, .work:hover, .stat:hover {
	transform: translateY(-4px); border-color: var(--dark); box-shadow: var(--shadow); }

/* ---------- Первый экран ---------- */
.hero { position: relative; overflow: hidden; color: #e9e9ea; background: linear-gradient(135deg, #2e2e30 0%, #3e3e40 55%, #353537 100%); padding: 72px 0 84px; isolation: isolate; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero__ambient { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__ambient span { position: absolute; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 69, 69, .22), transparent 65%); animation: drift 22s ease-in-out infinite alternate; }
.hero__ambient span:first-child { right: -120px; top: -180px; }
.hero__ambient span:last-child { left: -220px; bottom: -300px; width: 640px; height: 640px; background: radial-gradient(circle, rgba(255, 255, 255, .08), transparent 65%); animation-duration: 28s; animation-delay: -8s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-60px, 40px) scale(1.08); } 100% { transform: translate(40px, -30px) scale(.96); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title { color: #fff; font-size: clamp(32px, 4.4vw, 52px); margin: 18px 0 16px; }
.hero__subtitle { font-size: 18px; color: #c9c9cc; max-width: 600px; }
.hero__prices { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; margin-top: 22px; }
.hero__price { margin: 0; display: flex; align-items: baseline; gap: 8px; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--r-sm); color: #c9c9cc; font-size: 14px; }
.hero__price b { font: 700 26px/1 var(--font-h); color: #fff; }
.ticker { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: baseline; padding: 10px 16px; border: 1px solid rgba(255, 69, 69, .55); border-radius: var(--r-sm); font-size: 13px; color: #c9c9cc; min-width: 250px; }
.ticker__label { grid-column: 1 / -1; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #a5a5a8; }
.ticker__name { color: #fff; font-weight: 600; font-size: 15px; transition: opacity .3s, transform .3s; }
.ticker__price { text-align: right; white-space: nowrap; }
.ticker__price b { font: 700 20px/1.2 var(--font-h); color: #fff; }
.ticker.is-swap .ticker__name { opacity: 0; transform: translateY(-6px); }
.hero .check-list { margin-top: 24px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 40px 0 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.hero__facts div { padding: 16px 16px 0 0; }
.hero__facts div + div { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .16); }
.hero__facts dt { font: 700 30px/1 var(--font-h); color: #fff; }
.hero__facts dd { margin: 6px 0 0; font-size: 13px; color: #a5a5a8; }
.hero__img { display: block; margin-left: auto; width: 100%; max-width: 520px; border-radius: var(--r); }
.hero__form { padding: 28px; color: var(--text); }

/* Интерактивное окно */
.hw { position: relative; max-width: 520px; margin-left: auto; perspective: 1400px; }
.hw__window { position: relative; aspect-ratio: 1.12 / 1; padding: 14px; background: linear-gradient(180deg, #fbfbfb, #ececec); border-radius: 3px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(0, 0, 0, .08); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.hw__scene { position: absolute; inset: 14px; overflow: hidden; background: linear-gradient(180deg, #f2f2f3 0%, #dcdcde 70%, #cfcfd1 100%); }
.hw__layer { position: absolute; display: block; will-change: transform; transition: transform .25s linear; }
.hw__sky { inset: -10%; background: radial-gradient(60% 50% at 70% 30%, rgba(255, 255, 255, .9), transparent 70%); }
.hw__sun { width: 70px; height: 70px; right: 18%; top: 16%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 69, 69, .55), rgba(255, 69, 69, .15) 60%, transparent 70%); }
.hw__city { left: -8%; width: 116%; bottom: -2px; height: 36%; }
.hw__city--far { height: 46%; bottom: 6%; }
.hw__tree { left: 4%; bottom: -10px; width: 26%; height: auto; }
.hw__frame { position: absolute; inset: 14px; display: grid; grid-template-columns: 1fr 1fr 1fr; perspective: 900px; }
.hw__sash { position: relative; padding: 0; margin: 0; border: 7px solid #f6f6f6; border-top-width: 6px; border-bottom-width: 6px; background: transparent; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1), 0 0 0 1px rgba(0, 0, 0, .06); }
.hw__sash--fixed { cursor: help; }
.hw__leaf { position: absolute; inset: 0; display: block; border: 7px solid #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12), inset 0 0 0 1px rgba(0, 0, 0, .1); transform-origin: left center; transition: transform .7s var(--ease), box-shadow .7s; backface-visibility: hidden; }
.hw__sash--fixed .hw__leaf { border: 0; box-shadow: none; }
.hw__sash--tilt .hw__leaf { transform-origin: right center; }
.hw__glass { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(135deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .25)); }
.hw__glare { position: absolute; top: -20%; bottom: -20%; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-16deg); animation: glare 9s ease-in-out infinite; }
.hw__sash:nth-child(2) .hw__glare { animation-delay: .35s; }
.hw__sash:nth-child(3) .hw__glare { animation-delay: .7s; }
@keyframes glare { 0%, 72% { left: -70%; } 100% { left: 150%; } }
.hw__handle { position: absolute; top: 50%; right: -6px; width: 5px; height: 26px; margin-top: -13px; border-radius: 3px; background: var(--dark); box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.hw__sash--tilt .hw__handle { right: auto; left: -6px; }
.hw__sash--turn.is-open .hw__leaf { transform: rotateY(-38deg); box-shadow: 18px 0 30px rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .1); }
.hw__sash--tilt.is-tilt .hw__leaf { transform-origin: center bottom; transform: rotateX(-14deg); box-shadow: 0 -12px 24px rgba(0, 0, 0, .2); }
.hw__sash--tilt.is-open .hw__leaf { transform-origin: right center; transform: rotateY(38deg); box-shadow: -18px 0 30px rgba(0, 0, 0, .25); }
.hw__sash--fixed.is-shake .hw__leaf { animation: shake .5s; }
@keyframes shake { 20%, 60% { transform: translateX(-2px); } 40%, 80% { transform: translateX(2px); } }
.hw__sash:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
.hw__sill { height: 16px; margin: -2px -4% 0; background: linear-gradient(180deg, #fff, #e4e4e5); border-radius: 2px; box-shadow: 0 16px 30px rgba(0, 0, 0, .35); }
.hw__hint { margin: 18px 0 0; text-align: center; font-size: 13px; color: #a5a5a8; }
.hw__hint span { display: inline-block; padding-bottom: 2px; border-bottom: 1px dashed rgba(255, 255, 255, .3); }

/* ---------- Заголовок страницы, фон блока ---------- */
.page-head { position: relative; padding: 12px 0 52px; border-bottom: var(--line); background: linear-gradient(180deg, #fff, var(--g1)); }
.page-head__text { max-width: 760px; font-size: 18px; color: var(--muted); }
.has-bg { position: relative; overflow: hidden; isolation: isolate; border: 0; }
.bg-media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.bg-media picture, .bg-media img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.has-parallax .bg-media img { top: -12%; height: 124%; will-change: transform; }
.bg-overlay { position: absolute; inset: 0; }
.has-bg--dark .bg-overlay { background: linear-gradient(180deg, rgba(46, 46, 48, .82), rgba(46, 46, 48, .72)); }
.has-bg--light .bg-overlay { background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .84)); }
.has-bg--dark, .has-bg--dark .section-lead, .has-bg--dark .page-head__text, .has-bg--dark .form-band__text, .has-bg--dark .breadcrumbs ol { color: #dcdcde; }
.has-bg--dark .h-section, .has-bg--dark .page-title, .has-bg--dark .breadcrumbs a, .has-bg--dark .check-list li { color: #fff; }
.page-head.has-bg--dark .btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.page-head.has-bg--dark .btn-ghost::before { background: #fff; }
.page-head.has-bg--dark .btn-ghost:hover { color: var(--dark); }
.page-head.has-bg { border-bottom: 0; padding-top: 48px; padding-bottom: 64px; }
.section.has-bg { padding: 104px 0; }
.has-bg--dark .quiz-aside .check-list li { color: var(--text); }

/* ---------- Преимущества, шаги, отзывы, FAQ ---------- */
.benefits { display: grid; gap: 20px; }
.benefits--3 { grid-template-columns: repeat(3, 1fr); }
.benefits--4 { grid-template-columns: repeat(4, 1fr); }
.benefit { padding: 30px 28px; }
.benefit__icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border: var(--line-d); border-radius: var(--r-sm); color: var(--accent); margin-bottom: 18px; transition: transform .4s var(--ease), background .3s, color .3s; }
.benefit:hover .benefit__icon, .card-link:hover .benefit__icon { background: var(--dark); color: #fff; transform: rotate(-4deg); }
.benefit__icon .icon { width: 24px; height: 24px; }
.benefit__title { font: 700 19px/1.3 var(--font-h); color: var(--dark); margin-bottom: 8px; }
.benefit__text { margin: 0; color: var(--muted); }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { position: relative; padding: 28px 26px 24px; }
.step__num { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--accent); border-radius: var(--r-sm); color: var(--accent); font: 700 18px/1 var(--font-h); margin-bottom: 16px; transition: .3s; }
.step:hover .step__num { background: var(--accent); color: #fff; }
.step__title { font: 700 18px/1.3 var(--font-h); color: var(--dark); margin-bottom: 6px; }
.step__text { margin: 0; color: var(--muted); }
.steps + .btn-row { margin-top: 36px; justify-content: center; }
.rating-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: var(--line); border-radius: var(--r-sm); background: #fff; }
.rating-badge b { font: 700 22px/1 var(--font-h); color: var(--dark); }
.stars { display: inline-flex; gap: 1px; color: var(--accent); }
.review { height: 100%; padding: 26px; }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review__head .stars { margin-left: auto; }
.review__avatar { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: var(--line-d); border-radius: 50%; color: var(--dark); font: 700 17px/1 var(--font-h); }
.review__name { font-weight: 700; color: var(--dark); margin: 0; }
.review__date { font-size: 13px; color: var(--muted); margin: 0; }
.review__text { margin: 0; }
.swiper-slide { height: auto; }
.swiper { padding: 6px 2px 10px; margin: -6px -2px -10px; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq { border-top: var(--line-d); }
.faq__item { border-bottom: var(--line); }
.faq__q { display: flex; width: 100%; align-items: center; gap: 16px; padding: 20px 0; border: 0; background: none; text-align: left; font: 700 18px/1.35 var(--font-h); color: var(--dark); cursor: pointer; transition: color .2s; }
.faq__q:hover { color: var(--accent); }
.faq__icon { margin-left: auto; display: inline-flex; width: 34px; height: 34px; flex: none; border: var(--line-d); border-radius: var(--r-sm); align-items: center; justify-content: center; transition: transform .35s var(--ease), background .3s, color .3s; color: var(--dark); }
.faq__icon .icon { width: 12px; height: 12px; }
.faq__q:not(.collapsed) .faq__icon { transform: rotate(180deg); background: var(--dark); color: #fff; }
.faq__a { padding: 0 52px 18px 0; color: var(--muted); }
.form-band { background: var(--dark); color: #dcdcde; }
.form-band .h-section { color: #fff; }
.form-band__grid { display: grid; grid-template-columns: 1fr 440px; gap: 56px; align-items: center; }
.form-band__text { font-size: 18px; color: #c9c9cc; }
.form-card { padding: 30px; color: var(--text); background: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: var(--line); border-radius: var(--r); overflow: hidden; }
.stats .stat { padding: 28px; border: 0; border-radius: 0; }
.stats .stat:hover { transform: none; box-shadow: none; }
.stats .stat + .stat { border-left: var(--line); }
.stat b { display: block; font: 700 36px/1.1 var(--font-h); color: var(--dark); margin-bottom: 6px; }
.stat span { color: var(--muted); }
.has-bg .stats { border-color: rgba(255, 255, 255, .25); }
.price-note { display: flex; gap: 12px; align-items: flex-start; margin: 28px 0 0; padding: 14px 18px; border: var(--line); border-left: 2px solid var(--accent); border-radius: var(--r-sm); background: #fff; color: var(--muted); font-size: 14px; }
.price-note .icon { color: var(--accent); margin-top: 3px; }

/* ---------- Профили, цены, таблицы ---------- */
.profile-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.profile-card { display: flex; flex-direction: column; padding: 26px 24px; }
.profile-card[hidden] { display: none; }
.profile-card__title { font-size: 23px; margin: 14px 0 4px; }
.profile-card__title a { color: var(--dark); }
.profile-card__title a:hover { color: var(--accent); }
.profile-card__tagline { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.profile-card__specs { list-style: none; margin: 0 0 14px; padding: 0; font-size: 14px; border-top: var(--line); }
.profile-card__specs li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: var(--line); }
.profile-card__specs span { color: var(--muted); }
.profile-card__specs b { color: var(--dark); text-align: right; font-weight: 600; }
.profile-card__meters { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.profile-card__meters span { display: inline-flex; gap: 6px; align-items: center; }
.profile-card__meters .icon { color: var(--accent); width: 14px; height: 14px; }
.profile-card__bottom { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: var(--line); }
.profile-card__price { margin: 0; color: var(--muted); white-space: nowrap; font-size: 14px; }
.profile-card__price b { font: 700 22px/1 var(--font-h); color: var(--dark); }
.price-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.price-cards[hidden] { display: none; }
.price-cards:not([hidden]) > * { animation: fadeUp .5s var(--ease) both; }
.price-cards:not([hidden]) > :nth-child(2) { animation-delay: .05s; }
.price-cards:not([hidden]) > :nth-child(3) { animation-delay: .1s; }
.price-cards:not([hidden]) > :nth-child(4) { animation-delay: .15s; }
.price-cards:not([hidden]) > :nth-child(5) { animation-delay: .2s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.price-card { display: flex; flex-direction: column; padding: 20px; }
.price-card__img { display: flex; align-items: flex-end; justify-content: center; height: 170px; margin-bottom: 16px; }
.price-card__img svg { height: 100%; width: auto; max-width: 100%; transition: transform .4s var(--ease); }
.price-card:hover .price-card__img svg { transform: scale(1.04); }
.price-card__title { font: 700 17px/1.25 var(--font-h); color: var(--dark); margin-bottom: 4px; }
.price-card__size { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.price-card__price { font: 700 23px/1.1 var(--font-h); color: var(--dark); margin-bottom: 4px; }
.price-card__turnkey { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.price-card .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: var(--line); border-radius: var(--r); background: #fff; }
.table-o24 { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.table-o24 th, .table-o24 td { padding: 12px 14px; border-bottom: var(--line); text-align: left; vertical-align: top; }
.table-o24 thead th { background: var(--g1); font-weight: 700; color: var(--dark); white-space: nowrap; border-bottom: var(--line-d); }
.table-o24 thead th a { color: var(--dark); }
.table-o24 thead th a:hover { color: var(--accent); }
.table-o24 tbody tr { transition: background .2s; }
.table-o24 tbody tr:hover { background: var(--g0); }
.table-o24 tbody tr:last-child > * { border-bottom: 0; }
.table-compare tbody th { color: var(--muted); font-weight: 600; white-space: nowrap; position: sticky; left: 0; background: #fff; }

/* ---------- Типы, качество, опции, ламинация, работы, контакты ---------- */
.type-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.type-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; color: var(--dark); }
.type-card:hover { color: var(--dark); }
.type-card__img { display: flex; align-items: flex-end; justify-content: center; width: 100%; height: 150px; margin-bottom: 14px; }
.type-card__img svg { height: 100%; width: auto; max-width: 100%; }
.type-card__title { font: 700 16px/1.25 var(--font-h); }
.type-card__price { margin-top: 6px; color: var(--accent); font-weight: 700; }
.quality { display: grid; grid-template-columns: 420px 1fr; gap: 48px; align-items: center; }
.quality__img img { display: block; border: var(--line); border-radius: var(--r); background: #fff; }
.quality__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.quality__list li { display: flex; gap: 18px; padding: 22px; }
.quality__list p { margin: 0; color: var(--muted); }
.quality__num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: var(--r-sm); color: var(--accent); font: 700 17px/1 var(--font-h); }
.quality__title { font: 700 18px/1.3 var(--font-h); color: var(--dark) !important; margin-bottom: 4px !important; }
.option-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.option-card { padding: 26px; }
.option-card__img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-sm); margin-bottom: 14px; }
.option-card__title { font: 700 18px/1.3 var(--font-h); color: var(--dark); margin-bottom: 6px; }
.option-card__text { color: var(--muted); margin-bottom: 12px; }
.option-card__price { margin: 0; font-weight: 700; color: var(--accent); }
.lam-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: center; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.swatch { padding: 10px; text-align: center; }
.swatch__color { position: relative; display: block; height: 84px; border-radius: 3px; margin-bottom: 10px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch__color::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); }
.swatch:hover .swatch__color::after { transform: translateX(100%); }
.swatch__name { display: block; font-weight: 600; color: var(--dark); font-size: 14px; }
.swatch__group { font-size: 12px; color: var(--muted); }
.work { margin: 0; overflow: hidden; }
.work img { display: block; width: 100%; aspect-ratio: 10/7; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.04); }
.work figcaption { position: relative; padding: 14px 18px; font-weight: 600; color: var(--dark); border-top: var(--line); background: #fff; }
.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
.contacts-card { padding: 34px; }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.contact-line .icon { color: var(--accent); }
.contact-line__big { font: 700 22px/1.2 var(--font-h); color: var(--dark); }
.contact-line .muted { font-size: 14px; }
.msg-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.msg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: var(--line-d); border-radius: var(--r-sm); color: var(--dark); font-weight: 600; background: transparent; transition: .2s; }
.msg-btn:hover { color: var(--accent); border-color: var(--accent); }
.legal-line { font-size: 13px; color: var(--muted); margin: 0; }
.contacts-map { min-height: 420px; border: var(--line); border-radius: var(--r); overflow: hidden; background: var(--g1); }
.contacts-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) contrast(1.05); transition: filter .4s; }
.contacts-map:hover iframe { filter: none; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.about-img { width: 100%; border: var(--line); border-radius: var(--r); background: var(--card-bg); padding: 20px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card-link { display: flex; flex-direction: column; gap: 8px; padding: 26px; color: var(--text); }
.card-link:hover { color: var(--text); }
.card-link__title { font: 700 19px/1.25 var(--font-h); color: var(--dark); margin-top: 6px; }
.card-link__text { color: var(--muted); font-size: 15px; }
.card-link__more { margin-top: auto; padding-top: 10px; color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.card-link__more .icon { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.card-link:hover .card-link__more .icon { transform: translateX(4px); }
.profile-hero { padding-top: 24px; }
.profile-hero__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.price-from { font-size: 16px; color: var(--muted); margin: 8px 0 0; }
.price-from b { font: 700 32px/1 var(--font-h); color: var(--dark); }
.spec-card { padding: 30px; }
.spec-card__title { font: 700 21px/1.2 var(--font-h); color: var(--dark); }
.spec-list { margin: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: var(--line); }
.spec-list dt { font-weight: 400; color: var(--muted); }
.spec-list dd { margin: 0; text-align: right; font-weight: 600; color: var(--dark); }
.type-hero__img { display: flex; justify-content: center; padding: 32px; }
.type-hero__img svg { max-height: 360px; width: auto; }

/* ---------- Калькулятор ---------- */
.calc-section { background: var(--g1); border-top: var(--line); border-bottom: var(--line); }
.calc { background: #fff; border: var(--line); border-radius: var(--r); padding: 30px; box-shadow: var(--shadow-s); }
.calc__tabs { margin-bottom: 26px; }
.calc__grid { display: grid; grid-template-columns: 1.05fr 1fr 320px; gap: 30px; align-items: start; }
.calc__preview { display: flex; flex-direction: column; gap: 16px; }
.calc__svg { position: relative; display: flex; align-items: center; justify-content: center; min-height: 300px; padding: 22px; overflow: hidden; }
.calc__svg::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-16deg); animation: glare 10s ease-in-out infinite; pointer-events: none; }
.calc__svg svg { max-height: 300px; width: auto; }
.calc__svg [data-sash-hit] { cursor: pointer; transition: fill .2s; }
.calc__svg [data-sash-hit]:hover { fill: rgba(255, 69, 69, .07); }
.calc__sashes { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.calc__size { display: flex; align-items: flex-end; gap: 10px; }
.calc__size .field { flex: 1; }
.calc__x { padding-bottom: 13px; color: var(--muted); font-size: 18px; }
.calc__hint { margin: 0; color: var(--accent-d); font-size: 14px; }
.calc__options { display: flex; flex-direction: column; gap: 16px; }
.calc__row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc__profile-info { margin: -8px 0 0; font-size: 13px; color: var(--muted); }
.calc__result { position: sticky; top: 140px; background: #fff; border: var(--line-d); border-radius: var(--r); padding: 24px; }
.calc__result-label { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.calc__old { margin: 6px 0 0; color: var(--muted); text-decoration: line-through; }
.calc__total { font: 700 38px/1.1 var(--font-h); color: var(--dark); margin: 6px 0 16px; white-space: nowrap; }
.calc__total .js-calc-total { display: inline-block; transition: transform .25s, color .25s; }
.calc__total.is-bump .js-calc-total { transform: translateY(-2px); color: var(--accent); }
.calc__lines { list-style: none; margin: 0 0 16px; padding: 0; font-size: 14px; border-top: var(--line); }
.calc__lines li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: var(--line); }
.calc__lines li span:last-child { white-space: nowrap; font-weight: 600; color: var(--dark); }
.calc__monthly { margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--accent); border-radius: var(--r-sm); color: var(--accent); font-weight: 600; font-size: 14px; }
.calc__note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.calc__result .btn + .btn { margin-top: 8px; }

/* ---------- Поля форм ---------- */
.field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.field__label { font-size: 13px; font-weight: 700; color: var(--dark); }
.field__label small { font-weight: 400; color: var(--muted); }
.field input[type=number], .field input[type=text], .field select, .fluentform .ff-el-form-control { width: 100%; height: 48px; padding: 0 14px; border: var(--line); border-radius: var(--r-sm); background: #fff; font: 500 16px var(--font); color: var(--dark); appearance: none; -moz-appearance: textfield; transition: border-color .2s, box-shadow .2s; }
.field--sm select { height: 42px; font-size: 14px; }
.field input:hover, .fluentform .ff-el-form-control:hover { border-color: var(--g4); }
.field input:focus, .field select:focus, .fluentform .ff-el-form-control:focus { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(62, 62, 64, .08); }
.field input.is-invalid { border-color: var(--accent); }
.segmented { display: flex; border: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.segmented label { flex: 1; margin: 0; position: relative; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: block; padding: 11px 6px; text-align: center; font-size: 14px; font-weight: 600; cursor: pointer; border-left: var(--line); transition: background .2s, color .2s; }
.segmented label:first-child span { border-left: 0; }
.segmented span:hover { background: var(--g1); }
.segmented input:checked + span { background: var(--dark); color: #fff; }
.segmented input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--accent); }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; font-size: 15px; }
.qty { display: inline-flex; border: var(--line); border-radius: var(--r-sm); overflow: hidden; width: max-content; }
.qty button { width: 44px; border: 0; background: #fff; font-size: 20px; cursor: pointer; color: var(--dark); transition: background .2s; }
.qty button:hover { background: var(--g1); color: var(--accent); }
.qty input { width: 64px; height: 44px; border: 0 !important; border-left: var(--line) !important; border-right: var(--line) !important; text-align: center; padding: 0 !important; border-radius: 0 !important; }
input[type=checkbox], input[type=radio] { appearance: none; -webkit-appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1px solid var(--dark); border-radius: 3px; background: #fff center / 12px no-repeat; cursor: pointer; vertical-align: middle; transition: background-color .2s, border-color .2s, box-shadow .2s; }
input[type=radio] { border-radius: 50%; }
input[type=checkbox]:hover, input[type=radio]:hover { border-color: var(--accent); }
input[type=checkbox]:checked { background-color: var(--accent); border-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E"); }
input[type=radio]:checked { border-color: var(--accent); box-shadow: inset 0 0 0 5px var(--accent); }
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255, 69, 69, .25); }
input[type=radio]:checked:focus-visible { box-shadow: inset 0 0 0 5px var(--accent), 0 0 0 3px rgba(255, 69, 69, .25); }
.cselect { position: relative; width: 100%; }
.cselect > select { position: absolute !important; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.cselect__btn { display: flex; align-items: center; gap: 10px; width: 100%; height: 48px; padding: 0 14px; border: var(--line); border-radius: var(--r-sm); background: #fff; font: 500 16px var(--font); color: var(--dark); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.field--sm .cselect__btn { height: 42px; font-size: 14px; padding: 0 10px; }
.cselect__btn:hover { border-color: var(--g4); }
.cselect__btn:focus-visible, .cselect.is-open .cselect__btn { outline: none; border-color: var(--dark); box-shadow: 0 0 0 3px rgba(62, 62, 64, .08); }
.cselect__value { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__value.is-placeholder { color: var(--muted); }
.cselect__chev { flex: none; width: 10px; height: 16px; color: var(--dark); transition: transform .3s var(--ease); }
.cselect.is-open .cselect__chev { transform: rotate(180deg); color: var(--accent); }
.cselect__list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 4px); max-height: 280px; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: #fff; border: var(--line-d); border-radius: var(--r-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
.cselect.is-open .cselect__list { opacity: 1; visibility: visible; transform: none; }
.cselect.is-up .cselect__list { top: auto; bottom: calc(100% + 4px); }
.cselect__opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 14px 9px 16px; font-size: 15px; color: var(--text); cursor: pointer; }
.cselect__opt.is-active { background: var(--g1); }
.cselect__opt.is-selected { color: var(--dark); font-weight: 600; }
.cselect__opt.is-selected::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; background: var(--accent); }
.cselect__opt .icon { width: 12px; height: 12px; color: var(--accent); }
.cselect__opt[aria-disabled=true] { color: var(--g4); cursor: default; }

/* ---------- Квиз ---------- */
.quiz-head { max-width: 760px; }
.quiz-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.quiz-wrap--compact { grid-template-columns: 1fr; }
.quiz { position: relative; background: #fff; border: var(--line); border-radius: var(--r); padding: 30px; color: var(--text); }
.quiz-section--compact { padding: 0; }
.quiz-section--compact .quiz { border: 0; padding: 0; }
.quiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.quiz__counter { margin: 0; flex: none; font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.quiz__counter b { color: var(--dark); }
.quiz__bar { flex: 1; height: 4px; background: var(--g2); border-radius: 2px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.quiz__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.quiz__step:not([hidden]) { animation: stepIn .45s var(--ease) both; }
.quiz__step.is-back:not([hidden]) { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.quiz__title { float: none; width: 100%; padding: 0; margin: 0 0 6px; font: 700 24px/1.25 var(--font-h); color: var(--dark); }
.quiz__hint { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.quiz__options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.quiz__options--3 { grid-template-columns: repeat(3, 1fr); }
.qopt { position: relative; display: block; margin: 0; cursor: pointer; }
.qopt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.qopt__body { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; min-height: 108px; padding: 18px 14px; text-align: center; background: var(--card-bg); border: var(--line); border-radius: var(--r); transition: border-color .25s, box-shadow .25s, transform .25s var(--ease); }
.qopt:hover .qopt__body { border-color: var(--dark); transform: translateY(-2px); }
.qopt input:focus-visible + .qopt__body { box-shadow: 0 0 0 3px rgba(255, 69, 69, .3); }
.qopt input:checked + .qopt__body { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.qopt__icon { display: inline-flex; color: var(--dark); transition: color .2s; }
.qopt input:checked + .qopt__body .qopt__icon { color: var(--accent); }
.qopt__pic { display: flex; align-items: flex-end; justify-content: center; height: 84px; }
.qopt__pic svg { height: 100%; width: auto; }
.qopt__label { font-weight: 700; color: var(--dark); line-height: 1.25; }
.qopt__desc { font-size: 13px; color: var(--muted); line-height: 1.3; }
.qopt__mark { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border: 1px solid var(--g4); border-radius: 3px; background: #fff; color: transparent; transition: .2s; }
.qopt__mark .icon { width: 12px; height: 12px; }
.qopt input[type=radio] + .qopt__body .qopt__mark { border-radius: 50%; }
.qopt input:checked + .qopt__body .qopt__mark { background: var(--accent); border-color: var(--accent); color: #fff; }
.quiz__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; padding-top: 20px; border-top: var(--line); }
.quiz__error { margin: 0; color: var(--accent-d); font-size: 14px; animation: shake .4s; }
.quiz.is-final .js-quiz-next { display: none; }
.quiz.is-done .quiz__nav, .quiz.is-done .quiz__summary, .quiz.is-done .quiz__top { display: none; }
.quiz__final { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; align-items: start; }
.quiz__summary { list-style: none; margin: 0; padding: 18px; border: var(--line); border-radius: var(--r); background: var(--g0); font-size: 14px; }
.quiz__summary li { display: flex; flex-direction: column; padding: 7px 0; border-bottom: var(--line); }
.quiz__summary li:last-child { border-bottom: 0; }
.quiz__summary span { color: var(--muted); font-size: 12px; }
.quiz__summary b { color: var(--dark); font-weight: 600; }
.quiz__summary button { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent); font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.quiz-aside { padding: 28px; border: var(--line); border-radius: var(--r); background: var(--card-bg); color: var(--text); }
.quiz-aside__title { font: 700 18px/1.3 var(--font-h); color: var(--dark); margin-bottom: 4px; }
.quiz-aside .check-list { margin-top: 14px; }
.quiz-aside__call { display: flex; flex-direction: column; gap: 2px; margin-top: 24px; padding-top: 18px; border-top: var(--line); }
.quiz-aside__call a { font: 700 20px/1.3 var(--font-h); color: var(--dark); align-self: flex-start; }

/* ---------- Модальные окна и Fluent Forms ---------- */
.modal-backdrop.show { opacity: .65; }
.lead-modal { position: relative; border: 0; border-radius: var(--r); padding: 34px; border-top: 3px solid var(--accent); }
.lead-modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: var(--line-d); border-radius: var(--r-sm); background: #fff; color: var(--dark); cursor: pointer; transition: .25s; }
.lead-modal__close:hover { background: var(--dark); color: #fff; transform: rotate(90deg); }
.lead-modal__title { margin-right: 44px; }
.lead-modal__lead { color: var(--muted); }
.lead-modal__summary { border: var(--line); border-left: 2px solid var(--accent); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; margin-bottom: 16px; white-space: pre-line; }
.lead-modal__summary:empty { display: none; }
.lead-modal--quiz { padding: 34px 38px; }
.modal.fade .modal-dialog { transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); }
.modal.show .modal-dialog { transform: none; }
.fluentform .ff-el-group { margin-bottom: 14px; }
.fluentform .ff-el-input--label label { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 5px; }
.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after { content: ' *'; color: var(--accent); }
.fluentform .ff-el-form-control { height: auto; min-height: 48px; padding: 12px 14px; }
.fluentform textarea.ff-el-form-control { min-height: 92px; }
.fluentform .ff-el-is-error .ff-el-form-control, .fluentform .ff-el-is-error .cselect__btn { border-color: var(--accent); }
.fluentform .error, .fluentform .text-danger { color: var(--accent-d); font-size: 13px; margin-top: 4px; }
.fluentform .ff-el-form-check, .fluentform .ff-el-tc { font-size: 13px; color: var(--muted); }
.fluentform .ff-el-form-check label, .fluentform .ff-el-tc label.ff_tc_label { display: flex; gap: 10px; align-items: flex-start; }
.fluentform .ff-el-tc label.ff_tc_label input { margin-top: 1px; }
.fluentform .ff_tc_checkbox { flex: none; }
.fluentform .ff_t_c p { margin: 0; }
.fluentform .ff-btn-submit { position: relative; overflow: hidden; width: 100%; min-height: 52px; border: 1px solid var(--accent); border-radius: var(--r-sm); background: var(--accent) !important; color: #fff !important; font: 600 16px var(--font); letter-spacing: .02em; cursor: pointer; transition: background .25s, transform .25s, box-shadow .25s; }
.fluentform .ff-btn-submit:hover { background: var(--accent-d) !important; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(255, 69, 69, .28); }
.fluentform .ff-btn-submit::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-18deg); animation: shimmer 6s ease-in-out infinite; }
.fluentform .ff_submit_btn_wrapper { margin-top: 6px; }
.ff-message-success { padding: 18px; border: 1px solid var(--dark) !important; border-left: 3px solid var(--accent) !important; border-radius: var(--r-sm); background: #fff; color: var(--dark); box-shadow: none !important; }
.ff-errors-in-stack { color: var(--accent-d); }
.fluentform .ff-t-container { display: flex; gap: 12px; }
.fluentform .ff-t-cell { flex: 1; }

/* ---------- Подвал (светлый) ---------- */
.site-footer { background: var(--g1); border-top: var(--line); color: var(--muted); padding: 64px 0 28px; font-size: 15px; }
.site-footer a { color: var(--dark); }
.site-footer a:hover { color: var(--accent); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; }
.footer-about { margin: 18px 0; }
.footer-msg { display: flex; gap: 6px; margin-left: -6px; }
.footer-title { color: var(--dark); font-weight: 700; margin-bottom: 14px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer-phone { display: inline-block; font: 700 19px/1.4 var(--font-h); color: var(--dark) !important; }
.footer-phone:hover { color: var(--accent) !important; }
.footer-contacts { display: flex; flex-direction: column; align-items: flex-start; }
.footer-line { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: flex-start; margin: 8px 0 0; }
.footer-line .icon { margin-top: 5px; color: var(--accent); }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: var(--line); display: grid; gap: 10px; font-size: 13px; }
.footer-legal, .footer-copy { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-disclaimer { margin: 0; color: var(--g4); font-size: 12px; }
.site-footer .btn-outline:hover { color: #fff !important; }

/* ---------- Плавающий виджет ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 1040; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__up { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 56px; height: 52px; border: var(--line-d); border-radius: var(--r-sm); background: rgba(255, 255, 255, .96); color: var(--dark); font: 600 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s var(--ease), visibility .3s, background .2s, color .2s; }
.fab__up.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab__up:hover { background: var(--dark); color: #fff; }
.fab__up .icon { width: 10px; height: 14px; }
.fab__contacts { position: relative; }
.fab__toggle { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 0; border-radius: var(--r-sm); background: var(--accent); color: #fff; cursor: pointer; box-shadow: 0 10px 24px rgba(255, 69, 69, .35); transition: background .25s, transform .25s; }
.fab__toggle:hover { background: var(--accent-d); transform: translateY(-2px); }
.fab__toggle::before { content: ''; position: absolute; inset: -1px; border: 1px solid var(--accent); border-radius: var(--r-sm); animation: ring 2.8s ease-out infinite; pointer-events: none; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.45); } }
.fab__ico { display: inline-flex; transition: transform .35s var(--ease), opacity .25s; }
.fab__ico--close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab.is-open .fab__ico--open { opacity: 0; transform: rotate(90deg); }
.fab.is-open .fab__ico--close { opacity: 1; transform: none; }
.fab.is-open .fab__toggle { background: var(--dark); box-shadow: var(--shadow); }
.fab.is-open .fab__toggle::before { animation: none; opacity: 0; }
.fab__ico--open .icon { animation: wiggle 4s ease-in-out infinite; }
@keyframes wiggle { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-14deg); } 92% { transform: rotate(12deg); } 95% { transform: rotate(-8deg); } }
.fab__menu { position: absolute; right: 0; bottom: calc(100% + 10px); width: 250px; padding: 6px; background: #fff; border: var(--line-d); border-radius: var(--r-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px); transform-origin: bottom right; transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.fab.is-open .fab__menu { opacity: 1; visibility: visible; transform: none; }
.fab__item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 12px; border: 0; border-radius: 3px; background: none; color: var(--dark); font: 600 15px/1.2 var(--font); text-align: left; cursor: pointer; transition: background .2s, color .2s; }
.fab__item:hover, .fab__item:focus-visible { background: var(--g1); color: var(--accent); }
.fab__item + .fab__item { border-top: var(--line); border-radius: 0; }
.fab__item--accent { color: var(--accent); }

.fab { transition: transform .35s var(--ease), opacity .3s, visibility .3s; }
.fab.is-away { opacity: 0; visibility: hidden; transform: translateY(16px); pointer-events: none; }

/* ---------- Появление при прокрутке ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease), border-color .35s, box-shadow .35s; transition-delay: var(--rd, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal.is-in:hover { transition-delay: 0s; }
.reveal.is-in.benefit:hover, .reveal.is-in.step:hover, .reveal.is-in.profile-card:hover, .reveal.is-in.price-card:hover, .reveal.is-in.type-card:hover, .reveal.is-in.option-card:hover, .reveal.is-in.card-link:hover, .reveal.is-in.review:hover, .reveal.is-in.work:hover, .reveal.is-in.quality__list li:hover { transform: translateY(-4px); }

.header-calc { min-height: 42px; padding: 8px 16px; }
.header-cta { min-height: 46px; padding: 10px 20px; }
.calc__total.is-loading { opacity: .5; }
.fluentform .ff-hidden { display: none; }
.hero__price-k { color: #a5a5a8; }

/* ---------- Адаптив ---------- */
@media (max-width: 1199.98px) {
	.calc__grid { grid-template-columns: 1fr 1fr; }
	.calc__result { grid-column: 1 / -1; position: static; }
	.type-cards { grid-template-columns: repeat(3, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.benefits--4 { grid-template-columns: repeat(2, 1fr); }
	.quiz-wrap { grid-template-columns: 1fr; }
	.quiz-aside { display: none; }
}
@media (max-width: 991.98px) {
	.section { padding: 60px 0; }
	.section.has-bg { padding: 72px 0; }
	.hero { padding: 44px 0 56px; }
	.hero .btn-row { padding-bottom: 4px; }
	.hero__grid, .form-band__grid, .faq-grid, .quality, .lam-grid, .contacts-grid, .about-grid, .profile-hero__grid { grid-template-columns: 1fr; }
	.hero__grid { gap: 40px; }
	.hw { margin: 0 auto; max-width: 440px; }
	.benefits--3, .option-cards { grid-template-columns: repeat(2, 1fr); }
	.steps { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats .stat:nth-child(3) { border-left: 0; }
	.stats .stat:nth-child(n+3) { border-top: var(--line); }
	.quality__img { max-width: 360px; }
	.header-main__row { min-height: 64px; gap: 10px; }
	.brand { font-size: 22px; }
	.brand__mark { width: 36px; height: 36px; }
	.quiz__options, .quiz__options--3 { grid-template-columns: repeat(2, 1fr); }
	.quiz__final { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
	body { font-size: 16px; }
	.calc { padding: 18px; }
	.calc__grid { grid-template-columns: 1fr; }
	.calc__svg { min-height: 220px; }
	.calc__svg svg { max-height: 220px; }
	.type-cards { grid-template-columns: repeat(2, 1fr); }
	.swatches { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr; }
	.contacts-card { padding: 22px; }
	.hero__facts dt { font-size: 24px; }
	.quiz { padding: 20px; }
	.lead-modal, .lead-modal--quiz { padding: 26px 18px; }
	.fab { right: 14px; bottom: 14px; }
	.fab__up { width: 48px; height: 46px; }
	.fab__toggle { width: 52px; height: 52px; }
}
@media (max-width: 575.98px) {
	.container-o24 { padding: 0 16px; }
	.benefits--3, .benefits--4, .option-cards, .steps { grid-template-columns: 1fr; }
	.checks, .calc__row2 { grid-template-columns: 1fr; }
	.hero .btn-row .btn { width: 100%; }
	.hero__prices > * { flex: 1 1 100%; }
	.hero__facts div, .hero__facts div + div { padding: 14px 8px 0; }
	.hero__facts div:first-child { padding-left: 0; }
	.hero__facts dd { font-size: 12px; }
	.segmented span { font-size: 13px; padding: 10px 2px; }
	.calc__total { font-size: 32px; }
	.faq__a { padding-right: 0; }
	.price-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
	.price-card { padding: 14px; }
	.price-card__img { height: 120px; }
	.price-card__price { font-size: 19px; }
	.quiz__title { font-size: 20px; }
	.qopt__body { min-height: 92px; padding: 14px 10px; }
	.qopt__pic { height: 64px; }
	.quiz__nav .btn { padding: 10px 16px; }
	.stats .stat { padding: 20px; }
	.stat b { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.reveal { opacity: 1; transform: none; }
	.btn-shimmer::after, .hw__glare, .calc__svg::after, .fluentform .ff-btn-submit::after, .fab__toggle::before { display: none; }
	.has-parallax .bg-media img { top: 0; height: 100%; transform: none !important; }
}
