/* Тихие стены Томск — визуальная система.
   Бумага и олива шоурума, чёрный знак завода, тонкие линии, каталожная сетка.
   Шрифты: Source Serif 4 (заголовки) + Golos Text (интерфейс) — обе с кириллицей.
   Якоря: .hero .trust #showroom #tech #ceilings #fabrics #paths #video #journal
   #designers .designer-why #chistaya #nodes #faq #contacts #visit #float-visit
   Не ломать .nodes-*, .fabric-*, .calc-*, телефон и плавающую запись. */

:root {
  --ink: #16150f;
  --ink-2: #35322a;
  --mute: #6e6a5f;
  --mute-2: #8d887b;

  --paper: #f5f2eb;
  --paper-2: #eeeae0;
  --paper-3: #e5e0d3;
  --cream: #fcfaf6;

  --olive: #6b6f45;
  --olive-deep: #3f4327;
  --clay: #9a7f5c;
  --sand: #d8cfba;

  --line: rgba(22, 21, 15, 0.13);
  --line-2: rgba(22, 21, 15, 0.26);
  --line-inv: rgba(252, 250, 246, 0.18);
  --line-inv-2: rgba(252, 250, 246, 0.34);

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Golos Text", ui-sans-serif, system-ui, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gut: clamp(20px, 4vw, 44px);
  --section: clamp(68px, 8vw, 124px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--sans);
  font-size: 16.5px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: -0.002em;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  font-feature-settings: "ss01" on;
  -webkit-font-smoothing: antialiased;
}

img,
video,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--olive);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

.dark :focus-visible,
.calc-section :focus-visible,
.page-hero :focus-visible,
.page-cta :focus-visible {
  outline-color: var(--sand);
}

section[id],
[id].type-card {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* Бумажное зерно: очень слабое, только фактура */
.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gut) * 2));
  margin: 0 auto;
}

/* ---------- Типографика ---------- */

h1,
h2,
h3,
h4 {
  font-weight: 400;
  text-wrap: balance;
}

.hero h1,
.page-hero h1,
.section-head h2,
.block-title,
.nodes-intro h2,
.chistaya-head h2,
.page-cta h2,
.display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.06;
  font-variation-settings: "opsz" 44;
}

.hero h1 {
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 60;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  font-variation-settings: "opsz" 60;
}

.section-head h2,
.block-title,
.nodes-intro h2,
.chistaya-head h2 {
  font-size: clamp(28px, 3.4vw, 46px);
}

.page-cta h2 {
  font-size: clamp(26px, 3vw, 40px);
}

h3 {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

p {
  text-wrap: pretty;
}

.eyebrow,
.kicker,
.calc-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--clay);
}

.muted {
  color: var(--mute);
}

.lead,
.hero-lead {
  font-size: clamp(17px, 1.35vw, 19.5px);
  line-height: 1.55;
  color: var(--ink-2);
}

.num {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  color: var(--clay);
  font-variation-settings: "opsz" 20;
}

.prose p + p {
  margin-top: 14px;
}

/* ---------- Кнопки и ссылки ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  text-align: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn-solid {
  background: var(--ink);
  color: var(--cream);
}

.btn-solid:hover {
  background: var(--olive);
  border-color: var(--olive);
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
}

.btn-ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn-light:hover {
  background: transparent;
  border-color: var(--line-inv-2);
  color: var(--cream);
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Текстовая ссылка-стрелка */
.path-link,
.open-tg {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  justify-self: start;
  font-size: 15px;
  font-weight: 500;
  color: var(--olive);
  border-bottom: 1px solid rgba(107, 111, 69, 0.4);
  padding-bottom: 2px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.path-link::after,
.open-tg::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.path-link:hover,
.open-tg:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.path-link:hover::after,
.open-tg:hover::after {
  transform: translateX(4px);
}

/* ---------- Шапка ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
  padding: 12px var(--gut);
  background: rgba(245, 242, 235, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(245, 242, 235, 0.96);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-logo {
  width: 148px;
  height: auto;
}

.nav-badge {
  display: none;
  padding-left: 14px;
  border-left: 1px solid var(--line-2);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute);
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 1.5px;
  margin-left: -11px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span {
  top: 50%;
  margin-top: -0.75px;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14.5px;
}

.nav-links a:not(.btn),
.nav-more-btn {
  position: relative;
  padding: 4px 0;
  color: var(--ink-2);
  transition: color 0.25s var(--ease);
}

.nav-links a:not(.btn)::after,
.nav-more-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav-links a:not(.btn):hover,
.nav-more-btn:hover,
.nav-links a.is-active:not(.btn),
.nav-more.has-active .nav-more-btn {
  color: var(--ink);
}

.nav-links a:not(.btn):hover::after,
.nav-more-btn:hover::after,
.nav-links a.is-active:not(.btn)::after,
.nav-more.has-active .nav-more-btn::after {
  transform: scaleX(1);
}

.nav-more {
  position: relative;
}

.nav-more-btn {
  font: inherit;
  letter-spacing: inherit;
}

.nav-more-menu {
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  min-width: 210px;
  padding: 8px;
  background: var(--cream);
  border: 1px solid var(--line);
  box-shadow: 0 22px 44px -18px rgba(22, 21, 15, 0.28);
  z-index: 5;
}

.nav-more:hover .nav-more-menu,
.nav-more:focus-within .nav-more-menu,
.nav-more.is-open .nav-more-menu {
  display: grid;
  gap: 2px;
}

.nav-more-menu a {
  padding: 9px 12px;
}

.nav-more-menu a::after {
  display: none;
}

.nav-more-menu a:hover {
  background: var(--paper-2);
}

.nav-more-menu a.is-active {
  background: var(--paper-2);
  color: var(--olive);
}

.nav-phone {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nav-site {
  white-space: nowrap;
  color: var(--mute);
}

.nav-cta.btn {
  min-height: 44px;
  padding: 0 20px;
  font-size: 14.5px;
}

/* ---------- Главная: светлый герой ---------- */

.hero {
  position: relative;
  padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px);
  background: var(--paper);
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}

