/* ==========================================================================
   Sweeper ММК — лендинг
   ========================================================================== */

@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/unbounded-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15191E;
  --ink-2: #1F252D;
  --ink-3: #2C343E;
  --paper: #F4F2ED;
  --paper-2: #EAE6DD;
  --card: #FFFFFF;
  --line: #DDD7CC;
  --line-dark: rgba(255, 255, 255, .12);
  --text: #1B2027;
  --muted: #5A626D;
  --muted-dark: #AAB2BC;
  --accent: #F2661B;
  --accent-hi: #FF7A2E;
  --accent-ink: #B0440A;
  --ok: #1E8E4E;
  --err: #D0342C;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 25, 30, .05), 0 10px 30px rgba(21, 25, 30, .07);
  --shadow-lg: 0 24px 60px rgba(21, 25, 30, .18);

  --font-display: 'Unbounded', 'Arial Black', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', Roboto, Arial, sans-serif;

  --container: 1200px;
  --gutter: 20px;
  --header-h: 72px;
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.3vw, 40px); letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid var(--accent); border-radius: 999px;
  background: var(--accent); color: var(--ink);
  font-weight: 800; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
  cursor: pointer; transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-hi); border-color: var(--accent-hi); box-shadow: 0 8px 22px rgba(242, 102, 27, .35); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 15px; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: #fff; box-shadow: none; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 25, 30, .92);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--line-dark); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { border-radius: 10px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: .01em; }
.logo__text small { font-size: 12px; color: var(--muted-dark); letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: #D9DEE3; padding: 6px 0; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav__phone { display: none; }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header__phone .icon { color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; position: relative; border-radius: 10px; }
.burger span, .burger span::before, .burger span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; content: ''; }
.burger span { top: 21px; }
.burger span::before { left: 0; top: -7px; }
.burger span::after { left: 0; top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Надзаголовки и секции ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 16px;
}
.eyebrow::before { content: ''; width: 28px; height: 3px; border-radius: 2px; background: var(--accent); }
.eyebrow--light { color: var(--accent-hi); }

.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #fff; }
.section--dark .section__sub { color: var(--muted-dark); }
.section__head { max-width: 780px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__sub { margin-top: 18px; font-size: 18px; color: var(--muted); max-width: 680px; }

.footnote { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* ---------- Главный экран ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 30%, rgba(242, 102, 27, .22), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(127, 176, 203, .12), transparent 60%),
    var(--ink);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
}
.hero::after {
  /* дорожная разметка */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .14) 0 60px, transparent 60px 110px);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero__title { display: flex; flex-direction: column; gap: 16px; }
.hero__model { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 4.6vw, 58px); line-height: 1.05; letter-spacing: -.02em; }
.hero__kind { font-family: var(--font-body); font-weight: 600; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.35; color: #FFD2B8; max-width: 560px; }
.hero__lead { margin-top: 22px; font-size: 18px; color: #C9D0D7; max-width: 560px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__note { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 15px; color: var(--muted-dark); }
.hero__note .icon { color: var(--accent-hi); }
.hero__visual { position: relative; }
.hero__visual::before {
  content: ''; position: absolute; left: 4%; right: 0; bottom: 6%; height: 34%;
  background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, 0));
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}
.hero__visual img { position: relative; width: 100%; }
.hero__visual img.is-photo { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: clamp(36px, 5vw, 56px); background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stats li { background: var(--ink-2); padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.stats b { font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: var(--accent-hi); line-height: 1.1; }
.stats span { font-size: 15px; color: #C9D0D7; line-height: 1.4; }

/* ---------- Сетки и карточки ---------- */
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #FFE7D8; color: var(--accent-ink); margin-bottom: 20px; }
.card__icon .icon { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* ---------- Модели ---------- */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.model { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.model--flagship { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.model__media { position: relative; padding: 48px 28px 12px; background: linear-gradient(180deg, #F7F5F0, #ECE8E0); border-bottom: 1px solid var(--line); min-height: 280px; display: grid; place-items: end center; }
.model--flagship .model__media { background: linear-gradient(180deg, #232A33, var(--ink)); border-bottom-color: var(--ink); }
.model__media img { width: 100%; max-width: 440px; height: clamp(200px, 24vw, 320px); object-fit: contain; object-position: center bottom; }
.model__media img.is-photo { max-width: none; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-sm); }
.tag { position: absolute; top: 18px; left: 20px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: #fff; border: 1px solid var(--line); color: var(--ink); }
.tag--accent { background: var(--accent); border-color: var(--accent); }
.model__body { padding: 28px; display: flex; flex-direction: column; gap: 20px; flex: 1; }
.model__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.4vw, 30px); }
.model__body > p { color: var(--muted); }
.model__fit { font-size: 15px; color: var(--muted); padding: 14px 16px; background: var(--paper); border-radius: var(--radius-sm); }
.model__fit b { color: var(--text); }
.model__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }

.kv { margin: 0; display: grid; }
.kv > div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.kv > div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); font-size: 15px; }
.kv dd { margin: 0; font-weight: 700; text-align: right; font-size: 15px; }
.kv--compact > div { padding: 8px 0; }
.kv--compact dt, .kv--compact dd { font-size: 14px; }

/* ---------- Как работает ---------- */
.how { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.how__scheme { position: sticky; top: calc(var(--header-h) + 24px); margin: 0; padding: 20px; border-radius: var(--radius); background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent), var(--ink-2); border: 1px solid var(--line-dark); }
.how__scheme img { width: 100%; }
.hotspot {
  position: absolute; transform: translate(-50%, -50%);
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font-weight: 800; font-size: 15px; cursor: pointer;
  box-shadow: 0 0 0 0 rgba(242, 102, 27, .6);
  animation: pulse 2.4s infinite;
  transition: background .2s, color .2s;
}
.hotspot:hover, .hotspot.is-active { background: var(--accent); animation: none; box-shadow: 0 0 0 6px rgba(242, 102, 27, .3); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(242, 102, 27, .55); } 70% { box-shadow: 0 0 0 14px rgba(242, 102, 27, 0); } 100% { box-shadow: 0 0 0 0 rgba(242, 102, 27, 0); } }

.steps { counter-reset: step; display: grid; gap: 8px; }
.steps li { counter-increment: step; position: relative; padding: 16px 18px 16px 70px; border-radius: var(--radius-sm); border: 1px solid transparent; transition: background .2s, border-color .2s; }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px;
  width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--accent); color: var(--accent-hi);
  font-weight: 800; font-size: 15px;
}
.steps li.is-active { background: var(--ink-2); border-color: var(--line-dark); }
.steps li.is-active::before { background: var(--accent); color: var(--ink); }
.steps h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted-dark); font-size: 16px; }

