/* Вариант A — «партнёрский прайс-лист»: светлая таблица парка, бирюзовый акцент. */

body.variant-a {
  background: #FFFFFF;
}

.page {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.4vw, 64px) 64px;
}

/* ---------- Шапка ---------- */
.head {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: space-between;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 2.6vw, 32px) 0 clamp(14px, 1.8vw, 20px);
  border-bottom: 2px solid var(--accent);
}

.brand {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2vw, 28px);
}

.brand-left { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: max-content; }
.brand-tariff {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 0 14px;
  border: none;
  border-radius: 12px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: default;
}
.brand-car { flex: 0 0 auto; }
.brand-car img { height: 88px; width: auto; display: block; }
.brand-word {
  height: 36px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}


.brand-word-wrap { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.head-desc {
  max-width: 560px;
  margin: 0 auto;
  font-family: var(--font-manrope);
  font-size: clamp(12px, 0.85vw, 13.5px);
  font-weight: 700;
  line-height: 1.35;
  color: #2C3A3D;
}
.head-center { text-align: center; min-width: 0; }
.head-title {
  font-family: var(--font-manrope);
  font-size: clamp(19px, 1.9vw, 29px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.head-sub {
  margin-top: 4px;
  font-family: var(--font-manrope);
  font-size: clamp(10.5px, 0.8vw, 12.5px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
}

.head-right { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); justify-self: end; }
.cta-split {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  width: clamp(170px, 15.5vw, 224px);
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 auto;
}
.cta-seg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
  border: none;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.cta-inner {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-manrope);
  font-weight: 800;
  line-height: 1;
}
.cta-seg--main { background: var(--cta); color: var(--ink); }
.cta-seg--main .cta-inner { font-size: clamp(15px, 1.2vw, 16.5px); letter-spacing: -0.02em; }
@media (hover: hover) and (pointer: fine) {
  .cta-seg--main:hover { background: var(--cta-hover); }
}
.cta-seg--phone { background: var(--mint); color: var(--ink); height: 40px; }
.cta-seg--phone .cta-inner { font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
@media (hover: hover) and (pointer: fine) {
  .cta-seg--phone:hover { background: #4EF2CE; }
}

/* ---------- Продукт ---------- */
.product { margin-top: clamp(20px, 2.4vw, 30px); }
.product-text {
  max-width: 1120px;
  margin-top: 5px;
  font-size: clamp(15px, 1.1vw, 16.5px);
  font-weight: 600;
  line-height: 1.35;
  color: #2C3A3D;
}
.product-hook {
  max-width: 900px;
  margin: 6px 0 0;
  font-family: var(--font-manrope);
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #00A38C;
}

/* ---------- Оффер ---------- */
.offer { padding-top: clamp(20px, 2.4vw, 32px); }
.offer-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.offer-title::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex: none; }
.offer-lead {
  margin-top: 5px;
  font-family: var(--font-manrope);
  font-size: clamp(20px, 1.95vw, 28px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #00A38C;
}
/* ---------- Парк ---------- */
.lots { margin-top: clamp(18px, 2.2vw, 30px); }

.lot-head,
.lot {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 112px 128px 150px 86px 112px;
  column-gap: 18px;
  align-items: center;
}
.lot-head {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.c-qty,
.c-free { font-size: 11.5px; line-height: 1.25; }
.c-price,
.c-pay,
.c-term,
.c-free { text-align: center; }
.lot-head > div { text-align: center; }

.lot {
  border-bottom: 1px solid var(--line);
  padding: 9px 0;
  min-height: 96px;
}
.lot-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 84px;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.lot-photo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(13, 23, 26, 0.14));
}
.lot-car { min-width: 0; }
.lot-name { font-size: 16px; font-weight: 700; line-height: 1.2; }
.lot-meta { margin-top: 3px; font-size: 13.5px; line-height: 1.3; color: var(--muted); }

.lot-qty { display: flex; justify-content: center; }
.qty-lbl { display: none; }
.qty {
  width: 46px;
  height: 30px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  background: #FFFFFF;
  padding: 0 4px;
}
@media (hover: hover) and (pointer: fine) {
  .qty:hover { border-color: rgba(11, 122, 103, 0.45); }
}
.qty:focus,
.qty:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 122, 103, 0.18);
}

.lot-facts { display: contents; }
.fact { display: flex; align-items: center; justify-content: center; }
.fact-l { display: none; }
.fact-v { font-variant-numeric: tabular-nums; white-space: nowrap; }
.fact--price .fact-v { font-size: 14.5px; font-weight: 600; justify-self: center; }
.fact--pay .fact-v { font-size: 19px; font-weight: 800; color: #008578; justify-self: end; }
.fact--term .fact-v { font-size: 14px; font-weight: 600; color: var(--muted); justify-self: center; }
.fact--free .fact-v { font-size: 14px; font-weight: 600; color: var(--ink); justify-self: center; }


/* ---------- Финансовая модель ---------- */
.finmodel, .values, .steps {
  margin-top: clamp(26px, 3vw, 40px);
  border-top: 1px solid var(--line);
  padding-top: clamp(18px, 2vw, 26px);
}
.block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-manrope);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 12px;
}
.block-title::before { content: ''; width: 24px; height: 2px; background: var(--accent); flex: none; }
.fin-hint { margin: 6px 0 14px; font-size: 14px; line-height: 1.3; color: var(--muted); }
.fm-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 14px;
}
.fm-out {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 16px 14px;
  min-width: 0;
}
.fm-label { font-size: 13.5px; font-weight: 600; color: var(--muted); }
.fm-value {
  font-family: var(--font-manrope);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* ---------- Ценности ---------- */
.values-groups { display: flex; flex-direction: column; gap: 26px; margin-top: 14px; }
.value-group { display: flex; flex-direction: column; gap: 10px; }
.value-group-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px 48px;
  margin-top: 0;
}
.value { display: flex; flex-direction: column; gap: 2px; }
.value-title { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.25; }
.value-text { font-size: 14px; line-height: 1.32; color: var(--muted); }
/* Мобильный: «1 043 авто» — с новой строки (26.11.2026) */
.value-num { display: inline; }
@media screen and (max-width: 720px) {
  .value-num { display: block; }
}

/* ---------- Как это работает ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}
.step-n {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex: none;
}
.step-t { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: #2C3A3D; }

/* ---------- Нижняя кнопка заявки ---------- */
.bottom-cta { margin-top: clamp(28px, 3.4vw, 46px); }
.bottom-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 64px;
  padding: 16px 24px;
  border: none;
  border-radius: 12px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-manrope);
  font-size: clamp(19px, 1.8vw, 25px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  cursor: pointer;
  transform: none;
}
.bottom-cta-btn span { display: inline-block; transform: none; }
@media (hover: hover) and (pointer: fine) {
  .bottom-cta-btn:hover { background: #4EF2CE; }
}
.bottom-cta-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Подвал и реквизиты ---------- */
.vfoot {
  margin-top: clamp(24px, 3vw, 40px);
  padding-top: 14px;
  border-top: 2px solid var(--accent);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px 32px;
  flex-wrap: wrap;
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--muted);
}
.vfoot-legal { display: flex; flex-direction: column; gap: 3px; max-width: 780px; }
.vfoot-copy { color: var(--ink); font-weight: 700; }
/* Копирайт: «бренд «Делимобиль»» и «тариф «Навсегда»» скрыты на мобильном (26.11.2026) */
.vfoot-brand, .vfoot-tariff { display: inline; }
@media screen and (max-width: 720px) {
  .vfoot-brand, .vfoot-tariff { display: none; }
}
.vfoot-req { font-size: 13.5px; }
/* Реквизиты: адрес — отдельной строкой на мобильном (26.11.2026) */
.vfoot-addr::before { content: " · "; }
@media screen and (max-width: 720px) {
  .vfoot-addr { display: block; }
  .vfoot-addr::before { content: none; }
}
.vfoot-note { font-size: 13px; color: var(--muted); }
.vfoot-contacts { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 14px; }
.vfoot-contacts a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) {
  .vfoot-contacts a:hover { color: var(--accent); }
}
@media (max-width: 720px) {
  .vfoot-contacts { align-items: flex-start; }
}

/* ---------- Планшет: таблица превращается в карточки ---------- */
@media (max-width: 1180px) {
  .head {
    grid-template-columns: auto auto;
    row-gap: 14px;
  }
  

  .lot-head { display: none; }
  .lot {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    grid-template-areas:
      'photo car qty'
      'photo facts facts';
    column-gap: 16px;
    row-gap: 10px;
    padding: 14px 0;
    min-height: 0;
  }
  .lot-photo {
    grid-area: photo;
    height: auto;
    align-self: stretch;
    min-height: 74px;
  }
  .lot-car { grid-area: car; align-self: center; }
  .lot-qty { grid-area: qty; align-self: start; flex-direction: column; align-items: flex-end; gap: 4px; }
  .qty-lbl { display: block; font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1; }
  .lot-facts {
    grid-area: facts;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    align-items: flex-start;
  }
  .fact { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; min-width: 0; }
  .fact-l { display: block; font-size: 12px; line-height: 1.2; color: var(--muted); }
  .fact--price .fact-v,
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 14px; justify-self: start; }
  .fact--pay .fact-v { font-size: 17px; justify-self: start; }

  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
  .fm-band { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
}