.hero-copy {
  display: grid;
  align-content: end;
  min-width: 0;
}

.hero-copy > .eyebrow {
  margin-bottom: 20px;
}

.hero h1 {
  max-width: 15ch;
}

.hero .hero-lead {
  max-width: 46ch;
  margin-top: 22px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0 0;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.hero-meta div {
  padding: 18px 20px 0 0;
}

.hero-meta b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
}

.hero-meta span {
  display: block;
  margin-top: 2px;
  font-size: 13.5px;
  color: var(--mute);
}

/* Типографическая табличка адреса вместо фото */
.address-plate {
  display: grid;
  align-content: start;
  gap: 0;
  padding: 26px 26px 24px;
  background: var(--cream);
  border: 1px solid var(--line);
}

.address-plate .eyebrow {
  margin-bottom: 16px;
}

.address-plate b {
  display: block;
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -0.018em;
}

.address-plate .plate-city {
  margin-bottom: 4px;
  font-size: 13.5px;
  color: var(--mute);
}

.address-plate dl {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
}

.address-plate dl > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.address-plate dt {
  color: var(--mute);
}

.address-plate dd {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.address-plate dd a {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
  transition: border-color 0.25s var(--ease);
}

.address-plate dd a:hover {
  border-bottom-color: var(--ink);
}

.address-plate .btn {
  margin-top: 22px;
  width: 100%;
}

/* ---------- Полоса доверия ---------- */

.trust {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding: 0;
}

.trust article {
  padding: 34px 30px 36px 0;
}

.trust article + article {
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.trust b {
  display: block;
  margin-bottom: 8px;
  font-size: 15.5px;
  font-weight: 500;
}

.trust p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mute);
}

/* ---------- Секции ---------- */

.section {
  padding: var(--section) 0;
}

/* Чередование бумажных тонов: фон + волосяная линия сверху */
.section.is-tinted {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.is-tinted + .section.is-tinted {
  border-top: 0;
}

.section-head {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-bottom: clamp(34px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.section-head h2 {
  max-width: 20ch;
}

.section-head .muted {
  max-width: 56ch;
  font-size: 16px;
}

.dark .section-head,
.calc-section .section-head {
  border-top-color: var(--line-inv);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.facts {
  display: grid;
  gap: 0;
  margin-top: 32px;
  list-style: none;
}

.facts li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.facts li:last-child {
  border-bottom: 1px solid var(--line);
}

.facts b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--clay);
}

.facts span {
  font-size: 15.5px;
  color: var(--ink-2);
}

/* ---------- Каталожные карточки ---------- */

.benefits,
.light-grid,
.honest-grid,
.scenario-grid,
.who-grid,
.designer-why,
.chistaya-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.choice-grid,
.ceiling-grid,
.partner-grid,
.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.4vw, 34px);
}

.benefits article,
.light-grid article,
.honest-grid article,
.scenario-grid article,
.who-grid article,
.choice-grid article,
.designer-why article,
.chistaya-grid article,
.ceiling-grid article,
.partner-grid article,
.product-lead {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 0 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--line);
}

.dark .benefits article,
.dark .designer-why article,
.dark .partner-grid article,
.dark .who-grid article {
  border-top-color: var(--line-inv);
}

