/* UNIT.FURNITURE — брендбук: White #FFFFFF, Graphite #3A3A3A,
   Soft Stone #F0F0F0, Interlace #BEBEBC, Deep Real Blue #1B1FEA.
   Helvetica Neue, выравнивание по левому краю, без теней и декора. */

@font-face { font-family: "UF Helvetica Neue"; src: url("../fonts/helvetica-neue-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "UF Helvetica Neue"; src: url("../fonts/helvetica-neue-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "UF Helvetica Neue"; src: url("../fonts/helvetica-neue-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  /* высота экрана в px, ставит common.js при загрузке: в Telegram svh меняется вместе с панелью и хиро прыгает */
  --vh: 1vh;
  --white: #FFFFFF;
  --graphite: #3A3A3A;
  --stone: #F0F0F0;
  --interlace: #BEBEBC;
  --blue: #1B1FEA;
  --container: 1680px;
  --ease: cubic-bezier(.22,.61,.36,1);
  /* скругления и тени — как на unitdeveloper.com */
  --r-sm: 10px;
  --r-md: 15px;
  --r-lg: 15px;
  --r-pill: 8px;
  --shadow: none;
  --shadow-sm: none;

  /* ---------- шкала отступов (дизайн-система) ----------
     Компонентные детали (иконки, паддинги пилюль, бордеры) вправе
     использовать значения ВНЕ шкалы — это тонкая настройка, не ритм.
     Но макетные отношения (интро→грид, секция→секция, group→group)
     обязаны брать значение ИЗ шкалы. Ключевые макетные роли:
       --sp-2xs (8)   — между тесно связанными строками (тег+текст)
       --sp-xs  (12)  — внутри маленьких групп (чипы, теги)
       --sp-sm  (16)  — между полями формы, мелкими элементами
       --sp-md  (24)  — между карточками в сетке (gap грида)
       --sp-lg  (32)  — под CTA-кнопками после лид-параграфа (короткий разрыв)
       --sp-xl  (40)  — после CTA-кнопок / фильтры / межбуквенные группы
       --sp-2xl (56)  — интро секции (h2[+lead]) → контентный грид
       --sp-3xl (64)  — между независимыми смысловыми блоками внутри секции
       --sp-4xl (120) — вертикальный ритм между секциями (.section) */
  --sp-2xs: 8px;
  --sp-xs: 12px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 40px;
  --sp-2xl: 56px;
  --sp-3xl: 64px;
  --sp-4xl: 120px;
  --sp-4xl-mobile: 72px; /* .section на ≤720px — полный 120 избыточен на маленьком экране */
  --sp-lead: 20px; /* заголовок → лид-параграф (page-sub, section-lead) */
}
@supports (height: 1svh) { :root { --vh: 1svh; } }

/* ---------- utility-классы отступов: вместо разрозненных inline style="margin-top:Npx" ---------- */
.mt-md { margin-top: var(--sp-md) !important; }
.mt-lg { margin-top: var(--sp-lg) !important; }
.mt-xl { margin-top: var(--sp-xl) !important; }

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* свайп у края ленты не тащит страницу и не листает назад в Telegram */
.mixb-track, .mixc-track, .mat-strip, .co-grid, #projGrid, .pp-track, .pp-thumbs, .sl-track { overscroll-behavior-x: contain; }
a, button, label, summary { -webkit-tap-highlight-color: transparent; }
/* кнопки и поля не наследуют шрифт сами, браузер ставит Arial */
button, input, select, textarea { font-family: inherit; }

body {
  font-family: "UF Helvetica Neue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  color: var(--graphite);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }

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

h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 48px); text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; }

.kicker {
  font-size: 14px;
  font-weight: 400;
  color: rgba(58,58,58,.7);
  margin-bottom: 24px;
}

/* ---------- scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: transparent; z-index: 120;
}
.scroll-progress span {
  display: block; height: 100%; width: 0;
  background: var(--blue);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--interlace);
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
/* прозрачный хедер поверх hero-фото на главной, до скролла */
.site-header.is-transparent {
  background: transparent; border-bottom-color: transparent;
}
/* в Telegram и Safari над шапкой при резинке и сворачивании панели была щель с контентом: тянем заливку вверх */
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 100vh; background: inherit; pointer-events: none; }
.site-header.is-transparent .logo,
.site-header.is-transparent .nav a,
.site-header.is-transparent .cart-btn,
.site-header.is-transparent .lang-dd-btn {
  color: var(--white);
}
.site-header.is-transparent .cart-btn { border-color: rgba(255,255,255,.4); }
.site-header.is-transparent .burger span { background: var(--white); }
.header-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 32px;
}
.logo {
  font-size: 22px; font-weight: 700; color: var(--graphite);
  text-decoration: none; letter-spacing: 0;
  flex-shrink: 0;
}
.logo span { font-weight: 400; }
.logo .logo-u { font-weight: 500; }
.logo .logo-u, .logo-u { color: var(--blue); font-weight: 500; }
.acc { color: var(--blue); }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--graphite); text-decoration: none; font-size: 15px;
}
.nav a:hover { color: var(--blue); }
.header-cta { display: flex; align-items: center; gap: 16px; }

.burger { display: none; background: none; border: 0; width: 40px; height: 40px; border-radius: var(--r-sm); cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--graphite); margin: 6px 8px; transition: transform .25s; }
.burger.open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 15px; font-weight: 500;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-blue { background: var(--blue); color: var(--white); }
.btn-line { border-color: var(--white); color: var(--graphite); background: var(--white); }
/* на светлом фоне (белом и сером) навигационная кнопка контуром, как в макетах */
.btn-line.on-white { border-color: var(--graphite); background: transparent; }
@media (hover: hover) {
  .btn-blue:hover { background: transparent; border-color: var(--blue); color: var(--blue); }
  .btn-line:hover { background: transparent; border-color: var(--graphite); color: var(--graphite); }
}

/* ---------- hero: карусель из нескольких интерьеров, текст у нижнего края (реф) ---------- */
.hero {
  position: relative;
  margin-top: -73px; /* хедер прозрачный поверх hero, фото уходит под шапку */
  height: 100vh; height: calc(var(--vh) * 100); min-height: 620px;
  overflow: hidden;
  display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  filter: saturate(1.08) contrast(1.05);
}
.hero-shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(62% 65% at 22% 96%, rgba(8,8,9,.72) 0%, rgba(8,8,9,.32) 55%, transparent 78%),
    linear-gradient(to right, rgba(8,8,9,.66) 0%, rgba(8,8,9,.4) 38%, rgba(8,8,9,.1) 62%, transparent 78%),
    linear-gradient(to bottom, rgba(20,20,22,.34) 0%, rgba(20,20,22,.06) 32%, rgba(20,20,22,.56) 100%),
    rgba(8,8,9,.28);
}
.hero-in {
  position: relative; z-index: 3;
  width: 100%;
  padding-bottom: 78px;
}
.hero-title { color: var(--white); }
.hero-sub p { font-size: 18px; font-weight: 400; max-width: 540px; color: rgba(255,255,255,.9); margin-top: 22px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.btn-ghost { border: 1px solid rgba(255,255,255,.75); color: var(--white); background: transparent; }
@media (hover: hover) { .btn-ghost:hover { background: var(--blue); border-color: var(--blue); } }
/* метки первого экрана из ТЗ: Собственное производство / Кастомизация / Indoor·Outdoor·Commercial */
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.hero-badges span {
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-pill);
  padding: 7px 14px;
}
/* десктоп: текст по центру full-bleed фото, а не прижат к нижнему краю */
@media (min-width: 1025px) {
  .hero { align-items: center; }
  .hero-in { padding-bottom: 0; padding-top: 73px; }
  .hero-dots { bottom: 56px; }
}
.hero-dots {
  position: absolute; z-index: 3; right: 40px; bottom: 78px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-dots button {
  width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .25s, transform .25s;
}
.hero-dots button.on { background: var(--white); transform: scale(1.5); }
.hero-scroll {
  position: absolute; z-index: 3; bottom: 28px;
  font-size: 12px; font-weight: 500;
  color: rgba(255,255,255,.7);
}
.hero-scroll-c { left: 50%; transform: translateX(-50%); }

/* ---------- marquee ---------- */
.marquee {
  overflow: hidden; white-space: nowrap;
  padding: 18px 0;
}
.marquee-track {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
.marquee-track span {
  font-size: 14px; font-weight: 500;
}
.marquee-track i { font-style: normal; color: var(--blue); margin: 0 24px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- sections ---------- */
.section { padding: var(--sp-4xl) 0; }
.section-gray { background: var(--stone); }

/* ---------- categories: крупная фото-витрина по табам (светлый фон, как у бренда) ---------- */
.cd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 32px; }
.cd-tab {
  font-family: inherit; font-size: 14px; font-weight: 400;
  padding: 11px 20px; cursor: pointer;
  background: transparent; color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill);
  transition: all .2s;
}
.cd-tab:hover { border-color: var(--graphite); }
.cd-tab.is-on { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.cd-hero {
  position: relative; overflow: hidden;
  height: 640px;
  border-radius: var(--r-lg);
}
.cd-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cd-hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,22,.72) 0%, rgba(20,20,22,.4) 34%, rgba(20,20,22,.05) 62%, transparent 80%);
}
.cd-hero-in { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 56px; max-width: 560px; }
.cd-hero-in h3 { color: var(--white); font-size: clamp(34px, 3.6vw, 52px); font-weight: 700; }
.cd-role { font-weight: 400; font-size: 17px; color: rgba(255,255,255,.85); margin-top: 14px; }
.cd-meta { display: flex; align-items: center; gap: 14px; margin: 24px 0 32px; }
.cd-meta b { font-weight: 500; font-size: 15px; color: var(--white); }
.cd-meta span { font-weight: 400; font-size: 14px; color: rgba(255,255,255,.7); padding-left: 14px; border-left: 1px solid rgba(255,255,255,.35); }

/* ---------- catalog ---------- */
.catalog-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 48px; flex-wrap: wrap;
}
.catalog-note { font-size: 15px; font-weight: 400; max-width: 40ch; }

.tabs { display: flex; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.tab {
  font-family: inherit; font-size: 14px; font-weight: 400;
  padding: 10px 20px; cursor: pointer;
  background: transparent; color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill);
  transition: all .2s;
}
.tab:hover { border-color: var(--graphite); }
.tab.active { background: var(--graphite); color: var(--white); border-color: var(--graphite); }

.products {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-top: 48px;
}
.product {
  background: var(--white); cursor: pointer;
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid transparent;
  transition: border-color .2s var(--ease);
}

.p-meta { padding: 20px; }
.p-cat-row { display: flex; align-items: center; justify-content: space-between; }
.p-cat { font-size: 12px; font-weight: 500; color: var(--blue); }
.p-swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(19,19,19,.14); flex-shrink: 0; }
.p-name { font-size: 18px; font-weight: 600; margin-top: 6px; }
.p-dims { font-size: 14px; font-weight: 400; margin-top: 4px; color: var(--graphite); }
.p-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--stone);
}
.p-price { font-size: 13px; font-weight: 400; }
.p-link { font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: none; }

/* ---------- hero title cascade + parallax ---------- */
.hero-title .w {
  display: inline-block;
  opacity: 0; transform: translateY(0.6em);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.hero-title.in .w { opacity: 1; transform: none; }


/* ---------- spotlight on product cards ---------- */
.product { position: relative; }


/* ---------- карточка: одна чистая фотка (интерьер, если есть — без обрезки), бейдж, «в заявку» ---------- */
.p-media {
  position: relative; aspect-ratio: 4 / 3;
  background: var(--stone); overflow: hidden;
}
.p-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.product:hover .p-photo { transform: scale(1.02); }
.p-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: rgba(58,58,58,.32);
}
.p-placeholder svg { width: 25%; max-width: 56px; height: auto; }
.p-placeholder span {
  font-size: 11px; font-weight: 500;
  color: rgba(58,58,58,.4);
}
.pp-main .p-placeholder svg { max-width: 84px; }
.cart-item-ph {
  width: 64px; height: 64px; flex-shrink: 0; border-radius: var(--r-sm);
  background: var(--stone); color: rgba(58,58,58,.3);
  display: flex; align-items: center; justify-content: center;
}
.cart-item-ph svg { width: 26px; height: 26px; }
.p-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  font-size: 11px; font-weight: 500;
  background: var(--white); color: var(--graphite);
  border-radius: var(--r-sm);
  padding: 6px 10px;
}
.p-add {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  width: 38px; height: 38px;
  font-family: inherit; font-size: 19px; line-height: 1;
  background: var(--white); color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.p-add:hover { border-color: var(--blue); color: var(--blue); }
.p-add.added { background: var(--blue); border-color: var(--blue); color: var(--white); }

.req-count {
  display: inline-block; margin-left: 8px;
  min-width: 20px; padding: 0 6px;
  background: var(--white); color: var(--blue);
  border-radius: 10px;
  font-size: 12px; line-height: 20px; font-weight: 700;
  text-align: center;
}
.req-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-size: 13px; color: var(--graphite);
  background: var(--white); border: 1px solid var(--interlace); border-radius: var(--r-pill);
  padding: 7px 12px; cursor: pointer;
  transition: border-color .2s, color .2s;
}
.chip span { font-size: 11px; color: var(--interlace); }
.chip:hover { border-color: var(--graphite); }
.chip:hover span { color: var(--graphite); }