/* ---------- Телефон ---------- */
@media (max-width: 720px) {
  .page { padding-bottom: 48px; }
  .head { grid-template-columns: 1fr; row-gap: 12px; padding-top: 16px; }
  .brand { gap: 14px; }
  .brand-word { height: 26px; }
  .brand-left { gap: 8px; }
  .brand-tariff { height: 34px; padding: 0 10px; font-size: 14px; }
  .brand-car img { height: 64px; }
  .head-right {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    grid-row: auto;
    justify-self: stretch;
  }
  .cta-split { width: 100%; gap: 4px; }
  .cta-seg { padding: 11px 16px; }
  .cta-seg--main .cta-inner { font-size: 16px; }
  .cta-seg--phone .cta-inner { font-size: 12.5px; }

  .offer-lead { font-size: 23px; }

  .lot {
    grid-template-columns: 80px minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 8px;
  }
  .lot-photo { min-height: 64px; }
  .lot-name { font-size: 16px; }
  .lot-meta { font-size: 13px; }
  .lot-facts { gap: 8px 18px; }
  .fact--pay .fact-v { font-size: 16px; }
  .fm-band { gap: 10px; padding: 12px; }
  .fm-out { padding: 10px 12px 12px; }
  .fm-label { font-size: 12.5px; }
  .fm-value { font-size: 19px; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Тач-база (общая для всех размеров) ---------- */
html { -webkit-tap-highlight-color: transparent; }

.cta-seg,
.btn,
.bottom-cta-btn,
.cta-dock-btn,
.qty,
.modal-close {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.cta-seg--main:active { background: var(--cta-hover); }
.cta-seg--phone:active,
.btn:active,
.bottom-cta-btn:active,
.cta-dock-btn:active { background: #4EF2CE; }
.qty:active { border-color: var(--accent); }

/* ---------- Липкая кнопка заявки (только телефон) ---------- */
.cta-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 260;
  padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-right));
  background: #FFFFFF;
  border-top: 1px solid var(--line);
}
.cta-dock-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: none;
  border-radius: 12px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-manrope);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
}
.cta-dock-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- Телефон: не масштаб, а другой экран ---------- */
@media (max-width: 720px) {
  .page {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    padding-bottom: calc(96px + env(safe-area-inset-bottom));
  }

  /* Шапка: лого+чип в одну строку, CTA одной строкой */
  .head {
    grid-template-columns: 1fr;
    row-gap: 12px;
    align-items: stretch;
    padding: max(12px, env(safe-area-inset-top)) 0 14px;
  }
  .brand { width: 100%; }
  .brand-left {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }
  .brand-word { height: 28px; }
  .brand-tariff { width: auto; height: 38px; padding: 0 12px; font-size: 14px; }
  .head-right { gap: 10px; width: 100%; justify-self: stretch; }
  .cta-split { flex-direction: row; width: 100%; gap: 6px; }
  .cta-seg { height: 50px; }
  .cta-seg--main { flex: 1 1 auto; }
  .cta-seg--phone { flex: 0 0 auto; padding: 0 14px; }
  .cta-seg--main .cta-inner { font-size: 16px; }
  .cta-seg--phone .cta-inner { font-size: 13.5px; }

  /* Текст */
  .product { margin-top: 22px; }
  .product-text { font-size: 16px; line-height: 1.45; }
  .offer { padding-top: 22px; }
  .offer-title { font-size: 13.5px; gap: 10px; }
  .offer-lead { font-size: 25px; line-height: 1.1; margin-top: 4px; }
  .block-title { font-size: 13px; gap: 10px; margin-bottom: 10px; }
  .fin-hint { font-size: 14.5px; line-height: 1.4; margin: 4px 0 12px; }

  /* Парк: карточка вместо строки таблицы */
  .lots { margin-top: 20px; }
  .lot {
    grid-template-columns: 88px minmax(0, 1fr) auto;
    column-gap: 12px;
    row-gap: 10px;
    padding: 15px 0;
  }
  .lot-photo { min-height: 72px; }
  .lot-name { font-size: 17px; }
  .lot-meta { font-size: 14px; line-height: 1.35; }
  .qty { width: 52px; height: 44px; font-size: 17px; border-radius: 9px; }
  .qty-lbl { font-size: 12px; }
  .lot-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; }
  .fact { align-items: flex-start; }
  .fact-l { font-size: 12px; }
  .fact--price .fact-v { font-size: 15px; }
  .fact--pay .fact-v { font-size: 18px; }
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 14.5px; }
  .fact--free { grid-column: 1 / -1; flex-direction: row; align-items: baseline; gap: 6px; }
  .fact--free .fact-l { font-size: 12.5px; }

  /* Финмодель */
  .fm-band { gap: 8px; padding: 10px; }
  .fm-out { padding: 10px 12px 12px; gap: 3px; }
  .fm-label { font-size: 13px; line-height: 1.25; }
  .fm-value { font-size: 19px; }

  /* Ценности, шаги, подвал */
  .values-groups { gap: 24px; margin-top: 12px; }
  .values-grid { grid-template-columns: 1fr; gap: 14px; }
  .value-group-title { font-size: 13px; }
  .value-title { font-size: 16px; }
  .value-text { font-size: 14.5px; line-height: 1.4; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; }
  .step-n { width: 40px; height: 40px; font-size: 15px; }
  .step-t { font-size: 14px; line-height: 1.35; }
  .vfoot { flex-direction: column; font-size: 13.5px; }
  .vfoot-contacts { align-items: flex-start; gap: 6px; }
  .vfoot-contacts a { font-size: 15px; }

  .cta-dock { display: block; }
  .bottom-cta { display: none; }

  /* Модалка */
  .modal-panel { padding: 24px 18px 20px; max-height: calc(100dvh - 24px); border-radius: 16px; }
  .modal-title { font-size: 22px; margin-bottom: 14px; }
  .field { margin-bottom: 10px; }
  .field input { font-size: 17px; }
  .btn-primary { min-height: 48px; font-size: 17px; }
}

@media (max-width: 359px) {
  .cta-split { flex-direction: column; }
  .cta-seg { height: 48px; }
}

/* ---------- Уведомление о cookie ---------- */
.cookie-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  width: min(920px, calc(100% - 32px));
  z-index: 270;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(13, 23, 26, 0.14);
}
.cookie-bar[hidden] { display: none; }
.cookie-text { margin: 0; font-size: 14.5px; line-height: 1.45; color: #2C3A3D; }
.cookie-text a { color: var(--accent); text-underline-offset: 2px; }
.cookie-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; margin-left: auto; }
.cookie-more { font-size: 14px; color: var(--muted); text-decoration: none; }
.cookie-accept {
  min-height: 44px;
  padding: 0 20px;
  border: none;
  border-radius: 10px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--font-manrope);
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}
.cookie-accept:active { background: #4EF2CE; }
@media (hover: hover) and (pointer: fine) {
  .cookie-more:hover { color: var(--accent); }
  .cookie-accept:hover { background: #4EF2CE; }
}

/* ---------- Согласие на обработку ПДн в форме ---------- */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 2px 0 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
  cursor: pointer;
}
.consent input { flex: 0 0 auto; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.consent a { color: var(--accent); text-underline-offset: 2px; }
.consent span { display: block; }

/* ---------- Ссылки на документы в подвале ---------- */
.vfoot-links { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 6px; font-size: 13.5px; }
.vfoot-links span { color: var(--line); }
.vfoot-links a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 122, 106, 0.3);
  touch-action: manipulation;
}
@media (hover: hover) and (pointer: fine) {
  .vfoot-links a:hover { border-bottom-color: var(--accent); }
}

@media (max-width: 720px) {
  .cookie-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    width: calc(100% - 24px);
    padding: 14px;
  }
  .cookie-text { font-size: 14px; }
  .cookie-actions { margin-left: 0; justify-content: space-between; gap: 10px; }
  .cookie-accept { flex: 1 1 auto; }
}

@media print {
  body.variant-a { background: #FFFFFF; }
  .cta-dock,
  .cookie-bar { display: none !important; }
  .page { max-width: none; padding: 10mm 12mm; }
  .lot-facts { display: contents; }
}

/* =====================================================================
   Мобильная версия v2 (26.11.2026) — только экран ≤720px.
   Десктоп и печать не затрагиваются. Решения — MOBILE.md.
   ===================================================================== */

/* Иконка телефона: на десктопе не показывается (там номер текстом) */
.cta-ico { display: none; }

/* Степпер количества «− [2] +»: общая база (на печати — обычное поле) */
.qty-step { display: contents; }
.qty-step-btn { display: none; }

/* Десктоп и планшет (721px+): кнопки − / + вокруг поля количества */
@media screen and (min-width: 721px) {
  .qty-step {
    display: inline-flex;
    align-items: center;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
  }
  .qty-step-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }
  @media (hover: hover) and (pointer: fine) {
    .qty-step-btn:hover:not(:disabled) { background: var(--accent-soft); color: var(--accent); }
  }
  .qty-step-btn:active:not(:disabled) { background: var(--accent-soft); }
  .qty-step-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
  .qty-step-btn:disabled { opacity: 0.32; cursor: default; }
  .qty-step .qty {
    width: 46px;
    height: 100%;
    padding: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .qty-step .qty:focus,
  .qty-step .qty:focus-visible { box-shadow: none; }
  .qty-step:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(11, 122, 103, 0.18);
  }
}

