/* ============================================================
   СтройБел — дизайн-система
   Палитра: графит, тёплая бумага, строительный оранжевый.
   Без внешних шрифтов и библиотек — быстрая загрузка.
   ============================================================ */

:root {
  --ink: #101820;
  --ink-2: #18242e;
  --ink-3: #223240;
  --paper: #f6f3ec;
  --paper-2: #eee9df;
  --white: #ffffff;
  --accent: #e56a1f;
  --accent-hi: #f08a3c;
  --sand: #c9a87c;
  --muted: #5d6770;
  --muted-light: #9aa4ad;
  --line: rgba(16, 24, 32, 0.14);
  --line-strong: rgba(16, 24, 32, 0.28);
  --line-dark: rgba(255, 255, 255, 0.14);
  --font: "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", "IBM Plex Mono", Consolas, "Courier New", monospace;
  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  --radius: 2px;
  --shadow: 0 18px 50px rgba(16, 24, 32, 0.12);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.i {
  flex: none;
  width: 24px;
  height: 24px;
}

[id] {
  scroll-margin-top: 110px;
}

/* ---------- typography ---------- */
.eyebrow {
  margin: 0 0 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow--light {
  color: var(--accent-hi);
}

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

.section--tight {
  padding-block: clamp(36px, 5vw, 64px);
}

.section--paper {
  background: var(--paper-2);
}

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

.section--ink {
  background: var(--ink);
  color: var(--paper);
  padding-block: clamp(40px, 6vw, 72px);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section__head.is-center {
  margin-inline: auto;
  text-align: center;
}

.section__title {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.05;
}

.section__lead {
  margin-top: 20px;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(16px, 1.3vw, 18px);
}

.section--dark .section__lead,
.section--ink .section__lead {
  color: rgba(246, 243, 236, 0.72);
}

.section__more {
  margin-top: 40px;
  display: flex;
  justify-content: flex-start;
}

.prose {
  max-width: 70ch;
}

.prose p {
  font-size: 17px;
  color: #303c46;
}

.prose h2 {
  font-size: 24px;
  margin: 34px 0 10px;
}

.prose--narrow {
  max-width: 760px;
}

.table-note {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}

.table-note a {
  border-bottom: 1px solid var(--line-strong);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn .i {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.16);
}

.btn:hover .i {
  transform: translateX(3px);
}

.btn--accent {
  background: var(--accent);
  color: #14100c;
}

.btn--accent:hover {
  background: var(--accent-hi);
}

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

.btn--dark:hover {
  background: var(--ink-3);
}

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

.btn--light:hover {
  background: var(--white);
}

.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--paper);
}

.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(255, 255, 255, 0.06);
}

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

.btn--ghost-dark:hover {
  background: rgba(16, 24, 32, 0.05);
}

.btn--sm {
  min-height: 42px;
  padding: 10px 18px;
  font-size: 13px;
}

.btn--block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
  box-shadow: none;
}

/* ---------- header ---------- */
.topbar {
  background: var(--ink);
  color: rgba(246, 243, 236, 0.72);
  font-size: 12.5px;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.topbar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--paper);
  font-weight: 600;
}

.topbar__links .i {
  width: 14px;
  height: 14px;
  color: var(--accent-hi);
}

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 243, 236, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.header.is-scrolled {
  box-shadow: 0 10px 30px rgba(16, 24, 32, 0.08);
  background: rgba(246, 243, 236, 0.98);
}

.header__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 78px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}

.logo__mark {
  width: 38px;
  height: 38px;
  color: var(--accent);
}