.benefits h3,
.light-grid h3,
.honest-grid h3,
.scenario-grid h3,
.who-grid h3,
.choice-grid h3,
.designer-why h3,
.chistaya-grid h3,
.ceiling-grid h3,
.partner-grid h3,
.product-lead h3,
.journal h3 {
  margin: 4px 0 2px;
  font-size: 20px;
  font-weight: 500;
}

.benefits p,
.light-grid p,
.honest-grid p,
.scenario-grid p,
.who-grid p,
.choice-grid p,
.designer-why p,
.chistaya-grid p,
.ceiling-grid p,
.partner-grid p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mute);
}

.dark .designer-why p,
.dark .partner-grid p,
.dark .benefits p,
.dark .who-grid p {
  color: rgba(252, 250, 246, 0.66);
}

.scenario-grid article.is-us {
  padding: 26px 26px 28px;
  background: var(--ink);
  color: var(--cream);
  border-top-color: var(--ink);
}

.scenario-grid article.is-us .num,
.scenario-grid article.is-us .kicker {
  color: var(--sand);
}

.scenario-grid article.is-us p {
  color: rgba(252, 250, 246, 0.72);
}

.note-box {
  align-self: start;
  padding: 28px 28px 30px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}

.note-box h3 {
  margin: 10px 0 12px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.note-box p {
  font-size: 15.5px;
  color: var(--ink-2);
}

.note-box p + p {
  margin-top: 10px;
}

/* ---------- Шоурум: цветной типографический блок ---------- */

.showroom-band {
  padding: var(--section) 0;
  background: var(--olive-deep);
  color: var(--cream);
}

.showroom-band .eyebrow {
  color: var(--sand);
}

.showroom-head {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line-inv);
}

.showroom-head h2 {
  max-width: 14ch;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.022em;
}

.showroom-copy p {
  max-width: 46ch;
  color: rgba(252, 250, 246, 0.76);
}

.showroom-copy p + p {
  margin-top: 14px;
}

.showroom-band .btn-ghost {
  border-color: var(--line-inv-2);
  color: var(--cream);
}

.showroom-band .btn-ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.showroom-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(44px, 5vw, 72px);
  list-style: none;
  border-top: 1px solid var(--line-inv);
}

.showroom-facts li {
  display: grid;
  gap: 12px;
  padding: 24px 28px 0 0;
  align-content: start;
}

.showroom-facts li + li {
  padding-left: 28px;
  border-left: 1px solid var(--line-inv);
}

.showroom-facts b {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  color: var(--sand);
}

.showroom-facts span {
  font-size: 15.5px;
  line-height: 1.5;
  color: rgba(252, 250, 246, 0.76);
}

/* ---------- Три пути ---------- */

.paths-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.2vw, 30px);
}

.paths-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 28px 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  transition: border-color 0.3s var(--ease);
}

.paths-grid article:hover {
  border-color: var(--line-2);
}

.paths-grid h3 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.018em;
}

.paths-grid p {
  font-size: 15.5px;
  color: var(--mute);
}

.paths-grid .path-link {
  margin-top: 12px;
}

.path-lead {
  background: var(--ink) !important;
  color: var(--cream);
  border-color: var(--ink) !important;
}

.path-lead .num {
  color: var(--sand);
}

.path-lead p {
  color: rgba(252, 250, 246, 0.72) !important;
}

.path-split {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-inv);
  font-size: 14.5px;
}

.path-lead .path-link {
  color: var(--sand);
  border-bottom-color: rgba(216, 207, 186, 0.45);
}

.path-lead .path-link:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

/* ---------- Сравнение ---------- */

.compare {
  overflow-x: auto;
  border-top: 1px solid var(--line-2);
}

.compare table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.compare th,
.compare td {
  padding: 18px 20px 18px 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  line-height: 1.5;
}

.compare th {
  padding-top: 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.compare td:first-child {
  width: 22%;
  color: var(--ink);
}

.compare td:nth-child(2) {
  width: 39%;
  color: var(--mute);
}

.compare td:nth-child(3),
.compare th:nth-child(3) {
  width: 39%;
  padding-left: 24px;
  border-left: 1px solid var(--line);
  background: rgba(107, 111, 69, 0.05);
}

.compare th:nth-child(3) {
  color: var(--olive);
}

/* ---------- Этапы ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(16px, 2vw, 26px);
}

.steps article {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-2);
}

.steps span {
  display: block;
  margin-bottom: 22px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--clay);
}

.steps h3 {
  font-size: 18px;
}

.steps p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mute);
}

/* ---------- Сценарии применения ---------- */

.use-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 2vw, 26px);
}