@media screen and (max-width: 720px) {
  /* ---------- 1. Шапка: одна строка, ~68px ---------- */
  .head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: max(10px, env(safe-area-inset-top)) 0 12px;
    border-bottom: 2px solid var(--accent);
  }
  .brand { flex: 0 1 auto; min-width: 0; gap: 0; }
  .brand-left { flex-direction: row; align-items: center; gap: 8px; width: auto; min-width: 0; }
  .brand-word { height: 24px; width: auto; max-width: 100%; }
  .brand-tariff { display: none; }
  .head-right { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; gap: 6px; width: auto; justify-self: auto; }
  .cta-split { flex-direction: row; align-items: center; width: auto; gap: 6px; }
  .cta-seg { height: 44px; padding: 0 13px; }
  .cta-seg--main { flex: 0 0 auto; }
  .cta-seg--main .cta-inner { font-size: 15px; white-space: nowrap; }
  /* Телефон на мобиле живёт в подвале и в модалке — в шапке не помещается без давки */
  .cta-seg--phone { display: none; }

  /* ---------- 2. Hero первым, настоящий H1 ---------- */
  main { display: flex; flex-direction: column; }
  main > .offer { order: -1; }

  .offer { margin-top: 16px; padding-top: 0; }
  .offer h1.offer-title {
    display: block;
    font-size: 28px;
    line-height: 1.06;
    letter-spacing: -0.025em;
    text-transform: none;
    color: var(--ink);
  }
  .offer h1.offer-title::before { display: none; }
  .offer-lead { margin-top: 8px; font-size: 22px; line-height: 1.12; color: #007A6A; }

  .product { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
  .product .offer-title { font-size: 13px; }
  .product-text { font-size: 16.5px; line-height: 1.45; color: #3D4A4D; }

  /* ---------- 3. Карточка авто: имя → платёж-герой → факты ---------- */
  .lots { margin-top: 18px; }
  .lot {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr) 132px;
    grid-template-areas:
      'car car qty'
      'photo facts facts';
    align-items: start;
    column-gap: 12px;
    row-gap: 8px;
    padding: 12px 0;
  }
  .lot-car { grid-area: car; align-self: center; }
  .lot-name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
  .lot-meta { margin-top: 2px; font-size: 13px; line-height: 1.35; color: var(--muted); }

  .lot-qty { grid-area: qty; align-items: flex-end; }
  .qty-lbl { display: none; }
  .qty {
    width: 44px;
    height: 44px;
    border-radius: 0;
    border: 0;
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    font-size: 17px;
    text-align: center;
    padding: 0;
    background: #FFFFFF;
  }
  .qty-step {
    display: inline-flex;
    align-items: center;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #FFFFFF;
  }
  .qty-step-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--font-manrope);
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    touch-action: manipulation;
    -webkit-user-select: none;
    user-select: none;
  }
  .qty-step-btn:active { background: var(--accent-soft); }

  .lot-photo { grid-area: photo; width: 84px; align-self: center; display: flex; align-items: center; }
  .lot-photo img { width: 100%; height: 58px; object-fit: contain; }

  .lot-facts {
    grid-area: facts;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    align-content: flex-start;
    gap: 2px 0;
    margin-top: 1px;
    font-size: 13.5px;
  }
  .fact { display: inline; }
  .fact-l { display: inline; font-size: 13px; line-height: 1.2; color: var(--muted); margin-right: 4px; }
  .fact--price .fact-l, .fact--term .fact-l { display: none; }
  .fact-v { font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; }
  .fact:not(:last-child)::after { content: '·'; margin: 0 7px; color: #A8B4B2; }

  .fact--pay { flex: 0 0 100%; order: -1; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; margin-bottom: 2px; }
  .fact--pay .fact-l { display: block; font-size: 13px; line-height: 1.2; color: var(--muted); white-space: nowrap; }
  .fact--pay .fact-v { white-space: nowrap; }
  .fact--pay .fact-v {
    display: block;
    font-family: var(--font-manrope);
    font-size: 21px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: #008578;
    white-space: nowrap;
  }
  .fact--pay::after { content: none; }
  .fact--free .fact-l { display: none; }
  .fact--free .fact-v::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    margin-right: 5px;
    vertical-align: 1px;
  }
  .fact--free .fact-v::after { content: ' свободно'; font-weight: 400; color: var(--muted); font-size: 13px; }

  /* ---------- 4. Финмодель: маржа месяца — герой ---------- */
  .finmodel { margin-top: 26px; padding-top: 18px; }
  .fin-hint { font-size: 14px; line-height: 1.35; margin: 6px 0 12px; }
  .fm-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      'hero hero'
      'count year'
      'term term';
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
  }
  .fm-out { padding: 10px 12px; border-radius: 10px; }
  .fm-out:nth-child(1) { grid-area: count; }
  .fm-out:nth-child(2) { grid-area: hero; border-color: var(--accent); }
  .fm-out:nth-child(3) { grid-area: year; }
  .fm-out:nth-child(4) { grid-area: term; }
  .fm-label { font-size: 13px; line-height: 1.25; }
  .fm-value { font-size: 18px; line-height: 1.1; }
  .fm-out:nth-child(2) .fm-label { font-size: 13.5px; }
  .fm-out:nth-child(2) .fm-value { font-size: 25px; line-height: 1.05; letter-spacing: -0.02em; }
  .fm-out:nth-child(2) .fm-value::after { content: ' / мес'; font-size: 13px; letter-spacing: 0; color: var(--muted); font-weight: 600; }

  #out-month.is-bump { animation: fm-bump 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
  @keyframes fm-bump {
    0% { transform: scale(0.965); opacity: 0.55; }
    100% { transform: none; opacity: 1; }
  }

  /* ---------- 5. Ценности: 2 колонки ---------- */
  .values { margin-top: 26px; padding-top: 18px; }
  .values-groups { gap: 22px; margin-top: 10px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
  .value-title { font-size: 15px; line-height: 1.25; }
  .value-text { font-size: 13.5px; line-height: 1.38; }
  .value--wide { grid-column: 1 / -1; }

  /* ---------- 6. Шаги: одна строка (26.11.2026) ---------- */
  .steps { margin-top: 26px; padding-top: 18px; }
  .steps-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
  .step { flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0; }
  .step-n { width: 30px; height: 30px; font-size: 13px; }
  .step:not(:last-child)::after { display: none; }
  .step-t { font-size: 11.5px; font-weight: 700; line-height: 1.25; color: var(--ink); }

  /* ---------- 7. Липкая сводка + CTA ---------- */
  .page { padding-bottom: calc(108px + env(safe-area-inset-bottom)); }
  .cta-dock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px max(14px, env(safe-area-inset-left)) calc(8px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-right));
    background: #FFFFFF;
    border-top: 1px solid var(--line);
  }
  .dock-sum { display: flex; flex-direction: column; gap: 1px; flex: 0 0 auto; line-height: 1.15; }
  .dock-sum-top { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
  .dock-sum-top b { font-family: var(--font-manrope); font-size: 15px; font-weight: 800; color: var(--ink); }
  .dock-sum-pay { font-size: 13px; color: var(--muted); white-space: nowrap; }
  .dock-sum-pay b { font-family: var(--font-manrope); font-size: 16px; font-weight: 800; color: var(--accent); letter-spacing: -0.01em; }
  .cta-dock-btn { flex: 1 1 auto; min-height: 48px; padding: 0 16px; font-size: 16px; }
  body.cookie-open .cta-dock { display: none; }

  /* ---------- 8. Cookie: компактный бар, не стопкой с dock ---------- */
  .cookie-bar {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 24px rgba(13, 23, 26, 0.12);
  }
  .cookie-text { flex: 1 1 auto; font-size: 13px; line-height: 1.35; }
  .cookie-actions { margin: 0; flex: 0 0 auto; }
  .cookie-more { display: none; }
  .cookie-accept { min-width: 104px; min-height: 44px; padding: 0 14px; font-size: 14px; }

  /* ---------- 8b. Модалка: bottom sheet на телефоне ---------- */
  .modal { align-items: flex-end; }
  .modal-panel {
    width: 100%;
    max-width: 100vw;
    padding: 20px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 16px 16px 0 0;
    max-height: calc(100dvh - 16px);
  }
  .modal-close { width: 44px; height: 44px; }
  .modal-title { font-size: 21px; }
  .field label { font-size: 14px; font-weight: 700; }
  .field input { font-size: 17px; min-height: 48px; }
  .consent input { width: 22px; height: 22px; }
  .btn-primary { min-height: 52px; font-size: 17px; }

  /* ---------- 9. Подвал: тач-зоны ---------- */
  .vfoot { margin-top: 26px; }
  .vfoot-links a { display: inline-block; padding: 6px 0; }
  .vfoot-contacts a { display: inline-block; padding: 4px 0; }
}

@media screen and (max-width: 359px) {
  .values-grid { grid-template-columns: 1fr; }
  .offer h1.offer-title { font-size: 25px; }
  .offer-lead { font-size: 20px; }
  .lot { grid-template-columns: 76px minmax(0, 1fr) 116px; column-gap: 10px; }
  .lot-photo { width: 76px; }
  .lot-photo img { height: 58px; }
  .fact--pay .fact-v { font-size: 19px; }
  .qty-step-btn { width: 36px; }
  .qty { width: 40px; }
  .fm-value { font-size: 14px; }
  .fm-label { font-size: 13px; }
  .fm-out:nth-child(2) .fm-value { font-size: 21px; }
}

/* =====================================================================
   Шапка v3 (26.11.2026): оффер «Парк под управлением партнёра» — в центре
   шапки. Бейджи-сегменты убраны; логотип слева, CTA справа.
   ===================================================================== */

.head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: 'brand offer actions';
  align-items: center;
  column-gap: clamp(20px, 2.6vw, 44px);
}
.brand { grid-area: brand; }
.head-right { grid-area: actions; }

.head-offer {
  grid-area: offer;
  justify-self: center;
  min-width: 0;
  max-width: 640px;
  margin: 0;
  padding: 0;
  text-align: center;
}
.head-offer .offer-title {
  display: block;
  font-family: var(--font-manrope);
  font-size: clamp(23px, 1.85vw, 27px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  text-transform: none;
  color: var(--ink);
}
.head-offer .offer-title::before { display: none; }
.head-offer .offer-lead {
  margin-top: 8px;
  text-wrap: balance;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: #00A38C;
}

/* Планшет: логотип + CTA в строку, оффер — второй строкой во всю ширину */
@media (max-width: 1180px) {
  .head {
    grid-template-columns: auto auto;
    grid-template-areas:
      'brand actions'
      'offer offer';
    align-items: start;
    row-gap: clamp(14px, 2vw, 20px);
  }
  .head-offer {
    justify-self: start;
    max-width: 720px;
    text-align: left;
  }
  .head-offer .offer-title { font-size: clamp(23px, 2.4vw, 26px); }
  .head-offer .offer-lead { font-size: 19px; color: #00A38C; }
}

/* Телефон: логотип и CTA в строку, оффер — крупным блоком под ними */
@media screen and (max-width: 720px) {
  .head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .brand { order: 1; flex: 0 0 auto; width: auto; }
  .head-right { order: 2; }
  .head-offer {
    order: 3;
    flex: 1 0 100%;
    max-width: none;
    margin: 4px 0 0;
    text-align: left;
  }
  .head-offer h1.offer-title {
    font-size: 26px;
    line-height: 1.08;
    letter-spacing: -0.02em;
  }
  .head-offer .offer-lead { margin-top: 6px; font-size: 19px; font-weight: 700; line-height: 1.25; color: #00A38C; }
}

@media screen and (max-width: 359px) {
  .head-offer h1.offer-title { font-size: 23px; }
  .head-offer .offer-lead { font-size: 19px; }
}

/* ---------------------------------------------------------------------
   Названия блоков («Продукт для партнёра», «Как это работает» и т. п.)
   чуть плотнее: в шрифте есть только 700/800, поэтому добавляем
   минимальную обводку — вес почти не растёт, размер и сетка не меняются.
   --------------------------------------------------------------------- */
main .offer-title,
.block-title,
.csec-title {
  font-weight: 800;
  -webkit-text-stroke: 0.4px currentColor;
}

/* =====================================================================
   Ясность и доказательства (26.11.2026)
   Цифры парка, заголовок парка, ставка в финмодели, нижний CTA.
   ===================================================================== */

/* ---------- Полоса доказательств ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  margin-top: clamp(16px, 2vw, 24px);
  padding: 16px 20px;
  background: #F4FAF8;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.proof-item { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.proof-num {
  font-family: var(--font-manrope);
  font-size: clamp(21px, 1.9vw, 27px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.proof-lbl { font-size: 13.5px; font-weight: 600; line-height: 1.25; color: #2C3A3D; }

/* ---------- Заголовок парка ---------- */
.fleet-head { margin-bottom: 6px; }
.fleet-head .block-title { margin-bottom: 6px; }
.fleet-hint { margin: 0 0 14px; font-size: 14px; line-height: 1.35; color: var(--muted); max-width: 760px; }

/* ---------- Шаги: пять шагов ---------- */
.steps-row { grid-template-columns: repeat(5, minmax(0, 1fr)); }

/* ---------- Нижний CTA-блок ---------- */
.bottom-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 46px);
  padding: clamp(22px, 2.6vw, 32px) clamp(16px, 3vw, 40px);
  background: var(--accent-soft);
  border-radius: 16px;
}
.bottom-cta-title {
  margin: 0;
  font-family: var(--font-manrope);
  font-size: clamp(23px, 2.2vw, 31px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.bottom-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 22px;
  margin-top: 6px;
}
.bottom-cta .bottom-cta-btn { width: auto; min-width: 240px; }

/* ---------- Заметка без JS ---------- */
.noscript-note {
  margin: 0 auto;
  max-width: 720px;
  padding: 10px 16px;
  font-size: 14px;
  line-height: 1.35;
  color: #2C3A3D;
  background: var(--accent-soft);
  border-radius: 10px;
}

/* ---------- Адаптив новых блоков ---------- */
@media (max-width: 1180px) {
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; }
}
@media screen and (max-width: 720px) {
  .proof { gap: 12px 16px; padding: 14px 16px; }
  .proof-num { font-size: 23px; }
  .proof-lbl { font-size: 13px; }
  .fleet-head .block-title { margin-bottom: 4px; }
  .fleet-hint { font-size: 14px; line-height: 1.4; margin-bottom: 12px; }
  .bottom-cta { display: flex; gap: 8px; padding: 20px 16px; margin-top: 26px; }
  .bottom-cta-title { font-size: 23px; }
  .bottom-cta-actions { flex-direction: column; gap: 10px; width: 100%; }
  .bottom-cta .bottom-cta-btn { width: 100%; min-width: 0; min-height: 52px; font-size: 18px; }
}

/* Текст модалки и мелких элементов на десктопе — на шаг крупнее (26.11.2026) */
@media (min-width: 1181px) {
  .modal-title { font-size: 25px; }
  .field label { font-size: 13px; }
  .field input { font-size: 16px; }
  .field-error { font-size: 13px; }
  .btn-primary { font-size: 16px; }
  .form-success p { font-size: 16px; }
}



/* ---------------------------------------------------------------------
   Фон и шапка (26.11.2026): без картинки — лёгкая бирюзовая подложка,
   шапка закреплена сверху при прокрутке.
   --------------------------------------------------------------------- */
body.variant-a {
  background: #FAFDFC;
}

/* Шапка на всю ширину контента, компактнее по высоте (26.11.2026) */
.head {
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: none;
  margin: 0;
  padding-top: clamp(10px, 1.3vw, 14px);
  padding-bottom: clamp(8px, 1vw, 12px);
  background: #FAFDFC;
}
.brand-left { gap: 6px; }
.brand-tariff { height: 32px; font-size: 13.5px; }
.cta-split { gap: 4px; }
.cta-seg { height: 36px; }

/* На телефоне шапка высокая (лого + оффер) — не закрепляем, чтобы не съедала экран */
@media screen and (max-width: 720px) {
  .head { position: static; }
}
@media print {
  .head { position: static; }
}

/* Финмодель без верхней линии: последняя строка парка уже закрывает список */
.finmodel { border-top: 0; }

/* ---------------------------------------------------------------------
   Единый вертикальный ритм между блоками (26.11.2026): одинаковый
   отступ 40px на десктопе и 24px на телефоне, без лишних линий-разделителей.
   --------------------------------------------------------------------- */
.product,
.proof,
.lots,
.finmodel,
.values,
.steps,
.bottom-cta {
  margin-top: 40px;
}
.finmodel,
.values,
.steps {
  padding-top: 0;
  border-top: 0;
}
@media screen and (max-width: 720px) {
  .product,
  .proof,
  .lots,
  .finmodel,
  .values,
  .steps,
  .bottom-cta {
    margin-top: 24px;
  }
}

/* ---------------------------------------------------------------------
   Мобильная шапка (26.11.2026): лого + «Тариф «Навсегда»» и
   «Стать партнёром» + телефон — всё видно, шрифты уменьшены.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .head {
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px 10px;
    padding-top: max(8px, env(safe-area-inset-top));
    padding-bottom: 10px;
  }
  /* слева — лого + тариф столбиком, как на десктопе */
  .brand { order: 1; flex: 0 0 auto; width: auto; }
  .brand-left {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: max-content;
  }
  .brand-word { height: 22px; }
  .brand-tariff {
    display: inline-flex;
    width: 100%;
    height: 30px;
    padding: 0 8px;
    font-size: 11.5px;
  }
  /* справа — CTA + телефон столбиком, как на десктопе */
  .head-right { order: 2; flex: 0 0 auto; width: auto; }
  .cta-split {
    flex-direction: column;
    align-items: stretch;
    width: auto;
    gap: 4px;
  }
  .cta-seg { height: 34px; padding: 0 10px; }
  .cta-seg--main { flex: 0 0 auto; }
  .cta-seg--main .cta-inner { font-size: 12px; }
  .cta-seg--phone { display: inline-flex; flex: 0 0 auto; }
  .cta-seg--phone .cta-inner { font-size: 11px; }
  .head-offer { order: 3; flex: 1 0 100%; }
}

