/* ==========================================================================
   ПОТОЛКИ ОТ АРТУРА — натяжные потолки и освещение, Костомукша
   Дизайн-система: тёмная тема, оранжево-красный градиент, крупная сетка
   ========================================================================== */

/* ---------- 1. Токены ---------- */
:root {
  --bg:            #08070a;
  --bg-2:          #0d0c10;
  --surface:       #131217;
  --surface-2:     #1a191f;
  --surface-3:     #232128;

  --line:          rgba(255, 255, 255, .10);
  --line-2:        rgba(255, 255, 255, .18);

  --text:          #f2ede7;
  --muted:         #9b948c;
  --muted-2:       #6f6a65;

  --accent:        #ff4d14;
  --accent-2:      #ff9a2b;
  --accent-deep:   #a81100;

  --grad:          linear-gradient(102deg, var(--accent-deep) 0%, var(--accent) 46%, var(--accent-2) 100%);
  --grad-soft:     linear-gradient(160deg, rgba(255,77,20,.22) 0%, rgba(255,154,43,.06) 60%, transparent 100%);

  --radius:        24px;
  --radius-sm:     14px;
  --pill:          999px;

  --container:     1320px;
  --gutter:        clamp(18px, 4vw, 48px);

  --font-display:  'Unbounded', 'Onest', 'Segoe UI', system-ui, sans-serif;
  --font:          'Onest', 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --ease:          cubic-bezier(.22, .61, .36, 1);
  --dur:           .5s;

  --nav-h:         74px;
}

/* ---------- 2. База ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* лёгкое зерно поверх всей страницы */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #26242b; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #37343d; }

/* ---------- 3. Типографика ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.03em;
  text-transform: uppercase;
}

h1 { font-size: clamp(36px, 5.4vw, 78px); }
h2 { font-size: clamp(28px, 4.4vw, 62px); }
h3 { font-size: clamp(20px, 2.2vw, 30px); }

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

.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.045em;
  text-transform: uppercase;
  line-height: .86;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--muted); line-height: 1.65; }
.small { font-size: 13px; line-height: 1.55; color: var(--muted); }
.accent-text { color: var(--accent-2); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Обоснованный (justify) текст — как в референсе */
.justify { text-align: justify; text-justify: inter-word; hyphens: auto; }

/* ---------- 4. Раскладка ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(64px, 9vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 90px); }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 80px);
  align-items: end;
  margin-bottom: clamp(36px, 5vw, 72px);
}

.section-head__aside { max-width: 46ch; }

.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

.grid { display: grid; gap: clamp(16px, 2vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- 5. Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 9px 9px 9px 26px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform .25s var(--ease);
}

.btn__ico {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface-3);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.btn__ico svg { width: 14px; height: 14px; }

.btn:hover { transform: translateY(-2px); }
.btn:hover .btn__ico { transform: rotate(45deg); }

.btn--light { background: #f6f1eb; color: #100f13; border-color: transparent; }
.btn--light .btn__ico { background: #100f13; color: #f6f1eb; }
.btn--light:hover { background: #fff; }

.btn--grad { background: var(--grad); color: #fff; border-color: transparent; }
.btn--grad .btn__ico { background: rgba(0, 0, 0, .28); }

.btn--ghost:hover { background: rgba(255, 255, 255, .06); border-color: var(--line-2); }

.btn--wide { width: 100%; justify-content: space-between; }
.btn--sm { padding: 7px 7px 7px 20px; font-size: 13px; }
.btn--sm .btn__ico { width: 28px; height: 28px; }

.link-underline {
  position: relative;
  font-weight: 600;
  padding-bottom: 2px;
}
.link-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform-origin: left; transform: scaleX(0); }

/* Круглая иконка-стрелка */
.arrow-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  transition: all var(--dur) var(--ease);
}
.arrow-btn svg { width: 15px; height: 15px; }

