/* =========================================================
   VIPZAVOD — главная страница. Дизайн-система и компоненты
   ========================================================= */

:root {
  --ink: #0B1626;
  --navy: #0F2A4A;
  --navy-2: #133559;
  --steel-700: #3A4A5E;
  --steel-500: #5E6E82;
  --steel-400: #8B98A9;
  --steel-200: #D3DAE3;
  --steel-100: #E6EBF1;
  --bg: #F3F5F8;
  --surface: #FFFFFF;
  --accent: #FF5B1F;
  --accent-ink: #E04A12;
  --accent-soft: #FFE9DF;
  --blue: #2F6BFF;

  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 12px;
  --container: 1320px;
  --gutter: 32px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---------- Типографика ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--steel-500); margin-bottom: 18px;
}
.eyebrow .num { color: var(--accent); font-weight: 500; }
.eyebrow .num::after { content: "/"; margin-left: 10px; color: var(--steel-200); }
.eyebrow--light { color: rgba(255,255,255,.72); }
.eyebrow--light .num::after { color: rgba(255,255,255,.3); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,91,31,.25); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,91,31,0); } }

.h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
.h2--light { color: #fff; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.1; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px -10px rgba(255,91,31,.7); }
.btn--primary:hover { background: var(--accent-ink); }
.btn--glass { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.28); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255,255,255,.22); }
.btn--outline { background: transparent; border-color: var(--steel-200); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); }
.btn--ghost { background: transparent; color: rgba(255,255,255,.8); padding: 0 14px; }
.btn--ghost:hover { color: #fff; }
.btn--ghost:hover svg { transform: translateX(-3px); }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.btn:disabled:hover svg { transform: none; }

.round-btn {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--steel-200); transition: .2s;
}
.round-btn svg { width: 20px; height: 20px; }
.round-btn:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.round-btn--light { background: #fff; color: var(--ink); border: 0; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.link-arrow svg { width: 18px; height: 18px; }

/* ---------- Топбар ---------- */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: 13.5px; }
.topbar__inner { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.topbar__item svg { width: 15px; height: 15px; color: var(--accent); }
a.topbar__item:hover { color: #fff; }
.topbar__push { margin-left: auto; color: #fff; font-weight: 600; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(243,245,248,.86); backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, background .3s;
}
.header.is-scrolled { border-color: var(--steel-100); background: rgba(255,255,255,.9); }
.header__inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo__mark svg { width: 42px; height: 42px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__text b { font-size: 21px; font-weight: 800; letter-spacing: -.01em; }
.logo__text small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .03em; color: var(--steel-500); margin-top: 4px; text-transform: uppercase; }
.logo--light .logo__text b { color: #fff; }
.logo--light .logo__text small { color: rgba(255,255,255,.55); }

.nav { margin-right: auto; }
.nav__list { display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border-radius: 10px;
  font-size: 15.5px; font-weight: 500; background: none; border: 0; transition: background .2s;
}
.nav__link svg { width: 16px; height: 16px; transition: transform .25s; }
.nav__link:hover { background: rgba(11,22,38,.06); }
.nav__item--mega.is-open .nav__link svg { transform: rotate(180deg); }
.nav__mobile-foot { display: none; }

.mega {
  position: absolute; top: calc(100% + 14px); left: -20px; width: min(980px, 80vw);
  display: grid; grid-template-columns: repeat(3, 1fr) 1.15fr; gap: 28px;
  background: var(--surface); border-radius: var(--r-lg); padding: 28px;
  box-shadow: 0 30px 60px -20px rgba(11,22,38,.25), 0 0 0 1px var(--steel-100);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .25s var(--ease);
}
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__col { display: flex; flex-direction: column; gap: 2px; }
.mega__title { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-400); margin-bottom: 10px; }
.mega__col a { padding: 7px 0; font-size: 15px; font-weight: 500; transition: color .2s, padding .2s; }
.mega__col a:hover { color: var(--accent); padding-left: 4px; }
.mega__promo { position: relative; border-radius: var(--r-md); overflow: hidden; min-height: 220px; color: #fff; display: flex; align-items: flex-end; }
.mega__promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mega__promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,22,38,.9), rgba(11,22,38,.1)); }
.mega__promo span { position: relative; z-index: 1; padding: 20px; font-size: 14px; color: rgba(255,255,255,.75); }
.mega__promo b { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 17px; margin-top: 4px; }
.mega__promo:hover img { transform: scale(1.05); }