.use-grid article {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.use-grid h3 {
  font-size: 20px;
  font-weight: 500;
}

.use-grid p {
  font-size: 15.5px;
  color: var(--mute);
}

.use-grid .wide {
  position: relative;
  grid-row: span 2;
  align-content: end;
  min-height: 380px;
  padding: 34px;
  border-top: 0;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(22, 21, 15, 0.1) 0%, rgba(22, 21, 15, 0.82) 100%),
    url("https://xn--e1aaha1awdex0e.xn--p1ai/wp-content/uploads/2026/01/DSC03418-%D0%A3%D0%BB%D1%83%D1%87%D1%88%D0%B5%D0%BD%D0%BE-%D0%A3%D0%BC.-%D1%88%D1%83%D0%BC%D0%B0-1024x683.jpg") center / cover no-repeat;
}

.use-grid .wide h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: -0.018em;
  max-width: 16ch;
}

.use-grid .wide p {
  max-width: 40ch;
  color: rgba(252, 250, 246, 0.78);
}

/* ---------- Фильтры ---------- */

.gallery-toolbar,
.nodes-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-2);
  border-radius: 2px;
  font-size: 14px;
  color: var(--mute);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.filter-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.filter-btn.is-on {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* ---------- Видео ---------- */

.videos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 28px);
}

.video-card {
  display: grid;
  gap: 12px;
  text-align: left;
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-3);
}

.video-thumb img,
.video-thumb video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.video-card:hover .video-thumb img {
  transform: scale(1.03);
}

.play {
  position: absolute;
  inset: auto 14px 14px auto;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  background: var(--cream);
  color: var(--ink);
  font-size: 11px;
  padding-left: 2px;
}

.video-card b {
  font-size: 16px;
  font-weight: 500;
}

.video-card p {
  font-size: 12px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mute-2);
}

/* ---------- Журнал ---------- */

.journal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 34px);
}

.journal-card {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
  color: inherit;
  transition: border-color 0.3s var(--ease);
}

.journal-card:hover {
  border-top-color: var(--ink);
}

.journal time {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
}

.journal-card h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.journal-card p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--mute);
}

.journal-card .open-tg {
  margin-top: 6px;
  font-size: 14.5px;
}

/* ---------- Тёмные секции ---------- */

.dark {
  background: var(--ink);
  color: var(--cream);
}

.dark .muted {
  color: rgba(252, 250, 246, 0.6);
}

.dark .eyebrow,
.dark .kicker {
  color: var(--sand);
}

.dark .btn-ghost {
  border-color: var(--line-inv-2);
  color: var(--cream);
}

.dark .btn-ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.dark a:not(.btn):not(.path-link) {
  color: var(--sand);
}

/* Ссылки внутри абзацев: олива, тонкое подчёркивание */
.section:not(.dark) p a:not(.btn):not(.path-link),
.note-box p a:not(.btn):not(.path-link),
.dark .form-card p a:not(.btn):not(.path-link) {
  color: var(--olive);
  border-bottom: 1px solid rgba(107, 111, 69, 0.35);
  padding-bottom: 1px;
  transition: border-color 0.25s var(--ease);
}

.section:not(.dark) p a:not(.btn):not(.path-link):hover,
.note-box p a:not(.btn):not(.path-link):hover,
.dark .form-card p a:not(.btn):not(.path-link):hover {
  border-bottom-color: var(--olive);
}

/* ---------- FAQ ---------- */

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq details {
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.faq details summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.25s var(--ease);
}

.faq details summary::-webkit-details-marker {
  display: none;
}

.faq details summary::after {
  content: "+";
  flex: none;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--clay);
  transition: transform 0.3s var(--ease);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details summary:hover {
  color: var(--olive);
}

.faq details p {
  max-width: 68ch;
  padding-bottom: 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--mute);
}

/* ---------- Контакты и формы ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0;
  margin: 30px 0 0;
  border-top: 1px solid var(--line-inv);
}

.contact-list > div {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-inv);
}

.contact-list b {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(252, 250, 246, 0.5);
}

.contact-list p {
  font-size: 17px;
}

.contact-list a {
  color: var(--sand);
  border-bottom: 1px solid rgba(216, 207, 186, 0.4);
  padding-bottom: 1px;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.contact-list a:hover {
  color: var(--cream);
  border-bottom-color: var(--cream);
}

.contact-phone p {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.form-card {
  padding: clamp(26px, 3vw, 40px);
  background: var(--cream);
  color: var(--ink);
}

.form-card > h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.018em;
  margin-bottom: 8px;
}

.form-card .muted {
  color: var(--mute);
}

.form-lines {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.form-phone {
  margin: 0;
  color: var(--mute);
}

.form-phone a,
.form-phone span {
  color: var(--ink);
}

.form-phone a {
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 1px;
}

.form-phone a:hover {
  border-bottom-color: var(--ink);
}

.form {
  display: grid;
  gap: 16px;
}

.form label {
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--mute);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: none;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}

.form input::placeholder,
.form textarea::placeholder {
  color: var(--mute-2);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--olive);
}

.form textarea {
  min-height: 118px;
  resize: vertical;
}

.form-note {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  line-height: 1.45;
}

.form-note input {
  flex: none;
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olive);
}

.form button[type="submit"] {
  margin-top: 4px;
}

.form-ok {
  display: none;
  padding: 13px 15px;
  background: rgba(107, 111, 69, 0.1);
  color: var(--olive-deep);
  font-size: 14.5px;
}

.form.is-sent .form-ok {
  display: block;
}

/* ---------- Внутренние герои ---------- */

