/* ============================================================
   HOME 2.0 — новый лендинг molecmag (12 блоков)
   Использует переменные style.css. Новые блоки — префикс .mm-
   ============================================================ */
.mm-section { padding: clamp(42px, 4.2vw, 53px) 0; }
.mm-section--tight { padding: clamp(42px, 4.2vw, 53px) 0; }
.mm-container { max-width: calc(var(--content-w) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.mm-h2 { font: 600 clamp(26px, 3vw, 40px)/1.12 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.4px; margin: 0 0 16px; }
.mm-lead { font-size: clamp(15px, 1.3vw, 17px); line-height: 1.6; color: var(--text-secondary); max-width: 880px; margin: 0 0 28px; }
.mm-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.mm-cta .btn { text-decoration: none; }
/* переиспользуемые кнопки (в стиле hero): бирюзовая пилюля + outline */
.mm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 54px; padding: 0 26px; border-radius: 100px; font: 500 15.5px 'Geologica', sans-serif; text-decoration: none; white-space: nowrap; transition: transform .16s, box-shadow .16s, background .16s, border-color .16s, color .16s; }
.mm-btn svg { display: block; flex: 0 0 auto; }
.mm-btn--primary { background: var(--teal); color: #fff; box-shadow: 0 10px 26px rgba(24,162,176,.26); }
.mm-btn--primary:hover { background: #1391a0; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(24,162,176,.34); }
/* вторичная кнопка — заливка без бордера (симметрична с primary), объём даёт мягкая тень */
.mm-btn--ghost { background: var(--bg-tertiary); color: var(--text-primary); border: none; box-shadow: var(--shadow-s); }
.mm-btn--ghost:hover { color: var(--teal); background: #fff; box-shadow: 0 8px 22px rgba(24,162,176,.16); transform: translateY(-2px); }

/* ============================================================
   ВИЗУАЛЬНЫЕ ГЛАВЫ — ритм поверхностей
   Фон страницы по умолчанию — прохладно-серый (--bg-primary-bg).
   Главы «белые» и «mint» переопределяют фон секции; на тонированных
   главах контент лежит на белых плитах (.mm-plate) — это и читается
   как смена главы, помимо самого оттенка фона.
   ============================================================ */
.mm-chapter--white { background: #fff; }
/* mint мягко втекает из серой главы сверху и растворяется в белую снизу —
   без резких полос (соседи сверху всегда серые, снизу — белые) */
.mm-chapter--mint {
  background: linear-gradient(180deg,
    var(--bg-primary-bg) 0%, #ecf8f6 9%, #ecf8f6 90%, #fff 100%);
}

/* белая плита, плавающая на сером/mint — приподнята мягкой тенью */
.mm-plate {
  background: var(--bg-tertiary);
  border: 1px solid rgba(27,29,34,.05);
  border-radius: var(--radius-24);
  box-shadow: 0 1px 4px rgba(60,83,135,.07), 0 22px 48px rgba(60,83,135,.08);
}

/* ── Блок 1: HERO (premium B2B) ── */
.mm-hero { position: relative; margin-top: 0; overflow: hidden; min-height: clamp(560px, 84vh, 820px); display: flex; align-items: center; background: var(--bg-tertiary); }
/* мягкий «пол» обложки: белый низ растворяется в светло-серый фон страницы — без резкой линии */
.mm-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0), var(--bg-primary-bg)); }
.mm-hero .mm-container { position: relative; z-index: 1; width: 100%; }
.mm-hero__text { max-width: 580px; padding: clamp(32px, 5vh, 56px) 0; }
/* бейдж над заголовком */
.mm-hero__badge2 { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px 7px 13px; border-radius: 100px; background: #fff; border: 1px solid rgba(24,162,176,.26); box-shadow: 0 2px 10px rgba(20,40,60,.05); font: 500 13px 'Geologica', sans-serif; color: var(--text-secondary); margin: 0 0 20px; }
.mm-hero__badge2::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(24,162,176,.16); flex: 0 0 8px; }
.mm-hero__title { font: 600 clamp(30px, 3vw, 44px)/1.14 'Rubik', sans-serif; color: #16181d; letter-spacing: -.6px; margin: 0 0 22px; text-wrap: balance; }
.mm-hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.mm-hero__chip { display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 18px; border-radius: 100px; background: #fff; border: 1px solid rgba(27,29,34,.1); font: 500 14px 'Geologica', sans-serif; color: #1b1d22; box-shadow: 0 2px 10px rgba(20,40,60,.05); transition: transform .15s, border-color .15s, box-shadow .15s; }
.mm-hero__chip:hover { transform: translateY(-1px); border-color: var(--teal); box-shadow: 0 6px 18px rgba(24,162,176,.12); }
.mm-hero__chip::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: 0 0 7px; }
.mm-hero__lead { font: 400 clamp(15px, 1.15vw, 17.5px)/1.65 'Geologica', sans-serif; color: rgba(22,24,29,.72); max-width: 470px; margin: 0 0 32px; }
.mm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.mm-hero__btn { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 56px; padding: 0 26px; border-radius: 100px; font: 500 15.5px 'Geologica', sans-serif; text-decoration: none; white-space: nowrap; transition: transform .18s, box-shadow .18s, border-color .18s, color .18s, background .18s; }
.mm-hero__btn svg { flex: 0 0 auto; display: block; }
.mm-hero__btn--primary { background: var(--teal); color: #fff; box-shadow: 0 12px 30px rgba(24,162,176,.28); }
.mm-hero__btn--primary:hover { background: #1391a0; transform: translateY(-2px); box-shadow: 0 18px 40px rgba(24,162,176,.38); }
/* вторичное действие hero — тихая текст-ссылка с подчёркиванием справа от
   primary: одна пилюля доминирует, второе действие читается, но не конкурирует */
.mm-hero__cta-link { display: inline-flex; align-items: center; color: var(--text-secondary); font: 500 15.5px 'Geologica', sans-serif; line-height: 1; text-decoration: none; white-space: nowrap; border-bottom: 2px solid rgba(24,162,176,.35); padding-bottom: 3px; transition: color .18s, border-color .18s; }
.mm-hero__cta-link:hover { color: var(--text-primary); border-bottom-color: var(--teal); }
/* визуал — изображение как часть интерфейса: растворяется в фон со всех сторон,
   все баночки в кадре, мягкий переход слева и справа */
.mm-hero__media { position: absolute; left: 40%; right: 0; top: clamp(40px, 9vh, 92px); bottom: clamp(40px, 9vh, 92px); z-index: 0; overflow: hidden; }
.mm-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 82% 50%; display: block; }
.mm-hero__media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background:
  linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 24%, rgba(255,255,255,0) 84%, #fff 100%),
  linear-gradient(180deg, #fff 0%, rgba(255,255,255,0) 16%, rgba(255,255,255,0) 84%, #fff 100%); }

/* ── Блок 2: «molecularmeal в цифрах» — стат-строка в общем стиле ──
   Тот же светлый фон, что у соседних секций (без бирюзовой заливки).
   Крупные цифры в ряд на чистой белой карточке; «молекулярная» линия
   с узлами — тот же связующий мотив, что у нити между секциями. */
.mm-trust {
  position: relative; padding: clamp(34px, 3.2vw, 44px) 0;
}
.mm-trust .mm-container { position: relative; z-index: 1; }

/* шапка слева — как у остальных секций */
.mm-trust__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 12.5px 'Geologica', sans-serif; letter-spacing: 2.2px; text-transform: uppercase; color: var(--teal); }
.mm-trust__kicker::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--bg-accent)); }
.mm-trust__title { font: 600 clamp(26px, 3vw, 40px)/1.12 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.4px; margin: 0 0 clamp(16px, 1.8vw, 22px); max-width: 720px; text-wrap: balance; }

/* широкая стат-плита — плавает на сером фоне главы (mm-plate), крупнее соседних карточек */
.mm-trust__panel {
  position: relative; overflow: hidden; border-radius: var(--radius-24);
  padding: clamp(30px, 2.8vw, 42px) clamp(22px, 3.4vw, 52px);
  background: var(--bg-tertiary);
  border: 1px solid rgba(27,29,34,.05);
  box-shadow: 0 1px 4px rgba(60,83,135,.07), 0 22px 48px rgba(60,83,135,.08);
}

/* ряд показателей на всю ширину панели + «молекулярная связь» */
.mm-trust__rail { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
/* линия — вторичный, тонкий и светлый «молекулярный» мотив (не конкурирует с цифрами) */
.mm-trust__line {
  position: absolute; left: 13%; right: 13%; top: 7px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(24,162,176,.28) 14%, rgba(31,181,156,.28) 86%, transparent);
  transform: scaleX(0); transform-origin: center; transition: transform 1s ease .15s; z-index: 0;
}
.mm-trust.is-revealed .mm-trust__line { transform: scaleX(1); }

.mm-trust__item {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 0 8px;
  transition: opacity .55s ease, transform .55s ease;
}
/* пилюли (Опыт/Спрос/…) теперь сверху каждой цифры — вместо точек и линии */
.mm-trust__node, .mm-trust__line { display: none; }
/* маленький узел-«атом» — аккуратный molecular-маркер над цифрой */
.mm-trust__node {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%;
  background: #fff; border: 2.5px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, var(--teal), var(--bg-accent));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 0 4px rgba(24,162,176,.07); transition: transform .25s, box-shadow .25s;
}
.mm-trust__node::after { content: ''; position: absolute; inset: 2.5px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--bg-accent)); transform: scale(0); transition: transform .45s cubic-bezier(.34,1.56,.64,1) .35s; }
.mm-trust.is-revealed .mm-trust__node::after { transform: scale(1); }
.mm-trust__item:hover .mm-trust__node { transform: translateX(-50%) scale(1.2); box-shadow: 0 0 0 6px rgba(24,162,176,.14); }