.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.header__phone b { font-size: 17px; font-weight: 700; white-space: nowrap; }
.header__phone small { font-size: 12px; color: var(--steel-500); }
.header__call, .burger { display: none; }

/* ---------- HERO ---------- */
.hero { padding: 12px 0 0; }
.hero__frame {
  position: relative; border-radius: 28px; overflow: hidden; isolation: isolate;
  min-height: min(calc(100vh - 140px), 780px); padding: 64px 56px 0;
  display: flex; flex-direction: column; color: #fff; background: var(--navy);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__frame::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(95deg, rgba(8,20,38,.94) 0%, rgba(10,28,52,.82) 38%, rgba(10,28,52,.35) 70%, rgba(10,28,52,.15) 100%),
    linear-gradient(to top, rgba(8,20,38,.85) 0%, rgba(8,20,38,0) 35%);
}
.hero__frame::after { /* чертёжная сетка */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  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: 64px 64px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 60%);
}
.hero__mark { position: absolute; width: 22px; height: 22px; border-color: rgba(255,255,255,.5); border-style: solid; }
.hero__mark--tl { top: 20px; left: 20px; border-width: 1.5px 0 0 1.5px; }
.hero__mark--br { right: 20px; bottom: 20px; border-width: 0 1.5px 1.5px 0; display: none; }
.hero__tag {
  position: absolute; top: 22px; right: 24px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em;
  color: rgba(255,255,255,.7); background: rgba(8,20,38,.45); padding: 6px 10px; border-radius: 6px; backdrop-filter: blur(6px);
}

.hero__grid { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; align-items: center; padding-bottom: 48px; }
.hero__content { max-width: 760px; }
.hero__title { font-size: clamp(40px, 5vw, 72px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin-bottom: 26px; text-wrap: balance; hyphens: manual; }
.hero__lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: rgba(255,255,255,.82); max-width: 600px; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--r-lg); padding: 26px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.55);
  animation: rise .8s .2s var(--ease) both;
}
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero-card__price { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--steel-200); }
.hero-card__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-500); }
.hero-card__price b { display: block; font-size: 42px; line-height: 1.1; letter-spacing: -.03em; font-weight: 800; margin: 6px 0 4px; }
.hero-card__price b small { font-size: 22px; color: var(--accent); font-weight: 700; }
.hero-card__note { font-size: 14px; color: var(--steel-500); }
.hero-card__form { display: grid; gap: 10px; }
.hero-card__legal { font-size: 12px; color: var(--steel-400); line-height: 1.4; }
.hero-card__legal a { text-decoration: underline; }

.hero__facts {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin: 0 -56px; border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(8,20,38,.4); backdrop-filter: blur(12px);
}
.hero__facts li { padding: 22px 32px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid rgba(255,255,255,.1); }
.hero__facts li:first-child { padding-left: 56px; }
.hero__facts li:last-child { border-right: 0; }
.hero__facts b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.hero__facts b small { font-size: 17px; font-weight: 600; color: rgba(255,255,255,.7); }
.hero__facts span { font-size: 14px; color: rgba(255,255,255,.66); }

/* ---------- Поля и загрузка ---------- */
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px solid var(--steel-200); background: var(--bg); font: inherit; font-size: 16px; color: var(--ink);
  transition: border-color .2s, background .2s; resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.field input.is-invalid { border-color: var(--accent); background: var(--accent-soft); }
