/* styles.css */
/* OKNA PLAST v13 «Архитектура» — система концепции C (12/c.html).
   Белый лист, Inter Tight 200 для капса, 300–500 для текста; графит #141414; один акцент — терракота #a8482a (только скидка/ключевая цифра);
   серый #a6a39d — вторая строка заголовков; линии #e3e1dc; без скруглений (кроме аватаров). */
:root {
  --bg: #ffffff; --ink: #141414; --tx: #383838; --mut: #6b6b6b; --gr: #a6a39d; --line: #e3e1dc; --soft: #f4f3f0;
  --acc: #a8482a; --ok: #2f8a50;
  --ff: 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --pad: clamp(16px, 2.6vw, 48px); --hh: 76px;
  --ez: cubic-bezier(.2, .6, .2, 1);
  --h2: clamp(34px, 3.75vw, 76px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--tx); font: 400 16px/1.55 var(--ff); overflow-x: clip; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: inherit; }
img { display: block; max-width: 100%; }
svg { flex: none; }
ul, ol { list-style: none; }
.cap { font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 8px; transform: translateY(-2px); }
.lnk { color: var(--ink); border-bottom: 1px solid currentColor; transition: color .2s; }
.lnk:hover { color: var(--acc); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 26px; background: var(--ink); color: #fff;
  font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; transition: background .3s, color .3s, gap .3s, box-shadow .3s; }
.btn:hover { background: #333; gap: 20px; }
.btn svg { width: 20px; height: 20px; }
.btn--sm { min-height: 48px; padding: 0 20px; }
.btn--w { width: 100%; }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--w2 { background: #fff; color: var(--ink); }
.btn--w2:hover { background: #e9e7e2; }
.btn--lw { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.btn--lw:hover { background: #fff; color: var(--ink); }
.sq { display: grid; place-items: center; width: 52px; height: 52px; background: var(--ink); color: #fff; transition: background .25s, opacity .25s; }
.sq svg { width: 20px; height: 20px; }
.sq[data-prev] svg, .sq[data-b1="-1"] svg { transform: scaleX(-1); }
.sq:hover { background: #3a3a3a; }
.sq:disabled { opacity: .25; cursor: default; }
.sq--l { width: 48px; height: 48px; background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, box-shadow .3s; }
.sq--l svg { transform: rotate(-45deg); transition: transform .4s var(--ez); }
.ctl { display: flex; align-items: center; gap: 4px; }
.ctl__n { margin-right: 18px; font-size: 14px; color: var(--mut); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.ctl__n b { font-weight: 400; color: var(--ink); }

/* ---------- reveal ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ez), transform 1.1s var(--ez); }
.rv.is-v { opacity: 1; transform: none; }
.js-off .rv { opacity: 1; transform: none; }

/* ---------- шапка ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid transparent; transition: border-color .3s; }
.hd.is-s { border-color: var(--line); }
.hd__in { height: var(--hh); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); transition: height .35s var(--ez); }
.hd.is-s .hd__in { height: 64px; }
.hd__l { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.burger { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--ink); }
.burger b { display: grid; gap: 7px; width: 30px; } .burger i { display: block; height: 1px; background: var(--ink); transition: width .3s; }
.burger i:last-child { width: 20px; } .burger:hover i:last-child { width: 30px; }
.nav { display: flex; gap: clamp(14px, 1.8vw, 32px); }
.nav a { color: var(--tx); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--ink); transition: right .35s var(--ez); }
.nav a:hover::after, .nav a.is-a::after { right: 0; }
.nav a.is-a { color: var(--ink); }
.logo { display: block; justify-self: center; }
.logo img { height: 38px; width: auto; }
.hd__r { justify-self: end; display: flex; align-items: center; gap: clamp(10px, 1.3vw, 22px); }
.hours { text-align: right; font-size: 13px; line-height: 1.35; color: var(--mut); }
.hours b { display: block; font-weight: 400; color: var(--tx); }
.hours i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; transform: translateY(-1px); }
.tel { font-size: 17px; color: var(--ink); letter-spacing: .02em; white-space: nowrap; }
.ib { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line); color: var(--ink); transition: background .25s, color .25s, border-color .25s; }
.ib:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.ib svg { width: 22px; height: 22px; }
.ib--tel { display: none; }

/* ---------- меню-каталог ---------- */
.menu { position: fixed; inset: 0; z-index: 80; background: #fff; display: grid; grid-template-rows: auto 1fr auto; padding: 0 var(--pad) 28px;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; overflow-y: auto; }
.menu.is-o { opacity: 1; visibility: visible; }
.menu__top { height: var(--hh); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.menu__top .tel { justify-self: end; }
.menu__x { display: flex; align-items: center; gap: 14px; min-height: 48px; color: var(--ink); justify-self: start; }
.menu__x b { position: relative; width: 26px; height: 26px; }
.menu__x b::before, .menu__x b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.menu__x b::after { transform: rotate(-45deg); }
.menu__body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 30vw); gap: clamp(24px, 4vw, 72px); padding: clamp(28px, 4.5vh, 56px) 0; min-height: 0; }
.menu__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 56px); align-content: start; }
.menu__h { display: flex; gap: 14px; color: var(--mut); margin: 0 0 14px; }
.menu__h span { color: var(--ink); }
.menu__c ul + .menu__h { margin-top: 36px; }
.menu__c li a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(17px, 1.3vw, 21px); font-weight: 300; color: var(--ink); transition: padding .35s var(--ez), color .2s; }
.menu__c li a:hover { padding-left: 10px; }
.menu__c li a small { color: var(--mut); font-size: 14px; font-weight: 400; white-space: nowrap; }
.menu__br { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 18px; font-weight: 300; color: var(--ink); }
.menu__br a { border-bottom: 1px solid transparent; transition: border-color .2s; } .menu__br a:hover { border-color: var(--ink); }
.menu__ph { align-self: start; position: sticky; top: 0; }
.menu__fr { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 260px); width: 100%; overflow: hidden; background: var(--soft); }
.menu__fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s; }
.menu__ph figcaption { padding-top: 12px; color: var(--mut); }
.menu__b { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mut); font-size: 14px; }
.menu__b .btn { margin-left: auto; }

/* ---------- 1. первый экран ---------- */
.hero { height: calc(100svh - var(--hh)); min-height: 560px; max-height: 1120px; display: flex; flex-direction: column; }
.hero__top { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px clamp(24px, 4vw, 80px); padding: clamp(18px, 3.6vh, 48px) var(--pad) clamp(18px, 3.2vh, 40px); }
.hero h1 { font-size: clamp(40px, min(5.6vw, 9.6vh), 120px); line-height: .98; font-weight: 200; letter-spacing: -.005em; text-transform: uppercase; color: var(--ink); }
.hero h1 span { color: var(--gr); }
.hero__side { width: min(420px, 31vw); display: grid; gap: 18px; padding-bottom: 6px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__cta .btn { flex: 1 1 auto; }
.hero__ph { position: relative; flex: 1; min-height: 260px; margin: 0 var(--pad); overflow: hidden; background: var(--soft); }
.hero__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: scale(1.07); animation: zoom 11s var(--ez) forwards; }
@keyframes zoom { to { transform: scale(1); } }
.facts { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; grid-template-columns: repeat(4, auto); background: #fff; padding: 22px clamp(20px, 2.6vw, 44px) clamp(14px, 2.4vh, 24px) 0; }
.facts li { padding: 0 clamp(18px, 2.4vw, 44px) 0 0; margin-right: clamp(18px, 2.4vw, 44px); border-right: 1px solid var(--line); }
.facts li:last-child { border: 0; margin: 0; padding-right: 0; }
.facts b { display: block; font-size: clamp(30px, min(3vw, 5.4vh), 58px); line-height: 1; font-weight: 200; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
.facts span { display: block; margin-top: 8px; font-size: 13px; line-height: 1.3; color: var(--mut); }
.hero__sale { position: absolute; right: 0; top: 0; z-index: 2; display: flex; align-items: center; gap: 14px; background: #fff; padding: 0 0 16px 18px; color: var(--ink); font-size: 14px; }
.hero__sale b { background: var(--acc); color: #fff; font-weight: 500; letter-spacing: .12em; padding: 9px 12px; font-size: 13px; }
.hero__sale svg { width: 18px; height: 18px; transition: transform .3s; }
.hero__sale:hover svg { transform: translateX(4px); }

/* ---------- общие секции ---------- */
.sec { padding: clamp(96px, 14vh, 170px) var(--pad) 0; }
.sec__h { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 400px); gap: 24px clamp(24px, 5vw, 96px); align-items: end; margin-bottom: clamp(36px, 6vh, 72px); }
.sec__h > p, .sec__aside p { color: var(--tx); max-width: 46ch; }
.sec__h--w { grid-template-columns: minmax(0, 1fr); }
.sec__h--w > p { max-width: 60ch; }
.sec__aside { display: grid; gap: 26px; justify-items: start; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--mut); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--mut); }
.sec h2, .offer h2 { font-size: var(--h2); line-height: 1; font-weight: 200; text-transform: uppercase; color: var(--ink); letter-spacing: -.005em; }
.sec h2 span { color: var(--gr); }
.prog { position: relative; height: 1px; background: var(--line); margin: 34px 0 0; }
.prog i { position: absolute; left: 0; top: -1px; height: 3px; width: 20%; background: var(--ink); transition: left .25s, width .25s; }

/* ---------- 2. цены ---------- */
.pr { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 80px); border-top: 1px solid var(--ink); }
.tabs { display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.tab { position: relative; padding: 22px 0 18px; margin-right: 40px; color: var(--mut); min-height: 48px; }
.tab sup { font-size: 10px; margin-left: 4px; color: var(--gr); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ez); }
.tab.is-a { color: var(--ink); } .tab.is-a::after { transform: scaleX(1); } .tab:hover { color: var(--ink); }
.promo { margin-left: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--mut); }
.promo b { background: var(--acc); color: #fff; font-weight: 500; letter-spacing: .12em; padding: 7px 11px; font-size: 12px; }
.pane[hidden] { display: none; }
.pane { animation: fade .6s var(--ez); }
@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto 48px; align-items: center; gap: 0 20px; padding: 24px 0; border-bottom: 1px solid var(--line); cursor: pointer; position: relative; transition: grid-template-columns .45s var(--ez); }
.row::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--ink); transition: width .6s var(--ez); }
.row.is-a::before { width: 100%; }
.row__n { font-size: 13px; color: var(--mut); letter-spacing: .1em; align-self: start; padding-top: 10px; }
.row__t { font-size: clamp(22px, 2vw, 36px); line-height: 1.1; font-weight: 300; color: var(--ink); transition: transform .45s var(--ez); }
.row:hover .row__t, .row.is-a .row__t { transform: translateX(8px); }
.row__t small { display: block; margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--mut); letter-spacing: .01em; }
.row__p { text-align: right; }
.row__p b { display: block; font-size: clamp(30px, 3vw, 56px); line-height: 1; font-weight: 200; color: var(--ink); white-space: nowrap; letter-spacing: -.01em; }
.row__p s { display: inline-block; margin-top: 8px; font-size: 14px; color: var(--mut); }
.row__p s.m2 { text-decoration: none; }
.row__go { display: grid; place-items: center; width: 48px; height: 48px; background: var(--ink); color: #fff; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .45s var(--ez); overflow: hidden; }
.row__go svg { width: 18px; height: 18px; }
.row.is-a .row__go { opacity: 1; transform: none; }
.rows--p .row { grid-template-columns: 52px minmax(0, .9fr) minmax(0, 1.1fr) auto; }
.rows--p .row::after { content: none; }
.spec { display: grid; grid-template-columns: repeat(3, auto); gap: 22px; justify-content: start; font-size: 17px; color: var(--ink); font-weight: 300; }
.spec em { display: block; font-style: normal; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); font-weight: 500; margin-bottom: 4px; }
.all { border-bottom: 1px solid var(--line); }
.all summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; min-height: 64px; color: var(--ink); }
.all summary::-webkit-details-marker { display: none; }
.all summary i { position: relative; width: 16px; height: 16px; }
.all summary i::before, .all summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .3s; }
.all summary i::after { transform: rotate(90deg); } .all[open] summary i::after { transform: rotate(0); }
.all__t { overflow-x: auto; }
.all table { width: 100%; border-collapse: collapse; font-size: 14px; }
.all th, .all td { text-align: left; padding: 11px 12px 11px 0; border-top: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.all thead th { color: var(--ink); font-weight: 500; letter-spacing: .06em; border-top: 0; }
.all tbody th { color: var(--mut); }
.all__n { padding: 16px 0 20px; font-size: 14px; color: var(--mut); }
.all__n a { color: var(--ink); border-bottom: 1px solid; }
.pr__foot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 32px 0 0; }
.pr__foot div { border-left: 1px solid var(--line); padding-left: 16px; }
.pr__foot b { display: block; font-size: 22px; font-weight: 300; color: var(--ink); line-height: 1.15; }
.pr__foot span { font-size: 14px; color: var(--mut); }
.pr__cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 34px; }
.pr__cta small { color: var(--mut); font-size: 14px; margin-left: 10px; max-width: 34ch; line-height: 1.4; }
.pr__ph { position: sticky; top: 96px; align-self: start; }
.pr__fr { position: relative; aspect-ratio: 4 / 5; max-height: calc(100vh - 150px); width: 100%; overflow: hidden; background: var(--soft); }
.pr__fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s ease, transform 1.6s var(--ez); }
.pr__fr img.is-c { object-fit: contain; background: #f6f6f6; padding: 8%; }
.pr__fr img.is-a { opacity: 1; transform: scale(1); }
.pr__tag { position: absolute; left: 0; top: 0; z-index: 2; background: #fff; padding: 0 18px 12px 0; color: var(--ink); }
.pr__cap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; color: var(--mut); font-size: 14px; }
.pr__cap b { font-weight: 400; color: var(--ink); }

/* ---------- ленты (виды окон, команда, блог) ---------- */
.rail { display: grid; grid-auto-flow: column; gap: clamp(12px, 1.4vw, 24px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--pad); scroll-padding: 0 var(--pad); overscroll-behavior-x: contain; margin: 0 calc(-1 * var(--pad)); }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--types { grid-auto-columns: clamp(260px, 23.5vw, 470px); }
.tc { display: grid; grid-template-rows: auto auto 1fr; color: var(--ink); }
.tc__ph { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.tc__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ez); }
.tc:hover .tc__ph img { transform: scale(1.05); }
.tc__lab { position: absolute; left: 0; top: 0; background: #fff; padding: 0 22px 14px 0; display: flex; align-items: baseline; gap: 12px; font-size: clamp(18px, 1.4vw, 24px); font-weight: 300; line-height: 1.15; max-width: 88%; }
.tc__lab i { font-style: normal; font-size: 12px; color: var(--mut); letter-spacing: .12em; }
.tc__d { padding: 18px 0 0; font-size: 15px; color: var(--tx); min-height: 3.2em; max-width: 34ch; }
.tc__f { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding-top: 18px; margin-top: 18px; border-top: 1px solid var(--line); align-self: end; }
.tc__p b { display: block; font-size: clamp(26px, 2.2vw, 40px); font-weight: 200; line-height: 1; white-space: nowrap; letter-spacing: -.01em; }
.tc__p b.tc__q { font-size: clamp(20px, 1.5vw, 26px); font-weight: 300; padding-top: 8px; }
.tc__p s { display: inline-block; margin-top: 6px; font-size: 14px; color: var(--mut); }
.tc__p s.m2 { text-decoration: none; }
.tc:hover .sq--l { background: var(--ink); color: #fff; box-shadow: none; }
.tc:hover .sq--l svg { transform: rotate(0); }

/* ---------- 4. преимущества C3 ---------- */
.c3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 110px); }
.c3__st { position: relative; }
.c3__fr { position: sticky; top: 88px; height: calc(100vh - 112px); max-height: 980px; overflow: hidden; background: var(--soft); }
.c3__fr img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 2.4s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.c3__fr img.is-a { opacity: 1; transform: scale(1); z-index: 1; }
.c3__fr img.is-o { opacity: 1; transform: scale(1); }
.c3__plate { position: absolute; left: 0; bottom: 0; z-index: 3; background: #fff; padding: 20px 26px 0 0; display: grid; gap: 12px; min-width: 260px; }
.c3__plate .cap { color: var(--ink); font-variant-numeric: tabular-nums; }
.c3__bar { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.c3__bar i { height: 2px; background: var(--line); transition: background .4s; }
.c3__bar i.is-a { background: var(--ink); }
.c3__h { padding-bottom: clamp(40px, 8vh, 100px); }
.c3__h p:last-child { margin-top: 26px; max-width: 44ch; }
.c3__it { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); padding: 48px 0; opacity: .22; transition: opacity .6s; }
.c3__it.is-a { opacity: 1; }
.c3__q { font-size: clamp(22px, 2vw, 34px); font-weight: 300; line-height: 1.2; color: var(--mut); max-width: 22ch; }
.c3__n { font-size: clamp(96px, 11vw, 210px); font-weight: 200; line-height: .9; letter-spacing: -.03em; color: var(--ink); margin: 28px 0 22px; white-space: nowrap; }
.c3__it h3 { font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 10px; }
.c3__it > p:last-child { max-width: 46ch; }
.c3__end { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; padding: 40px 0 0; border-top: 1px solid var(--ink); }
.c3__end span { color: var(--mut); font-size: 14px; }

/* ---------- 5. калькулятор ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: clamp(28px, 4vw, 80px); border-top: 1px solid var(--ink); }
.cr { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.cr__k { color: var(--mut); display: flex; gap: 12px; padding-top: 14px; }
.cr__k i { font-style: normal; color: var(--ink); }
.cr > :not(.cr__k) { grid-column: 2; }
.cr__n { font-size: 14px; color: var(--mut); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { min-height: 48px; padding: 0 18px; box-shadow: inset 0 0 0 1px var(--line); color: var(--tx); font-size: 15px; transition: box-shadow .25s, background .25s, color .25s; }
.seg button:hover { box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); }
.seg button.is-a { background: var(--ink); color: #fff; box-shadow: none; }
.seg--type { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.seg--type button { display: grid; justify-items: center; gap: 10px; padding: 16px 6px 12px; font-size: 13px; text-align: center; }
.ico svg { display: block; height: 40px; width: auto; }
.ico svg * { fill: none; stroke: currentColor; stroke-width: 1.3; }
.dims { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.dim__l { font-size: 14px; color: var(--mut); }
.dim__v { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.dim__v output { font-size: clamp(34px, 3vw, 52px); font-weight: 200; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; }
.dim__b { width: 48px; height: 48px; box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; color: var(--ink); display: grid; place-items: center; transition: box-shadow .2s; }
.dim__b:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dims.is-off { opacity: .35; pointer-events: none; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 1px; background: linear-gradient(var(--ink), var(--ink)) 0 / var(--f, 30%) 100% no-repeat, var(--line); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: var(--ink); margin-top: -8.5px; border: 0; }
input[type=range]::-moz-range-track { height: 1px; background: var(--line); }
input[type=range]::-moz-range-progress { height: 1px; background: var(--ink); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; background: var(--ink); border: 0; border-radius: 0; }
.tgl { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; margin-top: 10px; color: var(--tx); font-size: 15px; }
.tgl i { width: 38px; height: 20px; box-shadow: inset 0 0 0 1px var(--ink); position: relative; transition: background .25s; }
.tgl i::after { content: ""; position: absolute; left: 3px; top: 3px; width: 14px; height: 14px; background: var(--ink); transition: transform .3s var(--ez), background .25s; }
.tgl[aria-pressed=true] i { background: var(--ink); } .tgl[aria-pressed=true] i::after { transform: translateX(18px); background: #fff; }
.qty { display: flex; align-items: center; gap: 0; }
.qty button { display: grid; place-items: center; width: 52px; height: 52px; box-shadow: inset 0 0 0 1px var(--line); font-size: 20px; color: var(--ink); }
.qty button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.qty output { width: 72px; text-align: center; font-size: 32px; font-weight: 200; color: var(--ink); }
.qty span { margin-left: 18px; color: var(--mut); font-size: 14px; }
.calc__r { position: sticky; top: 88px; align-self: start; display: grid; gap: 0; }
.cprev { position: relative; background: var(--soft); aspect-ratio: 4 / 3; max-height: 40vh; width: 100%; display: grid; place-items: center; overflow: hidden; }
.cprev svg { width: 82%; height: 82%; }
.cprev__s { position: absolute; right: 0; bottom: 0; background: #fff; padding: 12px 0 0 18px; color: var(--ink); }
.csum { padding-top: 26px; display: grid; gap: 10px; }
.csum__k { color: var(--mut); }
.csum__v { font-size: clamp(52px, 5vw, 96px); font-weight: 200; line-height: .95; color: var(--ink); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.csum__i { color: var(--tx); }
.csum__i b { font-weight: 500; color: var(--ink); }
.csum__l { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.csum__l li { font-size: 13px; padding: 6px 10px; background: var(--soft); color: var(--tx); }
.csum__n { font-size: 13px; color: var(--mut); line-height: 1.45; margin-top: 4px; }

/* ---------- 6. панорама + кейсы ---------- */
.pano { position: relative; margin: clamp(96px, 14vh, 170px) var(--pad) 0; height: min(78vh, 56vw); min-height: 420px; overflow: hidden; background: var(--soft); }
.pano__fr { position: absolute; inset: 0; }
.pano__fr img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; will-change: transform; }
.pano__pl { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; padding: 28px clamp(28px, 4vw, 64px) 0 0; display: grid; grid-template-columns: auto minmax(0, 24ch); gap: 28px; align-items: end; }
.pano__n { font-size: clamp(90px, 11vw, 220px); font-weight: 200; line-height: .8; letter-spacing: -.035em; color: var(--ink); white-space: nowrap; }
.pano__n span { color: var(--acc); }
.pano__t { font-size: clamp(17px, 1.3vw, 22px); font-weight: 300; color: var(--ink); line-height: 1.3; padding-bottom: 4px; }
.sec--cases { padding-top: clamp(80px, 11vh, 140px); }
.b1 { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 0 clamp(28px, 4vw, 80px); border-top: 1px solid var(--ink); padding-top: clamp(20px, 3vh, 32px); }
.b1__ph { position: relative; aspect-ratio: 3 / 2; max-height: 74vh; width: 100%; overflow: hidden; background: var(--soft); }
.b1__ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .9s ease, transform 1.8s var(--ez); }
.b1__ph > img.is-a { opacity: 1; transform: scale(1); }
.b1__pl { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; display: grid; grid-template-columns: repeat(3, auto); padding: 22px 32px 0 0; }
.b1__pl li { padding-right: clamp(18px, 2vw, 36px); margin-right: clamp(18px, 2vw, 36px); border-right: 1px solid var(--line); }
.b1__pl li:last-child { border: 0; margin: 0; padding: 0; }
.b1__pl small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.b1__pl b { display: block; font-size: clamp(26px, 2.4vw, 44px); font-weight: 200; color: var(--ink); line-height: 1.05; white-space: nowrap; margin-top: 6px; }
.b1__r { display: flex; flex-direction: column; }
.b1__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.b1__no { color: var(--mut); } .b1__no b { color: var(--ink); font-weight: 500; }
.b1__body { display: flex; flex-direction: column; flex: 1; padding-top: 26px; }
.b1__body.is-in > * { animation: fade .7s var(--ez) both; }
.b1__body.is-in > *:nth-child(2) { animation-delay: .06s; } .b1__body.is-in > *:nth-child(3) { animation-delay: .12s; } .b1__body.is-in > *:nth-child(4) { animation-delay: .18s; }
.b1__k { color: var(--mut); margin-bottom: 14px; }
.b1__body h3 { font-size: clamp(26px, 2.4vw, 44px); font-weight: 300; line-height: 1.08; color: var(--ink); letter-spacing: -.01em; }
.b1__st { margin: 26px 0 0; }
.b1__st div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.b1__st dt { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); padding-top: 3px; }
.b1__st dd { color: var(--tx); font-size: 15px; }
.b1__st div:last-child dd { color: var(--ink); }
.b1__f { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; border-top: 1px solid var(--line); }
.b1__p b { display: block; font-size: clamp(36px, 3.4vw, 64px); font-weight: 200; line-height: 1; color: var(--ink); letter-spacing: -.015em; white-space: nowrap; }
.b1__p s { font-size: 14px; color: var(--mut); }
.b1__th { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 20px); margin-top: clamp(24px, 4vh, 40px); }
.b1__th button { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 14px; padding-top: 16px; border-top: 1px solid var(--line); text-align: left; color: var(--mut); transition: color .3s; }
.b1__th button::before { content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--ink); transition: width .6s var(--ez); }
.b1__th button.is-a::before { width: 100%; }
.b1__th button.is-a, .b1__th button:hover { color: var(--ink); }
.b1__th img { grid-row: 1 / 3; width: 96px; height: 64px; object-fit: cover; filter: saturate(.85); opacity: .75; transition: opacity .3s; }
.b1__th button.is-a img, .b1__th button:hover img { opacity: 1; }
.b1__th span { font-size: 14px; line-height: 1.3; }
.b1__th span i { font-style: normal; display: block; font-size: 11px; letter-spacing: .14em; color: var(--mut); margin-bottom: 3px; }
.b1__th b { font-size: 14px; font-weight: 500; }