.mm-trust__num { display: inline-flex; align-items: baseline; font: 600 clamp(34px, 3.9vw, 50px)/1 'Rubik', sans-serif; color: #16181d; letter-spacing: -1.2px; font-variant-numeric: tabular-nums; }
/* цифры — отдельный блок фиксированной ширины (резерв в JS), цифры жмутся вправо
   к суффиксу → суффикс «лет/стран/+» не двигается при инкременте */
.mm-trust__val { display: inline-block; text-align: right; font-variant-numeric: tabular-nums; }
/* единицы (лет/стран/+) — мельче цифры, чтобы длинные слова влезали и не прижимались */
.mm-trust__suf { color: var(--teal); white-space: nowrap; font-size: .72em; }
/* акцентная пилюля-подпись */
.mm-trust__cap { order: -1; display: inline-block; margin: 0 0 14px; padding: 5px 15px; border-radius: 100px; background: var(--bg-accent-subdued); color: var(--teal); font: 600 11.5px 'Geologica', sans-serif; letter-spacing: .8px; text-transform: uppercase; }
.mm-trust__label { margin: 8px 0 0; font: 400 14px/1.5 'Geologica', sans-serif; color: var(--text-secondary); max-width: 230px; min-height: 3em; }
/* мягкие вертикальные разделители между показателями (только в ряду из 4) */
.mm-trust__item:not(:first-child)::before {
  content: ''; position: absolute; left: -12px; top: 50%; transform: translateY(-50%);
  width: 1px; height: 104px;
  background: linear-gradient(180deg, transparent, rgba(24,162,176,.22) 22%, rgba(24,162,176,.22) 78%, transparent);
}

/* поддерживающая фраза — раскрывает «почему доверяют», уплотняет карточку */
.mm-trust__note {
  margin: clamp(16px, 1.8vw, 24px) auto 0; max-width: 740px;
  padding-top: clamp(14px, 1.5vw, 20px); border-top: 1px solid rgba(27,29,34,.08);
  text-align: center; font: 400 15px/1.6 'Geologica', sans-serif; color: var(--text-secondary);
}
.mm-trust__note b { font-weight: 600; color: var(--text-primary); }

/* появление (только при JS; по умолчанию всё видно) */
.mm-trust.is-anim .mm-trust__item { opacity: 0; transform: translateY(18px); }
.mm-trust.is-anim.is-revealed .mm-trust__item { opacity: 1; transform: none; }
.mm-trust.is-anim.is-revealed .mm-trust__item:nth-child(2) { transition-delay: .1s; }
.mm-trust.is-anim.is-revealed .mm-trust__item:nth-child(3) { transition-delay: .2s; }
.mm-trust.is-anim.is-revealed .mm-trust__item:nth-child(4) { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .mm-trust__item, .mm-trust__line, .mm-trust__node::after { transition: none; }
}

/* ── Шапка секции с акцентами (переиспользуемая) ── */
.mm-cats-head, .mm-head { margin-bottom: clamp(26px, 3vw, 38px); }
.mm-cats-head .mm-h2, .mm-head .mm-h2 { margin: 0 0 16px; max-width: 860px; }
.mm-cats-head .mm-lead, .mm-head .mm-lead { margin: 0; max-width: 820px; }
/* надзаголовок-кикер (в духе блока «доверяют») */
.mm-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 600 12.5px 'Geologica', sans-serif; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); }
.mm-eyebrow::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--bg-accent)); }
/* акцентная фраза с градиентным подчёркиванием teal→green */
.mm-accent-text { position: relative; display: inline-block; color: var(--teal); }
.mm-accent-text::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.02em; height: .1em; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--bg-accent)); }
.mm-cats-head .mm-lead b, .mm-head .mm-lead b { font-weight: 600; color: var(--text-primary); }
/* центрированный вариант шапки (FAQ и т.п.) */
.mm-head--center { text-align: center; }
.mm-head--center .mm-lead { margin-left: auto; margin-right: auto; }

/* ── Информационные / правовые страницы ── */
.mm-page { padding: clamp(28px, 3.5vw, 52px) 0; }
.mm-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 20px; font: 400 13px 'Geologica', sans-serif; color: var(--text-secondary); }
.mm-crumbs a { color: var(--text-secondary); text-decoration: none; transition: color .15s; }
.mm-crumbs a:hover { color: var(--teal); }
.mm-crumbs__sep { color: var(--text-tertiary); }
.mm-crumbs__cur { color: var(--text-primary); }
.mm-page__head { margin-bottom: clamp(20px, 2.5vw, 32px); }
/* читаемая типографика; !important гасит inline-стили из legacy-контента */
.mm-prose { max-width: 860px; font: 400 15.5px/1.75 'Geologica', sans-serif; color: var(--text-secondary); }
.mm-prose, .mm-prose p, .mm-prose li, .mm-prose span, .mm-prose div, .mm-prose td, .mm-prose th, .mm-prose a { font-family: 'Geologica', sans-serif !important; }
.mm-prose p, .mm-prose li, .mm-prose span, .mm-prose div { line-height: 1.75 !important; color: var(--text-secondary); }
.mm-prose h1 { display: none; } /* дубликат заголовка из контента скрываем — title уже сверху */
.mm-prose h2, .mm-prose h3, .mm-prose h4 { font-family: 'Rubik', sans-serif !important; color: var(--text-primary) !important; line-height: 1.3 !important; margin: 1.5em 0 .5em !important; }
.mm-prose h2 { font-size: 22px !important; }
.mm-prose h3 { font-size: 18px !important; }
.mm-prose h4 { font-size: 16px !important; }
.mm-prose p { margin: 0 0 1em !important; }
.mm-prose ul, .mm-prose ol { margin: 0 0 1em; padding-left: 1.4em; }
.mm-prose li { margin: 0 0 .45em; }
.mm-prose a { color: var(--teal) !important; text-decoration: underline; text-underline-offset: 2px; }
.mm-prose a:hover { text-decoration: none; }
.mm-prose strong, .mm-prose b { color: var(--text-primary); }
.mm-prose img { max-width: 100% !important; height: auto; border-radius: 12px; }
/* таблицы контента (реквизиты / юр. информация) — аккуратная карточка */
.mm-prose table {
  width: 100% !important; border-collapse: separate; border-spacing: 0;
  margin: 0 0 1.4em; font-size: 14.5px;
  background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.08);
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-s);
}
.mm-prose th, .mm-prose td {
  border: none !important; border-top: 1px solid rgba(27,29,34,.07) !important;
  padding: 14px 22px !important; text-align: left !important; vertical-align: top; line-height: 1.45 !important;
}
.mm-prose tr:first-child th, .mm-prose tr:first-child td { border-top: none !important; }
.mm-prose th { font-weight: 500 !important; color: var(--text-tertiary) !important; }
.mm-prose tr > th:first-child { width: 38%; padding-right: 22px !important; }
.mm-prose td { color: var(--text-primary) !important; font-weight: 500; }

