/* ==========================================================================
   by.gruzoteka.com — Грузотека, РБ
   Токены — из Figma (коллекция «РБ v2 / Color», режимы Dark / Light)
   ========================================================================== */

:root,
.t-dark {
  --bg-page: #0a0c0b;
  --bg-block: #111412;
  --bg-surface: #161a18;
  --bg-surface-raised: #1e2320;
  --bg-accent: #a3d14a;
  --bg-accent-hover: #b6e05f;
  --bg-accent-soft: #1c2611;
  --bg-inverse: #f2f4f1;
  --text-primary: #f2f4f1;
  --text-secondary: #9ca49f;
  --text-muted: #6f7873;
  --text-accent: #b6e05f;
  --text-on-accent: #0a0c0b;
  --text-on-inverse: #0a0c0b;
  --text-danger: #f0705d;
  --icon-primary: #f2f4f1;
  --icon-accent: #b6e05f;
  --border-subtle: #1e2320;
  --border-default: #2a302d;
  --border-strong: #3b423e;
  --border-accent: #a3d14a;
  --glow: rgba(147, 193, 61, .4);
  --decor-opacity: .05;
  color-scheme: dark;
}

html[data-theme="light"],
.t-light {
  --bg-page: #edefea;
  --bg-block: #ffffff;
  --bg-surface: #f6f7f3;
  --bg-surface-raised: #e1e5dd;
  --bg-accent: #a3d14a;
  --bg-accent-hover: #b6e05f;
  --bg-accent-soft: #eaf4d4;
  --bg-inverse: #111412;
  --text-primary: #0a0c0b;
  --text-secondary: #4a534e;
  --text-muted: #6f7873;
  --text-accent: #8cb536;
  --text-on-accent: #0a0c0b;
  --text-on-inverse: #f2f4f1;
  --text-danger: #c8412c;
  --icon-primary: #0a0c0b;
  --icon-accent: #8cb536;
  --border-subtle: #e1e5dd;
  --border-default: #ccd2c7;
  --border-strong: #b3baae;
  --border-accent: #86b42e;
  --glow: transparent;
  --decor-opacity: .11;
  color-scheme: light;
}

/* Блоки, которые в макете всегда тёмные, внутри светлой темы */
html[data-theme="light"] .t-dark {
  --bg-page: #0a0c0b;
  --bg-block: #111412;
  --bg-surface: #161a18;
  --bg-surface-raised: #1e2320;
  --bg-accent-soft: #1c2611;
  --bg-inverse: #f2f4f1;
  --text-primary: #f2f4f1;
  --text-secondary: #9ca49f;
  --text-muted: #6f7873;
  --text-accent: #b6e05f;
  --text-on-inverse: #0a0c0b;
  --text-danger: #f0705d;
  --icon-primary: #f2f4f1;
  --icon-accent: #b6e05f;
  --border-subtle: #1e2320;
  --border-default: #2a302d;
  --border-strong: #3b423e;
  --border-accent: #a3d14a;
  --glow: rgba(147, 193, 61, .4);
  color-scheme: dark;
}

:root {
  --glass: rgba(146, 146, 146, .08);
  --glass-line: rgba(255, 255, 255, .12);
  --glass-light: rgba(255, 255, 255, .1);
  --scrim: rgba(0, 0, 0, .25);
  --line-dark: rgba(0, 0, 0, .2);
  --ink: #0a0c0b;
  --pad: clamp(16px, 5.42vw, 78px);
  --sec-r: 40px;
  --sec-pt: 72px;
  --sec-pb: 112px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

.t-dark, .t-light { color: var(--text-primary); }

/* --------------------------------------------------------------------------
   База
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
input { font: inherit; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.acc { color: var(--text-accent); }
:focus-visible { outline: 2px solid var(--bg-accent); outline-offset: 2px; }

.wrap { width: 100%; max-width: calc(1284px + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

.only-mob, .only-mob-flex, .br-m { display: none !important; }

.logo { display: inline-flex; flex: none; color: var(--icon-primary); }
.logo-svg { width: 135px; height: 30px; }
.logo-svg .lp { fill: currentColor; }
.logo-svg .la { fill: var(--bg-accent); }

/* Заголовки */
.h2 {
  font-size: 40px;
  line-height: 44px;
  font-weight: 800;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.sec-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.sec-head .h2 { max-width: 760px; }
.sec-head__lead {
  max-width: 360px;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.003em;
  color: var(--text-secondary);
  text-align: right;
}
.label-acc, .label-muted {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.label-acc { color: var(--text-accent); }
.label-muted { color: var(--text-muted); }
.card-title {
  font-size: 20px;
  line-height: 26px;
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
}

/* Кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -.002em;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
  border: 1px solid transparent;
}
.btn--l { min-height: 52px; padding: 15px 27px; }
.btn--m { min-height: 46px; padding: 12px 20px; }
.btn--primary { background: var(--bg-accent); color: var(--text-on-accent); }
.btn--primary:hover { background: var(--bg-accent-hover); }
.btn--secondary { background: var(--bg-surface-raised); color: var(--text-primary); border-color: var(--border-default); }
.btn--secondary:hover { border-color: var(--border-strong); }
.btn--ghost { border-color: var(--border-strong); color: var(--text-primary); }
.btn--ghost:hover { border-color: var(--text-primary); }
.btn--accent-border { border-color: var(--border-accent); }
.btn--accent-border:hover { background: var(--bg-accent); color: var(--text-on-accent); border-color: var(--bg-accent); }
.btn--inverse { background: var(--bg-inverse); color: var(--text-on-inverse); font-size: 14px; }
.btn--inverse:hover { opacity: .9; }
.btn--glass { background: var(--glass-light); color: var(--text-accent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--dark { background: var(--ink); color: #a3d14a; }
.btn--dark:hover { background: #1e2320; }
.btn__arrow { display: inline-block; transition: transform .2s; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* Теги */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag--accent { background: var(--bg-accent-soft); color: var(--text-accent); }
.tag--outline { border: 1px solid var(--border-strong); color: var(--text-secondary); padding: 6px 10px; transition: border-color .2s, color .2s; }
a.tag--outline:hover { border-color: var(--text-primary); color: var(--text-primary); }
.tag--page { background: var(--bg-page); color: var(--text-accent); }
.tag--scrim { background: var(--scrim); color: var(--text-primary); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.tag--blur { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Круглая кнопка-стрелка */
.navbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-accent);
  color: var(--text-on-accent);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  transition: background-color .2s, transform .2s;
}
.navbtn:hover { background: var(--bg-accent-hover); }
.navbtn--muted { background: var(--bg-surface-raised); color: var(--text-primary); }
.navbtn--muted:hover { background: var(--border-default); }
.navbtn--xl { width: 67px; height: 67px; font-size: 22px; }

.card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 16px; }

.check { display: flex; gap: 8px; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-primary); }
.check__mark { flex: none; color: var(--text-accent); font-weight: 500; }

.outline-num {
  flex: none;
  font-size: 64px;
  line-height: 64px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border-strong);
}