.page-hero {
  position: relative;
  padding: clamp(44px, 6vw, 88px) 0 clamp(48px, 6vw, 92px);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-inv);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 18px;
}

.page-hero h1 {
  max-width: 17ch;
  margin-top: 6px;
}

.page-hero .hero-lead {
  max-width: 52ch;
  color: rgba(252, 250, 246, 0.72);
}

.page-hero .eyebrow {
  color: var(--sand);
}

.page-hero .btn-ghost {
  border-color: var(--line-inv-2);
  color: var(--cream);
}

.page-hero .btn-ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.page-hero .hero-actions {
  margin-top: 14px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: rgba(252, 250, 246, 0.45);
}

.crumbs a {
  color: rgba(252, 250, 246, 0.7);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.crumbs a:hover {
  color: var(--cream);
  border-bottom-color: currentColor;
}

/* ---------- Нижний CTA ---------- */

.page-cta {
  padding: clamp(52px, 6vw, 86px) 0;
  background: var(--olive-deep);
  color: var(--cream);
}

.page-cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.page-cta h2 {
  max-width: 18ch;
}

.page-cta p {
  max-width: 46ch;
  margin-top: 12px;
  color: rgba(252, 250, 246, 0.7);
}

.page-cta a:not(.btn) {
  color: var(--sand);
  border-bottom: 1px solid currentColor;
}

.page-cta .btn-light:hover {
  border-color: var(--line-inv-2);
}

/* ---------- Подвал ---------- */

.footer {
  padding: clamp(44px, 5vw, 68px) 0 40px;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14.5px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: clamp(28px, 4vw, 60px);
  padding-bottom: 36px;
}

.footer-brand p {
  max-width: 32ch;
  margin-bottom: 22px;
}

.footer-logo {
  width: 150px;
  height: auto;
  margin-bottom: 14px;
}

.footer-mark {
  width: 118px;
  height: auto;
  opacity: 0.7;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px 20px;
  align-content: start;
}

.footer-nav a,
.footer-contacts a {
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover,
.footer-contacts a:hover {
  color: var(--ink);
}

.footer-contacts {
  display: grid;
  gap: 9px;
  align-content: start;
}

.footer-contacts p:first-child {
  color: var(--ink);
}

.footer-note {
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
}

.footer-note p {
  max-width: 90ch;
}

.footer-note a {
  color: var(--olive);
  border-bottom: 1px solid rgba(107, 111, 69, 0.35);
}

.footer-note a:hover {
  border-bottom-color: var(--olive);
}

/* ---------- Потолки: уровни и типы ---------- */

.level-track {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}

.level-track a {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 116px;
  padding: 18px 16px 20px 0;
  font-size: 14.5px;
  line-height: 1.28;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.level-track a + a {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.level-track a:hover {
  color: var(--olive);
}

.level-track small {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--clay);
}

.type-board {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-2);
}

.type-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: stretch;
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.type-card.is-wide {
  grid-template-columns: 300px 1fr;
}

.type-copy {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 30px 0;
  max-width: 58ch;
}

.type-copy h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.018em;
}

.type-copy p {
  font-size: 15.5px;
  color: var(--mute);
}

/* Схемы потолков: тонкая абстракция, не иллюстрация */
.type-visual {
  position: relative;
  align-self: center;
  min-height: 168px;
  margin: 26px 0;
  background: var(--paper-3);
  overflow: hidden;
}

.type-visual span {
  position: absolute;
  inset: 26px 22px 30px;
  background: var(--cream);
}

.type-mat span {
  box-shadow: inset 0 0 0 1px rgba(22, 21, 15, 0.07);
}

.type-wet span {
  clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
}

.type-wet::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 20px;
  width: 13px;
  height: 17px;
  border-radius: 0 10px 10px 10px;
  background: rgba(107, 111, 69, 0.5);
  transform: rotate(40deg);
}