/* ---------- about: полноэкранная фото-панель (реф SK Invest — .band) ---------- */
.band {
  position: relative; overflow: hidden;
  min-height: 640px; display: flex; align-items: center;
}
.band-media { position: absolute; inset: 0; }
.band-media img { width: 100%; height: 100%; object-fit: cover; }
.band-shade {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,22,.85) 0%, rgba(20,20,22,.68) 50%, rgba(20,20,22,.32) 78%, rgba(20,20,22,.1) 100%);
}
.band-in { position: relative; z-index: 2; width: 100%; max-width: var(--container); margin: 0 auto; padding: 80px 40px; }
.band-in h2 { color: var(--white); max-width: 560px; font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 24px; }
.band-in > p { font-weight: 400; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 46ch; }
.band-feats { list-style: none; margin: 36px 0 40px; display: flex; flex-direction: column; gap: 18px; max-width: 46ch; }
.band-feats li { display: flex; align-items: flex-start; gap: 14px; }
.band-feats svg { flex: 0 0 24px; width: 24px; height: 24px; margin-top: 1px; color: var(--white); }
.band-feats span { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.9); line-height: 1.5; }

/* ---------- roadmap: коннектор заполняется цветом по мере скролла ---------- */
.roadmap { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: var(--sp-2xl); }
.roadmap::before { content: ""; position: absolute; top: 27px; left: 6%; right: 6%; height: 1px; background: var(--interlace); }
.roadmap::after {
  content: ""; position: absolute; top: 27px; left: 6%; height: 1px; width: 0;
  background: var(--blue); transition: width 1.1s var(--ease);
}
.roadmap.in::after { width: var(--rm-fill, 88%); }
.rm-step { position: relative; text-align: center; }
.rm-num {
  width: 54px; height: 54px; margin: 0 auto 24px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 1px solid var(--interlace); border-radius: var(--r-sm);
  font-size: 18px; font-weight: 700; color: var(--graphite);
  position: relative; z-index: 2;
}
.rm-last .rm-num { background: var(--blue); border-color: var(--blue); color: var(--white); }
.rm-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.rm-step p { font-size: 15px; font-weight: 400; color: var(--graphite); line-height: 1.5; }

/* ---------- request ---------- */
.req-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.req-txt h2 { margin-bottom: 24px; }
.req-txt > p { font-size: 17px; font-weight: 400; max-width: 44ch; }
.req-cart-preview { margin-top: 40px; }
.req-contacts { margin-top: 40px; }
.req-c-label { font-size: 13px; font-weight: 500; margin-bottom: 12px; }
.req-contacts a {
  display: block; width: fit-content; font-size: 18px; color: var(--graphite);
  text-decoration: none; padding: 10px 0;
  border-bottom: 1px solid var(--interlace);
}
.req-contacts a:hover { color: var(--blue); border-color: var(--blue); }

.form .field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.form label {
  display: block; font-size: 13px; font-weight: 500;
  margin-bottom: 8px;
}
.form input[type="text"], .form input[type="tel"], .form input[type="email"], .form input[type="date"],
.form select, .form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--graphite);
  padding: 13px 14px;
  background: var(--white);
  border: 1px solid var(--interlace);
  outline: none; border-radius: var(--r-sm);
  transition: border-color .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); }
.form input.err, .form textarea.err { border-color: #d33; }
.form textarea { resize: vertical; }
.field-note {
  font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--graphite);
  background: var(--stone);
  border-radius: var(--r-sm); padding: 12px 14px; margin: -8px 0 20px;
}
.file-upload { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.file-upload-input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.file-upload-btn {
  display: inline-flex; align-items: center; white-space: nowrap;
  padding: 10px 18px; border: 1px solid var(--interlace); border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500; cursor: pointer; color: var(--graphite);
  transition: border-color .2s, color .2s;
}
.file-upload-btn:hover { border-color: var(--blue); color: var(--blue); }
.file-upload-input:focus-visible ~ .file-upload-name { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 3px; }
.file-upload-name { font-size: 13px; font-weight: 400; color: rgba(58,58,58,.8); }
.agree {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; font-weight: 400; margin: 24px 0;
  cursor: pointer;
}
.agree input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; margin: 2px 0 0;
  width: 19px; height: 19px; flex-shrink: 0; position: relative;
  border: 1.5px solid var(--interlace); border-radius: 5px;
  cursor: pointer; transition: background .15s, border-color .15s;
}
.agree input[type="checkbox"]:hover { border-color: var(--blue); }
.agree input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.agree input[type="checkbox"]:checked::after {
  content: ""; position: absolute; left: 6px; top: 2px;
  width: 5px; height: 9px; border: solid var(--white); border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.agree input[type="checkbox"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.btn-submit { width: 100%; border: 0; }
.form-done { margin-top: 16px; font-size: 15px; color: var(--blue); }

/* ---------- footer (как на unitdeveloper.com) ---------- */
.site-footer {
  background: var(--stone);
  border-radius: 24px 24px 0 0;
  margin-top: var(--sp-3xl);
  padding: clamp(48px, 6vw, 80px) 0 36px;
}
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.2fr) auto;
  gap: 40px;
}
.footer-brand .logo { font-size: 28px; }
.footer-brand address {
  margin-top: 22px; font-style: normal;
  color: rgba(58,58,58,.8); font-size: 14px; line-height: 1.6;
}
.footer-col h3, .footer-col h4 { font-size: 16px; font-weight: 500; margin-bottom: 22px; }
.footer-col a {
  display: block; color: rgba(58,58,58,.8); font-size: 14px;
  text-decoration: none; padding: 9px 0;
  transition: color .25s;
}
@media (hover: hover) { .footer-col a:hover { color: var(--blue); } }
.footer-social { display: flex; gap: 12px; align-self: start; }
.footer-social a {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  border: 1px solid var(--interlace);
  display: grid; place-items: center;
  color: var(--graphite); transition: .3s;
}
@media (hover: hover) {
  .footer-social a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
}
.footer-social svg { width: 22px; height: 22px; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 16px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px;
  border-top: 1px solid var(--interlace);
}
.footer-made { color: rgba(58,58,58,.8); font-size: 14px; }
.footer-made .heart { color: var(--blue); }
.footer-made b { color: var(--graphite); }
.footer-legal { display: flex; gap: 36px; color: rgba(58,58,58,.8); font-size: 14px; }
.footer-legal a { color: inherit; text-decoration: none; }
@media (hover: hover) { .footer-legal a:hover { color: var(--blue); } }

/* ---------- quick view ---------- */
.qv-overlay {
  position: fixed; inset: 0; background: rgba(58,58,58,.5);
  z-index: 140; opacity: 0; transition: opacity .3s;
}
.qv-overlay.show { opacity: 1; }
.qv {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(480px, 100%);
  background: var(--white); z-index: 150;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25,.8,.35,1);
  overflow-y: auto;
}
.qv.open { transform: translateX(0); }
.qv-close {
  position: absolute; top: 16px; right: 16px;
  width: 40px; height: 40px; font-size: 16px;
  background: var(--white); color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill); cursor: pointer;
}
.qv-close:hover { border-color: var(--graphite); }
.qv-img { background: var(--stone); height: 320px; display: flex; align-items: center; justify-content: center; }
.qv-img img { max-height: 84%; max-width: 88%; object-fit: contain; }
.qv-body { padding: 32px; }
.qv-body .kicker { margin-bottom: 8px; }
.qv-body h3 { font-size: 26px; font-weight: 700; margin-bottom: 24px; }
.qv-specs { width: 100%; border-collapse: collapse; margin-bottom: 32px; }
.qv-specs td {
  font-size: 15px; padding: 10px 0;
  border-bottom: 1px solid var(--stone);
  vertical-align: top;
}
.qv-specs td:first-child { font-weight: 400; width: 42%; padding-right: 16px; }
.qv .btn { width: 100%; text-align: center; border: 0; }

/* ---------- header cart icon ---------- */
.cart-btn {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--interlace);
  border-radius: var(--r-sm);
  color: var(--graphite); cursor: pointer;
  transition: border-color .2s, color .2s;
}
@media (hover: hover) { .cart-btn:hover { border-color: var(--graphite); } }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn .req-count { position: absolute; top: -8px; right: -8px; margin: 0; background: var(--blue); color: var(--white); }

/* ---------- cart drawer ---------- */
.cart {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: var(--white); z-index: 150;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  display: flex; flex-direction: column;
}
.cart.open { transform: translateX(0); }
.cart-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 24px 20px;
}
.cart-head h3 { font-size: 20px; }
.cart-count { margin-top: 4px; font-size: 14px; color: rgba(58,58,58,.64); }
.cart-count:empty { display: none; }
.cart-close {
  width: 36px; height: 36px;
  background: var(--white); color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill); cursor: pointer;
}
.cart-close:hover { border-color: var(--graphite); }
.cart-list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; }
.cart-item + .cart-item { border-top: 1px solid var(--stone); }
.cart-item-img { flex: none; display: block; width: 88px; height: 88px; border-radius: var(--r-sm); background: var(--stone); overflow: hidden; padding: 4px; }
.cart-item-img img { width: 100%; height: 100%; object-fit: contain; border-radius: calc(var(--r-sm) - 4px); }
.cart-item-img .cart-item-ph { width: 100%; height: 100%; }
.cart-item-main { flex: 1; min-width: 0; }
.cart-item-name { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; color: var(--graphite); text-decoration: none; }
.cart-item-cat { font-size: 14px; color: rgba(58,58,58,.64); margin-top: 4px; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; }
.qty { display: inline-flex; align-items: center; height: 40px; border: 1px solid var(--interlace); border-radius: var(--r-sm); }
.qty button { width: 40px; height: 38px; border: 0; background: none; font: inherit; font-size: 18px; color: var(--graphite); cursor: pointer; }
.qty input { width: 32px; height: 38px; padding: 0; border: 0; background: none; text-align: center; font: inherit; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--graphite); }
.qty input:focus { outline: none; }
.qty:focus-within { border-color: var(--graphite); }
.qty button:disabled { color: rgba(58,58,58,.3); cursor: default; }
.form-ok { padding: 48px; background: var(--white); }
.form-ok:focus { outline: none; }
.form-ok h3 { font-size: 24px; }
.form-ok p { margin-top: 16px; font-size: 16px; line-height: 1.5; color: rgba(58,58,58,.8); }
.f-send-err { margin-top: 16px; font-size: 15px; line-height: 1.4; color: #c62828; }
.faq-head { position: sticky; top: 96px; }
.faq details + details { border-top: 1px solid var(--interlace); }
.faq summary { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; font-size: 20px; font-weight: 500; line-height: 1.3; }
.faq details:first-child summary { padding-top: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq-ic { flex: 0 0 24px; width: 24px; height: 24px; transition: transform .2s; }
.faq details[open] .faq-ic { transform: rotate(180deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { max-width: 64ch; padding-bottom: 24px; font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); }
@media (max-width: 1024px) { .faq-head { position: static; } .how .faq { margin-top: 32px; } }
@media (max-width: 720px) {
  .faq summary { padding: 16px 0; font-size: 18px; }
  .faq details p { padding-bottom: 16px; font-size: 16px; }
}
.pp-missing { max-width: 720px; padding: 40px 0 16px; }
.pp-missing p { margin-top: 16px; font-size: 18px; line-height: 1.5; color: rgba(58,58,58,.8); }
.pp-missing .btn { margin-top: 32px; }
.form-ok-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
.contact-grid .form-ok { border: 1px solid var(--interlace); border-radius: var(--r-md); }
@media (max-width: 720px) { .form-ok { padding: 32px 20px; } .form-ok-actions { flex-direction: column; } .form-ok-actions .btn { width: 100%; } }
.cart-item-del { min-height: 40px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; color: rgba(58,58,58,.64); cursor: pointer; }
@media (hover: hover) {
  .cart-item-name:hover { color: var(--blue); }
  .qty button:hover, .cart-item-del:hover { color: var(--graphite); text-decoration: underline; }
}
.cart-empty { display: grid; justify-items: center; gap: 8px; padding: 64px 0 40px; text-align: center; }
.cart-empty svg { width: 48px; height: 48px; color: rgba(58,58,58,.4); margin-bottom: 8px; }
.cart-empty h4 { font-size: 20px; font-weight: 500; }
.cart-empty p { max-width: 280px; font-size: 15px; line-height: 1.5; color: rgba(58,58,58,.8); }
.cart-empty .btn { margin-top: 16px; }
.cart.is-empty .cart-foot { display: none; }
.cart-foot { padding: 20px 24px 24px; }
.cart-foot p { font-size: 13px; font-weight: 400; margin-bottom: 14px; color: rgba(58,58,58,.8); }
.cart-foot .btn { width: 100%; text-align: center; border: 0; }

/* reveal: только под html.rv (ставит common.js, если есть JS и нет reduced-motion); без класса всё видно сразу */
html.rv .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
html.rv .reveal.in { opacity: 1; transform: none; }
.qa .reveal, .qa .hero-title .w { opacity: 1 !important; transform: none !important; transition: none !important; }
/* position:fixed/sticky «запекается» повторно на полностраничных скриншотах за пределами вьюпорта — на время QA-снимков убираем */
.qa .site-header { position: static !important; }
.qa .hero { margin-top: 0 !important; }
.qa .roadmap::after { transition: none !important; }
.qa .marquee-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  html.rv .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}

/* ============================================================
   Многостраничник по ТЗ: новые компоненты
   ============================================================ */

/* ---------- шапка: язык + активный пункт ---------- */
.nav a.is-here { color: var(--blue); }
/* выбор языка: в закрытом виде код и стрелка, список с родными названиями */
.lang-dd { position: relative; }
.lang-dd-btn {
  display: flex; align-items: center; gap: 4px; height: 44px; padding: 0 8px;
  font-family: inherit; font-size: 14px; font-weight: 500; color: var(--graphite);
  background: none; border: 0; border-radius: var(--r-sm); cursor: pointer;
  transition: color .2s;
}
.lang-dd-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; transition: transform .2s; }
.lang-dd-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-dd-list {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 216px; margin: 0; padding: 8px 0; list-style: none;
  background: var(--white); border: 1px solid var(--interlace); border-radius: var(--r-sm);
}
.lang-dd-list[hidden] { display: none; }
.lang-dd-list a {
  display: flex; align-items: center; min-height: 44px; padding: 0 16px;
  font-size: 15px; font-weight: 400; color: var(--graphite); text-decoration: none; white-space: nowrap;
}
.lang-dd-list a[aria-current] { color: var(--blue); font-weight: 500; }
.lang-dd-list a:focus-visible { outline: 2px solid var(--blue); outline-offset: -2px; }
@media (hover: hover) {
  .lang-dd-btn:hover, .lang-dd-list a:hover { color: var(--blue); }
  .site-header.is-transparent .lang-dd-btn:hover { color: var(--white); opacity: .8; }
}

/* ---------- герой внутренних страниц ---------- */
.page-hero { padding: 88px 0 0; }
.page-hero .kicker { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 60px); text-wrap: balance; }
/* фирменное слово UNIT.FURNITURE в заголовке — вес логотипа (medium), не общий .acc-акцент */
.page-hero h1.brand-h1 { font-weight: 400; }
.page-hero h1.brand-h1 .acc { font-weight: 500; }
.page-hero .page-sub { font-size: 18px; font-weight: 400; max-width: 56ch; margin-top: var(--sp-lead); color: var(--graphite); }
/* единый отступ первой секции после page-hero на всех внутренних страницах */
.first-after-hero { padding-top: var(--sp-2xl); }