/* --------------------------------------------------------------------------
   Секции: скругление сверху и наезд на предыдущую
   -------------------------------------------------------------------------- */
.sec {
  position: relative;
  margin-top: calc(var(--sec-r) * -1);
  padding: var(--sec-pt) 0 var(--sec-pb);
  border-radius: var(--sec-r) var(--sec-r) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.sec--block { background: var(--bg-block); }
.sec--page { background: var(--bg-page); }
.sec--glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10%;
  top: 10%;
  width: 120%;
  height: 90%;
  background: radial-gradient(50% 50% at 50% 50%, var(--glow) 0%, transparent 100%);
  pointer-events: none;
}
.sec > .wrap { position: relative; }
.sec__decor {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 804px;
  height: 346px;
  background: var(--bg-inverse);
  -webkit-mask: url(../img/decor-1.svg) no-repeat 0 0 / 100% 100%;
  mask: url(../img/decor-1.svg) no-repeat 0 0 / 100% 100%;
  opacity: var(--decor-opacity);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   01 Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  z-index: 0;
  min-height: 818px;
  padding: 29px 0 78px;
  color: var(--text-primary);
  background: #0a0c0b url(../img/hero.jpg) center / cover no-repeat;
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 12, 11, .96) 0%, rgba(10, 12, 11, .55) 18.8%, rgba(10, 12, 11, 0) 34%),
    linear-gradient(90deg, rgba(10, 12, 11, .96) 0%, rgba(10, 12, 11, .55) 55%, rgba(10, 12, 11, 0) 100%);
}
.hero__inner { display: flex; flex-direction: column; min-height: calc(818px - 29px - 78px); }

.topbar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-line);
}
.topbar .logo { margin-top: 0; }
.topbar__nav { flex: 1; display: flex; justify-content: center; gap: 32px; padding: 0 24px; }
.topbar__nav a {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
  white-space: nowrap;
}
.topbar__nav a:hover { color: var(--text-primary); }
.topbar__actions { display: flex; align-items: center; gap: 12px; }
.topbar__phone { white-space: nowrap; }
.topbar__cta { padding: 12px 18px; }
.topbar__call, .topbar__burger { display: none; }

.theme-toggle {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-default);
  cursor: pointer;
  transition: border-color .25s;
}
.theme-toggle:hover { border-color: var(--border-strong); }
/* Бегунок: под солнцем в светлой теме, под луной в тёмной */
.theme-toggle__knob {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-accent);
  transition: transform .45s cubic-bezier(.68, -.35, .32, 1.35);
}
html[data-theme="dark"] .theme-toggle__knob { transform: translateX(38px); }
.theme-toggle__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--text-secondary);
  transition: color .3s, transform .45s cubic-bezier(.68, -.35, .32, 1.35);
}
.theme-toggle:hover .theme-toggle__icon { color: var(--text-primary); }
html[data-theme="light"] .theme-toggle .theme-toggle__icon--sun,
html[data-theme="dark"] .theme-toggle .theme-toggle__icon--moon { color: var(--text-on-accent); }
/* Неактивная иконка чуть повёрнута и уменьшена — при переключении она «докручивается» */
html[data-theme="dark"] .theme-toggle__icon--sun { transform: rotate(-90deg) scale(.8); }
html[data-theme="light"] .theme-toggle__icon--moon { transform: rotate(40deg) scale(.8); }

.hero__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: 33px; }
.hero__main { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; max-width: 820px; }
.hero__title {
  font-size: 72px;
  line-height: 76px;
  font-weight: 800;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero__lead {
  max-width: 560px;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: -.005em;
  color: var(--text-secondary);
}
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__btns .btn--secondary { min-height: 54px; }

.kpi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.kpi__item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 89px;
  padding: 16px 24px;
  border-radius: 16px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.kpi__item b { font-size: 30px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.kpi__item span { font-size: 12px; line-height: 16px; color: var(--text-secondary); }

/* Мобильное меню */
.menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.menu__panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 80px 16px 24px;
  border-radius: 0 0 28px 28px;
  background: var(--bg-block);
  animation: menuIn .25s ease;
}
@keyframes menuIn { from { transform: translateY(-16px); opacity: 0; } }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-default);
  font-size: 20px;
  line-height: 26px;
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.menu__row { display: flex; align-items: center; justify-content: space-between; }
.menu__label { font-size: 14px; color: var(--text-secondary); }
.menu__phone { font-size: 24px; line-height: 28px; font-weight: 600; color: var(--text-accent); }
body.menu-open { overflow: hidden; }
body.menu-open .topbar__burger { position: relative; z-index: 101; }

/* --------------------------------------------------------------------------
   02 Преимущества
   -------------------------------------------------------------------------- */
.adv .h2 { margin-bottom: 40px; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; min-height: 560px; }
.bento__col { display: flex; flex-direction: column; gap: 16px; }
.bento__col > .bento__card { flex: 1; }
.bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text-primary);
}
.bento__text { display: flex; flex-direction: column; gap: 8px; }
.bento__text p { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.bento__card--photo { justify-content: flex-end; background: #0a0c0b; }
.bento__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.bento__card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 12, 11, .1) 30%, rgba(10, 12, 11, .95) 100%);
}
.bento__card--accent { background: var(--bg-accent); color: var(--text-on-accent); }
.bento__card--accent .bento__text p { color: var(--text-on-accent); }
.bento__card--surface { background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.bento__card--plain { background: var(--bg-surface); }
.bento__card--video { justify-content: flex-start; background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.bento__phone {
  position: absolute;
  z-index: -1;
  left: -49.8%;
  top: 27.9%;
  width: 247.8%;
  max-width: none;
  height: auto;
  transform: rotate(11.8deg);
  transform-origin: center;
  filter: contrast(.85);
}
.ico-box {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg-accent-soft);
  color: var(--text-accent);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
}
.ico-box--page { background: var(--bg-page); }

/* --------------------------------------------------------------------------
   03 О компании
   -------------------------------------------------------------------------- */
.about .h2 { margin-bottom: 40px; }
.about__grid { display: grid; grid-template-columns: 593fr 329fr 331fr; gap: 16px; min-height: 440px; }
.about__video {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  color: var(--text-primary);
  background: #111212;
}
.about__video img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s; }
.about__video:hover img { transform: scale(1.03); }
.about__video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 18, 18, 0) 50%, rgba(17, 18, 18, .85) 100%);
}
.about__play { display: flex; align-items: center; gap: 14px; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; }
.about__mission {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-surface-raised);
}
.about__mission p { font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }
.about__nums {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.about__nums dl { display: flex; flex-direction: column; gap: 16px; }
.about__nums dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border-default); }
.about__nums dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.about__nums dt { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text-accent); }
.about__nums dd { font-size: 14px; line-height: 20px; color: var(--text-secondary); text-align: right; }