.logo__text {
  display: flex;
  flex-direction: column;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.logo__text small {
  margin-top: 5px;
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.logo--light {
  color: var(--paper);
}

.logo--light .logo__text small {
  color: rgba(246, 243, 236, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: #2b3741;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--ink);
  background: rgba(16, 24, 32, 0.06);
}

.nav__caret {
  width: 13px;
  height: 13px;
  transform: rotate(90deg);
  color: var(--muted);
}

.drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 440px;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.nav__item--drop:hover .drop,
.nav__item--drop:focus-within .drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.drop__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: var(--radius);
}

.drop__link .i {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.drop__link:hover {
  background: var(--paper);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: none;
}

.header__phone {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.burger .i {
  width: 22px;
  height: 22px;
}

.burger .i + .i {
  display: none;
}

body.nav-open .burger .i:first-child {
  display: none;
}

body.nav-open .burger .i + .i {
  display: block;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 84px) 0 0;
  background:
    radial-gradient(820px 480px at 82% 8%, rgba(229, 106, 31, 0.18), transparent 62%),
    linear-gradient(180deg, #0d151c 0%, #111b23 100%);
  color: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-bottom: clamp(48px, 6vw, 72px);
}

.hero__copy {
  max-width: 660px;
}

.hero h1 {
  font-size: clamp(38px, 5.4vw, 74px);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.hero h1 span {
  display: block;
  color: var(--accent-hi);
}

.hero__lead {
  max-width: 54ch;
  margin-top: 26px;
  font-size: clamp(16px, 1.35vw, 18.5px);
  line-height: 1.55;
  color: rgba(246, 243, 236, 0.76);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 30px;
  font-size: 13.5px;
  color: rgba(246, 243, 236, 0.78);
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__points .i {
  width: 17px;
  height: 17px;
  color: var(--accent-hi);
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 34px;
  margin-bottom: 26px;
  padding: 18px 0;
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  color: rgba(246, 243, 236, 0.82);
}

.hero__facts li {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.hero__facts .i {
  width: 16px;
  height: 16px;
  color: var(--accent-hi);
}

.hero__art {
  position: relative;
  min-height: 400px;
}

.blueprint {
  width: 100%;
  height: auto;
  color: rgba(233, 226, 212, 0.62);
  fill: none;
}

.blueprint__lines {
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: square;
}

.blueprint__text {
  fill: var(--sand);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
}

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(13, 21, 28, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  animation: float 7s ease-in-out infinite;
}

.float-card .i {
  width: 26px;
  height: 26px;
  color: var(--accent-hi);
}

.float-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.2;
}

.float-card span {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: rgba(246, 243, 236, 0.6);
}

.float-card--a {
  top: -1%;
  left: -9%;
}

.float-card--b {
  right: -4%;
  top: 7%;
  animation-delay: -3.5s;
}

.hero__scale {
  position: absolute;
  left: 6%;
  bottom: 0;
  display: flex;
  gap: 2px;
  width: 120px;
}

.hero__scale span {
  flex: 1;
  height: 8px;
  background: var(--accent);
}

.hero__scale span:nth-child(even) {
  background: transparent;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

/* ---------- trust ---------- */
.trust {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 26px;
  border-right: 1px solid var(--line);
}

.trust__item:last-child {
  border-right: 0;
}

.trust__item .i {
  width: 26px;
  height: 26px;
  color: var(--accent);
}

.trust__item strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
}

.trust__item span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- services ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.28);
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.6vw, 34px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(16, 24, 32, 0.08);
  z-index: 1;
}

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 26px;
}

.service-card__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.service-card__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
}

.service-card h3 {
  font-size: clamp(19px, 1.7vw, 22px);
  line-height: 1.2;
}

.service-card > p {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.service-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13.5px;
  color: #34414c;
}

.service-card li .i {
  width: 15px;
  height: 15px;
  margin-top: 3px;
  color: var(--accent);
}

.service-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}

.service-card__more .i {
  width: 15px;
  height: 15px;
}

.service-card:hover .service-card__more {
  color: var(--accent);
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: 116px;
}

.split--narrow {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
}

.split--story {
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
}

.split__aside .section__title {
  margin-top: 4px;
}

/* ---------- features ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  padding: clamp(22px, 2.5vw, 30px);
  background: var(--paper);
}

.features--four {
  grid-template-columns: repeat(4, 1fr);
}

.section--paper .feature {
  background: var(--paper-2);
}

.feature .i {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--accent);
}

.feature h3 {
  font-size: 17px;
  line-height: 1.25;
}

.feature p {
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- process ---------- */
.process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.process__step {
  display: flex;
  gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process__num {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
  min-width: 42px;
}

.process__step h3 {
  font-size: 17px;
}

.process__step p {
  margin-top: 7px;
  font-size: 14px;
  color: var(--muted);
}

.process__term {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* ---------- calculator ---------- */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.calc-grid__copy .section__title {
  margin-bottom: 18px;
}

.calc-list {
  display: grid;
  gap: 10px;
  margin: 26px 0;
}

.calc-list li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: rgba(246, 243, 236, 0.8);
}

.calc-list .i {
  width: 17px;
  height: 17px;
  color: var(--accent-hi);
}

.calc-grid__hint {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: rgba(246, 243, 236, 0.55);
  max-width: 46ch;
}

.calc {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.calc__tabs {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}

.calc__tab {
  flex: 1 1 auto;
  padding: 13px 10px;
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.calc__tab:last-child {
  border-right: 0;
}

.calc__tab:hover {
  background: var(--paper);
  color: var(--ink);
}

.calc__tab.is-active {
  background: var(--ink);
  color: var(--paper);
}

.calc__body {
  padding: clamp(20px, 2.6vw, 30px);
}

.calc__field {
  margin-bottom: 20px;
}

.calc__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.calc__label-row output {
  font-family: var(--mono);
  font-size: 15px;
  color: var(--accent);
}

input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 8px 0;
  background: var(--paper-2);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 1px var(--accent);
  border-radius: 0;
}

.calc__options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.calc__opt {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.calc__opt input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.calc__opt.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.calc__result {
  padding: 16px 18px;
  margin-bottom: 16px;
  background: var(--paper);
  border-left: 3px solid var(--accent);
}

.calc__result > span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.calc__result strong {
  display: block;
  margin: 4px 0 2px;
  font-family: var(--mono);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.calc__result small {
  font-size: 12px;
  color: var(--muted);
}

.calc__note {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted-light);
}

/* ---------- projects ---------- */
.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(18px, 2.4vw, 28px);
}

.project {
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.project:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.project__visual {
  position: relative;
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  color: rgba(246, 243, 236, 0.55);
}

.project__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
}

.project__visual--a {
  background: linear-gradient(140deg, #1b2a35, #35505f);
}

.project__visual--b {
  background: linear-gradient(140deg, #3a2e25, #70543d);
}

.project__visual--c {
  background: linear-gradient(140deg, #1f302b, #3f5d50);
}

.project__visual--d {
  background: linear-gradient(140deg, #2a2430, #4d3f56);
}

.project__visual--e {
  background: linear-gradient(140deg, #2d3138, #59626c);
}

.project__visual--f {
  background: linear-gradient(140deg, #332a22, #604a37);
}

.house-line {
  position: absolute;
  right: 4%;
  bottom: 2%;
  width: 62%;
  height: auto;
  opacity: 0.9;
}

.project__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 10px;
  background: rgba(246, 243, 236, 0.94);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project__body {
  padding: 22px 24px 24px;
}

.project__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.project__top h3 {
  font-size: 19px;
  line-height: 1.25;
}

.project__price {
  flex: none;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-align: right;
}

.project__meta {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--muted);
}

.project__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted-light);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.filter {
  padding: 9px 16px;
  background: transparent;
  border: 1px solid var(--line-strong);
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

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

.filter.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.project[hidden] {
  display: none;
}

/* ---------- norms ---------- */
.norms-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.norms-teaser h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.06;
  max-width: 20ch;
}

.norms-teaser__copy > p:not(.eyebrow) {
  max-width: 58ch;
  margin-top: 20px;
  color: rgba(246, 243, 236, 0.7);
}

.norm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
}

.norm-chips span {
  padding: 7px 11px;
  border: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(246, 243, 236, 0.8);
}

.norms-teaser__panel {
  padding: clamp(26px, 3.4vw, 40px);
  border: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.norms-teaser__stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 22px;
  border: 1px solid var(--accent);
  color: var(--accent-hi);
}

.norms-teaser__stamp .i {
  width: 28px;
  height: 28px;
}

.norms-teaser__panel strong {
  display: block;
  font-family: var(--mono);
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.norms-teaser__panel > span:last-of-type {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: rgba(246, 243, 236, 0.6);
}

.norms-teaser__panel ul {
  display: grid;
  gap: 10px;
}

.norms-teaser__panel li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: rgba(246, 243, 236, 0.78);
}

.norms-teaser__panel li .i {
  width: 16px;
  height: 16px;
  color: var(--accent-hi);
}

.norms-teaser__panel hr {
  border-color: var(--line-dark);
  margin: 20px 0;
}

/* ---------- docs ---------- */
.docs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.doc-card {
  padding: clamp(22px, 2.6vw, 30px);
  background: var(--paper);
}

.section--paper .doc-card {
  background: var(--paper-2);
}

.doc-card .i {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  color: var(--accent);
}

.doc-card h3 {
  font-size: 16px;
  line-height: 1.3;
}

.doc-card p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- faq ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.faq-grid__aside {
  position: sticky;
  top: 116px;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq__plus {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
}

.faq__plus::before,
.faq__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.2s;
}

.faq__plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] .faq__plus::after {
  transform: translate(-50%, -50%) rotate(0);
}

.faq__a {
  padding: 0 44px 24px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}

/* ---------- cta ---------- */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(700px 400px at 20% 10%, rgba(229, 106, 31, 0.16), transparent 65%),
    var(--ink);
  color: var(--paper);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
}

.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.cta h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.05;
}

.cta__lead {
  max-width: 46ch;
  margin-top: 18px;
  color: rgba(246, 243, 236, 0.7);
  font-size: 15.5px;
}

.cta__points {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.cta__points li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: rgba(246, 243, 236, 0.8);
}

.cta__points .i {
  width: 17px;
  height: 17px;
  color: var(--accent-hi);
}

.cta__contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
}

.cta__contacts a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.cta__contacts .i {
  width: 18px;
  height: 18px;
  color: var(--accent-hi);
}

.cta__form {
  background: var(--white);
  color: var(--ink);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

/* ---------- forms ---------- */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.lead-form__title {
  grid-column: 1 / -1;
  font-size: 18px;
  font-weight: 700;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0;
  font-size: 14px;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea {
  resize: vertical;
  min-height: 70px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.field input::placeholder,
.field textarea::placeholder {
  color: #98a0a7;
}

.field.is-error input,
.field.is-error select {
  border-color: #b3261e;
  background: #fff6f5;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}

.checkbox a {
  border-bottom: 1px solid var(--line-strong);
}

.checkbox.is-error {
  color: #b3261e;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  grid-column: 1 / -1;
  margin: -2px 0 0;
  font-size: 11px;
  color: var(--muted-light);
  text-align: center;
}

.form-status {
  grid-column: 1 / -1;
  display: none;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.45;
}

.form-status.is-success {
  display: block;
  background: #edf7ef;
  border-left: 3px solid #2e7d32;
  color: #1b5e20;
}

.form-status.is-error {
  display: block;
  background: #fff3f2;
  border-left: 3px solid #b3261e;
  color: #8c1d18;
}

/* ---------- footer ---------- */
.footer {
  padding-top: clamp(52px, 7vw, 80px);
  background: #0b1217;
  color: rgba(246, 243, 236, 0.72);
  font-size: 13.5px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 0.8fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 52px;
}

.footer__brand > p {
  max-width: 38ch;
  margin-top: 20px;
  color: rgba(246, 243, 236, 0.5);
}

.footer__contacts {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.footer__contacts a,
.footer__contacts span {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(246, 243, 236, 0.78);
}

.footer__contacts .i {
  width: 16px;
  height: 16px;
  color: var(--accent-hi);
}

.footer__col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__col h3 {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}

.footer__col a {
  color: rgba(246, 243, 236, 0.64);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--paper);
}

.footer__col--cta p {
  color: rgba(246, 243, 236, 0.5);
  font-size: 12.5px;
  line-height: 1.55;
}

.footer__col--cta .btn {
  margin-top: 6px;
}

.footer__tg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(246, 243, 236, 0.72) !important;
}

.footer__tg .i {
  width: 18px;
  height: 18px;
  color: var(--accent-hi);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 30px;
  padding-block: 22px;
  border-top: 1px solid var(--line-dark);
  font-size: 11.5px;
  color: rgba(246, 243, 236, 0.42);
}

.footer__bottom div {
  display: flex;
  gap: 20px;
}

.footer__bottom a {
  color: rgba(246, 243, 236, 0.56);
}

.footer__disclaimer {
  flex-basis: 100%;
  font-size: 10.5px;
  color: rgba(246, 243, 236, 0.3);
}

/* ---------- mobile bar ---------- */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  background: var(--ink);
  border-top: 1px solid var(--line-dark);
}

.mobile-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 9px 4px 10px;
  font-size: 10.5px;
  color: rgba(246, 243, 236, 0.8);
}

.mobile-bar .i {
  width: 21px;
  height: 21px;
}

.mobile-bar__accent {
  background: var(--accent);
  color: var(--ink) !important;
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  margin-bottom: 26px;
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: var(--muted);
}

.crumbs li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--muted-light);
}

.crumbs a:hover {
  color: var(--accent);
}

/* ---------- page hero ---------- */
.page-hero {
  padding: clamp(32px, 4.5vw, 48px) 0 clamp(44px, 6vw, 68px);
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.page-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.page-hero h1 {
  font-size: clamp(32px, 4.6vw, 58px);
  line-height: 1.02;
  max-width: 20ch;
}

.page-hero__lead {
  max-width: 62ch;
  margin-top: 20px;
  font-size: clamp(15.5px, 1.3vw, 17.5px);
  color: var(--muted);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-size: 13px;
}

.page-hero__points li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.page-hero__points .i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.page-hero__single {
  max-width: 900px;
}

.page-hero--small {
  padding-bottom: 36px;
}

.page-hero--small h1 {
  font-size: clamp(28px, 3.4vw, 42px);
}

.price-card {
  padding: clamp(22px, 3vw, 32px);
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 24px 60px rgba(16, 24, 32, 0.2);
}

.price-card__label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.price-card > strong {
  display: block;
  margin: 6px 0 10px;
  font-family: var(--mono);
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--accent-hi);
}

.price-card > p {
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(246, 243, 236, 0.55);
}

.price-card hr {
  border-color: var(--line-dark);
  margin: 18px 0;
}

.price-card ul {
  display: grid;
  gap: 9px;
  margin: 12px 0 22px;
}

.price-card li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(246, 243, 236, 0.78);
}