/* ---------------------------------------------------------------------
   Мобильный блок «продукт партнёра»: два смысловых абзаца вместо
   принудительных переносов, спокойный ритм (26.11.2026).
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .product-hook {
    font-size: 17.5px;
    line-height: 1.3;
    margin-bottom: 10px;
  }
  .product-text {
    font-size: 15.5px;
    line-height: 1.5;
    color: #3D4A4D;
  }
  .product-text br { display: none; }
  .product-text-2 {
    display: block;
    margin-top: 8px;
  }
}

/* ---------------------------------------------------------------------
   Мобильная полоса цифр: число и подпись в одну строку, пары не рвутся
   на разные строки (26.11.2026).
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .proof { grid-template-columns: 1fr; gap: 10px; }
  .proof-item {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
    flex-wrap: nowrap;
  }
  .proof-num { flex: 0 0 auto; }
  .proof-lbl { white-space: nowrap; min-width: 0; }
}

/* ---------------------------------------------------------------------
   Мобильная карточка авто (26.11.2026): читаемая иерархия —
   название → платёж клиента → цена и срок → свободно + количество.
   Точки-разделители убраны, у каждого числа есть подпись.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .lot {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      'car car'
      'photo facts'
      'free qty';
    align-items: start;
    column-gap: 12px;
    row-gap: 8px;
    padding: 12px 0;
  }
  .lot-car { grid-area: car; align-self: start; min-width: 0; }
  .lot-name { font-size: 17px; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em; }
  .lot-meta { margin-top: 2px; font-size: 12.5px; line-height: 1.35; }

  .lot-photo { grid-area: photo; width: 72px; align-self: start; margin-top: 2px; }
  .lot-photo img { width: 100%; height: 50px; object-fit: contain; }

  .lot-facts {
    grid-area: facts;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 12px;
    min-width: 0;
  }
  .fact { display: inline-flex; align-items: baseline; gap: 5px; }
  .fact:not(:last-child)::after { content: none; }
  .fact-l { display: inline; font-size: 11.5px; line-height: 1.2; color: var(--muted); margin: 0; white-space: nowrap; }

  /* платёж клиента — единственный крупный показатель */
  .fact--pay { flex: 0 0 100%; flex-direction: column; align-items: flex-start; gap: 0; margin-bottom: 4px; }
  .fact--pay .fact-l { display: block; font-size: 11.5px; }
  .fact--pay .fact-v {
    font-family: var(--font-manrope);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    color: #008578;
  }
  .fact--price .fact-v { font-size: 13.5px; }
  .fact--term .fact-v { font-size: 13.5px; color: var(--ink); }

  /* свободно из всего — чип-бейдж */
  .fact--free {
    grid-area: free;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    justify-self: start;
    background: #E6F7F4;
    border-radius: 999px;
    padding: 5px 10px;
    white-space: nowrap;
  }
  .fact--free .fact-l { display: none; }
  .fact--free .fact-v { font-size: 12.5px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
  .fact--free .fact-v::before { content: none; }
  .fact--free .fact-v::after { content: none; }
  .fact--free::before { content: 'свободно'; font-size: 11.5px; color: #2C3A3D; }

  /* количество — своя строка справа */
  .lot-qty {
    grid-area: qty;
    justify-self: end;
    align-self: center;
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .qty-lbl {
    display: inline;
    font-size: 11.5px;
    color: var(--muted);
    white-space: nowrap;
  }
}

/* Мобильная карточка: подписи у цены и срока + компактная третья строка */
@media screen and (max-width: 720px) {
  .fact--price .fact-l,
  .fact--term .fact-l { display: inline; }
  .lot-facts { gap: 3px 14px; }
  .fact--free { align-self: center; }
  .lot { row-gap: 6px; }
  .lot-qty { align-self: center; }
}

/* Мобильная карточка: третья строка — бейдж «свободно» слева, количество справа */
@media screen and (max-width: 720px) {
  .lot {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      'car car car'
      'photo facts facts'
      'free free qty';
  }
  .fact--free { justify-self: start; }
  .lot-qty { justify-self: end; }
}
/* Узкие экраны: количество переносим на отдельную строку */
@media screen and (max-width: 360px) {
  .lot {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      'car car'
      'photo facts'
      'free free'
      'qty qty';
  }
  .lot-qty { justify-self: end; }
  .lot-photo { width: 64px; }
  .lot-photo img { height: 46px; }
}

/* Мобильная полоса цифр — четыре показателя в одну строку (26.11.2026) */
@media screen and (max-width: 720px) {
  .proof {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 8px;
    padding: 14px 12px;
  }
  .proof-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .proof-num { font-size: 17px; line-height: 1.15; }
  .proof-lbl { font-size: 10.5px; line-height: 1.2; white-space: nowrap; }
}
@media screen and (max-width: 360px) {
  .proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    padding: 12px;
  }
  .proof-num { font-size: 18px; }
  .proof-lbl { font-size: 11px; }
}

/* Подвал: ссылка на сайт ближе к телефону, «по диагонали» под ним (26.11.2026) */
@media (min-width: 721px) {
  .vfoot-contacts {
    align-items: flex-start;
    gap: 0;
  }
  .vfoot-contacts a { line-height: 1.3; }
}

/* ---------------------------------------------------------------------
   Мобильная модалка заявки: по центру экрана, лёгкая прозрачная подложка
   (26.11.2026). Раньше выезжала снизу как bottom sheet.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .modal {
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .modal-backdrop {
    background: rgba(13, 23, 26, 0.16);
    -webkit-backdrop-filter: blur(1.5px);
    backdrop-filter: blur(1.5px);
  }
  .modal-panel {
    width: 100%;
    max-width: 460px;
    max-height: calc(100dvh - 32px);
    border-radius: 18px;
    padding: 22px 18px 20px;
    overflow-y: auto;
  }
}

/* Модалка поверх cookie-бара и липкой кнопки */
.modal { z-index: 600; }

/* Пока открыта заявка — прячем cookie-бар и липкую кнопку */
body.modal-open .cookie-bar,
body.modal-open .cta-dock { display: none !important; }

/* Мобильный подвал: убираем липкую панель «18 авто / 109 548 ₽/мес + Заявка» */
@media screen and (max-width: 720px) {
  .cta-dock { display: none !important; }
  .page { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}

/* Подвал: delimobil.ru — у левого края, в строке ссылок */
@media (min-width: 721px) {
  .vfoot-contacts { align-items: flex-end; }
}

/* Подвал мобильный: delimobil.ru под телефоном, с малым отступом */
.vfoot-site-mobile { display: none; }
@media screen and (max-width: 720px) {
  .vfoot-site-desktop { display: none; }
  .vfoot-site-mobile { display: inline; }
  .vfoot-contacts { gap: 3px; }
  .vfoot-contacts a { line-height: 1.3; }
}

/* Перебиваем display у ссылки в строке документов на мобильном */
@media screen and (max-width: 720px) {
  .vfoot-links .vfoot-site-desktop { display: none; }
}

/* Мобильный подвал: убираем зазор между телефоном и delimobil.ru */
@media screen and (max-width: 720px) {
  .vfoot-contacts { gap: 0; }
  .vfoot-contacts a { line-height: 1.15; }
  .vfoot-site-mobile { margin-top: -2px; }
}

/* Мобильная финмодель: четыре показателя по два в ряд */
@media screen and (max-width: 720px) {
  .fm-band {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: none;
  }
  .fm-out:nth-child(1),
  .fm-out:nth-child(2),
  .fm-out:nth-child(3),
  .fm-out:nth-child(4) { grid-area: auto; }
  .fm-out:nth-child(2) .fm-value { font-size: 19px; line-height: 1.1; }
  .fm-out:nth-child(2) .fm-value::after { font-size: 11.5px; }
  .fm-value { font-size: 17px; }
}
@media screen and (max-width: 360px) {
  .fm-out:nth-child(2) .fm-value { font-size: 17px; }
  .fm-value { font-size: 15.5px; }
}

/* 320: герой-показатель чуть меньше, чтобы влезал в половину ряда */
@media screen and (max-width: 360px) {
  .fm-out:nth-child(2) .fm-value { font-size: 15.5px; }
  .fm-out:nth-child(2) .fm-value::after { font-size: 10.5px; }
}

/* ---------------------------------------------------------------------
   Шапка v4 (26.11.2026): оффер живёт в шапке — мобильная гармонизация.
   Строка 1: логотип + CTA с телефоном. Строка 2: заголовок и ставка.
   Шапку закрывает единственная акцентная линия: серую линию-дубль
   у первого блока контента убираем, ритм задаём отступами.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .head {
    row-gap: 14px;
    padding-bottom: 14px;
  }
  .head-offer { margin-top: 2px; }
  .head-offer h1.offer-title {
    font-size: clamp(23px, 6.6vw, 26px);
    line-height: 1.06;
  }
  .head-offer .offer-lead {
    margin-top: 6px;
    font-size: clamp(18.7px, 4.7vw, 19px);
    line-height: 1.3;
    font-weight: 700;
    text-wrap: balance;
  }
  .product {
    margin-top: 26px;
    padding-top: 0;
    border-top: 0;
  }
}

/* ---------------------------------------------------------------------
   Мобильная шапка v5 (26.11.2026): ровно как десктопная — одна строка
   из трёх частей (лого + «Тариф», оффер по центру, CTA + телефон),
   все размеры пропорционально уменьшены.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'brand offer actions';
    align-items: center;
    justify-content: normal;
    flex-wrap: nowrap;
    column-gap: 7px;
    row-gap: 0;
    padding: max(8px, env(safe-area-inset-top)) 0 12px;
    border-bottom: 2px solid var(--accent);
  }
  .brand { grid-area: brand; order: 0; flex: 0 0 auto; width: auto; }
  .brand-left { flex-direction: column; align-items: stretch; gap: 4px; width: max-content; }
  .brand-word { height: 18px; }
  .brand-tariff {
    display: inline-flex;
    width: 100%;
    height: 22px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 9.5px;
  }
  .head-offer {
    grid-area: offer;
    order: 0;
    flex: none;
    justify-self: center;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .head-offer h1.offer-title {
    font-size: 12.5px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-wrap: balance;
  }
  .head-offer .offer-lead {
    margin-top: 3px;
    font-size: 10.2px;
    line-height: 1.2;
    letter-spacing: 0;
    font-weight: 700;
    text-wrap: balance;
  }
  .head-right { grid-area: actions; order: 0; flex: 0 0 auto; justify-self: end; width: auto; }
  .cta-split { flex-direction: column; align-items: stretch; width: auto; gap: 3px; }
  .cta-seg { height: 25px; padding: 0 7px; }
  .cta-seg--main { flex: 0 0 auto; }
  .cta-seg--main .cta-inner { font-size: 10px; white-space: nowrap; }
  .cta-seg--phone { display: inline-flex; flex: 0 0 auto; height: 23px; }
  .cta-seg--phone .cta-inner { font-size: 9px; white-space: nowrap; }
}

/* Узкие телефоны (≤359): шапка остаётся строкой, но телефон-кнопка
   уходит (как в остальных мобильных блоках), оффер не ломает сетку. */
@media screen and (max-width: 359px) {
  .head { column-gap: 5px; }
  .brand-word { height: 16px; }
  .brand-tariff { height: 21px; padding: 0 5px; font-size: 9px; }
  .head-offer h1.offer-title { font-size: 11.5px; }
  .head-offer .offer-lead { font-size: 9.5px; }
  .cta-seg { height: 24px; padding: 0 6px; }
  .cta-seg--main .cta-inner { font-size: 9.5px; }
  .cta-seg--phone { display: none; }
}

/* ---------------------------------------------------------------------
   Мобильный блок «продукт» (26.11.2026): как в полной версии — хук и
   два предложения подряд (перенос <br> сохранён), размеры меньше.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .product { margin-top: 18px; padding-top: 0; border-top: 0; }
  .product-hook { font-size: 16px; line-height: 1.3; margin: 0; }
  .product-text { margin-top: 5px; font-size: 14.5px; line-height: 1.4; color: #2C3A3D; }
  .product-text br { display: inline; }
  .product-text-2 { display: inline; margin-top: 0; }
}

/* ---------------------------------------------------------------------
   Мобильный парк (27.11.2026): hero-карточка «Флагман парка» убрана, и
   каждая карточка авто собрана по её анатомии — фото сверху на светлом
   градиенте, ниже панель: название + количество → платёж клиента →
   цена / срок аренды / свободно. Одна карточка в строку, всё под фото
   сжато и структурировано, без растягивания по высоте.
   --------------------------------------------------------------------- */
/* Обёртка нижней части карточки: на десктопе «растворяется» в сетке
   табличной строки, на телефоне становится своей мини-сеткой */
.lot-info { display: contents; }

@media screen and (max-width: 720px) {
  .lot {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'photo'
      'car'
      'info';
    align-items: start;
    row-gap: 0;
    min-height: 0;
    margin: 0 0 12px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
  }
  .lot:last-child { margin-bottom: 0; }

  /* Низ карточки: платёж клиента слева + количество справа,
     под ними цена / срок аренды / свободно */
  .lot-info {
    grid-area: info;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-areas:
      'pay pay pay pay qty qty'
      'price price term term free free';
    column-gap: 6px;
    align-items: stretch;
  }

  /* Обёртка фактов «растворяется»: цена / платёж / срок / свободно
     становятся прямыми ячейками сетки .lot-info */
  .lot-facts { display: contents; }

  /* Фото — широкой полосой сверху, как у флагмана */
  .lot-photo {
    grid-area: photo;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: auto;
    height: 148px;
    margin: 0;
    padding: 12px 18px 0;
    background: radial-gradient(120% 92% at 50% 100%, #E4F1ED 0%, #F7FBFA 72%);
    overflow: hidden;
  }
  /* «Студийная» тень под колёсами */
  .lot-photo::after {
    content: '';
    position: absolute;
    left: 16%;
    right: 16%;
    bottom: 6px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(13, 23, 26, 0.18), rgba(13, 23, 26, 0) 72%);
    pointer-events: none;
  }
  .lot-photo img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    filter: drop-shadow(0 8px 14px rgba(13, 23, 26, 0.16));
  }

  /* Название слева, количество справа — одна строка, экономим высоту */
  .lot-car { grid-area: car; min-width: 0; padding: 11px 14px 0; }
  .lot-name { font-size: 19px; font-weight: 800; line-height: 1.15; letter-spacing: -0.015em; }
  .lot-meta { margin-top: 3px; font-size: 11.5px; line-height: 1.3; text-wrap: balance; }

  .lot-qty {
    grid-area: qty;
    align-self: center;
    justify-self: end;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 6px 14px 0 0;
  }
  /* Подпись нужна скринридеру, визуально её заменяет сам степпер */
  .qty-lbl {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .lot .qty-step { height: 40px; border-radius: 10px; }
  .lot .qty-step-btn { width: 38px; height: 40px; font-size: 19px; }
  .lot .qty { width: 40px; height: 40px; padding: 0; font-size: 16px; font-weight: 700; }

  /* Платёж клиента — единственный крупный показатель, как у флагмана */
  .fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1px;
    min-width: 0;
    margin: 0;
    white-space: normal;
  }
  .fact-l {
    display: block;
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    color: var(--muted);
    white-space: nowrap;
  }
  .fact-v { font-variant-numeric: tabular-nums; white-space: nowrap; }

  .fact--pay { grid-area: pay; padding: 6px 0 0 14px; }
  .fact--pay .fact-l { display: block; font-size: 11.5px; margin-bottom: 1px; white-space: normal; }
  .fact--pay .fact-v {
    display: block;
    font-family: var(--font-manrope);
    font-size: 25px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: #008578;
  }
  .fact--pay::after { content: none; }

  /* Три спецификации в один ряд: цена / срок / свободно */
  .fact--price { grid-area: price; padding: 9px 0 13px 14px; }
  .fact--term { grid-area: term; padding: 9px 0 13px; }
  /* подписи — сверху, значения — по одной линии внизу, даже если подпись переносится */
  .fact--price,
  .fact--term,
  .fact--free { justify-content: space-between; }
  .fact--free {
    grid-area: free;
    justify-self: stretch;
    padding: 9px 14px 13px 0;
    background: none;
    border-radius: 0;
    white-space: normal;
  }
  .fact--free::before { content: none; }
  .fact--free .fact-l { display: block; font-size: 11px; white-space: normal; }
  .fact--free .fact-v { font-size: 14px; font-weight: 700; color: var(--ink); }
  .fact--price .fact-v,
  .fact--term .fact-v { font-size: 14px; font-weight: 700; color: var(--ink); justify-self: start; }
}

/* Узкие телефоны (≤360): подписи и цифры спецификаций чуть компактнее,
   чтобы «цена» и «срок» не сталкивались в трёх колонках. */
@media screen and (max-width: 360px) {
  .lot-name { font-size: 18px; }
  .lot-info { column-gap: 4px; }
  .fact--price { padding-left: 12px; }
  .fact--free { padding-right: 12px; }
  .fact--price .fact-v,
  .fact--term .fact-v { font-size: 12.5px; }
}

/* ---------------------------------------------------------------------
   Мобильная шапка (27.11.2026): логотип и CTA — в первой строке, оффер —
   крупным шрифтом во вторую. Перенос «основного долга» — на своей строке.
   --------------------------------------------------------------------- */
/* Перенос строки, который живёт только на телефоне */
.m-br { display: none; }

@media screen and (max-width: 720px) {
  .head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      'brand . actions'
      'offer offer offer';
    align-items: start;
    column-gap: 8px;
    row-gap: 12px;
    padding: max(10px, env(safe-area-inset-top)) 0 14px;
  }
  .brand { grid-area: brand; }
  .brand-left { flex-direction: column; align-items: stretch; gap: 4px; width: max-content; }
  .brand-word { height: 22px; width: auto; }
  .brand-tariff {
    display: inline-flex;
    width: 100%;
    height: 26px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 11px;
  }
  .head-right { grid-area: actions; justify-self: end; }
  .cta-split { flex-direction: column; align-items: stretch; gap: 4px; }
  .cta-seg { height: 30px; padding: 0 10px; }
  .cta-seg--main .cta-inner { font-size: 12px; }
  .cta-seg--phone { height: 26px; }
  .cta-seg--phone .cta-inner { font-size: 10.5px; }

  .head-offer {
    grid-area: offer;
    justify-self: stretch;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: left;
  }
  .head-offer h1.offer-title {
    display: block;
    font-size: 21px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--ink);
  }
  .head-offer h1.offer-title::before { display: none; }
  .head-offer .offer-lead {
    margin-top: 6px;
    font-size: 16px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0;
    color: #007A6A;
  }

  /* Показать мобильные переносы (на десктопе они скрыты) */
  .m-br,
  .product-hook .m-br,
  .product-text .m-br,
  .product-text-2 .m-br,
  .head-offer .m-br { display: inline; }
}