/* ---------- 6. Шапка ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(8, 7, 10, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--line); }

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  margin-right: auto;
}
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  overflow: hidden;
  display: grid; place-items: center;
  flex: 0 0 auto;
}
.logo__mark img { width: 100%; height: 100%; object-fit: cover; }
.footer .logo__mark { width: 64px; height: 64px; }
.logo__text {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.logo__text span { display: block; }
.logo__text span:last-child { color: var(--muted); letter-spacing: .16em; font-size: 11px; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .3s var(--ease);
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--text); }

.nav__actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.nav__phone {
  font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: color .3s var(--ease);
}
.nav__phone:hover { color: var(--accent-2); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  padding: 0;
  position: relative;
}
.burger span {
  position: absolute;
  left: 12px;
  width: 18px; height: 1.5px;
  background: var(--text);
  transition: transform .35s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 24px; }
.burger.is-open span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* мобильное меню */
.mobile-menu {
  position: fixed;
  inset: var(--nav-h) 0 0;
  z-index: 99;
  background: var(--bg);
  padding: 30px var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transform: translateY(-102%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu a.mobile-menu__link {
  font-size: 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.02em;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 12px; }

/* ---------- 7. Свечение и фоны ---------- */
.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow--hero {
  width: min(900px, 90vw);
  height: 520px;
  left: 50%;
  bottom: -220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(255, 77, 20, .55), rgba(255, 154, 43, .12) 55%, transparent 72%);
}
.glow--soft {
  width: 620px; height: 420px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 20, .3), transparent 70%);
}

.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%;
  opacity: .55;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

/* ---------- 8. Герой ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(40px, 6vw, 76px);
  border-bottom: 1px solid var(--line);
}

.hero__inner { position: relative; z-index: 2; }

.hero__top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .75fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.hero h1 { margin: 18px 0 22px; }
.hero__lead { max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(150deg, rgba(255,255,255,.05), rgba(255,255,255,.01));
  padding: 22px;
  display: grid;
  gap: 16px;
  backdrop-filter: blur(6px);
}
.hero__card-art {
  height: 168px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}
.hero__card h3 { font-size: 17px; letter-spacing: -.01em; }

/* Фото мастера в первом экране.
   Рамки нет: фон снимка приведён к цвету --bg, а края растворяются маской. */
.hero__photo {
  position: relative;
  justify-self: end;
  width: 100%;
  /* боковые края */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 93%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 93%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.hero__photo img {
  width: 100%;
  height: auto;
  display: block;
  /* верх и низ */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 82%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 82%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
          mask-size: 100% 100%;
}
.hero__card-dots { display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.dot.is-on { background: var(--accent); }
.rule { flex: 1; height: 1px; background: var(--line); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 40px);
  margin-top: clamp(36px, 5vw, 60px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 56px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.04em;
}
.stat__label { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.45; max-width: 22ch; }

/* Гигантское слово-подпись */
.wordmark {
  position: relative;
  margin-top: clamp(20px, 4vw, 46px);
  line-height: .78;
  font-size: clamp(48px, 16.3vw, 240px);
  text-align: center;
  white-space: nowrap;
  color: #fff;
  mix-blend-mode: normal;
  z-index: 3;
  user-select: none;
}
.wordmark--fade {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .16);
}

.hero__bottom { position: relative; overflow: hidden; }

/* ---------- 9. Бегущая строка ---------- */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  background: var(--bg-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 38s linear infinite;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  font-size: clamp(14px, 1.5vw, 19px);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--muted);
}
.marquee__item i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- 10. Список услуг ---------- */
.svc { border-top: 1px solid var(--line); }

.svc__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 34px) clamp(0px, 1.4vw, 22px);
  border-bottom: 1px solid var(--line);
  transition: background .45s var(--ease), padding .45s var(--ease);
  cursor: pointer;
}
.svc__row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.svc__row:hover::before, .svc__row.is-open::before { opacity: 1; }

.svc__title {
  font-size: clamp(21px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -.025em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--muted);
  transition: color .45s var(--ease);
  position: relative;
}
.svc__row:hover .svc__title,
.svc__row.is-open .svc__title { color: var(--text); }