/* --------------------------------------------------------------------------
   Слайдеры (на мобильных — горизонтальная прокрутка с точками)
   -------------------------------------------------------------------------- */
.slider { position: relative; }
.dots { display: none; gap: 6px; margin-top: 24px; }
.dots button { width: 6px; height: 6px; border-radius: 3px; background: var(--border-strong); transition: width .25s, background-color .25s; }
.dots button.is-active { width: 22px; background: var(--bg-accent); }

/* --------------------------------------------------------------------------
   04 Кому подходит
   -------------------------------------------------------------------------- */
.segments .sec-head { margin-bottom: 40px; }
.segments .sec-head__lead { max-width: 320px; }
.segments__row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 392px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
}
.seg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--bg-surface) 30%, rgba(22, 26, 24, 0) 60%),
    linear-gradient(90deg, var(--bg-surface) 25%, rgba(22, 26, 24, 0) 60%);
}
.seg__head { display: flex; justify-content: space-between; gap: 12px; min-height: 64px; }
.seg__title { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.seg .outline-num { opacity: .35; }
.seg__was { font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* Картинки-«стекло» на тёмных карточках: lighten убирает чёрный фон рендера */
.art {
  position: absolute;
  z-index: -2;
  max-width: none;
  height: auto;
  mix-blend-mode: lighten;
  pointer-events: none;
  user-select: none;
}
.art--seg1 { left: 43.93%; top: 50%; width: 66.36%; filter: saturate(1.46); }
.art--seg2 { left: 20.48%; top: 38.97%; width: 96.15%; filter: saturate(1.46); }
.art--seg3 { left: 28.31%; top: 41.59%; width: 86.06%; transform: scaleX(-1); filter: saturate(1.44); }
.art--seg4 { left: 13.73%; top: 29.79%; width: 117.37%; transform: scaleX(-1); filter: saturate(1.44); }

/* --------------------------------------------------------------------------
   05 Схема работы
   -------------------------------------------------------------------------- */
.scheme .sec-head { margin-bottom: 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 390px 342px; gap: 16px; }
.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
}
.step__head { display: flex; justify-content: space-between; gap: 12px; min-height: 64px; }
.step__head > div { display: flex; flex-direction: column; gap: 8px; max-width: 290px; }
.step__title { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.step__text { max-width: 359px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.step__btn { margin-top: auto; width: 100%; }
.art--step1 { left: 32.61%; top: 29.97%; width: 94.25%; filter: saturate(1.46); }
.art--step2 { left: 34.29%; top: 33.8%; width: 86.81%; filter: saturate(1.5); }
.art--step3 { left: 41.17%; top: 46.09%; width: 63.06%; transform: rotate(-90deg); filter: saturate(1.42); }
.art--step4 { left: 35.86%; top: 35.49%; width: 89.28%; transform: rotate(38.5deg); filter: saturate(1.48); }
.art--step5 { left: 32.01%; top: 28.35%; width: 84.67%; transform: scaleX(-1); filter: saturate(1.79); }
.art--step6 { left: 21.69%; top: 22.66%; width: 90.82%; transform: rotate(-9.1deg); filter: saturate(1.67); }

.banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 340px;
  margin-top: 16px;
  padding: 40px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #161a18;
}
.banner__bg { position: absolute; z-index: -2; top: 0; right: 0; width: 72%; height: 100%; object-fit: cover; }
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #161a18 35%, rgba(22, 26, 24, .3) 100%);
}
.banner__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.banner__body .h2 { max-width: 600px; }
.banner__body p { font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   06 Экономика
   -------------------------------------------------------------------------- */
.economy__title { margin-bottom: 40px; }
.economy__title2 { margin: 40px 0; }
.cars { display: grid; grid-template-columns: 300px minmax(0, 1fr) 300px; gap: 16px; }
.cars__view { display: contents; }
/* Все авто лежат в одной ячейке сетки: высота блока берётся по самому высокому и не прыгает при переключении */
.cars__view[hidden] { display: contents !important; visibility: hidden; }
.cars__view[hidden] .gallery__track { display: none; } /* фото скрытых авто не грузим */
.cars__list { grid-area: 1 / 1; }
.car-review { grid-area: 1 / 2; }
.breakdown { grid-area: 1 / 3; }
.cars__list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 8px 8px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.cars__list .label-muted { padding: 0 1px; }
.cars__items { display: flex; flex-direction: column; gap: 6px; }
.car-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  padding: 6px 14px 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: border-color .2s, background-color .2s;
}
.car-item:hover { border-color: var(--border-strong); }
.car-item.is-active { background: var(--bg-accent-soft); border-color: var(--border-accent); }
.car-item img { flex: none; width: 72px; height: 48px; border-radius: 8px; object-fit: cover; background: var(--bg-surface-raised); }
.car-item span { display: flex; flex-direction: column; min-width: 0; }
.car-item b { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.003em; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car-item.is-active b { color: var(--text-primary); }
.car-item small { font-size: 12px; line-height: 16px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.car-review {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.gallery { position: relative; height: 332px; overflow: hidden; background: var(--bg-surface-raised); }
.gallery__track { display: flex; height: 100%; transition: transform .4s ease; }
.gallery__track img { flex: none; width: 100%; height: 100%; object-fit: cover; }
.gallery__chips {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: rgba(10, 13, 10, .6);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
}
.chip.is-active { background: var(--bg-accent); color: var(--text-on-accent); }
.gallery__nav { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 2px; }
.gallery__btn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: rgba(10, 13, 10, .55);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color .2s;
}
.gallery__btn:hover { background: rgba(10, 13, 10, .8); }
.gallery__btn svg { width: 36px; height: 36px; }
.gallery__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  height: 20px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(10, 13, 10, .45);
}
.gallery__dots i { width: 4px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .5); transition: width .25s, background-color .25s; }
.gallery__dots i.is-active { width: 14px; background: var(--bg-accent); }
.car-review__body { display: flex; flex-direction: column; gap: 20px; padding: 20px; }
.car-review__head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.car-review__title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.car-review__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: -8px; }
.car-review__desc { font-size: 14px; line-height: 20px; color: var(--text-secondary); }

