/* «Отвес» — архитектурное бюро. Geologica + IBM Plex Sans. */
:root {
  --bg: #F3F2EE; --surface: #FFFFFF; --surface-2: #E7E6E0;
  --text: #1A1E21; --muted: #5E656A; --line: #D3D4CE; --draft: #A9B0B4;
  --accent: #8A5712; --accent-h: #6F450E; --ink: #FFFFFF;
  --fd: 'Geologica', 'Segoe UI', system-ui, sans-serif;
  --ft: 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --gut: 56px; --sec: 128px; --hdr: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/28px var(--ft); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
body.locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, figure, dl, dd, ol, ul, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: #fff; padding: 10px 16px; }
.skip:focus { top: 44px; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.ico { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
[hidden] { display: none !important; }

.container { max-width: 1432px; margin: 0 auto; padding: 0 var(--gut); }

/* ---------- типографика ---------- */
h1, h2, h3 { font-family: var(--fd); font-weight: 300; letter-spacing: -0.02em; }
h1 { font-size: 64px; line-height: 68px; }
h2 { font-size: 44px; line-height: 50px; }
h3 { font-size: 28px; line-height: 34px; font-weight: 400; letter-spacing: -0.01em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 500 13px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.lead { color: var(--muted); max-width: 560px; }
.accent-word { font-style: normal; color: var(--accent); }
.t-lu { display: none; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 28px; border-radius: 2px; border: 1px solid transparent; font: 500 16px/1 var(--ft); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-h); }
.btn-sec { background: transparent; border-color: var(--text); color: var(--text); }
.btn-sec:hover { background: var(--text); color: var(--bg); }
.btn .ico-arrow { transition: transform .25s var(--ease); }
.btn:hover .ico-arrow, .link-arrow:hover .ico-arrow { transform: translateX(4px); }
.btn-sm { height: 44px; padding: 0 18px; font-size: 15px; }
.btn-block { width: 100%; }
.btn.is-off { opacity: .55; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; padding: 10px 0; background: none; border: 0; border-bottom: 1px solid var(--line); font: 500 16px/1.2 var(--ft); color: var(--text); text-decoration: none; cursor: pointer; transition: border-color .2s; }
.link-arrow:hover { border-color: var(--text); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--draft); text-underline-offset: 3px; cursor: pointer; }
.linkish:hover { text-decoration-color: currentColor; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--text); cursor: pointer; border-radius: 2px; }

/* ---------- шапка ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 238, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.hdr { display: flex; align-items: center; gap: 28px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text); flex: none; }
.logo-mark { fill: none; stroke: currentColor; stroke-width: 1.5; }
.logo-mark path:last-child { fill: currentColor; stroke: none; }
.logo-word { font: 500 24px/1 var(--fd); letter-spacing: -0.02em; }
.logo-sub { font: 400 13px/1.2 var(--ft); color: var(--muted); padding-left: 12px; margin-left: 2px; border-left: 1px solid var(--line); white-space: nowrap; }
.nav { display: flex; gap: 24px; margin-left: auto; }
.nav a { position: relative; font: 400 15px/1 var(--ft); text-decoration: none; padding: 10px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.active { color: var(--accent); }
.nav a.active::after { transform: scaleX(1); }
.hdr-contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.hdr-phone { font: 500 16px/1.2 var(--ft); text-decoration: none; }
.hdr-contact span { font-size: 12px; color: var(--muted); }
.btn-hdr { height: 44px; padding: 0 20px; font-size: 15px; }
.hdr-call, .burger { display: none; }
@media (max-width: 1320px) { .nav { gap: 18px; } .hdr { gap: 22px; } }
@media (max-width: 1240px) { .hdr-contact { display: none; } }
@media (max-width: 1100px) { .logo-sub { display: none; } }
@media (max-width: 960px) {
  .nav, .btn-hdr { display: none; }
  .hdr-call, .burger { display: inline-flex; }
  .hdr-call { margin-left: auto; }
}
.mmenu { position: fixed; inset: 0; z-index: 90; background: var(--bg); display: flex; flex-direction: column; overflow-y: auto; }
.mmenu > .container { width: 100%; }
.mmenu-top { display: flex; align-items: center; justify-content: space-between; height: 60px; flex: none; border-bottom: 1px solid var(--line); }
.mmenu-nav { display: flex; flex-direction: column; padding-top: 16px; padding-bottom: 16px; }
.mmenu-nav a { font: 300 28px/1.2 var(--fd); letter-spacing: -0.02em; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mmenu-foot { margin-top: auto; padding-top: 24px; padding-bottom: 32px; font-size: 14px; line-height: 22px; color: var(--muted); }
.mm-phone { display: inline-block; font: 400 22px/1.3 var(--fd); color: var(--text); text-decoration: none; margin-bottom: 6px; }

/* ---------- секции ---------- */
.sec { padding: var(--sec) 0; }
.sec-head { margin-bottom: 56px; }
.sec.follow { padding-top: 0; }
.sec.follow::before { content: ""; display: block; width: calc(100% - 2 * var(--gut)); max-width: 1320px; height: 1px; margin: 0 auto 104px; background: var(--line); }
.sec-head h2 { max-width: 760px; }
.sec-head .lead { margin-top: 20px; }
.sec-head-row { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; }
.sec-head-row .lead { margin-top: 0; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- размерная линия ---------- */
.dim { position: absolute; left: var(--x); top: var(--y); width: var(--w); height: 0; color: var(--text); pointer-events: none; z-index: 2; }
.dim-light { color: #fff; }
.dim-light i { filter: drop-shadow(0 0 1.5px rgba(26, 30, 33, .45)); }
.pcard .dim { color: var(--text); }
.pcard .dim i { filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, .9)); }
.dim i { position: absolute; display: block; background: currentColor; }
.dim-h .dl { left: 0; right: 0; top: 0; height: 1px; transform-origin: left; }
.dim-h .de { top: -6px; width: 1px; height: 12px; }
.dim-h .dt { top: -4px; width: 1px; height: 8px; transform: rotate(45deg); }
.dim-h .a { left: 0; } .dim-h .b { right: 0; }
.dim-v { width: 0; height: var(--h); }
.dim-v .dl { top: 0; bottom: 0; left: 0; width: 1px; transform-origin: top; }
.dim-v .de { left: -6px; height: 1px; width: 12px; }
.dim-v .dt { left: -4px; height: 1px; width: 8px; transform: rotate(45deg); }
.dim-v .a { top: 0; } .dim-v .b { bottom: 0; }
.dim-label { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); background: rgba(255, 255, 255, .9); color: var(--text); font: 400 13px/1 var(--fd); font-variant-numeric: tabular-nums; padding: 5px 8px; white-space: nowrap; }
.dim-v .dim-label { top: 50%; left: 0; transform: translate(calc(-100% - 10px), -50%); }
.js .dim .dl { transform: scaleX(0); transition: transform .7s ease-out; }
.js .dim-v .dl { transform: scaleY(0); }
.js .dim .de, .js .dim .dt, .js .dim .dim-label, .js .callout .dim-label, .js .callout .c-dot { opacity: 0; transition: opacity .4s ease-out .5s; }
.js .dim.in .dl { transform: none; }
.js .dim.in .de, .js .dim.in .dt, .js .dim.in .dim-label, .js .callout.in .dim-label, .js .callout.in .c-dot { opacity: 1; }
.js .cover-dims:not(.placed) .dim, .js .cover-dims:not(.placed) .callout { visibility: hidden; }
.callout { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.callout .c-dot { position: absolute; left: var(--x); top: var(--y); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border: 1.5px solid #fff; border-radius: 50%; box-shadow: 0 0 2px rgba(26, 30, 33, .4); }
.callout .c-line { position: absolute; left: var(--x); top: var(--y); width: var(--len, 0); height: 1px; background: #fff; transform-origin: 0 0; transform: rotate(var(--ang, 0deg)); filter: drop-shadow(0 0 1.5px rgba(26, 30, 33, .45)); }
.js .callout .c-line { transform: rotate(var(--ang, 0deg)) scaleX(0); transition: transform .7s ease-out .15s; }
.js .callout.in .c-line { transform: rotate(var(--ang, 0deg)) scaleX(1); }
.callout .c-label { left: var(--lx); top: var(--ly); transform: translate(-100%, -50%); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 48px 0 0; }
.hero-in { position: relative; min-height: 690px; }
.hero-text { position: relative; width: calc((100% + 24px) * 5 / 12 + 80px); padding-top: 28px; }
.hero h1 { font-size: 60px; line-height: 64px; }
.hero h1 { margin-bottom: 24px; text-wrap: balance; }
.hero-sub { max-width: 580px; color: var(--muted); font-size: 18px; line-height: 29px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-media { position: absolute; top: -48px; left: calc(var(--gut) + (100% - 2 * var(--gut) + 24px) * 5 / 12 + 128px); right: calc((100% - 100vw) / 2); }
.hero-photo { position: relative; height: 640px; overflow: hidden; background: var(--surface-2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 50%; }
.hero-media figcaption { margin-top: 12px; font-size: 13px; line-height: 18px; color: var(--muted); }
.hero-facts { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; width: calc((100% + 24px) * 5 / 12 + 80px); margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-facts dt { font: 300 40px/1 var(--fd); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-facts dd { margin-top: 10px; font-size: 14px; line-height: 20px; color: var(--muted); }

/* ---------- карточки проектов ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pgrid-4 { grid-template-columns: repeat(4, 1fr); }
.pcard { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard-media.is-hero-crop img { object-position: 50% 50%; }
.pcard:hover .pcard-media img { transform: scale(1.03); }
.area-tag { position: absolute; right: 12px; bottom: 12px; background: rgba(255, 255, 255, .9); color: var(--text); font: 400 13px/1 var(--fd); font-variant-numeric: tabular-nums; padding: 6px 9px; }
.badge { position: absolute; left: 12px; top: 12px; background: #fff; color: var(--text); font: 500 12px/1 var(--ft); padding: 7px 11px; border-radius: 99px; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.pcard-title { font: 400 28px/34px var(--fd); letter-spacing: -0.01em; }
.pcard-spec { margin-top: 6px; font-size: 14px; line-height: 20px; }
.pcard-lead { margin-top: 10px; font-size: 15px; line-height: 23px; color: var(--muted); }
.pcard-foot { margin-top: auto; padding-top: 18px; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.pp-label { font-size: 14px; color: var(--muted); }
.pp-val { font: 400 22px/1.3 var(--fd); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pcard-term { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 2px; }
.pcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-top: 18px; }
.pcard-actions .link-arrow { font-size: 15px; }
.js .pcard .dim .dl { transition-duration: .7s; }
.pcard:hover .dim .dl { animation: redraw .7s ease-out; }
@keyframes redraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.pgrid-4 .pcard-body { padding: 20px 20px 22px; }
.pgrid-4 .pcard-title { font-size: 26px; }
.pgrid-4 .pcard-actions { flex-direction: column; align-items: flex-start; }

/* ---------- сегменты / чипы ---------- */
.seg { display: inline-flex; border: 1px solid var(--text); border-radius: 2px; padding: 3px; gap: 3px; background: transparent; max-width: 100%; }
.seg button { height: 42px; padding: 0 18px; border: 0; background: none; border-radius: 1px; font: 500 15px/1 var(--ft); cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.seg button:hover { background: var(--surface-2); }
.seg button[aria-checked=true] { background: var(--text); color: var(--bg); }
.seg-sm button { height: 36px; padding: 0 14px; font-size: 14px; }
.seg-inline { margin-bottom: 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; font: 500 15px/1 var(--ft); cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chips button:hover { border-color: var(--text); }
.chips button[aria-checked=true], .chips button[aria-pressed=true] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* ---------- главная: проекты ---------- */
.projects-more { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-top: 40px; }
.projects-more .muted { font-size: 15px; line-height: 24px; }

/* ---------- калькулятор ---------- */
.calc { background: var(--surface-2); }
.calc-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 64px; align-items: start; }
.ctl { padding: 28px 0; border-top: 1px solid var(--line); }
.ctl:first-child { border-top: 0; padding-top: 0; }
.ctl-label { font: 500 13px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.chips-scroll { margin: 0 -4px; padding: 4px; }
.pchips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pchip { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 64px; padding: 12px 14px; text-align: left; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pchip b { font: 400 18px/1.1 var(--fd); }
.pchip span { font-size: 13px; line-height: 16px; color: var(--muted); white-space: nowrap; }
.pchip:hover { border-color: var(--text); }
.pchip[aria-checked=true] { background: var(--text); border-color: var(--text); color: var(--bg); }
.pchip[aria-checked=true] span { color: #C9CDCF; }
.seg-4 { display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; }
.seg-4 button { padding: 0 8px; }
.stage-short { margin-top: 12px; font-size: 15px; color: var(--muted); }
.inc-list li, .inc-ul li { position: relative; padding: 6px 0 6px 26px; font-size: 16px; line-height: 24px; }
.inc-list li::before, .inc-ul li::before { content: ""; position: absolute; left: 0; top: 18px; width: 14px; height: 1px; background: var(--text); }
.inc-prev { margin-bottom: 10px; }
.inc-toggle { min-height: 44px; padding: 0; border: 0; background: none; font: 500 15px/1.3 var(--ft); color: var(--text); cursor: pointer; text-decoration: underline; text-decoration-color: var(--draft); text-underline-offset: 4px; }
.inc-toggle:hover { text-decoration-color: currentColor; }
.inc-body { margin: 6px 0 16px; padding: 4px 0 4px 20px; border-left: 1px solid var(--line); }
.inc-grp + .inc-grp { margin-top: 12px; }
.inc-grp-t { font: 500 13px/16px var(--ft); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.inc-ul li { color: var(--muted); font-size: 15px; line-height: 22px; }
.inc-ul li::before { background: var(--draft); top: 17px; }
.inc-more { display: none; }
.xlist { display: flex; flex-direction: column; }
.xrow { display: grid; grid-template-columns: 22px 1fr auto; gap: 14px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.xrow:first-child { padding-top: 4px; }
.xrow input, .check input, .tg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 22px; height: 22px; border: 1px solid var(--text); background: var(--surface); border-radius: 2px; position: relative; margin-top: 1px; }
input:checked + .box { background: var(--text); }
input:checked + .box::after { content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid var(--bg); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
input:focus-visible + .box { outline: 2px solid var(--text); outline-offset: 3px; }
.xtext { display: flex; flex-direction: column; }
.xname { font-size: 16px; line-height: 24px; }
.xnote { font-size: 13px; line-height: 18px; color: var(--muted); display: none; }
.xrow.is-off .xnote { display: block; }
.xprice { font: 400 16px/24px var(--fd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.xrow.is-off, .xrow.in-project { cursor: default; }
.xrow.is-off .xname, .xrow.is-off .xprice { color: var(--muted); }
.xrow.is-off .box { border-color: var(--draft); background: transparent; }
.xrow.in-project .box { border-color: var(--draft); background: transparent; }
.xrow.in-project .box::after { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 1px; background: var(--draft); }
.xrow.in-project .xname { color: var(--muted); }
.xmsg { min-height: 24px; margin-top: 10px; font-size: 14px; color: var(--muted); }
.sub-ctl { margin-top: 24px; }
.sub-label { display: block; font-size: 15px; line-height: 20px; margin-bottom: 10px; color: var(--text); }
.range-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.range-head .sub-label { margin-bottom: 0; }
.range-head output { font: 400 17px/1 var(--fd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 4px 0 0; background: transparent; cursor: pointer; --p: 14.28%; }
.range::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--text) var(--p), var(--draft) var(--p)); }
.range::-moz-range-track { height: 2px; background: var(--draft); }
.range::-moz-range-progress { height: 2px; background: var(--text); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -11px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--text); transition: border-color .2s, box-shadow .2s; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1.5px solid var(--text); }
.range:focus { outline: none; }
.range:focus-visible::-webkit-slider-thumb { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(138, 87, 18, .22); }
.range:focus-visible::-moz-range-thumb { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(138, 87, 18, .22); }
.range:active::-webkit-slider-thumb { border-color: var(--accent); }
.range-scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: -4px; }
.calc-card { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); padding: 20px 28px 22px; }
.schema { position: relative; margin: 0 auto 6px; max-width: 380px; }
.house { display: block; width: 100%; height: auto; overflow: visible; }
.house .ground { stroke: var(--text); stroke-width: 1; fill: none; }
.house .ground-h { stroke: var(--draft); stroke-width: 1; fill: none; }
.house .sch-dim path { stroke: var(--text); stroke-width: 1; fill: none; }
.house .lbl-bg { fill: var(--surface); }
.house text { font: 400 12px var(--fd); fill: var(--text); font-variant-numeric: tabular-nums; }
.house .sch-call circle { fill: var(--text); }
.house .sch-call path { stroke: var(--text); stroke-width: 1; fill: none; }
.ly path, .ly circle { fill: none; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; transition: stroke .4s, opacity .4s; }
.ly-insul path { stroke-width: 1; }
.ly[data-state=done] path, .ly[data-state=done] circle { stroke: var(--text); }
.ly[data-state=cur] path, .ly[data-state=cur] circle { stroke: var(--accent); }
.ly[data-state=future] path, .ly[data-state=future] circle { stroke: var(--draft); stroke-dasharray: 3 3; opacity: .6; }
.ly-eng .dash { stroke-dasharray: 5 4; }
.ly[data-state=future].ly-eng .dash { stroke-dasharray: 2 4; }
.ly.draw-now path, .ly.draw-now circle { stroke-dasharray: 1; animation: drawln .6s ease-out both; }
.ly-eng.draw-now path, .ly-eng.draw-now circle { stroke-dasharray: 1; }
@keyframes drawln { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.res-label { font-size: 14px; line-height: 20px; color: var(--muted); }
.res-price { margin-top: 2px; font: 500 48px/1.1 var(--fd); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--accent); white-space: nowrap; }
.res-term { margin-top: 6px; font-size: 15px; }
.res-sep { height: 1px; background: var(--line); margin: 16px 0 14px; }
.res-pay { margin-top: 2px; font: 400 32px/1.15 var(--fd); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res-loan { margin-top: 6px; font-size: 15px; line-height: 22px; }
.res-note { margin-top: 10px; font-size: 13px; line-height: 19px; color: var(--muted); }
.escrow-plate { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 14px; padding: 12px 14px; border: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.escrow-plate .ico { color: var(--text); margin-top: -1px; }
.res-small { margin-top: 12px; font-size: 12.5px; line-height: 18px; color: var(--muted); }
.calc-foot { margin-top: 40px; max-width: 760px; font-size: 14px; line-height: 22px; color: var(--muted); }

/* ---------- цены ---------- */
.price-head { margin-bottom: 72px; }
.price-big { display: flex; align-items: center; gap: 40px; max-width: none; }
.pb { display: flex; flex-direction: column; }
.pb-end { align-items: flex-end; text-align: right; }
.pb-cap { font: 500 13px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.pb-num { margin: 10px 0 14px; font: 300 clamp(64px, 8.4vw, 124px)/.92 var(--fd); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pb-dim { position: relative; flex: 1; min-width: 48px; height: 1px; background: var(--draft); }
.pb-dim::before, .pb-dim::after { content: ""; position: absolute; top: -9px; width: 1px; height: 19px; background: var(--text); }
.pb-dim::before { left: 0; } .pb-dim::after { right: 0; }
.pb-dim i::before, .pb-dim i::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--text); transform: rotate(45deg); }
.pb-dim i::before { left: 0; } .pb-dim i::after { right: 0; }
.js .pb-dim { transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease) .2s; }
.js .rv.in .pb-dim { transform: none; }
.price-grid { display: grid; grid-template-columns: 4fr 8fr; gap: 48px 96px; align-items: start; }
.price-side .lead { margin-bottom: 28px; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { padding: 20px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.price-table thead th { font: 500 13px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 0; border-bottom-color: var(--text); }
.price-table .num { text-align: right; padding-left: 24px; }
.price-table td { font: 400 24px/1.2 var(--fd); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pt-name { display: block; font: 400 20px/1.3 var(--fd); }
.pt-short { display: block; font: 400 14px/20px var(--ft); color: var(--muted); margin-top: 4px; }
.table-note { margin-top: 14px; font-size: 13px; color: var(--muted); }

/* ---------- эскроу ---------- */
.esc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; }
.esc-item { border-top: 1px solid var(--line); padding-top: 24px; }
.esc-item h3 { font: 500 20px/28px var(--fd); letter-spacing: -0.01em; margin-bottom: 10px; }
.esc-item p { color: var(--muted); }
.mort-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 64px; margin-top: 72px; padding: 40px 48px; background: var(--surface); border: 1px solid var(--line); }
.mort-strip h3 { font: 400 24px/30px var(--fd); margin-bottom: 12px; }
.mort-strip p { color: var(--muted); font-size: 16px; line-height: 26px; }
.mort-strip .btn { margin-top: 24px; }

/* ---------- карта ---------- */
.map-sec { background: var(--surface-2); }
.map-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 48px 56px; align-items: start; }
.map-tools { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.map-box { position: relative; background: var(--bg); border: 1px solid var(--line); }
.map-svg { display: block; width: 100%; height: auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.mgrid-p { stroke: var(--draft); stroke-width: 1; opacity: .35; }
.ring { fill: none; stroke: var(--draft); stroke-width: 1; stroke-dasharray: 4 4; }
.ring-t { font: 400 12px var(--fd); fill: var(--muted); }
.river { fill: none; stroke: var(--draft); stroke-width: 2; stroke-linecap: round; }
.river-t { font: italic 400 14px var(--ft); fill: var(--muted); }
.kaluga { fill: var(--text); }
.city { font: 400 12px var(--ft); fill: var(--muted); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.ring-t, .river-t { paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.city-main { font: 500 14px var(--ft); fill: var(--text); }
.pt { cursor: pointer; outline: none; transition: opacity .5s var(--ease); }
.pt .dot { r: 7; fill: var(--text); stroke: var(--surface); stroke-width: 3; transition: r .2s; }
.pt .halo { r: 16; fill: none; stroke: var(--draft); stroke-width: 1.5; opacity: 0; transition: opacity .2s; }
.pt:hover .dot, .pt:focus-visible .dot { r: 10; }
.pt:hover .halo, .pt:focus-visible .halo { opacity: 1; animation: pulse 1.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.pt:focus-visible .halo { stroke: var(--text); stroke-width: 2; animation: none; }
.pt.active .halo { opacity: 1; stroke: var(--text); animation: none; }
.pt.active .dot { r: 9; }
.pt.off { opacity: .15; pointer-events: none; }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.map-sec.pts-wait .pt { opacity: 0; }
.map-sec.pts-in .pt { transition-delay: var(--d); }
.map-sec.pts-done .pt { transition-delay: 0s; }
.map-cap { margin-top: 14px; font-size: 13px; line-height: 20px; color: var(--muted); }
.map-sum { font: 400 20px/28px var(--fd); margin-bottom: 18px; }
.chips-years button { min-height: 40px; padding: 0 12px; font-size: 14px; }
.map-panel { position: sticky; top: 96px; }
.hc-panel { margin-top: 24px; background: var(--surface); border: 1px solid var(--line); transition: opacity .25s; }
.hc-panel.fade { opacity: 0; }
.hc-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.hc-photo img { width: 100%; height: 100%; object-fit: cover; }
.hc-body { padding: 20px 22px 22px; }
.hc-title { font: 400 22px/28px var(--fd); letter-spacing: -0.01em; }
.hc-meta { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 4px; }
.hc-term { font: 400 15px/22px var(--fd); font-variant-numeric: tabular-nums; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.delay { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; padding: 12px 14px; border: 1px solid var(--line); font-size: 14px; line-height: 20px; }
.delay .ico { margin-top: 0; }
.hc-quote { margin-top: 14px; font-size: 16px; line-height: 25px; }
.hc-owner { margin-top: 8px; font-size: 14px; color: var(--muted); }
.map-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.blist { display: none; border-top: 1px solid var(--text); }
.map-sec.list-mode .blist { display: block; }
.map-sec.list-mode .map-box { display: none; }
.map-sec.list-mode .hc-panel, .map-sec.list-mode .map-hint { display: none; }
.blist-item { border-bottom: 1px solid var(--line); }
.blist-item summary { display: grid; grid-template-columns: 1.6fr .6fr .6fr 1fr 1.6fr 20px; gap: 12px; align-items: center; min-height: 56px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 15px; }
.blist-item summary::-webkit-details-marker { display: none; }
.blist-item summary::after { content: ""; width: 10px; height: 10px; border: solid var(--text); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); justify-self: end; margin-top: -6px; transition: transform .2s; }
.blist-item[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.bl-place { font: 400 17px/1.2 var(--fd); }
.bl-km, .bl-year, .bl-term { font-variant-numeric: tabular-nums; color: var(--muted); }
.bl-late { font-style: normal; margin-left: 6px; padding: 2px 6px; border: 1px solid var(--line); font-size: 12px; color: var(--text); }
.hc-row { display: grid; grid-template-columns: 260px 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); margin-bottom: 16px; }
.hc-row .hc-photo { aspect-ratio: auto; height: 100%; }

/* ---------- стройка ---------- */
.process .sec-head { margin-bottom: 72px; }
.process-photo { margin-top: 88px; }
.process-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; background: var(--surface-2); }
.process-photo figcaption { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--muted); }
/* шкала по реальному времени: ширина отрезка = длительность этапа */
.tl-ruler { display: grid; grid-template-columns: .75fr 1fr 1fr 1fr 2fr .55fr; column-gap: 4px; margin-bottom: 72px; }
.tlr-seg span { display: block; font: 500 13px/16px var(--ft); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tlr-seg i { display: block; height: 10px; background: var(--text); }
.tlr-pre i { background: repeating-linear-gradient(135deg, var(--draft) 0 1px, transparent 1px 6px); box-shadow: inset 0 0 0 1px var(--draft); }
.tlr-end i { background: var(--draft); }
.tlr-seg b { display: block; margin-top: 10px; font: 400 15px/20px var(--fd); font-variant-numeric: tabular-nums; }
.tlr-dim { grid-column: 2 / 6; grid-row: 2; position: relative; height: 1px; margin-top: 28px; background: var(--draft); }
.tlr-dim::before, .tlr-dim::after { content: ""; position: absolute; top: -9px; width: 1px; height: 19px; background: var(--text); }
.tlr-dim::before { left: 0; } .tlr-dim::after { right: 0; }
.tlr-dim em { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); padding: 0 14px; background: var(--bg); font: 400 17px/1 var(--fd); font-style: normal; white-space: nowrap; }
.js .tl-ruler .tlr-seg i { transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.js .tl-ruler.in .tlr-seg i { transform: none; }
.js .tl-ruler.in .tlr-seg:nth-child(2) i { transition-delay: .12s; } .js .tl-ruler.in .tlr-seg:nth-child(3) i { transition-delay: .24s; } .js .tl-ruler.in .tlr-seg:nth-child(4) i { transition-delay: .36s; } .js .tl-ruler.in .tlr-seg:nth-child(5) i { transition-delay: .48s; } .js .tl-ruler.in .tlr-seg:nth-child(6) i { transition-delay: .72s; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 48px; }
.tl-item { position: relative; border-top: 1px solid var(--line); padding-top: 20px; }
.tl-time { font: 500 14px/18px var(--fd); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.tl-item h3 { font: 400 22px/28px var(--fd); margin: 10px 0 10px; }
.tl-item p { font-size: 15px; line-height: 23px; }
.tl-get { margin-top: 12px; color: var(--muted); }
.tl-get span { font-weight: 500; color: var(--text); }

/* ---------- выставка ---------- */
.show { padding-top: 0; }
.show-stage { position: relative; display: flex; align-items: center; height: 92vh; min-height: 780px; max-height: 960px; overflow: hidden; background: var(--surface-2); }
.show-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.show-over { position: relative; display: flex; justify-content: flex-end; width: 100%; }
.show-card { max-width: 540px; padding: 44px 44px 40px; background: var(--surface); box-shadow: 0 24px 60px -30px rgba(26, 30, 33, .35); }
.show-card h2 { margin-bottom: 20px; font-size: 40px; line-height: 46px; }
.show-card > p { font-size: 16px; line-height: 26px; }
.show-cap { margin-top: 12px; font-size: 13px; line-height: 20px; color: var(--muted); }
.mini-table { margin: 24px 0 28px; border-top: 1px solid var(--line); }
.mini-table div { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 23px; }
.mini-table dt { color: var(--muted); }
.winter { display: grid; grid-template-columns: 4fr 8fr; gap: 16px 96px; margin-top: 72px; padding: 36px 0 0; border-top: 1px solid var(--text); }
.winter h3 { font: 300 36px/42px var(--fd); letter-spacing: -0.02em; }
.winter p { max-width: 680px; }
.winter p { font-size: 15px; line-height: 24px; color: var(--muted); margin-bottom: 8px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px 96px; align-items: start; }
.faq-grid .sec-head { position: sticky; top: 110px; }
.faq-list { border-top: 1px solid var(--text); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 72px; padding: 16px 0; cursor: pointer; list-style: none; font: 400 21px/28px var(--fd); letter-spacing: -0.01em; }
.faq-item summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 20px; height: 20px; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 9.5px; width: 20px; height: 1.5px; background: var(--text); transition: transform .25s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq-item[open] .plus::after { transform: rotate(0); }
.faq-item p { padding: 0 48px 24px 0; color: var(--muted); }

/* ---------- финал ---------- */
.final { background: var(--text); color: #F3F2EE; }
.final .eyebrow { color: #A9B0B4; }
.final .lead { color: #A9B0B4; }
.final-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px 96px; align-items: start; }
.final h2 { margin-bottom: 20px; max-width: 700px; }
.final-form .form { margin-top: 40px; max-width: 680px; }
.final-contacts { display: grid; gap: 0; padding-top: 44px; }
.fc { padding: 20px 0; border-top: 1px solid rgba(243, 242, 238, .16); font-size: 16px; line-height: 24px; }
.fc-t { font: 500 13px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: #A9B0B4; margin-bottom: 8px; }
.fc-m { color: #A9B0B4; font-size: 14px; }
.fc a { color: #F3F2EE; text-decoration-color: rgba(243, 242, 238, .35); text-underline-offset: 3px; }
.fc-big { font: 300 28px/1.3 var(--fd); text-decoration: none; }
.fc .linkish { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }

/* ---------- формы ---------- */
.form { display: flex; flex-direction: column; gap: 18px; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 14px; line-height: 18px; color: var(--muted); }
.fs { border: 0; padding: 0; margin: 0; }
.fs legend { padding: 0; margin-bottom: 10px; }
.opt { font-size: 12px; color: var(--muted); margin-left: 6px; }
.field input, .field textarea, .select select { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--surface); color: var(--text); font: 400 17px/24px var(--ft); transition: border-color .2s; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: var(--draft); }
.field input:focus, .field textarea:focus, .select select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 1px var(--text); }
.field.invalid input, .field.invalid textarea { border: 2px solid var(--text); padding: 12px 15px; }
.hint { font-size: 13px; color: var(--muted); }
.err { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--muted); }
.err .ico { color: var(--text); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px; border: solid var(--text); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.select select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.select-sm select { min-height: 44px; padding: 8px 40px 8px 14px; font-size: 15px; }
.consent { font-size: 14px; line-height: 20px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; cursor: pointer; padding: 4px 0; }
.check .box { margin-top: -1px; }
.consent.invalid .box { border-width: 2px; }
.consent .err { margin: 6px 0 0 34px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-radio { position: relative; cursor: pointer; }
.chip-radio input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip-radio span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; font-size: 15px; transition: border-color .2s, background .2s; }
.chip-radio:hover span { border-color: var(--text); }
.chip-radio input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.chip-radio input:focus-visible + span { outline: 2px solid var(--text); outline-offset: 3px; }
.form-note { font-size: 13px; line-height: 19px; color: var(--muted); }
.form .btn-primary { align-self: flex-start; }
.form .btn-block { align-self: stretch; }
.form-dark .field label { color: #A9B0B4; }
.form-dark .field input { background: transparent; border-color: rgba(243, 242, 238, .28); color: #F3F2EE; }
.form-dark .field input::placeholder { color: #7D858A; }
.form-dark .field input:hover { border-color: rgba(243, 242, 238, .5); }
.form-dark .field input:focus { border-color: #F3F2EE; box-shadow: 0 0 0 1px #F3F2EE; }
.form-dark .field.invalid input { border-color: #F3F2EE; }
.form-dark .hint, .form-dark .err { color: #A9B0B4; }
.form-dark .err .ico { color: #F3F2EE; }
.form-dark .box { background: transparent; border-color: #A9B0B4; }
.form-dark input:checked + .box { background: #F3F2EE; border-color: #F3F2EE; }
.form-dark input:checked + .box::after { border-color: var(--text); }
.form-dark .consent { color: #C9CDCF; }
.form-dark :focus-visible, .final :focus-visible { outline-color: #F3F2EE; }
.form-dark input:focus-visible + .box { outline-color: #F3F2EE; }
.success { padding: 8px 0; outline: none; }
.success-mark { fill: none; stroke: currentColor; stroke-width: 1.5; margin-bottom: 18px; }
.success-mark path:last-child { fill: currentColor; stroke: none; }
.success-t { font: 300 30px/36px var(--fd); letter-spacing: -0.02em; margin-bottom: 12px; }
.success p { max-width: 520px; }
.demo-note { margin-top: 14px; font-size: 13px; color: var(--muted); }
.final .demo-note { color: #A9B0B4; }
.success .btn { margin-top: 24px; }
.final .success .btn-sec { border-color: #F3F2EE; color: #F3F2EE; }
.final .success .btn-sec:hover { background: #F3F2EE; color: var(--text); }

/* ---------- модалки ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal-bg { position: absolute; inset: 0; background: rgba(26, 30, 33, .55); opacity: 0; transition: opacity .25s; }
.modal-box { position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; background: var(--bg); padding: 40px 44px 40px; border-radius: 2px; opacity: 0; transform: translateY(16px); transition: opacity .25s, transform .3s var(--ease); outline: none; }
.modal.open .modal-bg { opacity: 1; }
.modal.open .modal-box { opacity: 1; transform: none; }
.modal-x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; cursor: pointer; z-index: 2; }
.modal-t { font: 300 32px/38px var(--fd); letter-spacing: -0.02em; margin: 0 40px 16px 0; }
.modal-lead { color: var(--muted); font-size: 16px; line-height: 25px; margin-bottom: 24px; }
.lock-summary { background: var(--surface-2); padding: 16px 18px; margin-bottom: 24px; }
.ls-t { display: block; font: 500 12px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lock-summary p { font: 400 16px/25px var(--fd); }
.modal-project .modal-box { max-width: 860px; padding: 0 0 36px; }
.modal-project .modal-x { background: rgba(255, 255, 255, .9); right: 12px; top: 12px; }
.pm-photo { aspect-ratio: 16 / 9; overflow: hidden; background: var(--surface-2); }
.pm-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-title { font: 300 40px/46px var(--fd); letter-spacing: -0.02em; margin: 28px 44px 8px; }
.pm-lead { color: var(--muted); margin: 0 44px; max-width: 640px; }
.pm-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; margin: 28px 44px 0; }
.spec { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.spec th, .spec td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec tbody th { font-weight: 400; color: var(--muted); padding-right: 16px; }
.spec thead th { font: 500 12px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--text); }
.spec .num { text-align: right; font-family: var(--fd); white-space: nowrap; }
.stages-t tbody th { color: var(--text); }
.pm-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 44px 0; }
.pm-note { margin: 18px 44px 0; font-size: 14px; line-height: 21px; color: var(--muted); }
.modal-house .modal-box { padding: 0; max-width: 480px; }
.modal-house .modal-x { background: rgba(255, 255, 255, .9); right: 12px; top: 12px; }
.modal-policy .modal-box { max-width: 720px; }
.policy p { margin-bottom: 14px; font-size: 15px; line-height: 24px; }

/* ---------- каталог ---------- */
.cat-head { padding: 48px 0 40px; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-underline-offset: 3px; }
.cat-head-row { display: grid; grid-template-columns: 7fr 5fr; gap: 24px 48px; align-items: end; }
.cat-head h1 { font-size: 56px; line-height: 60px; }
.fbar-m { display: none; }
.f-scrim { display: none; }
.filters { position: sticky; top: var(--hdr); z-index: 40; background: rgba(243, 242, 238, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters-in { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px 28px; padding-top: 14px; padding-bottom: 16px; }
.fgrp { display: flex; flex-direction: column; gap: 6px; }
.flabel { font: 500 12px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filters .seg button { height: 36px; padding: 0 14px; font-size: 14px; }
.filters .chips button { min-height: 44px; padding: 0 12px; font-size: 14px; }
.filters .select select { min-height: 44px; padding: 8px 40px 8px 14px; font-size: 15px; background: var(--surface); }
.fgrp-stage .seg-4 { width: auto; display: inline-flex; }
.toggles { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.tg { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14px; cursor: pointer; white-space: nowrap; }
.tg-sw { position: relative; width: 36px; height: 20px; border-radius: 99px; border: 1px solid var(--text); transition: background .2s; flex: none; }
.tg-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: var(--text); transition: transform .2s var(--ease), background .2s; }
.tg input:checked + .tg-sw { background: var(--text); }
.tg input:checked + .tg-sw::after { transform: translateX(16px); background: var(--bg); }
.tg input:focus-visible + .tg-sw { outline: 2px solid var(--text); outline-offset: 3px; }
.sheet-head, .sheet-foot { display: none; }
@media (min-width: 1101px) {
  .filters { transition: transform .35s var(--ease); }
  .filters.f-away { transform: translateY(calc(-100% - 2px)); }
}
.sheet-foot .btn:disabled { opacity: .4; cursor: default; pointer-events: none; }
.cat { padding-top: 40px; }
.count-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.f-count { font: 300 28px/34px var(--fd); letter-spacing: -0.01em; }
.count-tools { display: flex; align-items: center; gap: 20px; }
.link-reset { min-height: 44px; border: 0; background: none; padding: 0; font: 500 15px/1 var(--ft); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--draft); cursor: pointer; }
.cat-note { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.empty { padding: 56px 48px; border: 1px dashed var(--draft); background: var(--surface); }
.empty-t { font: 300 32px/38px var(--fd); letter-spacing: -0.02em; margin-bottom: 10px; }
.empty > p:not(.empty-t) { color: var(--muted); max-width: 620px; }
.empty-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.notfound { padding-top: 32px; }
.nf-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 24px 96px; padding-top: 64px; border-top: 1px solid var(--line); }
.nf-grid .lead { color: var(--text); max-width: 640px; margin-bottom: 28px; }
.expo-strip { background: var(--surface-2); padding: 40px 0; margin-bottom: 0; }
.expo-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.expo-in p { font: 300 26px/34px var(--fd); letter-spacing: -0.01em; max-width: 760px; }

/* ---------- подвал ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 72px 0 32px; }
.foot { display: grid; grid-template-columns: 5fr 3fr 3fr; gap: 40px 48px; }
.foot-brand p { margin-top: 16px; max-width: 380px; color: var(--muted); font-size: 15px; line-height: 24px; }
.foot-contacts a { color: var(--text); text-decoration: none; }
.foot-col { display: flex; flex-direction: column; }
.foot-h { font: 500 12px/16px var(--ft); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.foot-col a { padding: 5px 0; font-size: 15px; line-height: 22px; text-decoration: none; }
.foot-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot-bottom { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 20px; font-size: 13px; line-height: 20px; color: var(--muted); }
.foot-bottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: var(--line); }
.foot-bottom .linkish { font-size: 13px; min-height: 24px; }

/* ---------- нижняя панель ---------- */
.mbar { display: none; }

/* ================= адаптив ================= */
@media (max-width: 1280px) {
  h1, .hero h1 { font-size: 54px; line-height: 58px; }
  .pgrid-4 { grid-template-columns: repeat(2, 1fr); }
  .pchips { grid-template-columns: repeat(4, 1fr); }
  .calc-grid { gap: 24px 40px; }
  .res-price { font-size: 42px; }
  .timeline { gap: 40px 32px; }
}
@media (max-width: 1100px) {
  :root { --gut: 32px; --sec: 104px; }
  .hero-in { min-height: 0; }
  .hero-text, .hero-facts { width: auto; }
  .hero-media { position: relative; top: 0; left: auto; right: auto; width: auto; margin-top: 40px; }
  .hero-photo { height: auto; aspect-ratio: 16 / 10; }
  .hero-facts { margin-top: 32px; }
  .calc-grid { grid-template-columns: 7fr 5fr; gap: 24px 32px; }
  .calc-card { padding: 18px 20px 20px; }
  .calc-card .schema { max-width: 320px; }
  .res-price { font-size: 36px; }
  .res-pay { font-size: 26px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .map-grid { grid-template-columns: 1fr; }
  .map-panel { position: relative; top: 0; display: grid; grid-template-columns: 1fr; }
  .price-grid, .faq-grid, .final-grid, .nf-grid, .cat-head-row, .winter { grid-template-columns: 1fr; }
  .price-big { gap: 24px; }
  .show-stage { display: block; height: auto; min-height: 0; max-height: none; background: none; }
  .show-bg { position: static; height: auto; aspect-ratio: 16 / 9; }
  .show-over { display: block; }
  .show-card { max-width: 720px; padding: 40px 0 0; background: none; box-shadow: none; }
  .show-cap { display: none; }
  .faq-grid .sec-head { position: static; }
  .sec-head-row { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .tl-ruler { margin-bottom: 56px; }
  .tlr-seg span { white-space: normal; min-height: 32px; font-size: 12px; letter-spacing: .04em; }
  .tlr-seg b { font-size: 14px; }
}
/* каталог: до 1100 px фильтры — кнопка «Фильтры · N» и лист снизу */
@media (max-width: 1100px) {
  .fbar-m { display: block; position: sticky; top: var(--hdr); z-index: 40; background: rgba(243, 242, 238, .96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .fbar-m-in { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; padding-bottom: 8px; }
  .fbar-m .btn { gap: 8px; }
  .fbar-m .select { flex: 1; max-width: 220px; }
  .f-sort-d { display: none; }
  .count-tools .select { display: none; }
  .filters { position: fixed; left: 0; right: 0; bottom: 0; top: auto; z-index: 95; max-height: 88vh; overflow-y: auto; background: var(--bg); border: 0; border-radius: 8px 8px 0 0; transform: translateY(105%); transition: transform .3s var(--ease); visibility: hidden; }
  .filters.sheet-open { transform: none; visibility: visible; }
  .filters-in { flex-direction: column; align-items: stretch; flex-wrap: nowrap; gap: 20px; padding-top: 8px; padding-bottom: 0; }
  .sheet-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--bg); z-index: 1; margin: 0 calc(-1 * var(--gut)); padding: 8px 8px 8px var(--gut); border-bottom: 1px solid var(--line); }
  .sheet-t { font: 400 22px/1 var(--fd); }
  .sheet-foot { display: grid; grid-template-columns: 1fr 2fr; gap: 10px; position: sticky; bottom: 0; background: var(--bg); margin: 0 calc(-1 * var(--gut)); padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
  .sheet-foot .btn { width: 100%; padding: 0 12px; }
  .filters .seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: 100%; }
  .filters .seg button { height: 42px; padding: 0 6px; }
  .fgrp-stage .seg-4 { display: grid; grid-auto-flow: row; grid-template-columns: 1fr 1fr; width: 100%; }
  .filters .chips button { flex: 1; }
  .toggles { flex-direction: column; }
  .f-scrim { display: block; position: fixed; inset: 0; z-index: 94; background: rgba(26, 30, 33, .5); }
  .f-scrim[hidden] { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1100px) {
  .filters { max-width: 720px; margin: 0 auto; }
  .sheet-foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 899px) {
  .calc-grid { grid-template-columns: 1fr; }
  .pchips { grid-template-columns: repeat(4, 1fr); }
  .calc-card { position: relative; top: 0; }
}
/* планшет 768–899: калькулятор в одну колонку, итог — в нижней мини-панели */
@media (min-width: 768px) and (max-width: 899px) {
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .mbar.calc-mode { transform: none; visibility: visible; transition: transform .3s var(--ease); }
  .mbar-def { display: none; }
  .mbar-calc { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .mbar-sum { display: flex; align-items: baseline; gap: 16px; }
  .mbar-sum b { font: 500 24px/1.2 var(--fd); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mbar-sum span { font-size: 16px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
}
@media (max-width: 767px) {
  :root { --gut: 16px; --sec: 72px; --hdr: 60px; }
  body { font-size: 16px; line-height: 26px; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  h1, .hero h1 { font-size: 38px; line-height: 42px; }
  h2 { font-size: 30px; line-height: 36px; }
  h3 { font-size: 24px; line-height: 30px; }
  .eyebrow { margin-bottom: 14px; }
  .sec-head { margin-bottom: 32px; }
  .sec.follow::before { margin-bottom: 64px; }
  .sec-head .lead { margin-top: 14px; }
  .btn { height: 48px; padding: 0 22px; }
  .hdr { gap: 4px; }
  .logo-word { font-size: 22px; }
  .burger { margin-right: -10px; }
  /* hero */
  .hero { padding-top: 24px; }
  .hero-text { padding-top: 0; }
  .hero h1 { margin-bottom: 16px; }
  .hero-sub { font-size: 16px; line-height: 25px; }
  .hero-btns { flex-direction: column; margin-top: 24px; gap: 10px; }
  .hero-btns .btn { width: 100%; }
  .hero-media { margin-top: 28px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-photo img { object-position: 60% 50%; }
  .hide-m { display: none; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; padding-top: 18px; }
  .hero-facts dt { font-size: 28px; }
  .hero-facts dd { font-size: 13px; line-height: 18px; margin-top: 8px; }
  .dim-label { font-size: 12px; padding: 4px 6px; }
  /* карточки */
  .pgrid, .pgrid-4 { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .pcard-body, .pgrid-4 .pcard-body { padding: 18px 18px 20px; }
  .pcard-title, .pgrid-4 .pcard-title { font-size: 24px; line-height: 30px; }
  .pgrid-4 .pcard-actions, .pcard-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 16px; } /* на 320–360 ссылка уходит под кнопку, а не за край */
  .pcard-actions .btn-sm { padding: 0 14px; }
  .pcard-actions .link-arrow { font-size: 15px; white-space: nowrap; }
  .seg-inline { display: flex; width: 100%; }
  .seg-inline button { flex: 1; padding: 0 8px; }
  .projects-more { flex-direction: column; align-items: stretch; }
  /* калькулятор */
  .calc-controls, .calc-card { display: contents; }
  .calc-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .calc-grid > *, .ctl, .schema, .calc-result { min-width: 0; }
  .c-proj { order: 1; } .c-stage { order: 2; } .schema { order: 3; } .c-inc { order: 4; } .c-extra { order: 5; } .c-mort { order: 6; } .calc-result { order: 7; } #calc-live { order: 8; }
  .ctl { padding: 24px 0; }
  .c-stage { padding-bottom: 16px; }
  .chips-scroll { margin: 0 calc(-1 * var(--gut)); padding: 4px var(--gut); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--gut); }
  .chips-scroll::-webkit-scrollbar { display: none; }
  .pchips { display: flex; width: max-content; }
  .pchip { scroll-snap-align: start; min-width: 118px; min-height: 60px; }
  .seg-4 { grid-template-columns: 1fr 1fr; }
  .seg-4 button { height: 44px; }
  .schema { margin: 0 0 8px; padding: 12px 8px 4px; background: var(--surface); border: 1px solid var(--line); }
  .inc-list.clip li:nth-child(n+4) { display: none; }
  .inc-more { display: inline-flex; align-items: center; min-height: 44px; border: 0; background: none; padding: 0; font: 500 15px/1 var(--ft); text-decoration: underline; text-decoration-color: var(--draft); text-underline-offset: 4px; cursor: pointer; }
  .xrow { grid-template-columns: 22px 1fr; }
  .xprice { grid-column: 2; font-size: 15px; margin-top: -8px; }
  .seg-2 { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .seg-2 button { padding: 0 8px; }
  .chips button { min-height: 44px; padding: 0 14px; }
  .chips[data-rg=term] { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .chips[data-rg=term] button { padding: 0; }
  .t-u { display: none; }
  .t-lu { display: inline; }
  .calc-link { min-height: 44px; }
  .calc-result { background: var(--surface); border: 1px solid var(--line); padding: 22px 18px; margin-top: 8px; }
  .res-price { font-size: 38px; }
  .res-pay { font-size: 28px; }
  .calc-foot { margin-top: 24px; }
  /* цены */
  .price-table th, .price-table td { padding: 16px 0; }
  .price-table .num { padding-left: 12px; }
  .price-table td { font-size: 17px; }
  .price-table thead th { font-size: 11px; letter-spacing: .04em; }
  .pt-name { font-size: 17px; }
  .pt-short { font-size: 13px; line-height: 18px; }
  /* эскроу */
  .esc-grid, .mort-strip { grid-template-columns: 1fr; gap: 32px; }
  .mort-strip { padding: 24px 20px; margin-top: 48px; }
  .mort-strip .btn { width: 100%; }
  /* карта */
  .map-box { margin: 0 calc(-1 * var(--gut) + 0px); border-left: 0; border-right: 0; }
  .map-left { display: flex; flex-direction: column; }
  .map-tools { order: 2; margin: 14px 0 0; }
  .map-tools .seg { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .map-tools .seg button { height: 42px; }
  .map-cap { order: 3; }
  .pt .dot { r: 20; stroke-width: 6; }
  .pt .halo { r: 34; stroke-width: 3; }
  .pt:hover .dot, .pt:focus-visible .dot { r: 22; }
  .pt.active .dot { r: 22; }
  .ring-t { font-size: 24px; }
  .city { font-size: 24px; }
  .city-main { font-size: 28px; transform: translate(-2px, 32px); }
  .city-alx { transform: translate(0, -24px); }
  .city-obn { transform: translate(14px, 0); }
  .city-mal { transform: translate(-14px, 0); }
  .city { stroke-width: 8px; } .ring-t, .river-t { stroke-width: 8px; }
  .river-t { font-size: 26px; }
  .map-panel .hc-panel, .map-panel .map-hint { display: none; }
  .map-panel { order: -1; }
  .map-grid { gap: 20px; }
  .map-sum { font-size: 17px; margin-bottom: 12px; }
  .chips-years { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 6px; }
  .chips-years button { padding: 0 6px; font-size: 13px; }
  .blist-item summary { grid-template-columns: 1fr auto 20px; row-gap: 2px; }
  .bl-km, .bl-proj { display: none; }
  .bl-term { grid-column: 1 / 3; grid-row: 2; font-size: 14px; }
  .bl-year { grid-column: 2; grid-row: 1; }
  .blist-item summary::after { grid-column: 3; grid-row: 1 / 3; }
  .hc-row { grid-template-columns: 1fr; }
  .hc-row .hc-photo { aspect-ratio: 4 / 3; }
  .modal-house .hc-body { padding: 18px 18px 24px; }
  /* стройка */
  .process .sec-head { margin-bottom: 40px; }
  .process-photo { margin: 16px calc(-1 * var(--gut)) 0; }
  .process-photo img { aspect-ratio: 4 / 3; object-position: 40% 50%; }
  .process-photo figcaption { padding: 0 var(--gut); }
  /* цены: крупные цифры */
  .price-head { margin-bottom: 40px; }
  .price-big { flex-direction: column; align-items: stretch; gap: 0; }
  .pb-end { align-items: flex-start; text-align: left; }
  .pb-num { font-size: 60px; margin: 6px 0 10px; }
  .pb-dim { display: none; }
  .pb + .pb-dim + .pb { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
  .timeline { grid-template-columns: 1fr; gap: 0; padding: 0 0 0 28px; }
  .tl-ruler { display: none; }
  .timeline::before { content: ""; position: absolute; display: block; left: 4px; top: 8px; bottom: 8px; right: auto; width: 1px; height: auto; background: var(--draft); }
  .tl-item { border-top: 0; padding: 0 0 36px; }
  .tl-item::before { content: ""; position: absolute; left: -30px; top: 8px; width: 12px; height: 1px; background: var(--text); }
  .tl-item::after { content: ""; position: absolute; left: -25px; top: 4px; width: 1px; height: 8px; background: var(--text); transform: rotate(45deg); }
  .tl-time { min-height: 0; }
  .tl-item h3 { font-size: 21px; margin: 6px 0 8px; }
  /* выставка */
  .show-stage { display: block; height: auto; min-height: 0; max-height: none; background: none; }
  .show-bg { position: static; height: auto; aspect-ratio: 4 / 3; object-position: 35% 50%; }
  .show-over { display: block; }
  .show-card { max-width: none; padding: 28px 0 0; background: none; box-shadow: none; }
  .show-card h2 { font-size: 30px; line-height: 36px; }
  .show-cap { display: none; }
  .mini-table div { grid-template-columns: 1fr; gap: 2px; }
  .show-card .btn { width: 100%; }
  .winter { margin-top: 48px; padding-top: 24px; }
  .winter h3 { font-size: 28px; line-height: 34px; }
  /* faq */
  .faq-item summary { font-size: 18px; line-height: 25px; min-height: 64px; }
  .faq-item p { padding-right: 0; }
  /* финал */
  .final-grid { gap: 24px; }
  .form-2 { grid-template-columns: 1fr; }
  .form .btn-primary { align-self: stretch; }
  .final-contacts { padding-top: 16px; }
  .fc-big { font-size: 24px; }
  /* модалки — лист снизу */
  .modal { align-items: flex-end; padding: 0; }
  .modal-box { max-width: none; max-height: 92vh; padding: 28px 16px calc(28px + env(safe-area-inset-bottom)); transform: translateY(40px); border-radius: 8px 8px 0 0; }
  .modal-t { font-size: 26px; line-height: 32px; }
  .modal-project .modal-box { padding: 0 0 calc(28px + env(safe-area-inset-bottom)); }
  .pm-title { font-size: 30px; line-height: 36px; margin: 20px 16px 6px; }
  .pm-lead, .pm-actions, .pm-note { margin-left: 16px; margin-right: 16px; }
  .pm-tables { grid-template-columns: 1fr; gap: 24px; margin: 20px 16px 0; }
  .pm-actions .btn { width: 100%; }
  .modal-house .modal-box { max-width: none; padding: 0 0 env(safe-area-inset-bottom); }
  /* каталог */
  .cat-head { padding: 24px 0 28px; }
  .cat-head h1 { font-size: 34px; line-height: 38px; }
  .crumbs { margin-bottom: 18px; }
  .cat { padding-top: 24px; }
  .f-count { font-size: 22px; line-height: 28px; }
  .empty { padding: 32px 20px; }
  .empty-t { font-size: 26px; line-height: 32px; }
  .empty-btns .btn { width: 100%; }
  .nf-grid { padding-top: 40px; }
  .nf-grid .btn { width: 100%; }
  .expo-in { flex-direction: column; align-items: stretch; }
  .expo-in p { font-size: 21px; line-height: 28px; }
  /* подвал */
  .site-footer { padding: 48px 0 24px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-col a { padding: 8px 0; }
  .foot-bottom { margin-top: 32px; }
  /* нижняя панель */
  .mbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mbar-def { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
  .mbar-def .btn { width: 100%; padding: 0 12px; }
  .mbar-calc { display: none; align-items: center; justify-content: space-between; gap: 12px; }
  .mbar.calc-mode .mbar-def { display: none; }
  .mbar.calc-mode .mbar-calc { display: flex; }
  .mbar-sum { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .mbar-sum b { font: 500 19px/1.2 var(--fd); color: var(--accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mbar-sum span { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .mbar-calc .btn { padding: 0 18px; }
}
@media (max-width: 380px) {
  .pchip { min-width: 108px; }
  .mbar-sum b { font-size: 17px; }
  .mbar-calc .btn { padding: 0 14px; }
}
/* 320–359: таблица цен за метр и нижняя панель каталога не выходят за край */
@media (max-width: 359px) {
  .price-table td { font-size: 14px; }
  .pt-name { font-size: 15px; }
  .price-table .num { padding-left: 8px; }
  .price-table thead th { letter-spacing: 0; }
  .mbar-def { grid-template-columns: auto minmax(0, 1fr); }
  .mbar-def .btn { padding: 0 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .rv { opacity: 1; transform: none; }
  .js .pb-dim { transform: none; }
  .js .dim .dl, .js .callout .c-line { transform: none; }
  .js .callout .c-line { transform: rotate(var(--ang, 0deg)); }
  .js .dim .de, .js .dim .dt, .js .dim .dim-label, .js .callout .dim-label, .js .callout .c-dot { opacity: 1; }
}
.nowrap { white-space: nowrap; }