/* ── Блоки «programTwo» из старого контента (Доставка/Оплата) → карточки ── */
.programTwo { margin: 8px 0; }
.programTwo .wrap { max-width: none; }
.programTwo__items {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px; margin: 6px 0 4px; padding: 0; list-style: none;
}
.programTwo__item {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.06);
  border-radius: 18px; padding: 22px 22px 24px; box-shadow: var(--shadow-s);
}
.programTwo__name { display: flex !important; align-items: center; gap: 14px; flex-direction: row !important; }
.programTwo__icon {
  flex: 0 0 auto; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: var(--teal);
}
.programTwo__icon img { width: auto; max-width: 34px; max-height: 28px; object-fit: contain; border-radius: 0 !important; filter: brightness(0) invert(1); }
/* цвет бейджа берём из исходных классов фона */
.programTwo__item.bg_lightblue  .programTwo__icon { background: #18A2B0; }
.programTwo__item.bg_yellowgreen .programTwo__icon { background: #7BB23A; }
.programTwo__item.bg_red         .programTwo__icon { background: #E3674F; }
.programTwo__item.bg_blue        .programTwo__icon { background: #3E84C6; }
.programTwo__item.bg_green       .programTwo__icon { background: #27A36B; }
.programTwo__title { font: 600 17px/1.3 'Rubik', sans-serif !important; color: var(--text-primary) !important; margin: 0 !important; }
.programTwo__title span { display: block; font: 400 13px/1.3 'Geologica', sans-serif !important; color: var(--text-secondary) !important; margin-top: 3px; }
.programTwo__info { color: var(--text-secondary); }
.programTwo__info p { margin: 0 0 .55em !important; font-size: 14px; line-height: 1.6 !important; }
.programTwo__info p:last-child { margin-bottom: 0 !important; }

/* ── Нормализация «сырого» wysiwyg-контента (О магазине, Партнёрам и пр.) ──
   Гасим инлайновые шрифты/размеры/цвета из старого редактора, чтобы текст
   читался в нашем едином стиле. */
.mm-prose [style] { font-family: 'Geologica', sans-serif !important; }
.mm-prose p[style], .mm-prose span[style], .mm-prose div[style], .mm-prose li[style] {
  color: var(--text-secondary) !important;
  font-size: 15.5px !important;
  line-height: 1.75 !important;
}
.mm-prose strong, .mm-prose b, .mm-prose strong[style], .mm-prose b[style] { color: var(--text-primary) !important; }
/* цитата → аккуратный callout */
.mm-prose blockquote {
  margin: 0 0 1.3em !important; padding: 16px 20px;
  background: var(--bg-accent-subdued); border-left: 3px solid var(--teal);
  border-radius: 0 12px 12px 0;
}
.mm-prose blockquote, .mm-prose blockquote span[style], .mm-prose blockquote p[style] {
  color: var(--text-primary) !important; font-size: 16.5px !important; font-weight: 600 !important; line-height: 1.45 !important;
}
/* маркированные списки — бирюзовые точки в нашем стиле */
.mm-prose ul { list-style: none !important; margin: 0 0 1em !important; padding-left: 4px !important; }
.mm-prose ul > li { position: relative; padding-left: 26px !important; margin: 0 0 .5em !important; }
.mm-prose ul > li::before {
  content: ''; position: absolute; left: 5px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--teal);
}
/* нумерованные списки */
.mm-prose ol { list-style: decimal; margin: 0 0 1em; padding-left: 1.5em; }
.mm-prose ol > li { margin: 0 0 .5em; padding-left: 4px; }

/* ── Страница «Контакты» ── */
.mm-contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 24px; align-items: start; margin-top: 4px; }
.mm-contact__info { display: flex; flex-direction: column; gap: 20px; padding: clamp(24px, 2.5vw, 32px); background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.06); border-radius: var(--radius-24); box-shadow: var(--shadow-s); }
.mm-contact__item { display: flex; gap: 14px; align-items: flex-start; }
.mm-contact__ico { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 13px; background: var(--bg-accent-subdued); color: var(--teal); display: grid; place-items: center; }
.mm-contact__ico svg { width: 22px; height: 22px; }
.mm-contact__label { display: block; font: 600 11.5px 'Geologica', sans-serif; text-transform: uppercase; letter-spacing: .6px; color: var(--text-tertiary); margin-bottom: 3px; }
.mm-contact__item a, .mm-contact__item p { font: 500 15px/1.4 'Geologica', sans-serif; color: var(--text-primary); text-decoration: none; margin: 0; }
.mm-contact__item a:hover { color: var(--teal); }
.mm-contact__form { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.5vw, 32px); background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.06); border-radius: var(--radius-24); box-shadow: var(--shadow-s); }
.mm-contact__form-title { font: 600 20px 'Rubik', sans-serif; color: var(--text-primary); margin: 0 0 4px; }
.mm-contact__input, .mm-contact__textarea { width: 100%; padding: 0 16px; height: 52px; border-radius: 12px; border: 1.5px solid rgba(27,29,34,.12); background: var(--bg-primary-bg); font: 400 15px 'Geologica', sans-serif; color: var(--text-primary); transition: border-color .15s, background .15s, box-shadow .15s; }
.mm-contact__textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.mm-contact__input:focus, .mm-contact__textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(24,162,176,.1); }
.mm-contact__form .mm-btn { align-self: flex-start; margin-top: 2px; }
.mm-contact__note { font: 400 12px/1.5 'Geologica', sans-serif; color: var(--text-tertiary); margin: 2px 0 0; }
.mm-contact__note a { color: var(--teal); }
/* captcha от OpenCart приводим к нашему виду */
.mm-contact__captcha fieldset { border: none; margin: 0; padding: 0; }
.mm-contact__captcha legend { float: none; width: auto; border: none; font: 600 14px 'Rubik', sans-serif; color: var(--text-primary); padding: 0; margin: 0 0 10px; }
.mm-contact__captcha label { font: 400 13.5px 'Geologica', sans-serif; color: var(--text-secondary); }
/* порядок: картинка с кодом → лейбл «Введите код…» → поле ввода
   (col-sm-10 «растворяем», чтобы img/input встали в общий flex с лейблом) */
.mm-contact__captcha .form-group { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0; }
.mm-contact__captcha .col-sm-10 { display: contents; }
.mm-contact__captcha img { order: 1; display: block; margin: 0; border-radius: 10px; }
.mm-contact__captcha label { order: 2; margin: 0; width: auto; max-width: none; white-space: nowrap; }
.mm-contact__captcha input { order: 3; height: 50px; padding: 0 16px; margin: 0; border-radius: 12px; border: 1.5px solid rgba(27,29,34,.12); background: var(--bg-primary-bg); font: 400 15px 'Geologica', sans-serif; max-width: 220px; }
.mm-contact__captcha input:focus { outline: none; border-color: var(--teal); }
.mm-contact__captcha .text-danger { color: #e2574c; font-size: 12.5px; }
@media (max-width: 820px) { .mm-contact { grid-template-columns: 1fr; } }

/* ── Блок 3: Категории — бенто-сетка ── */
.mm-bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 8px; }
@media (min-width: 901px) {
  .mm-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: minmax(130px, 1fr) minmax(130px, 1fr) minmax(102px, auto);
    grid-template-areas:
      "t1 t1 t2 cta"
      "t3 t4 t5 cta"
      "t6 t7 t8 t9";
  }
  .mm-bento > :nth-child(1) { grid-area: t1; }
  .mm-bento > :nth-child(2) { grid-area: t2; }
  .mm-bento > :nth-child(3) { grid-area: t3; }
  .mm-bento > :nth-child(4) { grid-area: t4; }
  .mm-bento > :nth-child(5) { grid-area: t5; }
  .mm-bento > :nth-child(6) { grid-area: t6; }
  .mm-bento > :nth-child(7) { grid-area: t7; }
  .mm-bento > :nth-child(8) { grid-area: t8; }
  .mm-bento > :nth-child(9) { grid-area: t9; }
  .mm-bento__cta { grid-area: cta; }
}

/* плитка категории */
.mm-bento__tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 128px;
  padding: 18px 20px; border-radius: var(--radius-24); background: var(--bg-tertiary); box-shadow: var(--shadow-s);
  border: 1px solid rgba(27,29,34,.05); text-decoration: none; color: var(--text-primary);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-bento__tile:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.32); }