.price-card li .i {
  width: 15px;
  height: 15px;
  color: var(--accent-hi);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 500;
}

.hero-badges .i {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

/* ---------- includes ---------- */
.includes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.include {
  display: flex;
  gap: 20px;
  padding: clamp(22px, 2.8vw, 32px);
  background: var(--paper);
}

.include__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
  padding-top: 4px;
}

.include h3 {
  font-size: 17px;
}

.include p {
  margin-top: 8px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- timeline ---------- */
.timeline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  border-top: 1px solid var(--line);
}

.timeline__item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.timeline__num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent);
  padding-top: 4px;
  min-width: 26px;
}

.timeline__item h3 {
  font-size: 16.5px;
}

.timeline__item p {
  margin-top: 6px;
  font-size: 13.5px;
  color: var(--muted);
}

.timeline__term {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.timeline--compact {
  grid-template-columns: 1fr;
}

/* ---------- price table ---------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--white);
}

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

.price-table th {
  padding: 13px 18px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
}

.price-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  vertical-align: top;
}

.price-table tr:last-child td {
  border-bottom: 0;
}

.price-table tbody tr:hover {
  background: var(--paper);
}

.price-table__price {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--accent);
}

.price-table__price small {
  font-family: var(--font);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
}

/* ---------- norms list ---------- */
.norm-list {
  border-top: 1px solid var(--line);
}

.norm-row {
  display: grid;
  grid-template-columns: 160px 1fr 24px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.norm-row strong {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--accent);
}

.norm-row span {
  font-size: 13.5px;
  color: var(--muted);
}

.norm-row .i {
  width: 17px;
  height: 17px;
  color: var(--muted-light);
  transition: color 0.2s, transform 0.2s;
}

.norm-row:hover .i {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------- related ---------- */
.related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.related__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color 0.2s, transform 0.2s;
}

.related__item:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}