.breakdown {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.breakdown__rows > div { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border-default); }
.breakdown__rows dt { font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }
.breakdown__rows dd { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.003em; text-align: right; white-space: nowrap; }
.breakdown__total { display: flex; flex-direction: column; gap: 7px; }
.breakdown__label { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; text-transform: uppercase; }
.breakdown__sum { margin-bottom: 13px; font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text-accent); }
.breakdown .btn { width: 100%; padding-left: 16px; padding-right: 16px; }

.compare { display: grid; grid-template-columns: 802fr 466fr; gap: 16px; align-items: start; }
.compare__us {
  position: relative;
  padding: 12px 32px;
  border-radius: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border-accent);
}
.compare__head { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--border-default); }
.compare__head h3 { font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.015em; text-transform: uppercase; }
.compare__mark { width: 100px; height: 57px; color: var(--bg-inverse); opacity: .05; }
.compare__mark .lp, .compare__mark .la { fill: currentColor; }
.compare__row { display: flex; align-items: center; gap: 20px; min-height: 64px; border-bottom: 1px solid var(--border-default); }
.compare__row:last-child { border-bottom: 0; }
.compare__num { width: 14px; flex: none; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; color: var(--text-accent); }
.compare__label { flex: none; width: 186px; font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }
.compare__value { flex: 1; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.compare__ok svg rect { fill: var(--bg-accent); }
.compare__ok svg path { stroke: var(--text-on-accent); }
.compare__them { padding: 12px 24px; border-radius: 20px; background: var(--bg-surface); border: 1px solid var(--border-subtle); }
.compare__head--them { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; padding-left: 43px; justify-content: stretch; }
.compare__head--them h3 { font-size: 20px; line-height: 26px; letter-spacing: -.01em; }
.compare__row--them { display: grid; grid-template-columns: 28px 1fr 1fr; gap: 16px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.compare__no svg rect { fill: var(--text-danger); fill-opacity: .16; }
.compare__no svg path { stroke: var(--text-danger); }
.compare__mob-label { display: none; }

/* --------------------------------------------------------------------------
   07 Форматы
   -------------------------------------------------------------------------- */
.formats { overflow: hidden; }
.formats::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -226px;
  top: -29px;
  width: 1891px;
  height: 704px;
  background: var(--bg-inverse);
  -webkit-mask: url(../img/decor-2.svg) no-repeat center / contain;
  mask: url(../img/decor-2.svg) no-repeat center / contain;
  opacity: calc(var(--decor-opacity) * .7);
  pointer-events: none;
}
.formats .sec-head { margin-bottom: 40px; }
.formats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.format {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.format__top { display: flex; flex-direction: column; gap: 12px; }
.format__name { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 26px; }
.format__name h3 { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; text-transform: uppercase; }
.format__price { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.format__note { font-size: 14px; line-height: 20px; color: var(--text-muted); }
.format__list { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--border-default); }
.format__list li { display: flex; gap: 10px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.format .btn { width: 100%; min-height: 54px; }
.format--partner { background: var(--bg-accent); border-color: var(--bg-accent); color: var(--text-on-accent); }
.format--partner .format__note,
.format--partner .format__list li,
.format--partner .check__mark { color: var(--text-on-accent); }
.format--partner .format__list { border-top-color: rgba(0, 0, 0, .15); }
.format--partner .btn--secondary { border-color: var(--border-default); }

/* --------------------------------------------------------------------------
   08 Контент (рилсы)
   -------------------------------------------------------------------------- */
.sec-head--top { align-items: flex-start; }
.content .sec-head { margin-bottom: 40px; align-items: flex-end; }
.content__socials { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 168px; }
.wrap--bleed { max-width: none; padding-left: max(var(--pad), calc((100vw - 1284px) / 2)); padding-right: 0; }
.reels {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-right: var(--pad);
}
.reels::-webkit-scrollbar { display: none; }
.reel {
  position: relative;
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  width: 236px;
  height: 400px;
  padding: 20px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  scroll-snap-align: start;
  background: #161a18;
  color: var(--text-primary);
}
.reel img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.reel:hover img { transform: scale(1.05); }
.reel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(10, 12, 11, .05) 25%, rgba(10, 12, 11, .92) 100%);
}
.reel__title { font-size: 24px; line-height: 29px; font-weight: 500; letter-spacing: -.015em; }
.reel__title em { font-style: normal; color: var(--text-accent); }

/* --------------------------------------------------------------------------
   09 FAQ
   -------------------------------------------------------------------------- */
.faq .sec-head { margin-bottom: 40px; align-items: center; }
.faq__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq__col { display: flex; flex-direction: column; gap: 12px; }
.faq__ask-mob { display: none; }
.faq-item { border-radius: 16px; background: var(--bg-surface); transition: background-color .2s; }
.faq-item[open] { background: var(--bg-surface-raised); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  list-style: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: -.003em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__toggle {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-surface-raised);
  transition: background-color .2s, transform .25s;
}
.faq-item__toggle::before,
.faq-item__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 1.5px;
  margin: -.75px 0 0 -4.5px;
  border-radius: 1px;
  background: var(--text-primary);
  transition: transform .25s;
}
.faq-item__toggle::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__toggle { background: var(--bg-accent); }
.faq-item[open] .faq-item__toggle::before { background: var(--text-on-accent); }
.faq-item[open] .faq-item__toggle::after { transform: rotate(0); background: var(--text-on-accent); }
.faq-item p { margin-top: -12px; padding: 0 28px 24px; font-size: 14px; line-height: 20px; color: var(--text-secondary); }

/* --------------------------------------------------------------------------
   10 Кейсы
   -------------------------------------------------------------------------- */
.cases { padding-bottom: 72px; }
.cases .sec-head { margin-bottom: 40px; }
.cases__side { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.cases__tags { display: flex; gap: 8px; }
.cases__nav { display: flex; gap: 8px; }
.cases__row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-right: var(--pad);
}
.cases__row::-webkit-scrollbar { display: none; }
.case { flex: none; width: 400px; overflow: hidden; scroll-snap-align: start; }
.case img { width: calc(100% - 2px); height: 220px; margin: 1px 1px 0; border-radius: 15px 15px 0 0; object-fit: cover; }
.case__body { display: flex; flex-direction: column; gap: 12px; padding: 24px; }
.case__title { font-size: 20px; line-height: 26px; font-weight: 500; letter-spacing: -.01em; text-transform: uppercase; }
.case__nums { display: grid; grid-template-columns: 1fr 1fr; padding-top: 16px; border-top: 1px solid var(--border-default); }
.case__nums div { display: flex; flex-direction: column; gap: 2px; }
.case__nums b { font-size: 24px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; color: var(--text-accent); }
.case__nums span { font-size: 14px; line-height: 20px; color: var(--text-muted); }