.mm-bento__head { display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 1; }
.mm-bento__ico { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 14px; background: var(--bg-accent-subdued); color: var(--teal); display: grid; place-items: center; transition: background .16s, color .16s; }
.mm-bento__ico svg { width: 25px; height: 25px; }
.mm-bento__tile:hover .mm-bento__ico { background: var(--teal); color: #fff; }
.mm-bento__arrow { color: rgba(30,32,37,.22); transition: color .16s, transform .16s; }
.mm-bento__tile:hover .mm-bento__arrow { color: var(--teal); transform: translateX(3px); }
.mm-bento__name { margin-top: auto; max-width: 80%; font: 500 15.5px/1.3 'Geologica', sans-serif; position: relative; z-index: 1; }
/* крупный водяной знак иконки заполняет плитку */
.mm-bento__bg { position: absolute; right: -16px; bottom: -16px; width: 92px; height: 92px; color: var(--teal); opacity: .07; pointer-events: none; transition: opacity .16s, transform .16s; }
.mm-bento__tile:hover .mm-bento__bg { opacity: .13; transform: scale(1.06) rotate(-4deg); }
/* широкая плитка (t1): крупнее иконка и водяной знак */
@media (min-width: 901px) {
  .mm-bento > :nth-child(1) .mm-bento__name { font-size: 18px; max-width: 60%; }
  .mm-bento > :nth-child(1) .mm-bento__bg { width: 130px; height: 130px; opacity: .08; }
}

/* CTA-плитка (вытянутая, акцентный градиент) */
.mm-bento__cta {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 30px 28px; border-radius: var(--radius-24); color: #fff;
  background:
    radial-gradient(120% 85% at 100% 0%, rgba(255,255,255,.12), rgba(255,255,255,0) 55%),
    linear-gradient(155deg, var(--teal) 0%, #1591a0 100%);
  box-shadow: 0 12px 30px rgba(24,162,176,.18);
}
.mm-bento__cta-title { font: 600 21px/1.18 'Rubik', sans-serif; letter-spacing: -.2px; position: relative; z-index: 1; }
.mm-bento__cta-text { font: 400 14px/1.5 'Geologica', sans-serif; color: rgba(255,255,255,.9); position: relative; z-index: 1; }
/* кнопки прижаты к низу — контент распределяется по всей высоте карточки */
.mm-bento__cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 18px; position: relative; z-index: 1; }
.mm-bento__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 100px; font: 500 14px 'Geologica', sans-serif; text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s; }
.mm-bento__btn svg { display: block; }
.mm-bento__btn--solid { background: #fff; color: var(--teal); box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.mm-bento__btn--solid:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0,0,0,.22); }
.mm-bento__btn--ghost { background: rgba(255,255,255,.12); color: #fff; border: 1.5px solid rgba(255,255,255,.55); }
.mm-bento__btn--ghost:hover { background: rgba(255,255,255,.22); }
@media (min-width: 901px) {
  /* в вытянутой колонке кнопки идут столбиком и тянутся на всю ширину */
  .mm-bento__btn { width: 100%; }
}
@media (max-width: 900px) {
  /* на узких экранах CTA — на всю ширину сетки */
  .mm-bento__cta { grid-column: 1 / -1; }
}

/* популярные товары — узкая лента (переиспользуем .pcard через grid) */
.mm-popular { margin-top: clamp(44px, 5vw, 64px); }
.mm-popular__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.mm-popular__title { font: 600 clamp(22px, 2.4vw, 30px)/1.15 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.3px; margin: 0; }
.mm-popular__all, .mm-all-link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 2px; font: 500 14.5px 'Geologica', sans-serif; color: var(--teal); text-decoration: none; white-space: nowrap; transition: gap .15s; }
.mm-popular__all:hover, .mm-all-link:hover { gap: 12px; }
.mm-popular__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
/* карточки «Популярных товаров» используют единый стиль .pcard (см. category.css).
   Исходники с зашитым белым полем — лёгкий зум обрезает поля, товар заполняет плитку. */
/* Карточки товара (.pcard) — единый вид теперь в базовом стиле (category.css):
   мягкая image-area, contain, «дорогой» hover, кнопки 44px, имя в 2 строки.
   Применяется везде: каталог, корзина (пустая/полная), related, эта витрина. */
/* плитки/карточки на белой главе — чуть отчётливее, чтобы не сливались с белым фоном */
.mm-chapter--white .mm-bento__tile { box-shadow: 0 1px 3px rgba(60,83,135,.08), 0 10px 26px rgba(60,83,135,.07); }
/* hover плитки: лёгкий подъём + бирюзовое свечение и рамка (перебивает тень покоя белой главы) */
.mm-chapter--white .mm-bento__tile:hover { box-shadow: 0 14px 32px rgba(24,162,176,.17); border-color: var(--teal); }

.mm-h2--center { text-align: center; }
.mm-cta--center { justify-content: center; }
.btn--light { background: var(--bg-secondary); color: var(--text-primary); }
.btn--light:hover { background: #e9eef2; }

/* ── Блок 4: Кому помогаем ── */
.mm-aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mm-aud__card {
  display: flex; flex-direction: column; gap: 16px; padding: 24px 22px;
  background: var(--bg-tertiary); border-radius: var(--radius-24); box-shadow: var(--shadow-s);
  border: 1px solid rgba(27,29,34,.05); transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-aud__card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.3); }
.mm-aud__ico { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 16px; background: var(--bg-accent-subdued); color: var(--teal); flex: 0 0 auto; transition: background .16s, color .16s; }
.mm-aud__ico svg { width: 30px; height: 30px; }
.mm-aud__card:hover .mm-aud__ico { background: var(--teal); color: #fff; }
.mm-aud__card h3 { font: 600 16.5px/1.25 'Geologica', sans-serif; color: var(--text-primary); margin: 0 0 6px; }
.mm-aud__card p { font-size: 13.5px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
/* очень мягкий бирюзовый акцент на фоне секции + меньше нижнего отступа */
.mm-aud-sec { position: relative; padding-bottom: clamp(28px, 3vw, 38px);
  background: radial-gradient(72% 58% at 92% -10%, rgba(24,162,176,.07), rgba(245,248,250,0) 56%), var(--bg-primary-bg); }
/* больше воздуха в левой колонке (шапка → манифест → CTA) */
.mm-aud-sec .mm-head .mm-eyebrow { margin-bottom: 18px; }
.mm-aud-sec .mm-head .mm-h2 { margin-bottom: 20px; }
.mm-aud-sec .mm-lead { margin-bottom: 18px; }
.mm-aud-sec .mm-split > .mm-head { margin-bottom: 32px; }
/* короткий «манифест» под лидом */
.mm-aud__statement { font: 500 clamp(15px, 1.2vw, 16.5px)/1.55 'Geologica', sans-serif; color: var(--text-primary); margin: 0; max-width: 460px; }
.mm-aud__statement b { color: var(--teal); font-weight: 600; }
/* первая карточка — лёгкий акцент (главная аудитория), не кричащий */
.mm-aud__card:first-child { background: rgba(24,162,176,.05); border-color: rgba(24,162,176,.16); }
.mm-aud__card:first-child .mm-aud__ico { background: var(--teal); color: #fff; }

/* ── Блок 5: Что вы получаете ── */
.mm-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mm-benefit {
  display: flex; gap: 16px; padding: 24px; background: var(--bg-tertiary); border-radius: var(--radius-24);
  box-shadow: var(--shadow-s); border: 1px solid rgba(27,29,34,.05);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-benefit:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.3); }
.mm-benefit__n { flex: 0 0 42px; width: 42px; height: 42px; border-radius: 50%; background: var(--bg-accent-subdued); color: var(--teal); font: 600 18px 'Rubik', sans-serif; display: inline-flex; align-items: center; justify-content: center; transition: background .16s, color .16s; }
.mm-benefit:hover .mm-benefit__n { background: var(--teal); color: #fff; }
.mm-benefit h3 { font: 600 16px/1.3 'Geologica', sans-serif; color: var(--text-primary); margin: 6px 0 8px; }
.mm-benefit p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.mm-benefit__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.mm-benefit__badges span { font: 600 12.5px/1 'Rubik', sans-serif; color: var(--teal); background: var(--bg-accent-subdued); border-radius: 999px; padding: 7px 12px; white-space: nowrap; }
.mm-benefits-cta {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 36px); flex-wrap: wrap;
  margin-top: 16px; padding: clamp(22px, 2.4vw, 32px) clamp(22px, 2.6vw, 36px);
  background: var(--bg-tertiary); border-radius: var(--radius-24);
  box-shadow: var(--shadow-s); border: 1px solid rgba(27,29,34,.05);
}
.mm-benefits-cta__text { flex: 1 1 360px; }
.mm-benefits-cta__text h3 { font: 600 clamp(18px, 1.4vw, 22px)/1.25 'Rubik', sans-serif; color: var(--text-primary); margin: 0 0 6px; letter-spacing: -.2px; }
.mm-benefits-cta__text p { font-size: 15px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.mm-benefits-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; flex: 0 0 auto; }

/* ── Блок 6: Логотипы ── */
.mm-logos { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.mm-logo {
  height: 92px; padding: 16px 18px; border-radius: var(--radius-16); background: var(--bg-tertiary);
  box-shadow: var(--shadow-s); border: 1px solid rgba(27,29,34,.05);
  display: flex; align-items: center; justify-content: center;
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.mm-logo:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.3); }
.mm-logo:hover img { filter: none; opacity: 1; }

/* ── Слайдер партнёров (замена старого owl на правовых страницах) ── */
.mm-partners { position: relative; margin: 28px 0; padding: 0 4px; }
.mm-partners__track {
  display: flex; gap: 16px; overflow-x: auto;
  padding: 6px 2px; margin: 0 -2px;
  scrollbar-width: none; -ms-overflow-style: none;
  /* плавное затухание карточек по краям, чтобы край ленты не обрывался резко */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.mm-partners__track::-webkit-scrollbar { display: none; }
.mm-partners__card {
  flex: 0 0 auto; scroll-snap-align: start;
  width: 170px; height: 104px; padding: 18px 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.07);
  border-radius: var(--radius-16, 16px); box-shadow: var(--shadow-s);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-partners__card img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.mm-partners__card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.3); }
.mm-partners__card:hover img { filter: none; opacity: 1; }
.mm-partners__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border-primary); background: #fff; color: var(--text-primary);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 8px 22px rgba(20,40,60,.14);
  transition: color .15s, border-color .15s, opacity .15s;
}
.mm-partners__nav:hover { color: var(--teal); border-color: var(--teal); }
.mm-partners__nav[disabled] { opacity: .35; cursor: default; }
.mm-partners__nav--prev { left: -10px; }
.mm-partners__nav--next { right: -10px; }
.mm-partners__nav svg { display: block; }
@media (max-width: 600px) {
  .mm-partners__nav { display: none; }
  .mm-partners__card { width: 140px; height: 90px; }
}