.svc__row .arrow-btn { position: relative; }
.svc__row:hover .arrow-btn { background: #f6f1eb; color: #100f13; border-color: transparent; transform: rotate(45deg); }
.svc__row.is-open .arrow-btn { background: #f6f1eb; color: #100f13; border-color: transparent; transform: rotate(45deg); }

.svc__panel {
  grid-column: 1 / -1;
  display: grid;
  max-height: 0;
  overflow: hidden;
  transition: max-height .55s var(--ease), opacity .4s var(--ease), margin .45s var(--ease);
  opacity: 0;
  position: relative;
}
.svc__row.is-open .svc__panel { max-height: 780px; opacity: 1; margin-top: 22px; }

.svc__panel-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(18px, 3vw, 48px);
  padding-bottom: 8px;
}
.svc__panel-body .small { font-size: 13.5px; color: #b9b2ab; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  font-size: 12px;
  padding: 6px 13px;
  border-radius: var(--pill);
  border: 1px solid var(--line-2);
  color: var(--muted);
  white-space: nowrap;
}
.tag--accent { border-color: rgba(255, 77, 20, .45); color: var(--accent-2); }

/* ---------- 11. Философия / манифест ---------- */
.manifest { position: relative; overflow: hidden; }
.manifest__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.manifest h2 { margin-bottom: 34px; }

.scope-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.scope {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
  padding: 20px;
  backdrop-filter: blur(4px);
}
.scope__label { font-size: 12.5px; color: var(--muted); }
.scope__value { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 400; letter-spacing: -.03em; margin-top: 6px; }
.scope__bar { display: flex; align-items: flex-end; gap: 2px; height: 44px; margin-top: 22px; }
.scope__bar i { flex: 1; border-radius: 1px; background: var(--surface-3); }
.scope__bar i.is-on { background: var(--accent); }
.scope__meta { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- 12. Этапы ---------- */
.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }
.step {
  display: grid;
  grid-template-columns: 74px minmax(0, .8fr) minmax(0, 1.2fr) auto;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: start;
  padding: clamp(22px, 2.4vw, 30px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .4s var(--ease);
}
.step__num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.step__title { font-size: clamp(17px, 1.7vw, 22px); font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.step__time {
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 5px 13px;
  white-space: nowrap;
  justify-self: end;
}

/* ---------- 13. Цены ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 2.4vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform .45s var(--ease), border-color .45s var(--ease);
}
.plan::after {
  content: '';
  position: absolute;
  inset: auto -30% -60% -30%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 20, .25), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan:hover::after { opacity: 1; }

.plan--featured { border-color: rgba(255, 77, 20, .45); background: linear-gradient(170deg, rgba(255,77,20,.10), var(--surface) 55%); }
.plan--featured::after { opacity: .7; }

.plan__badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--pill);
  background: var(--grad);
  color: #fff;
  font-weight: 600;
}
.plan__name { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__price b {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 400;
  letter-spacing: -.04em;
}
.plan__price span { font-size: 13px; color: var(--muted); }
.plan__desc { font-size: 13.5px; color: var(--muted); min-height: 3.2em; }
.plan__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 11px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #cbc4bd;
}
.plan__list li svg { width: 15px; height: 15px; margin-top: 3px; color: var(--accent); }
.plan .btn { margin-top: auto; }

/* Таблица доп. работ */
.rates { border-top: 1px solid var(--line); }
.rate {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.rate__name { flex: 0 0 auto; max-width: 60%; }
.rate__dots { flex: 1; border-bottom: 1px dotted rgba(255,255,255,.18); transform: translateY(-4px); }
.rate__val { flex: 0 0 auto; font-weight: 600; white-space: nowrap; }

/* Примеры смет */
.examples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.example {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(255,255,255,.025);
}
.example__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: -.01em; }
.example__sum { font-family: var(--font-display); font-size: 30px; font-weight: 400; letter-spacing: -.035em; margin: 12px 0 8px; }

/* ---------- 14. Плитки «почему мы» ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tile {
  background: var(--bg);
  padding: clamp(24px, 2.6vw, 38px);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: background .45s var(--ease);
}
.tile:hover { background: var(--surface); }
.tile__ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent-2); }
.tile__ico svg { width: 19px; height: 19px; }
.tile h3 { font-size: 16px; letter-spacing: -.005em; }
.tile p { font-size: 13.5px; color: var(--muted); }

/* ---------- 14б. Нумерованные преимущества ---------- */
.feats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }

.feat {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(24px, 2.6vw, 38px);
  display: grid;
  gap: 14px;
  align-content: start;
  overflow: hidden;
  transition: border-color .45s var(--ease), transform .45s var(--ease);
}
.feat::after {
  content: '';
  position: absolute;
  inset: -60% -40% auto -40%;
  height: 220px;
  background: radial-gradient(ellipse at center, rgba(255, 77, 20, .22), transparent 70%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.feat:hover { transform: translateY(-5px); border-color: var(--line-2); }
.feat:hover::after { opacity: 1; }

.feat__num {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.045em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feat h3 { font-size: clamp(17px, 1.8vw, 23px); letter-spacing: -.015em; }
.feat p { font-size: 14px; line-height: 1.62; color: var(--muted); }

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

/* ---------- 15. Работы ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: clamp(24px, 3vw, 40px); }
.filter {
  border: 1px solid var(--line-2);
  background: transparent;
  border-radius: var(--pill);
  padding: 9px 19px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  transition: all .35s var(--ease);
}
.filter:hover { color: var(--text); border-color: #fff; }
.filter.is-active { background: #f6f1eb; color: #100f13; border-color: transparent; }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 26px); }

.work {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.work:hover { transform: translateY(-6px); border-color: var(--line-2); }
.work.is-hidden { display: none; }

.work__art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-2); }
.work__art > svg, .work__art > img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.work:hover .work__art > svg, .work:hover .work__art > img { transform: scale(1.05); }
.work__badge {
  position: absolute;
  left: 14px; top: 14px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: rgba(8, 7, 10, .7);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  font-weight: 600;
}
.work__body { padding: 20px; display: grid; gap: 12px; align-content: start; flex: 1; }
.work__title { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -.015em; line-height: 1.15; }
.work__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 12.5px; color: var(--muted); }
.work__specs { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 7px; font-size: 13px; color: #c2bbb4; }
.work__specs li { display: flex; gap: 9px; }
.work__specs li::before { content: '—'; color: var(--accent); flex: 0 0 auto; }
.work__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--line); }
.work__price { font-family: var(--font-display); font-size: 22px; font-weight: 400; letter-spacing: -.03em; }

/* ---------- 16. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: clamp(18px, 2.2vw, 26px) 0;
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::after {
  content: '';
  margin-left: auto;
  flex: 0 0 auto;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background:
    linear-gradient(currentColor, currentColor) center / 12px 1.5px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1.5px 12px no-repeat;
  transition: transform .45s var(--ease), background-size .45s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq__answer { padding-bottom: 26px; max-width: 78ch; color: var(--muted); font-size: 14.5px; }

/* ---------- 17. Формы ---------- */
.form { display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }

.field { display: grid; gap: 8px; position: relative; }
.field > label { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.input, .textarea, .select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 15px 18px;
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  appearance: none;
}
.input::placeholder, .textarea::placeholder { color: var(--muted-2); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: rgba(255, 77, 20, .6); background: var(--surface-2); }
.textarea { resize: vertical; min-height: 120px; }

.select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239b948c' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 17px;
  padding-right: 44px;
}
.select option { background: #16151a; color: var(--text); }

.field.has-error .input, .field.has-error .textarea, .field.has-error .select { border-color: #ff4646; }
.field__error { font-size: 12px; color: #ff7a6b; display: none; }
.field.has-error .field__error { display: block; }

.checkbox { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox__box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
  margin-top: 1px;
}
.checkbox__box svg { width: 12px; height: 12px; opacity: 0; transform: scale(.5); transition: all .25s var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--grad); border-color: transparent; }
.checkbox input:checked + .checkbox__box svg { opacity: 1; transform: scale(1); color: #fff; }
.checkbox a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Кнопки-переключатели (radio-cards) */
.choices { display: grid; gap: 10px; }
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__box {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  background: var(--surface);
  display: grid;
  gap: 5px;
  height: 100%;
  transition: all .35s var(--ease);
}
.choice__box b { font-size: 14.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .01em; }
.choice__box span { font-size: 12.5px; color: var(--muted); }
.choice:hover .choice__box { border-color: var(--line-2); }
.choice input:checked + .choice__box {
  border-color: rgba(255, 77, 20, .65);
  background: linear-gradient(160deg, rgba(255, 77, 20, .16), var(--surface) 70%);
}

/* Диапазонный ползунок */
.range { width: 100%; appearance: none; height: 3px; border-radius: 3px; background: var(--surface-3); outline: none; }
.range::-webkit-slider-thumb {
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--grad);
  border: 3px solid var(--bg);
  cursor: pointer;
  box-shadow: 0 0 0 1px var(--line-2);
}
.range::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  cursor: pointer;
}

/* Счётчик +/- */
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  background: transparent;
  display: grid; place-items: center;
  font-size: 18px; line-height: 1;
  transition: all .3s var(--ease);
}
.stepper button:hover { background: var(--surface-2); border-color: #fff; }
.stepper input { width: 74px; text-align: center; padding: 11px 6px; }

/* Раскладка калькулятора */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(20px, 3vw, 44px);
  align-items: start;
}
.calc-aside { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }

.calc-block {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: clamp(20px, 2.4vw, 30px);
  display: grid;
  gap: 20px;
}
.calc-block + .calc-block { margin-top: clamp(14px, 1.6vw, 20px); }
.calc-block__head { display: flex; align-items: baseline; gap: 12px; }
.calc-block__num { font-family: var(--font-display); font-size: 13px; color: var(--accent); }
.calc-block__head h3 { font-size: 17px; letter-spacing: -.01em; }

.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__box {
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-2);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  transition: all .35s var(--ease);
}
.opt__box i {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  margin-top: 1px;
  transition: all .3s var(--ease);
}
.opt__box i svg { width: 12px; height: 12px; opacity: 0; color: #fff; }
.opt__box b { display: block; font-size: 14px; font-weight: 600; }
.opt__box span { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.opt:hover .opt__box { border-color: var(--line-2); }
.opt input:checked + .opt__box { border-color: rgba(255, 77, 20, .55); background: linear-gradient(160deg, rgba(255,77,20,.12), var(--bg-2) 70%); }
.opt input:checked + .opt__box i { background: var(--grad); border-color: transparent; }
.opt input:checked + .opt__box i svg { opacity: 1; }

.calc-counters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.area-row { display: grid; grid-template-columns: 1fr 130px; gap: 16px; align-items: end; }

@media (max-width: 1000px) {
  .calc-layout { grid-template-columns: 1fr; }
  .calc-aside { position: static; }
}
@media (max-width: 620px) {
  .opts, .calc-counters { grid-template-columns: 1fr; }
  .area-row { grid-template-columns: 1fr; }
}

/* Итог калькулятора */
.calc-total {
  border: 1px solid rgba(255, 77, 20, .35);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 77, 20, .14), var(--surface) 60%);
  padding: clamp(22px, 2.4vw, 30px);
  display: grid;
  gap: 18px;
}
.calc-total__sum { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.calc-total__break { display: grid; gap: 9px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc-line { display: flex; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--muted); }
.calc-line b { color: var(--text); font-weight: 600; white-space: nowrap; }
.calc-line.is-muted { opacity: .5; }

/* Успешная отправка */
.form-success {
  display: none;
  border: 1px solid rgba(255, 77, 20, .4);
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(255, 77, 20, .14), var(--surface) 60%);
  padding: clamp(26px, 3vw, 40px);
  text-align: center;
  gap: 16px;
}
.form-success.is-visible { display: grid; }
.form-success__ico {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  margin-inline: auto;
}
.form-success__ico svg { width: 26px; height: 26px; color: #fff; }

/* ---------- 18. CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  background: var(--bg-2);
  padding: clamp(32px, 5vw, 72px);
}
.cta__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.cta h2 { margin-bottom: 20px; }
.cta__glow { position: absolute; left: -10%; bottom: -60%; width: 70%; height: 160%; background: radial-gradient(ellipse at center, rgba(255, 77, 20, .35), transparent 65%); filter: blur(60px); }

/* ---------- 19. Подвал ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: clamp(48px, 6vw, 80px); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); }
.footer h4 { font-size: 12px; letter-spacing: .18em; color: var(--muted); margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer li a, .footer li { font-size: 14px; color: #cbc4bd; transition: color .3s var(--ease); }
.footer li a:hover { color: var(--accent-2); }
.footer__bottom {
  margin-top: clamp(40px, 5vw, 64px);
  padding-block: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  color: var(--muted-2);
}
.footer__word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 13vw, 190px);
  line-height: .8;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .12);
  text-align: center;
  margin-top: clamp(30px, 4vw, 56px);
  white-space: nowrap;
  user-select: none;
}

.socials { display: flex; gap: 10px; }
.social {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all .35s var(--ease);
}
.social svg { width: 18px; height: 18px; }
.social:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-3px); }

/* ---------- 20. Хлебные крошки + шапка страницы ---------- */
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); padding-block: clamp(46px, 6vw, 84px); }
.page-head__inner { position: relative; z-index: 2; }

/* Шапка страницы с видео на фоне */
.page-head--video { padding-block: clamp(64px, 9vw, 132px); }

.page-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  /* подложка на случай, если видео не загрузилось или отключено */
  background:
    radial-gradient(ellipse at 70% 20%, rgba(255, 77, 20, .22), transparent 60%),
    var(--bg-2);
}
.page-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* затемнение поверх видео, чтобы текст читался */
.page-video::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 7, 10, .45) 0%, rgba(8, 7, 10, .58) 50%, rgba(8, 7, 10, .94) 100%),
    linear-gradient(90deg, rgba(8, 7, 10, .45) 0%, rgba(8, 7, 10, .10) 70%, rgba(8, 7, 10, .30) 100%);
}