/* --------------------------------------------------------------------------
   Заявка + футер
   -------------------------------------------------------------------------- */
.end { position: relative; background: var(--bg-block); }
.form-banner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  min-height: 292px;
  padding: 48px;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  background: #0a0c0b;
  color: var(--text-primary);
}
.form-banner__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.form-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 12, 11, 0) 0%, rgba(10, 12, 11, 0) 50%, rgba(10, 12, 11, .6) 100%),
    rgba(10, 12, 11, .82);
}
.form-banner__text { flex: 1; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.form-banner__text p { max-width: 460px; font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }

.lead-form { flex: none; width: 620px; max-width: 100%; display: flex; flex-direction: column; gap: 12px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field input {
  width: 100%;
  height: 54px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.003em;
  outline: none;
  transition: border-color .2s;
}
.field input::placeholder { color: var(--text-muted); opacity: 1; }
.field input:focus { border-color: var(--border-accent); }
.field input.is-invalid { border-color: var(--text-danger); }
.lead-form__bottom { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.lead-form__bottom .btn { width: 100%; padding-left: 16px; padding-right: 16px; }
.lead-form__bottom .btn[disabled] { opacity: .6; pointer-events: none; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 16px; color: var(--text-muted); cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checkbox__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 4px;
  border: 1px solid var(--border-strong);
  font-size: 12px;
  line-height: 1;
  color: transparent;
  transition: background-color .2s, border-color .2s, color .2s;
}
.checkbox input:checked + .checkbox__box { background: var(--bg-accent); border-color: var(--bg-accent); color: var(--text-on-accent); }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--bg-accent); outline-offset: 2px; }
.checkbox.is-invalid .checkbox__box { border-color: var(--text-danger); }
.lead-form__msg { min-height: 0; font-size: 14px; line-height: 20px; }
.lead-form__msg:empty { display: none; }
.lead-form__msg.is-ok { color: var(--text-accent); }
.lead-form__msg.is-error { color: var(--text-danger); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.footer {
  position: relative;
  z-index: 1;
  margin-top: -147px;
  padding: 228px 0 40px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  isolation: isolate;
  background: #a3d14a;
  color: var(--ink);
}
.footer__bg { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(163, 209, 74, .85); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 712fr) minmax(0, 508fr); gap: 64px; }
.footer__title { margin-bottom: 24px; font-size: 56px; line-height: 60px; font-weight: 600; letter-spacing: -.025em; text-transform: uppercase; }
.footer__services li a { display: flex; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.footer__services li:last-child a { border-bottom: 0; }
.footer__num { width: 40px; flex: none; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; }
.footer__domain { flex: 1; min-width: 0; font-size: 28px; line-height: 32px; letter-spacing: -.015em; overflow: hidden; text-overflow: ellipsis; }
.footer__kind { font-size: 14px; line-height: 20px; font-weight: 500; white-space: nowrap; }
.footer__go svg rect { fill: var(--ink); transition: fill .2s; }
.footer__go svg path { stroke: #a3d14a; }
.footer__services li a:hover .footer__go svg rect { fill: #2a302d; }
.footer__side { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
.footer__contacts { display: flex; flex-direction: column; gap: 8px; }
.footer__caption { display: block; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
.footer__phone { font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.footer__email { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.003em; }
.footer__addr { font-size: 14px; line-height: 20px; }
.footer__menus { display: grid; grid-template-columns: 2fr 1fr; gap: 24px; width: 100%; }
.footer__menu .footer__caption { margin-bottom: 12px; opacity: .6; }
.footer__menu ul { display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 20px; }
.footer__menu-cols { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.footer__menu a:hover, .footer__bottom a:hover { text-decoration: underline; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px;
  line-height: 16px;
}
.footer__bottom > a, .footer__bottom span a { text-decoration: underline; }
.footer .logo { color: var(--ink); }
.footer .logo-svg .la { fill: var(--ink); }

/* --------------------------------------------------------------------------
   Адаптив
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .topbar__nav { gap: 20px; padding: 0 8px; }
  .hero__title { font-size: 60px; line-height: 64px; }
  .cars { grid-template-columns: 260px minmax(0, 1fr) 260px; }
  .compare__label { width: 150px; }
  .footer__domain { font-size: 24px; }
}

@media (max-width: 1099px) {
  .topbar__nav { display: none; }
  .topbar { justify-content: space-between; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento__card--photo, .bento__card--video { min-height: 480px; }
  .about__grid { grid-template-columns: 1fr 1fr; }
  .about__video { grid-column: 1 / -1; min-height: 380px; }
  .segments__row { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 360px; }
  .cars { grid-template-columns: 1fr 1fr; }
  .cars__list { grid-column: 1 / -1; }
  .cars__items { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .cars__items::-webkit-scrollbar { display: none; }
  .car-item { flex: none; width: 236px; }
  .cars__view { display: contents; }
  .car-review { grid-area: 2 / 1; }
  .breakdown { grid-area: 2 / 2; }
  .compare { grid-template-columns: 1fr; }
  .formats__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .format--partner { order: -1; }
  .form-banner { flex-direction: column; align-items: stretch; }
  .form-banner__text { max-width: none; }
  .lead-form { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 767px) {
  :root { --sec-r: 28px; --sec-pt: 40px; --sec-pb: 64px; }
  .only-desk, .only-desk-flex { display: none !important; }
  .only-mob { display: inline !important; }
  .br-d { display: none; }
  .br-m { display: inline !important; }
  .only-mob-flex { display: flex !important; }

  .h2 { font-size: 28px; line-height: 32px; }
  .sec-head { flex-direction: column; gap: 24px; }
  .sec-head__lead { text-align: left; max-width: none; }
  .sec-head .h2 { max-width: none; }
  .adv .h2, .about .h2, .economy__title, .segments .sec-head, .scheme .sec-head, .formats .sec-head, .content .sec-head, .faq .sec-head, .cases .sec-head { margin-bottom: 24px; }
  .economy__title2 { margin: 24px 0; }

  /* Hero */
  .hero { min-height: 785px; padding: 12px 0 56px; }
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 12, 11, .35) 0%, rgba(10, 12, 11, .5) 35%, rgba(10, 12, 11, .97) 100%);
  }
  .hero__inner { min-height: calc(785px - 12px - 56px); }
  .topbar { gap: 8px; padding: 8px 0; border-bottom: 0; }
  .topbar .logo-svg { width: 153px; height: 34px; }
  .topbar .theme-toggle, .topbar__phone, .topbar__cta { display: none; }
  .topbar__actions { gap: 8px; }
  .topbar__call {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-line);
    color: var(--text-accent);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .topbar__burger { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-inverse); color: var(--text-on-inverse); }
  .hero__body { padding-top: 71px; gap: 18px; justify-content: flex-start; }
  .hero__main { gap: 18px; }
  .hero__title { font-size: 36px; line-height: 38px; }
  .hero__lead { font-size: 16px; line-height: 24px; letter-spacing: -.003em; }
  .hero__btns { flex-direction: column; width: 100%; gap: 10px; }
  .hero__btns .btn { width: 100%; }
  .kpi { grid-template-columns: 1fr 1fr; gap: 8px; }
  .kpi__item { min-height: 78px; padding: 12px 10px 12px 14px; }
  .kpi__item b { font-size: 24px; line-height: 28px; }

  /* Преимущества */
  .sec__decor { display: none; }
  .bento { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
  .bento__card--photo { min-height: 340px; }
  .bento__col--slider {
    flex-direction: row;
    gap: 12px;
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .bento__col--slider::-webkit-scrollbar { display: none; }
  .bento__col--slider > .bento__card { flex: none; width: 280px; min-height: 240px; scroll-snap-align: start; padding: 24px 24px 24px; }
  .bento__card--video { min-height: 460px; }
  .bento__phone { left: -13.54%; top: 25.69%; width: 185.53%; transform: none; }
  .card-title { font-size: 20px; line-height: 26px; }

  /* О компании */
  .about__grid { display: flex; flex-direction: column; gap: 12px; min-height: 0; }
  .about__video { min-height: 240px; }
  .about__mission { min-height: 230px; }
  .about__nums { gap: 20px; }

  /* Слайдеры */
  .slider__track {
    display: flex !important;
    gap: 12px;
    margin-right: calc(var(--pad) * -1);
    padding-right: var(--pad);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .slider__track::-webkit-scrollbar { display: none; }
  .dots { display: flex; }
  .seg { flex: none; width: 280px; min-height: 380px; scroll-snap-align: start; }
  .step { flex: none; width: 280px; height: 360px; scroll-snap-align: start; }
  .steps { grid-template-rows: none; }
  .art--step1 { left: 25.56%; top: 38.33%; width: 106.5%; }
  .art--step2 { left: 20.48%; top: 37.54%; width: 108.93%; }
  .art--step3 { left: 32.82%; top: 46.09%; width: 85.25%; transform: scaleX(-1); }
  .art--step4 { left: 12.89%; top: 39.88%; width: 128.58%; transform: rotate(45deg); }
  .art--step5 { left: 19.63%; top: 40.38%; width: 102.25%; }
  .art--step6 { left: 6.94%; top: 30.91%; width: 123.03%; transform: rotate(-15deg); }
  .step__btn { padding-left: 16px; padding-right: 16px; }

  .banner { min-height: 394px; margin-top: 30px; padding: 28px 20px; align-items: stretch; }
  .banner__bg { width: 100%; }
  .banner::after { background: linear-gradient(180deg, rgba(22, 26, 24, .35) 0%, rgba(22, 26, 24, .9) 100%), linear-gradient(90deg, #161a18 10%, rgba(22, 26, 24, .3) 100%); }
  .banner__body { justify-content: space-between; gap: 20px; }
  .banner__body .btn { margin-top: auto; }

  /* Экономика */
  .cars { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cars__list { padding: 0; border: 0; background: none; gap: 24px; }
  .cars__list .label-muted { order: -1; }
  .cars__items { margin-right: calc(var(--pad) * -1); padding-right: var(--pad); gap: 12px; }
  .car-item { width: 236px; min-height: 82px; padding: 8px 14px 8px 8px; }
  .car-item small { white-space: normal; }
  .cars__view, .cars__view[hidden] { display: flex !important; flex-direction: column; gap: 12px; grid-area: 2 / 1; }
  .gallery { height: 310px; }
  .gallery__chips { top: 12px; left: 50%; transform: translateX(-50%); }
  .gallery__nav { right: 12px; bottom: 12px; gap: 2px; }
  .gallery__btn, .gallery__btn svg { width: 52px; height: 52px; }
  .gallery__dots { left: 12px; transform: none; bottom: 28px; }
  .car-review__body { padding: 20px; gap: 16px; }
  .car-review__head { flex-direction: column; align-items: flex-start; }
  .car-review__tags { margin-top: 0; }
  .breakdown { padding: 24px 28px; }

  .compare { gap: 12px; }
  .compare__us { padding: 12px 16px; }
  .compare__head h3 { font-size: 22px; line-height: 26px; }
  .compare__head--them h3 { font-size: 18px; line-height: 22px; }
  .compare__mark { display: none; }
  .compare__row { display: grid; grid-template-columns: 14px 1fr 32px; grid-template-areas: "num label ok" "num value ok"; column-gap: 12px; row-gap: 2px; padding: 12px 0; }
  .compare__num { grid-area: num; align-self: center; }
  .compare__label { grid-area: label; width: auto; font-size: 12px; line-height: 16px; }
  .compare__value { grid-area: value; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: none; }
  .compare__ok { grid-area: ok; }
  .compare__them { padding: 12px 16px; }
  .compare__head--them { padding-left: 44px; grid-template-columns: 1fr 1fr; }
  .compare__row--them { grid-template-columns: 28px 1fr 1fr; align-items: center; column-gap: 16px; padding: 12px 0; }

  /* Форматы */
  .formats::after { display: none; }
  .formats__grid { display: flex; flex-direction: column; gap: 12px; }
  .format { padding: 32px; gap: 20px; }
  .format__price { font-size: 30px; line-height: 28px; letter-spacing: -.01em; }

  /* Контент */
  .content .sec-head { align-items: flex-start; }
  .content__socials { max-width: none; justify-content: flex-start; gap: 6px; }
  .reels { gap: 12px; }
  .reel { width: 200px; height: 340px; }
  .reel__title { font-size: 18px; line-height: 22px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }

  /* FAQ */
  .faq__cols { display: flex; flex-direction: column; gap: 12px; }
  .faq .sec-head .faq__ask { display: none; }
  .faq__ask-mob { display: flex; width: 100%; margin-top: 24px; min-height: 56px; }
  .faq-item summary { padding: 24px 24px 24px 28px; align-items: center; }
  .faq-item p { padding: 0 28px 24px; }

  /* Кейсы */
  .cases__side { align-items: flex-start; }
  .cases__nav { display: none; }
  .case { width: 280px; }
  .case img { height: 220px; }

  /* Заявка и футер */
  .end > .wrap { padding: 0; }
  .form-banner { gap: 24px; padding: 28px 20px 40px; border-radius: 16px 16px 0 0; }
  .form-banner__bg { object-position: 87% 50%; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .lead-form__bottom { grid-template-columns: 1fr; gap: 16px; }
  .footer { margin-top: -40px; padding: 48px 0 32px; border-radius: 28px 28px 0 0; }
  .footer__title { margin-bottom: 28px; font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.02em; }
  .footer__services li a { display: grid; grid-template-columns: 30px 1fr 44px; grid-template-areas: "num domain go" "num kind go"; align-items: center; gap: 2px 8px; padding: 14px 0; }
  .footer__num { grid-area: num; width: auto; align-self: center; }
  .footer__domain { grid-area: domain; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.003em; }
  .footer__kind { grid-area: kind; font-size: 12px; line-height: 16px; font-weight: 400; opacity: .7; }
  .footer__go { grid-area: go; align-self: center; }
  .footer__grid { gap: 28px; }
  .footer__side { gap: 28px; }
  .footer__phone { font-size: 24px; line-height: 28px; }
  .footer__side > .btn { width: 100%; }
  .footer__menus { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; padding-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Дизайн-система, раздел «Хедер при скролле, cookie, поп-апы»
   + страницы 404 и «Спасибо за заявку»
   ========================================================================== */

/* Плавающая шапка (RB2/Header Floating) */
.topbar.is-floating {
  position: fixed;
  z-index: 90;
  top: 12px;
  left: 50%;
  width: min(1284px, calc(100% - var(--pad) * 2));
  padding: 10px 10px 10px 24px;
  border: 1px solid var(--glass-line);
  border-radius: 16px;
  background: var(--bg-block);
  color: var(--text-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  animation: floatIn .3s ease;
}
@keyframes floatIn { from { opacity: 0; transform: translate(-50%, -16px); } }
/* В светлой теме плавающая шапка светлая (в hero шапка всегда тёмная) */
html[data-theme="light"] .topbar.is-floating {
  --bg-block: #ffffff;
  --bg-surface: #f6f7f3;
  --bg-surface-raised: #e1e5dd;
  --bg-inverse: #111412;
  --text-primary: #0a0c0b;
  --text-secondary: #4a534e;
  --text-accent: #8cb536;
  --text-on-inverse: #f2f4f1;
  --icon-primary: #0a0c0b;
  --border-default: #ccd2c7;
  --border-strong: #b3baae;
  --glass: #f6f7f3;
  --glass-line: rgba(10, 12, 11, .08);
  --glass-light: #f6f7f3;
  color-scheme: light;
  box-shadow: 0 12px 32px rgba(10, 12, 11, .12);
}

/* Поп-апы */
html.modal-open { overflow: hidden; }
html.modal-open body { padding-right: var(--sbw, 0px); }
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  padding: 24px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 5, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity .25s;
}
.modal__dialog {
  position: relative;
  width: 520px;
  max-width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: 24px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface-raised);
  color: var(--text-primary);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .5);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .25s, transform .25s;
  outline: none;
}
.modal--wide .modal__dialog { width: 640px; }
.modal.is-open .modal__overlay { opacity: 1; }
.modal.is-open .modal__dialog { opacity: 1; transform: none; }
html[data-theme="light"] .modal__overlay { background: rgba(10, 12, 11, .45); }
html[data-theme="light"] .modal__dialog { background: var(--bg-block); box-shadow: 0 24px 64px rgba(10, 12, 11, .18); }
.modal__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; min-height: 36px; }
.modal__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  color: var(--text-primary);
  transition: background-color .2s;
}
.modal__close:hover { background: var(--border-default); }
.modal__title { font-size: 28px; line-height: 32px; font-weight: 800; letter-spacing: -.015em; text-transform: uppercase; }
.modal__desc { font-size: 16px; line-height: 24px; letter-spacing: -.003em; color: var(--text-secondary); }
.modal__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.modal__btns--fill .btn:first-child { flex: 1; }
.modal__wide-btn { width: 100%; }
.modal__ok { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--bg-accent); color: var(--text-on-accent); }

/* Формы в поп-апах: RB2/Input, выпадающий список, сегменты */
.modal-form { display: flex; flex-direction: column; gap: 20px; }
.modal-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.modal-form__submit { width: 100%; }
.modal-form__submit[disabled] { opacity: .6; pointer-events: none; }
.modal-form__note { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.modal-form .checkbox { align-items: center; }
.checkbox a { text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 2px; transition: color .2s; }
.checkbox a:hover { color: var(--text-primary); }
.input { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.input__label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-secondary); }
.input__field {
  width: 100%;
  height: 54px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border-default);
  background: var(--bg-surface);
  color: var(--text-primary);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -.003em;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
}
.input__field::placeholder { color: var(--text-muted); opacity: 1; }
.input__field:focus { border-color: var(--border-accent); }
.input__field.is-invalid { border-color: var(--text-danger); }
.input__field--area { height: 80px; min-height: 54px; max-height: 200px; resize: vertical; }
.input__select { position: relative; display: block; }
.input__select::after { content: "▾"; position: absolute; top: 50%; right: 16px; transform: translateY(-50%); font-size: 12px; color: var(--text-muted); pointer-events: none; }
.input__select select { padding-right: 40px; cursor: pointer; }
.input__select option { background: var(--bg-surface); color: var(--text-primary); }
.segmented { display: flex; gap: 6px; padding: 4px; border-radius: 10px; background: var(--bg-surface); }
.segmented__item { flex: 1; position: relative; min-width: 0; }
.segmented__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented__item span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.segmented__item span:hover { color: var(--text-primary); }
.segmented__item input:checked + span { background: var(--bg-accent); color: var(--text-on-accent); }
.segmented__item input:focus-visible + span { outline: 2px solid var(--bg-accent); outline-offset: 2px; }

/* «Свяжитесь с нами» */
.contact-rows { display: flex; flex-direction: column; gap: 20px; }
.contact-row { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 14px; border-radius: 12px; background: var(--bg-surface); transition: background-color .2s; }
a.contact-row:hover { background: var(--border-default); }
.contact-row__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-accent-soft); color: var(--icon-accent); }
.contact-row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.contact-row__text small { font-size: 12px; line-height: 16px; color: var(--text-muted); }
.contact-row__text b { font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: -.003em; overflow-wrap: anywhere; }
.contact-row__go { flex: none; color: var(--text-secondary); }

/* Видео */
.player { position: relative; display: grid; place-items: center; aspect-ratio: 566 / 320; border-radius: 16px; overflow: hidden; background: #171a1a; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.player__play { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--bg-accent); color: var(--text-on-accent); transition: transform .2s, background-color .2s; }
.player__play:hover { transform: scale(1.06); background: var(--bg-accent-hover); }
.player iframe, .player video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 0; background: #000; }
/* Вертикальные ролики (Shorts, клипы VK) и посты Telegram */
.player--vertical { align-self: center; width: auto; max-width: 100%; height: min(64vh, 600px); aspect-ratio: 9 / 16; }
.player--post { aspect-ratio: auto; height: min(64vh, 600px); }
.player--post iframe { background: #fff; }
.modal__video-title { font-size: 24px; line-height: 29px; font-weight: 500; letter-spacing: -.015em; }

/* Cookie (RB2/Cookie Banner: Bar на десктопе, Card на телефоне) */
.cookie {
  position: fixed;
  z-index: 150;
  left: 50%;
  bottom: 24px;
  width: min(726px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  border-radius: 16px;
  border: 1px solid var(--glass-line);
  background: var(--bg-surface-raised);
  color: var(--text-primary);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .35);
  transform: translateX(-50%);
  animation: cookieIn .35s ease;
}
@keyframes cookieIn { from { opacity: 0; transform: translate(-50%, 16px); } }
html[data-theme="light"] .cookie { background: var(--bg-block); border-color: var(--border-default); box-shadow: 0 12px 32px rgba(10, 12, 11, .14); }
.cookie__main { flex: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.cookie__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-accent-soft); color: var(--icon-accent); }
.cookie__text { font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.cookie__text a { color: var(--text-accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__btns { flex: none; display: flex; gap: 8px; }
.cookie-opts { display: flex; flex-direction: column; gap: 12px; }
.cookie-opt { padding: 14px 16px; border-radius: 12px; background: var(--bg-surface); font-size: 14px; line-height: 20px; color: var(--text-secondary); }
.cookie-opt b { font-weight: 500; color: var(--text-primary); }
.checkbox input:disabled + .checkbox__box { opacity: .6; }
.checkbox input:disabled ~ span { cursor: default; }

/* Страницы 404 и «Спасибо»: полноэкранный блок на фоне кадра из видео */
.screen {
  position: relative;
  z-index: 0;
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  background: #0a0c0b url(../img/cta-banner.jpg) center / cover no-repeat;
  color: var(--text-primary);
  --screen-tint: rgba(0, 0, 0, .6);
}
.screen--thanks {
  background-image: url(../img/footer-bg.jpg);
  background-position: 50% 45%;
  --screen-tint: rgba(163, 209, 74, .7);
}
.screen__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10, 12, 11, .96) 0%, rgba(10, 12, 11, .55) 18.8%, rgba(10, 12, 11, 0) 34%),
    linear-gradient(90deg, rgba(10, 12, 11, .96) 0%, rgba(10, 12, 11, .55) 55%, rgba(10, 12, 11, 0) 100%),
    linear-gradient(var(--screen-tint), var(--screen-tint));
}
.screen__inner { display: flex; flex-direction: column; justify-content: space-between; gap: 33px; padding-top: 29px; padding-bottom: 40px; }
.screen__content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px; padding: 24px 0; text-align: center; }
.screen--thanks .screen__content { gap: 28px; }
.err-code {
  font-size: 260px;
  line-height: .86;
  font-weight: 800;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--bg-accent);
  -webkit-user-select: none;
  user-select: none;
}
.screen__title { font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; }
.screen__lead { max-width: 620px; font-size: 18px; line-height: 28px; letter-spacing: -.005em; color: var(--text-secondary); }
.screen--404 .screen__lead { max-width: 560px; }
.screen__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.screen__popular { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding-top: 8px; font-size: 12px; line-height: 16px; color: var(--text-muted); }
.screen__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; border-top: 1px solid var(--glass-line); font-size: 12px; line-height: 16px; }
.screen__foot a { transition: color .2s; }
.screen__foot a:hover { color: var(--text-accent); }
.thanks-ok { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: var(--bg-accent); color: var(--text-on-accent); box-shadow: 0 0 48px rgba(163, 209, 74, .45); }
.thanks-ok svg { width: 44px; height: 44px; stroke-width: 2.4; }
.thanks-title { font-size: 72px; line-height: 76px; font-weight: 800; letter-spacing: -.03em; text-transform: uppercase; }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 300px); gap: 12px; list-style: none; text-align: left; }
.thanks-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 22px;
  border-radius: 16px;
  border: 1px solid var(--glass-line);
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.thanks-step b { font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -.01em; text-transform: uppercase; }
.thanks-step small { font-size: 14px; line-height: 20px; color: var(--text-secondary); }