/* ---------- блок 2: четыре направления ---------- */
.dir-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: var(--sp-2xl); }
.dir-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 3 / 4; display: flex; align-items: flex-end;
  color: var(--white); text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.dir-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .dir-card:hover img { transform: scale(1.04); } }
.dir-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,22,.78) 0%, rgba(20,20,22,.28) 45%, rgba(20,20,22,.05) 70%);
}
.dir-in { position: relative; z-index: 2; padding: 24px; }
.dir-in h3 { color: var(--white); font-size: 20px; font-weight: 600; }
.dir-in p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.82); margin-top: 8px; line-height: 1.45; }
.section-lead { font-size: 17px; font-weight: 400; max-width: 56ch; margin-top: var(--sp-lead); }

/* ---------- блок 3: сетка категорий ---------- */
.catgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: var(--sp-2xl); }
.cg-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  aspect-ratio: 4 / 3; display: block; text-decoration: none;
  box-shadow: var(--shadow-sm);
}
.cg-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .cg-card:hover img { transform: scale(1.04); } }
.cg-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,22,.72) 0%, rgba(20,20,22,.18) 48%, transparent 70%);
}
.cg-in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cg-in h3 { color: var(--white); font-size: 21px; font-weight: 600; line-height: 1.2; }
.cg-in .cg-en { display: block; font-size: 12px; font-weight: 400; color: rgba(255,255,255,.65); margin-top: 6px; }
.cg-n {
  flex-shrink: 0; font-size: 13px; font-weight: 500;
  color: var(--white); background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.35); border-radius: var(--r-pill);
  padding: 6px 12px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* ---------- блок 4: готовые решения (бенто: один крупный + 3 поменьше) ---------- */
.sol-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas: "main tile1 tile2" "main tile3 tile3";
  gap: 24px; margin-top: var(--sp-2xl);
}
.sol-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  min-height: 380px; display: flex; align-items: flex-end;
  text-decoration: none; box-shadow: var(--shadow-sm);
}
.sol-tile1 { grid-area: tile1; }
.sol-tile2 { grid-area: tile2; }
.sol-tile3 { grid-area: tile3; min-height: 180px; }
@media (max-width: 1024px) {
  .sol-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "tile1 tile2" "tile3 tile3"; }
}
@media (max-width: 720px) {
  .sol-grid { grid-template-columns: 1fr; grid-template-areas: "main" "tile1" "tile2" "tile3"; gap: 16px; }
  .sol-tile3 { min-height: 300px; }
}
.sol-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .sol-card:hover img { transform: scale(1.03); } }
.sol-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,22,.8) 0%, rgba(20,20,22,.3) 50%, rgba(20,20,22,.04) 75%);
}
.sol-in { position: relative; z-index: 2; padding: 28px; }
.sol-in h3 { color: var(--white); font-size: 24px; font-weight: 600; }
.sol-in p { font-size: 15px; font-weight: 400; color: rgba(255,255,255,.85); margin-top: 10px; max-width: 46ch; line-height: 1.5; }
.sol-link { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 500; color: var(--white); border-bottom: 1px solid transparent; padding-bottom: 3px; transition: border-color .2s; }
@media (hover: hover) { .sol-card:hover .sol-link { border-color: rgba(255,255,255,.6); } }
.sol-featured { grid-area: main; outline: 2px solid var(--blue); outline-offset: -2px; }
.sol-flag {
  position: absolute; z-index: 3; top: 20px; left: 20px;
  font-size: 12px; font-weight: 500;
  background: var(--blue); color: var(--white);
  border-radius: var(--r-sm); padding: 7px 12px;
}

/* ---------- блок 5: кастомизация (хаб + 4 направления) ---------- */
.custom-hub {
  display: grid; grid-template-columns: 1fr 1.15fr 1fr;
  grid-template-areas: "a hub b" "c hub d";
  gap: 24px; margin-top: 56px;
}
.ch-card {
  background: var(--white); border: 1px solid var(--interlace);
  border-radius: var(--r-md); padding: 28px;
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
@media (hover: hover) { .ch-card:hover { border-color: var(--blue); } }
.ch-card h3 { font-size: 19px; font-weight: 600; }
.ch-card p { font-size: 14px; font-weight: 400; margin-top: 10px; line-height: 1.5; }
.ch-icon { width: 28px; height: 28px; color: var(--blue); margin-bottom: 18px; }
.ch-icon svg { width: 100%; height: 100%; }
.ch-a { grid-area: a; } .ch-b { grid-area: b; } .ch-c { grid-area: c; } .ch-d { grid-area: d; }
.ch-center {
  grid-area: hub; position: relative; overflow: hidden;
  border-radius: var(--r-md); min-height: 380px;
  display: flex; align-items: flex-end;
  box-shadow: var(--shadow-sm);
  background-color: #242424;
}
.ch-blueprint { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: center; padding: 32px 20px 0; opacity: .85; }
.ch-blueprint svg { width: 100%; height: auto; max-width: 320px; }
.ch-center::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,20,22,.85) 0%, rgba(20,20,22,.15) 55%, transparent 78%); }
.ch-center-in { position: relative; z-index: 2; padding: 28px; }
.ch-center-in h3 { color: var(--white); font-size: 22px; font-weight: 600; }
.ch-center-in p { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.85); margin-top: 8px; line-height: 1.5; }

/* ---------- блок 6: материалы ---------- */
.mat-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: var(--sp-2xl); }
.mat-item { text-decoration: none; color: inherit; }
.mat-photo { overflow: hidden; border-radius: var(--r-md); aspect-ratio: 1 / 1; box-shadow: var(--shadow-sm); }
.mat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .mat-item:hover .mat-photo img { transform: scale(1.05); } }
.mat-item h3 { font-size: 18px; font-weight: 600; margin-top: 18px; }
.mat-item p { font-size: 14px; font-weight: 400; margin-top: 6px; line-height: 1.5; }

/* ---------- блок 7: влажность и эксплуатация ---------- */
.clim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.clim-args { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.clim-arg { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.clim-num { font-size: 15px; font-weight: 700; color: var(--blue); padding-top: 2px; }
.clim-arg h3 { font-size: 18px; font-weight: 600; }
.clim-arg p { font-size: 15px; font-weight: 400; margin-top: 6px; line-height: 1.55; }
.clim-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.clim-photo { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 560px; box-shadow: var(--shadow); }
.clim-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pill-tag {
  font-size: 13px; font-weight: 400; color: var(--graphite);
  border: 1px solid var(--interlace); border-radius: var(--r-pill);
  padding: 8px 14px;
}

/* ---------- блок 8: проекты (masonry) ---------- */
.proj-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.proj-masonry { columns: 3; column-gap: 24px; margin-top: 40px; }
.proj-card {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  margin-bottom: 24px; break-inside: avoid; display: block;
  box-shadow: var(--shadow-sm);
}
.proj-card img { width: 100%; display: block; transition: transform .6s var(--ease); }
@media (hover: hover) { .proj-card:hover img { transform: scale(1.03); } }
.proj-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,22,.66) 0%, transparent 45%);
}
.proj-in { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 20px; }
.proj-in h3 { color: var(--white); font-size: 18px; font-weight: 600; }
.proj-in p { font-size: 13px; font-weight: 400; color: rgba(255,255,255,.78); margin-top: 4px; }
.proj-card.hide { display: none; }

/* ---------- блок 10: роадмап на 5 шагов ---------- */
.roadmap-5 { grid-template-columns: repeat(5, 1fr); }

/* ---------- блок 11: финальный CTA ---------- */
/* ---------- финальный CTA: тёмная фото-панель + настоящая форма заявки рядом ---------- */
.final-panel {
  display: grid; grid-template-columns: 1fr 1.05fr;
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
}
.final-side { position: relative; padding: 56px 48px; display: flex; align-items: center; min-height: 620px; }
.final-side-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final-side-shade {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(20,20,22,.92) 0%, rgba(20,20,22,.76) 55%, rgba(20,20,22,.6) 100%);
}
.final-side-in { position: relative; z-index: 2; }
.final-side-in h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 36px); max-width: 16ch; }
.final-side-in > p { color: rgba(255,255,255,.8); font-weight: 400; font-size: 16px; line-height: 1.55; margin-top: 16px; max-width: 40ch; }
.final-contacts { margin-top: 32px; display: flex; flex-direction: column; gap: 2px; }
.final-contacts a {
  display: flex; align-items: center; gap: 14px; width: fit-content;
  font-size: 16px; color: var(--white); text-decoration: none;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.2);
}
@media (hover: hover) { .final-contacts a:hover { color: var(--blue); border-color: var(--blue); } }
.final-contacts svg { width: 20px; height: 20px; flex-shrink: 0; }
/* модификатор для использования на светлом фоне (contacts.html) — .final-contacts по умолчанию рассчитан на тёмную фото-панель */
.final-contacts.on-light a { color: var(--graphite); border-color: var(--interlace); }
@media (hover: hover) { .final-contacts.on-light a:hover { color: var(--blue); border-color: var(--blue); } }
.final-qr { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.final-qr img { width: 84px; height: 84px; border-radius: var(--r-sm); padding: 6px; background: var(--white); }
.final-qr p { font-size: 12px; font-weight: 400; max-width: 22ch; line-height: 1.5; color: rgba(255,255,255,.65); }
.final-note { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.5); margin-top: 24px; line-height: 1.6; }
.final-form { background: var(--white); padding: 48px; margin: 0; }