/* на узком экране текст идёт во всю ширину — боковое затемнение убираем */
@media (max-width: 860px) {
  .page-video::after {
    background: linear-gradient(180deg, rgba(8, 7, 10, .55) 0%, rgba(8, 7, 10, .66) 50%, rgba(8, 7, 10, .95) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-video video { display: none; }
}
.crumbs { display: flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 22px; }
.crumbs a:hover { color: var(--text); }

/* ---------- 21. Контакты ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.4vw, 32px);
  background: var(--surface);
  display: grid;
  gap: 12px;
  align-content: start;
  transition: border-color .4s var(--ease), transform .4s var(--ease);
}
.contact-card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.contact-card__val { font-size: clamp(19px, 2vw, 25px); font-weight: 700; letter-spacing: -.02em; }

.map-frame {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255, 77, 20, .18), transparent 55%),
    var(--bg-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 30px;
}
.map-frame__lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.map-frame__pin { position: relative; z-index: 2; display: grid; gap: 12px; justify-items: center; }
.pin {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 0 0 10px rgba(255, 77, 20, .12), 0 0 0 22px rgba(255, 77, 20, .06);
  animation: pulse 2.6s var(--ease) infinite;
}
.pin svg { width: 22px; height: 22px; color: #fff; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(255,77,20,.12), 0 0 0 22px rgba(255,77,20,.05); }
  50%      { box-shadow: 0 0 0 16px rgba(255,77,20,.08), 0 0 0 34px rgba(255,77,20,.02); }
}

.req-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.req-list__row { display: grid; grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.req-list__row span:first-child { color: var(--muted); }

/* ---------- 22. Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- 23. Плавающие кнопки связи ---------- */
.floaters {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 90;
  display: grid;
  gap: 10px;
}
.floater {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  color: var(--text);
  transition: all .35s var(--ease);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
.floater svg { width: 22px; height: 22px; }
.floater:hover { transform: translateY(-3px) scale(1.05); }
.floater--wa:hover { background: #25d366; border-color: transparent; color: #fff; }
.floater--tg:hover { background: #2aabee; border-color: transparent; color: #fff; }
.floater--call { background: var(--grad); border-color: transparent; color: #fff; }

/* ---------- 24. Адаптив ---------- */
@media (max-width: 1100px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__top { grid-template-columns: 1fr; }
  .hero__card { max-width: 460px; }
  .hero__photo { max-width: 460px; justify-self: start; }
  .manifest__inner { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .works, .plans, .tiles, .examples, .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tiles { border-radius: var(--radius); }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  /* номер и заголовок в строку, описание и плашка со сроком — на всю ширину под ними */
  .step { grid-template-columns: 54px minmax(0, 1fr); row-gap: 12px; }
  .step p { grid-column: 1 / -1; }
  .step__time { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 860px) {
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__menu, .nav__phone { display: none; }
  .burger { display: block; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .svc__panel-body { grid-template-columns: 1fr; }
  .arrow-btn { width: 38px; height: 38px; }
  .form__row { grid-template-columns: 1fr; }
  .choices--3 { grid-template-columns: 1fr; }
  .scope-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  :root { --nav-h: 64px; }
  .works, .plans, .tiles, .examples, .contact-cards, .footer__grid { grid-template-columns: 1fr; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  /* на узком экране выключка по ширине рвёт строки — оставляем по левому краю */
  .justify { text-align: left; hyphens: none; }
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scope-cards { grid-template-columns: 1fr; }
  .wordmark { font-size: 16.6vw; }
  .req-list__row { grid-template-columns: 1fr; gap: 4px; }
  .btn { padding-left: 20px; font-size: 13px; }
  .floaters { right: 12px; bottom: 12px; }
  .floater { width: 46px; height: 46px; }
}