.type-shadow span {
  inset: 26px 22px 30px 36px;
  box-shadow: -10px 0 0 var(--ink);
}

.type-flush span {
  inset: 26px 0 30px 0;
}

.type-float span {
  inset: 26px 22px 30px 42px;
  box-shadow: -16px 0 22px rgba(154, 127, 92, 0.6);
}

.type-lines span::before,
.type-lines span::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--paper);
  box-shadow: 0 0 16px rgba(22, 21, 15, 0.18);
}

.type-lines span::after {
  left: auto;
  right: 28%;
  width: 5px;
}

.type-track span::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 44%;
  height: 6px;
  background: var(--ink);
}

.type-track span::after {
  content: "";
  position: absolute;
  left: 22%;
  top: 38%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--clay);
  box-shadow: 58px 0 0 var(--clay), 116px 0 0 var(--clay);
}

.type-niche span {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 28% 100%, 28% 38%, 0 38%);
}

.type-complex span {
  clip-path: polygon(0 22%, 58% 0, 100% 18%, 100% 100%, 42% 100%, 42% 48%, 0 62%);
}

/* ---------- Дизайнерам ---------- */

.designers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.designers-ghost {
  border-color: var(--line-inv-2);
  color: var(--cream);
}

.designers-ghost:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.partner-grid {
  margin-top: clamp(34px, 4vw, 56px);
}

.dealer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.dealer-row img {
  width: 130px;
  height: auto;
}

/* ---------- Чистая форма ---------- */

.chistaya-section {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.chistaya-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.chistaya-head h2 {
  max-width: 18ch;
  margin: 12px 0 0;
}

/* ---------- Узлы ---------- */

.nodes-section {
  background: var(--paper);
  padding-top: clamp(48px, 6vw, 86px);
}

.nodes-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.nodes-intro h2 {
  max-width: 15ch;
  margin: 14px 0 16px;
}

.nodes-intro .muted {
  max-width: 52ch;
}

.nodes-album {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.nodes-album figure {
  width: 100%;
  max-width: 300px;
  background: #fff;
  border: 1px solid var(--line);
}

.nodes-album img {
  width: 100%;
  aspect-ratio: 1 / 1.414;
  object-fit: contain;
  background: #fff;
}

.nodes-album small {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3vw, 44px) clamp(20px, 2.2vw, 30px);
}

.node-card {
  display: grid;
  gap: 16px;
  text-align: left;
  color: inherit;
}

.node-card.is-lead {
  grid-column: span 2;
}

.node-sheet {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  transition: border-color 0.3s var(--ease);
}

.node-card.is-lead .node-sheet {
  aspect-ratio: 4 / 3;
}

.node-sheet img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transition: transform 0.7s var(--ease);
}

.node-card:hover .node-sheet img {
  transform: scale(1.025);
}

.node-card:hover .node-sheet {
  border-color: var(--line-2);
}

.node-meta {
  display: grid;
  gap: 6px;
}

.node-meta small {
  display: block;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
}

.node-meta b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.node-meta p {
  max-width: 40ch;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--mute);
}

/* ---------- Ткани ---------- */

.fabrics-section {
  background: var(--paper);
  padding-top: clamp(48px, 6vw, 86px);
}

.fabrics-count {
  margin: -14px 0 24px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.fabrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 2.6vw, 38px) clamp(16px, 1.8vw, 24px);
}

.fabric-card {
  display: grid;
  gap: 14px;
  text-align: left;
  color: inherit;
}

.fabric-swatch {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-3);
}

.fabric-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s var(--ease);
}

.fabric-swatch .fabric-fold {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.fabric-card:hover .fabric-swatch img:first-child {
  transform: scale(1.03);
}

.fabric-card:hover .fabric-swatch.has-fold img:first-child {
  opacity: 0;
}

.fabric-card:hover .fabric-fold {
  opacity: 1;
}

.fabric-swatch.is-empty {
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  background: none;
  color: var(--mute-2);
  text-align: center;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.fabric-meta {
  display: grid;
  gap: 3px;
}

.fabric-meta small {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.fabric-meta b {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
}

.fabric-meta p {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- Калькулятор ---------- */

.calc-section {
  background: var(--ink);
  color: var(--cream);
  padding-top: clamp(48px, 6vw, 86px);
}

.calc-section .muted {
  color: rgba(252, 250, 246, 0.6);
}

.calc-section .eyebrow,
.calc-section .kicker,
.calc-kicker {
  color: var(--sand);
}

.calc-board {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 3vw, 44px);
  align-items: start;
}

.calc-fields {
  padding: clamp(24px, 2.6vw, 34px);
  background: rgba(252, 250, 246, 0.04);
  border: 1px solid var(--line-inv);
}

.calc-kicker {
  margin: 0 0 16px;
}

.calc-kicker + .calc-grid {
  margin-bottom: 26px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-grid-2 {
  margin-bottom: 18px;
}

.calc-fields label {
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(252, 250, 246, 0.55);
}

.calc-fields input,
.calc-fields select {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 2px;
}

.calc-fields input:focus,
.calc-fields select:focus {
  outline: none;
  border-color: var(--sand);
}

.calc-checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  margin: 10px 0 18px;
}

.calc-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(252, 250, 246, 0.82);
}

.calc-checks input {
  flex: none;
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--clay);
}

.calc-note {
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(252, 250, 246, 0.5);
}

.calc-results {
  display: grid;
  gap: 16px;
}

.calc-card {
  display: grid;
  align-content: start;
  gap: 0;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--cream);
  color: var(--ink);
}