/* ---------------------------------------------------------------------
   Мобильный парк в две карточки на строку (27.11.2026): карточка
   сужается до половины экрана, поэтому фото ниже, а платёж, спеки
   (подпись слева / значение справа) и степпер идут друг под другом.
   Десктоп и планшет не затрагиваются.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .lots {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 10px;
  }
  .lots > .fleet-head { grid-column: 1 / -1; }

  .lot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    border-radius: 12px;
  }

  .lot-photo {
    height: 104px;
    padding: 8px 10px 0;
  }
  .lot-photo::after {
    left: 18%;
    right: 18%;
    bottom: 4px;
    height: 12px;
  }
  .lot-photo img { filter: drop-shadow(0 5px 9px rgba(13, 23, 26, 0.16)); }

  .lot-car { padding: 9px 10px 0; }
  .lot-name { font-size: 14.5px; line-height: 1.18; letter-spacing: -0.01em; }
  .lot-meta { margin-top: 2px; font-size: 10.5px; line-height: 1.28; text-wrap: balance; }

  .lot-info {
    margin-top: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'pay'
      'price'
      'term'
      'free'
      'qty';
    column-gap: 0;
    row-gap: 3px;
    padding: 7px 10px 10px;
  }

  .fact--pay { padding: 0 0 2px; }
  .fact--pay .fact-l { font-size: 10.5px; margin-bottom: 0; }
  .fact--pay .fact-v { font-size: 19px; line-height: 1.1; }

  /* Спеки компактными строками: подпись слева, значение справа */
  .fact--price,
  .fact--term,
  .fact--free {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px;
    padding: 0;
    min-width: 0;
  }
  .fact--price .fact-l,
  .fact--term .fact-l,
  .fact--free .fact-l { font-size: 10.5px; line-height: 1.25; white-space: nowrap; }
  .fact--price .fact-v,
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 12.5px; line-height: 1.25; }

  /* Количество — степпер на всю ширину карточки */
  .lot-qty {
    grid-area: qty;
    justify-self: stretch;
    align-self: stretch;
    padding: 6px 0 0;
  }
  .lot .qty-step {
    display: flex;
    width: 100%;
    height: 36px;
    border-radius: 9px;
  }
  .lot .qty-step-btn { flex: 0 0 34px; width: 34px; height: 36px; font-size: 18px; }
  .lot .qty { flex: 1 1 auto; width: auto; min-width: 0; height: 36px; font-size: 15px; }
}