.field--dark input, .field--dark textarea { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.field--dark input::placeholder, .field--dark textarea::placeholder { color: rgba(255,255,255,.5); }
.field--dark input:focus, .field--dark textarea:focus { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.field--dark input.is-invalid { background: rgba(255,91,31,.12); border-color: var(--accent); }

.drop {
  position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border: 1.5px dashed var(--steel-200); border-radius: var(--r-sm); cursor: pointer; transition: .2s;
}
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop > svg { width: 26px; height: 26px; color: var(--accent); }
.drop__text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.drop__text b { font-size: 15px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__text small { font-size: 13px; color: var(--steel-500); }
.drop:hover, .drop.is-over { border-color: var(--accent); background: var(--accent-soft); }
.drop.has-file { border-style: solid; border-color: var(--accent); }
.drop--dark { border-color: rgba(255,255,255,.22); color: #fff; }
.drop--dark .drop__text small { color: rgba(255,255,255,.55); }
.drop--dark:hover, .drop--dark.is-over { background: rgba(255,91,31,.1); }

.form-success { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); background: #E7F7EE; color: #0E5A32; font-size: 14px; line-height: 1.4; }
.form-success[hidden] { display: none; }
.form-success svg { width: 22px; height: 22px; margin-top: 1px; }
.form-success b { display: block; font-size: 15px; }

/* ---------- Бегущая строка ---------- */
.ticker { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--steel-100); }
.ticker__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: ticker 50s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker span { font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.02em; white-space: nowrap; color: var(--steel-700); }
.ticker i { width: 10px; height: 10px; background: var(--accent); transform: rotate(45deg); flex: none; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--tint { background: var(--surface); }
.section--dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.section--dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 80% 0%, #000, transparent 70%);
}
.section--dark > .container { position: relative; }
.section__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.section__head--nav { grid-template-columns: 1fr auto; }
.section__lead { font-size: 18px; color: var(--steel-700); max-width: 520px; justify-self: end; }
.section__lead--light { color: rgba(255,255,255,.72); }

/* ---------- Продукция ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 16px; }
.pcard {
  position: relative; border-radius: var(--r-lg); overflow: hidden; color: #fff; isolation: isolate;
  display: flex; align-items: flex-end; background: var(--navy);
}
.pcard--xl { grid-column: span 2; grid-row: span 2; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.pcard::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(8,20,38,.94) 0%, rgba(8,20,38,.55) 45%, rgba(8,20,38,.05) 75%); transition: opacity .4s; }
.pcard:hover img { transform: scale(1.06); }
.pcard__body { padding: 24px; width: 100%; }
.pcard__price {
  position: absolute; top: 18px; left: 18px; font-family: var(--mono); font-size: 13px; font-weight: 500;
  background: rgba(255,255,255,.95); color: var(--ink); padding: 6px 11px; border-radius: 8px;
}
.pcard h3 { font-size: 22px; line-height: 1.15; letter-spacing: -.015em; font-weight: 700; }
.pcard--xl h3 { font-size: clamp(28px, 2.6vw, 38px); max-width: 520px; }
.pcard p { font-size: 15px; color: rgba(255,255,255,.75); margin-top: 8px; line-height: 1.45; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .45s var(--ease), opacity .3s, margin .3s; }
.pcard--xl p { max-height: 80px; opacity: 1; font-size: 17px; max-width: 460px; }
.pcard:hover p, .pcard:focus-visible p { max-height: 80px; opacity: 1; }
.pcard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; font-size: 15px; color: var(--accent); }
.pcard__more svg { width: 18px; height: 18px; transition: transform .25s; }
.pcard:hover .pcard__more svg { transform: translateX(4px); }

.pcard--wide { grid-column: span 2; }
.pcard--cta { grid-column: span 2; background: var(--accent); align-items: stretch; }
.pcard--cta::before { display: none; }
.pcard--cta .pcard__body { display: flex; flex-direction: column; justify-content: space-between; padding: 30px; position: relative; z-index: 1; }
.pcard--cta h3 { font-size: clamp(26px, 2.4vw, 34px); max-width: 420px; }
.pcard--cta .pcard__more { color: #fff; }
.pcard__kicker { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.8); }
.pcard__draw { position: absolute; right: 24px; bottom: 20px; width: 46%; height: auto; color: rgba(255,255,255,.35); fill: rgba(255,255,255,.6); transition: transform .6s var(--ease); }
.pcard--cta:hover .pcard__draw { transform: translateY(-6px); }
.pcard--cta:hover { background: var(--accent-ink); }

.chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; }
.chips-row__label { font-size: 15px; color: var(--steel-500); margin-right: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--steel-100); font-size: 15px; font-weight: 500; transition: .2s;
}
.chip:hover { border-color: var(--ink); }
.chip svg { width: 16px; height: 16px; }
.chip--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip--dark:hover { background: var(--accent); border-color: var(--accent); }

/* ---------- Квиз ---------- */
.quiz-sec {
  background: var(--navy); color: #fff; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden;
}
.quiz-sec::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(90deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 55%);
}
.quiz-sec::after { content: ""; position: absolute; width: 640px; height: 640px; right: -200px; top: -240px; background: radial-gradient(circle, rgba(47,107,255,.35), transparent 65%); pointer-events: none; }
.quiz-sec__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.quiz-sec__lead { font-size: 18px; color: rgba(255,255,255,.75); margin: 24px 0 28px; max-width: 480px; }
.quiz-sec__list { display: grid; gap: 14px; margin-bottom: 36px; }
.quiz-sec__list li { display: flex; gap: 12px; color: rgba(255,255,255,.88); font-size: 16px; }
.quiz-sec__list svg { width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }
.engineer { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); max-width: 440px; }
.engineer__ava { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #FF8A4C); font-weight: 700; font-size: 15px; }
.engineer b { display: block; font-size: 16px; }
.engineer span { font-size: 14px; color: rgba(255,255,255,.6); }
.engineer__tel { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); }
.engineer__tel svg { width: 20px; height: 20px; }

.quiz { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 28px; padding: clamp(22px, 3vw, 36px); backdrop-filter: blur(10px); }
.quiz__top { display: flex; align-items: center; gap: 18px; margin-bottom: 28px; }
.quiz__step-label { font-family: var(--mono); font-size: 13px; color: rgba(255,255,255,.6); white-space: nowrap; }
.quiz__step-label b { color: #fff; font-weight: 500; }
.quiz__progress { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 20%; background: var(--accent); border-radius: 4px; transition: width .5s var(--ease); }

.quiz__step { border: 0; margin: 0; padding: 0; min-width: 0; display: none; }
.quiz__step.is-active { display: block; animation: stepIn .45s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.quiz__step legend { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin-bottom: 22px; padding: 0; }
.quiz__step legend small { font-size: 14px; font-weight: 400; color: rgba(255,255,255,.55); margin-left: 6px; letter-spacing: 0; }
.opts { display: grid; gap: 10px; }
.opts--2 { grid-template-columns: 1fr 1fr; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 16px 18px 16px 50px; border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); transition: .2s; position: relative;
}
.opt span::before {
  content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.4); transition: .2s;
}
.opt input[type=checkbox] + span::before { border-radius: 6px; }
.opt b { font-size: 16px; font-weight: 600; }
.opt small { font-size: 13.5px; color: rgba(255,255,255,.55); }
.opt:hover span { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.07); }
.opt input:checked + span { border-color: var(--accent); background: rgba(255,91,31,.12); }
.opt input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.opt--row span { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
.opt--wide { grid-column: 1 / -1; }
.quiz__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.quiz__summary { margin-top: 16px; font-family: var(--mono); font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.6; }

.quiz__nav { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.quiz__hint { flex: 1; text-align: right; font-size: 14px; color: rgba(255,255,255,.5); }
.quiz__nav [hidden] { display: none; }
.quiz__done { text-align: center; padding: 40px 10px; }
.quiz__done[hidden] { display: none; }
.quiz__done-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); margin: 0 auto 22px; }
.quiz__done-icon svg { width: 36px; height: 36px; }
.quiz__done h3 { font-size: 28px; letter-spacing: -.02em; margin-bottom: 10px; }
.quiz__done p { color: rgba(255,255,255,.72); max-width: 440px; margin: 0 auto; }
.quiz__done a { color: #fff; font-weight: 600; white-space: nowrap; }
.quiz.is-done .quiz__top, .quiz.is-done .quiz__nav { display: none; }

/* ---------- Производство ---------- */
.prod { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 64px; }
.prod__gallery { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 16px; }
.ph { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; background: var(--steel-100); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ph:hover img { transform: scale(1.05); }
.ph figcaption {
  position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 12px; color: #fff;
  background: rgba(8,20,38,.6); backdrop-filter: blur(6px); padding: 5px 9px; border-radius: 6px;
}
.ph--a { grid-row: span 2; }
.ph--d { grid-column: span 2; }
.prod__stats { display: grid; grid-template-rows: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); border-radius: var(--r-lg); padding: 22px 26px; display: flex; align-items: center; gap: 20px; border: 1px solid var(--steel-100); }
.stat b { font-size: clamp(36px, 3.4vw, 50px); font-weight: 800; letter-spacing: -.04em; line-height: 1; min-width: 128px; color: var(--ink); }
.stat:first-child { background: var(--accent); border-color: var(--accent); color: #fff; }
.stat:first-child b { color: #fff; }
.stat:first-child > span { color: rgba(255,255,255,.85); }
.stat > span { font-size: 15px; color: var(--steel-700); line-height: 1.35; }

.tech { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; border-top: 1px solid var(--steel-200); }
.tech__row { display: grid; grid-template-columns: 48px 1fr auto; grid-template-rows: auto auto; column-gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--steel-200); align-items: baseline; }
.tech__n { font-family: var(--mono); font-size: 13px; color: var(--accent); grid-row: span 2; }
.tech h3 { font-size: 21px; letter-spacing: -.015em; font-weight: 700; }
.tech p { grid-column: 2; font-size: 15px; color: var(--steel-500); margin-top: 4px; }
.tech__tag { grid-column: 3; grid-row: 1; font-family: var(--mono); font-size: 12px; color: var(--steel-700); background: var(--steel-100); padding: 4px 9px; border-radius: 6px; white-space: nowrap; }

/* ---------- Этапы ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step { position: relative; padding: 28px 22px 26px; border-radius: var(--r-lg); background: var(--bg); transition: background .3s, transform .3s var(--ease); }
.step:hover { background: var(--navy); color: #fff; transform: translateY(-4px); }
.step:hover p { color: rgba(255,255,255,.7); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--surface); font-family: var(--mono); font-size: 14px; font-weight: 500; color: var(--accent); margin-bottom: 40px; box-shadow: 0 0 0 1px var(--steel-100); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 49px; left: 76px; right: -8px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--steel-200) 0 6px, transparent 6px 12px);
}
.step:hover::after { opacity: 0; }
.step h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--steel-500); line-height: 1.45; transition: color .3s; }

/* ---------- Проекты ---------- */
.projects {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 420px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2));
}
.projects::-webkit-scrollbar { display: none; }
.project { scroll-snap-align: start; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--steel-100); }
.project__img { aspect-ratio: 4 / 3; overflow: hidden; }
.project__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project:hover .project__img img { transform: scale(1.05); }
.project__body { padding: 22px 24px 26px; }
.project__tags { display: flex; gap: 6px; margin-bottom: 14px; }
.project__tags span { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border-radius: 6px; background: var(--bg); color: var(--steel-700); }
.project h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.015em; margin-bottom: 8px; }
.project p { font-size: 15px; color: var(--steel-500); }
.project--more { background: var(--accent); color: #fff; border: 0; padding: 32px; justify-content: space-between; }
.project--more > span:first-child { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.8); }
.project--more b { font-size: clamp(34px, 3vw, 44px); line-height: 1.02; letter-spacing: -.03em; }
.project--more:hover .round-btn { transform: translateX(6px); }
.project--more .round-btn { transition: transform .3s var(--ease); }
.slider-nav { display: flex; gap: 10px; }