.related__item > .i:first-child {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.related__item > .i:last-child {
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: var(--muted);
}

.related__item strong {
  display: block;
  font-size: 14.5px;
}

.related__item span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- team / geo ---------- */
.team {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.team__item {
  display: flex;
  gap: 14px;
  padding: 24px;
  background: var(--paper);
}

.team__item .i {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.team__item strong {
  display: block;
  font-size: 14.5px;
}

.team__item span {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
}

.geo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.geo span {
  padding: 9px 14px;
  border: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
  background: var(--paper);
}

/* ---------- law ---------- */
.law-list {
  border-top: 1px solid var(--line);
}

.law {
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(22px, 2.8vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.law:hover {
  background: rgba(255, 255, 255, 0.5);
}

.law__num {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted-light);
  padding-top: 4px;
}

.law__body {
  max-width: 78ch;
}

.law__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.law__head strong {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--accent);
}

.law__head span {
  font-size: 11.5px;
  color: var(--muted-light);
}

.law h3 {
  margin-top: 8px;
  font-size: clamp(16px, 1.6vw, 19px);
}

.law p {
  margin-top: 7px;
  font-size: 13.5px;
  color: var(--muted);
}

.law__arrow {
  width: 20px;
  height: 20px;
  margin-left: auto;
  flex: none;
  color: var(--muted-light);
  transition: color 0.2s, transform 0.2s;
}

.law:hover .law__arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------- SN ---------- */
.sn-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.sn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px 20px;
  background: var(--paper-2);
  transition: background 0.2s;
}

.sn:hover {
  background: var(--white);
}

.sn strong {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--accent);
}

.sn span {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- notice ---------- */
.notice {
  display: flex;
  gap: 22px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  background: var(--white);
  border-left: 3px solid var(--accent);
}

.notice > div:first-child .i {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.notice h2 {
  font-size: clamp(20px, 2vw, 26px);
}

.notice p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

.notice__small {
  font-size: 11.5px !important;
  color: var(--muted-light) !important;
}

/* ---------- contacts ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  background: var(--paper);
}

a.contact-card:hover {
  background: var(--white);
}

.contact-card .i {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.contact-card span {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-light);
}

.contact-card strong {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
  line-height: 1.35;
}

.contact-card small {
  display: block;
  margin-top: 3px;
  font-size: 11.5px;
  color: var(--muted);
}

.contact-form {
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-form h2 {
  font-size: clamp(24px, 2.4vw, 30px);
}

.contact-form > p:not(.eyebrow) {
  margin: 12px 0 22px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- map ---------- */
.map-placeholder {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e4e0d6;
}

.map-placeholder__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(16, 24, 32, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 24, 32, 0.07) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-8deg) scale(1.2);
}

.map-placeholder__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 360px;
  padding: 26px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: var(--shadow);
}