/* ── Бегущая лента партнёров (auto-marquee, едет сразу, плавно, GPU) ── */
.mm-partners--marquee { overflow: hidden; padding: 6px 0; }
/* затухание по краям держим на самом контейнере (а не на едущем треке) */
.mm-partners--marquee {
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.mm-partners--marquee .mm-partners__track {
  overflow: visible; width: max-content; flex-wrap: nowrap;
  margin: 0; padding: 0; gap: 0;
  -webkit-mask-image: none; mask-image: none;
  will-change: transform;
  animation: mm-marquee var(--mm-marquee-dur, 40s) linear infinite;
}
/* равномерный отступ вместо flex-gap, чтобы половина трека = ровно один набор → шов без рывка */
.mm-partners--marquee .mm-partners__card { margin-right: 16px; }
/* пауза при наведении — но лента изначально уже едет */
.mm-partners--marquee:hover .mm-partners__track { animation-play-state: paused; }
@keyframes mm-marquee { to { transform: translateX(-50%); } }
/* если набор логотипов и так помещается — лента не нужна, центрируем */
.mm-partners--static .mm-partners__track { animation: none; width: 100%; justify-content: center; }
@media (prefers-reduced-motion: reduce) {
  .mm-partners--marquee .mm-partners__track { animation: none; }
}

/* ── Блок 7: Как заказать (спокойные карточки-шаги) ── */
.mm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 4px; }
.mm-step {
  position: relative; text-align: left;
  padding: 26px 24px 24px; background: var(--bg-tertiary); border-radius: var(--radius-24);
  box-shadow: var(--shadow-s); border: 1px solid rgba(27,29,34,.05);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.mm-step:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(60,83,135,.13); border-color: rgba(24,162,176,.3); }