/* ---------- Преимущества ---------- */
.feature { padding: 26px 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.feature__icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 18px; stroke-width: 1.6; }
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

/* ---------- Сезоны ---------- */
.seasons { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.seasons__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.seasons__tabs button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 12px; border: 0; border-right: 1px solid var(--line); background: transparent;
  font-weight: 800; font-size: 16px; cursor: pointer; color: var(--muted);
  position: relative; transition: color .2s, background .2s;
}
.seasons__tabs button:last-child { border-right: 0; }
.seasons__tabs button::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transition: transform .25s; }
.seasons__tabs button:hover { color: var(--text); background: var(--paper); }
.seasons__tabs button[aria-selected="true"] { color: var(--text); }
.seasons__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.seasons__tabs .icon { color: var(--accent); }
.seasons__panel { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 4vw, 44px); }
.seasons__panel[hidden] { display: none; }
.seasons__panel h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(20px, 2vw, 26px); margin-bottom: 14px; }
.seasons__panel p { color: var(--muted); }

.checklist { display: grid; gap: 10px; align-content: start; }
.checklist li { position: relative; padding-left: 32px; font-weight: 600; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315191E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.checklist--light li { color: #E6EAEE; font-weight: 500; }

/* ---------- Навесное ---------- */
.attach { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.attach__head { display: flex; align-items: center; gap: 14px; }
.attach__head .icon { width: 44px; height: 44px; padding: 9px; border-radius: 12px; background: var(--ink); color: var(--accent-hi); stroke-width: 1.7; }
.attach p { color: var(--muted); font-size: 15px; }
.attach .kv { margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

/* ---------- Таблица ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); -webkit-overflow-scrolling: touch; }
.specs { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 16px; table-layout: fixed; }
.specs__c1 { width: 36%; }
.specs th, .specs td { padding: 14px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.specs thead th { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 15px; letter-spacing: .02em; position: sticky; top: 0; }
.specs tbody th { font-weight: 600; color: var(--muted); }
.specs td { font-weight: 700; }
.specs td.na { color: #9A9FA6; font-weight: 500; font-style: italic; }
.specs__group th { background: var(--paper); color: var(--accent-ink) !important; font-size: 13px; font-weight: 800 !important; text-transform: uppercase; letter-spacing: .1em; padding-top: 12px; padding-bottom: 12px; }
.specs tbody tr:last-child th, .specs tbody tr:last-child td { border-bottom: 0; }
.specs tbody tr:not(.specs__group):hover { background: #FBFAF7; }
.specs__cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.specs__cta p { font-weight: 700; font-size: 18px; max-width: 560px; }

/* ---------- Покупка ---------- */
.perk { display: flex; gap: 18px; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.perk > .icon { width: 30px; height: 30px; color: var(--accent); margin-top: 2px; stroke-width: 1.7; }
.perk h3 { font-size: 18px; margin-bottom: 8px; }
.perk p { color: var(--muted); font-size: 15px; }

.flow { counter-reset: flow; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
.flow li { counter-increment: flow; position: relative; padding: 22px 20px 20px; border-radius: var(--radius-sm); background: var(--ink); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.flow li::before { content: '0' counter(flow); font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--accent-hi); margin-bottom: 8px; }
.flow li:not(:last-child)::after { content: ''; position: absolute; right: -9px; top: 50%; width: 6px; height: 6px; border-top: 2px solid var(--accent); border-right: 2px solid var(--accent); transform: translateY(-50%) rotate(45deg); z-index: 1; }
.flow b { font-size: 17px; }
.flow span { font-size: 14px; color: var(--muted-dark); line-height: 1.4; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--paper); color: var(--accent-ink); transition: transform .25s, background .2s; }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--accent); color: var(--ink); }
.faq details p { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Заявка и формы ---------- */
.order { background: radial-gradient(700px 420px at 90% 10%, rgba(242, 102, 27, .18), transparent 60%), var(--ink); }
.order__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.order__text > p:not(.eyebrow) { color: var(--muted-dark); margin: 18px 0 20px; font-size: 18px; }
.order__contacts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.order__contacts a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.order__contacts .icon { color: var(--accent-hi); }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); background: var(--card); color: var(--text); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 14px; font-weight: 700; color: var(--muted); }
.field i { color: var(--accent-ink); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #FCFBF8;
  font-size: 16px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background: #FCFBF8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A626D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(242, 102, 27, .15); }
.field.is-invalid input { border-color: var(--err); box-shadow: 0 0 0 4px rgba(208, 52, 44, .12); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; flex: none; accent-color: var(--accent); }
.consent.is-invalid { color: var(--err); }
.consent a { color: var(--accent-ink); }
.form__status { font-size: 15px; font-weight: 700; min-height: 1.2em; }
.form__status:empty { display: none; }
.form__status.is-ok { color: var(--ok); }
.form__status.is-err { color: var(--err); }

/* ---------- Модальное окно ---------- */
.modal { width: min(480px, calc(100% - 32px)); padding: 0; border: 0; border-radius: var(--radius); background: transparent; color: var(--text); overflow: visible; }
.modal::backdrop { background: rgba(10, 12, 15, .66); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal[open] { animation: pop .25s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.form--modal { position: relative; }
.form--modal h2 { font-size: clamp(20px, 2.4vw, 24px); padding-right: 40px; }
.modal__sub { color: var(--muted); font-size: 15px; margin-top: -6px; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); cursor: pointer; }
.modal__close:hover { background: var(--paper-2); }

/* ---------- Подвал ---------- */
.footer { background: #0F1216; color: #C9D0D7; padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.logo--light { color: #fff; }
.footer__about { margin-top: 16px; font-size: 15px; max-width: 380px; color: var(--muted-dark); }
.footer__title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 16px; }
.footer__list { display: grid; gap: 10px; font-size: 15px; }
.footer__list li { display: flex; gap: 10px; align-items: center; }
.footer__list .icon { color: var(--accent-hi); }
.footer__list a { text-decoration: none; }
.footer__list a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { position: relative; margin-top: 40px; padding-top: 24px; display: grid; gap: 8px; font-size: 13px; color: #8A939D; }
.footer__bottom::before { content: ''; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line-dark); }
.footer__bottom a { color: #C9D0D7; }

/* ---------- Мобильная панель ---------- */
.mobilebar { display: none; }

/* ---------- Появление при прокрутке ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hotspot { animation: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1140px) {
  .nav { gap: 16px; }
  .nav a { font-size: 14px; }
  .header__phone span { display: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  /* backdrop-filter создаёт контейнер для fixed-потомков — отключаем, чтобы меню было на весь экран */
  .header { background: var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; gap: 0; margin: 0; padding: 12px var(--gutter) 32px;
    background: var(--ink); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform .3s ease, visibility .3s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { font-size: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav__phone { display: block; color: var(--accent-hi) !important; font-weight: 800; }
  .header__phone { display: none; }
  .header__actions { margin-left: auto; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 640px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .models { grid-template-columns: 1fr; }
  .how { grid-template-columns: 1fr; }
  .how__scheme { position: relative; top: auto; }
  .seasons__panel { grid-template-columns: 1fr; }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow li:not(:last-child)::after { display: none; }
  .order__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; padding-bottom: 76px; }
  .header .btn--sm { display: none; }
  .logo__text small { display: none; }
  .hero__cta .btn { width: 100%; }
  .hero__lead, .section__sub { font-size: 16px; }
  .stats li { padding: 18px 16px; }
  .stats span { font-size: 14px; }
  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .card, .feature, .attach, .perk { padding: 22px; }
  .model__media { padding: 44px 16px 8px; min-height: 0; }
  .model__body { padding: 22px; }
  .seasons__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .seasons__tabs button:nth-child(2) { border-right: 0; }
  .seasons__tabs button:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps li { padding-left: 62px; }
  .steps li::before { left: 12px; }
  .hotspot { width: 28px; height: 28px; font-size: 13px; }
  .flow { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .specs__cta { padding: 22px; }
  .specs__cta .btn { width: 100%; }
  .specs th, .specs td { padding: 12px 14px; font-size: 15px; }
  .footer__grid { grid-template-columns: 1fr; }
  .faq summary { padding: 18px; font-size: 16px; }
  .faq details p { padding: 0 18px 18px; }

  .mobilebar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(244, 242, 237, .96); border-top: 1px solid var(--line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mobilebar .btn { min-height: 50px; padding: 10px 14px; }
}