.map-placeholder__card .i {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.map-placeholder__card strong {
  font-size: 15px;
}

.map-placeholder__card span {
  font-size: 12px;
  color: var(--muted);
}

.map-placeholder__card .btn {
  margin-top: 8px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: flex;
  align-items: center;
  padding-block: 80px;
  background:
    radial-gradient(600px 300px at 70% 20%, rgba(229, 106, 31, 0.12), transparent 70%),
    var(--ink);
  color: var(--paper);
}

.notfound h1 {
  font-size: clamp(38px, 6vw, 72px);
}

.notfound p {
  max-width: 46ch;
  margin-top: 18px;
  color: rgba(246, 243, 236, 0.65);
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* ---------- steps mini ---------- */
.steps-mini {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps-mini > div {
  padding: 24px;
  background: var(--paper);
}

.steps-mini .i {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: var(--accent);
}

.steps-mini strong {
  display: block;
  font-size: 14px;
}

.steps-mini span {
  display: block;
  margin-top: 4px;
  font-size: 11.5px;
  color: var(--muted);
}

/* ---------- animations ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .header__phone {
    display: none;
  }

  .nav__link {
    padding-inline: 9px;
    font-size: 13.5px;
  }

  .drop {
    width: 380px;
  }
}

@media (max-width: 1020px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__art {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
    min-height: 0;
  }

  .float-card--a {
    left: 4%;
  }

  .float-card--b {
    right: 4%;
  }

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

  .trust__item:nth-child(2) {
    border-right: 0;
  }

  .trust__item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .split,
  .split--narrow,
  .split--story,
  .calc-grid,
  .cta__grid,
  .faq-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .split__aside,
  .faq-grid__aside {
    position: static;
  }

  .features--four,
  .docs,
  .sn-grid {
    grid-template-columns: 1fr 1fr;
  }

  .norms-teaser {
    grid-template-columns: 1fr;
  }

  .page-hero__grid {
    grid-template-columns: 1fr;
  }

  .price-card {
    max-width: 560px;
  }

  .contact-cards {
    max-width: 720px;
  }
}

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .header__in {
    min-height: 66px;
  }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: calc(100vh - 66px);
    height: calc(100dvh - 66px);
    margin: 0;
    padding: 18px var(--gutter) 90px;
    background: var(--paper);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.28s var(--ease);
  }

  body.nav-open .nav {
    transform: none;
  }

  .nav__link {
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav__link:hover,
  .nav__link.is-active {
    background: transparent;
    color: var(--accent);
  }

  .nav__caret {
    margin-left: auto;
    width: 18px;
    height: 18px;
  }

  .nav__item--drop:hover .drop,
  .nav__item--drop:focus-within .drop {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .drop {
    position: static;
    width: auto;
    padding: 8px 0 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .drop__link {
    padding: 10px 0 10px 12px;
    font-size: 14px;
    border-left: 1px solid var(--line);
  }

  .burger {
    display: inline-flex;
  }

  .header__btn {
    display: none;
  }

  .header__actions {
    margin-left: auto;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: 58px;
  }

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

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

  .process,
  .timeline {
    grid-template-columns: 1fr;
  }

  .nav-open .header {
    position: sticky;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 34px;
  }

  .hero h1 {
    font-size: clamp(34px, 9vw, 46px);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__art {
    display: none;
  }

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

  .trust__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px;
  }

  .trust__item:last-child {
    border-bottom: 0;
  }

  .services,
  .includes,
  .features,
  .features--four,
  .docs,
  .sn-grid,
  .related,
  .team,
  .contact-cards,
  .steps-mini {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .lead-form .field {
    grid-column: 1 / -1;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom div {
    flex-direction: column;
    gap: 8px;
  }

  .project__top {
    flex-direction: column;
    gap: 6px;
  }

  .project__price {
    text-align: left;
  }

  .law__num {
    display: none;
  }

  .law {
    gap: 16px;
  }

  .norm-row {
    grid-template-columns: 1fr 24px;
    gap: 4px 12px;
  }

  .norm-row strong {
    grid-column: 1 / -1;
  }

  .notice {
    flex-direction: column;
    gap: 12px;
  }

  .cta__form {
    padding: 20px 16px;
  }

  .calc__tab {
    flex: 1 1 33%;
    font-size: 10.5px;
    padding: 11px 6px;
  }

  .page-hero h1 {
    font-size: clamp(30px, 8vw, 38px);
  }

  .section__title {
    font-size: clamp(26px, 7vw, 34px);
  }

  .steps-mini > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
  }

  .steps-mini .i {
    margin-bottom: 0;
  }

  .steps-mini strong {
    font-size: 13px;
  }
}

@media (max-width: 420px) {
  .logo__text {
    font-size: 17px;
  }

  .logo__text small {
    display: none;
  }

  .btn {
    padding-inline: 18px;
    font-size: 13px;
  }

  .hero__points {
    gap: 8px 16px;
  }

  .hero__facts {
    gap: 8px 18px;
    margin-bottom: 18px;
    padding: 14px 0;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