/* ---------- 7. профили ---------- */
.brw { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 110px); }
.brw__l { position: sticky; top: 100px; align-self: start; display: grid; gap: 0; justify-items: start; }
.brw__l h2 { margin-bottom: 26px; }
.brw__l > p { max-width: 40ch; }
.brw__ph { margin: 32px 0 30px; width: 100%; max-width: 420px; }
.brw__ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #f6f6f6; padding: 6%; }
.brw__ph figcaption { font-size: 13px; color: var(--mut); padding-top: 10px; }
.brl { border-top: 1px solid var(--ink); }
.brr { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 30ch); align-items: center; gap: 8px 24px; padding: clamp(18px, 2.4vh, 28px) 0; border-bottom: 1px solid var(--line); isolation: isolate; }
.brr::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--pad)) 0 -16px; background: var(--soft); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ez); }
.brr:hover::before { transform: scaleX(1); }
.brr__n { font-size: 13px; color: var(--mut); letter-spacing: .1em; }
.brr b { font-size: clamp(38px, 4.6vw, 96px); font-weight: 200; text-transform: uppercase; line-height: .95; color: var(--ink); letter-spacing: -.02em; transition: transform .6s var(--ez); white-space: nowrap; }
.brr:hover b { transform: translateX(14px); }
.brr__c { display: block; color: var(--mut); margin-bottom: 6px; }
.brr p { font-size: 14px; color: var(--tx); line-height: 1.45; }

/* ---------- 8. этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ez); }
.steps.is-v::before { transform: scaleX(1); }
.stp { padding: 26px clamp(14px, 1.6vw, 28px) 0 0; border-right: 1px solid var(--line); margin-right: clamp(14px, 1.6vw, 28px); opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ez), transform 1s var(--ez); }
.stp:last-child { border: 0; margin: 0; }
.steps.is-v .stp { opacity: 1; transform: none; }
.steps.is-v .stp:nth-child(2) { transition-delay: .15s; } .steps.is-v .stp:nth-child(3) { transition-delay: .3s; } .steps.is-v .stp:nth-child(4) { transition-delay: .45s; } .steps.is-v .stp:nth-child(5) { transition-delay: .6s; }
.stp__t { display: block; color: var(--mut); min-height: 2.6em; }
.stp__n { display: block; font-size: clamp(72px, 8vw, 150px); font-weight: 200; line-height: .85; color: var(--ink); letter-spacing: -.04em; margin: 18px 0 26px; }
.stp--r .stp__n { color: var(--acc); }
.stp h3 { font-size: clamp(20px, 1.6vw, 26px); font-weight: 300; color: var(--ink); line-height: 1.15; margin-bottom: 10px; }
.stp p { font-size: 15px; max-width: 30ch; }
.stb { position: relative; margin-top: clamp(56px, 8vh, 96px); height: min(64vh, 44vw); min-height: 380px; overflow: hidden; background: var(--soft); }
.stb__fr { position: absolute; inset: 0; }
.stb__fr img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; object-fit: cover; object-position: 50% 45%; }
.stb__pl { position: absolute; right: 0; bottom: 0; z-index: 2; width: min(560px, 46%); background: #fff; padding: clamp(24px, 3vw, 44px) 0 0 clamp(24px, 3vw, 44px); display: grid; gap: 16px; }
.stb__pl .cap { color: var(--mut); }
.stb__t { font-size: clamp(22px, 2vw, 34px); font-weight: 300; line-height: 1.15; color: var(--ink); }
.stb__b { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }

/* ---------- 9. команда ---------- */
.rail--team { grid-auto-columns: clamp(220px, 19vw, 360px); }
.pc__ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.pc__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ez); }
.pc:hover .pc__ph img { transform: scale(1.04); }
.pc__x { display: flex; align-items: baseline; gap: 10px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); color: var(--mut); font-size: 14px; }
.pc__x b { font-size: clamp(40px, 3.4vw, 60px); font-weight: 200; line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.pc h3 { font-size: clamp(18px, 1.35vw, 22px); font-weight: 400; color: var(--ink); margin-top: 14px; line-height: 1.2; }
.pc__r { font-size: 14px; color: var(--tx); margin-top: 4px; min-height: 1.4em; }
.pc__m { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--mut); }
.pc__m svg { width: 16px; height: 16px; }