@media (max-width: 1099px) {
  .thanks-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
}

@media (max-width: 767px) {
  .topbar.is-floating { top: 8px; width: calc(100% - 16px); padding: 8px 8px 8px 14px; border-radius: 14px; }
  html[data-theme="light"] .topbar.is-floating .topbar__call { background: var(--bg-surface); border-color: var(--border-default); }

  .modal { padding: 8px; }
  .modal__dialog { gap: 16px; padding: 24px 20px; border-radius: 20px; }
  .modal__title { font-size: 24px; line-height: 28px; }
  .modal-form { gap: 16px; }
  .modal-form__row { grid-template-columns: 1fr; gap: 16px; }
  .segmented__item span { padding: 8px 6px; font-size: 13px; line-height: 16px; }
  .modal__btns .btn { flex: 1; }
  .modal__btns--fill { flex-direction: column; }
  .modal__video-title { font-size: 20px; line-height: 24px; }
  .contact-rows { gap: 12px; }

  .cookie { left: 8px; right: 8px; bottom: 8px; width: auto; flex-direction: column; align-items: stretch; padding: 20px 24px; transform: none; animation-name: cookieInMob; }
  .cookie__main { align-items: flex-start; }

  .screen__inner { gap: 24px; padding-top: 12px; padding-bottom: 24px; }
  .err-code { font-size: 132px; -webkit-text-stroke-width: 2px; }
  .screen__title { font-size: 28px; line-height: 32px; }
  .screen__lead { font-size: 16px; line-height: 24px; }
  .screen__btns { flex-direction: column; width: 100%; }
  .screen__btns .btn { width: 100%; }
  .thanks-ok { width: 72px; height: 72px; }
  .thanks-ok svg { width: 32px; height: 32px; }
  .thanks-title { font-size: 36px; line-height: 38px; }
  .thanks-steps { grid-template-columns: 1fr; }
  .screen__foot { flex-direction: column; }
}
@keyframes cookieInMob { from { opacity: 0; transform: translateY(16px); } }