/* ---------- каталог: фильтры ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 40px; }
.filters-label { font-size: 13px; font-weight: 500; color: rgba(58,58,58,.8); }

/* ---------- кастомный дропдаун (заменяет нативный select) ---------- */
.csel { position: relative; }
.csel-native { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.csel-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-width: 176px;
  font-family: inherit; font-size: 14px; color: var(--graphite);
  padding: 10px 14px; background: var(--white); cursor: pointer;
  border: 1px solid var(--interlace); border-radius: var(--r-sm);
  transition: border-color .2s;
}
.csel-btn:hover, .csel.open .csel-btn { border-color: var(--graphite); }
.csel-btn svg { width: 14px; height: 14px; flex-shrink: 0; color: rgba(58,58,58,.8); transition: transform .2s; }
.csel.open .csel-btn svg { transform: rotate(180deg); }
.csel-list {
  position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; min-width: 100%;
  background: var(--white); border: 1px solid var(--interlace); border-radius: var(--r-sm);
  box-shadow: var(--shadow-sm); padding: 6px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.csel.open .csel-list { opacity: 1; visibility: visible; transform: none; }
.csel-opt {
  font-size: 14px; color: var(--graphite); white-space: nowrap;
  padding: 9px 12px; border-radius: 8px; cursor: pointer;
  transition: background .15s, color .15s;
}
.csel-opt:hover { background: var(--stone); }
.csel-opt.is-sel { color: var(--blue); font-weight: 500; }
.catalog-empty { padding: 64px 0; text-align: center; }
.catalog-empty p { font-size: 16px; font-weight: 400; color: rgba(58,58,58,.6); max-width: 46ch; margin: 0 auto; }
.catalog-empty .hero-actions { justify-content: center; }

/* ---------- карточка товара: теги ---------- */
.p-name a { color: inherit; text-decoration: none; }
.p-media { display: block; }
.p-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.p-tag {
  font-size: 11px; font-weight: 400; color: rgba(58,58,58,.8);
  border: 1px solid var(--stone); background: var(--stone);
  border-radius: var(--r-pill); padding: 4px 10px;
}

/* ---------- страница товара ---------- */
.crumbs { font-size: 13px; font-weight: 400; color: rgba(58,58,58,.8); display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.pp-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; margin-top: 40px; }
.pp-main {
  position: relative;
  background: var(--stone); border-radius: var(--r-md);
  aspect-ratio: 4 / 3; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.pp-main img { max-width: 92%; max-height: 92%; object-fit: contain; }
.pp-main.is-life img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.pp-thumbs { display: flex; gap: 12px; margin-top: 12px; }
.pp-thumbs button {
  width: 88px; height: 66px; padding: 0; cursor: pointer;
  background: var(--stone); border: 1px solid var(--interlace); border-radius: var(--r-sm);
  overflow: hidden; transition: border-color .2s;
}
.pp-thumbs button.on { border-color: var(--blue); }
.pp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pp-info .kicker { margin-bottom: 10px; }
.pp-info h1 { font-size: clamp(30px, 3.2vw, 44px); }
.pp-desc { font-size: 16px; font-weight: 400; line-height: 1.6; margin-top: 18px; max-width: 52ch; }
.pp-info .p-tags { margin-top: 20px; }
.pp-price { font-size: 15px; font-weight: 500; margin-top: 24px; }
.pp-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }
.pp-specs { width: 100%; border-collapse: collapse; margin-top: 36px; }
.pp-specs td { font-size: 15px; padding: 12px 0; border-bottom: 1px solid var(--stone); vertical-align: top; }
.pp-specs td:first-child { font-weight: 400; width: 40%; padding-right: 16px; color: rgba(58,58,58,.75); }
.pp-custom {
  display: flex; gap: 16px; align-items: flex-start;
  margin-top: 28px; padding: 22px;
  background: var(--stone); border-radius: var(--r-md);
}
.pp-custom-icon { flex: 0 0 26px; width: 26px; height: 26px; color: var(--blue); margin-top: 2px; }
.pp-custom-icon svg { width: 100%; height: 100%; }
.pp-custom h3 { font-size: 15px; font-weight: 600; }
.pp-custom p { font-size: 14px; font-weight: 400; margin-top: 6px; line-height: 1.55; }
.pp-custom-note { color: rgba(58,58,58,.6); font-size: 13px; margin-top: 10px; }
.btn.added { background: var(--graphite); }

/* ---------- контакты ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; margin-top: var(--sp-2xl); }
.contact-list { display: flex; flex-direction: column; gap: 2px; }

/* ---------- юр. страницы ---------- */
.legal-wrap { max-width: 760px; margin: 0 auto; padding: 96px 40px 120px; }
.legal-wrap h1 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 8px; }
.legal-updated { font-size: 13px; font-weight: 400; color: rgba(58,58,58,.8); margin-bottom: 48px; }
.legal-wrap h2 { font-size: 20px; font-weight: 600; margin: 40px 0 14px; }
.legal-wrap p, .legal-wrap li { font-size: 15px; font-weight: 400; line-height: 1.7; }
.legal-wrap p + p { margin-top: 12px; }
.legal-wrap ul { padding-left: 20px; margin: 12px 0; }
.legal-wrap li { margin: 6px 0; }
.legal-wrap a { color: var(--blue); text-decoration: none; }
.legal-wrap a:hover { text-decoration: none; }
.legal-req { border: 1px solid var(--interlace); border-radius: var(--r-md); padding: 24px 28px; margin-top: 24px; }
.legal-req td { font-size: 15px; padding: 8px 0; vertical-align: top; }
.legal-req td:first-child { font-weight: 400; color: rgba(58,58,58,.6); width: 40%; padding-right: 20px; }
.legal-top { padding: 20px 0; }
.legal-top .logo { font-size: 20px; }

/* ---------- страницы «Решения» и «Материалы»: чередующиеся ряды ---------- */
.sol-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  background: var(--stone); border-radius: var(--r-lg);
  padding: 48px; margin-bottom: 24px;
}
.sol-row.rev .sol-row-photo { order: 2; }
.sol-row-photo { position: relative; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm); }
.sol-row-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol-row h2 { font-size: clamp(26px, 2.8vw, 38px); }
.sol-row .section-lead { margin-top: 14px; }
.sol-includes { list-style: none; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.sol-includes li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400; }
.sol-includes svg { flex: 0 0 19px; width: 19px; height: 19px; color: var(--blue); }
.model-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
a.pill-tag { text-decoration: none; transition: border-color .2s, color .2s; }
@media (hover: hover) { a.pill-tag:hover { border-color: var(--blue); color: var(--blue); } }
.sol-row .btn { margin-top: 28px; }

/* ---------- чек-лист кастомизации ---------- */
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-sm); margin-top: var(--sp-2xl); }
.check-item {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--interlace); border-radius: var(--r-sm);
  padding: 16px 18px; font-size: 15px; font-weight: 400;
  background: var(--white);
}
.check-item svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--blue); margin-top: 1px; }

/* ---------- роадмап на 6 шагов ---------- */
.roadmap-6 { grid-template-columns: repeat(6, 1fr); }

@media (max-width: 1024px) {
  .sol-row { grid-template-columns: 1fr; gap: 28px; padding: 32px; }
  .sol-row.rev .sol-row-photo { order: 0; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  /* вертикально сразу с планшета — 2 колонки со «сквозной» линией без коннектора читались плохо */
  .roadmap-6 { grid-template-columns: 1fr; row-gap: 32px; }
}
@media (max-width: 720px) {
  .check-grid { grid-template-columns: 1fr; }
  .sol-includes { grid-template-columns: 1fr; }
}

/* ---------- бенто-блок (реф. синий UNIT): смешанные по размеру карточки вместо плоского CTA ---------- */
.bento {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-areas: "main tile1 tile2" "main tile3 tile3";
  gap: 20px;
  margin-top: 56px;
}
.bento-main { grid-area: main; }
.bento-tile1 { grid-area: tile1; }
.bento-tile2 { grid-area: tile2; }
.bento-tile3 { grid-area: tile3; }
.bento-main {
  background: var(--graphite); color: var(--white);
  border-radius: var(--r-lg); padding: 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.bento-main h2 { color: var(--white); font-size: clamp(26px, 2.6vw, 36px); }
.bento-main p { color: rgba(255,255,255,.78); font-size: 16px; font-weight: 400; margin-top: 14px; max-width: 42ch; line-height: 1.55; }
.bento-main .hero-actions { margin-top: 32px; }
.bento-tile {
  background: var(--white); border: 1px solid var(--interlace);
  border-radius: var(--r-lg); padding: 26px;
  display: flex; flex-direction: column; justify-content: center;
}
.bento-tile .bento-icon { width: 26px; height: 26px; color: var(--blue); margin-bottom: 14px; }
.bento-tile .bento-icon svg { width: 100%; height: 100%; }
.bento-tile h3 { font-size: 17px; font-weight: 600; }
.bento-tile p { font-size: 13px; font-weight: 400; margin-top: 6px; line-height: 1.45; color: rgba(58,58,58,.7); }
.bento-tile a.bento-link {
  margin-top: 12px; display: inline-block; font-size: 13px; font-weight: 500;
  color: var(--blue); text-decoration: none; border-bottom: 1px solid transparent;
}
.bento-tile a.bento-link:hover { border-color: var(--blue); }
.bento-stat { font-size: 30px; font-weight: 700; color: var(--graphite); line-height: 1; }
@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "main main" "tile1 tile2" "tile3 tile3"; }
}
@media (max-width: 720px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "main" "tile1" "tile2" "tile3"; gap: 12px; margin-top: 40px; }
  .bento-main { padding: 28px; }
}


/* ---------- футер: слоган ---------- */
.footer-slogan { margin-top: 14px; font-size: 15px; font-weight: 400; color: rgba(58,58,58,.75); }
.footer-desc { margin-top: 10px; font-size: 13px; font-weight: 400; color: rgba(58,58,58,.8); max-width: 30ch; line-height: 1.6; }

/* ---------- mobile ---------- */
@media (max-width: 1024px) {
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .catgrid { grid-template-columns: repeat(2, 1fr); }
  .custom-hub { grid-template-columns: 1fr 1fr; grid-template-areas: "hub hub" "a b" "c d"; }
  .ch-center { min-height: 320px; }
  .mat-strip { grid-template-columns: repeat(2, 1fr); }
  .clim-grid { grid-template-columns: 1fr; gap: 40px; }
  .clim-photo { min-height: 380px; }
  .proj-masonry { columns: 2; }
  .roadmap-5 { grid-template-columns: 1fr; row-gap: 32px; }
  .final-panel { grid-template-columns: minmax(0, 1fr); }
  .final-side { min-height: 0; padding: 40px; }
  .pp-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 720px) {
  .page-hero { padding-top: var(--sp-2xl); }
  .first-after-hero { padding-top: var(--sp-xl); }
  .dir-grid { grid-template-columns: 1fr; gap: 16px; }
  .dir-card { aspect-ratio: 16 / 10; }
  .catgrid { grid-template-columns: 1fr; gap: 16px; }
  .custom-hub { grid-template-columns: 1fr; grid-template-areas: "hub" "a" "b" "c" "d"; gap: 16px; }
  .mat-strip { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mat-item h3 { font-size: 15px; margin-top: 12px; }
  .mat-item p { font-size: 13px; }
  .proj-masonry { columns: 1; }
  .roadmap-5 { grid-template-columns: 1fr; row-gap: 32px; }
  .final-qr { flex-direction: row; }
  .final-side { padding: 32px 20px; }
  .final-form { padding: 32px 24px; }
  /* компактная шапка: лого + язык + корзина + бургер должны влезть в 390 */
  .header-in { gap: 10px; }
  .header-in .logo { font-size: 17px; }
  .header-cta { gap: 8px; }
  .cart-btn { width: 40px; height: 40px; }
  .burger { width: 36px; height: 36px; }
  .burger span { margin: 5px 7px; }
  .legal-wrap { padding: 56px 20px 80px; }
  .pp-thumbs button { width: 72px; height: 54px; }
  .pp-actions .btn { flex: 1; text-align: center; }
  .filters { flex-direction: column; align-items: stretch; gap: 10px; }
  .filters .csel { flex: none; width: 100%; min-width: 0; }
  .filters .csel-btn { width: 100%; justify-content: space-between; }
  .filters-label { margin-bottom: 2px; }
}

/* ---------- старые мобильные правила ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .req-grid { grid-template-columns: 1fr; gap: 48px; }
  .cd-hero { height: 520px; }
  .roadmap { grid-template-columns: 1fr; row-gap: 32px; }
  .roadmap::before { display: none; }
}
@media (max-width: 720px) {
  .container { padding: 0 20px; }
  .section { padding: var(--sp-4xl-mobile) 0; }
  /* хиро чуть ниже экрана, чтобы был виден край следующего блока */
  .hero { height: calc(calc(var(--vh) * 100) - 66px); min-height: 560px; }
  .hero-in { padding-bottom: 48px; }
  .hero-dots, .hero-scroll { display: none; }
  .hero-badges { display: none; }
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--interlace);
    flex-direction: column; gap: 0; padding: 8px 20px 16px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .cd-tabs { margin: 28px 0 20px; }
  .cd-hero { height: 460px; }
  .cd-hero-in { padding: 32px 24px; max-width: none; }
  .band { min-height: 0; }
  .band-shade { background: linear-gradient(180deg, rgba(20,20,22,.30) 0%, rgba(20,20,22,.55) 40%, rgba(20,20,22,.92) 100%); }
  .band-in { padding: 56px 20px; }
  .band-in h2 { max-width: none; }
  .roadmap { grid-template-columns: 1fr; row-gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-social { grid-column: 1 / -1; }
  .footer-legal { gap: 16px; }
  .products { grid-template-columns: 1fr; gap: 20px; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 0 auto; max-width: 100%; text-align: center; }
  .hero .hero-actions .btn { flex: 1; }
  .field-row { grid-template-columns: 1fr; }
}

/* ============================================================
   Главная, 2026: шкала и типографика новой версии, адаптив под 1920
   ============================================================ */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 8px 24px; font-size: 16px; line-height: 1.2; }
.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 14px; }
.btn-white { background: var(--white); color: var(--graphite); border-color: var(--white); }
@media (hover: hover) { .btn-white:hover { color: var(--blue); } }

/* шапка 64: логотип, меню 14 medium, язык простым текстом, корзина без рамки */
.header-in { height: 64px; gap: 32px; }
.logo { font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.site-header.is-transparent .logo .logo-u { color: var(--white); }
.nav { gap: 24px; margin-right: auto; }
.nav a { font-size: 14px; font-weight: 500; padding: 12px 0; }
.header-cta { gap: 8px; }
.cart-btn { border: 0; }
.cart-btn svg { width: 22px; height: 22px; }

.home .hero { margin-top: -65px; height: calc(var(--vh) * 100); min-height: 600px; max-height: 980px; align-items: flex-end; }
.home .hero-in { display: grid; gap: 16px; justify-items: start; padding: 0 40px clamp(40px, calc(var(--vh) * 7), 80px); }
.hero-chip { display: inline-flex; align-items: center; min-height: 32px; padding: 4px 12px; margin-bottom: 8px; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); font-size: 14px; font-weight: 500; }
.home .hero-title { font-size: clamp(36px, 4.6vw, 64px); font-weight: 500; line-height: 1.04; letter-spacing: -.03em; max-width: 26ch; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; color: var(--white); max-width: 68ch; }
.home .hero-actions { margin-top: 24px; }
.hero-cap { position: absolute; z-index: 3; right: max(40px, (100% - var(--container)) / 2 + 40px); bottom: clamp(40px, calc(var(--vh) * 7), 80px); max-width: 24ch; text-align: right; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.86); }
.home .hero-dots { right: 32px; bottom: 32px; }