/* номер внутри карточки, слева сверху: спокойный мятный, помогает считать порядок, не доминирует */
.mm-step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #e3f3f1; color: var(--teal); font: 600 18px 'Rubik', sans-serif; margin: 0 0 16px; }
.mm-step h3 { font: 600 16px/1.3 'Geologica', sans-serif; color: var(--text-primary); margin: 0 0 8px; }
.mm-step p { font-size: 14px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
/* деликатная стрелка-шеврон между карточками (только desktop, 4 колонки) */
.mm-step:not(:last-child)::after { content: ''; position: absolute; top: 50%; right: -15px; width: 8px; height: 8px; border-top: 2px solid rgba(24,162,176,.35); border-right: 2px solid rgba(24,162,176,.35); transform: translateY(-50%) rotate(45deg); }
.mm-steps-cta { margin-top: 28px; }

/* ── Блок 8: О компании ── */
.mm-about__text { max-width: 920px; }
.mm-about__text p { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin: 0 0 16px; }

/* таймлайн истории компании */
.mm-timeline { position: relative; max-width: 820px; margin-top: 4px; }
.mm-timeline::before { content: ''; position: absolute; left: 11px; top: 10px; bottom: 12px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--teal), var(--bg-accent)); opacity: .3; }
.mm-tl { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 22px; padding-bottom: clamp(20px, 2.1vw, 28px); }
.mm-tl:last-child { padding-bottom: 0; }
.mm-tl__node {
  position: relative; z-index: 1; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%;
  background: #fff; border: 3px solid transparent;
  background-image: linear-gradient(#fff,#fff), linear-gradient(135deg, var(--teal), var(--bg-accent));
  background-origin: border-box; background-clip: padding-box, border-box;
  box-shadow: 0 0 0 5px rgba(24,162,176,.08);
}
.mm-tl__node::after { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--bg-accent)); }
.mm-tl__year { display: inline-block; font: 600 12.5px 'Geologica', sans-serif; letter-spacing: 1.2px; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.mm-tl__title { font: 600 18px/1.25 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.2px; margin: 0 0 8px; }
.mm-tl__body p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
@media (max-width: 560px) {
  .mm-tl { grid-template-columns: 22px 1fr; gap: 16px; }
}

/* карточка экспертности в левой колонке «О компании» — держит высоту и
   собирает доказательства практики (книга, мастер-классы, реальные задачи) */
.mm-about-card {
  margin-top: 22px; padding: 22px 24px 24px;
  background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.05);
  border-radius: var(--radius-24); box-shadow: var(--shadow-s);
}
.mm-about-card__title { font: 600 17px/1.3 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.2px; margin: 0 0 8px; }
.mm-about-card__lead { font-size: 14px; line-height: 1.55; color: var(--text-secondary); margin: 0 0 16px; }
.mm-about-card__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.mm-about-card__list li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.4; color: var(--text-primary); }
.mm-about-card__list li::before { content: ''; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--bg-accent-subdued); }
.mm-about-card__list li::after { content: ''; position: absolute; left: 5.5px; top: 5px; width: 7px; height: 4px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* CTA истории — спокойнее: компактный primary-каталог + консультация как текст-ссылка */
.mm-about-sec .mm-cta { align-items: center; gap: 14px 24px; }
.mm-about-sec .mm-cta .mm-btn { height: 50px; padding: 0 22px; }
.mm-about-sec .mm-cta .mm-btn--primary { box-shadow: 0 8px 20px rgba(24,162,176,.20); }
.mm-about-sec .mm-cta .mm-btn--primary:hover { box-shadow: 0 12px 26px rgba(24,162,176,.26); }
.mm-about__link { display: inline-flex; align-items: center; gap: 7px; color: var(--teal); font: 500 15px 'Geologica', sans-serif; text-decoration: none; white-space: nowrap; transition: color .18s; }
.mm-about__link svg { flex: 0 0 auto; transition: transform .18s; }
.mm-about__link:hover { color: #1391a0; }
.mm-about__link:hover svg { transform: translateX(3px); }

/* ── Блок 9: Обучение — единый split-блок ── */
.mm-edu2 { display: grid; grid-template-columns: 1.04fr 0.96fr; gap: clamp(30px, 4.5vw, 64px); align-items: center; }
.mm-edu2__text { max-width: 540px; }
.mm-edu2__text .mm-lead { margin-bottom: 24px; }
.mm-edu2__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.mm-edu2__perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 10px; }
.mm-edu2__perks li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.66); border: 1px solid rgba(24,162,176,.14); font: 500 13px/1.25 'Geologica', sans-serif; color: var(--text-primary); transition: border-color .16s, background .16s; }
.mm-edu2__perks li:hover { background: #fff; border-color: rgba(24,162,176,.3); }
.mm-edu2__perks li::before {
  content: ''; flex: 0 0 24px; width: 24px; height: 24px; border-radius: 8px;
  background: var(--bg-accent-subdued) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2318a2b0' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4 4 10-10'/%3E%3C/svg%3E") center / 14px no-repeat;
}

/* единая визуальная панель: видео-превью + чат сообщества (декоративно) */
.mm-edu2__visual {
  align-self: end; display: flex; flex-direction: column; gap: 11px; padding: 12px;
  border-radius: var(--radius-24); background: rgba(255,255,255,.72);
  border: 1px solid rgba(24,162,176,.14); box-shadow: 0 12px 34px rgba(60,83,135,.08);
}
.mm-edu2__player {
  display: block; position: relative; aspect-ratio: 2.3 / 1; border-radius: 16px; overflow: hidden;
  background: #eef3f5; transition: box-shadow .18s ease;
}
.mm-edu2__player img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.mm-edu2__player:hover { box-shadow: 0 10px 26px rgba(24,162,176,.22); }
.mm-edu2__player:hover img { transform: scale(1.04); }
.mm-edu2__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px;
  border-radius: 50%; background: rgba(255,255,255,.94); color: var(--teal);
  box-shadow: 0 8px 22px rgba(20,40,60,.22), 0 0 0 6px rgba(255,255,255,.18);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.mm-edu2__play svg { width: 34px; height: 34px; margin-left: 4px; }
.mm-edu2__player:hover .mm-edu2__play { transform: translate(-50%, -50%) scale(1.08); background: var(--teal); color: #fff; }
.mm-edu2__count {
  position: absolute; left: 12px; bottom: 12px; padding: 5px 12px; border-radius: 100px;
  background: rgba(255,255,255,.92); color: var(--teal); font: 600 11.5px/1 'Geologica', sans-serif;
}
.mm-edu2__chat { display: flex; flex-direction: column; gap: 8px; padding: 2px 4px 4px; }

/* шапка канала + баблы (декоративные) */
.mm-chat__top { display: flex; align-items: center; gap: 10px; padding-bottom: 11px; margin-bottom: 2px; border-bottom: 1px solid rgba(24,162,176,.14); }
.mm-chat__logo { flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(20,40,60,.10); }
.mm-chat__logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-chat__id { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm-chat__name { display: inline-flex; align-items: center; gap: 4px; font: 600 13px/1.1 'Geologica', sans-serif; color: var(--text-primary); }
.mm-chat__name svg { flex: 0 0 13px; width: 13px; height: 13px; color: #2aa6df; }
.mm-chat__handle { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 'Geologica', sans-serif; color: var(--text-secondary); }
.mm-chat__dot { width: 7px; height: 7px; border-radius: 50%; background: #2ecf9e; box-shadow: 0 0 0 3px rgba(46,207,158,.18); flex: 0 0 7px; }
.mm-chat__row { display: flex; align-items: flex-end; gap: 7px; }
.mm-chat__row--out { justify-content: flex-end; }
.mm-chat__bubble { max-width: 80%; padding: 8px 12px; font: 500 13px/1.3 'Geologica', sans-serif; box-shadow: 0 2px 7px rgba(60,83,135,.06); }
.mm-chat__bubble--in { background: #fff; color: var(--text-primary); border-radius: 13px 13px 13px 4px; }
.mm-chat__bubble--out { background: var(--teal); color: #fff; border-radius: 13px 13px 4px 13px; box-shadow: 0 3px 10px rgba(24,162,176,.22); }

/* мягкий molecular-фон секции */
.mm-edu-sec { position: relative; overflow: hidden; }
.mm-edu-sec::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(24,162,176,.08) 1.3px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  mask-image: radial-gradient(120% 100% at 50% 0%, #000 35%, transparent 78%);
  opacity: .7;
}
.mm-edu-sec > .mm-container { position: relative; z-index: 1; }

/* ── Блок 10: FAQ ── */
.mm-faq { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.mm-faq__item { background: var(--bg-tertiary); border-radius: var(--radius-16); box-shadow: var(--shadow-s); border: 1px solid rgba(27,29,34,.05); overflow: hidden; transition: border-color .16s, box-shadow .16s; }
.mm-faq__item:hover { border-color: rgba(24,162,176,.3); }
.mm-faq__item.is-open { border-color: rgba(24,162,176,.3); box-shadow: 0 10px 28px rgba(60,83,135,.1); }
/* кнопка-заголовок (сброс стилей button) */
.mm-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; margin: 0; padding: 18px 22px; -webkit-appearance: none; appearance: none; background: none; border: none; cursor: pointer; text-align: left; font: 500 16px 'Geologica', sans-serif; color: var(--text-primary); }
.mm-faq__q-text { flex: 1 1 auto; }
.mm-faq__icon { flex: 0 0 22px; width: 22px; height: 22px; position: relative; }
.mm-faq__icon::before, .mm-faq__icon::after { content: ''; position: absolute; background: var(--teal); border-radius: 2px; transition: transform .2s; }
.mm-faq__icon::before { left: 4px; right: 4px; top: 10px; height: 2px; }
.mm-faq__icon::after { top: 4px; bottom: 4px; left: 10px; width: 2px; }
.mm-faq__item.is-open .mm-faq__icon::after { transform: scaleY(0); }
/* раскрытие ответа без рывков: анимируем grid-template-rows (без пересчёта height в JS).
   Паддинг — на .mm-faq__a-text, а не на grid-элементе: иначе трек не схлопывается в 0 и в закрытом виде видна первая строка */
.mm-faq__a { display: grid; grid-template-rows: 0fr; padding: 0 22px; transition: grid-template-rows .3s cubic-bezier(.4, 0, .2, 1); }
.mm-faq__a-inner { overflow: hidden; min-height: 0; }
.mm-faq__a-text { padding-bottom: 20px; font-size: 14px; line-height: 1.6; color: var(--text-secondary); }
.mm-faq__item.is-open .mm-faq__a { grid-template-rows: 1fr; }
@media (prefers-reduced-motion: reduce) { .mm-faq__a { transition: none; } }

/* ============================================================
   КОМПОЗИЦИИ ГЛАВ (десктоп ≥1025px; мобайл — родные правила ниже)
   ============================================================ */

/* ── Сплит: слева лево-выровненная шапка + CTA, справа контент ──
   (Кому помогаем — строки клиентов; О компании — таймлайн). Без sticky. */
.mm-split { display: block; }
@media (min-width: 1025px) {
  .mm-split {
    display: grid;
    grid-template-columns: minmax(258px, .82fr) minmax(0, 1.18fr);
    grid-template-areas: "head main" "cta main" "sp main";
    grid-template-rows: auto auto 1fr;
    column-gap: clamp(36px, 4.5vw, 72px);
    align-items: start;
  }
  .mm-split > .mm-head { grid-area: head; margin-bottom: 20px; }
  .mm-split > .mm-cta  { grid-area: cta; margin-top: 4px; align-self: start; }
  .mm-split > .mm-aud, .mm-split > .mm-timeline { grid-area: main; align-self: start; }
  /* клиенты в сплите — вертикальный список широких строк */
  .mm-split > .mm-aud { grid-template-columns: 1fr; gap: 11px; }
  .mm-split > .mm-aud .mm-aud__card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 17px 20px; }
  .mm-split > .mm-aud .mm-aud__ico { width: 50px; height: 50px; margin-top: 1px; }
  .mm-split > .mm-aud .mm-aud__ico svg { width: 26px; height: 26px; }
  .mm-split > .mm-aud .mm-aud__card > div { padding-top: 2px; }
  /* таймлайн в сплите не ограничиваем по ширине — занимает правую колонку */
  .mm-split > .mm-timeline { max-width: none; }
}

/* ── Преимущества: ровная компактная сетка 3×2 (читаемо, не растягивает страницу) ── */
.mm-benefit__n { align-self: flex-start; }
@media (min-width: 1025px) {
  .mm-benefits { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
  .mm-benefit { padding: 22px 22px; gap: 14px; }
  .mm-benefit h3 { margin: 4px 0 6px; }
  .mm-benefit p { font-size: 13.5px; line-height: 1.5; }
}

/* ── Партнёры: компактное logo-cloud (без тяжёлых карточек) ── */
.mm-logo { background: none; box-shadow: none; border: none; height: 78px; }
.mm-logo img { opacity: .58; }
.mm-logo:hover { background: none; box-shadow: none; transform: none; border: none; }
.mm-logo:hover img { filter: none; opacity: 1; }
@media (max-width: 620px) { .mm-logo { height: 64px; } }

/* ── Вопросы + форма (две колонки) ── */
.mm-qa { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: stretch; margin-top: 8px; }
/* FAQ-колонка заполняет высоту до нижнего края формы: один пункт всегда открыт,
   небольшой стабильный остаток распределяется между карточками — нижние края совпадают */
.mm-qa .mm-faq { max-width: none; margin: 0; justify-content: space-between; }
/* форма-карточка на акцентном фоне — тянется по высоте FAQ, контент распределяется по высоте */
.mm-qa__form {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; height: 100%;
  padding: clamp(26px, 2.5vw, 34px); border-radius: var(--radius-24); color: #fff;
  background: linear-gradient(160deg, #21a3b1 0%, #16899a 100%);
  box-shadow: 0 14px 32px rgba(24,162,176,.18);
}
.mm-qa__title { font: 600 22px/1.2 'Rubik', sans-serif; letter-spacing: -.2px; margin: 0 0 8px; position: relative; z-index: 1; }
.mm-qa__sub { font: 400 14px/1.55 'Geologica', sans-serif; color: rgba(255,255,255,.9); margin: 0 0 20px; position: relative; z-index: 1; }
/* форма-тело заполняет высоту карточки; поля группируются по центру, CTA — внизу */
.mm-qa__form-el { flex: 1 1 auto; display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.mm-qa__form-el > .mm-qa__input:first-child { margin-top: auto; } /* верхний гибкий отступ перед блоком полей */
.mm-qa__field { display: flex; flex-direction: column; gap: 6px; }
.mm-qa__input { height: 50px; padding: 0 18px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,.34); background: rgba(255,255,255,.14); color: #fff; font: 400 15px 'Geologica', sans-serif; transition: border-color .16s, background .16s, box-shadow .16s; }
.mm-qa__input::placeholder { color: rgba(255,255,255,.72); }
.mm-qa__input:focus { outline: none; border-color: #fff; background: rgba(255,255,255,.22); box-shadow: 0 0 0 3px rgba(255,255,255,.16); }
/* поле заполнено корректно — мягкая галочка справа */
.mm-qa__input.is-valid {
  border-color: rgba(255,255,255,.8);
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4 9.5l3.2 3L14 6' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
/* неверный/неполный телефон — аккуратное error-состояние, не «крик» */
.mm-qa__input.is-error { border-color: #ffc2bb; background-color: rgba(255,120,108,.16); }
.mm-qa__error { display: none; font: 400 12px/1.35 'Geologica', sans-serif; color: #ffe2de; padding-left: 2px; }
.mm-qa__input.is-error ~ .mm-qa__error { display: block; }
/* спокойная подсказка под полями — не выглядит как ошибка */
.mm-qa__hint { display: flex; gap: 7px; margin: 2px 0 0; font: 400 12px/1.45 'Geologica', sans-serif; color: rgba(255,255,255,.78); }
.mm-qa__hint::before { content: ''; flex: 0 0 14px; width: 14px; height: 14px; margin-top: 1px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='6.4' stroke='%23ffffff' stroke-opacity='.75' stroke-width='1.3'/%3E%3Cpath d='M8 7.2v3.4M8 5.1v.2' stroke='%23ffffff' stroke-opacity='.9' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / contain; }
.mm-qa__form-el.is-ready .mm-qa__hint { display: none; }
/* кнопка: активное состояние — белое и контрастное, со стрелкой */
.mm-qa__submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 52px; margin-top: auto; border: none; border-radius: 100px; background: #fff; color: var(--teal); font: 600 15px 'Geologica', sans-serif; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.16); transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.mm-qa__submit-arrow { transition: transform .15s; }
.mm-qa__submit:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,0,0,.22); }
.mm-qa__submit:hover:not(:disabled) .mm-qa__submit-arrow { transform: translateX(3px); }
.mm-qa__submit:active:not(:disabled) { transform: translateY(0); }
/* disabled: светлый полупрозрачный фон, приглушённый текст, без тени и hover */
.mm-qa__submit:disabled { background: rgba(255,255,255,.18); color: rgba(255,255,255,.72); box-shadow: none; cursor: not-allowed; transform: none; }
.mm-qa__submit:disabled .mm-qa__submit-arrow { opacity: .55; }
/* микро-доверие под кнопкой */
.mm-qa__trust { margin: 10px 0 0; text-align: center; font: 400 12px/1.4 'Geologica', sans-serif; color: rgba(255,255,255,.72); }
/* кастомная галочка согласия */
.mm-qa__consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0; font: 400 12px/1.45 'Geologica', sans-serif; color: rgba(255,255,255,.85); }
.mm-qa__consent-box { display: flex; flex: 0 0 auto; cursor: pointer; }
.mm-qa__consent input { position: absolute; width: 0; height: 0; opacity: 0; }
.mm-qa__consent-text a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.mm-qa__consent-text a:hover { text-decoration: none; }
.mm-qa__check { position: relative; flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px; border-radius: 6px; border: 1.5px solid rgba(255,255,255,.55); background: rgba(255,255,255,.14); transition: background .15s, border-color .15s; }
.mm-qa__check::after { content: ''; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 9px; border: solid var(--teal); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s ease; }
.mm-qa__consent input:checked + .mm-qa__check { background: #fff; border-color: #fff; }
.mm-qa__consent input:checked + .mm-qa__check::after { transform: rotate(45deg) scale(1); }
.mm-qa__consent input:focus-visible + .mm-qa__check { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }
.mm-qa__consent-text { padding-top: 1px; }
@media (max-width: 900px) {
  .mm-qa { grid-template-columns: 1fr; }
  /* на мобиле колонки складываются; форма — обычной высоты по контенту, без растяжения */
  .mm-qa__form { height: auto; }
  .mm-qa__form-el > .mm-qa__input:first-child { margin-top: 0; }
  .mm-qa__submit { margin-top: 4px; }
}

/* ── Модалка «Получить консультацию» ── */
.mm-modal {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.mm-modal[hidden] { display: none; }
.mm-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(15,32,40,.55);
  backdrop-filter: blur(2px);
  animation: mm-modal-fade .2s ease;
}
.mm-modal__dialog {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  max-height: calc(100vh - 40px); overflow-y: auto;
  animation: mm-modal-pop .22s cubic-bezier(.22,1,.36,1);
}
.mm-modal__close {
  position: absolute; top: 14px; right: 16px; z-index: 2;
  width: 30px; height: 30px; border: none; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s;
}
.mm-modal__close:hover { background: rgba(255,255,255,.32); }
.mm-modal .mm-qa__title { padding-right: 28px; }
/* в модалке форма по контенту, без растяжения (в отличие от колонки FAQ) */
.mm-modal__dialog.mm-qa__form { height: auto; }
.mm-modal .mm-qa__form-el { flex: 0 0 auto; }
.mm-modal .mm-qa__form-el > .mm-qa__input:first-child { margin-top: 0; }
.mm-modal .mm-qa__submit { margin-top: 6px; }
@keyframes mm-modal-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mm-modal-pop { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .mm-modal__overlay, .mm-modal__dialog { animation: none; }
}

/* ── Блок 11: Pre-footer — компактный strip перед футером ── */
/* без отдельной серой полосы: сливаемся с белым FAQ выше и белым футером ниже.
   FAQ-секция отдаёт свой нижний отступ, pre-footer задаёт равные отступы сверху и снизу */
#mm-form { padding-bottom: 0; }
.mm-prefooter-sec { background: #fff; padding-top: clamp(30px, 3.2vw, 42px); padding-bottom: clamp(30px, 3.2vw, 42px); }
.mm-prefooter {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(20px, 3vw, 40px); flex-wrap: wrap;
  padding: clamp(20px, 2.2vw, 26px) clamp(24px, 2.8vw, 34px);
  background: var(--bg-tertiary); border-radius: var(--radius-24);
  border: 1px solid rgba(27,29,34,.07); box-shadow: var(--shadow-s);
}
.mm-prefooter__text { min-width: 0; }
.mm-prefooter__title { font: 600 clamp(19px, 1.7vw, 23px)/1.25 'Rubik', sans-serif; color: var(--text-primary); letter-spacing: -.3px; margin: 0 0 5px; }
.mm-prefooter__sub { font: 400 14.5px/1.45 'Geologica', sans-serif; color: var(--text-secondary); margin: 0; }
.mm-prefooter__trust { margin: 9px 0 0; font: 500 12.5px/1.3 'Geologica', sans-serif; color: var(--text-secondary); }
.mm-prefooter__trust span { color: var(--teal); margin: 0 5px; }
.mm-prefooter__actions { display: flex; align-items: center; gap: 18px; flex: 0 0 auto; }
.mm-prefooter__link {
  display: inline-flex; align-items: center; gap: 7px;
  font: 600 15px 'Geologica', sans-serif; color: var(--teal); white-space: nowrap;
  transition: gap .16s ease, opacity .16s ease;
}
.mm-prefooter__link svg { transition: transform .16s ease; }
.mm-prefooter__link:hover { opacity: .85; }
.mm-prefooter__link:hover svg { transform: translateX(3px); }
@media (max-width: 620px) {
  .mm-prefooter { flex-direction: column; align-items: stretch; gap: 18px; }
  .mm-prefooter__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .mm-prefooter__actions .mm-btn { width: 100%; }
  .mm-prefooter__link { justify-content: center; }
}

/* ── Telegram pop-up ── */
/* Telegram попап — компактная карточка внизу справа, без оверлея */
.mm-tgpop {
  position: fixed; bottom: clamp(16px, 3vw, 24px); left: 50%; transform: translateX(-50%); z-index: 1000;
  width: min(348px, calc(100vw - 32px));
  display: flex; gap: 14px; align-items: flex-start;
  padding: 18px 20px; border-radius: 20px;
  background: var(--bg-tertiary); border: 1px solid rgba(27,29,34,.07);
  box-shadow: 0 20px 54px rgba(20,40,60,.22);
  animation: mmPopIn .42s cubic-bezier(.22,1,.36,1);
}
.mm-tgpop[hidden] { display: none; }
@keyframes mmPopIn { from { opacity: 0; transform: translate(-50%, 24px); } to { opacity: 1; transform: translate(-50%, 0); } }
.mm-tgpop__icon { flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; background: var(--bg-accent-subdued); color: var(--teal); display: grid; place-items: center; }
.mm-tgpop__icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mm-tgpop__content { min-width: 0; }
.mm-tgpop__title { font: 600 15.5px/1.25 'Rubik', sans-serif; color: var(--text-primary); margin: 2px 0 5px; padding-right: 18px; }
.mm-tgpop__text { font: 400 12.5px/1.45 'Geologica', sans-serif; color: var(--text-secondary); margin: 0 0 12px; }
.mm-tgpop__btn { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 18px; border-radius: 100px; background: var(--teal); color: #fff; font: 500 13.5px 'Geologica', sans-serif; text-decoration: none; transition: background .15s, transform .15s; }
.mm-tgpop__btn svg { display: block; }
.mm-tgpop__btn:hover { background: #1391a0; transform: translateY(-1px); }
.mm-tgpop__close { position: absolute; top: 10px; right: 12px; width: 24px; height: 24px; border: none; background: none; font-size: 20px; line-height: 1; color: var(--text-tertiary); cursor: pointer; border-radius: 50%; transition: background .15s, color .15s; }
.mm-tgpop__close:hover { background: var(--bg-primary-bg); color: var(--text-primary); }

/* адаптив верхних блоков */
@media (max-width: 900px) {
  .mm-hero { display: block; min-height: 0; }
  .mm-hero__text { max-width: 100%; padding: 28px 0 30px; }
  .mm-hero__media { position: static; inset: auto; width: auto; height: clamp(240px, 44vw, 360px); margin: 0 var(--gutter) 8px; border-radius: 24px; }
  .mm-hero__media::after { background:
    linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 16%); }
  .mm-hero::after { display: none; }
}
@media (max-width: 1024px) {
  .mm-popular__grid { grid-template-columns: repeat(3, 1fr); }
  .mm-aud { grid-template-columns: repeat(2, 1fr); }
  .mm-benefits { grid-template-columns: repeat(2, 1fr); }
  .mm-steps { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .mm-step:not(:last-child)::after { display: none; }
  .mm-logos { grid-template-columns: repeat(5, 1fr); }
  /* split-блок «Обучение»: текст сверху, визуал ниже */
  .mm-edu2 { grid-template-columns: 1fr; gap: 30px; }
  .mm-edu2__visual { max-width: 480px; }
}
@media (max-width: 900px) {
  .mm-trust__rail { grid-template-columns: 1fr 1fr; gap: 40px 16px; }
  /* на мобиле показатели идут 2×2 / вертикально — вертикальные разделители убираем */
  .mm-trust__line, .mm-trust__item:not(:first-child)::before { display: none; }
  .mm-trust__label { min-height: 0; }
}
@media (max-width: 430px) {
  .mm-trust__rail { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .mm-popular__grid { grid-template-columns: 1fr 1fr; }
  .mm-aud, .mm-benefits, .mm-steps { grid-template-columns: 1fr; }
  .mm-steps { row-gap: 16px; }
  /* split «Обучение»: кнопки вертикально на всю ширину, визуал — узкой панелью */
  .mm-edu2__cta { flex-direction: column; align-items: stretch; }
  .mm-edu2__cta .mm-btn { width: 100%; }
  .mm-edu2__perks { grid-template-columns: 1fr; }
  .mm-edu2__visual { max-width: none; }
  .mm-logos { grid-template-columns: 1fr 1fr; }
  .mm-cta .btn { width: 100%; }
  .mm-benefits-cta { flex-direction: column; align-items: stretch; }
  .mm-benefits-cta__actions { flex-direction: column; }
  .mm-benefits-cta__actions .mm-btn { width: 100%; }
}
@media (max-width: 760px) {
  .mm-hero__actions { width: 100%; max-width: none; }
  .mm-hero__actions .mm-hero__btn { flex: 1 1 100%; }
}

/* ── Хедер: счётчик корзины (бейдж) ── */
.header__cart { position: relative; }
.header__cart-count {
  position: absolute; top: -3px; right: -3px; min-width: 14px; height: 18px; padding: 0 5px;
  border-radius: 99px; background: var(--teal); color: #fff; border: 2px solid var(--bg-tertiary);
  font: 600 11px/1 'Geologica', sans-serif; display: inline-flex; align-items: center; justify-content: center;
}
.header__cart-count.is-empty { display: none; }
.header__cart-count.bump { animation: mmCartBump .42s ease; }
@keyframes mmCartBump { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }

/* ── Тосты (уведомления о добавлении) ── */
/* контейнер тостов выровнен по нашему контенту: центрируем под его ширину
   и прижимаем тосты к правому краю контента (а не к краю экрана) */
.mm-toasts {
  position: fixed; top: 124px; left: 50%; transform: translateX(-50%); z-index: 45;
  width: min(var(--content-w), calc(100vw - var(--gutter) * 2));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none;
}
.mm-toast {
  display: flex; flex-direction: column; gap: 2px; min-width: 230px; max-width: 330px;
  padding: 13px 16px 13px 46px; border-radius: 14px; background: var(--bg-tertiary); color: var(--text-primary);
  box-shadow: 0 14px 36px rgba(20,40,60,.18); border: 1px solid rgba(27,29,34,.06);
  position: relative; pointer-events: auto;
  transform: translateX(125%); opacity: 0; transition: transform .38s cubic-bezier(.22,1,.36,1), opacity .38s;
}
.mm-toast.is-in { transform: none; opacity: 1; }
.mm-toast::before {
  content: ''; position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal) url("data:image/svg+xml,%3Csvg width='12' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5l3.4 3.4L11 1.5' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}
.mm-toast b { font: 600 14px/1.25 'Geologica', sans-serif; }
.mm-toast span { font: 400 12.5px/1.3 'Geologica', sans-serif; color: var(--text-secondary); }
.mm-toast--err::before { background: #e2574c url("data:image/svg+xml,%3Csvg width='12' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 3l6 6M9 3l-6 6' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center no-repeat; }
@media (max-width: 520px) {
  .mm-toasts { top: 84px; width: calc(100vw - 24px); align-items: stretch; }
  .mm-toast { min-width: 0; max-width: none; }
}