/* Узкие телефоны: те же две карточки, но шрифты и фото на шаг меньше */
@media screen and (max-width: 360px) {
  .lots { gap: 8px; }
  .lot-photo { height: 92px; padding: 6px 8px 0; }
  .lot-car { padding: 8px 8px 0; }
  .lot-name { font-size: 13.5px; }
  .lot-meta { font-size: 10px; }
  .lot-info { padding: 6px 8px 8px; }
  .fact--pay .fact-v { font-size: 17.5px; }
  .fact--price .fact-l,
  .fact--term .fact-l,
  .fact--free .fact-l { font-size: 9.5px; }
  .fact--price .fact-v,
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 11.5px; }
  .lot .qty-step-btn { flex: 0 0 30px; width: 30px; }
}

/* Неразрывные смысловые куски (диапазон лет в мете карточки) */
.nw { white-space: nowrap; }

/* ---------------------------------------------------------------------
   Мобильная шапка v2 (27.11.2026): оффер — между логотипом слева и
   кнопкой «Стать партнёром» + телефоном справа, в одну строку.
   Шрифт оффера крупнее прежнего «в три колонки», но меньше, чем во
   второй строке, — иначе текст не помещается между лого и CTA.
   --------------------------------------------------------------------- */
@media screen and (max-width: 720px) {
  .head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'brand offer actions';
    align-items: center;
    column-gap: 8px;
    row-gap: 0;
    padding: max(10px, env(safe-area-inset-top)) 0 12px;
  }
  .brand { grid-area: brand; }
  .brand-left { flex-direction: column; align-items: stretch; gap: 3px; width: max-content; }
  .brand-word { height: 16px; width: auto; }
  .brand-tariff {
    display: inline-flex;
    width: 100%;
    height: 22px;
    padding: 0 6px;
    border-radius: 7px;
    font-size: 9.5px;
  }
  .head-right { grid-area: actions; justify-self: end; }
  .cta-split { flex-direction: column; align-items: stretch; gap: 3px; }
  .cta-seg { height: 26px; padding: 0 7px; }
  .cta-seg--main .cta-inner { font-size: 10px; }
  .cta-seg--phone { height: 23px; }
  .cta-seg--phone .cta-inner { font-size: 9px; }

  .head-offer {
    grid-area: offer;
    justify-self: center;
    max-width: none;
    margin: 0;
    padding: 0;
    text-align: center;
  }
  .head-offer h1.offer-title {
    display: block;
    font-size: 16px;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: none;
    color: var(--ink);
    text-wrap: balance;
  }
  .head-offer h1.offer-title::before { display: none; }
  .head-offer .offer-lead {
    margin-top: 4px;
    font-size: 11px;
    line-height: 1.24;
    font-weight: 700;
    letter-spacing: 0;
    color: #007A6A;
    text-wrap: normal;
  }
}

/* 320–360: центр ещё уже — шрифт оффера на шаг меньше, телефон уходит */
@media screen and (max-width: 360px) {
  .head { column-gap: 6px; }
  .brand-word { height: 14px; }
  .brand-tariff { height: 19px; padding: 0 5px; font-size: 8.5px; }
  .head-offer h1.offer-title { font-size: 14px; }
  .head-offer .offer-lead { font-size: 10px; }
  .cta-seg { height: 25px; padding: 0 6px; }
  .cta-seg--main .cta-inner { font-size: 9.5px; }
}

/* Совсем узкие экраны (≤340): оффер между лого и CTA ужимается,
   чип «Тариф» уходит — иначе центр рвётся на 5 строк */
@media screen and (max-width: 340px) {
  .head { column-gap: 5px; }
  .brand-tariff { display: none; }
  .brand-word { height: 13px; }
  .cta-seg--main { height: 23px; padding: 0 5px; }
  .cta-seg--main .cta-inner { font-size: 9px; }
  .head-offer h1.offer-title { font-size: 13px; }
  .head-offer .offer-lead { font-size: 9.5px; }
}


/* =====================================================================
   Мобильная версия v8 (27.11.2026) — читаемость без смены композиции.
   Шапка, цифры парка, финмодель и шаги — как в v6 (возвращены по просьбе).
   Здесь только то, что не меняет раскладку: размеры текста, тач-зоны,
   карточки парка, ценности, cookie-бар, модалка.
   Десктоп (≥721) и печать не затрагиваются.
   ===================================================================== */
@media screen and (max-width: 720px) {
  /* ---------- Тач-база ---------- */
  .qty { font-size: 16px; }                     /* < 16px — iOS зумит страницу при фокусе */
  .cta-seg, .cta-dock-btn, .cookie-accept,
  .bottom-cta-btn, .modal-close, .qty-step-btn {
    min-height: 44px;
  }

  /* ---------- Вступление ---------- */
  .product { margin-top: 20px; padding-top: 16px; }
  .product-hook { font-size: 18.5px; line-height: 1.3; margin-bottom: 10px; text-wrap: pretty; }
  .product-text { font-size: 15px; line-height: 1.55; text-wrap: pretty; }
  .product-text-2 { margin-top: 8px; }

  /* ---------- Заголовки блоков: настоящий размер, не eyebrow ---------- */
  main .block-title {
    font-size: 20px;
    letter-spacing: -0.01em;
    text-transform: none;
    color: var(--ink);
    gap: 10px;
    margin-bottom: 12px;
  }
  main .block-title::before { width: 18px; height: 3px; border-radius: 2px; }
  .value-group > .block-title {
    font-size: 13.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
  }
  .fleet-hint { font-size: 14.5px; line-height: 1.45; margin-bottom: 14px; text-wrap: pretty; }

  /* ---------- Парк: две карточки в ряд, читаемый текст ---------- */
  .lots {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
  }
  .lot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    background: #FFFFFF;
  }
  .lot-photo { height: 118px; padding: 10px 10px 0; }
  .lot-car { padding: 10px 12px 0; }
  .lot-name { font-size: 15.5px; line-height: 1.2; }
  .lot-meta { margin-top: 3px; font-size: 11.5px; line-height: 1.35; }
  .lot-info {
    margin-top: auto;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      'pay'
      'price'
      'term'
      'free'
      'qty';
    row-gap: 4px;
    padding: 8px 12px 12px;
  }
  .fact--pay { padding: 0; }
  .fact--pay .fact-l { font-size: 11.5px; line-height: 1.3; }
  .fact--pay .fact-v { font-size: 21px; line-height: 1.1; }
  .fact--price,
  .fact--term,
  .fact--free { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 6px; }
  .fact--price .fact-l,
  .fact--term .fact-l,
  .fact--free .fact-l { font-size: 11.5px; line-height: 1.3; white-space: normal; }
  .fact--price .fact-v,
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 13px; line-height: 1.3; }
  .lot-qty { justify-self: stretch; align-self: stretch; padding: 10px 0 0; }
  .lot .qty-step { display: flex; width: 100%; height: 44px; border-radius: 10px; }
  .lot .qty-step-btn { flex: 0 0 44px; width: 44px; height: 44px; font-size: 20px; }
  .lot .qty { flex: 1 1 auto; width: auto; min-width: 0; height: 44px; font-size: 16px; }

  /* ---------- Ценности ---------- */
  .values-groups { gap: 24px; margin-top: 12px; }
  .values-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
  .value-title { font-size: 15px; line-height: 1.3; }
  .value-text { font-size: 14px; line-height: 1.45; text-wrap: pretty; }

  /* ---------- Cookie: нижний бар во всю ширину ---------- */
  .cookie-bar {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -10px 30px rgba(13, 23, 26, 0.16);
  }
  .cookie-text { font-size: 13.5px; line-height: 1.45; }
  .cookie-actions { margin: 0; }
  .cookie-accept { flex: 1 1 auto; min-height: 44px; }

  /* ---------- Модалка: поля без зума ---------- */
  .field input { font-size: 16px; min-height: 48px; }
  .btn-primary { min-height: 52px; }

  /* ---------- Подвал: строки компактнее (по просьбе) ---------- */
  .vfoot-links { margin-top: 2px; }
  .vfoot-links a { padding: 3px 0; }
  .vfoot-contacts { gap: 0; }
  .vfoot-contacts a { padding: 2px 0; line-height: 1.25; }
  .vfoot-site-mobile { margin-top: 0; }
}

/* Мета карточки: desktop — точка-разделитель, телефон — две строки */
.meta-b::before { content: ' · '; }
@media screen and (max-width: 720px) {
  .meta-a, .meta-b { display: block; }
  .meta-b::before { content: none; }
}

/* Узкие телефоны (≤359): по одной карточке и одной колонке ценностей */
@media screen and (max-width: 359px) {
  .lots { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .lot-photo { height: 132px; }
  .values-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .lot-car,
  .lot-info { padding-left: 10px; padding-right: 10px; }
}

/* 360–380: карточке хватает поля без обрезки степпера */
@media screen and (min-width: 360px) and (max-width: 380px) {
  .lot-car,
  .lot-info { padding-left: 10px; padding-right: 10px; }
}

/* 561–720: три карточки в ряд */
@media screen and (min-width: 561px) and (max-width: 720px) {
  .lots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lot-photo { height: 128px; }
}

/* v8.1: все показатели парка — в одну линию (как на десктопе), с 360 px */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; padding: 14px; }
  .proof-item { flex-direction: column; align-items: flex-start; gap: 2px; }
  .proof-lbl { white-space: nowrap; }
}