/* ---------- Гарантии ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.12); }
.why__item { background: var(--navy); padding: 36px 32px 38px; transition: background .3s; }
.why__item:hover { background: var(--navy-2); }
.why__item svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 28px; --surface: var(--navy); }
.why__item h3 { font-size: 22px; letter-spacing: -.015em; margin-bottom: 10px; }
.why__item p { font-size: 15.5px; color: rgba(255,255,255,.68); }

/* ---------- Цены ---------- */
.prices { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px; align-items: start; }
.price-table { background: var(--surface); border-radius: var(--r-lg); padding: 10px 32px 18px; border: 1px solid var(--steel-100); }
.price-table__head, .price-table__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.price-table__head { padding: 18px 0 14px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-400); border-bottom: 1px solid var(--steel-200); }
.price-table__row { padding: 15px 0; border-bottom: 1px solid var(--steel-100); font-size: 16.5px; transition: padding .25s; }
.price-table__row:last-child { border-bottom: 0; }
.price-table__row span { position: relative; }
.price-table__row b { font-family: var(--mono); font-weight: 500; font-size: 15.5px; white-space: nowrap; }
.price-table__row:hover { padding-left: 8px; }
.price-table__row:hover b { color: var(--accent); }
.price-side { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.price-side__card { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 32px; display: grid; gap: 12px; }
.price-side__card h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 6px; }
.price-side__card ul { display: grid; gap: 14px; margin-bottom: 14px; }
.price-side__card li { display: flex; gap: 14px; font-size: 15.5px; color: rgba(255,255,255,.8); }
.price-side__card li span { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.price-side__card .btn--outline { color: #fff; border-color: rgba(255,255,255,.25); }
.price-side__card .btn--outline:hover { border-color: #fff; }
.materials { background: var(--surface); border-radius: var(--r-lg); padding: 24px 28px; border: 1px solid var(--steel-100); }
.materials__label { display: block; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-400); margin-bottom: 14px; }
.materials__list { display: flex; flex-wrap: wrap; gap: 8px; }
.materials__list span { font-family: var(--mono); font-size: 14px; padding: 7px 12px; border-radius: 8px; background: var(--bg); border: 1px solid var(--steel-100); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.7fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-wrap__head { position: sticky; top: calc(var(--header-h) + 20px); }
.ask-card { margin-top: 36px; padding: 26px; border-radius: var(--r-lg); background: var(--bg); display: grid; gap: 6px; }
.ask-card b { font-size: 19px; }
.ask-card p { font-size: 15px; color: var(--steel-500); margin-bottom: 10px; }
.ask-card__tel { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.ask-card__mail { color: var(--accent); font-weight: 600; }
.faq { border-top: 1px solid var(--steel-200); }
.faq__item { border-bottom: 1px solid var(--steel-200); }
.faq__item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.015em; cursor: pointer; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: .3s var(--ease); }
.faq__icon svg { width: 20px; height: 20px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq__item summary:hover .faq__icon { background: var(--ink); color: #fff; }
.faq__body { padding: 0 68px 28px 0; color: var(--steel-700); font-size: 16.5px; }

/* ---------- CTA + контакты ---------- */
.cta { display: grid; grid-template-columns: 1.35fr 1fr; border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--steel-100); }
.cta__form-side { background: var(--navy); color: #fff; padding: clamp(32px, 4.5vw, 64px); position: relative; overflow: hidden; }
.cta__form-side::after { content: ""; position: absolute; width: 520px; height: 520px; left: -160px; bottom: -280px; background: radial-gradient(circle, rgba(255,91,31,.3), transparent 65%); pointer-events: none; }
.cta__form-side > * { position: relative; z-index: 1; }
.cta__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 32px; }
.cta__submit { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.cta__submit p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.4; }
.cta__submit a { text-decoration: underline; }
.cta__contacts { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 28px; justify-content: center; }
.contact-block { display: grid; gap: 6px; }
.contact-block__label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--steel-400); }
.contact-block p { font-size: 17px; }
.contact-block__big { font-size: clamp(22px, 2vw, 28px); font-weight: 700; letter-spacing: -.02em; transition: color .2s; width: fit-content; }
.contact-block__big:hover { color: var(--accent); }
.contact-block--row { grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-block--row > div { display: grid; gap: 6px; }
.contact-block a:not(.contact-block__big):not(.link-arrow) { font-weight: 600; }

/* ---------- Подвал ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 72px 0 32px; margin-top: clamp(0px, 2vw, 24px); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer__brand p { margin: 20px 0 24px; font-size: 15px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer__col > span { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255,255,255,.4); margin-bottom: 6px; }
.footer__col a:hover { color: #fff; }
.footer__tel { color: #fff; font-weight: 700; font-size: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 32px; padding-top: 28px; font-size: 13.5px; }
.footer__bottom a:hover { color: #fff; }
.footer__bottom span:last-child { margin-left: auto; }

.mbar { display: none; }

/* ---------- Анимации появления ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1280px) {
  .header__phone small { display: none; }
  .nav__link { padding: 0 11px; font-size: 15px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step:nth-child(3)::after { display: none; }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
  .footer__brand p { margin: 0; }
}

@media (max-width: 1120px) {
  :root { --header-h: 68px; }
  .header__phone { display: none; }
  .header__call { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--surface); border: 1px solid var(--steel-100); }
  .header__call svg { width: 20px; height: 20px; }
  .burger { display: grid; gap: 5px; place-content: center; width: 48px; height: 48px; border-radius: 12px; background: var(--ink); border: 0; }
  .burger span { display: block; width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
  .burger[aria-expanded=true] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded=true] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded=true] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__inner { gap: 12px; }
  .header__actions { margin-left: auto; gap: 8px; }

  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; background: var(--bg); z-index: 49;
    padding: 12px var(--gutter) 24px; overflow-y: auto; display: flex; flex-direction: column;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .3s var(--ease); margin: 0;
  }
  body.menu-open { overflow: hidden; }
  body.menu-open .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  body.menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--steel-100); }
  .nav__link { width: 100%; justify-content: space-between; height: 60px; padding: 0; font-size: 20px; font-weight: 600; border-radius: 0; }
  .nav__link:hover { background: none; }
  .mega { position: static; width: auto; display: none; grid-template-columns: 1fr; gap: 18px; padding: 4px 0 20px; box-shadow: none; opacity: 1; visibility: visible; transform: none; background: transparent; }
  .nav__item--mega.is-open .mega { display: grid; }
  .mega__promo { display: none; }
  .nav__mobile-foot { display: grid; gap: 14px; margin-top: auto; padding-top: 24px; }
  .nav__phone { text-align: center; font-size: 22px; font-weight: 700; }
  .header__cta { display: none; }

  .hero__frame { padding: 56px 40px 0; }
  .hero__grid { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .hero-card { max-width: 520px; }
  .hero__facts { margin: 0 -40px; }
  .hero__facts li:first-child { padding-left: 40px; }

  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .section__head--nav { grid-template-columns: 1fr auto; align-items: end; }
  .section__lead { justify-self: start; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 280px; }
  .pcard--xl { grid-row: span 1; }
  .pcard--xl p { display: none; }
  .quiz-sec__grid { grid-template-columns: 1fr; }
  .prod { grid-template-columns: 1fr; }
  .prod__stats { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; }
  .tech { grid-template-columns: 1fr; }
  .why { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr; }
  .price-side { position: static; grid-template-columns: 1fr 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-wrap__head { position: static; }
  .ask-card { display: none; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .topbar__hide-md, .topbar__hide-sm { display: none; }
  .topbar__inner { gap: 16px; font-size: 12.5px; }
  .logo__mark svg { width: 38px; height: 38px; }
  .logo__text b { font-size: 18px; }
  .logo__text small { font-size: 9.5px; }

  .hero { padding-top: 8px; }
  .hero__frame { padding: 52px 20px 0; border-radius: 22px; min-height: 0; }
  .hero__frame::before { background: linear-gradient(180deg, rgba(8,20,38,.75) 0%, rgba(10,28,52,.88) 55%, rgba(8,20,38,.96) 100%); }
  .hero__tag { display: none; }
  .hero__title { font-size: clamp(34px, 10vw, 46px); }
  .hero__lead { font-size: 16px; margin-bottom: 26px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero-card { padding: 20px; }
  .hero-card__price b { font-size: 34px; }
  .hero__facts { grid-template-columns: 1fr 1fr; margin: 0 -20px; }
  .hero__facts li, .hero__facts li:first-child { padding: 16px 20px; }
  .hero__facts li:nth-child(2) { border-right: 0; }
  .hero__facts li:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .hero__facts b { font-size: 24px; }
  .hero__facts span { font-size: 13px; }

  .ticker { padding: 18px 0; }
  .section__lead { font-size: 16px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 220px; gap: 12px; }
  .pcard--xl, .pcard--wide, .pcard--cta { grid-column: auto; }
  .pcard p { display: none; }
  .pcard--cta .pcard__body { padding: 22px; }
  .pcard__draw { width: 60%; opacity: .6; }
  .chips-row__label { width: 100%; }

  .opts--2, .quiz__fields { grid-template-columns: 1fr; }
  .opt--row span { flex-direction: column; gap: 2px; }
  .quiz { border-radius: 22px; }
  .quiz__hint { display: none; }
  .quiz__nav { justify-content: space-between; }

  .prod__gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 160px 160px; gap: 10px; }
  .ph--a { grid-column: span 2; grid-row: auto; }
  .ph--d { grid-column: span 2; }
  .prod__stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; }
  .stat b { min-width: 0; font-size: 36px; }
  .stat > span { font-size: 13.5px; }
  .tech__row { grid-template-columns: 36px 1fr; }
  .tech__tag { grid-column: 2; grid-row: auto; justify-self: start; margin-top: 10px; }

  .steps { grid-template-columns: 1fr; gap: 10px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 20px; }
  .step__n { margin: 0; grid-row: span 2; }
  .step::after { display: none; }
  .step h3 { margin-bottom: 4px; }

  .projects { grid-auto-columns: 82%; gap: 12px; }
  .slider-nav { display: none; }
  .section__head--nav { grid-template-columns: 1fr; }

  .why { grid-template-columns: 1fr; }
  .why__item { padding: 28px 22px; }
  .why__item svg { margin-bottom: 18px; }

  .price-table { padding: 4px 18px 10px; }
  .price-table__row { font-size: 15px; }
  .price-table__row b { font-size: 14px; }
  .price-side { grid-template-columns: 1fr; }
  .price-side__card { padding: 24px; }

  .faq__body { padding-right: 0; }
  .cta { border-radius: 22px; }
  .cta__form { grid-template-columns: 1fr; }
  .cta__submit { flex-direction: column; align-items: stretch; }
  .contact-block--row { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__contacts { grid-column: 1 / -1; }
  .footer__bottom span:last-child { margin-left: 0; }

  .mbar {
    display: grid; grid-template-columns: auto 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.94); backdrop-filter: blur(14px);
    border-top: 1px solid var(--steel-100); transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .mbar.is-visible { transform: none; }
  .mbar__call { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; min-height: 52px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 600; }
  .mbar__call svg { width: 18px; height: 18px; }
}

@media (max-width: 400px) {
  .topbar__item:first-child { display: none; }
  .topbar__push { margin: 0 auto; }
  .header__call { display: none; }
}