/* ---------- 10. оффер (тёмная) ---------- */
.offer { margin: clamp(96px, 14vh, 170px) var(--pad) 0; background: var(--ink); color: #cfccc6; }
.offer__in { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); gap: clamp(32px, 5vw, 100px); padding: clamp(56px, 9vh, 110px) clamp(28px, 4vw, 72px); align-items: center; }
.offer .eyebrow { color: #a8a59f; } .offer .eyebrow::before { background: #a8a59f; }
.offer h2 { color: #fff; font-size: clamp(40px, 4.2vw, 84px); }
.offer h2 span { color: #8d8a84; }
.offer__s { margin-top: 26px; max-width: 48ch; color: #cfccc6; }
.offer__f { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; margin: clamp(36px, 6vh, 64px) 0; }
.offer__f li { padding-right: clamp(20px, 3vw, 56px); margin-right: clamp(20px, 3vw, 56px); border-right: 1px solid #3a3a3a; }
.offer__f li:last-child { border: 0; }
.offer__f b { display: block; font-size: clamp(48px, 5vw, 96px); font-weight: 200; line-height: .9; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.offer__f b.acc { color: #e0896b; }
.offer__f span { display: block; margin-top: 12px; font-size: 14px; color: #a8a59f; line-height: 1.35; }
.offer__b { display: flex; flex-wrap: wrap; gap: 10px; }
.offer__n { margin-top: 18px; font-size: 14px; color: #a8a59f; }
.card { position: relative; margin-bottom: 28px; }
.card__ph { aspect-ratio: 4 / 5; overflow: hidden; background: #222; max-height: 72vh; }
.card__ph img { width: 100%; height: 100%; object-fit: cover; }
.card__pl { position: absolute; left: -28px; bottom: -28px; right: 16%; background: #fff; color: var(--tx); padding: 26px 28px 20px; display: grid; gap: 10px; }
.card__q { font-size: clamp(17px, 1.3vw, 21px); font-weight: 300; line-height: 1.3; color: var(--ink); padding-left: 0; }
.card__n { font-size: 13px; color: var(--mut); } .card__n b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); }
.card__t { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 17px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 10px; }
.card__t svg { width: 18px; height: 18px; }

/* ---------- 11. статья ---------- */
.art { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 760px) minmax(260px, 320px); justify-content: space-between; gap: clamp(28px, 4vw, 72px); }
.art__toc, .art__side { position: sticky; top: 96px; align-self: start; }
.art__k { color: var(--mut); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.toc a { display: grid; grid-template-columns: 28px 1fr; gap: 6px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.35; color: var(--tx); transition: color .2s, padding .3s var(--ez); }
.toc a i { font-style: normal; font-size: 12px; color: var(--mut); padding-top: 1px; }
.toc a:hover, .toc a.is-a { color: var(--ink); padding-left: 6px; }
.toc a.is-a i { color: var(--ink); }
.art__m h2 { font-size: clamp(30px, 3vw, 56px); }
.by { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.by img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.by b { display: block; font-weight: 500; color: var(--ink); } .by span { font-size: 14px; color: var(--mut); }
.by__d { font-size: 13px; color: var(--mut); text-align: right; line-height: 1.5; }
.art__fig { margin: 30px 0 34px; }
.art__fig img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.art__fig figcaption { font-size: 13px; color: var(--mut); padding-top: 10px; }
.seo { position: relative; color: var(--tx); font-size: 17px; line-height: 1.7; overflow: hidden; transition: max-height .8s var(--ez); }
.seo.is-cl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.seo p { margin: 0 0 1.1em; }
.seo h3 { font-size: clamp(24px, 2vw, 34px); font-weight: 300; color: var(--ink); line-height: 1.15; margin: 1.6em 0 .7em; scroll-margin-top: 96px; }
.seo h4 { font-size: 19px; font-weight: 500; color: var(--ink); margin: 1.4em 0 .5em; }
.seo table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0 1.4em; }
.seo th, .seo td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.seo th { color: var(--ink); font-weight: 500; }
.seo ul, .seo ol { margin: 0 0 1.1em 1.2em; list-style: disc; } .seo ol { list-style: decimal; }
.seo li { margin: .3em 0; }
.seo a { color: var(--ink); border-bottom: 1px solid; }
.more { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; box-shadow: inset 0 0 0 1px var(--ink); color: var(--ink); margin-top: 8px; transition: background .3s, color .3s; }
.more svg { width: 18px; height: 18px; transform: rotate(90deg); }
.more:hover { background: var(--ink); color: #fff; }
.more[aria-expanded=true] svg { transform: rotate(-90deg); }
.ex { border-top: 1px solid var(--ink); padding-top: 22px; display: grid; gap: 14px; }
.ex__a { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; }
.ex__ava { position: relative; width: 64px; height: 64px; }
.ex__ava img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ex__ava i { position: absolute; right: 2px; bottom: 2px; width: 13px; height: 13px; border-radius: 50%; background: #3cb164; box-shadow: 0 0 0 3px #fff; }
.ex__a b { display: block; color: var(--ink); font-weight: 500; } .ex__a span { font-size: 13px; color: var(--mut); }
.ex__t { font-size: 22px; font-weight: 300; line-height: 1.2; color: var(--ink); }
.ex__s { font-size: 14px; color: var(--mut); }

/* ---------- 12. FAQ ---------- */
.faqw { display: grid; grid-template-columns: minmax(300px, .85fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 110px); }
.faqw__l { position: sticky; top: 96px; align-self: start; }
.faqw__ph { position: relative; max-width: 560px; }
.faqw__ph img { width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; max-height: 52vh; }
.faqw__pl { position: absolute; right: 0; bottom: 0; width: 78%; background: #fff; padding: 22px 0 0 22px; display: grid; gap: 14px; }
.faqw__pl p { font-size: 17px; font-weight: 300; color: var(--ink); line-height: 1.3; }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 52px minmax(0, 1fr) 24px; gap: 12px; align-items: center; padding: 24px 0; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { font-style: normal; font-size: 13px; color: var(--mut); letter-spacing: .1em; }
.faq summary span { font-size: clamp(19px, 1.6vw, 27px); font-weight: 300; color: var(--ink); line-height: 1.2; transition: transform .45s var(--ez); }
.faq summary:hover span { transform: translateX(8px); }
.faq summary b { position: relative; width: 22px; height: 22px; }
.faq summary b::before, .faq summary b::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform .4s var(--ez); }
.faq summary b::after { transform: rotate(90deg); }
.faq details[open] summary b::after { transform: rotate(0); }
.faq details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ez); }
.faq details.is-o > div { grid-template-rows: 1fr; }
.faq details > div > p { overflow: hidden; padding: 0 40px 0 64px; max-width: 70ch; }
.faq details.is-o > div > p { padding-bottom: 26px; }

/* ---------- 13. отзывы ---------- */
.score { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 6px 18px; align-items: end; }
.score b { grid-row: 1 / 3; font-size: clamp(90px, 9vw, 170px); font-weight: 200; line-height: .8; color: var(--ink); letter-spacing: -.04em; }
.stars { display: flex; gap: 2px; color: var(--ink); } .stars svg { width: 18px; height: 18px; }
.score small { font-size: 13px; color: var(--mut); line-height: 1.35; }
.leave { position: relative; }
.leave__l { position: absolute; left: 0; top: calc(100% + 6px); z-index: 10; min-width: 300px; background: #fff; box-shadow: 0 0 0 1px var(--ink); animation: fade .35s var(--ez); }
.leave__l a { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; padding: 0 18px; min-height: 56px; border-bottom: 1px solid var(--line); color: var(--ink); transition: background .2s; }
.leave__l li:last-child a { border: 0; }
.leave__l a:hover { background: var(--soft); }
.leave__l img, .leave__l svg { width: 24px; height: 24px; object-fit: contain; }
.leave__l b { font-weight: 300; font-size: 22px; } .leave__l b.m { font-size: 13px; color: var(--mut); font-weight: 400; }
.rgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); border-top: 1px solid var(--ink); padding-top: clamp(12px, 1.4vw, 24px); }
.rc { display: flex; flex-direction: column; background: var(--soft); padding: clamp(20px, 1.8vw, 30px); min-height: 100%; }
.rc.is-h { display: none; }
.rc figcaption { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.ava { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--ink); font-weight: 300; font-size: 18px; }
.rc figcaption b { font-weight: 500; color: var(--ink); font-size: 15px; } .rc figcaption small { font-size: 13px; color: var(--mut); }
.rc__st { margin: 16px 0 10px; color: var(--ink); letter-spacing: .12em; font-size: 14px; }
.rc blockquote { font-size: 15px; line-height: 1.55; color: var(--tx); display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.rc blockquote p + p { margin-top: .6em; }
.rc blockquote.is-o { display: block; -webkit-line-clamp: unset; }
.rc__more { align-self: start; margin-top: 8px; min-height: 32px; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid; }
.rc__ph { display: flex; gap: 8px; margin-top: 16px; }
.rc__ph button { width: 76px; height: 76px; overflow: hidden; cursor: zoom-in; }
.rc__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ez); }
.rc__ph button:hover img { transform: scale(1.08); }
.rc__f { margin-top: auto; padding-top: 18px; display: flex; justify-content: space-between; align-items: center; }
.rc__ph + .rc__f, blockquote + .rc__f { margin-top: auto; }
.like { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 12px; background: #fff; color: var(--ink); font-size: 14px; transition: background .25s, color .25s; }
.like svg { width: 18px; height: 18px; transition: transform .35s var(--ez); }
.like[aria-pressed=true] { background: var(--ink); color: #fff; } .like[aria-pressed=true] svg { transform: scale(1.15); } .like[aria-pressed=true] svg path { fill: currentColor; }
.rc__src { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.rmore { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: clamp(28px, 4vh, 44px); }
.rmore .cap { color: var(--mut); }
.rmore [hidden] { display: none; }

/* ---------- 14. контакты ---------- */
.ct { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 100px); align-items: stretch; }
.ct__a { font-size: clamp(36px, 3.6vw, 66px); font-weight: 200; color: var(--ink); line-height: 1; margin: clamp(28px, 4vh, 44px) 0 0; text-transform: uppercase; }
.ct__a small { display: block; font-size: 16px; color: var(--mut); text-transform: none; font-weight: 400; margin-top: 12px; }
.ct__d { margin: 32px 0; border-top: 1px solid var(--ink); }
.ct__d div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ct__d dt { color: var(--mut); padding-top: 3px; } .ct__d dd { color: var(--ink); }
.ct__d a { border-bottom: 1px solid transparent; transition: border-color .2s; } .ct__d a:hover { border-color: currentColor; }
.ct__m { display: flex; flex-wrap: wrap; gap: 8px; }
.ct__map { position: relative; min-height: 560px; background: var(--soft); overflow: hidden; }
.ct__img { position: absolute; inset: 0; display: block; }
.ct__img img { width: 100%; height: 100%; object-fit: none; object-position: 50% 50%; filter: grayscale(1) contrast(1.05) brightness(1.03); transition: filter .4s; }
.ct__img:hover img { filter: grayscale(.6) contrast(1.05); }
.ct__pin { position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 8px color-mix(in srgb, var(--acc) 22%, transparent); }
.ct__osm { position: absolute; right: 8px; bottom: 6px; font-size: 11px; color: #555; background: rgba(255,255,255,.85); padding: 1px 6px; }
.ct__pl { position: absolute; left: 0; bottom: 0; background: #fff; padding: 16px 24px 0 0; display: grid; gap: 2px; }
.ct__pl b { font-weight: 500; letter-spacing: .14em; color: var(--ink); font-size: 13px; } .ct__pl span { font-size: 14px; color: var(--mut); }

/* ---------- 15. блог ---------- */
.rail--blog { grid-auto-columns: clamp(260px, 23vw, 440px); }
.bc { display: flex; flex-direction: column; color: var(--ink); }
.bc__ph { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.bc__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ez); }
.bc:hover .bc__ph img { transform: scale(1.05); }
.bc__ch { position: absolute; left: 0; top: 0; background: #fff; padding: 0 16px 10px 0; color: var(--ink); }
.bc__t { font-size: clamp(19px, 1.45vw, 25px); font-weight: 300; line-height: 1.2; margin-top: 18px; transition: color .2s; }
.bc:hover .bc__t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.bc__x { font-size: 14px; color: var(--tx); margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bc__m { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--mut); border-top: 1px solid var(--line); margin-top: 16px; }
.lnk2 { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); border-bottom: 1px solid var(--ink); }
.lnk2 svg { width: 18px; height: 18px; transition: transform .3s; } .lnk2:hover svg { transform: translateX(4px); }

/* ---------- подвал ---------- */
.ft { margin: clamp(96px, 14vh, 170px) var(--pad) var(--pad); background: var(--soft); padding: clamp(48px, 7vh, 80px) clamp(24px, 3.4vw, 60px) 28px; overflow: hidden; }
.ft__top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px; }
.ft__c { display: grid; align-content: start; gap: 9px; font-size: 15px; }
.ft__c .cap { color: var(--mut); margin-bottom: 8px; }
.ft__c a { color: var(--tx); transition: color .2s; justify-self: start; } .ft__c a:hover { color: var(--ink); }
.ft__k span { color: var(--tx); }
.ft__tel { font-size: 28px; font-weight: 300; color: var(--ink) !important; }
.ft__k .btn { justify-self: start; margin-top: 10px; color: #fff; }
.ft__k .btn:hover { color: #fff; }
.ft__pl { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 48px; padding: 20px 0; border-top: 1px solid #d9d6cf; border-bottom: 1px solid #d9d6cf; font-size: 14px; }
.ft__pl .cap { color: var(--mut); }
.ft__pl a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.ft__pl img, .ft__pl svg { width: 22px; height: 22px; object-fit: contain; }
.ft__soc { margin-left: auto; display: flex; gap: 24px; }
.ft__wm { font-size: 15.6vw; font-weight: 200; line-height: .8; letter-spacing: -.04em; color: var(--ink); white-space: nowrap; margin: clamp(32px, 5vh, 56px) 0 clamp(20px, 3vh, 32px) -0.6vw; }
.ft__bot { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 13px; color: var(--mut); }
.ft__bot a:hover { color: var(--ink); }
.ft__bot span:first-child { margin-right: auto; }

/* ---------- лайтбокс ---------- */
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(20, 20, 20, .92); display: grid; place-items: center; padding: 5vh 5vw; animation: fade .3s; }
.lb[hidden] { display: none; }
.lb img { max-width: 100%; max-height: 90vh; object-fit: contain; }
.lb__x { position: absolute; right: 20px; top: 20px; width: 52px; height: 52px; background: #fff; }
.lb__x b { position: absolute; inset: 0; }
.lb__x b::before, .lb__x b::after { content: ""; position: absolute; left: 14px; right: 14px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.lb__x b::after { transform: rotate(-45deg); }

/* ---------- адаптив: десктоп 1280–2560 базово, ниже — без поломок ---------- */
@media (min-width: 1900px) { :root { --pad: 56px; } body { font-size: 17px; } }
@media (max-width: 1440px) { .hours { display: none; } }
@media (max-width: 1200px) {
  .nav { display: none; }
  .art { grid-template-columns: minmax(0, 1fr) 280px; } .art__toc { display: none; }
  .brr { grid-template-columns: 40px minmax(0, 1fr); } .brr p { grid-column: 2 / -1; }
  .seg--type { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hero { height: auto; max-height: none; }
  .hero__top { grid-template-columns: 1fr; } .hero__side { width: 100%; }
  .hero__ph { flex: none; aspect-ratio: 4 / 5; overflow: visible; margin-bottom: 220px; }
  .hero__ph > img { overflow: hidden; }
  .facts { top: 100%; bottom: auto; width: 100%; grid-template-columns: repeat(2, 1fr); gap: 18px 0; padding: 22px 0 0; }
  .facts li:nth-child(2n) { border: 0; margin: 0; }
  .sec__h, .pr, .c3, .calc, .b1, .brw, .faqw, .ct, .offer__in, .art { grid-template-columns: minmax(0, 1fr); }
  .pr__ph, .calc__r, .brw__l, .faqw__l, .art__side { position: relative; top: 0; }
  .pr__ph { order: -1; } .pr__fr { aspect-ratio: 16 / 11; }
  .c3__fr { position: relative; top: 0; height: 60vh; } .c3__st { position: sticky; top: 64px; z-index: 2; }
  .c3__it { min-height: 0; }
  .cr { grid-template-columns: 1fr; } .cr > :not(.cr__k) { grid-column: 1; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .stb__pl { width: 100%; position: relative; } .stb { height: auto; } .stb__fr { position: relative; height: 50vh; }
  .b1__th { grid-template-columns: repeat(5, 70vw); overflow-x: auto; }
  .rgrid { grid-template-columns: 1fr 1fr; }
  .menu__body { grid-template-columns: 1fr; } .menu__ph { display: none; } .menu__g { grid-template-columns: 1fr 1fr; }
  .ft__top { grid-template-columns: 1fr 1fr; }
  .pano__pl { grid-template-columns: 1fr; gap: 12px; }
  .offer__f { grid-template-columns: 1fr; gap: 24px; } .offer__f li { border: 0; }
}
@media (max-width: 640px) {
  :root { --hh: 64px; }
  .hd__in { grid-template-columns: auto 1fr auto; }
  .burger span, .tel, .hd__cta { display: none; }
  .ib--tel { display: grid; }
  .logo { justify-self: start; margin-left: 14px; } .logo img { height: 30px; }
  .hero h1 { font-size: 38px; } .hero__cta .btn { width: 100%; }
  .hero__sale span { display: none; }
  .row, .row.is-a { grid-template-columns: 1fr auto; } .row__n, .row__go, .spec { display: none; } .rows--p .row { grid-template-columns: 1fr auto; }
  .promo { display: none; }
  .pr__foot { grid-template-columns: 1fr; }
  .rail--types, .rail--team, .rail--blog { grid-auto-columns: 82vw; }
  .seg--type { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dims { grid-template-columns: 1fr; }
  .b1__pl { grid-template-columns: 1fr 1fr; position: relative; } .b1__ph { aspect-ratio: auto; overflow: visible; } .b1__ph > img { position: relative; aspect-ratio: 3 / 2; } .b1__ph > img:not(.is-a) { display: none; }
  .b1__st div { grid-template-columns: 1fr; gap: 4px; }
  .brr { grid-template-columns: 1fr; } .brr__n { display: none; } .brr b { white-space: normal; }
  .steps { grid-template-columns: 1fr; } .stp { border: 0; margin: 0; }
  .rgrid, .ft__top, .menu__g { grid-template-columns: 1fr; }
  .faq details > div > p { padding: 0 0 0 0; } .faq summary { grid-template-columns: 36px 1fr 22px; }
  .by { grid-template-columns: 56px 1fr; } .by__d { grid-column: 1 / -1; text-align: left; }
  .card__pl { right: 0; }
  .ct__map { min-height: 360px; }
  .ft__wm { font-size: 17vw; }
  .rmore { flex-direction: column; }
  .pano { height: 70vh; } .pano__n { font-size: 80px; }
  .facts b { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .rv, .stp { opacity: 1; transform: none; } }
@media (max-width: 1360px) and (min-width: 1201px) { .nav a:nth-child(n+4) { display: none; } }
@media (max-width: 640px) {
  .btn { white-space: normal; text-align: center; padding: 10px 20px; }
  .seo table { display: block; overflow-x: auto; }
  .csum__v { font-size: 48px; }
  .menu__top .logo { display: none; }
}

/* ================= v14 · правки 01.11 ================= */
/* слайдеры — только по горизонтали */
.rail, .b1__th, .all__t, .steps, .c3__r { overflow-y: hidden; }
.mnav, .c3__mend, .cbar, .c3__im, .b1__more { display: none; }

/* цены → тип профиля: своё фото и плашка характеристик */
.pfs { position: absolute; right: 0; top: 0; z-index: 3; width: min(380px, 74%); background: #fff; padding: 0 0 26px 30px; display: grid; gap: 14px;
  opacity: 0; transform: translateY(-14px); pointer-events: none; transition: opacity .5s, transform .7s var(--ez); }
.pr__ph.is-prof .pfs { opacity: 1; transform: none; pointer-events: auto; }
.pfs__k { color: var(--mut); }
.pfs__nm { font-size: clamp(34px, 3vw, 54px); font-weight: 200; line-height: .95; color: var(--ink); text-transform: uppercase; letter-spacing: -.01em; }
.pfs__m { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.pfs__m div { padding: 12px 12px 0 0; }
.pfs__m div + div { border-left: 1px solid var(--line); padding-left: 14px; }
.pfs__m dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.pfs__m dd { font-size: 26px; font-weight: 200; color: var(--ink); line-height: 1.15; margin-top: 4px; white-space: nowrap; }
.pfs__sc { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; color: var(--mut); }
.pfs__sc .cap { font-size: 11px; letter-spacing: .12em; }
.pfs__sc i { position: relative; height: 1px; background: var(--line); }
.pfs__sc b { position: absolute; left: 0; top: -1px; height: 3px; width: 50%; background: var(--acc); transition: width .8s var(--ez); }
.pfs__p { font-size: 15px; color: var(--tx); padding-bottom: 2px; }
.pfs__p b { font-weight: 500; color: var(--ink); }

/* профили: фото на всю площадь рамки, без серой подложки */
.brw__ph { max-width: 460px; }
.brw__ph img { aspect-ratio: 5 / 4; object-fit: cover; background: none; padding: 0; }

/* заявка: визитка под фото, без «выпадающей» белой плашки */
.card { margin-bottom: 0; }
.card__ph { aspect-ratio: 4 / 4.4; max-height: 58vh; }
.card__pl { position: static; background: none; padding: 22px 0 0; gap: 18px; color: #cfccc6; }
.card__q { color: #fff; font-size: clamp(19px, 1.45vw, 24px); font-weight: 200; line-height: 1.3; text-indent: -.42em; }
.card__by { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px; padding-top: 18px; border-top: 1px solid #3a3a3a; }
.card__n { color: #a8a59f; font-size: 14px; } .card__n b { color: #fff; font-size: 15px; }
.card__t { border: 0; padding: 0 18px; min-height: 48px; color: #fff; font-size: 16px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4); transition: background .25s, color .25s; }
.card__t:hover { background: #fff; color: var(--ink); }

/* статья: автор и даты читаются */
.by span { font-size: 15px; color: var(--tx); }
.by__d { display: flex; gap: 28px; text-align: left; }
.by__d dt { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.by__d dd { font-size: 16px; color: var(--ink); margin-top: 2px; white-space: nowrap; }

@media (max-width: 960px) { .pfs { width: min(380px, 88%); } }

/* ---------- мобилка ---------- */
@media (max-width: 640px) {
  /* первый экран: одна кнопка, H1 в 2 строки, факты в экране */
  .hero { height: calc(100svh - var(--hh)); min-height: 560px; max-height: 900px; display: flex; flex-direction: column; }
  .hero__top { padding: 14px var(--pad) 16px; gap: 14px; }
  .hero h1 { font-size: min(8.7vw, 44px); line-height: 1; white-space: nowrap; }
  .hero__side { gap: 14px; } .hero__side p { font-size: 15px; line-height: 1.5; }
  .hero__alt { display: none; }
  .hero__ph { flex: 1 1 auto; min-height: 260px; aspect-ratio: auto; margin: 0 var(--pad); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; }
  .facts { position: relative; top: auto; bottom: auto; width: 100%; grid-template-columns: 1fr 1fr; gap: 10px 0; padding: 14px 0 4px; }
  .facts li { padding-right: 12px; margin-right: 12px; }
  .facts b { font-size: 30px; } .facts span { font-size: 14px; margin-top: 4px; } .facts span br { display: none; }

  /* стрелки и полоса хода у лент */
  .mnav { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
  .mnav .prog { flex: 1; margin: 0; }
  .mnav .ctl__n { margin-right: 10px; }
  .sq { width: 48px; height: 48px; }

  /* 8 опасений: карточки со своим фото, листаются по одной */
  .c3 { display: block; }
  .c3__st { display: none; }
  .c3__r { display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); overscroll-behavior-x: contain; }
  .c3__r::-webkit-scrollbar { display: none; }
  .c3__it { scroll-snap-align: start; opacity: 1; min-height: 0; padding: 0; border: 0; display: flex; flex-direction: column; justify-content: flex-start; }
  .c3__im { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 18px; background: var(--soft); }
  .c3__q { font-size: 20px; max-width: none; }
  .c3__n { font-size: 72px; margin: 14px 0 12px; }
  .c3__it > p:last-child { font-size: 15px; }
  .c3__end { display: none; }
  .c3__mend { display: block; margin-top: 24px; } .c3__mend .btn { width: 100%; }

  /* калькулятор: липкая плашка с ценой */
  .cbar { position: fixed; left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); z-index: 40; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px;
    background: var(--ink); color: #fff; padding: 8px 8px 8px 18px; transform: translateY(150%); transition: transform .45s var(--ez); }
  .cbar.is-v { transform: none; }
  .cbar__k { font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #a8a59f; line-height: 1.3; min-width: 0; }
  .cbar__k small { display: block; font-size: 13px; letter-spacing: 0; text-transform: none; font-weight: 400; color: #e6e3de; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cbar b { font-size: 24px; font-weight: 300; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .cbar b.is-up { animation: bump .5s var(--ez); }
  .cbar .sq { background: #fff; color: var(--ink); width: 44px; height: 44px; }
  .cbar .sq svg { transform: rotate(90deg); }
  #calc { padding-bottom: 72px; }

  /* кейсы: без миниатюр, карточка с кнопкой в один экран */
  .b1__th { display: none; }
  .b1__ph { max-height: none; } .b1__ph > img { height: auto; aspect-ratio: 16 / 10; }
  .b1__pl { grid-template-columns: repeat(3, auto); justify-content: start; padding: 12px 0 0; }
  .b1__pl li { padding-right: 14px; margin-right: 14px; }
  .b1__pl b { font-size: 24px; }
  .b1__pl small { font-size: 11px; }
  .b1__top { padding: 14px 0; }
  .b1__body { padding-top: 16px; }
  .b1__body h3 { font-size: 24px; }
  .b1__st { display: none; margin-top: 12px; }
  .b1.is-more .b1__st { display: block; }
  .b1__more { display: inline-flex; align-self: flex-start; margin: 12px 0 4px; font-size: 15px; color: var(--ink); border-bottom: 1px solid currentColor; }
  .b1.is-more .b1__more { display: none; }
  .b1__f { padding-top: 16px; margin-top: 14px; flex-wrap: nowrap; align-items: center; }
  .b1__f .btn { padding: 0 16px; }
  .b1__p b { font-size: 30px; }

  /* этапы — слайдер */
  .steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 74vw; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); overscroll-behavior-x: contain; }
  .steps::-webkit-scrollbar { display: none; }
  .steps::before { left: var(--pad); right: auto; width: calc(74vw * 5); }
  .stp { scroll-snap-align: start; border: 0; border-right: 1px solid var(--line); margin: 0 18px 0 0; padding-right: 18px; }
  .stp:last-child { border: 0; }
  .stp__n { font-size: 84px; margin: 12px 0 18px; }

  /* заявка — коротко */
  .offer__in { padding: 44px 20px 28px; gap: 26px; }
  .offer h2 { font-size: 34px; }
  .offer__s, .offer__n { display: none; }
  .offer__f { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 12px; margin: 26px 0; }
  .offer__f li { padding: 0; margin: 0; border: 0; min-width: 0; }
  .offer__f b { font-size: clamp(28px, 9vw, 38px); }
  .offer__f span { font-size: 13px; margin-top: 6px; } .offer__f span br { display: none; }
  .offer__b .btn { width: 100%; }
  .card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid #3a3a3a; }
  .card__ph { width: 64px; height: 64px; aspect-ratio: 1; border-radius: 50%; max-height: none; }
  .card__pl { padding: 0; gap: 8px; }
  .card__q { display: none; }
  .card__by { border: 0; padding: 0; gap: 6px; }
  .card__t { padding: 0; box-shadow: none; min-height: 32px; font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, .4); }
  .card__t:hover { background: none; color: #fff; }

  /* статья: даты и должность крупнее */
  .by { grid-template-columns: 56px minmax(0, 1fr); gap: 14px 16px; }
  .by span { font-size: 15px; line-height: 1.4; }
  .by__d { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line); padding-top: 14px; }
  .by__d div + div { border-left: 1px solid var(--line); padding-left: 16px; }
  .by__d dt { font-size: 12px; } .by__d dd { font-size: 17px; }

  /* цены: плашка профиля под фото */
  .pfs, .pr__ph.is-prof .pfs { display: none; }
}
@keyframes bump { 0% { opacity: .3; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .row, .row.is-a, .rows--p .row { gap: 0 12px; }
  .row__t { font-size: clamp(19px, 6vw, 24px); }
  .row__p b { font-size: clamp(24px, 7.8vw, 34px); }
  .brr > * { min-width: 0; } .brr p { overflow-wrap: anywhere; } .brr::before { right: 0; }
}
@media (max-width: 640px) { .ct dd, .ct dd a { min-width: 0; overflow-wrap: anywhere; } }
.pfs__u { font-size: 12px; color: var(--mut); }

/* ================= v15 · правки 01.11 (второй круг) ================= */
/* кнопки: текст всегда в одну строку */
.btn { white-space: nowrap; }

/* виджет WhatsApp: кнопка в углу и всплывающее сообщение консультанта */
.waw { position: fixed; right: clamp(16px, 2vw, 32px); bottom: clamp(16px, 2vw, 32px); z-index: 45; display: grid; justify-items: end; gap: 14px; pointer-events: none; transition: transform .45s var(--ez); }
.waw > * { pointer-events: auto; }
.waw__b { position: relative; display: grid; place-items: center; width: 60px; height: 60px; background: var(--ink); color: #fff; box-shadow: 0 10px 30px rgba(20, 20, 20, .18); transition: background .25s, transform .25s; }
.waw__b:hover { background: #333; transform: translateY(-2px); }
.waw__b svg { width: 30px; height: 30px; }
.waw__dot { position: absolute; top: -5px; right: -5px; width: 14px; height: 14px; border-radius: 50%; background: #2fb35a; border: 3px solid #fff; animation: wawBlink 1.6s ease-in-out infinite; }
.waw__pop { position: relative; width: min(330px, calc(100vw - 32px)); background: #fff; box-shadow: 0 18px 50px rgba(20, 20, 20, .16), inset 0 0 0 1px var(--line); opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ez); }
.waw__pop.is-o { opacity: 1; transform: none; }
.waw__pop::after { content: ""; position: absolute; right: 22px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); box-shadow: 1px 1px 0 var(--line); }
.waw__in { display: grid; gap: 14px; padding: 18px 20px 18px; color: var(--tx); }
.waw__hd { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: center; padding-right: 26px; }
.waw__hd img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.waw__hd b { display: block; font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.waw__hd small { display: block; font-size: 13px; color: var(--mut); line-height: 1.3; }
.waw__on { grid-column: 2; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #23874a; margin-top: -6px; }
.waw__on i { width: 8px; height: 8px; border-radius: 50%; background: #2fb35a; animation: wawBlink 1.6s ease-in-out infinite; }
.waw__msg { position: relative; display: block; background: var(--soft); padding: 14px 16px; font-size: 15px; line-height: 1.45; color: var(--ink); min-height: 50px; }
.waw__typ { display: inline-flex; align-items: center; gap: 5px; }
.waw__typ i { width: 7px; height: 7px; border-radius: 50%; background: #8d8a84; animation: wawTyp 1.1s infinite; }
.waw__typ i:nth-child(2) { animation-delay: .15s; } .waw__typ i:nth-child(3) { animation-delay: .3s; }
.waw__typ small { margin-left: 8px; font-size: 13px; color: var(--mut); }
.waw__t { display: none; }
.waw__pop.is-t .waw__typ { display: none; }
.waw__pop.is-t .waw__t { display: block; animation: wawIn .5s var(--ez); }
.waw__go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 3px; white-space: nowrap; }
.waw__go svg { width: 16px; height: 16px; transition: transform .25s; } .waw__in:hover .waw__go svg { transform: translateX(4px); }
.waw__x { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; }
.waw__x b, .waw__x b::after { display: block; width: 14px; height: 1px; background: var(--ink); transform: rotate(45deg); }
.waw__x b::after { content: ""; transform: rotate(90deg); }
@keyframes wawBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes wawTyp { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes wawIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.cb-on .waw { transform: translateY(-74px); }

@media (max-width: 640px) {
  /* кнопки нормального размера, не на всю ширину, текст в одну строку */
  .btn, .btn--w, .hero__cta .btn, .c3__mend .btn, .offer__b .btn { width: auto; white-space: nowrap; padding: 0 20px; min-height: 52px; letter-spacing: .1em; }
  .hero__cta, .offer__b, .stb__b, .csum, .ex { justify-items: start; }
  .hero__cta { display: flex; }

  /* первый экран: пары с одинаковой высотой подписи — «2004 · 4,9» и «10 лет · 1 день», полоски с отступом */
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 0; }
  .facts li { border: 0; margin: 0; padding: 0 12px 0 0; }
  .facts li:nth-child(4) { order: 1; } .facts li:nth-child(2) { order: 2; } .facts li:nth-child(3) { order: 3; }
  .facts li:nth-child(4), .facts li:nth-child(3) { border-left: 1px solid var(--line); padding: 0 0 0 16px; }

  /* цены: только текст, одна кнопка */
  .pr__ph, .pr__foot, .pr__calc, .pr__cta small { display: none; }
  .pr__cta { margin-top: 28px; }

  /* профили: название бренда над описанием */
  .brr { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .brr p { grid-column: 1; }
  .brr b { font-size: clamp(32px, 10vw, 44px); }

  /* этапы и заявка: без кнопок с телефоном */
  .stb__tel, .offer__tel { display: none; }

  /* вопросы: только сами вопросы */
  .faqw__l { display: none; }

  /* подвал: площадки ровной сеткой, вордмарк целиком */
  .ft__pl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
  .ft__pl > .cap { grid-column: 1 / -1; }
  .ft__soc { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding-top: 16px; border-top: 1px solid #d9d6cf; }
  .ft__wm { font-size: 13.4vw; margin-left: 0; }

  /* виджет */
  .waw { right: 12px; bottom: 12px; }
  .waw__b { width: 56px; height: 56px; }
}
@media (max-width: 640px) { .hero__cta .btn { flex: 0 0 auto; } }
@media (max-width: 380px) {
  .btn, .btn--w, .hero__cta .btn, .c3__mend .btn, .offer__b .btn { font-size: 12px; letter-spacing: .06em; padding: 0 16px; gap: 10px; }
  .b1__f { flex-wrap: wrap; }
}
.waw { opacity: 0; visibility: hidden; transition: transform .45s var(--ez), opacity .4s, visibility .4s; }
.waw.is-v { opacity: 1; visibility: visible; }

/* v16 · 02.11: плашка цифр кейса на 320 — три длинные суммы не влезали */
@media (max-width: 380px) {
  .b1__pl li { padding-right: 9px; margin-right: 9px; }
  .b1__pl b { font-size: 18px; }
  .b1__pl small { font-size: 10px; letter-spacing: .1em; }
}

/* ---------- отзывы: шапка рейтингов (2026-11-02) ---------- */
.rvh { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 32px clamp(32px, 5vw, 96px); align-items: end; margin: calc(-1 * clamp(10px, 2vh, 30px)) 0 clamp(28px, 4vh, 44px); }
.rvh__a { display: grid; gap: clamp(22px, 3vh, 34px); justify-items: start; }
.rvh .score b, .plw .score b { color: var(--acc); }
.rvh .score .stars svg, .plw .score .stars svg { width: 20px; height: 20px; }
.rvp { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.rtg { position: relative; display: grid; align-content: start; justify-items: start; gap: 6px; height: 100%; padding: 20px clamp(12px, 1.6vw, 30px) 4px; border-left: 1px solid var(--line); color: var(--ink); }
.rvp li:first-child .rtg { border-left: 0; padding-left: 0; }
.rtg__h { display: flex; align-items: center; gap: 10px; width: 100%; min-width: 0; margin-bottom: 14px; }
.rtg__lg { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; overflow: hidden; }
.rtg__lg img { max-width: 62%; max-height: 54%; object-fit: contain; }
.rtg__lg svg { width: 100%; height: 100%; display: block; }
.rtg__op { font-style: normal; font-size: 11px; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--ink); width: 100%; height: 100%; display: grid; place-items: center; }
.rtg__n { font-size: 14px; font-weight: 500; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.rtg__v { font-size: clamp(44px, 3.8vw, 68px); font-weight: 200; line-height: 1; letter-spacing: -.03em; transition: color .3s; }
.rtg .stars { gap: 1px; margin-top: 2px; } .rtg .stars svg { width: 13px; height: 13px; }
.rtg small { font-size: 13px; color: var(--mut); line-height: 1.3; margin-top: 4px; }
.rtg:hover .rtg__v { color: var(--acc); }
@media (max-width: 1500px) { .rvh { grid-template-columns: minmax(0, 1fr); align-items: start; } .rvh__a { grid-template-columns: auto auto; justify-content: space-between; align-items: end; } .leave__l { left: auto; right: 0; } }
@media (max-width: 900px) {
  .rvh__a { grid-template-columns: minmax(0, 1fr); justify-content: start; gap: 22px; }
  .leave__l { left: 0; right: auto; min-width: min(300px, calc(100vw - 2 * var(--pad))); }
  .rvp { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
  .rvp li { border-top: 1px solid var(--line); }
  .rvp li:nth-child(-n+2) { border-top-color: var(--ink); }
  .rvp li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .rtg { padding: 16px 0 18px 16px; border-left: 1px solid var(--line); }
  .rvp li:nth-child(odd) .rtg { padding-left: 0; border-left: 0; }
  .rvp li:last-child:nth-child(odd) .rtg { padding-left: 0; }
  .rtg__h { gap: 8px; margin-bottom: 10px; } .rtg__lg { width: 30px; height: 30px; } .rtg__n { font-size: 13px; }
  .rtg__v { font-size: 44px; }
}

/* 04.11: таблицы статей (блог и страницы) — горизонтальная прокрутка в обёртке .tbl-x (a11yMain.ts), текст не меняется */
.tbl-x { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1em 0 1.4em; }
.tbl-x > table { margin: 0; }
.tbl-x:focus-visible { outline: 2px solid var(--ink, #111); outline-offset: 2px; }
@media (max-width: 640px) { .seo .tbl-x > table { display: table; } }

/* pages.css */
/* OKNA PLAST v13 — общие детали внутренних страниц (поверх styles.css). Свои стили страницы — в css/pg-<slug>.css. */

/* хлебные крошки */
.crumbs { padding: 18px var(--pad) 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 14px; line-height: 1.4; color: var(--mut); }
.crumbs li + li::before { content: ""; display: inline-block; width: 22px; height: 1px; margin: 0 12px 4px; background: currentColor; opacity: .5; }
.crumbs a { color: var(--tx); transition: color .2s; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: var(--mut); }
.crumbs + .hero { height: calc(100svh - var(--hh) - 38px); }
.crumbs + .hero .hero__top { padding-top: clamp(12px, 2.4vh, 32px); }

/* первый экран без фото (текстовые страницы: политика, блог) */
.ph1 { padding: clamp(24px, 5vh, 64px) var(--pad) 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 24px clamp(24px, 5vw, 96px); align-items: end; }
.ph1 h1 { font-size: clamp(40px, min(5.6vw, 9.6vh), 120px); line-height: .98; font-weight: 200; text-transform: uppercase; color: var(--ink); letter-spacing: -.005em; }
.ph1 h1 span { color: var(--gr); }
.ph1 > p { color: var(--tx); max-width: 46ch; }

/* текст документа */
.doc { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 760px); gap: clamp(32px, 6vw, 120px); }
.doc__toc { position: sticky; top: 96px; align-self: start; }
.doc__toc ol { border-top: 1px solid var(--ink); }
.doc__toc a { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--tx); transition: color .2s; }
.doc__toc a:hover { color: var(--ink); }
.doc__toc i { font-style: normal; color: var(--mut); font-size: 13px; letter-spacing: .1em; padding-top: 2px; }
.doc h2 { font-size: clamp(26px, 2.2vw, 40px); line-height: 1.05; margin: 56px 0 18px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 17px; line-height: 1.65; color: var(--tx); }
.doc p + p { margin-top: 14px; }
.doc ul { margin: 14px 0; display: grid; gap: 8px; }
.doc ul li { padding-left: 26px; position: relative; }
.doc ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--ink); }

@media (max-width: 960px) {
  .ph1, .doc { grid-template-columns: minmax(0, 1fr); }
  .doc__toc { position: relative; top: 0; }
  .crumbs + .hero { height: auto; }
}
@media (max-width: 640px) {
  .crumbs { padding-top: 12px; }
  .crumbs ol { font-size: 13px; }
  .crumbs li + li::before { width: 12px; margin: 0 8px 4px; }
  .crumbs + .hero { height: calc(100svh - var(--hh) - 32px); }
  .ph1 h1 { font-size: min(9.3vw, 44px); }
  .doc p, .doc li { font-size: 16px; }
}

/* css/d2.css */
/* D2 общий — раскрывающиеся фото-панели (Rehau «Почему выбирают», французские «Что входит», двери «Виды»).
   Разметка — _goods.d2(); поведение — js/d2.js. Подключать после styles.css / pages.css. */
.d2 { display: flex; gap: clamp(6px, .7vw, 12px); height: clamp(480px, 72vh, 760px); border-top: 1px solid var(--ink); padding-top: clamp(16px, 2.4vh, 28px); }
.d2__p { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; background: var(--soft); cursor: pointer; transition: flex-grow .9s var(--ez); outline-offset: -3px; }
.d2__p.is-a { flex-grow: 4.6; cursor: default; }
.d2__p img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ez), filter .6s; filter: saturate(.8); }
.d2__p.is-a img { transform: scale(1); filter: none; }
.d2__v { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; writing-mode: vertical-rl; transform: rotate(180deg); padding: 18px 14px; display: flex; gap: 14px; align-items: center;
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: opacity .35s; }
.d2__v i { font-style: normal; color: var(--mut); }
.d2__p.is-a .d2__v { opacity: 0; }
.d2__pl { position: absolute; left: 0; bottom: 0; z-index: 3; width: min(460px, 86%); background: #fff; padding: 26px 30px 0 0; display: grid; gap: 10px;
  opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .5s var(--ez); pointer-events: none; }
.d2__p.is-a .d2__pl { opacity: 1; transform: none; transition: opacity .6s .35s, transform .8s .35s var(--ez); }
.d2__pl .cap { color: var(--mut); }
.d2__pl h3 { font-size: clamp(26px, 2.4vw, 44px); font-weight: 300; line-height: 1.05; color: var(--ink); letter-spacing: -.01em; }
.d2__pl p:last-child { font-size: 15px; color: var(--tx); max-width: 40ch; }
/* цифра / цена у раскрытой панели (необязательно) */
.d2__n { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: clamp(40px, 3.6vw, 68px); font-weight: 200; line-height: .95; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.d2__n small { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.d2__n.is-acc { color: var(--acc); }
/* итог под панелями: цифра слева, одна кнопка справа (необязательно) */
.d2f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(20px, 3vh, 32px); padding-top: clamp(18px, 2.6vh, 28px); border-top: 1px solid var(--line); }
.d2f__t { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 18px; }
.d2f__t .cap { color: var(--mut); align-self: center; }
.d2f__t b { font-size: clamp(36px, 3.4vw, 64px); font-weight: 200; letter-spacing: -.03em; line-height: 1; color: var(--ink); white-space: nowrap; }
.d2f__t s { font-size: 17px; color: var(--mut); }
.d2f__t em { font-style: normal; font-size: 15px; color: var(--tx); }

@media (max-width: 960px) {
  .d2 { height: 64vh; min-height: 420px; }
  .d2__p.is-a { flex-grow: 3.4; }
}
@media (max-width: 640px) {
  /* D2 → лента: каждая панель раскрыта, подпись под фото */
  .d2 { display: grid; grid-auto-flow: column; grid-auto-columns: 84vw; gap: 12px; height: auto; min-height: 0; border: 0; padding-top: 0; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--pad)); padding-left: var(--pad); padding-right: var(--pad); scroll-padding: 0 var(--pad); overscroll-behavior-x: contain; }
  .d2::-webkit-scrollbar { display: none; }
  .d2__p { scroll-snap-align: start; overflow: visible; background: none; cursor: default; }
  .d2__p img { position: relative; aspect-ratio: 4 / 5; height: auto; transform: none; filter: none; }
  .d2__v { display: none; }
  .d2__pl, .d2__p.is-a .d2__pl { position: static; width: 100%; opacity: 1; transform: none; padding: 16px 0 0; pointer-events: auto; transition: none; }
  .d2__pl h3 { font-size: 26px; }
  .d2__n { font-size: 40px; }
  .d2f { border-top: 1px solid var(--ink); }
  .d2f__t b { font-size: 40px; }
}

/* css/pg-francuzskie-okna.css */
/* Французские окна (шаблон «вид окна / товар») — поверх styles.css и pages.css */

/* ---------- цена и параметры ---------- */
.fb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 110px); border-top: 1px solid var(--ink); padding-top: clamp(28px, 4vh, 44px); }
.fb__k { color: var(--mut); }
.fb__n { font-size: clamp(72px, 8.4vw, 168px); font-weight: 200; line-height: .9; letter-spacing: -.035em; color: var(--ink); margin: 18px 0 14px; white-space: nowrap; }
.fb__o { display: flex; align-items: center; gap: 14px; color: var(--mut); font-size: 15px; }
.fb__o s { font-size: 18px; }
.fb__o b { background: var(--acc); color: #fff; font-weight: 500; font-size: 12px; letter-spacing: .12em; padding: 7px 11px; }
.fb__sp { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(28px, 4vh, 44px) 0 0; border-top: 1px solid var(--line); }
.fb__sp div { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); }
.fb__sp div:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
.fb__sp dt { color: var(--mut); font-size: 11px; }
.fb__sp dd { font-size: clamp(18px, 1.35vw, 22px); font-weight: 300; color: var(--ink); margin-top: 4px; }
.fb__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 32px; }
.fb__l { font-size: 15px; }
.fb__n2 { margin-top: 18px; font-size: 14px; color: var(--mut); max-width: 52ch; }
.fb__ph { color: var(--mut); padding-bottom: 16px; border-bottom: 1px solid var(--ink); }
.fpl__i { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fpl__i img { width: 76px; height: 96px; object-fit: cover; }
.fpl__t b { display: block; font-size: clamp(22px, 1.9vw, 34px); font-weight: 300; color: var(--ink); line-height: 1.1; }
.fpl__t small { display: block; margin-top: 6px; font-size: 14px; color: var(--mut); }
.fpl__p { text-align: right; font-size: clamp(24px, 2.2vw, 40px); font-weight: 200; color: var(--ink); white-space: nowrap; line-height: 1; }
.fpl__p small { display: block; margin-top: 6px; font-size: 13px; color: var(--mut); font-weight: 400; }
.fb__nt { margin-top: 18px; font-size: 14px; color: var(--tx); max-width: 56ch; }

/* ---------- что входит: D2 (общий css/d2.css), 6 панелей ---------- */
@media (min-width: 641px) { #inc .d2__pl { width: min(500px, 90%); } }

/* ---------- холодное или тёплое: кадр слева, переключатель и огромная температура справа ---------- */
.tw { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-areas: "ph sw" "ph d"; grid-template-rows: auto 1fr; gap: 0 clamp(32px, 4.5vw, 96px);
  border-top: 1px solid var(--ink); padding-top: clamp(16px, 2.4vh, 28px); }
.tw__ph { grid-area: ph; position: relative; height: clamp(520px, 74vh, 780px); overflow: hidden; background: var(--soft); }
.tw__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1.1s cubic-bezier(.4,0,.2,1), transform 2.4s var(--ez); }
.tw__ph img.is-a { opacity: 1; transform: scale(1); }
.tw__tag { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; padding: 14px 18px 0 0; color: var(--ink); }
.tw__sw { grid-area: sw; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.tw__sw button { position: relative; display: flex; align-items: baseline; gap: 12px; padding: 6px 0 18px; min-height: 48px; cursor: pointer; text-align: left;
  font-size: clamp(22px, 1.9vw, 34px); font-weight: 200; text-transform: uppercase; letter-spacing: -.005em; color: var(--gr); transition: color .35s; }
.tw__sw button i { font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .14em; color: var(--mut); }
.tw__sw button::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--acc); transition: width .6s var(--ez); }
.tw__sw button.is-a { color: var(--ink); }
.tw__sw button.is-a::after { width: 100%; }
.tw__sw button:not(.is-a):hover { color: var(--ink); }
.tw__dd { grid-area: d; display: grid; }
.tw__d { grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(20px, 3.4vh, 40px); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s, transform .7s var(--ez), visibility 0s .5s; }
.tw__d.is-a { opacity: 1; visibility: visible; transform: none; transition: opacity .7s .15s, transform .9s .15s var(--ez), visibility 0s; }
.tw__k { color: var(--mut); }
.tw__t { display: flex; align-items: flex-start; font-size: clamp(120px, 12.5vw, 240px); font-weight: 200; line-height: .82; letter-spacing: -.055em; color: var(--ink); margin: 14px 0 10px; white-space: nowrap; }
.tw__t sup { font-size: .22em; letter-spacing: 0; line-height: 1; margin: .2em 0 0 .12em; font-weight: 300; }
.tw__d.is-warm .tw__t { color: var(--acc); }
.tw__h { font-size: clamp(20px, 1.6vw, 28px); font-weight: 300; line-height: 1.2; color: var(--ink); max-width: 26ch; }
.tw__p { margin-top: 8px; font-size: 15px; color: var(--tx); max-width: 44ch; }
.tw__l { margin: clamp(18px, 2.6vh, 28px) 0 clamp(20px, 3vh, 30px); border-top: 1px solid var(--line); }
.tw__l div { display: grid; grid-template-columns: minmax(110px, .7fr) minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.tw__l dt { color: var(--mut); font-size: 11px; }
.tw__l dd { font-size: clamp(16px, 1.2vw, 19px); font-weight: 300; color: var(--ink); }
.tw__d .btn { align-self: flex-start; }

/* ---------- где ставят ---------- */
.use { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * clamp(12px, 1.4vw, 24px)) / 4); gap: clamp(12px, 1.4vw, 24px);
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.use::-webkit-scrollbar { display: none; }
.use__c { scroll-snap-align: start; }
.use__ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.use__ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ez); }
.use__c:hover .use__ph img { transform: scale(1.05); }
.use__n { position: absolute; left: 0; top: 0; background: #fff; padding: 0 14px 10px 0; color: var(--ink); }
.use__c figcaption { padding-top: 16px; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.use__c b { display: block; font-size: clamp(19px, 1.5vw, 26px); font-weight: 300; color: var(--ink); line-height: 1.15; }
.use__c span { display: block; margin-top: 6px; font-size: 14px; color: var(--tx); }

@media (max-width: 960px) {
  .fb { grid-template-columns: minmax(0, 1fr); }
  .tw { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sw" "ph" "d"; grid-template-rows: none; }
  .tw__ph { height: 56vh; min-height: 360px; margin-top: 20px; }
  .use { grid-auto-columns: 40vw; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); scroll-padding: 0 var(--pad); }
}
@media (max-width: 640px) {
  .fb { padding-top: 22px; gap: 44px; }
  .fb__n { font-size: clamp(60px, 19vw, 84px); margin: 12px 0 10px; }
  .fb__sp dd { font-size: 17px; }
  .fb__sp div:nth-child(2n) { padding-left: 14px; }
  .fb__cta { gap: 14px 20px; }
  .fpl__i { grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; }
  .fpl__i img { width: 56px; height: 70px; }
  .fpl__t b { font-size: 20px; } .fpl__p { font-size: 24px; }
  .tw { border-top: 0; padding-top: 0; }
  .tw__d { justify-content: flex-start; padding-top: 22px; }
  .tw__sw button { font-size: 22px; padding-bottom: 14px; }
  .tw__ph { height: auto; min-height: 0; aspect-ratio: 4 / 3.4; margin-top: 16px; }
  .tw__t { font-size: clamp(96px, 30vw, 128px); margin: 10px 0 6px; }
  .tw__h { font-size: 20px; }
  .tw__l div { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 10px 0; }
  .tw__l dd { font-size: 16px; }
  .use { grid-auto-columns: 74vw; gap: 12px; }
}

/* кейсы на узких экранах: плашка с тремя цифрами не шире экрана */
@media (max-width: 380px) { .b1__pl li { padding-right: 10px; margin-right: 10px; } .b1__pl b { font-size: 20px; } }

/* планшет: у ленты те же стрелки и полоса хода, что на мобилке */
@media (max-width: 960px) {
  #use .mnav { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
  #use .mnav .prog { flex: 1; margin: 0; }
}

/* холодное / тёплое на самых узких экранах: подписи переключателя помещаются в свою половину */
@media (max-width: 380px) {
  .tw__sw button { font-size: 18px; gap: 8px; }
  .tw__sw button, .tw__d, .tw__dd { min-width: 0; }
  .tw__l div { grid-template-columns: 96px minmax(0, 1fr); }
}

/* site.css */
/* okna-plastikovye.kz — дополнения сайта к CSS макета v13 (макет не правится).
   1. Шрифт: семейство макета 'Inter Tight' → self-hosted сабсет next/font (тот же шрифт, с казахскими и ₸).
   2. Переключатель языка (шапка, меню, подвал) и города (меню, подвал) — №83; в стиле .cap макета.
   3. Автор статьи без фото — инициалы (реальный автор с прода, фото нет; №19/№73).
   4. Пустой блок отзывов «Будьте первым…» (№76).
   5. Плашка Quick Answer статьи. */
:root { --ff: var(--font-base), 'Inter Tight', 'Helvetica Neue', Arial, sans-serif; }

/* 2. языки и города */
.lng, .cty { display: flex; align-items: center; gap: 2px; font-size: 12px; letter-spacing: .08em; }
.lng a, .cty a { padding: 6px 7px; color: var(--mut); border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.lng a:hover, .cty a:hover { color: var(--ink); }
.lng a.is-a, .cty a.is-a { color: var(--ink); border-bottom-color: var(--ink); }
.lng--hd { margin-right: 2px; }
.menu__b .lng, .menu__b .cty { margin-left: 0; }
.ft__k .lng, .ft__k .cty { margin-top: 10px; justify-self: start; }
@media (max-width: 1180px) { .lng--hd { display: none; } }

/* 3. автор без фото */
.by__ava { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 17px; font-weight: 400; letter-spacing: .04em; }
.by__ava--l { width: 64px; height: 64px; font-size: 19px; }
.by .by__ava { grid-row: span 1; }

/* 4. отзывы: пусто */
.rgrid--empty { display: block; }
.rv-first { display: grid; gap: 10px; padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 0; }
.rv-first b { font-size: clamp(22px, 2vw, 30px); font-weight: 300; color: var(--ink); }
.rv-first span { color: var(--mut); max-width: 62ch; }

/* 5. Quick Answer */
/* .seo .art-qa — без плашки: первый абзац статьи обычным текстом, как в макете (.seo p); решение заказчицы 03.11, maket №130 */

/* 6. «Опасение → факт»: длинное значение (слово, а не цифра) не выходит за колонку — кегль по длине (как подгонка слова-фона, №86) */
.c3__n.c3__n--l { font-size: clamp(40px, 4.6vw, 72px); line-height: 1; }
.c3__n.c3__n--xl { font-size: clamp(30px, 3.2vw, 52px); line-height: 1.05; }

/* 7. Меню-каталог: ссылок больше, чем в макете (все 60 разделов, №26) — третья колонка строками, тело меню прокручивается */
.menu__body { overflow-y: auto; overscroll-behavior: contain; }
.menu__h--gap { margin-top: 28px; }
.menu__br--s { font-size: 16px; gap: 4px 14px; }

/* 8. Виджет WhatsApp — переделан 03.11, см. блок «виджет WhatsApp» в конце файла */

/* 9. Длинный H1 (№72): на планшете/мобильной переносится по словам, без выхода за экран (короткие — nowrap, как в макете) */
@media (max-width: 960px) { h1.h1-fit { white-space: normal; overflow-wrap: break-word; hyphens: auto; } }

/* 10. Кейсы: на мобильной кнопка «Хочу так же» на kk/en длиннее — переносится под цену, а не за экран (если помещается — как в макете) */
@media (max-width: 640px) { .b1__f { flex-wrap: wrap; } }

/* 11. «Для кого работаем»: значение-слово вместо короткой цифры — меньшим кеглем, без выхода за колонку */
.f3n b.v-long { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.05; white-space: normal; }

/* 12. Реальные тексты длиннее макета (проверка 360 URL на 390): длинные значения плашек — меньшим кеглем; длинные слова
   в заголовках и вкладках («мультифункциональные», «Ударопрочный») переносятся, а не выходят за экран */
.facts b.v-long, .pr__foot b.v-long, .offer__f b.v-long { font-size: clamp(20px, 1.9vw, 34px); line-height: 1.1; white-space: normal; }
@media (max-width: 640px) {
  .sec h2, .offer h2, .hero h1, .ph1 h1, .tw__sw button, .d2__pl h3, .c3__q, .use__c b { overflow-wrap: anywhere; hyphens: auto; }
  .tw__sw button { font-size: 16px; }
}

/* 13. Мобильная: длинные тексты кнопок (kk/en) и значений переносятся внутри экрана, короткие — как в макете */
@media (max-width: 640px) {
  .btn { white-space: normal; max-width: 100%; text-align: center; }
  .b1__pl b, .b1__p b { white-space: normal; overflow-wrap: anywhere; }
  .row > * { min-width: 0; }
  .row__t { overflow-wrap: anywhere; }
}

/* 14. Прайс-лист товара (.fpl) и характеристики вкладок (.tw__l): длинное слово в названии строки (kk «Мультифункционалды…») на мобильной переносится, а не наезжает на цену */
@media (max-width: 640px) {
  .fpl__t { min-width: 0; }
  .fpl__t b { overflow-wrap: anywhere; hyphens: auto; }
  /* характеристики вкладок (.tw__l): длинная подпись («ДОЛГОВЕЧНОСТЬ») — меньше разрядка, ещё длиннее — перенос; колонки ровные */
  .tw__l dt { letter-spacing: .1em; overflow-wrap: anywhere; }
}

/* 15. Внутренние наезды текста (inner-overflow.mjs, 360 URL на 390): длинное не помещается в свою ячейку — переносится; если помещается — как в макете */
/* серии бренда: «Salamander GreenEvolution», «Deceuninck Forward» шире колонки при nowrap */
.srs__b b { white-space: normal; overflow-wrap: anywhere; min-width: 0; }
/* плашки оффера/фактов: «10 years», «10 жыл», «Офисы и коммерческие помещения» на мобильной */
@media (max-width: 640px) {
  li.rv > b { white-space: normal; overflow-wrap: anywhere; }
  /* таблица SEO-текста услуг: 4-я колонка скрыта в ячейках — скрываем и её заголовок; заголовки переносятся, как ячейки */
  .pg--remont-okon .seo th:nth-child(4) { display: none; }
  .pg--remont-okon .seo th { overflow-wrap: anywhere; hyphens: auto; padding-right: 8px; }
}

/* ---------- сотрудники и авторы (поток sotrudniki, 2026-11-02): команда, подпись статьи, страница автора ---------- */
.pc h3 a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--line); transition: border-color .2s; }
.pc h3 a:hover { border-color: currentColor; }
.pc__m svg { color: var(--acc); }
.by .by__ph { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; object-position: 50% 15%; }
.by b a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ex__ava--co { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft); }
.ex__ava.ex__ava--co img { width: 46px; height: auto; border-radius: 0; object-fit: contain; }
.au { padding-top: clamp(24px, 4vh, 44px); padding-bottom: clamp(48px, 8vh, 96px); }
.au__g { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1100px; }
.au__ph { aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
.au__ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.au .au__h { font-size: clamp(34px, 3.4vw, 56px); line-height: 1; font-weight: 200; text-transform: uppercase; color: var(--ink); letter-spacing: -.005em; }
.au__r { margin-top: 12px; font-size: 18px; color: var(--tx); }
.au__f { display: flex; flex-wrap: wrap; gap: 12px 40px; margin-top: 22px; padding: 16px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); list-style: none; color: var(--mut); font-size: 14px; }
.au__f li { display: flex; align-items: baseline; gap: 10px; }
.au__f b { font-size: clamp(32px, 2.6vw, 44px); font-weight: 200; line-height: .9; color: var(--ink); letter-spacing: -.02em; }
.au h2.au__k { margin-top: 24px; font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: .18em; color: var(--mut); }
.au__t { margin-top: 10px; color: var(--tx); max-width: 62ch; }
.au__l { max-width: 1100px; margin-top: clamp(36px, 5vh, 56px); }
.au__a { list-style: none; margin-top: 12px; border-top: 1px solid var(--line); }
.au__a li { border-bottom: 1px solid var(--line); }
.au__a a { display: block; padding: 12px 0; color: var(--ink); text-decoration: none; transition: color .2s; }
.au__a a:hover { color: var(--gr); }
.au__more summary { cursor: pointer; margin-top: 16px; color: var(--ink); }
@media (max-width: 768px) {
  .au__g { grid-template-columns: 1fr; gap: 20px; }
  .au__ph { width: 50%; max-width: 200px; }
  .au .au__h { font-size: 32px; }
  .au__f { gap: 10px 28px; }
}
.rail--team .pc__r { min-height: 2.8em; }

/* ================= виджет WhatsApp (заказчица 03.11, правила фабрики №116/№118/№126; wa-widget.js) =================
   Кнопка #25D366 с пульс-кольцами и бейджем «1»; окно-чат как в WhatsApp: шапка #008069, обои #EFEAE2, «печатает…»,
   входящее сообщение с хвостиком и временем, поле «Сообщение» и круглая кнопка отправки #00A884.
   Окно прячется opacity/visibility — без сдвигов вёрстки. Старые правила .waw / .waw__* в styles.css больше не используются. */
.wapp {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 60;
  transform: translateY(calc(-1 * var(--waw-lift, 0px)));
  transition: transform .45s cubic-bezier(.23, 1, .32, 1);
  font: 400 14.2px/1.38 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: 0;
  text-transform: none;
  color: #111b21;
  -webkit-tap-highlight-color: transparent;
}
.wapp * { box-sizing: border-box; }
.wapp a { color: inherit; text-decoration: none; }
.wapp svg { display: block; fill: currentColor; }
.waw-btn { position: relative; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 6px 18px -4px rgba(0, 0, 0, .35); transition: transform .2s; }
.waw-btn::before, .waw-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: waw-pulse 2.4s cubic-bezier(.2, .6, .4, 1) infinite; }
.waw-btn::after { animation-delay: 1.2s; }
.waw-btn svg { width: 34px; height: 34px; }
.wapp .waw-btn, .wapp .waw-send { color: #fff; }
.wapp .waw-btn svg, .wapp .waw-send svg { fill: #fff; } /* №127: значок WhatsApp и «отправить» — белые (#fff) */
.waw-btn:hover { transform: scale(1.06); }
.waw-btn:focus-visible { outline: 3px solid #fff; outline-offset: -6px; box-shadow: 0 0 0 3px #075e54; }
.waw-badge { position: absolute; top: -3px; right: -3px; min-width: 21px; height: 21px; padding: 0 6px; border-radius: 11px; background: #ff3b30; color: #fff; font: 700 12px/21px -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; text-align: center; box-shadow: 0 0 0 2px #fff; transform: scale(0); animation: waw-pop .3s 2.2s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.wapp.is-read .waw-badge { display: none; }
@keyframes waw-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes waw-pop { to { transform: scale(1); } }
.waw-win { position: absolute; right: 0; bottom: 76px; width: min(360px, calc(100vw - 32px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: #efeae2; box-shadow: 0 14px 44px -10px rgba(11, 20, 26, .45), 0 2px 8px rgba(11, 20, 26, .14); transform-origin: calc(100% - 30px) 100%; opacity: 0; visibility: hidden; transform: translateY(12px) scale(.94); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.wapp.is-open .waw-win { opacity: 1; visibility: visible; transform: none; transition: opacity .22s, transform .3s cubic-bezier(.2, .9, .3, 1.15), visibility 0s; }
.waw-head { display: flex; align-items: center; gap: 4px; min-height: 64px; padding: 10px 8px 10px 14px; background: #008069; color: #fff; }
.waw-hl { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; color: #fff !important; }
.waw-ava { position: relative; flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: #008069; font-size: 18px; }
.waw-ava img { width: 28px; height: 28px; object-fit: contain; }
/* №126: аватар — фото настоящего сотрудника (по направлению страницы, render.tsx) — круг во всю ячейку */
.waw-ava--ph { background: #dfe5e7; }
.wapp .waw-ava--ph img { width: 42px; height: 42px; max-width: none; border-radius: 50%; object-fit: cover; object-position: 50% 20%; }
.waw-ava::after { content: ""; position: absolute; right: 0; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 2px #008069; }
.waw-nm { display: grid; min-width: 0; line-height: 1.25; }
.waw-nm b { font-size: 16.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.waw-st { font-size: 13px; opacity: .85; }
.waw-x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.waw-x:hover { background: rgba(255, 255, 255, .14); }
.waw-x:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.waw-x svg { width: 22px; height: 22px; }
.waw-body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 16px 12px 20px; overflow: hidden; cursor: pointer;
  background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23d8d0c2' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 14h20a6 6 0 0 1 6 6v8a6 6 0 0 1-6 6H22l-6 5v-5h-2a6 6 0 0 1-6-6v-8a6 6 0 0 1 6-6z'/%3E%3Cpath d='M86 20c-3-5-11-4-11 3 0 5 11 11 11 11s11-6 11-11c0-7-8-8-11-3z'/%3E%3Crect x='54' y='54' width='16' height='27' rx='3'/%3E%3Cpath d='M60 76h4M22 66l3 6 7 1-5 5 1 7-6-3-6 3 1-7-5-5 7-1z'/%3E%3Ccircle cx='100' cy='70' r='6'/%3E%3Cpath d='M94 104V92l12-2v12'/%3E%3Ccircle cx='91' cy='104' r='3'/%3E%3Ccircle cx='103' cy='102' r='3'/%3E%3Ccircle cx='40' cy='104' r='7'/%3E%3Cpath d='M40 100v4l3 2M60 6l2 4M70 34h8M8 50l4-2'/%3E%3C/svg%3E") 0 0 / 120px 120px; }
.waw-body:focus-visible { outline: 2px solid #008069; outline-offset: -3px; }
.waw-day { align-self: center; margin-bottom: 4px; padding: 5px 12px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12.5px; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.waw-bub { position: relative; max-width: 92%; border-radius: 0 8px 8px 8px; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13); }
.waw-bub::before { content: ""; position: absolute; top: 0; left: -8px; border-top: 11px solid #fff; border-left: 8px solid transparent; }
.waw-typing, .waw-msg { display: none; }
.wapp.is-typing .waw-typing { display: flex; gap: 4px; padding: 13px 14px; }
.waw-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: waw-dot 1.2s infinite ease-in-out; }
.waw-typing i:nth-child(2) { animation-delay: .15s; }
.waw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes waw-dot { 0%, 60%, 100% { transform: none; opacity: .55; } 30% { transform: translateY(-5px); opacity: 1; } }
.wapp.is-msg .waw-msg { display: block; padding: 7px 9px 8px 10px; color: #111b21; animation: waw-in .28s ease-out; }
.waw-time { float: right; margin: 7px -2px -5px 12px; color: #667781; font-size: 11px; line-height: 15px; }
@keyframes waw-in { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.waw-bar { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #f0f2f5; cursor: pointer; }
.waw-field { display: flex; flex: 1; align-items: center; gap: 8px; min-width: 0; height: 44px; margin: 0; padding: 0 6px 0 12px; border-radius: 22px; background: #fff; color: #54656f; cursor: text; }
.waw-field:focus-within { box-shadow: 0 0 0 2px #00a884; }
.waw-field svg { flex: none; width: 24px; height: 24px; }
.wapp .waw-in { flex: 1; min-width: 0; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; outline: 0; background: transparent; box-shadow: none; color: #111b21; font: inherit; font-size: 15px; letter-spacing: 0; text-transform: none; cursor: text; }
.waw-in::placeholder { color: #8696a0; opacity: 1; }
.waw-send { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #00a884; color: #fff !important; box-shadow: 0 1px 3px rgba(11, 20, 26, .2); }
.waw-send:hover { background: #008f6f; }
.waw-send:focus-visible { outline: 2px solid #075e54; outline-offset: 2px; }
.waw-send svg { width: 22px; height: 22px; margin-left: 3px; }
@media (max-width: 820px) {
  .wapp { right: max(14px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); }
  .waw-btn { width: 56px; height: 56px; }
  .waw-btn svg { width: 31px; height: 31px; }
  .waw-win { bottom: 70px; max-height: calc(100svh - 170px); }
  .wapp .waw-in { font-size: 16px; } /* iOS не увеличивает страницу при фокусе */
  /* набор в форме страницы на телефоне — виджет не закрывает поле и клавиатуру (№97) */
  html.is-typing .wapp { display: none; }
}
/* калькулятор на телефоне: липкая плашка цены внизу — виджет встаёт над ней */
@media (max-width: 640px) { body.cb-on .wapp { --waw-lift: 70px; } }
/* крестик закрытия — явный: светлый круг на зелёной шапке */
.wapp .waw-x { background: rgba(255, 255, 255, .18); }
.wapp .waw-x:hover { background: rgba(255, 255, 255, .3); }
/* телефон (verstka 03.11, правило фабрики №138): окно компактное — не выше ~40% экрана, справа внизу над кнопкой,
   не закрывает блок страницы целиком; анимация набора, сообщение, поле и отправка — те же, без плашки «Сегодня» */
@media (max-width: 640px) {
  .waw-win { bottom: 66px; width: min(300px, calc(100vw - 28px)); max-height: 40vh; max-height: 40svh; border-radius: 14px; }
  .waw-head { min-height: 50px; padding: 6px 6px 6px 10px; gap: 6px; }
  .waw-hl { gap: 9px; }
  .waw-ava, .wapp .waw-ava--ph img { width: 34px; height: 34px; }
  .waw-ava img { width: 23px; height: 23px; }
  .waw-ava::after { width: 9px; height: 9px; }
  .waw-nm b { font-size: 15px; }
  .waw-st { font-size: 12px; }
  .wapp .waw-x { width: 36px; height: 36px; }
  .waw-x svg { width: 20px; height: 20px; }
  .waw-day { display: none; }
  .waw-body { flex: 1 1 auto; min-height: 0; padding: 8px 10px 8px 16px; overflow-y: auto; overscroll-behavior: contain; }
  .wapp.is-msg .waw-msg { padding: 6px 8px 7px 9px; font-size: 13.5px; line-height: 1.33; }
  .waw-time { margin-top: 5px; font-size: 10.5px; }
  .wapp.is-typing .waw-typing { padding: 10px 12px; }
  .waw-bar { flex: none; gap: 6px; padding: 6px 8px; }
  .waw-field { height: 38px; padding: 0 4px 0 10px; gap: 6px; }
  .waw-field svg { width: 21px; height: 21px; }
  .waw-send { width: 38px; height: 38px; }
  .waw-send svg { width: 19px; height: 19px; }
}
/* 04.11 — общий образец окна WhatsApp для всех сайтов фабрики: тёмно-зелёная шапка «Имя, должность» / «в сети»,
   крестик в светлом круге; ровная бежевая середина, белый пузырь со скруглёнными углами и временем; поле «Сообщение»
   и кнопка отправки — на том же бежевом фоне; красный значок «1» на кнопке. Поведение и размеры телефона — прежние. */
.waw-head { min-height: 70px; padding: 12px 12px 12px 14px; gap: 8px; background: #075e54; }
.waw-ava { background: #fff; }
.waw-ava::after { display: none; }
.waw-nm { gap: 1px; }
.waw-nm b { font-size: 17px; font-weight: 500; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
.waw-st { font-size: 13.5px; opacity: .8; }
.waw-body { padding: 14px 14px 6px; background: #efeae2; }
.waw-body:focus-visible { outline-color: #075e54; }
.waw-bub { max-width: 100%; border-radius: 12px; box-shadow: 0 1px 2px rgba(11, 20, 26, .12); }
.waw-bub::before { display: none; }
.wapp.is-msg .waw-msg { padding: 11px 12px 8px 12px; font-size: 15px; line-height: 1.45; }
.waw-time { margin: 6px -2px -3px 12px; color: #8696a0; font-size: 11.5px; }
.waw-bar { gap: 8px; padding: 8px 12px 12px; background: #efeae2; }
.waw-field { box-shadow: 0 1px 2px rgba(11, 20, 26, .1); }
.waw-field svg { color: #8696a0; }
.waw-badge { top: -4px; right: -4px; background: #e53935; }
.waw-badge::after { content: "1"; } /* цифра — псевдоэлементом: текст внутри ссылки с aria-label давал axe label-content-name-mismatch */
@media (max-width: 640px) {
  .waw-head { min-height: 52px; padding: 7px 8px 7px 10px; gap: 6px; }
  .waw-nm b { font-size: 15px; }
  .waw-st { font-size: 12px; }
  .waw-body { padding: 10px 10px 4px; }
  .wapp.is-msg .waw-msg { padding: 8px 9px 7px 10px; font-size: 13.5px; line-height: 1.36; }
  .waw-bar { padding: 6px 8px 8px; }
}
@media print { .wapp { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .waw-btn::before, .waw-btn::after { display: none; }
  .waw-typing i, .wapp.is-msg .waw-msg { animation: none; }
  .waw-badge { animation-duration: .01s; }
  .wapp, .waw-win, .wapp.is-open .waw-win { transition: none; }
}

/* 16. «Отзывы» → площадки (#plat): оценок без ссылок на реальные карточки не выводим — левой колонки с оценкой нет;
   площадки в ряд на всю ширину вместо дыры слева (на мобильной — списком, как в макете) */
.plw.plw--norate { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 961px) {
  .plw--norate .pls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); }
  .plw--norate .pls li + li { border-top: 0; }
  .plw--norate .pls li { border-bottom: 1px solid var(--line); }
}
/* (п. 16, ≥961) в колонке площадки кнопка «Оставить отзыв» — под названием, как в мобильной версии макета: длинное
   «Яндекс Карталар» не наезжает на кнопку */
@media (min-width: 961px) {
  .plw--norate .pl { grid-template-columns: 64px minmax(0, 1fr); }
  .plw--norate .pl__go { grid-column: 2 / -1; justify-self: start; }
}

/* 17. Внутренние наезды на 1440 (inner-overflow.mjs): карточка профиля поверх фото (.pfs) — «ТЕПЛОЗАЩИТА» шире трети
   карточки → чуть меньше разрядка и внутренние отступы; цена услуги (.rp__p) — колонка не уже цены */
.pfs__m dt { letter-spacing: .1em; }
.pfs__m div { padding-right: 8px; }
.pfs__m div + div { padding-left: 10px; }
.rp__p { min-width: max-content; }

/* 18. Шапка 1361–1600 px: в меню все пункты (≤1360 макет сам скрывает лишние), на kk/en и ru-1366 последний пункт
   («Байланыс», «Contacts», «Контакты») упирался в логотип → меньше промежутки и разрядка, состав меню как в макете */
@media (min-width: 1361px) and (max-width: 1600px) {
  .hd .nav { gap: clamp(12px, 1.2vw, 20px); }
  .hd .nav a { letter-spacing: .1em; }
  .hd__l { gap: clamp(14px, 1.4vw, 24px); }
}

/* ===== maket №130 (поток maket): картинки строго по пропорциям макета =====
   В макете у <img> нет атрибутов width/height, а базовое правило img { max-width: 100% } высоту не задаёт → рамки
   держит aspect-ratio слота (.art__fig 16/9, .brw__ph 5/4, .snap__ph 4/3, .tm__ph 16/10, .prod__pair 3/2).
   Сайт (Binder.img, dynamic.ts) ставит width/height для CLS; атрибут height превращается в высоту 1024–1152 px и
   отменяет aspect-ratio → высокие узкие кадры («Из каких профилей», статья, «до/после», рассрочка, о компании).
   Нулевая специфичность: любое правило макета с height (cover-рамки height: 100%) по-прежнему главнее. */
:where(img) { height: auto; }
/* №128: подпись «Редакция» без фото (Астана) */
.by.by--ed { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 900px) { .by.by--ed { grid-template-columns: minmax(0, 1fr); } }
/* (п. 17) контакты: способ связи (.way__v) — длинное значение (kk «Си Синхай к-сі, 17») переносится по словам, а не наезжает на кнопку */
.way__v { white-space: normal; overflow-wrap: anywhere; min-width: 0; }

/* ===== maket №130 (поток maket), п. 2: карта блока контактов (#contacts .ct__map) — размер рамки как в макете =====
   В макете рамка карты = высота левой колонки (align-items: stretch): 1440 → 787×597, 1280 → 700×579, 1920 → 1042×653.
   На сайте колонка выше (H2 в 3–4 строки вместо 2) и карта растягивалась до 787×705. Рамка больше не зависит от длины
   текста: высота — по замеру макета (≈ +0,112 px на 1 px ширины окна; ступени — там, где в макете переносится адрес). */
@media (min-width: 961px) {
  .ct { align-items: start; }
  .ct__map { min-height: 0; height: clamp(560px, calc(577px + (100vw - 1261px) * .112), 661px); }
}
@media (min-width: 961px) and (max-width: 1260px) { .ct__map { height: calc(610px + (100vw - 1021px) * .112); } }
@media (min-width: 2341px) { .ct__map { height: 585px; } }
@media (min-width: 961px) and (max-width: 1020px) { .ct__map { height: 631px; } }

/* 19. Длинные заголовки после №122/№124 (inner-overflow 360 на 1440): H1 со словом > 15 букв — меньший кегль на десктопе
   (перенос внутри слова в H1 некрасив); заголовок «Контакты» (.ct__l h2) и вкладки (.tw__sw) — перенос/дефисы, колонки не раздвигаются */
@media (min-width: 961px) { .hero h1.h1-xl { font-size: clamp(36px, min(4.3vw, 8vh), 92px); } }
.ct__l h2 { overflow-wrap: anywhere; hyphens: auto; }
.tw__sw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.tw__sw button { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }

/* 19. Карточки без своего фото (брак без замены, демо макета не подставляем, №87–95):
   строка прайса без миниатюры — текст и цена на всю ширину; панель «Что входит» — на подложке var(--soft) без картинки */
.fpl__i.fpl__i--noimg, .fpl__i--noimg { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 640px) { .fpl__i.fpl__i--noimg { grid-template-columns: minmax(0, 1fr) auto; } }
/* панель «Что входит» без фото: подложка на месте картинки (десктоп — на всю панель, мобильная — 4:5 над подписью, как у фото) */
.d2__ph0 { position: absolute; inset: 0; background: var(--soft); }
@media (max-width: 640px) { .d2__ph0 { position: relative; display: block; aspect-ratio: 4 / 5; } }
/* (п. 19) брак без замены в кадрах-стопках (кейсы .b1__ph и их миниатюры, вкладки .tw__ph): кадр прозрачный, видна подложка рамки */
img.img--none { background: var(--soft); }

/* 19. Прайс-лист товара (.fpl): строка без своей миниатюры (демо-срезы макета не выводим, аудит A013) — название на всю ширину */
.fpl__i.fpl__i--noimg { grid-template-columns: minmax(0, 1fr) auto; }

/* A028 (аудит 04.11): автоперенос только длинных слов — короткие («ОКНАХ», «ЗАМЕР») не режутся */
/* этап 12: порог поднят до 12 букв (по 5 с каждой стороны) — «ПЛАСТИКОВЫЕ» (11) больше не режется «ПЛАСТИ-КОВЫЕ» */
html { hyphenate-limit-chars: 12 5 5; -webkit-hyphenate-limit-before: 5; -webkit-hyphenate-limit-after: 5; }

/* A009 (этап 12): страница 404 — под фото первого экрана нет плашки фактов, отступ под неё на телефоне не нужен (дальше — отступ подвала макета) */
.pg--404 .hero__ph { margin-bottom: 0; }

/* A019 (этап 12): поле размера в калькуляторе выглядит как число макета (output), вводится с клавиатуры */
.dim__v .dim__in { width: 4.2ch; min-width: 0; padding: 0; border: 0; border-radius: 0; background: transparent; text-align: center; font: inherit; font-size: clamp(34px, 3vw, 52px); font-weight: 200; color: var(--ink); line-height: 1; font-variant-numeric: tabular-nums; cursor: text; -moz-appearance: textfield; }
.dim__v .dim__in:focus { outline: none; box-shadow: inset 0 -1px 0 var(--ink); }
.dim__v .dim__in:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; box-shadow: none; }

/* Этап 13 (К24, web-typography): на телефоне заголовки переносились с дефисом и там, где слово целиком помещается на строку
   («ПРОИЗВО-ДИТЕЛЯ», «ПЛАСТИ-КОВЫЕ» при 13 буквах). В макете переносов нет: дефис — только у слов от 16 букв, которые
   правда не помещаются («мультифункциональные»); остальное — прежние правила п. 12 */
@media (max-width: 640px) {
  .sec h2, .offer h2, .hero h1, .ph1 h1, h1.h1-fit { hyphenate-limit-chars: 16 7 6; -webkit-hyphenate-limit-before: 7; -webkit-hyphenate-limit-after: 6; }
}

/* Этап 13 (К24): «Новая статья» на /blog/ — автора нет (Астана, №128): подпись редакции без фото, дата справа */
.bfe__by--np { grid-template-columns: minmax(0, 1fr) auto; }

/* B011 (аудит 2, 11.11): калькулятор — сообщение под полем размера, когда введено меньше/больше допустимого (site.js, aria-live) */
.dim__msg { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--acc); }
.dim__msg:empty { margin-top: 0; }

/* 20. Блок отзывов по образцу moskitnyesetki.kz (владелица 12.11, src/design/dynamic.ts renderReviews): слева — заголовок, общий
   рейтинг «5,0 ★★★★★ на основании N отзывов», карточки источников (.rate — ссылки на карточки 2ГИС/Яндекс/Google, «Наш сайт»),
   «Оставить отзыв»; справа — лента .rv в две колонки, «Показать ещё N», «Смотреть все отзывы». Углы прямые — как во всём макете okna. */
.sec--rev .rev { display: grid; grid-template-columns: minmax(300px, .6fr) minmax(0, 1.4fr); gap: clamp(12px, 1.4vw, 24px); align-items: start; }
.rev__h { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: clamp(22px, 2.2vw, 36px); background: var(--soft); }
.rev__h .eyebrow { margin: 0; }
.sec .rev__h h2 { font-size: clamp(30px, 2.5vw, 50px); }
.rev__n { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 14px; row-gap: 4px; font-size: 13.5px; line-height: 1.35; color: var(--mut); }
.rev__n b { grid-row: span 2; font-size: clamp(56px, 4.6vw, 80px); font-weight: 200; line-height: .85; letter-spacing: -.04em; color: var(--acc); font-variant-numeric: tabular-nums; }
.rev .stars, .rv > .stars, .rev__n .stars, .rate__s { display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: #d6a33a; }
.rates { display: grid; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.rate { display: flex; align-items: center; gap: 14px; height: 100%; padding: 12px 16px 12px 12px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; }
.rate:hover, .rate:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); }
.rate__lg { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); overflow: hidden; }
.rate__lg img { width: 26px; height: 26px; object-fit: contain; }
.rate__lg svg { width: 100%; height: 100%; display: block; }
.rate__op { display: grid; place-items: center; width: 100%; height: 100%; font-style: normal; font-size: 12px; font-weight: 500; letter-spacing: .04em; color: #fff; background: var(--ink); }
.rate__t { flex: 1; min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.3; color: var(--tx); }
.rate__t b { font-size: 16px; font-weight: 500; color: var(--ink); }
.rate__r { display: grid; justify-items: end; gap: 4px; font-style: normal; }
.rate__r b { font-size: 30px; font-weight: 300; line-height: 1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; transition: color .2s; }
.rate:hover .rate__r b { color: var(--acc); }
.rate__s { font-size: 12px; letter-spacing: 1px; }
.rev__h .tlink, .rev__h .leave { align-self: center; }
.tlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.tlink:hover { text-decoration-thickness: 2px; }
.rev__h .leave__l { left: 50%; right: auto; transform: translateX(-50%); animation: none; }
.rev__r { display: flex; flex-direction: column; gap: clamp(12px, 1.4vw, 24px); min-width: 0; }
.rev__l { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 24px); align-items: start; }
.rev__l--all { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rev__l--empty { display: block; }
.rev__l .rv { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 1.8vw, 28px); background: var(--soft); min-width: 0; }
.rev__l .rv.is-more { display: none; }
.rv > blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.rv > blockquote p + p { margin-top: .6em; }
.rv > blockquote.is-o { display: block; -webkit-line-clamp: unset; }
.rv .rc__more { align-self: start; margin-top: -4px; }
.rv__ph { display: flex; gap: 8px; } .rv__ph button { width: 76px; height: 76px; overflow: hidden; cursor: zoom-in; } .rv__ph img { width: 100%; height: 100%; object-fit: cover; }
.rv figcaption { display: grid; gap: 2px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.45; color: var(--mut); }
.rv figcaption b { font-size: 15px; font-weight: 500; color: var(--ink); }
.rv figcaption a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rv figcaption a:hover { color: var(--acc); }
.rev__more { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 4px; }
.rev__more [hidden] { display: none; }
.rev .rv-first { border: 0; padding: clamp(24px, 3vw, 40px); background: var(--soft); }
/* страница «Отзывы»: общий рейтинг слева, карточки источников в ряд (как .rates3 образца) */
.plw--rates { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 96px); align-items: center; }
.plw--rates .rev__n b { font-size: clamp(72px, 7vw, 120px); }
.rates3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.rates3 .rate { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; padding: 14px 16px; }
.rates3 .rate__r { grid-column: 2; grid-row: 1; }
.rates3 .rate__t { grid-column: 1 / -1; grid-row: 2; }
/* узкая левая колонка (1001–1280px): название и число отзывов — под логотипом и оценкой */
@media (min-width: 1001px) and (max-width: 1280px) {
  .rev__h .rate { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px 12px; }
  .rev__h .rate__r { grid-column: 2; grid-row: 1; }
  .rev__h .rate__t { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 1000px) {
  .sec--rev .rev { grid-template-columns: minmax(0, 1fr); }
  .rev__l--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plw--rates { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .rev__l, .rev__l--all { grid-template-columns: minmax(0, 1fr); }
  .rates3 .rate { display: flex; }
  .rev__more .btn { width: 100%; }
  .rev__h .leave__l { left: 0; right: auto; transform: none; }
}

/* 21. Окно «Оставить отзыв» — форма отзыва сайта с модерацией (владелица 12.11, src/design/ReviewModal.tsx). В макете формы нет —
   собрано из его элементов: белый лист, линии var(--line), без скруглений, подписи капсом (.cap), кнопка .btn, крестик как у .lb__x,
   звёзды — цвет звёзд блока отзывов (п. 20). Фон затемнён как у лайтбокса; на 390 px — во всю ширину, прокрутка внутри окна. */
html:has(dialog.rvf[open]) { overflow: hidden; }
.rvf { width: min(600px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; border-radius: 0;
  background: #fff; color: var(--tx); box-shadow: 0 18px 50px rgba(20, 20, 20, .16); overflow: auto; overscroll-behavior: contain; }
.rvf[open] { animation: fade .3s; }
.rvf::backdrop { background: rgba(20, 20, 20, .72); }
.rvf__in { position: relative; display: grid; gap: 14px; padding: clamp(24px, 3.2vw, 44px); }
.rvf h2 { padding-right: 56px; font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; line-height: 1.1; letter-spacing: -.01em; color: var(--ink); }
.rvf h2:focus { outline: none; }
.rvf__lead { color: var(--mut); max-width: 52ch; }
.rvf form { display: grid; gap: 20px; margin-top: 8px; }
.rvf__f { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.rvf__f > label, .rvf__f > legend { padding: 0; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.rvf__f > label span, .rvf__f > legend span { color: var(--acc); }
.rvf input[type=text], .rvf textarea { width: 100%; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 0; background: #fff; color: var(--ink);
  font: inherit; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .2s; -webkit-appearance: none; appearance: none; }
.rvf textarea { min-height: 136px; resize: vertical; line-height: 1.5; }
.rvf input[type=text]:hover, .rvf textarea:hover { box-shadow: inset 0 0 0 1px var(--gr); }
.rvf input[type=text]:focus-visible, .rvf textarea:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; box-shadow: inset 0 0 0 1px var(--ink); }
.rvf [aria-invalid="true"]:is(input, textarea) { box-shadow: inset 0 0 0 1px var(--acc); }
.rvf__hint { font-size: 14px; color: var(--mut); }
.rvf__err { font-size: 14px; color: var(--acc); }
.rvf__all { padding: 12px 16px; background: var(--soft); }
.rvf__hp { display: none; }
/* оценка: 5 радиокнопок звёздами (стрелки клавиатуры — как у радиогруппы), выбранная и до неё — золотые */
.rvf__stars { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; }
.rvf__stars label { position: relative; display: grid; place-items: center; width: 44px; height: 44px; font-size: 30px; line-height: 1; color: #8f8c86; cursor: pointer; transition: color .15s; }
.rvf__stars input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.rvf__stars label.is-on, .rvf__stars:hover label:has(~ label:hover), .rvf__stars label:hover { color: #d6a33a; }
.rvf__stars:hover label:hover ~ label { color: #8f8c86; }
.rvf__stars label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -2px; }
.rvf__rv { margin-left: 10px; font-size: 14px; color: var(--mut); }
.rvf__rt[aria-invalid="true"] .rvf__stars { box-shadow: inset 0 -1px 0 var(--acc); }
/* согласие */
.rvf__cs { grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; }
.rvf__cs input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); cursor: pointer; }
.rvf__cs > label { font-size: 14.5px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--tx); cursor: pointer; }
.rvf__cs a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rvf__cs .rvf__err { grid-column: 2; }
.rvf__cs:has([aria-invalid="true"]) input { outline: 1px solid var(--acc); outline-offset: 1px; }
.rvf__go { justify-self: start; }
.rvf__go[disabled] { opacity: .6; cursor: progress; }
.rvf__ok { display: grid; gap: 14px; justify-items: start; }
.rvf__ok p { color: var(--tx); max-width: 48ch; }
.rvf__x { position: absolute; right: 0; top: 0; width: 52px; height: 52px; background: #fff; }
.rvf__x:hover { background: var(--soft); }
.rvf__x b { position: absolute; inset: 0; }
.rvf__x b::before, .rvf__x b::after { content: ""; position: absolute; left: 15px; right: 15px; top: 50%; height: 1px; background: var(--ink); transform: rotate(45deg); }
.rvf__x b::after { transform: rotate(-45deg); }
@media (max-width: 640px) {
  .rvf { width: 100vw; max-height: 100dvh; height: 100dvh; margin: 0; }
  .rvf__go, .rvf__ok .btn { justify-self: stretch; width: 100%; }
}
/* 13.11 (foto-ubrat): «Наши заказы» из 3–4 карточек (карточки с убранными кадрами) — сетка миниатюр по числу карточек, без пустой колонки */
.b1__th:has(> button:nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.b1__th:has(> button:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1200px) {
  .b1__th:has(> button:nth-child(4):last-child) { grid-template-columns: repeat(4, 70vw); }
  .b1__th:has(> button:nth-child(3):last-child) { grid-template-columns: repeat(3, 70vw); }
}