/* секция: сверху 96, h2 → подзаголовок 16, подзаголовок → контент 48, контент → кнопки 48 */
.home .section { padding: 96px 0; }
.home h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; line-height: 1.08; letter-spacing: -.025em; max-width: 36ch; }
.req-count[hidden] { display: none; }
.home h3 { font-weight: 500; letter-spacing: -.015em; }
.home .section-lead { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; font-weight: 400; max-width: 80ch; margin-top: 16px; }
.home .section-lead + * { margin-top: 48px; }
.home .sect-cta { margin-top: 48px; }
.home .band-in h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.home .band-in > p { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; max-width: 48ch; }
.home .band-feats { margin: 48px 0; }
.home .final-side-in h2 { font-size: clamp(28px, 3vw, 40px); }
.home .final-side-in > p { font-size: 17px; line-height: 1.45; max-width: 44ch; }
.home .clim-grid { align-items: start; }

/* категории: подпись и число моделей обычным текстом */
.cg-in { padding: 24px; }
.cg-in h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 500; }
.cg-n { background: none; border: 0; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 14px; font-weight: 400; color: rgba(255,255,255,.86); }
.cg-card::after { background: linear-gradient(to top, rgba(20,20,22,.62) 0%, rgba(20,20,22,.12) 42%, transparent 64%); }

/* каталог по комнатам */
.feat-rows { display: grid; gap: 56px; }
.feat-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.feat-head h3 { font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.feat-more { font-size: 14px; font-weight: 500; color: var(--blue); text-decoration: none; white-space: nowrap; padding: 12px 0; margin: -12px 0; }
@media (hover: hover) { .feat-more:hover { text-decoration: underline; text-underline-offset: 3px; } }
.products.feat-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 0; }
.product { border-radius: var(--r-sm); }
@media (hover: hover) { .product:hover { border-color: var(--interlace); } }
.p-media.is-studio-bg { background: var(--white); }
.p-photo.is-studio { object-fit: contain; padding: 24px; }
.p-cat { font-size: 14px; font-weight: 400; color: rgba(58,58,58,.7); }
.p-name { font-weight: 500; margin-top: 4px; }
.p-tag { font-size: 12px; }
.p-badge { font-size: 12px; }
.p-add { width: 40px; height: 40px; }

@media (max-width: 1180px) {
  .nav {
    position: fixed; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--interlace);
    flex-direction: column; gap: 0; padding: 8px 40px 16px; margin: 0;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; color: var(--graphite) !important; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 1024px) {
  .products.feat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) { .hero-cap { display: none; } }
@media (max-width: 720px) {
  .nav { top: 64px; padding: 8px 20px 16px; }
  .home .hero { height: calc(calc(var(--vh) * 100) - 66px); }
  .home .hero-in { padding: 0 20px 40px; }
  .home .section { padding: 56px 0; }
  .home .section-lead + * { margin-top: 32px; }
  .home .sect-cta { margin-top: 32px; }
  .catgrid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cg-card { aspect-ratio: 1 / 1; }
  .cg-in { padding: 12px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .cg-in h3 { font-size: 16px; }
  .cg-n { font-size: 13px; }
  .feat-rows { gap: 40px; }
  .feat-head { margin-bottom: 16px; }
  .products.feat-grid { gap: 12px; }
  .feat-grid .p-meta { padding: 12px; }
  .feat-grid .p-photo.is-studio { padding: 12px; }
  .feat-grid .p-name { font-size: 15px; }
  .feat-grid .p-dims { font-size: 13px; }
  .feat-grid .p-tags, .feat-grid .p-foot { display: none; }
  .feat-grid .p-add { width: 36px; height: 36px; top: 8px; right: 8px; }
  .home .band-feats { margin: 32px 0; }
}
.home .clim-grid { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1024px) { .home .clim-grid { grid-template-columns: 1fr; } }

/* полоса дизайнерам и финал: тот же отступ сверху, что у секций */
.home .band { min-height: 0; }
.home .band-in { padding: 96px 40px; }
.home .final-panel { border: 1px solid var(--interlace); }
.home .final-side { align-items: flex-start; min-height: 0; }
/* форма короче фото-колонки: держим её по центру белой карточки, а не пустоту под кнопкой */
.home .final-panel { background: var(--white); }
.home .final-form { align-self: center; }
@media (max-width: 720px) {
  .home .band-in { padding: 56px 20px; }
}

/* ---------- правки 2: Bold-заголовки, UNIT., 2×2, кастомизация, шаги, форма ---------- */
.home h2, .home .hero-title, .home .band-in h2, .home .final-side-in h2 { font-weight: 700; }
.u5 { font-style: normal; font-weight: 500; }
h1 .u5, h2 .u5, b .u5, strong .u5 { font-weight: inherit; }

.home .dir-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
.home .dir-card { aspect-ratio: 16 / 9; }
.home .dir-card:hover img { transform: none; }
.home .dir-in { padding: 32px; }
.home .dir-in h3 { font-size: clamp(20px, 2vw, 24px); font-weight: 500; }
.home .dir-in p { font-size: 16px; max-width: 44ch; }

.cust-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.home .cust-split h2 { max-width: none; }
.rows { display: grid; }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 40px; padding: 24px 0; border-bottom: 1px solid var(--interlace); align-items: start; }
.row:first-child { padding-top: 0; }
.row:last-child { border-bottom: 0; padding-bottom: 0; }
.row h3 { font-size: 20px; font-weight: 500; line-height: 1.3; }
.row p { font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); max-width: 52ch; }
.cust-photo { margin: 0; border-radius: var(--r-md); overflow: hidden; }
.cust-photo img { display: block; width: 100%; aspect-ratio: 9 / 10; object-fit: cover; }

.how { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.how-head { position: sticky; top: 96px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--interlace); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border-bottom: 0; padding-bottom: 0; }
.steps .n { font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--blue); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.steps p { font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); }