/* v8.2: названия всех блоков на телефоне — как «Что получает клиент»
   (13.5 px uppercase, акцент, та же чёрточка). */
@media screen and (max-width: 720px) {
  main .block-title,
  .fleet-head .block-title,
  .value-group > .block-title {
    font-size: 13.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    gap: 10px;
    margin-bottom: 10px;
  }
}

/* v8.3: цифры парка чуть крупнее, но всё в одну строку */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof-num { font-size: 20px; line-height: 1.15; }
  .proof-lbl { font-size: 11.5px; line-height: 1.2; }
}

/* v8.4: цифры парка +1 шаг, подписи подогнаны под 4 колонки без переноса */
@media screen and (min-width: 381px) and (max-width: 720px) {
  .proof { gap: 6px; padding: 12px; }
  .proof-num { font-size: 20px; line-height: 1.15; }
  .proof-lbl { font-size: 11px; line-height: 1.2; }
}
@media screen and (min-width: 360px) and (max-width: 380px) {
  .proof { gap: 4px; padding: 10px; }
  .proof-num { font-size: 20px; line-height: 1.15; }
  .proof-lbl { font-size: 10px; line-height: 1.2; }
}

/* v8.5: чуть больше воздуха по бокам полосы цифр, чтобы подпись не липла */
@media screen and (min-width: 381px) and (max-width: 720px) {
  .proof { padding: 12px 10px; }
}

/* v8.6: под заголовком «Как это работает» — чуть больше воздуха до шагов */
@media screen and (max-width: 720px) {
  .steps .block-title { margin-bottom: 18px; }
}

/* v8.7: в шапке кнопки — компактные, как в v6, и по центру относительно лого.
   (Общее правило min-height:44px для .cta-seg сюда не применяем — шапка
   должна читаться одним рядом с логотипом, а не как два крупных блока.) */
@media screen and (max-width: 720px) {
  .head .cta-seg { min-height: 0; }
  .head .cta-split { align-items: stretch; }
  .head .head-right { display: flex; align-items: center; }
}

/* v9 (27.11.2026): шапка на телефоне закреплена целиком — оффер остаётся
   видимым при прокрутке. Блок кнопок справа по высоте равен логотипному
   блоку (лого + чип «Тариф»): лого не «меняется» в прокрутке. */
@media screen and (max-width: 720px) {
  .head {
    position: sticky;
    top: 0;
    z-index: 40;
    --brand-h: 41px;
  }
  .head .brand { min-height: var(--brand-h); }
  .head .cta-split {
    height: var(--brand-h);
    gap: 3px;
  }
  .head .cta-seg {
    flex: 1 1 0;
    height: auto;
    min-height: 0;
    padding: 0 10px;
  }
  .head .cta-seg--main .cta-inner { font-size: 10px; }
  .head .cta-seg--phone .cta-inner { font-size: 9px; }
}

/* 320–360: логотипный блок ниже (лого 14 + чип 19), кнопки — такой же высоты */
@media screen and (max-width: 360px) {
  .head { --brand-h: 36px; }
  .head .cta-seg--main .cta-inner { font-size: 9.5px; }
}

/* v9.1: кнопки не расширяются — ширина блока как у прежней шапки,
   чтобы оффер по центру не сжимался и шапка не росла. */
@media screen and (max-width: 720px) {
  .head .cta-seg { padding: 0 8px; }
  .head .cta-seg--main .cta-inner { font-size: 10px; }
  .head .cta-seg--phone .cta-inner { font-size: 9px; }
}
@media screen and (max-width: 360px) {
  .head .cta-seg { padding: 0 5px; }
  .head .cta-seg--main .cta-inner { font-size: 9.5px; }
  .head .cta-seg--phone .cta-inner { font-size: 8.5px; }
}

/* v9.2: в карточках авто на телефоне убираем фон-градиент и «студийную»
   тень; фото центрируем по горизонтали (без смещения влево). */
@media screen and (max-width: 720px) {
  .lot-photo {
    background: none;
    padding-left: 10px;
    padding-right: 10px;
    justify-content: center;
    align-items: center;
  }
  .lot-photo::after { content: none; }
  .lot-photo img {
    object-position: center;
    transform: translateX(3px);   /* оптическая компенсация: у авто тяжёлый перед слева */
  }
}

/* v9.3: «— это не потерянная сделка.» на телефоне — всегда с новой строки;
   в тексте продукта каждая мысль с новой строки (m-br принудительно). */
@media screen and (max-width: 720px) {
  .product-hook .hook-2 { display: block; }
  .product-text .m-br { display: inline; }
}

/* v9.4: единый шаг между ключевыми блоками на телефоне — 24 px
   (было: «Парк автомобилей» 16 px, финмодель/ценности/шаги 24, CTA 25, подвал 26). */
@media screen and (max-width: 720px) {
  main > section { margin-top: 24px; }
  .lots { margin-top: 24px; }
  .finmodel,
  .values,
  .steps { margin-top: 24px; }
  .bottom-cta { margin-top: 24px; }
  footer.vfoot { margin-top: 24px; }
}

/* v9.5: в шапке на телефоне ставка короче — без «основного долга» */
@media screen and (max-width: 720px) {
  .head-offer .lead-tail { display: none; }
}

/* v9.6: на телефоне вся типографика лендинга (кроме шапки) чуть меньше —
   примерно на 0.5–1.5 px, чтобы текст дышал и карточки не были «крупными».
   Шапка не затронута: её правила (offer-title/offer-lead/cta) не переопределяются. */
@media screen and (max-width: 720px) {
  .product-hook { font-size: 17.5px; }
  .product-text { font-size: 14.5px; }

  main .block-title,
  .fleet-head .block-title,
  .value-group > .block-title { font-size: 12.5px; }
  .fleet-hint { font-size: 13.5px; }

  .lot-name { font-size: 14.5px; }
  .lot-meta { font-size: 11px; }
  .fact--pay .fact-l { font-size: 11px; }
  .fact--pay .fact-v { font-size: 19.5px; }
  .fact--price .fact-l,
  .fact--term .fact-l,
  .fact--free .fact-l { font-size: 11px; }
  .fact--price .fact-v,
  .fact--term .fact-v,
  .fact--free .fact-v { font-size: 12.5px; }

  .proof-num { font-size: 19px; }
  .proof-lbl { font-size: 10.5px; }

  .fm-label { font-size: 12.5px; }
  .fm-value { font-size: 16.5px; }
  .fm-band > .fm-out:nth-child(2) .fm-value { font-size: 18px; }
  .fm-band > .fm-out:nth-child(2) .fm-value::after { font-size: 13px; }

  .value-title { font-size: 14px; }
  .value-text { font-size: 13.5px; }

  .step-t { font-size: 11px; }
  .step-n { font-size: 12.5px; }

  .bottom-cta-title { font-size: 21.5px; }
  .bottom-cta-btn { font-size: 17px; }

  .vfoot { font-size: 13px; }
  .vfoot-links { font-size: 13px; }
  .vfoot-contacts a { font-size: 14px; }

  .cookie-text { font-size: 13px; }
  .cookie-accept { font-size: 13.5px; }

  .modal-title { font-size: 20px; }
  .field label { font-size: 13.5px; }
  .consent span { font-size: 13.5px; }
  .btn-primary { font-size: 16.5px; }
  .form-success p { font-size: 14.5px; }
}

@media screen and (max-width: 360px) {
  .proof-lbl { font-size: 9.5px; }
  .lot-name { font-size: 15px; }
}

/* v9.6.1: кнопка нижнего CTA — перебиваем более специфичное правило */
@media screen and (max-width: 720px) {
  .bottom-cta .bottom-cta-btn { font-size: 17px; }
}

/* v9.7: кнопки в шапке — того же размера и скругления, что плашка
   «Тариф «Навсегда»» под логотипом: ширина = колонке лого, высота = 22 px,
   радиус 7 px у каждой кнопки (а не общий 12 px у контейнера). */
@media screen and (max-width: 720px) {
  .head { --cta-w: 108px; --cta-h: 22px; }
  .head .cta-split {
    width: var(--cta-w);
    border-radius: 0;
    overflow: visible;
    gap: 3px;
  }
  .head .cta-seg {
    flex: 0 0 auto;
    height: var(--cta-h);
    min-height: 0;
    padding: 0 6px;
    border-radius: 7px;
  }
  .head .cta-seg--main .cta-inner { font-size: 10px; }
  .head .cta-seg--phone .cta-inner { font-size: 9px; }
}

/* 340–360: плашка под лого 95×19 — кнопки ровно такие же */
@media screen and (max-width: 360px) {
  .head { --cta-w: 95px; --cta-h: 19px; }
  .head .cta-seg { padding: 0 4px; }
  .head .cta-seg--main .cta-inner { font-size: 9.5px; }
  .head .cta-seg--phone .cta-inner { font-size: 8.5px; }
}

/* ≤340: плашка «Тариф» скрыта — одна кнопка на всю высоту логотипного блока */
@media screen and (max-width: 340px) {
  .head .cta-split { width: auto; height: 36px; }
  .head .cta-seg { height: auto; flex: 1 1 0; padding: 0 8px; }
  .head .cta-seg--main .cta-inner { font-size: 9.5px; }
}

/* v9.7.1: высота блока кнопок — по содержимому (две кнопки по 22 + зазор 3),
   чтобы кнопки не выходили за контейнер с фиксированной высотой из v9. */
@media screen and (min-width: 341px) and (max-width: 720px) {
  .head .cta-split { height: auto; }
}

/* v9.8: в мобильной шапке телефон — сверху и без плашки, кнопка — снизу.
   Телефон остаётся ссылкой tel:, но выглядит как текст, а не кнопка. */
@media screen and (max-width: 720px) {
  .head .cta-split { flex-direction: column; }
  .head .cta-seg--phone {
    order: -1;
    height: auto;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--accent);
    justify-content: center;
  }
  .head .cta-seg--phone .cta-inner {
    font-weight: 700;
    letter-spacing: 0;
  }
  .head .cta-seg--phone:active,
  .head .cta-seg--phone:hover,
  .head .cta-seg--phone:focus-visible {
    background: transparent;
    color: var(--ink);
  }
  .head .cta-seg--main { order: 1; }
}

/* v9.8.1: у телефона-ссылки — тач-зона повыше (без плашки), чтобы было удобно нажать */
@media screen and (max-width: 720px) {
  .head .cta-seg--phone { padding: 3px 0; }
}

/* v9.9: цифры парка крупнее (как подпись под заголовком парка) и всё ещё
   в одну строку: полоса цифр растягивается на всю ширину экрана, зазоры узкие,
   подписи масштабируются через clamp, чтобы «в «Навсегда»» не переносилась. */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof {
    margin-left: -16px;
    margin-right: -16px;
    padding: 12px 8px;
    gap: 4px;
  }
  .proof-num { font-size: 22px; line-height: 1.1; }
  .proof-lbl { font-size: clamp(11px, 3.2vw, 12.5px); line-height: 1.2; }
}

