:root {
  --bg: #f5f3ef;
  --white: #fff;
  --ink: #1c1d1f;
  --ink-2: #3a3c40;
  --muted: #6b6e73;
  --line: #e1ddd5;
  --line-2: #cfcac0;
  --accent: #e0590d;
  --accent-hover: #c84d08;
  --accent-soft: #fbe9dd;
  --dark: #1f2226;
  --dark-2: #2a2e33;
  --green: #1f8f4e;
  --radius: 8px;
  --font: "Golos Text", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: 19px; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.hint { color: var(--muted); font-size: 14px; }

#blueprint { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; opacity: .75;
  background-image: linear-gradient(to right, rgba(47,93,138,.036) 1px, transparent 1px), linear-gradient(to bottom, rgba(47,93,138,.036) 1px, transparent 1px),
    linear-gradient(to right, rgba(47,93,138,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(47,93,138,.035) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px; }
.hero__grid, .scene__sticky, .section > .wrap, .footer { position: relative; z-index: 2; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 6px; border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer; text-align: center;
  transition: background .15s, border-color .15s, color .15s;
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-hover); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ece9e3; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { border-color: var(--ink); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: #fff; border-bottom: 1px solid var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo img { border-radius: 8px; }
.logo span { font-weight: 700; font-size: 18px; line-height: 1.1; display: grid; }
.logo small { font-weight: 500; font-size: 13px; color: var(--muted); }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav__links a:hover { color: var(--accent); }
.nav__contact { display: grid; justify-items: end; gap: 4px; line-height: 1.25; }
.nav__max { font-size: 16px; font-weight: 700; white-space: nowrap; color: var(--green); text-decoration: none; border-bottom: 1px dashed currentColor; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero__shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(20, 21, 23, .88) 0%, rgba(20, 21, 23, .7) 50%, rgba(20, 21, 23, .3) 100%); }
.hero__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: center; padding: 80px 0 90px; }
.hero h1 { font-size: clamp(34px, 4.8vw, 58px); font-weight: 800; line-height: 1.08; max-width: 720px; }
.hero__lead { margin-top: 20px; max-width: 580px; font-size: 19px; color: #dedcd8; }
.hero__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.hero__list li { padding-left: 30px; position: relative; font-size: 17px; }
.hero__list li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__price { margin-top: 18px; color: #cfccc6; font-size: 16px; }
.hero__price b { color: #fff; font-size: 20px; }

/* paper sheet (example calculation) */
.sheet { background: #fbfaf7; color: var(--ink); border-radius: 4px; padding: 20px 20px 14px; box-shadow: 0 2px 0 rgba(0, 0, 0, .05), 0 20px 40px -20px rgba(0, 0, 0, .5); transform: rotate(1deg); }
.sheet__head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.sheet__title { font-weight: 700; font-size: 15px; line-height: 1.3; }
.sheet__title span { color: var(--accent-hover); }
.sheet__next { flex: none; border: 0; background: none; padding: 0; font: 500 13px var(--font); color: var(--muted); cursor: pointer; border-bottom: 1px dashed currentColor; }
.sheet__next:hover { color: var(--ink); }
.sheet__plan { width: 100%; height: auto; margin: 10px 0 6px; background:
  linear-gradient(rgba(47, 93, 138, .1) 1px, transparent 1px) 0 0 / 12px 12px,
  linear-gradient(90deg, rgba(47, 93, 138, .1) 1px, transparent 1px) 0 0 / 12px 12px, #fff; border: 1px solid var(--line); }
.sheet__legend { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.lg { width: 12px; height: 12px; border: 1px solid #2b2d31; display: inline-block; }
.lg--ex { margin-left: 10px; background: repeating-linear-gradient(-45deg, #eceae6 0 2px, #b9b8b4 2px 3px); }
.lg--in { background: repeating-linear-gradient(45deg, #fdf1e9 0 3px, #f2b996 3px 4px); }
.sheet__rows { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.sheet__rows th, .sheet__rows td { padding: 6px 0; border-top: 1px solid var(--line); text-align: left; font-weight: 400; vertical-align: top; }
.sheet__rows th { color: var(--muted); }
.sheet__rows th small { display: block; font-size: 12px; color: #8f9196; line-height: 1.3; }
.sheet__rows td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; padding-left: 10px; }
#mExcl { color: #8a8c90; }
.sheet__net th, .sheet__net td { color: var(--ink); font-weight: 700; }
.sheet__sum td { color: var(--accent-hover); font-size: 17px; font-weight: 800; }
.sheet__sum th { color: var(--ink); font-weight: 600; }
.mtxt { font: 500 10px var(--font); fill: #2f5d8a; }
.mname { font: 600 8.5px var(--font); fill: #1c1d1f; }
.mname--ex { fill: #6b6e73; }
.mval { font: 600 8.5px var(--font); fill: #c84d08; }
.mval--ex { fill: #7d8085; font-weight: 500; }
.mroom { opacity: 0; animation: roomIn .45s ease-out forwards; }
.mroom .mex { opacity: 0; animation: fadeIn .4s 1.1s forwards; }
@keyframes roomIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.mfade { opacity: 0; animation: fadeIn .4s .9s forwards; }
@keyframes fadeIn { to { opacity: 1; } }

/* scene (dark insert) */
.scene { position: relative; height: 640vh; background: var(--dark); color: #eceae6; }
.scene__sticky { position: sticky; top: var(--nav-h); height: calc(100vh - var(--nav-h)); height: calc(100svh - var(--nav-h)); overflow: hidden; background: var(--dark); }
.scene__head { position: relative; z-index: 2; padding-top: 36px; }
.scene__head p { color: #a3a6aa; margin-top: 8px; }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__steps { position: absolute; right: max(20px, calc((100vw - 1200px) / 2)); top: 50%; transform: translateY(-42%); width: 330px; z-index: 2; }
.scene__steps ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.scene__steps li { display: flex; gap: 14px; padding: 11px 14px; border-radius: 6px; color: #8d9095; transition: color .3s, background .3s; }
.scene__steps li.is-on { color: #fff; background: var(--dark-2); }
.scene__steps li:not(.is-on) p { display: none; }
.scene__steps .num { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: 13px; font-weight: 600; margin-top: 1px; }
.scene__steps li.is-on .num { background: var(--accent); border-color: var(--accent); color: #fff; }
.scene__steps h3 { font-size: 16px; font-weight: 600; }
.scene__steps p { font-size: 14.5px; color: #b5b8bc; margin-top: 4px; }
.scene__bar { height: 3px; background: #3a3e44; margin-top: 14px; }
.scene__bar span { display: block; height: 100%; width: 0; background: var(--accent); }

/* sections */
.section { padding: clamp(64px, 8vw, 104px) 0; position: relative; }
.section--white { background: rgba(255, 255, 255, .82); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }

/* calculator */
.calc__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; align-items: start; }
.calc__form { padding: clamp(20px, 3vw, 32px); display: grid; gap: 28px; }
.tabs { display: flex; border-bottom: 1px solid var(--line); gap: 24px; }
.tabs button { border: 0; background: none; padding: 0 0 12px; margin-bottom: -1px; font: 600 16px var(--font); color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.field { display: grid; gap: 12px; }
.field label, .field .label { font-weight: 600; font-size: 16px; }
.field label b { color: var(--accent); }
.range { display: grid; grid-template-columns: 1fr 120px; gap: 16px; align-items: center; }
input[type="number"], .leadform input, .rooms input {
  width: 100%; height: 48px; padding: 0 12px; border-radius: 6px; border: 1px solid var(--line-2); background: #fff;
  color: var(--ink); font: 500 17px var(--font); font-variant-numeric: tabular-nums;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), #dcd8d0 var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) var(--p), #dcd8d0 var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.scale { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: -6px; }
.rooms { display: grid; gap: 8px; }
.room { display: grid; grid-template-columns: 1.3fr 1fr auto 1fr auto 36px; gap: 8px; align-items: center; }
.room input { height: 42px; font-size: 15px; padding: 0 10px; }
.room input.room__name { font-weight: 500; }
.room__x { color: var(--muted); }
.room__a { font-size: 14px; color: var(--muted); min-width: 70px; text-align: right; font-variant-numeric: tabular-nums; }
.room__del { width: 36px; height: 36px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; font-size: 18px; }
.room__del:hover { color: #c0392b; border-color: #c0392b; }
#addRoom { justify-self: start; }
.plan { width: 100%; height: 220px; border: 1px solid var(--line); border-radius: 6px; background:
  linear-gradient(rgba(47, 93, 138, .1) 1px, transparent 1px) 0 0 / 16px 16px,
  linear-gradient(90deg, rgba(47, 93, 138, .1) 1px, transparent 1px) 0 0 / 16px 16px, #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label, .checks label { cursor: pointer; }
.chips input, .checks input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--line-2); font-weight: 500; font-size: 15px; background: #fff; }
.chips input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.chips input:focus-visible + span, .checks input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.checks { display: grid; gap: 6px; }
.checks span { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 6px; border: 1px solid var(--line); font-weight: 500; font-size: 15.5px; }
.checks span::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 4px; border: 1.5px solid var(--line-2); background: #fff no-repeat center / 12px; }
.checks input:checked + span { border-color: var(--accent); }
.checks input:checked + span::before { 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.5 5 9l5-6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks small { margin-left: auto; font-size: 14px; color: var(--muted); white-space: nowrap; }

.calc__out { padding: clamp(22px, 3vw, 30px); position: sticky; top: calc(var(--nav-h) + 16px); display: grid; gap: 10px; }
.out__label { color: var(--muted); font-size: 15px; }
.out__sum { font-weight: 800; font-size: clamp(38px, 4.4vw, 50px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.out__per { color: var(--ink-2); font-size: 15px; }
.out__list { list-style: none; margin: 8px 0 0; padding: 0; }
.out__list li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.out__list li span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; }
.out__list li small { color: var(--muted); }
.out__list li.inc span:last-child { color: var(--green); font-weight: 500; }
.out__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 6px 0 8px; background: var(--line); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.out__specs div { background: #faf9f6; padding: 10px 12px; }
.out__specs dt { font-size: 13px; color: var(--muted); }
.out__specs dd { margin: 2px 0 0; font-weight: 600; font-size: 16px; }
.out__note { font-size: 14px; color: var(--muted); margin-bottom: 6px; }

/* why */
.why__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.why__photo { margin: 0; }
.why__photo img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 3 / 4; object-fit: cover; }
.why__photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.why__intro { margin-top: 14px; font-size: 18px; color: var(--ink-2); }
.why__list { margin: 28px 0 0; display: grid; gap: 0; }
.why__list div { padding: 16px 0 16px 34px; border-top: 1px solid var(--line); position: relative; }
.why__list div::before { content: ""; position: absolute; left: 4px; top: 22px; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.why__list dt { font-weight: 700; font-size: 18px; }
.why__list dd { margin: 4px 0 0; color: var(--muted); }

/* objects */
.objects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.objects li { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; font-size: 16px; line-height: 1.3; }
.objects svg { flex: none; width: 36px; height: 36px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* flow */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: f; }
.flow li { counter-increment: f; position: relative; padding: 52px 20px 0 0; display: grid; gap: 4px; align-content: start; }
.flow li::before { content: counter(f); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; z-index: 1; }
.flow li::after { content: ""; position: absolute; top: 18px; left: 36px; right: 0; height: 2px; background: var(--line-2); }
.flow li:last-child::after { display: none; }
.flow b { font-size: 18px; }
.flow span { color: var(--muted); font-size: 15px; }

/* compare */
.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; border-top: 1px solid var(--line); font-size: 16px; vertical-align: top; }
.cmp thead th { border-top: 0; font-size: 15px; color: var(--muted); font-weight: 600; }
.cmp tbody th { font-weight: 500; color: var(--muted); width: 26%; }
.cmp .cmp__us { background: #fdf4ee; font-weight: 600; }
.cmp thead .cmp__us { color: var(--accent-hover); }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery button { padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: zoom-in; background: #e8e5df; aspect-ratio: 1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.gallery button:hover img { opacity: .88; }
.gallery button.is-hidden { display: none; }
.gallery__more { margin-top: 20px; }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(15, 15, 16, .92); display: grid; place-items: center; padding: 20px; }
.lightbox img { max-height: 88vh; max-width: min(92vw, 1200px); }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* reviews */
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.reviews__head .section__head a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.reviews__nav { display: flex; gap: 8px; margin-bottom: 40px; flex: none; }
.reviews__arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: 500 20px var(--font); color: var(--ink); cursor: pointer; transition: border-color .15s, opacity .15s; }
.reviews__arrow:hover:not(:disabled) { border-color: var(--ink); }
.reviews__arrow:disabled { opacity: .35; cursor: default; }
.reviews__track { --per: 3; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per) - 1) * 20px) / var(--per)); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding: 4px 2px 8px; margin: -4px -2px 0; outline: none; }
.reviews__track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.review::before { content: "“"; position: absolute; top: 6px; right: 20px; font: 800 64px/1 Georgia, serif; color: var(--accent-soft); }
.review__stars { color: #f2a000; letter-spacing: 2px; font-size: 17px; }
.review__stars span { color: var(--line-2); }
.review__text { color: var(--ink-2, var(--ink)); font-size: 16px; line-height: 1.55; flex: 1; }
.review__text.is-clamped { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review__more { align-self: flex-start; border: 0; background: none; padding: 0; font: 500 14px var(--font); color: var(--muted); border-bottom: 1px dashed currentColor; cursor: pointer; }
.review__more:hover { color: var(--ink); }
.review__foot { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.review__ava { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; flex: none; }
.review__who { display: grid; line-height: 1.3; }
.review__who b { font-weight: 600; }
.review__who small { color: var(--muted); font-size: 13.5px; }
.reviews__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.reviews__dots button { width: 8px; height: 8px; border-radius: 4px; border: 0; padding: 0; background: var(--line-2); cursor: pointer; transition: width .25s, background .25s; }
.reviews__dots button.is-on { width: 24px; background: var(--accent); }
@media (max-width: 1100px) { .reviews__track { --per: 2; } }
@media (prefers-reduced-motion: reduce) { .reviews__track { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .reviews__track { --per: 1; grid-auto-columns: 88%; gap: 12px; }
  .reviews__nav { display: none; }
  .review { padding: 22px 18px 18px; }
}

/* faq */
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 48px; align-items: start; }
.faq__aside { margin-top: 14px; color: var(--muted); }
.faq__aside a { color: var(--ink); font-weight: 600; white-space: nowrap; }
.faq__list { border-top: 1px solid var(--line-2); }
details { border-bottom: 1px solid var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 17.5px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
summary:hover { color: var(--accent-hover); }
details p { padding: 0 0 20px; color: var(--ink-2); max-width: 680px; }

/* contact */
.contact { background: #ece8e1; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.contact__intro { margin-top: 14px; font-size: 18px; color: var(--ink-2); max-width: 460px; }
.contact__phones { display: grid; gap: 4px; margin-top: 28px; }
.contact__phones a { font-weight: 800; font-size: clamp(26px, 3vw, 36px); text-decoration: none; width: fit-content; }
.contact__phones a:hover { color: var(--accent); }
.contact__msg { display: flex; gap: 10px; margin-top: 22px; }
.leadform { padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; }
.leadform h3 { font-size: 22px; margin-bottom: 4px; }
.leadform label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.leadform__err { color: #c0392b; font-size: 14px; }

.footer { background: var(--dark); color: #a3a6aa; padding: 28px 0; }
.footer__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 15px; }
.footer__brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; }
.footer__brand img { border-radius: 6px; }
.footer a { color: #fff; text-decoration: none; font-weight: 600; }

.mbar { display: none; }

@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .objects { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .nav__contact { margin-left: auto; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 20px 20px; margin: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .2); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 56px 0 64px; }
  .sheet { max-width: 420px; transform: none; }
  .calc__grid, .faq, .contact__grid, .why__grid { grid-template-columns: 1fr; }
  .calc__out { position: static; }
  .why__photo { max-width: 420px; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow li { padding: 0 0 22px 54px; }
  .flow li::after { top: 36px; left: 17px; right: auto; bottom: 0; width: 2px; height: auto; }
  .scene__steps { left: 16px; right: 16px; width: auto; top: auto; bottom: 16px; transform: none; }
  .scene__steps ol { display: block; }
  .scene__steps li { display: none; }
  .scene__steps li.is-on { display: flex; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  :root { --nav-h: 60px; }
  body { font-size: 16px; padding-bottom: 64px; }
  #blueprint { opacity: .4; }
  .wrap { width: calc(100% - 32px); }
  .logo img { width: 34px; height: 34px; }
  .logo span { font-size: 16px; }
  .nav__contact { display: none; }
  .burger { margin-left: auto; }
  .hero__shade { background: linear-gradient(180deg, rgba(20, 21, 23, .7), rgba(20, 21, 23, .88)); }
  .hero__lead { font-size: 17px; }
  .hero__list li { font-size: 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .sheet { padding: 16px 14px 12px; }
  .scene { height: 560vh; }
  .scene__head { padding-top: 24px; }
  .scene__head h2 { font-size: 26px; }
  .scene__head p { font-size: 14.5px; }
  .scene__steps { bottom: 80px; }
  .range { grid-template-columns: 1fr 96px; }
  .tabs { gap: 16px; }
  .tabs button { font-size: 15px; }
  .room { grid-template-columns: 1fr auto 1fr 36px; }
  .room__name { grid-column: 1 / -1; }
  .room__a { display: none; }
  .objects { grid-template-columns: 1fr; gap: 8px; }
  .objects li { padding: 14px 16px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .footer { padding-bottom: 84px; }
  .mbar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line-2);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 56px; text-decoration: none; font-weight: 600; font-size: 15px; border-left: 1px solid var(--line); }
  .mbar a:first-child { border-left: 0; }
  .mbar a:nth-child(2) { color: var(--green); }
  .mbar__calc { background: var(--accent); color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.out__note--warn { color: #9a3d06; background: var(--accent-soft); padding: 10px 12px; border-radius: 6px; }
.msmall { font: 600 7px var(--font); fill: #1c1d1f; }
.reviews__score { color: #d98a00; font-weight: 700; }
.reviews__count { font: 600 14px var(--font); color: var(--muted); font-variant-numeric: tabular-nums; }

/* blog */
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; text-decoration: none; color: inherit; transition: border-color .15s, transform .2s, box-shadow .2s; }
.bcard:hover { border-color: var(--line-2); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .35); }
.bcard.is-hidden { display: none; }
.bcard img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #e8e5df; }
.bcard__meta { margin: 16px 20px 0; font-size: 13px; color: var(--muted); }
.bcard h3 { margin: 6px 20px 0; font-size: 19px; line-height: 1.3; }
.bcard:hover h3 { color: var(--accent-hover); }
.bcard p { margin: 8px 20px 20px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.post { padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px); }
.post__wrap { max-width: 780px; }
.post__crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.post__crumbs a { color: var(--muted); }
.post__crumbs a:hover { color: var(--ink); }
.post h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.01em; }
.post__lead { margin-top: 16px; font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); line-height: 1.5; }
.post__meta { margin-top: 12px; font-size: 14px; color: var(--muted); }
.post__cover { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; margin: 28px 0 8px; background: #e8e5df; }
.post__body { font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.post__body h2 { font-size: clamp(22px, 2.6vw, 27px); color: var(--ink); margin: 36px 0 10px; line-height: 1.25; }
.post__body p { margin: 14px 0; }
.post__body ul, .post__body ol { margin: 14px 0; padding-left: 22px; display: grid; gap: 8px; }
.post__body li::marker { color: var(--accent); font-weight: 700; }
.post__body b { color: var(--ink); }
.post__tip { margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.post__tip b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-hover); }
.post__tip p { margin: 4px 0 0; }
.post__cta { margin-top: 44px; padding: 26px 28px; background: var(--dark); color: #eceae6; border-radius: 12px; display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.post__cta h2 { font-size: 22px; color: #fff; }
.post__cta p { margin-top: 6px; color: #a3a6aa; }
.post__cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.post__cta .btn--line { color: #fff; border-color: rgba(255, 255, 255, .3); }
.post__cta .btn--line:hover { border-color: #fff; }
@media (max-width: 960px) { .blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  .blog__grid { grid-template-columns: 1fr; gap: 14px; }
  .post__body { font-size: 17px; }
  .post__cta { padding: 22px 18px; }
  .post__cta-btns .btn { flex: 1 1 100%; }
}

/* blog popup */
html.is-locked { overflow: hidden; }
.bpop { width: min(880px, calc(100% - 32px)); max-width: none; height: min(92vh, 1200px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: 14px; background: var(--bg); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); overflow: hidden; }
.bpop[open] { display: flex; flex-direction: column; animation: bpopIn .25s ease-out; }
.bpop::backdrop { background: rgba(20, 21, 23, .62); backdrop-filter: blur(3px); }
@keyframes bpopIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bpop__bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--line); background: #fff; }
.bpop__open { font-size: 14px; color: var(--muted); text-decoration: none; }
.bpop__open:hover { color: var(--ink); }
.bpop__close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: 400 26px/1 var(--font); color: var(--ink); cursor: pointer; }
.bpop__close:hover { border-color: var(--ink); }
.bpop__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.bpop__post { padding: clamp(24px, 4vw, 44px) clamp(20px, 5vw, 56px) 40px; }
.bpop__next { display: block; margin-top: 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; }
.bpop__next small { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.bpop__next:hover { border-color: var(--line-2); color: var(--accent-hover); }
@media (max-width: 760px) {
  .bpop { width: 100%; height: 100%; max-height: 100dvh; border-radius: 0; }
  .bpop__bar { padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .bpop[open] { animation: none; } }

/* messenger QR popup (desktop) */
.qpop { width: min(400px, calc(100% - 32px)); margin: auto; padding: 30px 30px 24px; border: 0; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); text-align: center; }
.qpop[open] { animation: bpopIn .22s ease-out; }
.qpop::backdrop { background: rgba(20, 21, 23, .62); }
.qpop__close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; font: 400 24px/1 var(--font); color: var(--ink); cursor: pointer; }
.qpop__close:hover { border-color: var(--ink); }
.qpop__app { display: inline-block; padding: 4px 10px; border-radius: 99px; background: #e7f6ec; color: #128c4a; font-size: 13px; font-weight: 600; }
.qpop--tg .qpop__app { background: #e6f2fb; color: #1f7ab8; }
.qpop h2 { font-size: 22px; margin-top: 12px; }
.qpop__hint { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.qpop__qr { width: 260px; aspect-ratio: 1; margin: 18px auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.qpop__qr svg { display: block; width: 100%; height: 100%; }
.qpop__load { color: var(--muted); font-size: 14px; padding: 0 20px; }
.qpop__contact { margin-top: 14px; font-size: 14px; color: var(--ink); }
.qpop--max .btn { margin-top: 10px; }
.qpop__message { margin-top: 14px; text-align: left; }
.qpop__message textarea { display: block; width: 100%; margin-top: 4px; padding: 8px; border: 1px solid var(--line-2); border-radius: 8px; font: inherit; resize: vertical; }
/* подсказка «номер скопирован» */
.ctip { position: fixed; z-index: 1000; padding: 8px 12px; border-radius: 8px; background: #141517; color: #fff; font-size: 13.5px; font-weight: 500; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.ctip.is-on { opacity: 1; transform: none; }
.ctip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -6px; border: 6px solid transparent; border-top-color: #141517; }
.ctip--below::after { top: auto; bottom: 100%; border-top-color: transparent; border-bottom-color: #141517; }
a.is-copied { color: #1f9d55 !important; }
html.is-desktop a[href^="tel:"] { cursor: copy; }
@media (prefers-reduced-motion: reduce) { .qpop[open] { animation: none; } .ctip { transition: none; } }