/* форма: все поля одной высоты и на всю ширину колонки */
.final-form { padding: 48px; }
.final-form .field { margin-bottom: 16px; }
.final-form .field-row { gap: 16px; }
.final-form label { font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.final-form input[type="text"], .final-form input[type="tel"], .final-form input[type="email"],
.final-form input[type="date"], .final-form textarea, .final-form .csel-btn {
  width: 100%; min-height: 52px; padding: 12px 16px; font-size: 16px; line-height: 1.4;
  border: 1px solid var(--interlace); border-radius: var(--r-sm); background: var(--white);
}
.final-form .csel { width: 100%; }
.final-form .csel-btn { min-width: 0; text-align: left; }
.final-form .csel-label { white-space: normal; line-height: 1.3; }
.final-form textarea { min-height: 120px; display: block; }
.final-form .agree { margin: 24px 0 24px; font-size: 14px; align-items: center; min-height: 44px; }
.final-form .agree input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
.final-form .agree input[type="checkbox"]:checked::after { left: 6px; top: 2px; }
.final-form .btn-submit { min-height: 56px; }

@media (max-width: 1024px) {
  .cust-split, .how { grid-template-columns: 1fr; }
  .how-head { position: static; }
  .cust-photo img { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .home .dir-grid { grid-template-columns: 1fr; gap: 12px; }
  .home .dir-card { aspect-ratio: 4 / 3; }
  .home .dir-in { padding: 20px; }
  .row { grid-template-columns: 1fr; padding: 16px 0; }
  .row h3, .steps h3 { font-size: 18px; }
  .row p, .steps p { font-size: 16px; }
  .steps li { grid-template-columns: 48px 1fr; padding: 16px 0; }
  .steps .n { font-size: 24px; }
  .final-form { padding: 32px 24px; }
  .final-form .field-row { grid-template-columns: 1fr; gap: 0; }
}
.home .final-side-in h2 { font-size: clamp(28px, 2.6vw, 40px); max-width: none; }
.final-form .agree { align-items: flex-start; }
.final-form .agree input[type="checkbox"] { margin-top: 0; }

/* ---------- правки 3: форма с ошибками, климат в материалах, тапы, моб. планка ---------- */
.final-form input.err, .final-form textarea.err { border-color: #C4320A; }
.final-form .agree input.err { border-color: #C4320A; }
.f-err { margin-top: 8px; font-size: 14px; line-height: 1.4; color: #C4320A; }
.final-form .agree + .f-err { margin: -16px 0 24px; }

.home .clim-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; margin-top: 64px; }
.home .clim-row .clim-arg { grid-template-columns: 48px 1fr; gap: 16px; }
.home .clim-row .clim-num { font-size: 20px; font-weight: 500; line-height: 1.3; padding: 0; }
.home .clim-row h3 { font-size: 20px; font-weight: 500; line-height: 1.3; }
.home .clim-row p { font-size: 17px; line-height: 1.45; margin-top: 8px; color: rgba(58,58,58,.8); }

/* кнопки не меньше 44px под палец; в шапке и у точек хиро — невидимое поле вокруг */
.p-add { width: 44px; height: 44px; }
.cart-close { width: 44px; height: 44px; }
.tab { min-height: 44px; }
.burger, .cart-btn, .hero-dots button { position: relative; }
.burger::after, .cart-btn::after { content: ''; position: absolute; inset: -4px; }
.hero-dots button::after { content: ''; position: absolute; inset: -9px; }

@media (max-width: 1024px) {
  .home .clim-row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 720px) {
  .home .clim-row { margin-top: 32px; padding-top: 32px; gap: 16px; }
  .home .clim-row h3 { font-size: 18px; }
  .home .clim-row p { font-size: 16px; }
  .final-qr { display: none; }
  .burger::after, .cart-btn::after { inset: -2px; }
}
@media (max-width: 720px) {
  .burger::after { inset: -4px; }
  .feat-grid .p-add::after { content: ''; position: absolute; inset: -4px; }
}
/* материалы и климат теперь один блок: подписи одной шкалы */
.home .mat-item h3 { font-size: 20px; font-weight: 500; line-height: 1.3; margin-top: 16px; }
.home .mat-item p { font-size: 16px; line-height: 1.45; margin-top: 8px; color: rgba(58,58,58,.8); }
.home .clim-row p { font-size: 16px; }
@media (max-width: 720px) {
  .home .mat-item h3 { font-size: 16px; margin-top: 12px; }
  .home .mat-item p { font-size: 14px; }
}

/* ============================================================
   Внутренние страницы: та же шкала и типографика, что на главной
   ============================================================ */
.section { padding: 96px 0; }
h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; }
h3 { font-weight: 500; letter-spacing: -.015em; }
.section-lead { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; font-weight: 400; max-width: 80ch; margin-top: 16px; }
.section-lead + *, .section h2 + :is(.catgrid, .list3, .products, .check-grid) { margin-top: 48px; }
.sect-cta { margin-top: 48px; }

/* шапка страницы: крошки, h1, подзаголовок */
.page-hero { padding: 48px 0 0; }
.page-hero .crumbs { margin-bottom: 24px; }
.page-hero h1, .page-hero h1.brand-h1 { font-size: clamp(36px, 4.6vw, 64px); font-weight: 700; line-height: 1.04; letter-spacing: -.03em; max-width: none; }
.page-hero .page-sub { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; max-width: 80ch; margin-top: 16px; }
.page-hero + .section, #product.section { padding-top: 48px; }
.crumbs span[aria-hidden] { color: var(--interlace); }

/* полоса на фото */
.band { min-height: 0; }
.band-in { padding: 96px 40px; }
.band-in h2 { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 16px; }
.band-in > p { font-size: clamp(17px, .45vw + 13.5px, 20px); line-height: 1.35; max-width: 48ch; }
.band-feats { margin: 48px 0; }

/* короткие пункты списком: линии только между рядами */
.list3 { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; }
.list3 li { padding: 20px 0; border-top: 1px solid var(--interlace); font-size: 17px; line-height: 1.45; }
.list3 li:nth-child(-n+3) { border-top: 0; padding-top: 0; }
.list3.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list3.c2 li:nth-child(3) { border-top: 1px solid var(--interlace); padding-top: 20px; }

/* каталог: 4 в ряд на широком, на телефоне 2 в ряд как на главной */
@media (min-width: 1281px) { .products { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.p-photo.is-small { object-fit: scale-down; }

/* ряды «Материалы» и «Решения»: без серых плашек, разделены линией */
.sol-row { background: none; border-radius: 0; padding: 56px 0; margin: 0; gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--interlace); }
.sol-row:first-child { border-top: 0; padding-top: 0; }
.sol-row:last-child { padding-bottom: 0; }
.sol-row h2 { font-size: clamp(24px, 2.2vw, 32px); }
.sol-row .section-lead { font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); max-width: 56ch; margin-top: 16px; }
.sol-row .section-lead + * { margin-top: 24px; }
.sol-row .req-c-label { margin-top: 24px; font-size: 14px; color: rgba(58,58,58,.8); }
.sol-includes { margin-top: 12px; gap: 8px 24px; }
.sol-includes svg { display: none; }
.sol-includes li { font-size: 17px; }
.sol-row .btn { margin-top: 32px; }

/* товар */
.pp-info h1 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
.pp-custom { padding: 24px; border-radius: var(--r-sm); }

/* контакты */
.contact-addr { font-style: normal; margin-top: 24px; line-height: 1.6; color: rgba(58,58,58,.8); }
.contact-grid { gap: clamp(40px, 5vw, 80px); margin-top: 0; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-grid .final-form { border: 1px solid var(--interlace); border-radius: var(--r-md); }

@media (max-width: 1024px) {
  .list3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list3 li:nth-child(3) { border-top: 1px solid var(--interlace); padding-top: 20px; }
  .sol-row { grid-template-columns: 1fr; gap: 24px; padding: 40px 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .page-hero { padding-top: 24px; }
  .page-hero .crumbs { margin-bottom: 16px; }
  .page-hero + .section, #product.section { padding-top: 32px; }
  .section-lead + *, .section h2 + :is(.catgrid, .list3, .products, .check-grid) { margin-top: 32px; }
  .sect-cta { margin-top: 32px; }
  .band-in { padding: 56px 20px; }
  .band-feats { margin: 32px 0; }
  .list3, .list3.c2 { grid-template-columns: 1fr; }
  .list3 li, .list3.c2 li { padding: 16px 0; font-size: 16px; border-top: 1px solid var(--interlace); }
  .list3 li:first-child { border-top: 0; padding-top: 0; }
  .sol-row { padding: 32px 0; }
  .sol-row .section-lead { font-size: 16px; }
  .sol-includes li { font-size: 16px; }
  .products { grid-template-columns: 1fr 1fr; gap: 12px; }
  .products .p-meta { padding: 12px; }
  .products .p-photo.is-studio { padding: 12px; }
  .products .p-name { font-size: 15px; }
  .products .p-dims { font-size: 13px; }
  .products .p-tags, .products .p-foot { display: none; }
  .products .p-add { width: 36px; height: 36px; top: 8px; right: 8px; }
  .products .p-add::after { content: "" ; position: absolute; inset: -4px; }
  .contact-grid .final-form { padding: 32px 20px; }
}

/* шапка на узком телефоне: логотип, язык, корзина и бургер помещаются в 360 */
@media (max-width: 380px) { .header-in { gap: 12px; } .header-cta { gap: 4px; } }

/* миниатюры под фото товара: предметный снимок целиком */
.pp-thumbs { overflow-x: auto; scrollbar-width: none; }
.pp-thumbs button { flex: none; }
.pp-thumbs img.studio { object-fit: contain; padding: 4px; background: var(--white); }

/* песочница mix.html: направление + ряд каталога */
.mixa-head { align-items: flex-end; }
.mixa-head > div { flex: 1; min-width: 0; }
.mixa-head p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); max-width: 60ch; }
.mixb-rows { display: grid; gap: 24px; }
.mixb-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 24px; align-items: stretch; }
.mixb-row .mixb-photo { aspect-ratio: auto; width: auto; height: 100%; min-height: 360px; box-shadow: none; }
.mixb-photo .dir-in h3 { font-size: clamp(22px, 1.8vw, 28px); font-weight: 700; letter-spacing: -.02em; }
.mixb-photo .dir-in p { font-size: 15px; }
.mixb-rail { position: relative; min-width: 0; }
.products.mixb-track { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mixb-track::-webkit-scrollbar { display: none; }
.mixb-track .product { scroll-snap-align: start; }
.mixb-arr { position: absolute; top: calc(50% - 24px); width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--interlace); border-radius: var(--r-sm); background: var(--white); color: var(--graphite); cursor: pointer; z-index: 3; transition: opacity .2s; }
.mixb-arr svg { width: 20px; height: 20px; }
.mixb-arr.is-prev { left: -24px; }
.mixb-arr.is-next { right: -24px; }
.mixb-arr:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) { .mixb-arr:hover { color: var(--blue); } }
@media (max-width: 1280px) { .mixb-row { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); } .products.mixb-track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 720px) {
  .mixa-head p { font-size: 15px; }
  .mixb-rows { gap: 40px; }
  .mixb-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mixb-row .mixb-photo { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
  .products.mixb-track { grid-auto-columns: 46%; gap: 12px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .mixb-arr { display: none; }
}

/* каталог: шапка и сетка на одном сером фоне, три фильтра в ряд */
.page-hero.section-gray + #catalog { padding-top: 48px; }
#catalog .filters { margin-top: 0; gap: 12px; }
#catalog .filters .csel { flex: none; width: 240px; min-width: 0; }
#catalog .filters .csel-btn { width: 100%; min-width: 0; min-height: 44px; justify-content: space-between; }
#catalog .filters + .products { margin-top: 32px; }
@media (max-width: 720px) {
  .page-hero.section-gray + #catalog { padding-top: 32px; }
  #catalog .filters { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
  #catalog .filters .csel { width: auto; }
  #catalog .filters .csel:first-child { grid-column: 1 / -1; }
  #catalog .filters + .products { margin-top: 24px; }
}

/* после белой секции её нижнего поля хватает, иначе перед подвалом 160 пустоты */
.section:not(.section-gray) + .site-footer { margin-top: 0; }
.band + .site-footer { margin-top: -24px; position: relative; z-index: 1; }

/* зеркальный ряд блока моделей: фото справа, лента справа налево */
.mixb-row.is-rev { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.mixb-row.is-rev .mixb-photo { order: 2; }
.mixb-row.is-rev .mixb-track { direction: rtl; }
.mixb-row.is-rev .mixb-track > * { direction: ltr; }
@media (max-width: 1280px) { .mixb-row.is-rev { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }

/* климат: три карточки под материалами */
.home .clim-row { padding-top: 0; border-top: 0; gap: 24px; }
.home .clim-row .clim-arg { background: var(--stone); border-radius: var(--r-md); padding: 32px; }

/* короткие тексты в карточках без одинокого хвоста */
.mat-item p, .band-feats span, .clim-arg p { text-wrap: balance; }

@media (max-width: 1024px) {
  /* кнопка «Получить расчёт» под шагами */
  .how { row-gap: 0; }
  .how-head { display: contents; }
  .how .steps { margin-top: 32px; }
  .how .sect-cta { order: 1; margin-top: 32px; }
}

@media (max-width: 720px) {
  :root { --r-md: 10px; --r-lg: 10px; }
  .home .clim-row { gap: 12px; }
  .home .clim-row .clim-arg { padding: 24px; }
  /* материалы лентой */
  .home .mat-strip { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 72%; gap: 12px; margin-left: -20px; margin-right: -20px; padding: 0 20px; scroll-padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .home .mat-strip::-webkit-scrollbar { display: none; }
  .home .mat-item { scroll-snap-align: start; }
  .home .mat-photo { aspect-ratio: 4 / 3; }
  /* подвал: лого, слоган, соцсети; меню и ссылки; описание и адрес внизу */
  .footer-inner { row-gap: 0; }
  .footer-brand { display: contents; }
  .footer-brand > .logo, .footer-slogan { grid-column: 1 / -1; }
  .footer-social { order: 1; margin-top: 24px; }
  .footer-col { order: 2; margin-top: 40px; }
  .footer-desc, .footer-brand address { order: 3; grid-column: 1 / -1; max-width: none; }
  .footer-desc { margin-top: 40px; }
  .footer-brand address { margin-top: 16px; }
}

/* согласие: чекбокс слева, текст колонкой рядом (общее .form label делало его блоком) */
.form label.agree { display: flex; gap: 12px; margin-bottom: 24px; }
.form label.agree > span { flex: 1; min-width: 0; }

/* фото материалов из каталога: кадр целиком, без обрезки в квадрат */
.home .mat-photo, .sol-row-photo.is-mat { aspect-ratio: 648 / 396; }

/* скрытый заголовок для порядка h1 → h2 → h3 */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pp-custom h2 { font-size: 15px; font-weight: 600; line-height: 1.3; margin: 0; }

/* + в карточке: поле нажатия не меньше 44 */
.p-add::after { content: ''; position: absolute; inset: -4px; }
.hero-dots button::after { inset: -4px -19px; }

/* фокус с клавиатуры виден везде */
:where(a, button, select, input, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.cg-card:focus-visible, .proj-card:focus-visible, .p-media:focus-visible { outline-offset: 4px; }

/* подпись проекта читается на любом кадре */
.proj-card::after { background: linear-gradient(to top, rgba(20,20,22,.78) 0%, rgba(20,20,22,.42) 30%, transparent 60%); }
.proj-in p { color: rgba(255,255,255,.9); }

/* столы под заказ: последняя плитка на всю ширину, когда колонок две */
@media (max-width: 1024px) {
  .catgrid > .cg-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}

/* тост корзины */
.cart-toast { position: fixed; z-index: 160; left: 50%; bottom: 24px; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; background: var(--graphite); color: var(--white);
  border-radius: var(--r-md); font-size: 15px; transition: opacity .2s, transform .2s; max-width: calc(100% - 32px); }
.cart-toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.cart-toast button { min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
@media (hover: hover) { .cart-toast button:hover { color: var(--blue); } }
@media (max-width: 720px) { .cart-toast { left: 16px; right: 16px; bottom: 16px; transform: translateY(16px); justify-content: space-between; max-width: none; }
  .cart-toast.show { transform: none; } }

/* климат: иконка на белой подложке вместо номера */
.home .clim-row .clim-arg { grid-template-columns: 48px minmax(0, 1fr); gap: 20px; align-items: start; }
.clim-ico { width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--white); color: var(--blue); display: grid; place-items: center; }
.clim-ico svg { width: 24px; height: 24px; }
@media (max-width: 720px) {
  .home .clim-row .clim-arg { grid-template-columns: 40px minmax(0, 1fr); gap: 16px; }
  .clim-ico { width: 40px; height: 40px; }
  .clim-ico svg { width: 22px; height: 22px; }
}

/* CTA внутренних страниц: белая карточка на графите, справа прямые контакты */
.cta-ref { background: var(--stone); }
.cta-card { display: grid; grid-template-columns: minmax(0, 808fr) minmax(0, 624fr); gap: 56px; padding: 56px; background: var(--white); border-radius: var(--r-md); }
.cta-card h2 { color: var(--graphite); }
.cta-card .section-lead + .sect-cta { margin-top: 32px; }
.cta-side-t { font-size: 16px; font-weight: 500; line-height: 1.5; }
.cta-links { margin-top: 24px; display: grid; gap: 16px; }
.cta-link { display: flex; align-items: center; gap: 24px; padding: 24px; background: var(--stone); border-radius: var(--r-md); color: var(--graphite); text-decoration: none; transition: background-color .2s, color .2s; }
.cta-link-t { display: grid; gap: 4px; min-width: 0; font-size: 20px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.cta-link-t small { font-size: 14px; font-weight: 400; line-height: 1.4; color: rgba(58,58,58,.8); transition: color .2s; }
.cta-link-go { flex: none; margin-left: auto; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); }
.cta-link-go svg { width: 20px; height: 20px; }
@media (hover: hover) {
  .cta-link:hover { background: var(--graphite); color: var(--white); }
  .cta-link:hover .cta-link-t small { color: rgba(255,255,255,.8); }
}
@media (max-width: 1024px) { .cta-card { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 720px) {
  .cta-card { padding: 32px 20px; gap: 32px; }
  .cta-card .section-lead + .sect-cta { margin-top: 32px; }
  .cta-links { margin-top: 16px; gap: 12px; }
  .cta-link { gap: 16px; padding: 16px; }
  .cta-link-t { font-size: 16px; }
  .cta-link-t small { font-size: 13px; }
  .cta-link-go { width: 36px; height: 36px; }
  .cta-link-go svg { width: 18px; height: 18px; }
}

/* товар: ссылка на страницу кастомизации */
.pp-custom .pp-custom-link { margin-top: 16px; }

/* решения: строки «пункт … модель» с точками-лидерами */
.sol-includes.leaders { grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 640px; }
.leaders > li { display: flex; align-items: baseline; gap: 8px; }
.ldr { flex: 1 1 24px; order: 2; min-width: 24px; margin-bottom: .35em; border-bottom: 2px dotted rgba(58,58,58,.28); }
.leaders > li > span { order: 1; }
.leaders > li > b { order: 3; max-width: 60%; font-weight: 500; text-align: right; }
.leaders > li > b.is-muted { font-weight: 400; color: rgba(58,58,58,.8); }
.leaders > li > b a { color: inherit; text-decoration: none; }
@media (hover: hover) { .leaders > li > b a:hover { color: var(--blue); } }
@media (max-width: 720px) { .leaders > li > b { max-width: 70%; } }
/* несколько моделей переносятся целиком, название не рвётся посередине */
.leaders > li > b.is-multi a { white-space: nowrap; }

/* кастомизация: что можно изменить, бенто с иконками */
.cz-bento { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 24px; }
.cz-tile { display: flex; flex-direction: column; justify-content: flex-start; gap: 24px; padding: 32px; background: var(--stone); border-radius: var(--r-md); }
.cz-tile.is-wide { grid-column: span 2; }
.cz-tile > span:last-child { font-size: 20px; font-weight: 500; line-height: 1.3; text-wrap: balance; }
.cz-tile .clim-ico { width: 80px; height: 80px; }
.cz-tile .clim-ico svg { width: 44px; height: 44px; }
@media (max-width: 1440px) {
  .cz-tile .clim-ico { width: 64px; height: 64px; }
  .cz-tile .clim-ico svg { width: 36px; height: 36px; }
}
@media (max-width: 1024px) {
  .cz-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(176px, auto); grid-auto-flow: dense; }
}
@media (max-width: 720px) {
  .cz-bento { margin-top: 32px; gap: 12px; grid-auto-rows: auto; grid-auto-flow: dense; }
  .cz-tile { gap: 16px; padding: 24px; }
  .cz-tile > span:last-child { font-size: 16px; }
  .cz-tile .clim-ico { width: 40px; height: 40px; }
  .cz-tile .clim-ico svg { width: 22px; height: 22px; }
}

/* бенто на телефоне: две колонки, плитку без пары по числу строк ставим во всю ширину (fitBento) */
@media (max-width: 720px) {
  .cz-bento, .cz-bento.is-collage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-flow: row; }
  .cz-tile, .cz-tile.is-wide { grid-column: auto; gap: 12px; padding: 16px; }
  .cz-tile.m-full { grid-column: 1 / -1; }
}
/* бенто на сером фоне: плитки белые, подложка иконки серая */
.section-gray .cz-tile { background: var(--white); }
.section-gray .cz-tile .clim-ico { background: var(--stone); }
.cz-bento + .sect-cta { margin-top: 48px; }
@media (max-width: 720px) { .cz-bento + .sect-cta { margin-top: 32px; } }

/* кликабельная плитка: стрелка справа сверху, всегда белая */
.mat-photo { position: relative; }
.tile-go { position: absolute; top: 16px; right: 16px; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); transition: color .2s, background-color .2s; }
.tile-go svg { width: 20px; height: 20px; }
@media (hover: hover) { a:hover > .tile-go, a:hover > div > .tile-go { background: var(--graphite); color: var(--white); } }
@media (max-width: 720px) { .tile-go { top: 12px; right: 12px; width: 36px; height: 36px; } .tile-go svg { width: 18px; height: 18px; } }

/* песочница, вариант В: карточка категории в ленте моделей */
.mixc-rows { display: grid; gap: 48px; }
.mixc-row { min-width: 0; }
.mixc-rows:not(.is-heads) .mixc-row + .mixc-row { padding-top: 48px; }
.mixc-sep { margin-bottom: 24px; font-size: 28px; font-weight: 700; line-height: 1.2; }
.products.mixc-track { --c: calc((100% - 72px) / 4.5); margin: 0; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.mixc-track::-webkit-scrollbar { display: none; }
.mixc-track > * { scroll-snap-align: start; flex: 0 0 var(--c); }
.mixc-track > .mixc-cat { flex-basis: calc(var(--c) * 1.5); }
.mixc-track .mixc-cat { aspect-ratio: auto; height: auto; min-height: 0; box-shadow: none; }
.mixc-cat .dir-in p { margin: 0; font-size: 16px; line-height: 1.35; color: var(--white); }
.mixc-go { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--white); color: var(--graphite); transition: color .2s, background-color .2s; }
.mixc-go svg { width: 20px; height: 20px; }
@media (hover: hover) { .mixc-cat:hover .mixc-go { background: var(--graphite); color: var(--white); } }
@media (max-width: 1024px) { .products.mixc-track { --c: calc((100% - 48px) / 3.5); } }
@media (max-width: 720px) {
  .mixc-rows { gap: 32px; }
  .mixc-rows:not(.is-heads) .mixc-row + .mixc-row { padding-top: 32px; }
  .mixc-sep { margin-bottom: 16px; font-size: 22px; }
  .products.mixc-track { display: flex; gap: 12px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; }
  .mixc-track > * { flex: 0 0 46%; }
  .mixc-track > .mixc-cat { flex-basis: 69%; height: auto; }
  .mixc-cat .dir-in { padding: 16px; }
  .mixc-cat .dir-in p { font-size: 13px; }
  .mixc-go { top: 8px; right: 8px; width: 36px; height: 36px; }
  .mixc-go svg { width: 18px; height: 18px; }
}
.mixc-rows.is-heads { gap: 56px; }
.is-lines .mixc-cat .dir-in h3 { margin-bottom: 8px; font-size: 22px; font-weight: 700; }
@media (max-width: 720px) {
  .mixc-rows.is-heads { gap: 40px; }
  .is-lines .mixc-cat .dir-in h3 { margin-bottom: 4px; font-size: 17px; }
}

/* проекты: сетка 3 колонки, последний кадр добирает пустое место в ряду */
.proj-masonry.is-grid { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 24px; }
.is-grid .proj-card { margin: 0; }
.is-grid .proj-card img { aspect-ratio: 3 / 2; height: 100%; object-fit: cover; }
.is-grid .proj-card.is-wide { grid-column: span 2; }
.is-grid .proj-card.is-wide img { position: absolute; inset: 0; aspect-ratio: auto; }
@media (max-width: 1024px) { .proj-masonry.is-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .proj-masonry.is-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; } .is-grid .proj-card.is-wide { grid-column: auto; } .is-grid .proj-card.is-wide img { aspect-ratio: 3 / 2; } }

/* бенто-коллаж: фото среди плиток */
.cz-photo { position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.cz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.is-collage { grid-auto-flow: dense; }
.cz-photo.is-big { grid-column: span 2; grid-row: span 2; }
.cz-photo.is-wide { grid-column: span 2; }
@media (max-width: 1024px) {
  .cz-photo.is-big { grid-row: span 1; min-height: 360px; }
}
@media (max-width: 720px) {
  .cz-photo, .cz-photo.is-big, .cz-photo.is-wide { grid-column: 1 / -1; grid-row: auto; min-height: 0; aspect-ratio: 3 / 2; }
}

/* собственное производство: фото слева, факты справа, линии только между пунктами */
.prod-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 5vw, 96px); align-items: stretch; }
.prod-photo { position: relative; overflow: hidden; border-radius: var(--r-md); min-height: 560px; }
.prod-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.prod-text { display: flex; flex-direction: column; justify-content: center; }
.prod-list { list-style: none; margin: 48px 0 0; padding: 0; }
.prod-list li { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px 32px; padding: 24px 0; border-top: 1px solid var(--interlace); }
.prod-list li:first-child { border-top: 0; padding-top: 0; }
.prod-list li:last-child { padding-bottom: 0; }
.prod-list h3 { font-size: 20px; line-height: 1.25; }
.prod-list p { font-size: 17px; line-height: 1.4; color: rgba(58,58,58,.8); }
@media (max-width: 1280px) { .prod-list li { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1024px) {
  .prod-split { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .prod-photo { min-height: 0; aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  .prod-split { gap: 32px; }
  .prod-photo { aspect-ratio: 4 / 5; }
  .prod-list { margin-top: 32px; }
  .prod-list li { padding: 16px 0; }
  .prod-list h3 { font-size: 18px; }
  .prod-list p { font-size: 16px; }
  .prod-text .sect-cta .btn { width: 100%; }
}

/* о компании: компании группы и основатели */
.co-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.co-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-md); background: var(--stone); }
.co-photo { position: relative; aspect-ratio: 16 / 9; }
.co-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.co-in { display: flex; flex-direction: column; gap: 8px; padding: 24px; }
.co-in h3 { font-size: 20px; line-height: 1.25; }
.co-sub, .team-role { font-size: 14px; line-height: 1.4; color: rgba(58,58,58,.64); }
.co-in p, .team-in p { margin-top: 8px; font-size: 17px; line-height: 1.4; color: rgba(58,58,58,.8); }
.co-team-h { margin: 56px 0 24px; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
html[lang="en"] .team-card.ru-only { display: none; }
.team-card { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; align-items: start; padding: 24px; border-radius: var(--r-md); background: var(--stone); }
.team-photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-sm); }
.team-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.team-in { display: flex; flex-direction: column; gap: 8px; }
.team-name { font-size: 20px; font-weight: 500; line-height: 1.25; }
@media (max-width: 1024px) {
  .co-grid, .team-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .co-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .co-photo { aspect-ratio: auto; min-height: 200px; }
}
@media (max-width: 720px) {
  .co-grid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 80%; gap: 12px; margin: 0 -20px; padding: 0 20px; scroll-padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .co-grid::-webkit-scrollbar { display: none; }
  .co-card { display: flex; scroll-snap-align: start; }
  .co-photo { aspect-ratio: 16 / 9; min-height: 0; }
  .co-in, .team-card { padding: 16px; }
  .co-in h3, .team-name { font-size: 18px; }
  .co-in p, .team-in p { font-size: 16px; }
  .co-team-h { margin: 40px 0 16px; }
  .team-card { grid-template-columns: 112px minmax(0, 1fr); gap: 16px; }
}

/* сверка единообразия */
.ct-links { margin-top: 0; }
.cta-link-go.is-nav { background: var(--white); color: var(--graphite); }
.pill-tag { background: var(--stone); border-color: var(--stone); }
.pp-custom-icon { flex: 0 0 44px; width: 44px; height: 44px; margin-top: 0; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--white); }
.pp-custom-icon svg { width: 24px; height: 24px; }
.prod-list p, .co-in p, .team-in p { line-height: 1.45; }
/* подвал после серой секции: без белых уголков */
:is(.section-gray, .cta-end) + .site-footer { margin-top: 0; box-shadow: 0 -24px 0 var(--stone); }
@media (max-width: 720px) {
  .hero .hero-actions { flex-direction: column; }
  .hero .hero-actions .btn, .sol-row .btn, .pp-custom .pp-custom-link { width: 100%; }
}

/* компании группы на серой подложке, как на Спейсе; мы выделены синим */
.co-group { display: grid; gap: 32px; padding: 40px; border-radius: var(--r-md); background: var(--stone); }
.co-group-head { display: flex; flex-direction: column; gap: 8px; max-width: 760px; }
.co-group-head h3 { font-size: clamp(24px, 2vw, 32px); line-height: 1.15; }
.co-group-head p { margin-top: 8px; font-size: 17px; line-height: 1.45; color: rgba(58,58,58,.8); }
.co-group .co-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-group .co-card { background: var(--white); }
.co-group .co-in { flex: 1; }
.co-group .co-photo { aspect-ratio: 4 / 3; margin: 0 24px 24px; overflow: hidden; border-radius: var(--r-sm); }
.co-card.is-us { box-shadow: inset 0 0 0 2px var(--blue); }
.co-card.is-us h3, .co-card.is-us h3 i { color: var(--blue); }
@media (max-width: 1280px) { .co-group .co-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .co-group .co-photo { aspect-ratio: 16 / 10; } }
@media (max-width: 1024px) {
  .co-group .co-card { display: flex; }
  .co-group .co-photo { min-height: 0; }
}
@media (max-width: 720px) {
  .co-group { padding: 16px; gap: 24px; }
  .co-group .co-grid { grid-template-columns: none; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .co-group .co-photo { margin: 0 16px 16px; }
}
.prod-text .section-lead { max-width: 600px; }
.final-contacts a:last-child { border-bottom: 0; }

/* материалы: где применяем, пункт слева, значение справа через точки */
.mt-spec-h { margin-top: 32px; font-size: 14px; color: rgba(58,58,58,.64); }
.mt-spec { margin: 12px 0 0; display: grid; gap: 12px; max-width: 640px; }
.mt-spec div { display: flex; align-items: baseline; gap: 8px; font-size: 17px; line-height: 1.4; }
.mt-spec dt { flex: 0 0 auto; order: 1; font-weight: 500; }
.mt-spec dd { order: 3; margin: 0; max-width: 60%; text-align: right; color: rgba(58,58,58,.8); }
/* климат: фото + три плитки с заголовком и пояснением */
.mt-clim .cz-photo { padding: 0; overflow: hidden; grid-row: span 2; }
.mt-clim .cz-photo img { width: 100%; height: 100%; object-fit: cover; }
.mt-clim .cz-tile > span:last-child { display: flex; flex-direction: column; gap: 8px; }
.mt-clim .cz-tile b { font-weight: 500; }
.mt-clim .cz-tile small { font-size: 16px; font-weight: 400; line-height: 1.4; color: rgba(58,58,58,.8); text-wrap: pretty; }
.mt-pr-photos { display: grid; grid-template-rows: 3fr 2fr; gap: 24px; }
.mt-pr-photos .prod-photo { min-height: 0; }
@media (min-width: 1025px) { .mt-pr-photos { min-height: 640px; } }
@media (max-width: 1024px) {
  .mt-clim .cz-photo { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .mt-pr-photos { grid-template-rows: none; grid-template-columns: 3fr 2fr; }
  .mt-pr-photos .prod-photo { aspect-ratio: 4 / 5; }
}
@media (max-width: 720px) {
  .mt-spec div { font-size: 16px; }
  .mt-spec dd { max-width: 62%; }
  .mt-clim .cz-photo { aspect-ratio: 4 / 3; }
  .mt-clim .cz-tile small { font-size: 14px; }
  .mt-pr-photos { gap: 8px; }
}
/* на телефоне кнопка кастомизации во всю ширину блока, от края под иконкой */
@media (max-width: 720px) {
  .pp-custom .pp-custom-link { width: calc(100% + 60px); margin-left: -60px; }
}

/* якорь не прячется под шапкой */
[id]:not(section) { scroll-margin-top: 88px; }

/* фото-слайдер: лента кадров внутри рамки фото, точки поверх снизу */
.sl-track { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.sl-track::-webkit-scrollbar { display: none; }
.sl-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.sl-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pp-track .sl-slide.is-life img { max-width: none; max-height: none; }
.pp-track .sl-slide.is-studio { display: flex; align-items: center; justify-content: center; }
.pp-track .sl-slide.is-studio img { position: static; width: auto; height: auto; max-width: 92%; max-height: 92%; object-fit: contain; }
/* мелкие вырезки текстиля: слайд белый, как фон снимка, кадр крупнее натурального */
.pp-track .sl-slide.is-small { background: var(--white); }
.pp-track .sl-slide.is-small img { height: min(76%, 400px); max-width: 80%; }

/* полоса: под лентой карточек дорожка во всю ширину, у фото-слайдера короткая поверх кадра */
.dots { display: flex; justify-content: center; margin-top: 16px; }
.dots[hidden] { display: none; }
.dots button { width: 16px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.dots i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--interlace); transition: background .2s; }
.dots button[aria-current="true"] i { background: var(--graphite); }
.sl-track + .dots { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; padding: 0 4px; border-radius: var(--r-sm); background: rgba(58,58,58,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sl-track + .dots button { height: 20px; }
.sl-track + .dots i { background: rgba(255,255,255,.5); }
.sl-track + .dots button[aria-current="true"] i { background: var(--white); }
.sl-arr { position: absolute; z-index: 2; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; transition: opacity .2s, color .2s; }
.sl-arr::before { content: ""; position: absolute; inset: -4px; }
.sl-arr svg { width: 32px; height: 32px; }
.sl-arr.is-prev { left: 16px; }
.sl-arr.is-next { right: 16px; }
.sl-arr:disabled { opacity: 0; pointer-events: none; }
.sl-arr[hidden] { display: none; }
@media (hover: hover) { .sl-arr:hover { color: var(--blue); } }
@media (max-width: 720px) { .sl-arr.is-prev { left: 8px; } .sl-arr.is-next { right: 8px; } }
@media (min-width: 721px) { .dots.dots-mob, .pp-track + .dots { display: none; } }
/* блок 3 главной: под рядами моделей полоса */
.sbar { position: relative; display: flex; align-items: center; height: 24px; margin-top: 16px; cursor: pointer; touch-action: none; user-select: none; -webkit-user-select: none; }
.sbar[hidden] { display: none; }
.sbar-in { position: relative; flex: 1; height: 2px; border-radius: 2px; background: var(--interlace); }
.sbar-in i { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 2px; background: var(--graphite); }
.sbar-in i { transition: background-color .2s; }
@media (hover: hover) { .sbar:hover .sbar-in i { background: var(--blue); } }
@media (min-width: 721px) {
  .sbar.sbar-mob { display: none; }
  .mixc-rail .sbar { margin-top: 24px; }
  /* стрелки по центру карточек, а не всего ряда с полосой */
  .mixc-rail:has(.sbar:not([hidden])) .mixb-arr { top: calc(50% - 48px); }
}
@media (max-width: 720px) { .mixb-rail .sbar, .mixc-rail .sbar { margin-top: 12px; } }
@media (max-width: 720px) {
  .pp-thumbs { display: none !important; }
  .mixb-rail .dots, .mixc-rail .dots { margin-top: 12px; }
  /* проекты на главной: на телефоне лента, а не длинная стопка */
  .home .proj-masonry { columns: auto; display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; margin: 32px -20px 0; padding: 0 20px; scroll-padding: 0 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .home .proj-masonry::-webkit-scrollbar { display: none; }
  .home .proj-masonry .proj-card { margin: 0; scroll-snap-align: start; }
  .home .proj-masonry .proj-card img { aspect-ratio: 4 / 5; height: 100%; object-fit: cover; }
}

/* полоса хиро: по центру, на одной линии с подписью; кнопки слайдов поверх полосы делят её поровну */
.home .hero-dots { position: absolute; flex-direction: row; gap: 0; left: 50%; right: auto; transform: translateX(-50%); bottom: calc(clamp(40px, calc(var(--vh) * 7), 80px) - 1px); margin: 0; padding: 0 4px; border-radius: var(--r-sm); background: rgba(58,58,58,.32); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.home .hero-dots button { width: 16px; height: 24px; display: grid; place-items: center; padding: 0; background: none; border-radius: 0; transform: none; }
.home .hero-dots button::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); transition: background .2s; }
.home .hero-dots button.on { background: none; transform: none; }
.home .hero-dots button.on::before { background: var(--white); }
.home .hero-dots button::after { inset: -10px 0; }

/* заявка на кастомизацию: форма в три шага */
.cz-req .final-panel { border: 1px solid var(--interlace); box-shadow: none; }
.cz-req .final-side { align-items: flex-start; min-height: 0; }
.cz-req .final-side-in h2 { font-weight: 700; }
.cz-step { border: 0; padding: 0; margin: 0 0 48px; min-width: 0; }
.cz-step legend { display: flex; align-items: baseline; gap: 16px; padding: 0; margin-bottom: 24px; font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--graphite); }
.cz-step legend .n { font-size: 20px; font-weight: 500; color: var(--blue); font-variant-numeric: tabular-nums; }
.cz-base { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 24px; }
.cz-form .cz-opt, .cz-form .cz-chk { position: relative; cursor: pointer; margin: 0; }
.cz-opt input, .cz-chk input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.cz-opt span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px 16px; border: 1px solid var(--interlace); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; line-height: 1.3; text-align: center; transition: border-color .2s, background .2s, color .2s; }
.cz-checks { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cz-chk span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--interlace); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; transition: border-color .2s, background .2s, color .2s; }
.cz-opt input:checked + span, .cz-chk input:checked + span { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cz-opt input:focus-visible + span, .cz-chk input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
@media (hover: hover) { .cz-opt:hover input:not(:checked) + span, .cz-chk:hover input:not(:checked) + span { border-color: var(--graphite); } }
.cz-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cz-form .file-upload-btn { margin: 0; min-height: 44px; padding: 0 16px; border-radius: var(--r-sm); font-size: 14px; }
.cz-form .cz-link { margin-top: 16px; }
.cz-form .field-note { margin: 0 0 24px; }
.cz-form .csel-list { max-height: 320px; overflow-y: auto; }
.cz-form label.agree { margin-bottom: 0; }
.cz-form .agree + .f-err { margin: 8px 0 0; }
@media (max-width: 720px) {
  .cz-step { margin-bottom: 40px; }
  .cz-step legend { margin-bottom: 16px; }
  .cz-dims { gap: 8px; }
}
/* legend в fieldset браузер вписывает в рамку: делаем его обычным блоком, иначе линия шага режет заголовок */
.cz-step > legend { float: left; width: 100%; }
.cz-step > legend + * { clear: both; }
.cz-form .file-upload-btn { display: inline-flex; align-items: center; line-height: 1; }
.cz-step:last-of-type { margin-bottom: 32px; }
.cz-step > .field:last-child, .cz-step > .field-note:last-child { margin-bottom: 0; }
/* скрытая подсказка в конце шага не должна оставлять отступ поля над следующим шагом */
.cz-step > .field:has(+ [hidden]:last-child) { margin-bottom: 0; }
.cz-form .f-err[hidden] { display: none; }

/* меню на планшете и телефоне: на всю высоту, «Получить расчёт» и WhatsApp сразу под пунктами */
.nav-cta { display: none; }
@media (max-width: 1180px) {
  .nav { bottom: 0; overflow-y: auto; border-bottom: 0; }
  /* 20 + нижние 12 у последнего пункта = 32 от текста до кнопок */
  .nav-cta { display: flex; gap: 8px; padding-top: 20px; padding-bottom: env(safe-area-inset-bottom); }
  .nav-cta .btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 12px; font-size: 15px; }
  .nav-cta .btn-wa { border: 1px solid var(--blue); color: var(--white) !important; background: var(--blue); }
  .nav-cta .btn-blue { color: var(--white) !important; }
  @media (hover: hover) { .nav-cta .btn-blue:hover { color: var(--blue) !important; } }
  .nav-cta .btn-wa svg { width: 18px; height: 18px; flex: none; }
  .nav .nav-cta a { padding: 0 12px; font-size: 15px; }
}

/* телефон: код страны + номер */
.phone-row { display: flex; gap: 8px; }
.phone-row .csel { flex: 0 0 112px; width: auto; }
.form .phone-row .csel-btn, .final-form .phone-row .csel-btn { min-width: 0; width: 100%; }
.phone-row input { flex: 1; min-width: 0; }
.phone-row .csel-label { white-space: nowrap; }
.csel-list.has-search { width: 320px; max-width: calc(100vw - 48px); padding: 8px; }
.csel-search { display: block; width: 100%; height: 44px; margin: 0 0 8px; padding: 0 12px; border: 1px solid var(--interlace); border-radius: var(--r-sm); background: var(--white); font: inherit; font-size: 16px; color: var(--graphite); }
.csel-search:focus { outline: none; border-color: var(--blue); }
.csel-opts { max-height: 264px; overflow-y: auto; margin: 0; padding: 0; list-style: none; overscroll-behavior: contain; }
.csel-opts .csel-opt[hidden] { display: none; }
.cz-form .csel-list.has-search { max-height: none; overflow: visible; }

/* кастомизация на главной: на телефоне сначала варианты, потом заявка */
@media (max-width: 720px) { .cust-acts .btn-line, .acts-nav-first .btn-line, .acts-nav-first .btn-white { order: -1; } }
/* полоса хиро поверх текстового слоя, иначе клик ловит контейнер */
.home .hero-dots { z-index: 4; }
/* список открывается сразу видимым, чтобы поиск получил фокус */
.csel.open .csel-list { transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s; }

/* блок 3 главной: на телефоне заголовок есть, подзаголовка нет */
@media (max-width: 720px) {
  #featured .feat-h2 { position: static; width: auto; height: auto; margin: 0 0 40px; overflow: visible; clip: auto; white-space: normal; }
  /* как в Figma 03.6: только ленты с полосами, без фото категорий */
  #featured .mixb-rows { gap: 32px; }
  #featured .mixb-row { gap: 0; }
  #featured .mixb-photo { display: none; }
  #featured .hero-actions.sect-cta { margin-top: 32px; }
}
/* путь изделия на телефоне: второе фото той же высоты, что первое */
@media (max-width: 1024px) {
  .mt-pr-photos .prod-photo + .prod-photo { aspect-ratio: auto; height: 100%; }
}

/* точки хиро: без подложки, в правом нижнем углу по краю подписи; подпись над ними */
.home .hero-dots { left: auto; right: calc(max(40px, (100% - var(--container)) / 2 + 40px) - 5px); bottom: calc(clamp(40px, calc(var(--vh) * 7), 80px) - 9px); transform: none; padding: 0; border-radius: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; filter: drop-shadow(0 0 3px rgba(0,0,0,.35)); }
.home .hero-cap { bottom: calc(clamp(40px, calc(var(--vh) * 7), 80px) + 32px); }

/* хиро главной на телефоне на весь экран, текст компактнее, чтобы было видно фото */
@media (max-width: 720px) {
  .home .hero { height: auto; min-height: calc(var(--vh) * 100); max-height: none; }
  .home .hero-in { gap: 12px; padding: 96px 20px 32px; }
  .home .hero-title { font-size: 30px; line-height: 1.08; }
  .home .hero-lead { font-size: 16px; }
  .hero-chip { margin-bottom: 4px; }
  .home .hero .hero-actions { margin-top: 16px; gap: 12px; }
}

/* шапка на узком десктопе: длинные пункты на французском и др. не переносим, ужимаем зазоры */
.nav a, .header-cta .btn { white-space: nowrap; }
@media (min-width: 1181px) and (max-width: 1360px) {
  .header-in { gap: 24px; }
  .nav { gap: 16px; }
}

/* длинные слова (нидерландский, итальянский, русский): заголовок на 360 чуть мельче, в новых языках перенос по слогам, крайний случай рвём слово, а не выпускаем за край */
@media (max-width: 400px) { .page-hero h1, .page-hero h1.brand-h1 { font-size: min(36px, 9.4vw); } }
.final-side h2 { overflow-wrap: break-word; }
html:not([lang="en"]):not([lang="ru"]) :is(.final-side h2, .cz-tile > span, .cz-tile small) { hyphens: auto; hyphenate-limit-chars: 12 5 5; }

/* ---------- окно о куки: под меню и корзиной, кнопки равные ---------- */
.ck-bar {
  position: fixed; z-index: 130; right: 24px; bottom: 24px;
  width: min(440px, calc(100% - 48px));
  background: var(--graphite); color: var(--white);
  border-radius: var(--r-sm); padding: 24px;
}
.ck-bar p { margin: 0; font-size: 14px; line-height: 20px; }
.ck-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ck-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ck-btn {
  flex: 1 1 auto; min-height: 44px; padding: 12px 16px;
  font: inherit; font-size: 15px; font-weight: 500; line-height: 18px;
  color: var(--white); background: transparent;
  border: 1px solid var(--white); border-radius: var(--r-sm); cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.ck-btn:focus-visible, .ck-bar a:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
@media (hover: hover) { .ck-btn:hover { background: var(--white); color: var(--graphite); } }
@media (max-width: 560px) {
  .ck-bar { left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: auto; padding: 16px; }
}
.ck-open { padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; }
@media (hover: hover) { .ck-open:hover { color: var(--blue); } }