/* На узких экранах полоса и так в две колонки — можно крупнее */
@media screen and (max-width: 359px) {
  .proof-num { font-size: 22px; }
  .proof-lbl { font-size: 13px; }
}

/* v9.9.1: чуть больше запаса под подписью «в «Наслегда»» на 360–400 px */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof-lbl { font-size: clamp(10.8px, 3.1vw, 12.2px); }
}

/* v9.9.2: полоса цифр — намеренно во всю ширину (как акцентная лента):
   скругления и боковые рамки убираем, чтобы край не читался обрезанным. */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof {
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    padding: 12px 14px;
  }
}

/* v9.9.3: чуть больше воздуха между показателями в ленте */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof { gap: 6px; padding: 12px 12px; }
  .proof-lbl { font-size: clamp(10.8px, 3.05vw, 11.9px); }
}

/* v9.9.4: чуть больше ширины под показатели — меньшие боковые отступы ленты */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof { padding: 12px 8px; }
}

/* v9.10: кнопка «Стать партнёром» — точно как плашка «Тариф» под лого:
   тот же кегль (9.5 px, на ≤360 — 8.5), тот же трекинг, высота и радиус.
   Раньше текст кнопки был на 0.5–1 px крупнее плашки, из-за чего она
   казалась больше. */
@media screen and (max-width: 720px) {
  .head .cta-seg--main .cta-inner {
    font-size: 9.5px;
    letter-spacing: -0.19px;
  }
}
@media screen and (max-width: 360px) {
  .head .cta-seg--main .cta-inner {
    font-size: 8.5px;
    letter-spacing: -0.17px;
  }
}

/* v9.11: ширина плашки «Тариф» и кнопки «Стать партнёром» — ровно одна
   величина (--cta-w), высота у обеих --cta-h. Логотип масштабируется под ту же
   ширину, чтобы столбцы лого и кнопок были пиксель в пиксель. */
@media screen and (min-width: 341px) and (max-width: 720px) {
  .head .brand { width: var(--cta-w); }
  .head .brand-left { width: var(--cta-w); }
  .head .brand-word { width: 100%; height: auto; }
  .head .brand-tariff { width: var(--cta-w); height: var(--cta-h); }
  .head .cta-split { width: var(--cta-w); }
  .head .cta-seg { height: var(--cta-h); }
}

/* v9.12: возвращаем полосе цифр нормальную карточку — фон и рамка снова
   внутри полей страницы (лента во всю ширину выглядела «уехавшей»).
   Крупные цифры сохраняем, подписи подгоняем под 4 колонки. */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof {
    margin-left: 0;
    margin-right: 0;
    padding: 14px 10px;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 12px;
  }
  .proof-num { font-size: 21px; line-height: 1.1; }
  .proof-lbl { font-size: clamp(10px, 2.85vw, 11.2px); }
}

/* v9.12.1: подписи в карточке цифр — безопасный кегль для одной строки;
   на планшетных ширинах (481+) можно крупнее. */
@media screen and (min-width: 360px) and (max-width: 720px) {
  .proof-lbl { font-size: clamp(10px, 2.75vw, 10.9px); }
}
@media screen and (min-width: 481px) and (max-width: 720px) {
  .proof-num { font-size: 22px; }
  .proof-lbl { font-size: 12px; }
}

/* v9.13: левый и правый блоки шапки — строго одинаковые по сетке:
   верхняя строка (лого ↔ телефон) 16 px, нижняя (плашка «Тариф» ↔ кнопка) 22 px,
   зазор 3 px. Блоки одной высоты, строки выровнены по верхнему/нижнему краю. */
@media screen and (min-width: 341px) and (max-width: 720px) {
  .head .brand-left { gap: 3px; }
  .head .brand-word { height: 16px; width: 100%; object-fit: contain; }
  .head .brand-tariff { height: var(--cta-h); }
  .head .cta-split { gap: 3px; height: auto; }
  .head .cta-seg--phone {
    height: 16px;
    min-height: 0;
    padding: 0;
    align-items: center;
  }
  .head .cta-seg--main { height: var(--cta-h); }
}

/* v9.14: кнопки шапки чуть крупнее (высота 24, кегль 10.2), H1 «Парк под
   управлением партнёра» чуть меньше (15), ставка — ровно как текст в кнопках. */
@media screen and (min-width: 361px) and (max-width: 720px) {
  .head { --cta-h: 24px; }
  .head .brand-tariff { font-size: 10.2px; }
  .head .cta-seg--main .cta-inner { font-size: 10.2px; }
  .head .cta-seg--phone .cta-inner { font-size: 9.5px; }
  .head .head-offer h1.offer-title { font-size: 15px; line-height: 1.12; }
  .head .head-offer .offer-lead { font-size: 10.2px; line-height: 1.28; }
}

@media screen and (max-width: 360px) {
  .head { --cta-h: 21px; }
  .head .brand-tariff { font-size: 9.2px; }
  .head .cta-seg--main .cta-inner { font-size: 9.2px; }
  .head .cta-seg--phone .cta-inner { font-size: 8.8px; }
  .head .head-offer h1.offer-title { font-size: 14px; }
  .head .head-offer .offer-lead { font-size: 9.2px; }
}

/* v9.15: текст в кнопках шапки ещё на шаг крупнее (10.2 → 11), кнопки
   шире под текст (108 → 114) и чуть выше (24 → 25); телефон 9.5 → 10. */
@media screen and (min-width: 361px) and (max-width: 720px) {
  .head { --cta-w: 114px; --cta-h: 25px; }
  .head .brand-tariff { width: var(--cta-w); padding: 0 5px; font-size: 11px; }
  .head .cta-seg--main { padding: 0 5px; }
  .head .cta-seg--main .cta-inner { font-size: 11px; letter-spacing: -0.2px; }
  .head .cta-seg--phone .cta-inner { font-size: 10px; }
}

@media screen and (max-width: 360px) {
  .head { --cta-w: 101px; --cta-h: 22px; }
  .head .brand-tariff { width: var(--cta-w); padding: 0 4px; font-size: 9.8px; }
  .head .cta-seg--main { padding: 0 4px; }
  .head .cta-seg--main .cta-inner { font-size: 9.8px; letter-spacing: -0.18px; }
  .head .cta-seg--phone .cta-inner { font-size: 9px; }
}

/* v9.16: ставка в шапке = кеглю кнопок (11 px), перенос «ежемесячно» — своей
   строкой; зазоры в шапке сузили, чтобы центр не рвался на три строки. */
@media screen and (min-width: 361px) and (max-width: 720px) {
  .head { column-gap: 4px; }
  .head .head-offer .offer-lead { font-size: 11px; line-height: 1.25; }
}
@media screen and (max-width: 360px) {
  .head { column-gap: 4px; }
  .head .head-offer .offer-lead { font-size: 9.8px; }
}

/* v9.17: чуть уже кнопки (112 вместо 114) — центру хватает места,
   ставка складывается в две ровные строки. */
@media screen and (min-width: 361px) and (max-width: 720px) {
  .head { --cta-w: 112px; }
}

/* v9.18: ставка остаётся 10.2 px — при 11 px строка «ежемесячно на остаток»
   не влезает между лого и кнопками и рвётся на три строки. */
@media screen and (min-width: 361px) and (max-width: 720px) {
  .head .head-offer .offer-lead { font-size: 10.2px; }
}

/* v9.19: на 320–340 шапка и так плотная — принудительный перенос ставки
   выключаем, кегль возвращаем к прежнему. */
@media screen and (max-width: 340px) {
  .head .head-offer .m-br { display: none; }
  .head .head-offer .offer-lead { font-size: 9.2px; }
  .head .head-offer h1.offer-title { font-size: 14px; }
}

/* v9.20: ставка в одну строку. В три колонки центр слишком узкий, поэтому
   на телефоне (≤500 px) оффер уходит во вторую строку шапки на всю ширину:
   сверху лого + телефон/кнопка, ниже H1 и ставка по центру. */
@media screen and (max-width: 720px) {
  .head .head-offer .m-br { display: none; }
}

@media screen and (max-width: 500px) {
  .head {
    grid-template-columns: auto auto;
    grid-template-areas:
      'brand actions'
      'offer offer';
    row-gap: 10px;
    align-items: center;
  }
  .head .brand { grid-area: brand; justify-self: start; }
  .head .head-right { grid-area: actions; justify-self: end; }
  .head .head-offer {
    grid-area: offer;
    justify-self: stretch;
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .head .head-offer .offer-lead { font-size: 10.2px; white-space: nowrap; }
}

@media screen and (max-width: 340px) {
  .head .head-offer .offer-lead { font-size: 9px; }
}

/* v9.21: ставка на телефоне — каплю крупнее (11 px, как кегль кнопок);
   на 320–340 — 9.8 px. Ширина шапки позволяет держать одну строку. */
@media screen and (max-width: 500px) {
  .head .head-offer .offer-lead { font-size: 11px; }
}
@media screen and (max-width: 340px) {
  .head .head-offer .offer-lead { font-size: 9.8px; }
}

/* v9.22: ставка в шапке крупнее на всей мобильной ширине. Чтобы 11 px
   держались одной строкой и на 501–720 px, шапка везде в две строки:
   сверху лого + телефон/кнопка, ниже H1 и ставка на всю ширину. */
@media screen and (max-width: 720px) {
  .head {
    grid-template-columns: auto auto;
    grid-template-areas:
      'brand actions'
      'offer offer';
    row-gap: 10px;
    align-items: center;
  }
  .head .brand { grid-area: brand; justify-self: start; }
  .head .head-right { grid-area: actions; justify-self: end; }
  .head .head-offer {
    grid-area: offer;
    justify-self: stretch;
    width: 100%;
    margin: 0;
    text-align: center;
  }
  .head .head-offer .offer-lead { font-size: 11px; white-space: nowrap; }
}

@media screen and (max-width: 340px) {
  .head .head-offer .offer-lead { font-size: 9.8px; }
}

/* v9.23: оффер снова в одну строку с лого и кнопками (как было) —
   двухстрочную шапку откатываем. Ставка при этом в две ровные строки:
   «от 4% до 7% годовых» / «ежемесячно на остаток». */
@media screen and (max-width: 720px) {
  .head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: 'brand offer actions';
    row-gap: 0;
    align-items: center;
  }
  .head .brand { grid-area: brand; justify-self: start; width: auto; }
  .head .head-right { grid-area: actions; justify-self: end; }
  .head .head-offer {
    grid-area: offer;
    justify-self: center;
    width: auto;
    margin: 0;
    text-align: center;
  }
  .head .head-offer .m-br { display: inline; }
  .head .head-offer .offer-lead { font-size: 10.2px; white-space: normal; line-height: 1.22; }
}

@media screen and (max-width: 360px) {
  .head .head-offer .offer-lead { font-size: 9.6px; }
}

@media screen and (max-width: 340px) {
  .head .head-offer .offer-lead { font-size: 9.2px; }
  .head .head-offer .m-br { display: none; }
}

/* v9.23.1: на 510–720 центр достаточно широкий — ставка в одну строку. */
@media screen and (min-width: 510px) and (max-width: 720px) {
  .head .head-offer .m-br { display: none; }
  .head .head-offer .offer-lead { font-size: 10.8px; }
}