.calc-card .kicker {
  color: var(--clay);
}

.calc-card-lead {
  background: var(--olive-deep);
  color: var(--cream);
}

.calc-card-lead .kicker {
  color: var(--sand);
}

.calc-card h3 {
  margin: 10px 0 18px;
  font-size: 18px;
  font-weight: 500;
}

.calc-sum {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 46px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.calc-per {
  margin: 10px 0 18px;
  font-size: 14px;
  color: var(--mute);
}

.calc-card-lead .calc-per {
  color: rgba(252, 250, 246, 0.6);
}

.calc-layers {
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 14px;
  color: var(--mute);
}

.calc-card-lead .calc-layers {
  border-top-color: var(--line-inv);
  color: rgba(252, 250, 246, 0.7);
}

.calc-delta {
  padding: 18px 20px;
  background: rgba(252, 250, 246, 0.05);
  border: 1px solid var(--line-inv);
  font-size: 16px;
}

.calc-results .btn {
  justify-self: start;
}

.calc-section .btn-solid {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.calc-section .btn-solid:hover {
  background: transparent;
  border-color: var(--line-inv-2);
  color: var(--cream);
}

/* ---------- Лайтбоксы ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(22, 21, 15, 0.92);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-frame {
  width: min(1000px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}

.lightbox-frame iframe,
.lightbox-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.lightbox-frame.is-photo {
  aspect-ratio: 1;
  width: min(720px, 100%);
  background: var(--paper);
}

.lightbox-frame.is-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-close,
.node-lightbox-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 48px;
  height: 48px;
  color: var(--cream);
  font-size: 26px;
  font-weight: 300;
}

.node-lightbox {
  position: fixed;
  inset: 0;
  z-index: 92;
  display: none;
  place-items: center;
  padding: 28px 76px 32px;
  background: rgba(22, 21, 15, 0.94);
}

.node-lightbox.is-open {
  display: grid;
}

.node-lightbox-stage {
  width: min(800px, 100%);
  display: grid;
  gap: 18px;
}

.node-lightbox-paper {
  background: var(--cream);
  max-height: calc(100dvh - 170px);
  overflow: auto;
}

.node-lightbox-paper img {
  width: 100%;
  height: auto;
}

.node-lightbox-cap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  color: var(--cream);
}

.node-lightbox-cap b {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
  color: var(--sand);
}

.node-lightbox-cap strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
}

.node-lightbox-cap p {
  margin-top: 4px;
  font-size: 14px;
  color: rgba(252, 250, 246, 0.6);
}

.node-lightbox-nav {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 64px;
  transform: translateY(-50%);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 34px;
}

.node-lightbox-prev {
  left: 12px;
}

.node-lightbox-next {
  right: 12px;
}

/* ---------- Плавающая запись ---------- */

.float-bar {
  position: fixed;
  z-index: 35;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.float-bar.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.float-phone,
.float-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.float-phone {
  padding: 0 18px;
  background: var(--cream);
  border: 1px solid var(--line);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 16px 32px -14px rgba(22, 21, 15, 0.35);
}

.float-phone:hover {
  background: #fff;
}

.float-cta {
  padding: 0 24px;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: var(--cream);
  box-shadow: 0 16px 32px -12px rgba(22, 21, 15, 0.45);
}

.float-cta:hover {
  background: var(--olive);
  border-color: var(--olive);
}

body.is-float-cta .nav-cta {
  display: none;
}

/* ---------- Появление блоков ---------- */

.js-reveal [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.js-reveal [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

/* ---------- Адаптив ---------- */

@media (min-width: 1000px) {
  .nav-badge {
    display: inline-flex;
  }
}

@media (max-width: 1180px) {
  .nav-links {
    gap: 16px;
    font-size: 14px;
  }

  .nav-logo {
    width: 132px;
  }
}

@media (max-width: 1080px) {
  .nav {
    position: sticky;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gut) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 26px 40px -26px rgba(22, 21, 15, 0.3);
    max-height: calc(100dvh - var(--nav-h));
    overflow: auto;
    font-size: 17px;
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links a:not(.btn)::after {
    display: none;
  }

  .nav-links a.is-active:not(.btn) {
    color: var(--olive);
  }

  .nav-more,
  .nav-more-menu {
    display: contents;
  }

  .nav-more-btn {
    display: none;
  }

  .nav-more-menu a {
    padding: 14px 0;
    background: none !important;
  }

  .nav-phone {
    padding: 18px 0 6px !important;
    border-bottom: 0 !important;
    font-family: var(--serif);
    font-size: 26px;
    letter-spacing: -0.02em;
  }

  .nav-cta.btn {
    min-height: 52px;
    margin-top: 12px;
  }
}

@media (max-width: 1000px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .address-plate {
    max-width: 460px;
  }

  .hero-meta {
    margin-top: 36px;
  }

  .level-track {
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 0;
  }

  .level-track a {
    min-height: 100px;
    border-bottom: 1px solid var(--line);
  }

  .level-track a:nth-child(3n + 1) {
    padding-left: 0;
    border-left: 0;
  }

  .level-track a:not(:nth-child(3n + 1)) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .split,
  .use-grid,
  .partners,
  .contact-grid,
  .nodes-intro,
  .paths-grid,
  .designer-why,
  .chistaya-head,
  .chistaya-grid,
  .calc-board,
  .light-grid,
  .honest-grid,
  .scenario-grid,
  .who-grid,
  .benefits,
  .journal,
  .videos,
  .type-card,
  .type-card.is-wide,
  .footer-grid,
  .choice-grid,
  .ceiling-grid,
  .partner-grid,
  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }

  .split,
  .contact-grid,
  .nodes-intro,
  .chistaya-head,
  .calc-board,
  .type-card,
  .type-card.is-wide,
  .use-grid {
    grid-template-columns: 1fr;
  }

  .use-grid .wide {
    grid-row: auto;
    min-height: 300px;
  }

  .trust article,
  .trust article + article {
    padding: 26px 24px 28px 0;
    border-left: 0;
  }

  .trust article:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--line);
  }

  .trust article:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .type-visual {
    min-height: 150px;
    margin: 26px 0 0;
  }

  .type-copy {
    padding: 22px 0 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }

  .nodes-grid {
    grid-template-columns: 1fr 1fr;
  }

  .node-card.is-lead {
    grid-column: auto;
  }

  .node-card.is-lead .node-sheet {
    aspect-ratio: 3 / 4;
  }

  .page-cta-inner {
    align-items: start;
  }

  .showroom-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 16px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .benefits,
  .steps,
  .videos,
  .journal,
  .trust-inner,
  .ceiling-grid,
  .partner-grid,
  .paths-grid,
  .designer-why,
  .chistaya-grid,
  .choice-grid,
  .light-grid,
  .honest-grid,
  .scenario-grid,
  .who-grid,
  .calc-grid,
  .calc-checks,
  .footer-grid,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .trust article,
  .trust article + article,
  .trust article:nth-child(even) {
    padding: 22px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust article:first-child {
    border-top: 0;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }

  .hero-meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-meta b {
    font-size: 21px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .fabrics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px 14px;
  }

  .nodes-grid {
    grid-template-columns: 1fr;
  }

  .level-track {
    grid-template-columns: 1fr 1fr;
  }

  .level-track a:nth-child(3n + 1) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .level-track a:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .level-track a:nth-child(even) {
    padding-left: 16px;
    border-left: 1px solid var(--line);
  }

  .contact-list > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .address-plate {
    padding: 22px 20px 22px;
  }

  .node-lightbox {
    padding: 60px 14px 84px;
  }

  .node-lightbox-nav {
    top: auto;
    bottom: 14px;
    height: 48px;
    transform: none;
  }

  .node-lightbox-prev {
    left: 16px;
  }

  .node-lightbox-next {
    right: 16px;
  }

  .node-lightbox-cap {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .float-bar {
    right: 14px;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: none;
  }

  .float-bar.is-on {
    display: flex;
  }

  .float-phone,
  .float-cta {
    flex: 1;
  }

  body.is-float-cta {
    padding-bottom: 82px;
  }

  .page-cta-inner .btn {
    width: 100%;
  }

  .showroom-facts {
    grid-template-columns: 1fr;
  }

  .showroom-facts li,
  .showroom-facts li + li {
    grid-template-columns: 40px 1fr;
    gap: 0 14px;
    padding: 18px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line-inv);
  }

  .showroom-band .link-row .btn {
    flex: 1 1 100%;
  }
}
